@font-face {
  font-family: "Jumper";
  src: url("JumperPERSONALUSEONLY-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jumper";
  src: url("JumperPERSONALUSEONLY-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jumper";
  src: url("JumperPERSONALUSEONLY-Extra-Bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pricedown";
  src: url("Pricedown Bl.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ============ Design tokens ============ */
:root {
  --bg: #05070d;
  --bg-soft: #0a0f1c;
  --text: #f4f8ff;
  --text-soft: #cbd6f2;
  --muted: #8f9bbd;
  --primary: #0b60fb;
  --primary-soft: #7ba7ff;
  --accent: #ffb020;
  --border: rgba(123, 167, 255, 0.16);
  --border-strong: rgba(123, 167, 255, 0.4);
  --card: #0c1222;
  --card-soft: rgba(12, 18, 34, 0.72);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.3);
  --section-space: clamp(76px, 9vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ Reset ============ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Jumper", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Jumper n'a pas de glyphes chiffres : on les fait passer sur une police
   qui en dispose, injectée par main.js (voir applyNumberFallback). */
.num-fallback {
  font-family: "Bahnschrift", "Segoe UI", "Arial", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 40;
  background: rgba(5, 7, 13, 0.72);
  border-bottom: 1px solid rgba(123, 167, 255, 0.12);
  backdrop-filter: blur(14px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(5, 7, 13, 0.94);
  border-bottom-color: rgba(123, 167, 255, 0.24);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-banner {
  width: clamp(128px, 13vw, 188px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(11, 96, 251, 0.28));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}

.site-nav a:not(.nav-chip) {
  position: relative;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.site-nav a:not(.nav-chip)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary-soft);
  transition: width 0.25s var(--ease);
}

.site-nav a:not(.nav-chip):hover,
.site-nav a.active {
  color: #ffffff;
}

.site-nav a:not(.nav-chip):hover::after,
.site-nav a.active::after {
  width: 100%;
}

.nav-sep {
  width: 1px;
  height: 22px;
  background: rgba(123, 167, 255, 0.2);
}

.nav-chip {
  min-height: 38px;
  border-radius: 999px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-chip.discord {
  color: #ffffff;
  background: linear-gradient(120deg, #0b60fb, #3a7dff);
  border: none;
  box-shadow: 0 8px 20px rgba(11, 96, 251, 0.4);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: clamp(720px, 100svh, 960px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 120px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.05) brightness(0.72);
  transform: scale(1.04);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(4, 6, 12, 0.94) 18%, rgba(5, 8, 16, 0.62) 52%, rgba(6, 10, 20, 0.88) 100%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(4, 6, 12, 0.1), rgba(4, 6, 12, 0.92) 78%),
    linear-gradient(to bottom, rgba(4, 6, 12, 0) 0%, rgba(4, 6, 12, 0.95) 96%);
}

.hero-star {
  position: absolute;
  width: min(18vw, 220px);
  opacity: 0.12;
  pointer-events: none;
  animation: floatStar 13s ease-in-out infinite;
}

.hero-star--a {
  right: 8%;
  top: 18%;
}

.hero-star--b {
  left: 4%;
  bottom: 14%;
  width: min(12vw, 150px);
  opacity: 0.08;
  animation-duration: 17s;
  animation-delay: -6s;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  align-items: center;
  gap: 40px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(123, 167, 255, 0.28);
  border-radius: 999px;
  background: rgba(11, 96, 251, 0.08);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.18);
}

.eyebrow-static {
  margin-bottom: 6px;
  background: none;
  border: none;
  padding: 0;
}

.hero-title {
  margin: 20px 0 16px;
  font-family: "Pricedown", sans-serif;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.text-accent {
  color: var(--primary-soft);
}

.hero-text {
  margin: 0 0 28px;
  max-width: 540px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta.centered {
  justify-content: center;
  margin-top: 22px;
}

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-tags li {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.hero-emblem {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-emblem img {
  position: relative;
  z-index: 1;
  width: min(100%, 300px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.hero-emblem-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 96, 251, 0.32), transparent 70%);
  filter: blur(6px);
  animation: pulseGlow 3.4s ease-in-out infinite;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 7px;
}

.hero-scroll-dot {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  animation: scrollDot 1.8s ease-in-out infinite;
}

/* ============ Marquee ============ */
.marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid rgba(123, 167, 255, 0.16);
  border-bottom: 1px solid rgba(123, 167, 255, 0.16);
  background: linear-gradient(90deg, rgba(11, 96, 251, 0.12), rgba(10, 15, 28, 0.9), rgba(11, 96, 251, 0.12));
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}

.marquee-track span {
  font-family: "Pricedown", sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-soft);
  opacity: 0.85;
  white-space: nowrap;
}

/* ============ Sections ============ */
.section {
  padding: var(--section-space) 0;
  position: relative;
}

main section[id] {
  scroll-margin-top: 100px;
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.005) 60%, transparent);
}

.page-top-offset {
  padding-top: 82px;
}

.page-hero {
  padding: 64px 0 12px;
  text-align: center;
}

.page-hero-inner h1 {
  margin: 12px 0 10px;
  font-family: "Pricedown", sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  text-transform: uppercase;
}

.page-hero-inner p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--muted);
}

.section-head {
  text-align: center;
  margin: 0 auto 44px;
  max-width: 640px;
}

.section-head h2 {
  margin: 10px 0 0;
  font-family: "Pricedown", sans-serif;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ============ Fondation ============ */
.fondation-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fondation-layout .staff-grid {
  grid-column: 1;
  grid-row: 1;
}

.staff-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(11, 96, 251, 0.14), transparent 50%), var(--card);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 44px rgba(11, 96, 251, 0.18);
}

.staff-photo {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.staff-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 12, 24, 0.92), transparent 55%);
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.staff-info {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.staff-info h3 {
  margin: 2px 0 4px;
  font-size: 1.14rem;
}

.staff-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.card-tag {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fondation-media {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.media-card {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card.banner {
  min-height: 150px;
}

.media-card.julia {
  position: relative;
  min-height: 150px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(11, 96, 251, 0.1), rgba(0, 0, 0, 0.3)), var(--card);
}

.media-card.julia img {
  width: auto;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
}

.media-card.julia figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: rgba(5, 8, 16, 0.55);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ============ Feature cards (atouts) ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s var(--ease), border-color 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--primary-soft);
  background: rgba(11, 96, 251, 0.12);
  border: 1px solid rgba(123, 167, 255, 0.24);
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============ Buttons ============ */
.btn {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: "Jumper", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease, filter 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0b60fb, #3d84ff);
  border-color: rgba(123, 167, 255, 0.5);
  box-shadow: 0 14px 30px rgba(11, 96, 251, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(11, 96, 251, 0.42);
  filter: brightness(1.05);
}

.btn-outline {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

/* ============ Recrutement ============ */
.recruit-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step {
  display: flex;
  gap: 20px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step-index {
  font-family: "Pricedown", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(123, 167, 255, 0.55);
  flex-shrink: 0;
  width: 56px;
}

.step h3 {
  margin: 2px 0 6px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 460px;
}

.requirements {
  position: sticky;
  top: 104px;
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: linear-gradient(165deg, rgba(11, 96, 251, 0.16), transparent 60%), var(--card);
  box-shadow: var(--shadow);
}

.requirements h3 {
  margin: 0 0 16px;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.requirements .list {
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.requirements .list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.requirements .list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

.requirements-cta {
  width: 100%;
}

/* ============ Spoilers ============ */
.spoilers {
  display: grid;
  gap: 14px;
}

details {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card-soft);
  padding: 6px 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

details[open] {
  border-color: var(--border-strong);
  background: rgba(11, 96, 251, 0.07);
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

.spoiler-tag {
  flex-shrink: 0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 176, 32, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
}

.spoiler-title {
  flex: 1;
  font-size: 1rem;
}

.spoiler-chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary-soft);
  border-bottom: 2px solid var(--primary-soft);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

details[open] .spoiler-chevron {
  transform: rotate(-135deg);
}

details p {
  margin: 0 0 18px;
  padding-left: calc(0.66rem * 2 + 20px + 14px);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============ CTA banner ============ */
.cta-banner {
  padding: 20px 0 var(--section-space);
}

.cta-banner-inner {
  position: relative;
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: radial-gradient(circle at 50% 0%, rgba(11, 96, 251, 0.22), transparent 60%), var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cta-logo {
  width: 54px;
  margin: 0 auto 18px;
  opacity: 0.92;
  animation: pulseLogo 3.6s ease-in-out infinite;
}

.cta-banner-inner h2 {
  margin: 0 0 12px;
  font-family: "Pricedown", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
}

.cta-banner-inner p {
  margin: 0 auto;
  max-width: 480px;
  color: var(--muted);
}

/* ============ Rules page ============ */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.rule-card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.rule-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.rule-card .step-index {
  display: block;
  margin-bottom: 6px;
  font-size: 1.6rem;
  width: auto;
}

.rule-card h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.rule-card .list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rule-card .list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.rule-card .list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-soft);
}

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid rgba(123, 167, 255, 0.12);
  padding-top: 44px;
  margin-top: 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand img {
  width: 44px;
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-nav h4 {
  margin: 0 0 14px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-nav a {
  display: block;
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* ============ Keyframes ============ */
@keyframes floatStar {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(4deg);
  }
}

@keyframes pulseLogo {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta,
  .hero-tags {
    justify-content: center;
  }

  .hero-emblem {
    display: none;
  }

  .fondation-layout {
    grid-template-columns: 1fr;
  }

  .fondation-media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .staff-grid,
  .feature-grid,
  .rules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recruit-layout {
    grid-template-columns: 1fr;
  }

  .requirements {
    position: static;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    right: 4%;
    width: min(320px, 92%);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #0a0f1e;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a:not(.nav-chip) {
    padding-bottom: 0;
  }

  .nav-sep {
    display: none;
  }

  .nav-chip {
    width: 100%;
  }

  .hero {
    padding-top: 116px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .btn {
    width: 100%;
  }

  .hero-cta {
    flex-direction: column;
  }

  .staff-grid,
  .feature-grid,
  .fondation-media,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .staff-photo {
    height: 300px;
  }

  .cta-banner-inner {
    padding: 40px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.show,
  .btn,
  .hero-star,
  .cta-logo,
  .hero-emblem-glow,
  .hero-scroll-dot,
  .marquee-track {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}
