/* ==========================================================================
   THE SPEAKING ROOM — Feuille de style principale (mobile-first)
   Learn Today, Lead Tomorrow
   --------------------------------------------------------------------------
   Principe : les styles de base visent le téléphone (320–639 px).
   Les écrans plus grands sont ajoutés avec des media queries min-width :
   640px (grand téléphone), 768px (tablette), 1024px (ordinateur).

   TOUTES les tailles (texte, espacements, cartes, boutons, icônes) sont
   réglées dans la section 01 via des variables. Pour agrandir ou réduire
   le site, modifiez ces variables plutôt que les règles une par une.

   Sommaire
   01. Variables : couleurs, échelle typographique, espacements, composants
   02. Base, accessibilité, garde-fous anti-débordement
   03. Mise en page (container, sections, grilles)
   04. Typographie
   05. Boutons & liens
   06. En-tête, navigation, menu mobile
   07. Hero (accueil) & en-têtes de pages
   08. Bandeau défilant
   09. Cartes, puces d'icônes, listes
   10. Médias : images, galerie, lightbox, vidéos, affiches, équipe
   11. Adhésion : tarifs, formulaire, FAQ
   12. Membres : Best of the Month, parcours, carrousel
   13. Contact
   14. Pied de page, bouton WhatsApp, retour en haut
   15. Animations (opacité + translateY uniquement)
   16. Préférences : mouvement réduit, impression
   ========================================================================== */

/* 01. VARIABLES ------------------------------------------------------------ */
:root {
  /* Couleurs de marque (ne pas modifier sans validation) */
  --navy: #0F1B3D;
  --navy-alt: #122147;
  --card: #15244D;
  --card-2: #1B2B5A;
  --deep: #0A1330;
  --gold: #F2B94B;
  --gold-light: #FFD27A;
  --gold-soft: rgba(242, 185, 75, 0.12);
  --gold-line: rgba(242, 185, 75, 0.4);
  --white: #FFFFFF;
  --text: #E6EAF5;
  --muted: #C3CCE3;          /* contraste AA sur --card et --navy */
  --muted-2: #A9B5D3;
  --ink-on-gold: #2A3557;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.18);
  --wa: #1FA855;
  --error: #FFB4A8;
  --error-line: #FF8A7A;
  --success: #CFF5DD;

  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Échelle typographique — téléphone */
  --fs-body: 15px;
  --fs-sm: 14px;
  --fs-xs: 12.5px;
  --fs-lead: 15.5px;
  --fs-h1: clamp(1.75rem, 6vw, 2.25rem);
  --fs-h2: clamp(1.4rem, 5vw, 1.75rem);
  --fs-h3: 1.06rem;
  --fs-eyebrow: 11.5px;
  --lh-body: 1.6;

  /* Espacements (échelle 4/8 px) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px;
  --section-y: 48px;          /* padding vertical des sections */
  --head-gap: 24px;           /* espace sous un titre de section */

  /* Composants */
  --card-pad: 16px;
  --grid-gap: 12px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 16px;
  --chip: 40px;               /* boîte d'icône des cartes */
  --chip-icon: 20px;
  --btn-h: 46px;
  --btn-fs: 15px;
  --header-h: 60px;
  --logo: 38px;
  --fab: 48px;                /* bouton WhatsApp flottant */

  --shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.2), 0 16px 36px rgba(0, 0, 0, 0.24);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 200ms;               /* micro-interactions */

  --container-max: 1120px;
  --gutter: 2rem;             /* 16 px de chaque côté */
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 400px) {
  :root { --gutter: 2.5rem; }  /* 20 px de chaque côté */
}
@media (min-width: 768px) {
  :root {
    --fs-body: 16px; --fs-sm: 15px; --fs-xs: 13px; --fs-lead: 17px;
    --fs-h1: clamp(2.25rem, 1.3rem + 2.4vw, 3.25rem);
    --fs-h2: clamp(1.75rem, 1.15rem + 1.3vw, 2.35rem);
    --fs-h3: 1.15rem; --fs-eyebrow: 12.5px;
    --section-y: 72px; --head-gap: 36px;
    --card-pad: 24px; --grid-gap: 16px;
    --radius: 16px; --radius-lg: 20px;
    --chip: 44px; --chip-icon: 22px;
    --btn-h: 48px; --btn-fs: 15.5px;
    --gutter: 3rem; --fab: 52px;
  }
}
@media (min-width: 1024px) {
  :root { --section-y: 88px; --head-gap: 44px; --grid-gap: 20px; --header-h: 72px; --logo: 44px; }
}

/* 02. BASE & GARDE-FOUS ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

body {
  margin: 0; min-width: 0;
  font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body);
  color: var(--white); background: var(--navy);
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
  animation: pageIn 0.4s ease both;
}
body.is-leaving { opacity: 0; transition: opacity 0.2s ease; }
body.no-scroll { overflow: hidden; }

img, video, iframe, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--gold); text-decoration: none; transition: color var(--dur); }
a:hover { color: var(--gold-light); }
a[href^="mailto:"], a[href^="tel:"] { overflow-wrap: anywhere; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
strong, b { font-weight: 600; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--navy); }

.skip-link {
  position: absolute; left: 1rem; top: -64px; z-index: 500;
  padding: 12px 18px; border-radius: 10px;
  background: var(--gold); color: var(--navy); font-weight: 600;
  transition: top var(--dur);
}
.skip-link:focus { top: 12px; color: var(--navy); }

.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;
}

.progress {
  position: fixed; inset: 0 0 auto 0; z-index: 400; height: 2px;
  background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* Utilitaires d'espacement (remplacent les marges écrites dans le HTML) */
.mt-2 { margin-top: var(--s-2); }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
@media (min-width: 768px) { .mt-8 { margin-top: var(--s-10); } }

/* 03. MISE EN PAGE --------------------------------------------------------- */
.container { width: min(100% - var(--gutter), var(--container-max)); margin-inline: auto; }

.section { position: relative; padding-block: var(--section-y); }
.section--alt { background: var(--navy-alt); border-block: 1px solid var(--line); }
.section--tight { padding-top: 0; }

/* Titre de section : label doré + titre + courte intro, aligné à gauche */
.section-head {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2);
  max-width: 680px; margin: 0 0 var(--head-gap);
}
.section-head .lead { margin-top: var(--s-1); }
.section-head--row { max-width: none; gap: var(--s-4); }
.section-head--row > div:not(.slider-nav) { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); max-width: 680px; }
@media (min-width: 768px) {
  .section-head { gap: var(--s-3); }
  .section-head--row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
}

.grid { display: grid; gap: var(--grid-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr)); }
}
.grid--3 { --min: 280px; }
.grid--4 { --min: 230px; }
.grid--wide { --min: 300px; }
.grid--narrow { --min: 200px; }
.grid--offer { --min: 320px; }
.grid > * { min-width: 0; }

/* Bloc texte + média : empilé sur mobile, côte à côte dès 1024 px */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.split > * { min-width: 0; }
.split--form { align-items: start; }
@media (min-width: 1024px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .split--form { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}

.stack { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); }
.stack .check-list, .stack .how { width: 100%; }

/* 04. TYPOGRAPHIE ---------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; overflow-wrap: break-word; }
.h1 { font-size: var(--fs-h1); line-height: 1.12; }
.h2 { font-size: var(--fs-h2); line-height: 1.2; }
.h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
.h3--lg { font-size: calc(var(--fs-h3) * 1.12); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  color: var(--gold); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; flex-shrink: 0; border-radius: 2px; background: currentColor; }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.text-gold { color: var(--gold); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.accent { color: var(--gold); font-weight: 600; }

/* 05. BOUTONS & LIENS ------------------------------------------------------ */
.btn {
  --bg: transparent; --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  max-width: 100%; min-height: var(--btn-h); padding: 10px 20px; border-radius: 12px;
  border: 1.5px solid transparent; background: var(--bg); color: var(--fg);
  font: 600 var(--btn-fs)/1.25 var(--font); text-align: center; white-space: normal; cursor: pointer;
  transition: transform var(--dur) var(--ease), background-color var(--dur), color var(--dur), border-color var(--dur), box-shadow var(--dur);
}
@media (min-width: 768px) { .btn { padding: 10px 24px; } }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.btn:hover { transform: translateY(-1px); color: var(--fg); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(0.985); }

.btn--gold { --bg: var(--gold); --fg: var(--navy); }
.btn--gold:hover { --bg: var(--gold-light); box-shadow: 0 8px 20px rgba(242, 185, 75, 0.22); }
.btn--ghost { border-color: var(--line-2); }
.btn--ghost:hover { --fg: var(--gold); border-color: var(--gold); }
.btn--dark { --bg: var(--navy); --fg: var(--white); }
.btn--dark:hover { --bg: #182A5C; }
.btn--outline-dark { --fg: var(--navy); border-color: var(--navy); }
.btn--outline-dark:hover { --bg: var(--navy); --fg: var(--white); }
.btn--outline-gold { --fg: var(--gold); border-color: var(--gold); }
.btn--outline-gold:hover { --bg: var(--gold); --fg: var(--navy); }
.btn--block { width: 100%; }
.btn--lg { min-height: var(--btn-h); }
@media (min-width: 1024px) { .btn--lg { min-height: 52px; padding-inline: 28px; } }

.btn.is-loading { pointer-events: none; color: transparent; }
.btn.is-loading::before {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid var(--navy); border-right-color: transparent; animation: spin 0.7s linear infinite;
}

/* Rangée de boutons : empilés pleine largeur sur mobile, côte à côte ensuite */
.btn-row { display: flex; flex-direction: column; align-items: stretch; gap: var(--s-2); width: 100%; }
.btn-row > .btn { width: 100%; }
@media (min-width: 640px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; width: auto; gap: var(--s-3); }
  .btn-row > .btn { width: auto; }
}

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; min-height: 44px; font-size: var(--fs-sm); }
.link-arrow svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* 06. EN-TÊTE & NAVIGATION ------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(15, 27, 61, 0.9);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur), box-shadow var(--dur);
}
.header.is-scrolled { background: rgba(15, 27, 61, 0.97); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--white); }
.brand:hover { color: var(--white); }
.brand__logo {
  width: var(--logo); height: var(--logo); flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 0 1.5px rgba(242, 185, 75, 0.5);
}
.brand__logo img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand__name { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }
.brand__tag { font-size: 9px; letter-spacing: 0.08em; color: var(--muted-2); white-space: nowrap; }
@media (max-width: 359px) { .brand__tag { display: none; } }
@media (min-width: 768px) {
  .brand { gap: 12px; }
  .brand__name { font-size: 14.5px; letter-spacing: 0.05em; }
  .brand__tag { font-size: 10px; letter-spacing: 0.1em; }
}

.nav { display: none; align-items: center; gap: 2px; }
.nav__link { position: relative; padding: 10px 11px; font-size: 14px; font-weight: 400; color: var(--text); }
.nav__link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.25s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--gold); font-weight: 600; }
.nav__cta { margin-left: 10px; min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.nav__cta[aria-current="page"] { box-shadow: 0 0 0 3px rgba(242, 185, 75, 0.3); }

.burger {
  position: relative; display: block; width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.15s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 190;
  display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto;
  padding: var(--s-2) max(1.25rem, env(safe-area-inset-right)) calc(32px + var(--safe-bottom)) max(1.25rem, env(safe-area-inset-left));
  background: var(--deep);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  min-height: 52px; padding: 10px 2px; border-bottom: 1px solid var(--line);
  font-size: 1.02rem; font-weight: 400; color: var(--white);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), color var(--dur);
  transition-delay: calc(var(--i, 0) * 35ms);
}
.mobile-nav__link small { font-size: 12px; color: var(--muted-2); }
.mobile-nav__link[aria-current="page"] { color: var(--gold); font-weight: 600; }
.mobile-nav.is-open .mobile-nav__link { opacity: 1; transform: none; }
.mobile-nav .btn { margin-top: var(--s-5); width: 100%; }
.mobile-nav__contact { margin-top: var(--s-4); font-size: 13px; line-height: 1.6; color: var(--muted-2); }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .burger, .mobile-nav { display: none; }
}

/* 07. HERO & EN-TÊTES DE PAGES -------------------------------------------- */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 10%, #000 10%, transparent 65%);
  mask-image: radial-gradient(ellipse at 80% 10%, #000 10%, transparent 65%);
}
.glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(480px, 110vw); aspect-ratio: 1; right: -35%; top: -35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 185, 75, 0.12), transparent 65%);
}

.hero { padding-block: var(--s-8) var(--s-10); }
@media (min-width: 768px) { .hero { padding-block: 56px 72px; } }
@media (min-width: 1024px) { .hero { padding-block: 80px 96px; } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-8); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; } }
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); min-width: 0; }
@media (min-width: 1024px) { .hero__content { gap: var(--s-6); } }

.pill {
  display: inline-flex; align-items: center; gap: var(--s-2); max-width: 100%;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  border: 1px solid rgba(242, 185, 75, 0.3); background: var(--gold-soft);
  color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
}
@media (min-width: 768px) { .pill { font-size: 12px; padding: 7px 14px 7px 12px; } }
.pill__dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--gold); }

.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span {
  display: block; transform: translateY(110%);
  animation: lineUp 0.8s var(--ease) forwards; animation-delay: calc(0.1s + var(--i, 0) * 0.1s);
}
.fade-up { opacity: 0; animation: fadeUp 0.7s var(--ease) forwards; animation-delay: var(--d, 0.4s); }

.hero__checks { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: 13px; color: var(--muted-2); }
@media (min-width: 1024px) { .hero__checks { font-size: 14px; } }
.hero__checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero__checks svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold); }

.hero__media { position: relative; isolation: isolate; width: 100%; max-width: 520px; margin: 0 auto var(--s-4); }
@media (min-width: 1024px) { .hero__media { max-width: none; margin: 0; } }
.hero__frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--card-2);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.hero__deco { display: none; }
@media (min-width: 1024px) {
  .hero__deco {
    display: block; position: absolute; z-index: -1; top: -14px; right: -14px; width: 120px; height: 120px;
    border: 1.5px solid var(--gold-line); border-radius: 24px;
  }
  .hero__deco--b { top: auto; right: auto; bottom: -18px; left: 18%; width: 64px; height: 64px; border-radius: 50%; border-color: rgba(255, 255, 255, 0.18); }
}

/* Cartes flottantes : discrètes, posées sur les bords de la photo */
.float-card {
  position: absolute; display: flex; align-items: center; gap: var(--s-2); max-width: calc(100% - 16px);
  padding: 6px 10px 6px 6px; border-radius: 10px; background: var(--white); color: var(--navy);
  font-size: 11.5px; font-weight: 600; line-height: 1.25; text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
.float-card small { display: block; font-size: 10px; font-weight: 400; color: #4A5578; }
.float-card__icon { width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; display: grid; place-items: center; background: var(--gold); }
.float-card__icon svg { width: 14px; height: 14px; }
.float-card--a { left: 8px; bottom: -12px; }
.float-card--b { right: 8px; top: -12px; }
@media (min-width: 768px) {
  .float-card { gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; font-size: 13.5px; }
  .float-card small { font-size: 11.5px; }
  .float-card__icon { width: 34px; height: 34px; border-radius: 10px; }
  .float-card__icon svg { width: 18px; height: 18px; }
  .float-card--a { left: -14px; bottom: 24px; }
  .float-card--b { right: -10px; top: 22px; }
}

/* En-tête des pages intérieures */
.page-hero { padding-block: var(--s-6) var(--s-8); border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .page-hero { padding-block: 48px 52px; } }
@media (min-width: 1024px) { .page-hero { padding-block: 72px 64px; } }
.page-hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.page-hero__inner > * { max-width: 760px; }
@media (min-width: 1024px) { .page-hero__inner { gap: var(--s-4); } }
.page-hero__inner > .btn-row { margin-top: var(--s-2); }
/* « — About Us » passe à la ligne sur mobile au lieu de couper le titre n'importe où */
.page-hero__title .en { display: block; color: var(--gold); }
.page-hero__title .en__dash { display: none; }
@media (min-width: 640px) { .page-hero__title .en { display: inline; } .page-hero__title .en__dash { display: inline; } }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted-2); }
.breadcrumb a { color: var(--muted-2); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { width: 12px; height: 12px; }

/* 08. BANDEAU DÉFILANT ----------------------------------------------------- */
.marquee { overflow: hidden; padding-block: 12px; background: var(--deep); border-block: 1px solid var(--line); }
@media (min-width: 768px) { .marquee { padding-block: 18px; } }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 24px; padding-right: 24px; }
.marquee__item { display: inline-flex; align-items: center; gap: 24px; white-space: nowrap; font-size: 0.95rem; font-weight: 600; }
@media (min-width: 768px) {
  .marquee__group { gap: 40px; padding-right: 40px; }
  .marquee__item { gap: 40px; font-size: clamp(1.05rem, 2vw, 1.4rem); }
}
.marquee__item::after { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5); }

/* 09. CARTES & LISTES ------------------------------------------------------ */
.card {
  position: relative; overflow: hidden; min-width: 0; max-width: 100%;
  display: flex; flex-direction: column; gap: var(--s-2); padding: var(--card-pad);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur), background-color var(--dur);
}
@media (min-width: 768px) { .card { gap: var(--s-3); } }
.card:hover { transform: translateY(-2px); border-color: var(--gold-line); }
.card > * { position: relative; }
.card p { font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }

/* Carte « icône + titre + texte » : horizontale et compacte sur mobile,
   verticale à partir de la tablette. */
.grid--3 > .card:has(> .icon-chip), .grid--4 > .card:has(> .icon-chip), .contact-card {
  display: grid; grid-template-columns: var(--chip) minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-content: start;
}
.grid--3 > .card:has(> .icon-chip) > :not(.icon-chip),
.grid--4 > .card:has(> .icon-chip) > :not(.icon-chip),
.contact-card > :not(.icon-chip) { grid-column: 2; }
.grid--3 > .card > .icon-chip, .grid--4 > .card > .icon-chip, .contact-card > .icon-chip { grid-column: 1; grid-row: 1 / span 4; }
@media (min-width: 768px) {
  .grid--3 > .card:has(> .icon-chip), .grid--4 > .card:has(> .icon-chip), .contact-card {
    display: flex; flex-direction: column; gap: var(--s-3);
  }
}

.card--gold { background: var(--gold); color: var(--navy); border-color: transparent; }
.card--gold p { color: var(--ink-on-gold); }
.card--gold:hover { border-color: transparent; }
.card--flat { box-shadow: none; }
.card--dashed { justify-content: center; background: transparent; border: 1.5px dashed rgba(242, 185, 75, 0.45); color: var(--white); }
.card--dashed:hover { color: var(--white); }
.card .check-list { align-self: stretch; }

.card__num { font-size: 30px; font-weight: 700; line-height: 1; color: var(--gold); }
.card__tag { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; }
@media (min-width: 768px) { .card__num { font-size: 40px; } .card__tag { font-size: 12.5px; } }
.card--gold .card__tag { color: var(--navy); }

.icon-chip {
  width: var(--chip); height: var(--chip); flex-shrink: 0; border-radius: 10px;
  display: grid; place-items: center; background: var(--gold-soft); color: var(--gold);
  transition: background-color var(--dur), color var(--dur);
}
.icon-chip svg { width: var(--chip-icon); height: var(--chip-icon); }
.card:hover .icon-chip { background: var(--gold); color: var(--navy); }

.check-list { display: flex; flex-direction: column; gap: var(--s-2); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; min-width: 0; font-size: var(--fs-sm); line-height: 1.55; }
.check-list li > span { min-width: 0; }
.check-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }
@media (min-width: 768px) { .check-list { gap: var(--s-3); } .check-list svg { width: 20px; height: 20px; } }
.card--gold .check-list svg { color: var(--navy); }

/* Avantages (adhésion) : liste nette sur mobile, petites cartes ensuite */
.benefit {
  display: flex; gap: var(--s-3); align-items: flex-start; min-width: 0; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.55;
}
.grid > .benefit:first-child { padding-top: 0; }
.grid:has(> .benefit) { gap: 0; }
.benefit svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); }
@media (min-width: 640px) {
  .grid:has(> .benefit) { gap: var(--grid-gap); }
  .benefit, .grid > .benefit:first-child {
    padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
    transition: border-color var(--dur);
  }
  .benefit:hover { border-color: var(--gold-line); }
}

/* Étapes numérotées (accueil) : numéro à gauche sur mobile */
.step {
  position: relative; min-width: 0; padding: var(--card-pad); border-radius: var(--radius); border: 1px solid var(--line);
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-content: start;
  transition: border-color var(--dur), background-color var(--dur);
}
.step > :not(.step__num) { grid-column: 2; }
.step__num { grid-column: 1; grid-row: 1 / span 2; font-size: 24px; font-weight: 700; line-height: 1.1; color: var(--gold); }
@media (min-width: 768px) {
  .step { display: flex; flex-direction: column; gap: var(--s-2); }
  .step__num { font-size: 36px; }
}
.step:hover { border-color: var(--gold-line); background: rgba(255, 255, 255, 0.02); }
.step strong { font-size: var(--fs-h3); font-weight: 600; }
.step p { font-size: var(--fs-sm); color: var(--muted); }

/* Bandeau doré d'appel à l'action */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-5);
  padding: var(--s-6) var(--s-5); border-radius: var(--radius-lg);
  background: var(--gold); color: var(--navy);
}
@media (min-width: 768px) { .cta-band { padding: var(--s-10); } }
@media (min-width: 1024px) {
  .cta-band { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 48px; gap: var(--s-8); }
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; right: -70px; top: -90px; width: 240px; height: 240px;
  border-radius: 50%; border: 36px solid rgba(15, 27, 61, 0.06);
}
.cta-band__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); max-width: 600px; }
.cta-band p { color: var(--ink-on-gold); font-size: var(--fs-sm); line-height: 1.6; }
.cta-band .btn-row { width: 100%; }
@media (min-width: 640px) { .cta-band .btn-row { width: auto; } }

/* Encadré d'information */
.note {
  display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--card-pad);
  border-radius: var(--radius); border: 1px solid var(--gold-line); background: rgba(242, 185, 75, 0.07);
}
.note > div { min-width: 0; }
.note svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold); }
.note strong { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.note p { color: var(--text); line-height: 1.6; font-size: var(--fs-sm); }

/* Certifications */
.cert {
  min-width: 0; padding: 14px var(--card-pad); border-radius: var(--radius); border: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color var(--dur), transform var(--dur) var(--ease);
}
@media (min-width: 768px) { .cert { padding: var(--card-pad); gap: 6px; } }
.cert:hover { border-color: var(--gold); transform: translateY(-2px); }
.cert--featured { border-color: var(--gold); background: rgba(242, 185, 75, 0.07); }
.cert strong { font-size: 1.05rem; color: var(--gold); }
.cert span { font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }

/* Pastilles (rôles d'une séance) */
.roles { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.role {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: 13px;
  transition: border-color var(--dur);
}
@media (min-width: 768px) { .role { min-height: 40px; padding: 8px 16px; font-size: 14px; } }
.role:hover { border-color: var(--gold); }
.role b { color: var(--gold); font-weight: 600; }

/* Infos pratiques (accueil) : 2 colonnes sur mobile, 4 sur tablette */
.infobar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
@media (min-width: 768px) { .infobar { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); } }
.info {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); min-width: 0;
  padding: 12px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
}
@media (min-width: 1024px) { .info { flex-direction: row; align-items: center; gap: var(--s-3); padding: 16px 18px; } }
.info .icon-chip { width: 34px; height: 34px; border-radius: 9px; }
.info .icon-chip svg { width: 18px; height: 18px; }
.info > span:not(.icon-chip) { display: flex; flex-direction: column; min-width: 0; font-size: 12px; color: var(--muted-2); line-height: 1.4; }
.info strong { font-size: 14px; color: var(--white); font-weight: 600; }
@media (min-width: 768px) { .info > span:not(.icon-chip) { font-size: 13px; } .info strong { font-size: 15px; } }

/* 10. MÉDIAS --------------------------------------------------------------- */
/* Sur mobile, photos/affiches/vidéos sont centrées et ne dépassent pas 400 px */
.media, .poster, .award, .motm, .videos-portrait, .gallery, .video-card {
  width: 100%; max-width: 400px; margin-inline: auto;
}
@media (min-width: 768px) {
  .media, .poster, .award, .videos-portrait, .video-card { max-width: 560px; }
  .motm, .gallery { max-width: none; }
}
@media (min-width: 1024px) {
  .media, .poster, .award, .videos-portrait, .video-card { max-width: none; margin-inline: 0; }
}

.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--card-2); box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
@media (hover: hover) { .media:hover img { transform: scale(1.03); } }
.media--43 { aspect-ratio: 4 / 3; }
.media--169 { aspect-ratio: 16 / 9; border-radius: var(--radius); }

/* Deux affiches côte à côte (programmes de séance) */
.split > .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 400px; margin-inline: auto; }
@media (min-width: 768px) { .split > .grid { max-width: 560px; gap: var(--grid-gap); } }
@media (min-width: 1024px) { .split > .grid { max-width: none; } }

/* Galerie */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grid-gap); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery__item {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; width: 100%; padding: 0; border: 0;
  border-radius: var(--radius); background: var(--card-2); cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 19, 48, 0.8), transparent 50%);
}
.gallery__cap {
  position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  color: var(--white); font-size: 13.5px; font-weight: 600; text-align: left;
}
.gallery__zoom {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--gold); color: var(--navy); transition: opacity var(--dur), transform var(--dur) var(--ease);
}
.gallery__zoom svg { width: 15px; height: 15px; }
@media (hover: hover) and (min-width: 1024px) {
  .gallery__cap { left: 16px; right: 16px; bottom: 14px; font-size: 15px; }
  .gallery__zoom { width: 38px; height: 38px; opacity: 0; transform: scale(0.8); }
  .gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }
  .gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.04); }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 600; display: grid; place-items: center;
  padding: 60px 1rem calc(80px + var(--safe-bottom));
  background: rgba(5, 10, 25, 0.95); opacity: 0; transition: opacity 0.25s;
}
@media (min-width: 768px) { .lightbox { padding: 72px 88px; } }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { display: flex; flex-direction: column; gap: var(--s-3); width: min(1000px, 100%); transform: scale(0.98); transition: transform 0.3s var(--ease); }
.lightbox.is-open .lightbox__figure { transform: none; }
.lightbox__img { width: auto; max-width: 100%; max-height: 72vh; margin-inline: auto; border-radius: 12px; object-fit: contain; }
.lightbox__img.is-switching { animation: fadeIn 0.3s var(--ease); }
.lightbox__caption { text-align: center; color: var(--muted); font-size: var(--fs-sm); }
.lightbox__counter { position: absolute; top: 20px; left: 1rem; font-size: 13px; color: var(--muted-2); }
.lightbox__btn {
  position: absolute; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); color: var(--white); cursor: pointer;
  transition: background-color var(--dur), color var(--dur);
}
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__btn:hover { background: var(--gold); color: var(--navy); }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: calc(50% - 56px); bottom: calc(18px + var(--safe-bottom)); }
.lightbox__next { right: calc(50% - 56px); bottom: calc(18px + var(--safe-bottom)); }
@media (min-width: 768px) {
  .lightbox__prev { left: 20px; bottom: auto; top: 50%; margin-top: -22px; }
  .lightbox__next { right: 20px; bottom: auto; top: 50%; margin-top: -22px; }
}

/* Vidéos */
.video-card { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.video {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--deep);
}
.video video { width: 100%; height: 100%; object-fit: cover; }
.video__empty {
  position: absolute; inset: 0; display: none; place-items: center; align-content: center; gap: var(--s-3);
  padding: var(--s-4); text-align: center; font-size: 13px; color: var(--muted-2); background: var(--deep);
}
.video--empty .video__empty { display: grid; }
.play { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); }
.play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-card figcaption { font-size: 13px; color: var(--muted); text-align: center; }
@media (min-width: 768px) { .video-card figcaption { font-size: 14px; } }
@media (min-width: 1024px) { .video-card figcaption { text-align: left; } }

.video--portrait { aspect-ratio: 9 / 16; }
.video--portrait video { background: #000; }
.videos-portrait { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .videos-portrait { gap: var(--grid-gap); } }
.video-solo { width: 100%; max-width: 220px; margin-inline: auto; }
@media (min-width: 768px) { .video-solo { max-width: 300px; } }

/* Affiches : montrées en entier, jamais rognées */
.poster {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--deep);
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), border-color var(--dur);
}
.poster img { width: 100%; height: 100%; object-fit: contain; }
.poster:hover { transform: translateY(-2px); border-color: var(--gold-line); }
button.poster { padding: 0; cursor: zoom-in; display: block; }

/* Best of the Week */
.award { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.award__caption { display: flex; flex-direction: column; gap: 2px; }
.award__caption strong { font-size: var(--fs-h3); }
.award__caption span { color: var(--muted); font-size: var(--fs-sm); }

/* Équipe du club (À propos) : photo au ratio maîtrisé, jamais plein écran */
.team { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grid-gap); width: 100%; max-width: 420px; margin-inline: auto; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); max-width: none; } }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.team-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), border-color var(--dur);
}
.team-card:hover { transform: translateY(-2px); border-color: var(--gold-line); }
.team-card--lead { border-color: var(--gold-line); }
.team-card__photo { aspect-ratio: 1 / 1; max-height: 60vh; overflow: hidden; background: var(--card-2); }
@media (min-width: 640px) { .team-card__photo { aspect-ratio: 4 / 5; max-height: none; } }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 0.6s var(--ease); }
@media (hover: hover) { .team-card:hover .team-card__photo img { transform: scale(1.03); } }
.team-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: var(--card-pad); }
.team-card__body .badge { margin-bottom: 4px; }
.team-card__body .team-card__role { font-size: 13px; font-weight: 600; color: var(--gold); }
.team-card__body p:not(.team-card__role) { margin-top: 4px; font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }

/* 11. ADHÉSION ------------------------------------------------------------- */
.price-card { gap: var(--s-3); padding: var(--s-5); }
@media (min-width: 768px) { .price-card { gap: var(--s-4); padding: 32px; } }
.card .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: clamp(1.9rem, 1.5rem + 2vw, 2.75rem); font-weight: 700; line-height: 1; color: inherit; }
.price small { font-size: 0.95rem; font-weight: 600; }
.price-card__subtitle { font-size: 1rem; }
.tranches { display: flex; flex-direction: column; gap: 10px; padding-top: var(--s-3); border-top: 1px solid rgba(15, 27, 61, 0.18); }
.tranche { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: var(--fs-sm); }
.tranche__label { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tranche__badge {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-size: 12px; font-weight: 700;
}
.tranche strong { flex-shrink: 0; white-space: nowrap; }
.price-card .btn { margin-top: auto; }

.how { display: flex; flex-direction: column; gap: var(--s-3); margin-top: 4px; }
.how li { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-sm); min-width: 0; }
.how__n {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--gold); color: var(--navy); font-size: 14px; font-weight: 700;
}

/* Formulaire */
.form {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); width: 100%; min-width: 0; padding: var(--card-pad);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
@media (min-width: 768px) { .form { gap: var(--s-5); padding: 32px; } }
.form__row { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field legend { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field legend { margin-bottom: 6px; padding: 0; }
.req { color: var(--gold); }
.input {
  width: 100%; min-width: 0; min-height: 46px; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--navy); color: var(--white);
  font: 400 16px/1.4 var(--font); /* 16 px : évite le zoom automatique sur iPhone */
  transition: border-color var(--dur), box-shadow var(--dur);
}
.input::placeholder { color: #8E9AB8; }
.input:hover { border-color: rgba(255, 255, 255, 0.3); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 185, 75, 0.18); }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23F2B94B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
select.input option { background: var(--navy); color: var(--white); }
textarea.input { min-height: 104px; resize: vertical; }
.field__meta { display: flex; justify-content: space-between; gap: var(--s-3); font-size: 12px; color: var(--muted-2); }
.field__error { display: none; font-size: 12.5px; color: var(--error); }
.field.is-invalid .input { border-color: var(--error-line); box-shadow: 0 0 0 3px rgba(255, 138, 122, 0.14); }
.field.is-invalid .field__error { display: block; animation: shake 0.3s; }
.field.is-valid .input { border-color: rgba(31, 168, 85, 0.7); }

.choices { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.choice { position: relative; flex: 1 1 auto; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2);
  cursor: pointer; font-size: 14px; text-align: center;
  transition: background-color var(--dur), color var(--dur), border-color var(--dur);
}
.choice label:hover { border-color: var(--gold); }
.choice input:checked + label { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; }
.choice input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 3px; }
.field.is-invalid .choice label { border-color: var(--error-line); }

.form__status { display: none; padding: 12px 14px; border-radius: 10px; font-size: var(--fs-sm); line-height: 1.55; }
.form__status.is-success { display: block; background: rgba(31, 168, 85, 0.16); border: 1px solid rgba(31, 168, 85, 0.55); color: var(--success); animation: fadeUp 0.3s var(--ease); }
.form__status.is-error { display: block; background: rgba(255, 138, 122, 0.12); border: 1px solid rgba(255, 138, 122, 0.5); color: var(--error); animation: fadeUp 0.3s var(--ease); }
.form__legal { font-size: 12px; color: var(--muted-2); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: var(--s-2); max-width: 860px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color var(--dur); }
.faq__item[open] { border-color: var(--gold-line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  min-height: 52px; padding: 12px 14px 12px 16px; cursor: pointer; list-style: none; font-weight: 600; font-size: var(--fs-sm); line-height: 1.45;
}
@media (min-width: 768px) { .faq__item summary { padding: 16px 20px; font-size: 16px; } }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold); transition: transform 0.25s var(--ease), background-color var(--dur), color var(--dur);
}
.faq__icon svg { width: 16px; height: 16px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--gold); color: var(--navy); }
.faq__body { padding: 0 16px 16px; color: var(--muted); line-height: 1.65; font-size: var(--fs-sm); }
@media (min-width: 768px) { .faq__body { padding: 0 20px 20px; } }
.faq__item[open] .faq__body { animation: fadeUp 0.3s var(--ease); }

/* 12. MEMBRES -------------------------------------------------------------- */
.motm {
  display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--gold-line); background: var(--card);
}
@media (min-width: 768px) { .motm { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.motm__media { position: relative; aspect-ratio: 5 / 4; max-height: 60vh; background: var(--deep); overflow: hidden; }
@media (min-width: 768px) { .motm__media { aspect-ratio: auto; max-height: none; min-height: 340px; } }
.motm__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.motm__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s-2); padding: var(--s-5) var(--card-pad); }
@media (min-width: 768px) { .motm__body { gap: var(--s-3); padding: var(--s-10); } }
.motm__body .lead { font-size: var(--fs-sm); }
@media (min-width: 768px) { .motm__body .lead { font-size: var(--fs-lead); } }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
}
.badge svg { width: 13px; height: 13px; flex-shrink: 0; }
.quote { padding-left: var(--s-3); border-left: 2px solid var(--gold); font-size: var(--fs-sm); font-style: italic; line-height: 1.6; }
@media (min-width: 768px) { .quote { padding-left: var(--s-4); font-size: 1.02rem; } }

/* Parcours : vertical sur mobile, horizontal sur tablette */
.timeline { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); max-width: 560px; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--line-2);
}
.timeline::after { background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease) 0.2s; }
.timeline.is-visible::after { transform: scaleY(1); }
.timeline__step { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.timeline__step > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.timeline__dot {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-alt); border: 2px solid var(--gold); color: var(--gold); font-size: 14px; font-weight: 700;
}
.timeline__step:last-child .timeline__dot { background: var(--gold); color: var(--navy); }
.timeline__step strong { font-size: var(--fs-h3); font-weight: 600; margin-top: 6px; }
.timeline__step p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }
@media (min-width: 768px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); max-width: none; }
  .timeline::before, .timeline::after { left: 20px; right: 20px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .timeline::after { transform: scaleX(0); transform-origin: left; }
  .timeline.is-visible::after { transform: scaleX(1); }
  .timeline__step { flex-direction: column; gap: var(--s-2); }
  .timeline__dot { width: 40px; height: 40px; }
}

/* Carrousel (vidéos des membres) */
.slider-nav { display: flex; gap: var(--s-2); }
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--white);
  transition: background-color var(--dur), color var(--dur), border-color var(--dur), opacity var(--dur);
}
.slider-btn svg { width: 20px; height: 20px; }
.slider-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.slider-btn:disabled { opacity: 0.35; cursor: default; }
.slider {
  display: grid; grid-auto-flow: column; grid-auto-columns: 56%; gap: var(--s-3);
  width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
@media (min-width: 640px) { .slider { grid-auto-columns: 36%; } }
@media (min-width: 1024px) { .slider { grid-auto-columns: 240px; gap: var(--s-5); } }
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; max-width: none; margin: 0; }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.consent svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--gold); }

/* 13. CONTACT -------------------------------------------------------------- */
.contact-card { color: var(--white); }
.contact-card:hover { color: var(--white); }
.contact-card__label { font-size: 12.5px; color: var(--muted-2); }
.contact-card__value { font-size: 1.02rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
@media (min-width: 768px) { .contact-card__value { font-size: 1.2rem; } }
.contact-card__sub { display: block; font-size: var(--fs-sm); font-weight: 400; color: var(--muted); }
.contact-card .link-arrow { color: var(--gold); min-height: 36px; }

.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grid-gap); }
@media (min-width: 1024px) { .map-wrap { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.map { position: relative; min-height: 240px; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card-2); }
@media (min-width: 768px) { .map { min-height: 380px; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.socials { display: flex; flex-direction: column; gap: var(--s-2); width: 100%; }
.social {
  display: flex; align-items: center; gap: var(--s-3); min-height: 48px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--line-2); color: var(--white); font-size: var(--fs-sm);
  transition: border-color var(--dur), background-color var(--dur);
}
.social:hover { color: var(--white); border-color: var(--gold); background: rgba(242, 185, 75, 0.06); }
.social svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); }
.social .icon-arrow { margin-left: auto; width: 16px; height: 16px; color: var(--muted-2); }
.contact-hours { padding-top: var(--s-4); margin-top: 4px; border-top: 1px solid var(--line); }
.contact-hours strong { display: block; margin-bottom: 2px; font-size: var(--fs-sm); }

/* 14. PIED DE PAGE & BOUTONS FLOTTANTS ------------------------------------ */
/* padding-bottom : réserve juste la place du bouton WhatsApp (seul bouton
   flottant sur mobile) pour qu'il ne cache jamais le texte du bas. */
.footer { background: var(--deep); border-top: 1px solid var(--line); padding-bottom: calc(var(--fab) + 24px + var(--safe-bottom)); }
@media (min-width: 768px) { .footer { padding-bottom: calc(var(--fab) + 80px + var(--safe-bottom)); } }
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); padding-block: var(--s-10) var(--s-6); }
.footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.footer__grid > div:last-child { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); padding-block: 56px var(--s-8); }
  .footer__grid > div:last-child { grid-column: auto; }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); padding-block: 64px var(--s-8); }
  .footer__brand { grid-column: auto; max-width: 320px; }
}
.footer__brand p { font-size: 13px; line-height: 1.6; color: var(--muted-2); max-width: 44ch; }
.footer__title { margin: 0 0 var(--s-2); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.footer__links { display: flex; flex-direction: column; font-size: var(--fs-sm); }
.footer__links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); overflow-wrap: anywhere; }
.footer__links a:hover { color: var(--gold); }
.footer__social { display: flex; gap: var(--s-2); }
.footer__social a {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--white); transition: background-color var(--dur), color var(--dur), border-color var(--dur);
}
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding-block: var(--s-4); border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; color: #9AA6C6;
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; font-size: 13px; padding-block: var(--s-5); } }

/* Bouton WhatsApp flottant (prioritaire) */
.wa-float {
  position: fixed; z-index: 150;
  right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + var(--safe-bottom));
  width: var(--fab); height: var(--fab); border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: var(--white); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: transform var(--dur) var(--ease);
}
@media (min-width: 768px) { .wa-float { right: 24px; bottom: calc(24px + var(--safe-bottom)); } }
.wa-float svg { width: 24px; height: 24px; }
@media (min-width: 768px) { .wa-float svg { width: 26px; height: 26px; } }
.wa-float:hover { color: var(--white); transform: scale(1.05); }
.wa-float__label { display: none; }
@media (hover: hover) and (min-width: 1024px) {
  .wa-float__label {
    display: block; position: absolute; right: calc(100% + 12px); top: 50%; white-space: nowrap;
    padding: 7px 12px; border-radius: 8px; background: var(--white); color: var(--navy);
    font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-50%); pointer-events: none; transition: opacity var(--dur);
  }
  .wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; }
}

/* « Retour en haut » : seulement sur tablette/ordinateur (un seul bouton flottant sur mobile) */
.to-top { display: none; }
@media (min-width: 768px) {
  .to-top {
    position: fixed; z-index: 150; display: grid; place-items: center; cursor: pointer;
    right: calc(24px + (var(--fab) - 44px) / 2); bottom: calc(24px + var(--fab) + 12px + var(--safe-bottom));
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line-2); background: rgba(15, 27, 61, 0.92); color: var(--white);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity var(--dur), visibility var(--dur), transform var(--dur) var(--ease), background-color var(--dur), color var(--dur);
  }
  .to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
  .to-top:hover { background: var(--gold); color: var(--navy); }
  .to-top svg { width: 18px; height: 18px; }
}

/* 15. ANIMATIONS ----------------------------------------------------------- */
/* Apparition au scroll : discrète (opacité + 16 px vers le haut). Sans JS, tout reste visible. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal--left, .js .reveal--right { transform: translateY(16px); }
.js .reveal--scale { transform: translateY(12px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* 16. PRÉFÉRENCES ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .fade-up { opacity: 1; }
  .marquee__track { animation: none; }
}

@media print {
  .header, .mobile-nav, .wa-float, .to-top, .progress, .marquee, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
}
