/* =============================================
   NEXTLINE — Design System
   ADN : Rouge & Blanc — Force, Persévérance, Impact
============================================= */

/* =============================================
   0. POLICES (hébergées sur le site, aucun appel à Google)
============================================= */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/bebas-neue-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/montserrat-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/montserrat-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/montserrat-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/montserrat-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/montserrat-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================
   1. TOKENS
============================================= */
:root {
  /* Marque */
  --red: #E8001C;
  --red-dark: #B5001A;
  --red-glow: rgba(232, 0, 28, 0.32);
  --red-tint: rgba(232, 0, 28, 0.06);

  /* Neutres */
  --black: #0A0A0A;
  --dark: #121212;
  --dark-2: #1A1A1A;
  --dark-3: #242424;
  --grey: #2D2D2D;
  --mid-grey: #4E5157;            /* texte secondaire sur clair — AA */
  --light-grey: #6B6E74;          /* texte tertiaire sur clair — AA */
  --hairline: #E4E4E7;
  --off-white: #F4F4F5;
  --white: #FFFFFF;

  /* Texte sur fond sombre (contrastes AA vérifiés) */
  --on-dark: rgba(255, 255, 255, 0.94);
  --on-dark-soft: rgba(255, 255, 255, 0.72);
  --on-dark-muted: rgba(255, 255, 255, 0.58);
  --on-dark-line: rgba(255, 255, 255, 0.14);

  /* Typographie */
  --font-display: 'Bebas Neue', 'Haettenschweiler', 'Impact', sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-body: clamp(0.938rem, 0.9rem + 0.18vw, 1rem);
  --fs-lead: clamp(1rem, 0.95rem + 0.25vw, 1.094rem);
  --fs-small: 0.813rem;
  --fs-label: 0.688rem;

  /* Rythme */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --section-y: clamp(4rem, 8vw, 6.5rem);

  --nav-height: 80px;
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 1.5rem);

  /* Mouvement */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.28s var(--ease);
  --t-slow: 0.6s var(--ease);

  /* Élévation */
  --shadow-sm: 0 2px 8px rgba(10, 10, 10, 0.06);
  --shadow-md: 0 8px 28px rgba(10, 10, 10, 0.1);
  --shadow-lg: 0 18px 48px rgba(10, 10, 10, 0.14);

  /* Angle coupé signature */
  --cut: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
  --cut-sm: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}

/* =============================================
   2. RESET
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }

/* =============================================
   3. ACCESSIBILITÉ
============================================= */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 1px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 2000;
  padding: 14px 24px;
  background: var(--red);
  color: var(--white);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: top var(--t);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================
   4. UTILITAIRES
============================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section-dark { background: var(--black); color: var(--on-dark); }

.red { color: var(--red); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.section-title-light { color: var(--white); }
.section-title-center { text-align: center; }

/* Sur-titre */
.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-3);
}
.label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.label-white { color: var(--on-dark-soft); }
.label-center { display: flex; justify-content: center; }

/* Fil d'Ariane */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-3);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--on-dark-muted);
}
.breadcrumb a { color: var(--on-dark-soft); transition: color var(--t); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--on-dark-muted); }

/* =============================================
   5. BOUTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 38px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t), border-color var(--t);
  clip-path: var(--cut);
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 30px var(--red-glow); }
.btn-red:active { transform: translateY(0); }

.btn-outline {
  clip-path: none;
  background: transparent;
  border: 2px solid;
  padding: 14px 36px;
}
.btn-outline-white { border-color: var(--on-dark-line); color: var(--white); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

/* =============================================
   6. ANIMATIONS D'APPARITION
   (uniquement si JS actif : sans JS le contenu reste visible)
============================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js .reveal.visible { opacity: 1; transform: none; }

/* Le glissement latéral n'a de sens qu'en colonnes côte à côte ;
   plus bas il déborderait de la fenêtre. */
@media (min-width: 1025px) {
  .js .reveal.left { transform: translateX(-28px); }
  .js .reveal.right { transform: translateX(28px); }
  .js .reveal.left.visible,
  .js .reveal.right.visible { transform: none; }
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* =============================================
   8. NAVBAR
============================================= */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.85), transparent);
  opacity: 1;
  transition: opacity var(--t);
  pointer-events: none;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 var(--on-dark-line), 0 8px 32px rgba(0, 0, 0, 0.45);
}
.navbar.scrolled::before { opacity: 0; }

.navbar-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.navbar-logo {
  --logo-w: 46px;
  position: relative;
  flex-shrink: 0;
  width: var(--logo-w);
  height: calc(var(--logo-w) * 431 / 677);
  overflow: hidden;
}
.navbar-logo img {
  position: absolute;
  top: calc(var(--logo-w) * -253 / 677);
  left: calc(var(--logo-w) * -169 / 677);
  width: calc(var(--logo-w) * 1024 / 677);
  max-width: none;
  height: auto;
}

.navbar-nav-wrap { margin-left: auto; }
.navbar-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.25rem); }

.nav-link {
  position: relative;
  display: inline-block;
  padding-block: 6px;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  transition: color var(--t);
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--t);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  margin-right: -10px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  transition: transform var(--t), opacity var(--t);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  max-height: calc(100dvh - var(--nav-height));
  overflow-y: auto;
  background: var(--dark);
  border-top: 2px solid var(--red);
  padding: var(--space-3) var(--gutter) var(--space-5);
  flex-direction: column;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  padding-block: 16px;
  font-size: 0.813rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu .nav-link::after { display: none; }
.mobile-menu .nav-link.active { color: var(--red); }

body.menu-open { overflow: hidden; }

/* =============================================
   9. HERO — ACCUEIL
============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/assets/img/banner.jpg');
  background-image: image-set(url('/static/assets/img/banner.webp') type('image/webp'),
                              url('/static/assets/img/banner.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 25%;
  filter: brightness(0.42);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.35) 45%, transparent 75%);
  pointer-events: none;
}

.hero-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: var(--red);
  z-index: 11;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: calc(var(--nav-height) + var(--space-5)) var(--gutter) clamp(3rem, 8vh, 5rem);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, min(15vw, 24vh), 13.75rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-4);
}
.hero-title .accent { color: var(--red); display: block; }

.hero-sub {
  font-size: var(--fs-lead);
  color: var(--on-dark-soft);
  max-width: 34rem;
  margin-bottom: var(--space-5);
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =============================================
   10. BANDEAU CHIFFRES
============================================= */
.stats-bar { background: var(--red); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item {
  padding: clamp(1.75rem, 4vw, 2.75rem) var(--space-3);
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

/* =============================================
   11. MANIFESTE
============================================= */
.manifesto {
  background: var(--black);
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: 'NL';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 40vw;
  color: rgba(255, 255, 255, 0.022);
  pointer-events: none;
  line-height: 1;
}
.manifesto .label { justify-content: center; display: inline-flex; }
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.4vw, 3.75rem);
  color: var(--white);
  line-height: 1.14;
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.manifesto-quote .hl { color: var(--red); }

/* =============================================
   12. À PROPOS
============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--dark-2);
  isolation: isolate;
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-image-accent {
  position: absolute;
  bottom: -18px; right: -18px;
  width: 110px; height: 110px;
  background: var(--red);
  z-index: -1;
}
.about-text { color: var(--mid-grey); line-height: 1.85; margin-bottom: var(--space-4); }
.about-values {
  margin-bottom: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-value {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.about-value-bullet { width: 8px; height: 8px; background: var(--red); flex-shrink: 0; }

/* =============================================
   13. PROGRAMMES — APERÇU
============================================= */
.programs-preview { padding-block: var(--section-y) 0; }
.programs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.programs-header .btn { flex-shrink: 0; }
.programs-header .section-title { margin-bottom: 0; }

.programs-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.programs-cards > li { display: flex; }

.prog-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  padding: var(--space-4) var(--space-3);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t);
}
.prog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: inherit;
  transition: filter 0.5s var(--ease), transform 0.6s var(--ease);
}
.prog-card-num {
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: rgba(255, 255, 255, 0.09);
  line-height: 1;
  transition: color 0.4s var(--ease);
}
.prog-card-tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.prog-card-name {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.4vw, 2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.prog-card-desc {
  font-size: var(--fs-small);
  color: var(--on-dark-soft);
  line-height: 1.6;
}
.prog-card-arrow {
  width: 36px; height: 36px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-3);
  clip-path: var(--cut-sm);
  transition: background var(--t), transform var(--t);
}
.prog-card-arrow svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.4;
  stroke-linecap: square;
}
.prog-card:hover .prog-card-arrow { background: var(--white); }
.prog-card:hover .prog-card-arrow svg { stroke: var(--black); }
.prog-card:hover .prog-card-num { color: rgba(232, 0, 28, 0.22); }

/* Le survol ne masque du contenu que sur les appareils qui survolent réellement */
@media (hover: hover) and (pointer: fine) {
  .prog-card-desc {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.45s var(--ease), opacity 0.4s var(--ease);
  }
  .prog-card-desc > * { overflow: hidden; }
  .prog-card:hover .prog-card-desc,
  .prog-card:focus-visible .prog-card-desc { grid-template-rows: 1fr; opacity: 1; }
  .prog-card:hover::before { transform: scale(1.05); filter: brightness(0.75); }
}

/* Fonds de cartes : quasi noirs, juste teintés — les accents rouges portent la couleur */
.prog-hyrox { background: linear-gradient(155deg, #17090B 0%, #2B0509 100%); }
.prog-hybride { background: linear-gradient(155deg, #0B0F18 0%, #0C1428 100%); }
.prog-coureur { background: linear-gradient(155deg, #15100A 0%, #22170A 100%); }
.prog-split { background: linear-gradient(155deg, #110B17 0%, #1B0F26 100%); }

/* =============================================
   14. BANNIÈRE CTA
============================================= */
.cta-banner {
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/assets/img/banner.jpg');
  background-image: image-set(url('/static/assets/img/banner.webp') type('image/webp'),
                              url('/static/assets/img/banner.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  opacity: 0.14;
}
.cta-banner-content { position: relative; z-index: 1; text-align: center; }
.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7.5rem);
  color: var(--white);
  line-height: 0.9;
  margin-bottom: var(--space-4);
}
.cta-banner-title .line-red { color: var(--red); display: block; }
.cta-banner-sub {
  font-size: var(--fs-lead);
  color: var(--on-dark-soft);
  margin: 0 auto var(--space-6);
  max-width: 34rem;
  line-height: 1.8;
}
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* =============================================
   15. HERO PAGES INTERNES
============================================= */
.page-hero {
  background: var(--black);
  padding: calc(var(--nav-height) + clamp(3rem, 7vw, 5rem)) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/assets/img/banner.jpg');
  background-image: image-set(url('/static/assets/img/banner.webp') type('image/webp'),
                              url('/static/assets/img/banner.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  color: var(--white);
  line-height: 0.9;
  margin-bottom: var(--space-3);
}
.page-hero-sub {
  font-size: var(--fs-lead);
  color: var(--on-dark-soft);
  max-width: 36rem;
  line-height: 1.8;
}

/* =============================================
   16. PROGRAMMES — ACCORDÉON
============================================= */
.programs-section { padding-block: var(--section-y); }

.accordion-item { border-bottom: 1px solid var(--hairline); }
.accordion-item:first-child { border-top: 1px solid var(--hairline); }
.accordion-heading { margin: 0; font-size: inherit; font-weight: inherit; }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding-block: var(--space-4);
  text-align: left;
  transition: padding-inline-start var(--t);
}
.accordion-header:hover { padding-inline-start: 8px; }

.accordion-left { display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.75rem); }

.accordion-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--hairline);
  line-height: 1;
  min-width: 56px;
  transition: color var(--t);
}
.accordion-item.active .accordion-num { color: var(--red); }

.accordion-meta { display: flex; flex-direction: column; gap: 2px; }
.accordion-cat {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
}
.accordion-name {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.5vw, 2.75rem);
  line-height: 1;
  transition: color var(--t);
}
.accordion-item.active .accordion-name { color: var(--red); }

.accordion-toggle {
  width: 40px; height: 40px;
  border: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.accordion-toggle svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: var(--black);
  stroke-width: 2.5;
  stroke-linecap: square;
  transition: stroke var(--t);
}
.accordion-header:hover .accordion-toggle { background: var(--black); }
.accordion-header:hover .accordion-toggle svg { stroke: var(--white); }
.accordion-item.active .accordion-toggle {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(45deg);
}
.accordion-item.active .accordion-toggle svg { stroke: var(--white); }

/* Hauteur automatique animée — pas de plafond arbitraire */
.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.accordion-inner {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0.45s;
}
.accordion-item.active .accordion-body { grid-template-rows: 1fr; }
.accordion-item.active .accordion-inner { visibility: visible; }

.accordion-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  padding: var(--space-1) 0 var(--space-6) 84px;
}
.accordion-text { color: var(--mid-grey); line-height: 1.85; margin-bottom: var(--space-3); }

.prog-features { display: flex; flex-direction: column; gap: 10px; margin-top: var(--space-4); }
.prog-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.813rem;
  font-weight: 600;
}
.prog-feature-dot { width: 6px; height: 6px; background: var(--red); flex-shrink: 0; }

/* Blocs de téléchargement du programme (PDF) */
.prog-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-4);
}
.prog-download {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px var(--space-4) 14px var(--space-3);
  background: var(--black);
  color: var(--white);
  clip-path: var(--cut);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.prog-download:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--red-glow);
}
.prog-download:active { transform: translateY(0); }
.prog-download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  transition: background var(--t);
}
.prog-download:hover .prog-download-icon { background: rgba(255, 255, 255, 0.18); }
.prog-download-icon svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
}
.prog-download-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.prog-download-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.prog-download-meta {
  font-size: 0.688rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--on-dark-muted);
}
.prog-download:hover .prog-download-meta { color: rgba(255, 255, 255, 0.82); }

/* Programme payant : verrouillé tant que la vente n'est pas ouverte */
.prog-download-locked,
.prog-download-locked:hover {
  background: var(--off-white);
  color: var(--light-grey);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}
.prog-download-locked .prog-download-icon,
.prog-download-locked:hover .prog-download-icon { background: var(--hairline); }
.prog-download-locked .prog-download-icon svg { stroke-width: 1.8; }
.prog-download-locked .prog-download-meta,
.prog-download-locked:hover .prog-download-meta { color: var(--light-grey); }

.prog-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-content: start;
}
.prog-stat {
  background: var(--off-white);
  padding: var(--space-3);
  border-left: 3px solid var(--red);
}
.prog-stat-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-grey);
  margin-bottom: 4px;
}
.prog-stat-value {
  font-family: var(--font-display);
  font-size: 1.625rem;
  color: var(--red);
  line-height: 1;
}

/* =============================================
   17. FAQ
============================================= */
.faq-section { padding-block: var(--section-y); background: var(--off-white); }
.faq-head { margin-bottom: var(--space-5); }
.faq-list { display: flex; flex-direction: column; gap: 2px; max-width: 52rem; }

.faq-item { background: var(--white); border-left: 3px solid transparent; transition: border-color var(--t); }
.faq-item[open] { border-left-color: var(--red); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  font-weight: 700;
  font-size: 0.938rem;
  cursor: pointer;
  list-style: none;
  transition: color var(--t);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '';
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t);
}
.faq-item[open] .faq-question::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-question:hover { color: var(--red); }

.faq-answer {
  padding: 0 var(--space-4) var(--space-4);
  color: var(--mid-grey);
  line-height: 1.85;
  max-width: 44rem;
}

/* =============================================
   18. BOUTIQUE
============================================= */
.shop-section { padding-block: var(--section-y); }

.shop-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: var(--space-4); }
.filter-btn {
  padding: 11px 22px;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--hairline);
  background: var(--white);
  color: var(--mid-grey);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { border-color: var(--red); background: var(--red); color: var(--white); }

.shop-count {
  font-size: var(--fs-small);
  color: var(--light-grey);
  margin-bottom: var(--space-4);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); z-index: 1; }
/* `display: flex` ci-dessus l'emporterait sur le [hidden] du navigateur */
.product-card[hidden] { display: none; }

.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 6px 12px;
  font-size: 0.563rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  clip-path: var(--cut-sm);
}
.product-img {
  aspect-ratio: 1;
  background: var(--dark-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-placeholder {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.07);
  letter-spacing: 0.25em;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-img-placeholder { transform: scale(1.08); }

.product-info { display: flex; flex-direction: column; flex: 1; padding: var(--space-4); }
.product-cat {
  font-size: 0.563rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 6px;
}
.product-desc {
  font-size: var(--fs-small);
  color: var(--mid-grey);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}
.product-price { font-size: 1.125rem; font-weight: 700; margin-top: auto; }
.product-price .old {
  text-decoration: line-through;
  color: var(--light-grey);
  font-weight: 400;
  margin-right: 8px;
  font-size: 0.875rem;
}
.product-cta {
  display: block;
  margin-top: var(--space-3);
  padding: 14px;
  background: var(--black);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  clip-path: var(--cut-sm);
  transition: background var(--t);
}
.product-cta:hover { background: var(--red); }

/* =============================================
   19. NEXTLINERS
============================================= */
.nextliners-section { padding-block: var(--section-y); }
.nextliners-intro { text-align: center; max-width: 44rem; margin: 0 auto var(--space-7); }
.nextliners-intro .label { justify-content: center; display: inline-flex; }
.nextliners-intro p { color: var(--mid-grey); line-height: 1.85; }

.ambassadors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.ambassadors-grid > li { display: flex; }

.ambassador-card {
  position: relative;
  flex: 1;
  aspect-ratio: 3 / 4;
  background: var(--dark-2);
  overflow: hidden;
}
.ambassador-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 5.5rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.05);
}
.ambassador-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.3) 55%, transparent 100%);
  transition: background 0.4s var(--ease);
}
.ambassador-card:hover .ambassador-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.62) 100%);
}
.ambassador-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-4) var(--space-3);
}
.ambassador-sport {
  font-size: 0.563rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.ambassador-name {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
}
.ambassador-bio {
  font-size: var(--fs-small);
  color: var(--on-dark-soft);
  line-height: 1.6;
  margin-top: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .ambassador-bio {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0;
    transition: grid-template-rows 0.4s var(--ease), opacity 0.35s var(--ease), margin-top 0.4s var(--ease);
  }
  .ambassador-bio > * { overflow: hidden; }
  .ambassador-card:hover .ambassador-bio {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 8px;
  }
}

/* Carte recrutement */
.ambassador-card.recruit {
  background: var(--dark);
  border: 2px dashed rgba(232, 0, 28, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t), background var(--t);
}
.ambassador-card.recruit:hover { border-color: var(--red); background: var(--dark-2); }
.recruit-inner { display: block; text-align: center; padding: var(--space-5); }
.recruit-plus {
  display: block;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
  opacity: 0.55;
  transition: opacity var(--t);
}
.ambassador-card.recruit:hover .recruit-plus { opacity: 1; }
.recruit-text {
  display: block;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.ambassador-cta-section { background: var(--off-white); padding-block: var(--section-y); }
.ambassador-cta-text {
  color: var(--mid-grey);
  max-width: 36rem;
  margin: 0 auto var(--space-5);
  text-align: center;
  line-height: 1.85;
}
.ambassador-cta-action { text-align: center; }

/* =============================================
   20. CONTACT
============================================= */
.contact-section { padding-block: var(--section-y); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.contact-info {
  background: var(--black);
  padding: clamp(2rem, 4vw, 3rem);
  color: var(--on-dark);
  position: sticky;
  top: calc(var(--nav-height) + 28px);
}
.contact-info-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.contact-info-sub { font-size: var(--fs-small); color: var(--on-dark-muted); margin-bottom: var(--space-5); }

.contact-items { display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-5); }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
  width: 38px; height: 38px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  clip-path: var(--cut-sm);
}
.contact-icon svg { width: 17px; height: 17px; fill: var(--white); }
.contact-item-label {
  display: block;
  font-size: 0.563rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 3px;
}
.contact-item-value {
  display: block;
  font-size: var(--fs-small);
  color: var(--white);
  transition: color var(--t);
  overflow-wrap: anywhere;
}
a.contact-item-value:hover { color: var(--red); }

.contact-socials { display: flex; gap: 10px; }
.contact-social {
  width: 40px; height: 40px;
  border: 1px solid var(--on-dark-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t), background var(--t);
}
.contact-social:hover { border-color: var(--red); background: var(--red); }
.contact-social svg { width: 17px; height: 17px; fill: var(--white); }

/* Contact par message privé Instagram */
.form-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 0.95;
  margin-bottom: 8px;
}
.form-sub { font-size: var(--fs-small); color: var(--mid-grey); margin-bottom: var(--space-5); }
.contact-dm-btn { width: 100%; text-align: center; }

.form-note {
  margin-top: var(--space-3);
  font-size: 0.75rem;
  color: var(--light-grey);
  line-height: 1.6;
}
.form-note a { color: var(--red); text-decoration: underline; }

/* =============================================
   21. BIENTÔT DISPONIBLE / 404
============================================= */
.coming-soon {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding-block: calc(var(--nav-height) + var(--space-6)) var(--space-6);
}
.coming-soon-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/assets/img/banner.jpg');
  background-image: image-set(url('/static/assets/img/banner.webp') type('image/webp'),
                              url('/static/assets/img/banner.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}
.coming-soon-content { position: relative; z-index: 1; text-align: center; }
.coming-soon-tag {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-4);
}
.coming-soon-title {
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 12vw, 10rem);
  color: var(--white);
  line-height: 0.88;
  margin-bottom: var(--space-4);
}
.coming-soon-title span { display: block; color: var(--red); }
.coming-soon-sub {
  font-size: var(--fs-lead);
  color: var(--on-dark-soft);
  margin: 0 auto var(--space-5);
  max-width: 32rem;
  line-height: 1.8;
}
.coming-soon-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}
.coming-soon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-small);
  color: var(--on-dark-soft);
  line-height: 1.6;
}
.coming-soon-list li::before {
  content: '';
  flex-shrink: 0;
  width: 7px; height: 7px;
  margin-top: 8px;
  background: var(--red);
}

/* =============================================
   22. PIED DE PAGE
============================================= */
.footer {
  background: var(--black);
  color: var(--on-dark);
  padding-block: var(--space-7) 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6) var(--space-5);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--on-dark-line);
}
.footer-logo { height: 34px; width: auto; margin-bottom: var(--space-4); }
.footer-tagline {
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
  line-height: 1.8;
  max-width: 18rem;
  margin-bottom: var(--space-4);
}
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
  width: 40px; height: 40px;
  border: 1px solid var(--on-dark-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t), background var(--t);
}
.footer-social-link:hover { border-color: var(--red); background: var(--red); }
.footer-social-link svg { width: 17px; height: 17px; fill: var(--white); }

.footer-col-title {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: var(--space-3);
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-nav a { font-size: var(--fs-small); color: var(--on-dark-soft); transition: color var(--t); }
.footer-nav a:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-block: var(--space-4);
  font-size: 0.75rem;
  color: var(--on-dark-muted);
}

/* =============================================
   24. PAGES LÉGALES
============================================= */
.legal-hero {
  padding: calc(var(--nav-height) + var(--space-6)) 0 var(--space-6);
  background: var(--black);
}
.legal-hero-label {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-3);
}
.legal-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--white);
}

.legal-content { padding-block: var(--space-7) var(--section-y); }
.legal-body { max-width: 48rem; }
.legal-section { margin-bottom: var(--space-6); }
.legal-section-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--off-white);
}
.legal-section p,
.legal-section ul li { color: #35373B; line-height: 1.8; margin-bottom: 10px; }
.legal-section ul { list-style: disc; padding-left: 20px; margin-bottom: var(--space-3); }
.legal-section a { color: var(--red); text-decoration: underline; }
.legal-section strong { font-weight: 700; color: var(--black); }
.legal-updated {
  font-size: var(--fs-small);
  color: var(--light-grey);
  margin-bottom: var(--space-6);
  font-style: italic;
}

/* =============================================
   25. RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .about-image-wrap { aspect-ratio: 16 / 10; max-height: 26rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .accordion-content { grid-template-columns: 1fr; padding-left: 0; gap: var(--space-4); }
  .programs-cards { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .ambassadors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .navbar-nav-wrap { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .navbar-logo { --logo-w: 38px; }


  .programs-header { flex-direction: column; align-items: flex-start; }
  .programs-cards { grid-template-columns: 1fr; }
  .prog-card { aspect-ratio: auto; min-height: 15rem; }
  .prog-card-num { font-size: 3.5rem; }

  .accordion-num { font-size: 2rem; min-width: 40px; }
  .accordion-header { padding-block: var(--space-3); }
  .prog-downloads { flex-direction: column; }
  .prog-download { display: flex; width: 100%; }

  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; }

  .footer-top { grid-template-columns: 1fr; gap: var(--space-5); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }


}

@media (max-width: 560px) {
  .shop-grid { grid-template-columns: 1fr; }
  .ambassadors-grid { grid-template-columns: 1fr; }
  .ambassador-card { aspect-ratio: 4 / 3; }
  .ambassador-placeholder {
    align-items: flex-start;
    justify-content: flex-end;
    padding: var(--space-3) var(--space-3) 0;
    font-size: 3.5rem;
  }
  .ambassador-card.recruit { aspect-ratio: 5 / 2; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
  .stat-item:last-child { border-bottom: none; }

  .accordion-num { display: none; }
  .accordion-left { gap: 0; }

  .btn { padding: 14px 26px; }
  .btn-outline { padding: 12px 24px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .prog-stats { grid-template-columns: 1fr 1fr; }
  .faq-question { font-size: 0.875rem; }
}
