/* ==========================================================================
   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 / petite tablette), 768px (tablette), 1024px (ordinateur).

   Sommaire
   01. Variables (couleurs, polices, rayons)   ← modifier la charte ici
   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
   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 (apparition au scroll = opacité + translateY uniquement)
   16. Préférences : mouvement réduit, impression
   ========================================================================== */

/* 01. VARIABLES ------------------------------------------------------------ */
:root {
  --navy: #0F1B3D;          /* fond principal (bleu nuit) */
  --navy-alt: #13224A;      /* sections alternées */
  --card: #16254F;          /* fond des cartes */
  --card-2: #1B2B5A;        /* fond des images en attente */
  --deep: #0A1330;          /* pied de page / zones profondes */
  --gold: #F2B94B;          /* boutons d'action, accents */
  --gold-light: #FFD27A;
  --gold-soft: rgba(242, 185, 75, 0.14);
  --white: #FFFFFF;
  --text: #E6EAF5;
  --muted: #C9D1E6;
  --muted-2: #AEB9D6;
  --ink-on-gold: #2A3557;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.2);
  --wa: #1FA855;
  --error: #FFB4A8;
  --error-line: #FF8A7A;
  --success: #CFF5DD;

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

  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Gabarit : un seul conteneur, mêmes marges partout */
  --container-max: 1100px;
  --gutter: 2rem;            /* marge totale gauche + droite (1rem de chaque côté) */
  --header-h: 64px;
  --fab: 52px;               /* taille du bouton WhatsApp flottant */
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 768px) {
  :root { --gutter: 3rem; --radius: 18px; --radius-lg: 28px; --fab: 58px; }
}
@media (min-width: 1024px) {
  :root { --header-h: 72px; }
}

/* 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;
}
/* Filet de sécurité uniquement : les vraies causes de débordement sont corrigées à la source. */
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: 15px;
  line-height: 1.6;
  color: var(--white);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  animation: pageIn 0.6s var(--ease) both;
}
@media (min-width: 768px) { body { font-size: 16px; } }
body.is-leaving { opacity: 0; transition: opacity 0.25s 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 0.25s; }
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; }

:focus-visible { outline: 3px 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 0.2s;
}
.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;
}

/* Barre de progression de lecture */
.progress {
  position: fixed; inset: 0 0 auto 0; z-index: 400; height: 3px;
  background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* 03. MISE EN PAGE --------------------------------------------------------- */
/* Conteneur unique : mêmes marges gauche/droite dans toutes les sections */
.container {
  width: min(100% - var(--gutter), var(--container-max));
  margin-inline: auto;
}

.section { position: relative; padding-block: 48px; }
@media (min-width: 768px) { .section { padding-block: 72px; } }
@media (min-width: 1024px) { .section { padding-block: 96px; } }
.section--alt { background: var(--navy-alt); border-block: 1px solid var(--line); }
.section--tight { padding-top: 0; }

/* Titre de section : centré sur mobile, aligné à gauche dès la tablette */
.section-head {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; max-width: 740px; margin: 0 auto 28px;
}
.section-head--row { max-width: none; gap: 16px; }
.section-head--row > div:not(.slider-nav) { display: flex; flex-direction: column; align-items: center; gap: 10px; }
@media (min-width: 768px) {
  .section-head { align-items: flex-start; text-align: left; margin: 0 0 44px; gap: 14px; }
  .section-head--row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
  .section-head--row > div:not(.slider-nav) { align-items: flex-start; max-width: 680px; gap: 14px; }
}

/* Grilles : une colonne sur mobile, colonnes automatiques au-delà */
.grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .grid { gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr)); }
}
.grid--3 { --min: 280px; }
.grid--4 { --min: 230px; }
.grid > * { min-width: 0; }

/* Bloc texte + média : empilé et centré sur mobile, côte à côte à partir de 1024px */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; 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; gap: 16px; align-items: center; text-align: center; }
@media (min-width: 1024px) { .stack { align-items: flex-start; text-align: left; gap: 18px; } }
/* Les listes restent lisibles (alignées à gauche) même dans un bloc centré */
.stack .check-list, .stack .how { width: 100%; max-width: 420px; text-align: left; }
@media (min-width: 1024px) { .stack .check-list, .stack .how { max-width: none; } }

/* 04. TYPOGRAPHIE ---------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; overflow-wrap: break-word; }
.h1 { font-size: clamp(1.9rem, 1.2rem + 3.6vw, 3.4rem); line-height: 1.1; }
.h2 { font-size: clamp(1.4rem, 1.05rem + 1.8vw, 2.6rem); line-height: 1.2; }
.h3 { font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem); font-weight: 600; line-height: 1.3; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; flex-shrink: 0; border-radius: 2px; background: currentColor; }
@media (min-width: 768px) { .eyebrow { font-size: 13px; letter-spacing: 0.12em; } }

.lead { font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.15rem); line-height: 1.7; color: var(--muted); }
.text-gold { color: var(--gold); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* 05. BOUTONS & LIENS ------------------------------------------------------ */
.btn {
  --bg: transparent; --fg: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  max-width: 100%; min-height: 48px; padding: 10px 20px; border-radius: 12px;
  border: 1.5px solid transparent; background: var(--bg); color: var(--fg);
  font: 600 0.95rem/1.25 var(--font); text-align: center; white-space: normal; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
@media (min-width: 768px) { .btn { min-height: 52px; padding: 12px 26px; border-radius: 14px; font-size: 1rem; } }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--fg); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--gold { --bg: var(--gold); --fg: var(--navy); box-shadow: 0 10px 28px rgba(242, 185, 75, 0.28); }
.btn--gold:hover { box-shadow: 0 16px 38px rgba(242, 185, 75, 0.42); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.42); }
.btn--ghost:hover { --fg: var(--gold); border-color: var(--gold); }
.btn--dark { --bg: var(--navy); --fg: var(--white); }
.btn--dark:hover { box-shadow: 0 14px 32px rgba(15, 27, 61, 0.4); }
.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: 50px; }
@media (min-width: 768px) { .btn--lg { min-height: 58px; padding: 14px 32px; font-size: 1.05rem; } }

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

/* Rangée de boutons : pleine largeur et empilés sur mobile, côte à côte ensuite */
.btn-row { display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: 100%; max-width: 420px; }
.btn-row > .btn { width: 100%; }
@media (min-width: 640px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; width: auto; max-width: none; gap: 12px; }
  .btn-row > .btn { width: auto; }
}
@media (min-width: 1024px) { .stack .btn-row, .hero .btn-row, .page-hero .btn-row { justify-content: flex-start; } }
/* Dans le bandeau doré, les boutons restent centrés */
.cta-band .btn-row { margin-inline: auto; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 06. EN-TÊTE & NAVIGATION ------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(15, 27, 61, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.header.is-scrolled { background: rgba(15, 27, 61, 0.96); border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; 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: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 0 2px rgba(242, 185, 75, 0.55);
  transition: transform 0.45s var(--ease);
}
.brand__logo img { width: 100%; height: 100%; object-fit: cover; }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand__name { font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }
.brand__tag { font-size: 9.5px; 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__logo { width: 44px; height: 44px; }
  .brand__name { font-size: 15px; letter-spacing: 0.05em; }
  .brand__tag { font-size: 10.5px; letter-spacing: 0.1em; }
}

/* Navigation ordinateur (cachée sur mobile) */
.nav { display: none; align-items: center; gap: 2px; }
.nav__link { position: relative; padding: 10px 11px; font-size: 14px; font-weight: 500; 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.4s 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: 44px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.nav__cta[aria-current="page"] { box-shadow: 0 0 0 3px rgba(242, 185, 75, 0.35); }

/* Bouton burger (mobile) */
.burger {
  position: relative; display: block; width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px; 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.4s var(--ease), opacity 0.2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

@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.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 20%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse at 75% 20%, #000 15%, transparent 70%);
}
/* Halo décoratif : contenu dans sa section (overflow: hidden ci-dessus) */
.glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(520px, 120vw); aspect-ratio: 1; right: -30%; top: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 185, 75, 0.2), transparent 65%);
  animation: float 14s ease-in-out infinite;
}

.hero { padding-block: 24px 48px; }
@media (min-width: 768px) { .hero { padding-block: 56px 80px; } }
@media (min-width: 1024px) { .hero { padding-block: 80px 110px; } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; 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: center; gap: 16px; text-align: center; min-width: 0; }
@media (min-width: 1024px) { .hero__content { align-items: flex-start; text-align: left; gap: 24px; } }

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

/* Titre révélé ligne par ligne (mouvement vertical uniquement) */
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span {
  display: block; transform: translateY(110%);
  animation: lineUp 1s var(--ease) forwards; animation-delay: calc(0.15s + var(--i, 0) * 0.12s);
}
.fade-up { opacity: 0; animation: fadeUp 0.9s var(--ease) forwards; animation-delay: var(--d, 0.5s); }

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

/* Photo principale : centrée, largeur maîtrisée, décorations à l'intérieur de la zone */
.hero__media { position: relative; isolation: isolate; width: 100%; max-width: 360px; margin: 12px auto 20px; }
@media (min-width: 768px) { .hero__media { max-width: 520px; } }
@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);
  transition: transform 0.7s var(--ease);
}
@media (min-width: 1024px) {
  .hero__frame { transform: rotate(1.5deg) translate3d(var(--px, 0), var(--py, 0), 0); }
  .hero__frame:hover { transform: rotate(0deg) scale(1.01); }
}
.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.12); }
.hero__deco { display: none; }
@media (min-width: 1024px) {
  .hero__deco {
    display: block; position: absolute; z-index: -1; top: -16px; right: -16px; width: 130px; height: 130px;
    border: 2px solid var(--gold); border-radius: 26px; transform: rotate(10deg);
  }
  .hero__deco--b { top: auto; right: auto; bottom: -22px; left: 18%; width: 70px; height: 70px; border-radius: 50%; border-color: rgba(255, 255, 255, 0.25); }
}

/* Cartes flottantes : posées à l'intérieur de la photo sur mobile */
.float-card {
  position: absolute; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 16px);
  padding: 7px 10px 7px 7px; border-radius: 12px; background: var(--white); color: var(--navy);
  font-size: 12px; font-weight: 600; line-height: 1.25; text-align: left;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; font-size: 10.5px; font-weight: 500; color: #4A5578; }
.float-card__icon { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; background: var(--gold); }
.float-card__icon svg { width: 15px; height: 15px; }
.float-card--a { left: 8px; bottom: -14px; }
.float-card--b { right: 8px; top: -14px; animation-delay: -3s; }
@media (min-width: 768px) {
  .float-card { gap: 12px; padding: 12px 16px; border-radius: 16px; font-size: 14px; }
  .float-card small { font-size: 12px; }
  .float-card__icon { width: 38px; height: 38px; border-radius: 11px; }
  .float-card__icon svg { width: 20px; height: 20px; }
  .float-card--a { left: -16px; bottom: 28px; }
  .float-card--b { right: -12px; top: 26px; }
}

/* En-tête des pages intérieures */
.page-hero { padding-block: 32px 28px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .page-hero { padding-block: 64px 52px; } }
@media (min-width: 1024px) { .page-hero { padding-block: 88px 68px; } }
.page-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; max-width: 820px; margin-inline: auto; }
@media (min-width: 1024px) { .page-hero__inner { align-items: flex-start; text-align: left; gap: 18px; margin-inline: 0; } }
.page-hero__title .en { color: var(--gold); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted-2); }
@media (min-width: 1024px) { .breadcrumb { justify-content: flex-start; } }
.breadcrumb a { color: var(--muted-2); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { width: 14px; height: 14px; }

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

/* 09. CARTES & LISTES ------------------------------------------------------ */
.card {
  position: relative; overflow: hidden; min-width: 0; max-width: 100%;
  display: flex; flex-direction: column; gap: 10px; padding: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
@media (min-width: 768px) { .card { gap: 14px; padding: 26px; } }
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 185, 75, 0.13), transparent 42%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(242, 185, 75, 0.38); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card p { font-size: 14px; line-height: 1.65; color: var(--muted); }
@media (min-width: 768px) { .card p { font-size: 15px; } }

/* Cartes de présentation (icône + titre + texte) : centrées sur mobile */
.grid--3 > .card, .grid--4 > .card, .contact-card { align-items: center; text-align: center; }
@media (min-width: 768px) { .grid--3 > .card, .grid--4 > .card, .contact-card { align-items: flex-start; text-align: left; } }

.card--gold { background: var(--gold); color: var(--navy); border-color: transparent; }
.card--gold p { color: var(--ink-on-gold); }
.card--gold::before { display: none; }
.card--flat { box-shadow: none; }
.card--dashed { justify-content: center; background: transparent; box-shadow: none; border: 2px dashed rgba(242, 185, 75, 0.45); color: var(--white); }
.card--dashed:hover { color: var(--white); }
/* Les listes dans une carte restent alignées à gauche */
.card .check-list { align-self: stretch; text-align: left; }

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

.icon-chip {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center; background: var(--gold-soft); color: var(--gold);
  transition: transform 0.5s var(--ease), background-color 0.35s, color 0.35s;
}
.icon-chip svg { width: 22px; height: 22px; }
@media (min-width: 768px) { .icon-chip { width: 54px; height: 54px; border-radius: 15px; } .icon-chip svg { width: 26px; height: 26px; } }
.card:hover .icon-chip { transform: rotate(-8deg) scale(1.08); background: var(--gold); color: var(--navy); }

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

.benefit {
  display: flex; gap: 12px; align-items: flex-start; min-width: 0; padding: 14px 16px;
  border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  font-size: 14px; line-height: 1.55;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
@media (min-width: 768px) { .benefit { padding: 20px; font-size: 15px; gap: 14px; } }
.benefit:hover { border-color: rgba(242, 185, 75, 0.4); transform: translateY(-3px); }
.benefit svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold); }

/* Étapes numérotées (accueil) */
.step {
  position: relative; min-width: 0; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  transition: border-color 0.35s, background-color 0.35s;
}
@media (min-width: 768px) { .step { padding: 26px; align-items: flex-start; text-align: left; gap: 10px; } }
.step:hover { border-color: rgba(242, 185, 75, 0.45); background: rgba(255, 255, 255, 0.02); }
.step__num { font-size: 34px; font-weight: 700; line-height: 1; color: var(--gold); }
@media (min-width: 768px) { .step__num { font-size: 44px; } }
.step strong { font-size: 1.1rem; font-weight: 600; }
.step p { font-size: 14px; color: var(--muted); }

/* Bandeau doré d'appel à l'action */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
  padding: 28px 18px; border-radius: var(--radius-lg);
  background: var(--gold); color: var(--navy);
}
@media (min-width: 1024px) {
  .cta-band { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; padding: 52px; gap: 28px; }
  .cta-band .btn-row { margin-inline: 0; }
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; right: -60px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; border: 40px solid rgba(15, 27, 61, 0.07);
}
.cta-band__text { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 620px; }
@media (min-width: 1024px) { .cta-band__text { align-items: flex-start; } }
.cta-band p { color: var(--ink-on-gold); font-size: 15px; line-height: 1.65; }

/* Encadré d'information */
.note {
  display: flex; gap: 12px; align-items: flex-start; padding: 18px;
  border-radius: var(--radius); border: 1.5px solid var(--gold); background: rgba(242, 185, 75, 0.09);
}
@media (min-width: 768px) { .note { gap: 18px; padding: 24px 28px; } }
.note > div { min-width: 0; }
.note svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--gold); }
.note strong { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 600; }
.note p { color: var(--text); line-height: 1.65; font-size: 14.5px; }

/* Certifications */
.cert {
  min-width: 0; padding: 18px; border-radius: 16px; border: 1px solid var(--line-2);
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
@media (min-width: 768px) { .cert { padding: 24px; align-items: flex-start; text-align: left; } }
.cert:hover { border-color: var(--gold); transform: translateY(-4px); }
.cert strong { font-size: 1.2rem; color: var(--gold); }
.cert span { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Pastilles (rôles d'une séance) */
.roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
@media (min-width: 1024px) { .roles { justify-content: flex-start; gap: 10px; } }
.role {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
@media (min-width: 768px) { .role { padding: 12px 18px; font-size: 15px; } }
.role:hover { border-color: var(--gold); transform: translateY(-2px); }
.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: 10px; }
@media (min-width: 768px) { .infobar { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.info {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0;
  padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
}
@media (min-width: 1024px) { .info { flex-direction: row; align-items: center; gap: 14px; padding: 18px 20px; } }
.info .icon-chip { width: 40px; height: 40px; border-radius: 11px; }
.info .icon-chip svg { width: 20px; height: 20px; }
.info > span:not(.icon-chip) { display: flex; flex-direction: column; min-width: 0; font-size: 13px; color: var(--muted-2); line-height: 1.4; }
.info strong { font-size: 14.5px; color: var(--white); font-weight: 600; }
@media (min-width: 768px) { .info strong { font-size: 16px; } }

/* 10. MÉDIAS --------------------------------------------------------------- */
/* Règle commune : sur mobile, photos/affiches/vidéos sont centrées et ne dépassent pas 360px */
.media, .poster, .award, .motm, .videos-portrait, .gallery, .video-card {
  width: 100%; max-width: 360px; 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-lg); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.media:hover img { transform: scale(1.04); }
.media--43 { aspect-ratio: 4 / 3; }

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

/* Galerie */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.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.9s var(--ease); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 19, 48, 0.85), transparent 55%);
  opacity: 0.8; transition: opacity 0.4s;
}
.gallery__cap {
  position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--white); font-size: 14px; font-weight: 600; text-align: left;
}
.gallery__zoom {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--gold); color: var(--navy);
  transition: opacity 0.35s, transform 0.45s var(--ease);
}
.gallery__zoom svg { width: 16px; height: 16px; }
@media (hover: hover) and (min-width: 1024px) {
  .gallery__cap { left: 18px; right: 18px; bottom: 16px; font-size: 15px; transform: translateY(6px); transition: transform 0.45s var(--ease); }
  .gallery__zoom { width: 40px; height: 40px; opacity: 0; transform: scale(0.6); }
  .gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { transform: none; }
  .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.06); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 600; display: grid; place-items: center;
  padding: 64px 1rem calc(80px + var(--safe-bottom));
  background: rgba(5, 10, 25, 0.94); opacity: 0; transition: opacity 0.35s;
}
@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: 12px; width: min(1000px, 100%); transform: scale(0.96); transition: transform 0.5s var(--ease); }
.lightbox.is-open .lightbox__figure { transform: none; }
.lightbox__img { width: auto; max-width: 100%; max-height: 70vh; margin-inline: auto; border-radius: 14px; object-fit: contain; }
.lightbox__img.is-switching { animation: fadeIn 0.4s var(--ease); }
.lightbox__caption { text-align: center; color: var(--muted); font-size: 14px; }
.lightbox__counter { position: absolute; top: 24px; left: 1rem; font-size: 14px; color: var(--muted-2); }
.lightbox__btn {
  position: absolute; width: 48px; height: 48px; 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 0.3s, color 0.3s, transform 0.35s var(--ease);
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:hover { background: var(--gold); color: var(--navy); transform: scale(1.06); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: calc(50% - 60px); bottom: calc(18px + var(--safe-bottom)); }
.lightbox__next { right: calc(50% - 60px); bottom: calc(18px + var(--safe-bottom)); }
@media (min-width: 768px) {
  .lightbox__prev { left: 20px; bottom: auto; top: 50%; margin-top: -24px; }
  .lightbox__next { right: 20px; bottom: auto; top: 50%; margin-top: -24px; }
}

/* Vidéos */
.video-card { display: flex; flex-direction: column; gap: 10px; 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: 12px;
  padding: 16px; text-align: center; font-size: 13px; color: var(--muted-2); background: var(--deep);
}
.video--empty .video__empty { display: grid; }
.play { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); animation: pulse 2.4s infinite; }
.play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card figcaption { font-size: 13px; color: var(--muted); text-align: center; }
@media (min-width: 768px) { .video-card figcaption { font-size: 15px; } }
@media (min-width: 1024px) { .video-card figcaption { text-align: left; } }

/* Vidéos verticales */
.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: 16px; } }
/* Vidéo seule (accueil) : un peu plus étroite */
.video-solo { width: 100%; max-width: 240px; margin-inline: auto; }
@media (min-width: 768px) { .video-solo { max-width: 320px; } }

/* Affiches (posters) : montrées en entier, jamais rognées */
.poster {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--deep);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.5s;
}
.poster img { width: 100%; height: 100%; object-fit: contain; }
.poster:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(242, 185, 75, 0.45); }
button.poster { padding: 0; cursor: zoom-in; display: block; }

/* Best of the Week */
.award { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.award__caption { display: flex; flex-direction: column; gap: 4px; text-align: center; }
@media (min-width: 1024px) { .award__caption { text-align: left; } }
.award__caption strong { font-size: 1.1rem; }
.award__caption span { color: var(--muted); font-size: 14px; }

/* 11. ADHÉSION ------------------------------------------------------------- */
.price-card { gap: 14px; padding: 22px 18px; }
@media (min-width: 768px) { .price-card { gap: 18px; padding: 36px; } }
.card .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font-size: clamp(2rem, 1.6rem + 2vw, 3rem); font-weight: 700; line-height: 1; color: inherit; }
.price small { font-size: 1rem; font-weight: 600; }
.tranches { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(15, 27, 61, 0.2); }
.tranche { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
@media (min-width: 768px) { .tranche { font-size: 15px; gap: 12px; } }
.tranche__label { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tranche__badge {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-size: 13px; font-weight: 700;
}
.tranche strong { flex-shrink: 0; white-space: nowrap; }
.price-card .btn { margin-top: auto; }

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

/* Formulaire : champs pleine largeur, jamais plus large que l'écran */
.form {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; width: 100%; min-width: 0; padding: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .form { gap: 20px; padding: 32px; } }
.form__row { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .field legend { font-size: 14px; font-weight: 500; color: var(--text); }
.field legend { margin-bottom: 8px; padding: 0; }
.req { color: var(--gold); }
.input {
  width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-2); background: var(--navy); color: var(--white);
  font: 400 16px/1.4 var(--font); /* 16px : évite le zoom automatique sur iPhone */
  transition: border-color 0.25s, box-shadow 0.25s;
}
.input::placeholder { color: #8E9AB8; }
.input:hover { border-color: rgba(255, 255, 255, 0.34); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242, 185, 75, 0.18); }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 44px; 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 14px center;
}
select.input option { background: var(--navy); color: var(--white); }
textarea.input { min-height: 116px; resize: vertical; }
.field__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted-2); }
.field__error { display: none; font-size: 13px; color: var(--error); }
.field.is-invalid .input { border-color: var(--error-line); box-shadow: 0 0 0 4px rgba(255, 138, 122, 0.14); }
.field.is-invalid .field__error { display: block; animation: shake 0.4s; }
.field.is-valid .input { border-color: rgba(31, 168, 85, 0.75); }

/* Boutons de niveau (Débutant / Intermédiaire / Avancé) : passent à la ligne */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.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: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2);
  cursor: pointer; font-size: 14.5px; text-align: center;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.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: 3px solid var(--gold); outline-offset: 3px; }
.field.is-invalid .choice label { border-color: var(--error-line); }

.form__status { display: none; padding: 14px 16px; border-radius: 12px; font-size: 14px; 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.5s 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.5s var(--ease); }
.form__legal { font-size: 12.5px; color: var(--muted-2); }
/* Champ anti-spam : masqué sans le sortir de l'écran (pas de left: -9999px) */
.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: 10px; max-width: 860px; margin-inline: auto; }
@media (min-width: 1024px) { .faq { margin-inline: 0; } }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color 0.3s; }
.faq__item[open] { border-color: rgba(242, 185, 75, 0.4); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 52px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 600; font-size: 15px;
}
@media (min-width: 768px) { .faq__item summary { padding: 20px 22px; font-size: 16px; } }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold); transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s;
}
.faq__icon svg { width: 18px; height: 18px; }
.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.7; font-size: 14px; }
@media (min-width: 768px) { .faq__body { padding: 0 22px 22px; font-size: 15px; } }
.faq__item[open] .faq__body { animation: fadeUp 0.45s var(--ease); }

/* 12. MEMBRES -------------------------------------------------------------- */
.motm {
  display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid rgba(242, 185, 75, 0.4); background: var(--card); box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .motm { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.motm__media { position: relative; aspect-ratio: 5 / 4; background: var(--deep); overflow: hidden; }
@media (min-width: 768px) { .motm__media { aspect-ratio: auto; min-height: 340px; } }
.motm__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease); }
.motm:hover .motm__media img { transform: scale(1.03); }
.motm__body { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px 18px; text-align: center; }
@media (min-width: 768px) { .motm__body { align-items: flex-start; text-align: left; gap: 16px; padding: 40px; } }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  background: var(--gold); color: var(--navy); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
}
.badge svg { width: 15px; height: 15px; flex-shrink: 0; }
.quote { font-size: 0.98rem; font-style: italic; line-height: 1.6; }
@media (min-width: 768px) { .quote { padding-left: 18px; border-left: 3px solid var(--gold); font-size: 1.08rem; } }

/* Parcours (ligne de progression) : vertical sur mobile, horizontal sur tablette */
.timeline { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 520px; margin-inline: auto; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: var(--line-2);
}
.timeline::after { background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 1.6s 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: 16px; min-width: 0; }
.timeline__step > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.timeline__dot {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-alt); border: 2px solid var(--gold); color: var(--gold); font-weight: 700;
}
.timeline__step:last-child .timeline__dot { background: var(--gold); color: var(--navy); }
.timeline__step strong { font-size: 1.02rem; font-weight: 600; margin-top: 9px; }
.timeline__step p { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (min-width: 768px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: none; }
  .timeline::before, .timeline::after { left: 24px; right: 24px; top: 21px; 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: 10px; }
  .timeline__step strong { margin-top: 6px; font-size: 1.1rem; }
}

/* Carrousel (vidéos des membres) : défile à l'intérieur de sa boîte */
.slider-nav { display: flex; gap: 10px; }
.slider-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--white);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}
@media (min-width: 768px) { .slider-btn { width: 52px; height: 52px; } }
.slider-btn svg { width: 22px; height: 22px; }
.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: 62%; gap: 12px;
  width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px;
}
@media (min-width: 640px) { .slider { grid-auto-columns: 40%; } }
@media (min-width: 1024px) { .slider { grid-auto-columns: 260px; gap: 20px; } }
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; max-width: none; margin: 0; }

.consent { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 420px; margin-inline: auto; font-size: 13.5px; color: var(--muted); }
@media (min-width: 1024px) { .consent { justify-content: flex-start; max-width: none; margin-inline: 0; } }
.consent svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); }

/* 13. CONTACT -------------------------------------------------------------- */
.contact-card { color: var(--white); }
.contact-card:hover { color: var(--white); }
.contact-card__label { font-size: 13.5px; color: var(--muted-2); }
.contact-card__value { font-size: 1.1rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
@media (min-width: 768px) { .contact-card__value { font-size: 1.3rem; } }
.contact-card .link-arrow { color: var(--gold); font-size: 14.5px; }

.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1024px) { .map-wrap { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; } }
.map { position: relative; min-height: 260px; 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: 10px; width: 100%; }
.social {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 16px;
  border-radius: 14px; border: 1px solid var(--line-2); color: var(--white); font-weight: 500;
  transition: border-color 0.3s, background-color 0.3s;
}
.social:hover { color: var(--white); border-color: var(--gold); background: rgba(242, 185, 75, 0.08); }
.social svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold); }
.social .icon-arrow { margin-left: auto; width: 18px; height: 18px; color: var(--muted-2); }

/* 14. PIED DE PAGE & BOUTONS FLOTTANTS ------------------------------------ */
/* padding-bottom : laisse la place aux boutons flottants pour ne cacher aucun texte */
.footer { background: var(--deep); border-top: 1px solid var(--line); padding-bottom: calc(var(--fab) + 80px + var(--safe-bottom)); }
@media (min-width: 768px) { .footer { padding-bottom: calc(var(--fab) + 96px + var(--safe-bottom)); } }
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; padding-block: 44px 24px; }
.footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer__grid > div:last-child { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: 56px 32px; }
  .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 36px; }
  .footer__brand { grid-column: auto; align-items: flex-start; text-align: left; max-width: 320px; }
}
.footer__brand p { font-size: 13.5px; line-height: 1.65; color: var(--muted-2); }
.footer__title { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--white); }
.footer__links { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); overflow-wrap: anywhere; }
.footer__links a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--white); transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.footer__social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding-block: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: #9AA6C6;
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; font-size: 13px; padding-block: 22px; } }

/* Bouton WhatsApp flottant */
.wa-float {
  position: fixed; z-index: 150;
  right: max(14px, env(safe-area-inset-right)); bottom: calc(14px + 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 12px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease);
}
@media (min-width: 768px) { .wa-float { right: 22px; bottom: calc(22px + var(--safe-bottom)); } }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; pointer-events: none; }
.wa-float svg { width: 26px; height: 26px; }
@media (min-width: 768px) { .wa-float svg { width: 30px; height: 30px; } }
.wa-float:hover { color: var(--white); transform: scale(1.08); }
/* Étiquette « Écrivez-nous » : uniquement sur ordinateur, sans sortir de l'écran */
.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: 8px 14px; border-radius: 10px; background: var(--white); color: var(--navy);
    font-size: 14px; font-weight: 600; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-50%); pointer-events: none; transition: opacity 0.3s;
  }
  .wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; }
}

/* Bouton « retour en haut » : au-dessus du bouton WhatsApp */
.to-top {
  position: fixed; z-index: 150;
  right: calc(max(14px, env(safe-area-inset-right)) + (var(--fab) - 42px) / 2);
  bottom: calc(14px + var(--fab) + 12px + var(--safe-bottom));
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(15, 27, 61, 0.92); color: var(--white);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.45s var(--ease), background-color 0.3s, color 0.3s;
}
@media (min-width: 768px) {
  .to-top { width: 48px; height: 48px; right: calc(22px + (var(--fab) - 48px) / 2); bottom: calc(22px + var(--fab) + 14px + var(--safe-bottom)); }
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy); }
.to-top svg { width: 20px; height: 20px; }

/* 15. ANIMATIONS ----------------------------------------------------------- */
/* Apparition au scroll : opacité + translateY uniquement (jamais de translateX,
   qui ferait dépasser les blocs de l'écran). Sans JavaScript, tout reste visible. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal--left, .js .reveal--right { transform: translateY(24px); }
.js .reveal--scale { transform: translateY(16px) scale(0.97); }
.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(16px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 185, 75, 0.55); } 70% { box-shadow: 0 0 0 14px rgba(242, 185, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 185, 75, 0); } }
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@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; }
}
