/* =========================================================
   INVICTUS — REFONTE « façon Apple »
   ---------------------------------------------------------
   Feuille AUTONOME : elle ne dépend ni de style.css ni de
   motion.css, qui restent intacts pour les autres pages tant
   que la refonte n'est pas validée.

   Principes (inspirés des pages produit d'apple.com) :
   - typo système : SF Pro sur iPhone / iPad / Mac, Inter ailleurs ;
     interlettrage négatif sur les grands titres, neutre sur le texte ;
   - beaucoup d'air, sections qui alternent blanc, gris très clair
     (#f5f5f7) et noir ;
   - un seul accent : le rouge du club (boutons, liens, mots-clés) ;
   - des mouvements sobres, jamais décoratifs, qui partent toujours
     de ce qui est affiché à l'écran (voir refonte.js) ;
   - « réduire les animations », « réduire la transparence » et
     « augmenter le contraste » du système sont respectés.
   ========================================================= */

/* Police Inter hébergée sur le site (depuis le 26/09/2026) : plus aucune
   connexion à Google Fonts, l'adresse IP des visiteurs n'est donc plus
   transmise à Google. Inter ne sert que de repli sur Windows / Android ;
   iPhone, iPad et Mac utilisent SF Pro et ne la téléchargent jamais.
   Licence libre SIL OFL 1.1 : assets/fonts/OFL.txt */
@font-face{
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Inter", system-ui, "Segoe UI", Roboto, Arial, sans-serif;

  /* Clair */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;          /* 16.8:1 sur blanc */
  --ink-2: #6e6e73;        /* 5.1:1 sur blanc, 4.7:1 sur #f5f5f7 */
  --line: #d2d2d7;

  /* Sombre */
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;    /* 8.2:1 sur noir */
  --on-dark-3: #86868b;    /* 5.8:1 sur noir */
  --tile-dark: #161617;
  --line-dark: #424245;

  /* Accent : le rouge du club, ajusté pour rester lisible partout */
  --accent: #d12a20;           /* texte blanc dessus : 5.2:1 ; sur #f5f5f7 : 4.8:1 */
  --accent-hover: #b3221a;
  --accent-on-dark: #ff453a;   /* 6.2:1 sur noir */
  --accent-grad: linear-gradient(100deg, #e8483c 0%, #c0261c 100%);
  --accent-grad-dark: linear-gradient(100deg, #ff8a80 0%, #ff453a 100%);

  /* États (design-system/invictus/MASTER.md) */
  --success: #1e7b36;          /* texte blanc dessus : 5.4:1 */
  --danger: #c9241c;           /* 5.6:1 sur blanc */

  --r-xl: 32px;
  --r-l: 28px;
  --r-m: 22px;
  --r-s: 16px;
  --pill: 980px;

  --gutter: clamp(20px, 5.5vw, 48px);
  --nav-h: 64px;   /* assez haute pour le logotype INVICTUS à 50 px */

  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body{
  margin: 0;
  overflow-x: clip;       /* les rangées qui débordent ne créent jamais de défilement horizontal */
  font-family: var(--font);
  font-size: 1.0625rem;          /* 17 px, la taille de texte d'Apple */
  line-height: 1.47;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, blockquote, dl, dd, ul{ margin: 0; }
ul{ padding: 0; list-style: none; }
img, video{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
a{ -webkit-tap-highlight-color: transparent; }
sup{ font-size: .58em; line-height: 0; vertical-align: .62em; }
strong{ font-weight: 600; }
[hidden]{ display: none !important; }
.visually-hidden{ position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.section--black :focus-visible, .modal :focus-visible{ outline-color: var(--accent-on-dark); }

.skip-link{
  position: absolute; left: 12px; top: 12px; z-index: 1000;
  padding: 10px 18px; border-radius: var(--pill);
  background: var(--ink); color: #fff; font-size: .875rem; font-weight: 600;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus{ transform: none; }

/* ---------- Mise en page ---------- */
.container{
  width: min(var(--container, 1080px), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.container--narrow{ --container: 820px; }
.center{ text-align: center; }

.section{ padding-block: clamp(88px, 11vw, 168px); }
.section--gray{ background: var(--bg-alt); }
.section--black{ background: #000; color: var(--on-dark); }
.section-head{ max-width: 820px; margin-inline: auto; }

/* ---------- Typographie ---------- */
.display{
  font-size: clamp(2.5rem, 1.55rem + 3vw, 4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.headline{
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.title{
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.016em;
  text-wrap: balance;
}
.eyebrow{
  display: block;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.3125rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  margin-bottom: .7em;
}
.section--black .eyebrow{ color: var(--on-dark-3); }
.lede{
  font-size: clamp(1.1875rem, 1.05rem + .55vw, 1.5rem);
  line-height: 1.33;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink-2);
}
.body-lg{
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.3125rem);
  line-height: 1.45;
  letter-spacing: -0.008em;
  color: var(--ink-2);
}
.section--black .body-lg{ color: var(--on-dark-2); }
.section--black .body-lg strong{ color: var(--on-dark); }

/* Mot-clé en dégradé rouge (remplace l'italique serif de l'ancienne version) */
.accent{ color: var(--accent); }
.section--black .accent{ color: var(--accent-on-dark); }
@supports ((-webkit-background-clip: text) or (background-clip: text)){
  .accent{
    background-image: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  .section--black .accent{ background-image: var(--accent-grad-dark); }
}
/* Sur grand écran, un mot-clé n'est jamais coupé en deux lignes */
@media (min-width: 734px){
  .display .accent, .headline .accent{ white-space: nowrap; }
}

/* ---------- Boutons & liens ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .3em;
  min-height: 44px;
  padding: .6875rem 1.375rem;
  border: 0; border-radius: var(--pill);
  font-size: 1.0625rem; font-weight: 500; line-height: 1.18; letter-spacing: -0.01em;
  white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), transform .12s ease-out;
}
/* Réponse au moment de l'appui (pointer-down), pas au relâchement */
.btn:active{ transform: scale(.97); transition-duration: .2s, .08s; }
.btn--primary{ background: var(--accent); color: #fff; }
.btn--primary:hover{ background: var(--accent-hover); }
.btn--large{ min-height: 52px; padding: .875rem 1.75rem; font-size: 1.125rem; }
.btn--small{ min-height: 30px; padding: .3125rem .875rem; font-size: .8125rem; font-weight: 500; }

.link{
  display: inline-flex; align-items: baseline;
  color: var(--accent);
  font-size: 1.0625rem; letter-spacing: -0.01em;
}
.link--large{ font-size: clamp(1.0625rem, 1rem + .3vw, 1.3125rem); }
.section--black .link{ color: var(--accent-on-dark); }
.link:hover{ text-decoration: underline; text-underline-offset: .18em; }
.chev{ display: inline-block; margin-left: .22em; transition: transform .25s var(--ease-out); }
.link:hover .chev, .btn:hover .chev{ transform: translateX(3px); }

/* =========================================================
   NAVIGATION — verre translucide (backdrop-filter), le contenu
   défile dessous. Passe en version sombre au-dessus des sections
   noires (classe .is-dark posée par refonte.js).
   ========================================================= */
.nav{
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.nav.is-dark{ color: var(--on-dark); background: rgba(22, 22, 23, .72); }
.nav.menu-open{ color: var(--ink); background: #fff; }
.nav__inner{
  height: 100%;
  width: min(1200px, 100% - 2 * var(--gutter));   /* aligné sur le bloc d'accueil */
  margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
}
.nav__brand{ display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
/* Logo rond + logotype « INVICTUS » d'origine, aux mêmes tailles que dans le
   pied de page. 50 px de haut minimum pour le logotype : en dessous, ses
   fentes très fines disparaissent et le mot devient illisible. Noir sur la
   barre claire, blanc (inversé) sur la barre sombre. */
.nav__logo{ width: 44px; height: 44px; border-radius: 50%; }
.nav__wordmark{ width: auto; height: 50px; transition: filter .35s var(--ease); }
.nav.is-dark .nav__wordmark{ filter: invert(1); }
.nav.menu-open .nav__wordmark{ filter: none; }
.nav__links{ display: none; }
.nav__links a{
  display: inline-flex; align-items: center; gap: 5px;
  padding-block: 10px;
  font-size: .8125rem; letter-spacing: -0.005em;
  opacity: .8; transition: opacity .2s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"]{ opacity: 1; }
.nav__links svg{ flex: none; }
.nav__end{ display: flex; align-items: center; justify-self: end; gap: 8px; }
.nav__cta{ display: none; }
.nav__burger{
  position: relative; width: 44px; height: 44px; margin-right: -12px;
  border: 0; background: none; cursor: pointer; color: inherit;
}
.nav__burger span{
  position: absolute; left: 13px; width: 18px; height: 1.5px; border-radius: 1px;
  background: currentColor;
  transition: transform .4s var(--ease-out), top .25s var(--ease);
}
.nav__burger span:nth-child(1){ top: 18px; }
.nav__burger span:nth-child(2){ top: 25px; }
.nav__burger[aria-expanded="true"] span:nth-child(1){ top: 21.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2){ top: 21.5px; transform: rotate(-45deg); }

@media (min-width: 834px){
  .nav__inner{ grid-template-columns: 1fr auto 1fr; }
  .nav__links{ display: flex; align-items: center; gap: clamp(18px, 2.3vw, 30px); }
  .nav__cta{ display: inline-flex; }
  .nav__burger{ display: none; }
}

/* ---------- Menu mobile ---------- */
.menu{
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 20px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: #fff;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.menu.is-open{ opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.menu__eyebrow{ font-size: .8125rem; color: var(--ink-2); margin-bottom: 8px; }
.menu__links a{
  display: block; padding-block: 7px;
  font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;
}
.menu__links a:active{ color: var(--accent); }
.menu__mark{ margin: auto 0 24px; padding-top: 32px; color: var(--ink-2); font-size: 1.0625rem; }
.menu__cta{ align-self: stretch; }
.menu__footer{
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .875rem; color: var(--ink-2);
}
.menu__footer a{ color: var(--ink); font-weight: 500; }
/* Chaque élément du menu arrive l'un après l'autre, en glissant vers le bas */
.menu__eyebrow, .menu__links a, .menu__mark, .menu__cta, .menu__footer{
  opacity: 0; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .45s var(--ease-out);
}
.menu.is-open .menu__eyebrow, .menu.is-open .menu__links a, .menu.is-open .menu__mark,
.menu.is-open .menu__cta, .menu.is-open .menu__footer{
  opacity: 1; transform: none;
  transition-delay: calc(40ms + var(--i, 0) * 32ms);
}
html.menu-open, html.modal-open{ overflow: hidden; }
@media (min-width: 834px){ .menu{ display: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero{ padding-block: clamp(36px, 6vw, 96px) clamp(80px, 9vw, 140px); }
.hero__grid{ --container: 1200px; display: grid; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero .display{ margin-bottom: 1.2rem; }
.hero .lede{ max-width: 26ch; margin-bottom: 2rem; }
.cta-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
/* Tablette : texte au-dessus, vidéo en format paysage (elle est filmée en
   vertical : ce cadrage garde la bande centrale, là où se passe l'action). */
@media (min-width: 600px) and (max-width: 1023px){
  .media.hero__media{ aspect-ratio: 3 / 2; }
}
/* Grand écran : texte à gauche (titre sur 3 lignes), vidéo à droite */
@media (min-width: 1024px){
  .hero__grid{ grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); }
  .hero__media{ justify-self: end; width: 100%; max-width: 480px; }
}

/* ---------- Médias (photos & vidéos en tuiles arrondies) ---------- */
.media{
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-l);
  background: #111;
}
.media video, .media img{ width: 100%; height: 100%; object-fit: cover; }
.media--portrait{ aspect-ratio: 4 / 5; }
.media--wide{ aspect-ratio: 16 / 9; }
@media (max-width: 734px){
  .media{ border-radius: var(--r-m); }
  .media--wide{ aspect-ratio: 4 / 5; }
}

/* Pastille « Bruxelles » en verre, posée sur la vidéo */
.glass-badge{
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 12px; border-radius: var(--pill);
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em; color: #fff;
  background: rgba(30, 30, 32, .38);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.glass-badge__dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-on-dark);
  box-shadow: 0 0 0 3px rgba(255, 69, 58, .28);
}

/* Bouton lecture / pause des vidéos (comme sur apple.com) */
.video-toggle{
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; cursor: pointer;
  background: rgba(40, 40, 42, .5);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  transition: background-color .2s var(--ease), transform .12s ease-out;
}
.video-toggle:hover{ background: rgba(64, 64, 68, .7); }
.video-toggle:active{ transform: scale(.92); }
.video-toggle svg, .gallery__play svg{ width: 13px; height: 13px; fill: currentColor; }
.video-toggle .i-play, .gallery__play .i-play{ display: none; }
.video-toggle.is-paused .i-play, .gallery__play.is-paused .i-play{ display: block; }
.video-toggle.is-paused .i-pause, .gallery__play.is-paused .i-pause{ display: none; }

/* =========================================================
   DÉCOUVRIR — grand paragraphe qui « s'allume » mot à mot au
   fil du défilement (effet des pages produit Apple).
   ========================================================= */
.discover .headline{ margin-bottom: clamp(28px, 4vw, 48px); }
.statement{
  font-size: clamp(1.4375rem, 1.1rem + 1.35vw, 2.125rem);
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -0.017em;
  color: var(--on-dark);
}
/* Mots encore « éteints » : #6e6e73 sur noir = 4.1:1, lisible pour un
   texte de cette taille (critère « grand texte » ≥ 3:1). */
.statement.is-armed .lit{ color: #77777c; transition: color .4s var(--ease); }   /* 4.7:1 sur noir, même avant d'être « allumé » */
.statement.is-armed .lit.on{ color: var(--on-dark); }

/* =========================================================
   SEGMENTS — contrôle segmenté façon iOS : la pastille blanche
   glisse (ressort) et peut aussi être attrapée au doigt.
   ========================================================= */
.segments{ padding-block: clamp(72px, 8vw, 112px); }
.segmented{
  --seg-pad: 3px;
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  width: min(100%, 500px); margin-inline: auto;
  padding: var(--seg-pad);
  border-radius: var(--pill);
  background: rgba(118, 118, 128, .12);
  touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
}
.segmented__thumb{
  position: absolute; top: var(--seg-pad); bottom: var(--seg-pad); left: var(--seg-pad);
  width: calc((100% - 2 * var(--seg-pad)) / var(--seg-count, 4));
  border-radius: var(--pill);
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04), 0 0 0 .5px rgba(0, 0, 0, .04);
  transition: scale .25s var(--ease-out);
  will-change: translate;
}
.segmented.is-pressing .segmented__thumb{ scale: .96; }
.segmented__item{
  position: relative; z-index: 1;
  min-height: 44px; padding: 8px 6px;
  border: 0; border-radius: var(--pill); background: none;
  font-size: .9375rem; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink); cursor: pointer; white-space: nowrap;
  transition: opacity .2s var(--ease);
}
.segmented__item[aria-selected="true"]{ font-weight: 600; }
.segmented__item[aria-selected="false"]:hover{ opacity: .65; }
.segmented__item:focus-visible{ outline-offset: -2px; }
@media (max-width: 380px){ .segmented__item{ font-size: .8125rem; } }

.segment-panel{ margin-top: clamp(32px, 4vw, 48px); }
.segment-panel__text{
  max-width: 640px; margin: 0 auto 1.1rem;
  font-size: clamp(1.3125rem, 1.1rem + .9vw, 1.875rem);
  line-height: 1.27; font-weight: 600; letter-spacing: -0.016em;
  text-wrap: balance;
}

/* =========================================================
   NOTRE APPROCHE
   ========================================================= */
.intro{ display: grid; gap: 24px 72px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 900px){ .intro{ grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.intro__aside .body-lg{ margin-bottom: 28px; }

/* Progression des ceintures */
.belt__bar{ display: flex; gap: 4px; height: 8px; }
.belt__bar span{
  flex: 1; border-radius: 4px; transform-origin: left center;
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms + 150ms);
}
.belt.pre .belt__bar span{ transform: scaleX(0); }
.belt.pre.is-in .belt__bar span{ transform: none; }
.belt .b-white{ background: #ececef; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.belt .b-blue{ background: #2f5aa8; }
.belt .b-purple{ background: #5c5ce0; }
.belt .b-brown{ background: #8a5a30; }
.belt .b-black{ background: #1d1d1f; }
.belt__labels{
  display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 10px;
  font-size: .8125rem; font-weight: 500; color: var(--ink-2);
}
.belt__labels span:nth-child(n+2):nth-child(-n+4){ text-align: center; }
.belt__labels span:last-child{ text-align: right; }

/* =========================================================
   LE CLUB — tuiles « bento »
   ========================================================= */
.bento{ display: grid; gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(40px, 5vw, 72px); }
@media (min-width: 700px){ .bento{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile{
  display: flex; flex-direction: column;
  min-height: clamp(172px, 22vw, 280px);
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--r-l);
  background: #fff;
}
.tile__idx{ font-size: .9375rem; font-weight: 600; color: var(--accent); letter-spacing: .01em; }
.tile__title{
  margin-top: auto; padding-top: 36px;
  font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.5rem);
  line-height: 1.08; font-weight: 700; letter-spacing: -0.022em;
}
.tile p{
  margin-top: 8px; color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.25rem); line-height: 1.4; letter-spacing: -0.008em;
}

/* =========================================================
   COACHS — portrait + fiche « caractéristiques »
   ========================================================= */
.profile{ display: grid; gap: clamp(32px, 5vw, 88px); align-items: center; }
.profile + .profile{ margin-top: clamp(96px, 12vw, 168px); }
@media (min-width: 900px){
  .profile{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile--reverse .profile__media{ order: 2; }
}
.profile__media{
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--r-l); background: var(--tile-dark);
}
.profile__media img{ width: 100%; height: 100%; object-fit: cover; object-position: center; }
.profile__copy .headline{ margin-bottom: 20px; }
.profile__copy .body-lg{ max-width: 34em; }
@media (max-width: 734px){ .profile__media{ border-radius: var(--r-m); } }

.specs{
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.specs--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.specs > div{ display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.specs dd{
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem);
  line-height: 1.12; font-weight: 700; letter-spacing: -0.02em;
  color: var(--on-dark);
}
.specs dt{ font-size: .875rem; color: var(--on-dark-3); }
/* Petits écrans : une seule colonne, chaque ligne respire (« Corail — 8e dan ») */
@media (max-width: 480px){ .specs, .specs--3{ grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Équipe ---------- */
.team{ margin-top: clamp(112px, 13vw, 184px); }
.team__grid{
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(12px, 2vw, 24px);
  max-width: 980px; margin: clamp(40px, 5vw, 64px) auto 0;
}
@media (min-width: 900px){ .team__grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.member{
  display: flex; flex-direction: column; align-items: flex-start;
  width: 100%; padding: 0; border: 0; background: none;
  text-align: left; cursor: pointer;
  border-radius: var(--r-m);
}
.member:focus-visible{ outline-offset: 6px; }
.member__media{
  position: relative; display: grid; place-items: center;
  width: 100%; aspect-ratio: 1; overflow: hidden;
  margin-bottom: 16px;
  border-radius: var(--r-m);
  background: linear-gradient(160deg, #2c2c2e 0%, #121213 100%);
  transition: transform .5s var(--ease-out);
}
@media (min-width: 520px){ .member__media{ aspect-ratio: 4 / 5; } }
.member__media img{ width: 100%; height: 100%; object-fit: cover; }
.member__mono{
  font-size: clamp(3rem, 2rem + 4vw, 4.5rem); font-weight: 700; letter-spacing: -0.03em;
  color: var(--accent-on-dark);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)){
  .member__mono, .modal__avatar span{
    background-image: var(--accent-grad-dark);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.plus{
  position: absolute; right: 12px; bottom: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(58, 58, 60, .88);
  transition: background-color .2s var(--ease), transform .35s var(--ease-out);
}
.plus::before, .plus::after{
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px;
  background: #f5f5f7;
}
.plus::after{ transform: rotate(90deg); }
.member__name{ font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); font-weight: 700; letter-spacing: -0.016em; }
.member__role{ margin-top: 2px; font-size: .9375rem; font-weight: 500; color: var(--accent-on-dark); }
.member__more{ margin-top: 6px; font-size: .875rem; color: var(--on-dark-3); }
@media (hover: hover){
  .member:hover .member__media{ transform: scale(1.02); }
  .member:hover .plus{ background: rgba(90, 90, 94, .92); transform: rotate(90deg); }
  .member:hover .member__more{ color: var(--on-dark); }
}
.member:active .member__media{ transform: scale(.98); transition-duration: .12s; }

/* ---------- Fenêtre « bio » (sort de la carte touchée, voir refonte.js) ---------- */
.modal{
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 24px; border: 0;
  background: transparent; color: var(--on-dark);
  overflow: auto;
}
.modal[open]{ display: grid; place-items: center; }
.modal::backdrop{ background: transparent; }
.modal__backdrop{ position: fixed; inset: 0; background: rgba(0, 0, 0, .72); opacity: 0; }
.modal__sheet{
  position: relative;
  width: min(440px, 100%);
  padding: 52px 36px 40px;
  border-radius: var(--r-l);
  background: #1d1d1f;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .06);
  opacity: 0;
  will-change: transform, opacity;
}
.modal__close{
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: #333336; color: #f5f5f7; cursor: pointer;
  transition: background-color .2s var(--ease), transform .12s ease-out;
}
.modal__close:hover{ background: #48484a; }
.modal__close:active{ transform: scale(.92); }
.modal__close svg{ width: 14px; height: 14px; }
.modal__avatar{
  display: grid; place-items: center;
  width: 112px; height: 112px; margin: 0 auto 20px; overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(160deg, #2c2c2e 0%, #121213 100%);
}
.modal__avatar span{ font-size: 2.75rem; font-weight: 700; letter-spacing: -0.03em; color: var(--accent-on-dark); }
.modal__avatar img{ width: 100%; height: 100%; object-fit: cover; }
.modal__name{ font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
.modal__role{ margin-top: 4px; font-size: 1rem; font-weight: 500; color: var(--accent-on-dark); }
.modal__text{ margin-top: 16px; font-size: 1.0625rem; line-height: 1.5; color: var(--on-dark-2); }

/* =========================================================
   GALERIE — défilement natif (inertie du système), photos
   aimantées au centre, points avec barre de progression
   et bouton lecture / pause, comme les galeries d'apple.com.
   ========================================================= */
.gallery{
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  container-type: inline-size;
  --slide-w: min(1120px, 100vw - 2 * var(--gutter) - 64px);
  --gap: clamp(12px, 1.6vw, 20px);
}
@supports (width: 1cqi){ .gallery{ --slide-w: min(1120px, 100cqi - 2 * var(--gutter) - 64px); } }
@media (max-width: 734px){
  .gallery{ --slide-w: calc(100vw - 2 * var(--gutter)); }
  @supports (width: 1cqi){ .gallery{ --slide-w: calc(100cqi - 2 * var(--gutter)); } }
}
.gallery__track{
  display: flex; gap: var(--gap);
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: calc((100% - var(--slide-w)) / 2);
  scroll-padding-inline: calc((100% - var(--slide-w)) / 2);
}
.gallery__track::-webkit-scrollbar{ display: none; }
.gallery__track:focus-visible{ outline-offset: -3px; }
.gallery__slide{
  flex: 0 0 var(--slide-w);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-l);
  background: var(--bg-alt);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.gallery__slide picture{ display: block; width: 100%; height: 100%; }
.gallery__slide img{ width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 734px){
  .gallery__slide{ aspect-ratio: 4 / 5; border-radius: var(--r-m); }
}

.gallery__paddle{
  position: absolute; z-index: 2;
  top: calc(var(--slide-w) * 9 / 32);   /* milieu d'une photo 16:9 */
  width: 56px; height: 56px; margin-top: -28px;
  border: 0; border-radius: 50%;
  display: none; place-items: center;
  color: rgba(0, 0, 0, .56); cursor: pointer;
  background: rgba(210, 210, 215, .64);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  opacity: 0;
  transition: opacity .3s var(--ease), background-color .2s var(--ease), transform .12s ease-out;
}
.gallery__paddle svg{ width: 24px; height: 24px; }
.gallery__paddle:hover{ background: rgba(223, 223, 227, .78); color: rgba(0, 0, 0, .64); }
.gallery__paddle:active{ transform: scale(.94); }
.gallery__paddle--prev{ left: max(12px, calc((100% - var(--slide-w)) / 2 - 76px)); }
.gallery__paddle--next{ right: max(12px, calc((100% - var(--slide-w)) / 2 - 76px)); }
@media (hover: hover) and (pointer: fine) and (min-width: 735px){
  .gallery__paddle{ display: grid; }
  .gallery:hover .gallery__paddle, .gallery__paddle:focus-visible{ opacity: 1; }
}

.gallery__controls{
  display: flex; justify-content: center; align-items: center; gap: 12px;
  margin-top: 28px;
}
.gallery__dots{
  display: flex; align-items: center;
  height: 56px; padding-inline: 16px;
  border-radius: var(--pill);
  background: rgba(232, 232, 237, .9);
}
.gallery__dot{
  position: relative; width: 24px; height: 44px; padding: 0;
  border: 0; background: none; cursor: pointer;
  transition: width .45s var(--ease-out);
}
.gallery__dot::before, .gallery__dot::after{
  content: ""; position: absolute; left: 7px; right: 7px; top: 50%;
  height: 8px; margin-top: -4px; border-radius: 4px;
}
.gallery__dot::before{ background: rgba(0, 0, 0, .28); transition: background-color .3s var(--ease); }
.gallery__dot::after{ background: var(--ink); clip-path: inset(0 100% 0 0 round 4px); }
.gallery__dot:hover::before{ background: rgba(0, 0, 0, .45); }
.gallery__dot.is-active::before{ background: var(--ink); }
/* En lecture automatique, le point actif s'allonge et se remplit */
.gallery.is-playing .gallery__dot.is-active{ width: 50px; }
.gallery.is-playing .gallery__dot.is-active::before{ background: rgba(0, 0, 0, .28); }
.gallery.is-playing .gallery__dot.is-active::after{ clip-path: inset(0 calc((1 - var(--p, 0)) * 100%) 0 0 round 4px); }
.gallery__play{
  width: 56px; height: 56px; border: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(232, 232, 237, .9); color: var(--ink); cursor: pointer;
  transition: background-color .2s var(--ease), transform .12s ease-out;
}
.gallery__play:hover{ background: #dcdce1; }
.gallery__play:active{ transform: scale(.94); }
.gallery__play svg{ width: 14px; height: 14px; }
.gallery-section__more{ margin-top: 32px; }

/* =========================================================
   POURQUOI INVICTUS — vidéo en fond, chiffres clés, citation
   ========================================================= */
.why{ position: relative; overflow: hidden; isolation: isolate; }
.why__video{
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.why::before{
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 22%, rgba(0, 0, 0, .55) 70%, #000 100%),
    rgba(0, 0, 0, .25);
}
.why__toggle{ right: var(--gutter); bottom: 24px; }
.stats{
  display: grid; grid-template-columns: 1fr; gap: 36px;
  margin: clamp(32px, 4vw, 56px) auto 0; max-width: 1000px;
}
.stat{ display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.stat dd{
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem);
  line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; color: #fff;
}
.stat dt{ font-size: clamp(1rem, .95rem + .2vw, 1.125rem); color: var(--on-dark-2); }
.stat--hero dd{ font-size: clamp(4rem, 2.4rem + 7vw, 8rem); letter-spacing: -0.04em; color: var(--accent-on-dark); }
@supports ((-webkit-background-clip: text) or (background-clip: text)){
  .stat--hero dd{
    background-image: var(--accent-grad-dark);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.stat--hero dt{ font-size: clamp(1.1875rem, 1.05rem + .55vw, 1.5rem); font-weight: 600; color: var(--on-dark); }
@media (min-width: 640px){
  .stats{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
  .stat--hero{ grid-column: 1 / -1; margin-bottom: 16px; }
}
.quote{ max-width: 880px; margin: clamp(80px, 10vw, 136px) auto 0; }
.quote p{
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  line-height: 1.2; font-weight: 600; letter-spacing: -0.02em;
  color: #fff; text-wrap: balance;
}
.quote figcaption{ margin-top: 20px; font-size: 1.0625rem; color: var(--on-dark-2); }

/* =========================================================
   APPEL FINAL
   ========================================================= */
.cta-final__logo{ width: 72px; height: 72px; margin: 0 auto 28px; border-radius: 50%; }
.cta-final .lede{ max-width: 34em; margin: 20px auto 36px; }

/* =========================================================
   PIED DE PAGE (gris clair, petits caractères, comme apple.com)
   ========================================================= */
.footer{
  padding: 56px 0 28px;
  background: var(--bg-alt);
  color: var(--ink-2);
  font-size: .8125rem; line-height: 1.5;
}
.footer__grid{
  display: grid; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
@media (min-width: 734px){ .footer__grid{ grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); } }
.footer__logo{ display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__badge{ width: 44px; height: 44px; border-radius: 50%; }
.footer__wordmark{ width: auto; height: 50px; }   /* 50 px minimum : en dessous, le logotype devient illisible */
.footer__brand p{ max-width: 320px; }
.footer__col h2{ margin-bottom: 10px; font-size: .8125rem; font-weight: 600; color: var(--ink); }
.footer__col li{ margin-bottom: 8px; }
.footer a:hover{ color: var(--ink); text-decoration: underline; text-underline-offset: .15em; }
.social{ display: flex; gap: 10px; margin-top: 18px; }
.social a{
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #e8e8ed; color: var(--ink);
  transition: background-color .2s var(--ease), transform .12s ease-out;
}
.social a:hover{ background: #dcdce1; text-decoration: none; }
/* Zone de toucher invisible de 44 px autour des boutons ronds de 36 px */
.social a{ position: relative; }
.social a::after, .video-toggle::after, .modal__close::after{ content: ""; position: absolute; inset: -4px; border-radius: 50%; }
.social a:active{ transform: scale(.92); }
.social svg{ width: 16px; height: 16px; fill: currentColor; }
.footer__legal{ display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; }
.footer__links{ display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* =========================================================
   RAPPELS DU DESIGN « HOKUSAI » (t-shirt du club)
   Trois signes empruntés à l'affiche, utilisés avec parcimonie :
   la vague (motif seigaiha), le soleil levant, le sceau.
   ========================================================= */
/* 1. Vague : motif japonais à peine visible qui monte du bas de la section noire */
.discover{ position: relative; isolation: isolate; overflow: hidden; }
.discover::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.1'%3E%3Ccircle cx='0' cy='0' r='31.5' fill='%23000'/%3E%3Ccircle cx='0' cy='0' r='25.6'/%3E%3Ccircle cx='0' cy='0' r='19.2'/%3E%3Ccircle cx='0' cy='0' r='12.8'/%3E%3Ccircle cx='0' cy='0' r='6.4'/%3E%3Ccircle cx='64' cy='0' r='31.5' fill='%23000'/%3E%3Ccircle cx='64' cy='0' r='25.6'/%3E%3Ccircle cx='64' cy='0' r='19.2'/%3E%3Ccircle cx='64' cy='0' r='12.8'/%3E%3Ccircle cx='64' cy='0' r='6.4'/%3E%3Ccircle cx='32' cy='16.0' r='31.5' fill='%23000'/%3E%3Ccircle cx='32' cy='16.0' r='25.6'/%3E%3Ccircle cx='32' cy='16.0' r='19.2'/%3E%3Ccircle cx='32' cy='16.0' r='12.8'/%3E%3Ccircle cx='32' cy='16.0' r='6.4'/%3E%3Ccircle cx='0' cy='32' r='31.5' fill='%23000'/%3E%3Ccircle cx='0' cy='32' r='25.6'/%3E%3Ccircle cx='0' cy='32' r='19.2'/%3E%3Ccircle cx='0' cy='32' r='12.8'/%3E%3Ccircle cx='0' cy='32' r='6.4'/%3E%3Ccircle cx='64' cy='32' r='31.5' fill='%23000'/%3E%3Ccircle cx='64' cy='32' r='25.6'/%3E%3Ccircle cx='64' cy='32' r='19.2'/%3E%3Ccircle cx='64' cy='32' r='12.8'/%3E%3Ccircle cx='64' cy='32' r='6.4'/%3E%3Ccircle cx='32' cy='48.0' r='31.5' fill='%23000'/%3E%3Ccircle cx='32' cy='48.0' r='25.6'/%3E%3Ccircle cx='32' cy='48.0' r='19.2'/%3E%3Ccircle cx='32' cy='48.0' r='12.8'/%3E%3Ccircle cx='32' cy='48.0' r='6.4'/%3E%3Ccircle cx='0' cy='64' r='31.5' fill='%23000'/%3E%3Ccircle cx='0' cy='64' r='25.6'/%3E%3Ccircle cx='0' cy='64' r='19.2'/%3E%3Ccircle cx='0' cy='64' r='12.8'/%3E%3Ccircle cx='0' cy='64' r='6.4'/%3E%3Ccircle cx='64' cy='64' r='31.5' fill='%23000'/%3E%3Ccircle cx='64' cy='64' r='25.6'/%3E%3Ccircle cx='64' cy='64' r='19.2'/%3E%3Ccircle cx='64' cy='64' r='12.8'/%3E%3Ccircle cx='64' cy='64' r='6.4'/%3E%3C/g%3E%3C/svg%3E") repeat center bottom / 64px 32px;
  opacity: .11;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
}
/* 2. Soleil levant : le soleil se lève derrière l'écusson, coupé par une ligne d'horizon */
.cta-final__emblem{ position: relative; display: grid; place-items: end center; width: 260px; height: 150px; margin: 0 auto 34px; overflow: hidden; }
.cta-final__emblem::before{
  content: ""; position: absolute; left: 50%; bottom: -96px; width: 208px; height: 208px; margin-left: -104px; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #e8573f 0%, var(--accent) 55%, #b3221a 100%);
}
.cta-final__emblem::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--ink) 18%, var(--ink) 82%, transparent);
}
.cta-final__emblem .cta-final__logo{ position: relative; width: 104px; height: 104px; margin: 0 0 18px; box-shadow: 0 0 0 5px #fff, 0 12px 26px rgba(0, 0, 0, .2); }
/* 3. Sceau : signature rouge verticale, comme le cachet de l'artiste sur une estampe */
.footer__legal{ align-items: center; }
.seal{
  position: relative; flex: none; width: 34px; height: 62px; margin-left: auto;
  border-radius: 4px; background: var(--accent); transform: rotate(-2deg);
  box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 4px rgba(255, 255, 255, .85);
}
.seal::after{
  content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 24px; margin: -12px 0 0 -23px;
  background: #fff; transform: rotate(90deg);
  -webkit-mask: url("../assets/logo-wordmark-solo.png") center / contain no-repeat;
  mask: url("../assets/logo-wordmark-solo.png") center / contain no-repeat;
}
@media (forced-colors: active){ .discover::after{ display: none; } .seal{ forced-color-adjust: none; } }

/* =========================================================
   BOUTONS FLOTTANTS (WhatsApp + cours d'essai sur mobile)
   ========================================================= */
.floating{
  position: fixed; z-index: 80;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  pointer-events: none;
}
.floating > *{
  pointer-events: auto;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96);
  transition: opacity .3s var(--ease), transform .5s var(--ease-out), visibility 0s linear .5s;
}
.floating.is-visible > *{
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s var(--ease), transform .5s var(--ease-out);
}
.floating.is-visible > :nth-child(2){ transition-delay: .06s; }
.whatsapp{
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}
.whatsapp svg{ width: 26px; height: 26px; }
.floating.is-visible > .whatsapp:active{ transform: scale(.94); transition-duration: .08s; }
.floating__cta{ min-height: 50px; box-shadow: 0 10px 28px rgba(209, 42, 32, .32); }
@media (min-width: 834px){ .floating__cta{ display: none; } }
/* Inutile quand un grand bouton « Réserver » ou le pied de page est déjà à
   l'écran (classe posée par refonte.js) : il s'efface pour ne rien masquer. */
.floating.is-visible.cta-hidden > .floating__cta{
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96);
  transition: opacity .3s var(--ease), transform .5s var(--ease-out), visibility 0s linear .5s;
}
/* Place pour le bouton WhatsApp sous la dernière ligne du pied de page */
@media (max-width: 833px){ .footer{ padding-bottom: 96px; } }

/* =========================================================
   PAGES INTÉRIEURES — éléments communs
   ========================================================= */
.page-hero{ padding-block: clamp(56px, 8vw, 120px) clamp(56px, 7vw, 104px); text-align: center; }
.page-hero .container{ --container: 900px; }
.page-hero .display{ font-size: clamp(2.25rem, 1.45rem + 2.8vw, 3.75rem); }
.page-hero .lede{ max-width: 34em; margin: 1.25rem auto 0; }
.page-hero__note{ margin-top: 16px; font-size: 1.0625rem; color: var(--ink-2); }
.page-hero__note a{ color: var(--accent); font-weight: 600; }
.page-hero__note a:hover{ text-decoration: underline; text-underline-offset: .18em; }

.section-sub{
  max-width: 36em; margin: 14px auto 0;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); line-height: 1.42;
  color: var(--ink-2);
}
.section--black .section-sub{ color: var(--on-dark-2); }
.section-head--gap{ margin-bottom: clamp(36px, 5vw, 56px); }
.section--tight-top{ padding-top: clamp(8px, 2vw, 24px); }

/* Bouton secondaire (contour) */
.btn--secondary{ background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--secondary:hover{ background: var(--accent); color: #fff; }
.section--black .btn--secondary{ color: var(--accent-on-dark); box-shadow: inset 0 0 0 1.5px var(--accent-on-dark); }
.section--black .btn--secondary:hover{ background: var(--accent-on-dark); color: #000; }
.btn--block{ width: 100%; }
.cta-row--center{ justify-content: center; }

/* Appel final des pages intérieures (fond noir) */
.cta-block{ text-align: center; }
.cta-block .headline{ max-width: 16em; margin: 0 auto 32px; }
.cta-block .title{ max-width: 20em; margin: 0 auto 28px; }

/* Pastilles (légendes, niveaux, réassurance) */
.chip-row{ display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; padding: 0; list-style: none; }
.chip{
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 34px; padding: 7px 15px; border-radius: var(--pill);
  background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
  font-size: .875rem; font-weight: 500; color: var(--ink);
}
.section--gray .chip{ box-shadow: none; }
.chip strong{ color: var(--accent); font-weight: 700; }
.dot{ width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--cat, var(--ink-2)); }
/* Couleurs des catégories de cours (reprises du planning papier du club) */
.cat--bjj{ --cat: #c0342b; }
.cat--nogi{ --cat: #2f7d4f; }
.cat--combat{ --cat: #6a4fc4; }
.cat--kids{ --cat: #c48a1e; }

/* =========================================================
   COURS & HORAIRES
   ========================================================= */
.segmented--tabs{ width: min(100%, 440px); margin-bottom: clamp(40px, 5vw, 56px); }
.tab-panel:focus-visible{ outline-offset: 8px; }
.schedule-group + .schedule-group{ margin-top: clamp(64px, 8vw, 104px); }
.schedule-group .section-head{ margin-bottom: 28px; }
.legend{ margin-bottom: clamp(48px, 6vw, 72px); }
.section--schedule{ padding-top: clamp(56px, 6vw, 88px); }
.week{ display: grid; gap: 12px; align-items: start; }
@media (min-width: 900px){
  .week--6{ grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .week--4{ grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 840px; margin-inline: auto; }
}
.day{ padding: 22px 18px 18px; border-radius: var(--r-m); background: #fff; }
.day__name{ margin-bottom: 10px; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.012em; }
.day__today{ display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 600; letter-spacing: 0; color: var(--accent); }
.slot{ padding: 12px 0; border-top: 1px solid #e8e8ed; }
.slot:first-child{ padding-top: 0; border-top: 0; }
.slot:last-child{ padding-bottom: 0; }
.slot__time{ display: block; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.slot__name{ display: flex; align-items: flex-start; gap: 7px; margin-top: 3px; font-size: .875rem; font-weight: 500; }
/* Point de couleur aligné sur la première ligne quand le nom du cours passe à la ligne */
.slot__name .dot{ margin-top: calc(.735em - 4px); }
.slot__level{ display: block; margin-top: 2px; font-size: .8125rem; color: var(--ink-2); }
/* Téléphone : une carte par jour, horaire à gauche, cours + niveau à droite */
@media (max-width: 640px){
  .slot{ display: grid; grid-template-columns: 118px minmax(0, 1fr); column-gap: 12px; align-items: baseline; }
  .slot__name{ margin-top: 0; }
  .slot__level{ grid-column: 2; }
}
.levels{ margin-top: clamp(64px, 8vw, 104px); text-align: center; }
.levels .title{ margin-bottom: 22px; }
.soon{
  max-width: 480px; margin: 0 auto; padding: 44px 32px 40px;
  border-radius: var(--r-l); background: #fff; text-align: center;
}
.soon__icon{
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px;
  border-radius: 50%; color: var(--accent); background: rgba(209, 42, 32, .08);
}
.soon h3{ margin-bottom: 10px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.016em; }
.soon p{ margin-bottom: 22px; color: var(--ink-2); }

/* =========================================================
   GALERIE
   ========================================================= */
.featured{ margin-bottom: clamp(40px, 5vw, 64px); }
.block-head{ display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.block-head h3{ font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 700; letter-spacing: -0.016em; }
.block-head__icon{ color: var(--accent-on-dark); font-size: 1rem; }
.shelf{
  display: flex; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: none;
  /* Déborde jusqu'aux bords de l'écran, 1re carte alignée sur le texte */
  margin-inline: calc(50% - 50vw);
  padding: 4px max(var(--gutter), calc(50vw - 50%)) 14px;
  scroll-padding-inline: max(var(--gutter), calc(50vw - 50%));
}
.shelf::-webkit-scrollbar{ display: none; }
.featured-card{
  appearance: none; -webkit-appearance: none; margin: 0; padding: 0; border: 0;
  position: relative; flex: 0 0 auto; width: 176px; aspect-ratio: 4 / 5;
  overflow: hidden; border-radius: var(--r-s); background: #1d1d1f;
  color: #fff; font: inherit; cursor: pointer; scroll-snap-align: start;
  transition: transform .45s var(--ease-out), opacity .25s var(--ease);
}
@media (min-width: 640px){ .featured-card{ width: 210px; } }
.featured-card img{ width: 100%; height: 100%; object-fit: cover; }
.featured-card::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .65)); pointer-events: none; }
.featured-cat{ position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1; font-size: .75rem; font-weight: 600; text-align: left; }
.featured-play{
  position: absolute; top: 50%; left: 50%; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; color: #fff; background: rgba(30, 30, 32, .45);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
}
.featured-play svg{ margin-left: 2px; }
.featured-card.is-leaving{ opacity: 0; transform: scale(.9); pointer-events: none; }
@media (hover: hover){ .featured-card:hover{ transform: scale(1.03); } }
.featured-card:active{ transform: scale(.97); transition-duration: .12s; }

.filter-chips{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 100%;
  margin: 0 auto clamp(28px, 4vw, 40px); padding: 2px;
}
.filter-chip{
  flex: none; min-height: 44px; padding: 9px 18px; border: 0; border-radius: var(--pill);
  background: rgba(255, 255, 255, .1); color: var(--on-dark);
  font-size: .9375rem; font-weight: 500; letter-spacing: -0.01em; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .12s ease-out;
}
.filter-chip:hover{ background: rgba(255, 255, 255, .18); }
.filter-chip:active{ transform: scale(.96); }
.filter-chip[aria-selected="true"]{ background: #f5f5f7; color: #1d1d1f; }

.photo-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
/* 3 colonnes au maximum, même sur grand écran (choix du 20/09/2026) */
@media (min-width: 640px){ .photo-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1050px){ .photo-grid{ gap: 20px; } }
.photo-tile{
  appearance: none; -webkit-appearance: none; margin: 0; padding: 0; border: 0;
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5;
  overflow: hidden; border-radius: var(--r-s); background: #1d1d1f; cursor: zoom-in;
  transition: transform .45s var(--ease-out);
}
.photo-tile img{ width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.photo-tile.is-filtered-out{ display: none; }
.photo-tile:active{ transform: scale(.98); transition-duration: .12s; }
.tile-zoom{
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(30, 30, 32, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: scale(.85); transition: opacity .25s var(--ease), transform .35s var(--ease-out);
}
.tile-zoom::before, .tile-zoom::after{
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px;
  margin: -1px 0 0 -6px; border-radius: 1px; background: #fff;
}
.tile-zoom::after{ transform: rotate(90deg); }
@media (hover: hover){
  .photo-tile:hover img{ transform: scale(1.04); }
  .photo-tile:hover .tile-zoom{ opacity: 1; transform: none; }
}
/* Pastille « Nouveau » et petite date (posées par refonte.js) */
.badge-new{
  position: absolute; top: 10px; left: 10px; z-index: 2; pointer-events: none;
  padding: 5px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .95);
  color: #c9241c; font-size: .6875rem; font-weight: 700; letter-spacing: .01em; line-height: 1;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.badge-new.is-leaving{ opacity: 0; transform: scale(.85); }
.tile-date{
  position: absolute; left: 10px; bottom: 10px; z-index: 2; pointer-events: none;
  padding: 5px 9px; border-radius: var(--pill); color: #fff; line-height: 1;
  font-size: .6875rem; font-weight: 600;
  background: rgba(30, 30, 32, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.gallery-empty{ text-align: center; color: var(--on-dark-2); }

/* Vidéos : une rangée qui défile par album */
.video-block{ scroll-margin-top: calc(var(--nav-h) + 24px); }
.video-block + .video-block{ margin-top: clamp(40px, 5vw, 64px); }
.reel-card{
  position: relative; flex: 0 0 auto; width: 190px; aspect-ratio: 9 / 16;
  overflow: hidden; isolation: isolate; border-radius: var(--r-m); background: #111;
  cursor: pointer; scroll-snap-align: start;
  transition: transform .45s var(--ease-out);
}
@media (min-width: 640px){ .reel-card{ width: 220px; } }
.reel-card.wide{ width: 300px; aspect-ratio: 16 / 9; }
@media (min-width: 640px){ .reel-card.wide{ width: 380px; } }
.reel-video{ width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel-shade{ position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .7)); }
.reel-tag{
  position: absolute; top: 10px; left: 10px; z-index: 2; pointer-events: none;
  padding: 4px 9px; border-radius: var(--pill); color: #fff; line-height: 1.1;
  font-size: .6875rem; font-weight: 600;
  background: rgba(30, 30, 32, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.reel-play{
  position: absolute; top: 50%; left: 50%; z-index: 2;
  display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border: 0; border-radius: 50%; color: #fff; cursor: pointer;
  background: rgba(30, 30, 32, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  transition: background-color .2s var(--ease), transform .2s var(--ease-out);
}
.reel-play svg{ margin-left: 3px; }
.reel-caption{
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; pointer-events: none;
  color: #fff; font-size: .8125rem; font-weight: 600; line-height: 1.25;
}
.reel-card .badge-new{ left: auto; right: 10px; }
@media (hover: hover){
  .reel-card:hover{ transform: scale(1.02); }
  .reel-card:hover .reel-play{ background: var(--accent); }
}
.reel-card:active{ transform: scale(.98); transition-duration: .12s; }

/* ---------- Visionneuses (photo / vidéo) : plein écran sombre ---------- */
.viewer{
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: transparent; color: var(--on-dark);
}
.viewer[open]{ display: block; }
.viewer::backdrop{ background: transparent; }
.viewer__backdrop{ position: absolute; inset: 0; background: rgba(0, 0, 0, .94); opacity: 0; }
.viewer__stage{
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 76px 16px 28px; touch-action: none;
}
.viewer__img{
  display: block; width: auto; height: auto;          /* jamais agrandie au-delà de sa taille d'origine */
  max-width: min(100%, 1100px); max-height: calc(100% - 96px);
  border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
  will-change: transform;
}
.viewer__player{
  display: block; width: min(420px, 100%); max-height: calc(100% - 96px);
  border-radius: 16px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.viewer.is-wide .viewer__player{ width: min(960px, 100%); }
.viewer__meta{ display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; text-align: center; }
.viewer__counter{ font-size: .8125rem; font-weight: 600; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.viewer__download{
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 18px;
  border-radius: var(--pill); color: #fff; font-size: .9375rem; font-weight: 500;
  background: rgba(255, 255, 255, .12); transition: background-color .2s var(--ease);
}
.viewer__download:hover{ background: rgba(255, 255, 255, .2); }
.download-hint{ max-width: 340px; font-size: .8125rem; color: var(--on-dark-2); }
.download-hint a{ color: #fff; text-decoration: underline; }
.viewer__btn{
  position: absolute; z-index: 3; display: grid; place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; cursor: pointer;
  background: rgba(255, 255, 255, .12);
  transition: background-color .2s var(--ease), transform .12s ease-out;
}
.viewer__btn:hover{ background: rgba(255, 255, 255, .22); }
.viewer__btn:active{ transform: scale(.92); }
.viewer__btn svg{ width: 20px; height: 20px; }
.viewer__close{ top: 16px; right: 16px; }
.viewer__prev, .viewer__next{ top: 50%; width: 52px; height: 52px; margin-top: -26px; }
.viewer__prev{ left: 16px; }
.viewer__next{ right: 16px; }
@media (max-width: 640px){
  .viewer__prev, .viewer__next{ width: 42px; height: 42px; margin-top: -21px; }
  .viewer__prev{ left: 8px; } .viewer__next{ right: 8px; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.rating{
  display: inline-flex; align-items: center; gap: 6px; margin-top: 22px;
  padding: 8px 16px; border-radius: var(--pill); background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); font-size: .9375rem; font-weight: 600; color: var(--ink);
  transition: box-shadow .2s var(--ease);
}
.rating:hover{ box-shadow: inset 0 0 0 1px var(--ink-2); }
.rating__star{ color: #e8a13a; }
.rating__sep{ color: var(--ink-2); font-weight: 400; }
.hero-meta{ margin: 18px auto 28px; font-size: 1.0625rem; font-weight: 600; color: var(--accent); }
.hero-note{ margin-top: 14px; font-size: .9375rem; color: var(--ink-2); }

.steps{ display: grid; gap: 12px; padding: 0; list-style: none; }
@media (min-width: 860px){ .steps{ grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.step{ padding: 26px 22px; border-radius: var(--r-m); background: #fff; }
.step__num{ display: block; margin-bottom: 14px; font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--accent); }
@supports ((-webkit-background-clip: text) or (background-clip: text)){
  .step__num, .not-found__code{
    background-image: var(--accent-grad);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
}
.step h3{ margin-bottom: 6px; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.012em; }
.step p{ font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 859px){
  .step{ display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; padding: 20px; }
  .step__num{ grid-row: span 2; margin: 0; font-size: 1.75rem; }
}

.pills{ margin: 28px auto 36px; max-width: 700px; }
.pills li{ background: var(--bg-alt); box-shadow: none; }
.notice{
  max-width: 680px; margin: 0 auto 24px; padding: 16px 20px; border-radius: var(--r-s);
  background: rgba(209, 42, 32, .06); box-shadow: inset 0 0 0 1px rgba(209, 42, 32, .2);
}
.notice p{ font-size: .9375rem; font-weight: 500; }
#reservation{ scroll-margin-top: calc(var(--nav-h) + 24px); }
.form-card{ max-width: 680px; margin: 0 auto; border-radius: var(--r-l); }
.form-card.is-highlighted{ animation: formRing 1.1s var(--ease-out) 2; }
@keyframes formRing{
  0%{ box-shadow: 0 0 0 0 rgba(209, 42, 32, .35); }
  100%{ box-shadow: 0 0 0 18px rgba(209, 42, 32, 0); }
}
.form{ display: grid; gap: 18px; }
.form-row{ display: grid; gap: 18px; }
@media (min-width: 600px){ .form-row--two{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label{ display: block; margin-bottom: 8px; font-size: .9375rem; font-weight: 600; }
.field-optional{ font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea{
  display: block; width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1px solid #86868b; border-radius: 12px; background: #fff; color: var(--ink);   /* contour 3.6:1 (WCAG 1.4.11) */
  font: inherit; font-size: 1.0625rem;   /* ≥ 16 px : pas de zoom automatique sur iPhone */
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select{
  -webkit-appearance: none; appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 17px center; background-size: 12px 8px;
}
.field textarea{ min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder{ color: #a1a1a6; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(209, 42, 32, .14);
}
.consent{ display: flex; align-items: flex-start; gap: 10px; }
.consent input{ flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.consent label{ font-size: .875rem; color: var(--ink-2); }
.consent a{ color: var(--ink); text-decoration: underline; }
.form-note{ margin-top: 10px; font-size: .875rem; color: var(--ink-2); }
.form-privacy{ font-size: .875rem; color: var(--ink-2); }
.form-privacy a{ color: var(--ink); text-decoration: underline; text-underline-offset: .15em; }
.form-status{ display: none; margin-top: 6px; font-size: .9375rem; font-weight: 600; }
.form-status.show{ display: block; }
.form-status.is-error{ color: var(--danger); }
/* Erreurs de saisie : texte sous le champ + contour rouge (jamais la couleur seule) */
.form-legend{ font-size: .875rem; color: var(--ink-2); }
.field [aria-invalid="true"], .field [aria-invalid="true"]:focus{ border-color: var(--danger); }
.field [aria-invalid="true"]:focus{ box-shadow: 0 0 0 4px rgba(201, 36, 28, .16); }
.field-error{
  display: flex; align-items: flex-start; gap: 7px; margin-top: 8px;
  font-size: .875rem; font-weight: 500; line-height: 1.4; color: var(--danger);
}
.field-error::before{
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23c9241c'/%3E%3Cpath d='M8 4v5' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.6' r='1.05' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / 16px;
}
.consent + .field-error{ margin-top: -8px; padding-left: 32px; }
.form-summary{
  padding: 16px 20px; border-radius: var(--r-s);
  background: rgba(201, 36, 28, .06); box-shadow: inset 0 0 0 1px rgba(201, 36, 28, .28);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.form-summary:focus{ outline: none; box-shadow: inset 0 0 0 2px var(--danger); }
.form-summary__title{ margin-bottom: 6px; font-size: .9375rem; font-weight: 600; }
.form-summary ul{ padding-left: 1.2em; list-style: disc; color: var(--danger); }
.form-summary li + li{ margin-top: 4px; }
.form-summary a{ font-size: .9375rem; color: var(--danger); text-decoration: underline; text-underline-offset: .15em; }
.form button[type="submit"]:disabled{ opacity: .6; cursor: default; }
/* Champ piège anti-robot : hors écran, jamais display:none */
.hidden-field{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.result{
  max-width: 520px; margin: 0 auto; padding: 44px 28px 36px;
  border-radius: var(--r-l); background: var(--bg-alt); text-align: center;
}
.result:focus{ outline: none; }
.result__icon{
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%; font-size: 1.5rem; font-weight: 700; color: #fff; background: var(--success);
}
.result--error{ margin-top: 24px; }
.result--error .result__icon{ background: var(--danger); }
.result h3{ margin-bottom: 8px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.016em; }
.result p{ margin-bottom: 24px; color: var(--ink-2); }
.result__actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Contact direct : liste groupée façon Réglages d'iPhone */
.contact-list{ max-width: 560px; margin-inline: auto; overflow: hidden; border-radius: var(--r-m); background: #fff; }
.contact-row{ position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px; transition: background-color .2s var(--ease); }
.contact-row + .contact-row::before{ content: ""; position: absolute; top: 0; left: 70px; right: 0; height: 1px; background: #e8e8ed; }
.contact-row:hover{ background: #fafafa; }
.contact-row:active{ background: #f0f0f2; }
.contact-row__icon{ display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; color: #fff; }
.contact-row__icon svg{ width: 20px; height: 20px; }
.contact-row__icon--call{ background: #34c759; }
.contact-row__icon--whatsapp{ background: #25d366; }
.contact-row__icon--mail{ background: #0a84ff; }
.contact-row__text{ display: flex; flex: 1; flex-direction: column; min-width: 0; }
.contact-row__label{ font-size: .8125rem; color: var(--ink-2); }
.contact-row__value{ font-size: 1.0625rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-row__chev{ flex: none; font-size: 1.25rem; color: #c7c7cc; }

.address{ margin-top: 12px; font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); color: var(--ink-2); }
.reassure{ margin-top: 10px; font-size: 1rem; color: var(--ink-2); }
.map{ max-width: 1080px; margin-inline: auto; aspect-ratio: 16 / 7; overflow: hidden; border-radius: var(--r-l); background: var(--bg-alt); }
.map iframe{ display: block; width: 100%; height: 100%; border: 0; }
/* Carte affichée seulement après un clic (cookies Google) */
.map--consent{ display: grid; place-items: center; padding: 24px; text-align: center; }
.map-consent{ display: grid; justify-items: center; gap: 14px; max-width: 460px; }
.map-consent svg{ width: 34px; height: 34px; color: var(--accent); }
.map-consent__text{ font-size: .9375rem; color: var(--ink-2); }
.map-consent__text a{ color: var(--ink); text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 734px){ .map{ aspect-ratio: 1 / 1; border-radius: var(--r-m); } }
.map + .cta-row{ margin-top: 24px; }

/* FAQ : accordéon (ouverture en pur CSS, grille 0fr → 1fr) */
.faq{ max-width: 760px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 22px 2px; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); font-weight: 600; letter-spacing: -0.012em; color: var(--ink);
}
.faq-icon{ position: relative; flex: none; width: 20px; height: 20px; transition: transform .4s var(--ease-out); }
.faq-icon::before, .faq-icon::after{
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px;
  margin: -.75px 0 0 -7px; border-radius: 1px; background: var(--accent);
}
.faq-icon::after{ transform: rotate(90deg); }
.faq-item.is-open .faq-icon{ transform: rotate(45deg); }
.faq-a{ display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.faq-item.is-open .faq-a{ grid-template-rows: 1fr; }
.faq-a__inner{ min-height: 0; overflow: hidden; }
/* Réponse fermée : aussi masquée pour les lecteurs d'écran, après l'animation */
.faq-item:not(.is-open) .faq-a__inner{ visibility: hidden; transition: visibility 0s linear .4s; }
.faq-a__inner > :last-child{ padding-bottom: 24px; }
.faq-a p{ max-width: 640px; padding: 0 2px 14px; color: var(--ink-2); }
.faq-a strong{ color: var(--ink); }
.faq-a .fineprint{ font-size: .875rem; }
.size-table-wrap{ overflow-x: auto; padding: 0 2px 14px; }
.size-table{ width: 100%; max-width: 520px; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td{ padding: 10px 14px; border-bottom: 1px solid #e8e8ed; text-align: left; white-space: nowrap; }
.size-table th{ font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.size-table td:first-child{ font-weight: 700; color: var(--accent); }
.size-table tbody tr:last-child td{ border-bottom: 0; }

/* =========================================================
   MENTIONS LÉGALES
   ========================================================= */
.legal{ max-width: 760px; margin-inline: auto; }
.legal h2{ margin: 48px 0 12px; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 700; letter-spacing: -0.016em; }
.legal .todo-note + h2{ margin-top: 36px; }
.legal p, .legal li{ margin-bottom: 12px; color: var(--ink-2); }
.legal ul{ padding-left: 1.25em; list-style: disc; }
.legal strong{ color: var(--ink); }
.legal a{ color: var(--accent); text-decoration: underline; text-underline-offset: .18em; }
.legal a:hover{ color: var(--accent-hover); }
.legal h3{ margin: 28px 0 10px; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.012em; }
.legal .table-wrap{ overflow-x: auto; margin: 12px 0 20px; }
.legal table{ width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; }
.legal th, .legal td{ padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th{ font-weight: 600; color: var(--ink); }
.legal td{ color: var(--ink-2); }
/* Informations que le club doit encore fournir (mentions légales) */
mark.todo{ padding: 1px 6px; border-radius: 6px; background: rgba(209, 42, 32, .08); color: var(--ink); font-weight: 600; }
.legal__updated{ margin-top: 40px; font-size: .875rem; }
.todo-note{
  padding: 16px 20px; border-radius: var(--r-s); font-size: .9375rem; color: var(--ink);
  background: rgba(209, 42, 32, .06); box-shadow: inset 0 0 0 1px rgba(209, 42, 32, .2);
}
.todo-note b{ color: var(--accent); }

/* =========================================================
   PAGE 404
   ========================================================= */
.not-found{ display: grid; place-items: center; min-height: calc(100svh - var(--nav-h)); padding-block: 64px; text-align: center; }
.not-found__code{ margin-bottom: 12px; font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--accent); }
.not-found .headline{ margin-bottom: 14px; }
.not-found p{ max-width: 30em; margin: 0 auto 32px; font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); color: var(--ink-2); }

/* =========================================================
   ESPACE MEMBRES
   ========================================================= */
.auth{ max-width: 440px; margin: 0 auto; padding: 40px 32px 32px; border-radius: var(--r-l); background: #fff; text-align: center; }
.auth__icon{
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; color: var(--accent); background: rgba(209, 42, 32, .08);
}
.auth h2{ margin-bottom: 6px; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
.auth > p{ margin-bottom: 24px; color: var(--ink-2); }
.auth .form{ text-align: left; }
.auth .form-status{ margin: 0 0 16px; text-align: left; }
.auth__links{ margin-top: 18px; font-size: .9375rem; color: var(--ink-2); }
.auth__rules{ margin-top: 14px; font-size: .8125rem; line-height: 1.5; color: var(--ink-2); }
.password-field{ position: relative; }
.password-field input{ padding-right: 100px; }
.password__toggle{
  position: absolute; right: 4px; bottom: 4px; min-width: 44px; height: 44px; padding: 0 14px;
  border: 0; border-radius: 9px; background: none; color: var(--accent); cursor: pointer;
  font: inherit; font-size: .9375rem; font-weight: 600;
}
.password__toggle:hover{ background: var(--bg-alt); }
.member-logout{ margin-bottom: 32px; text-align: center; }
.member-logout a{ font-size: .9375rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: .18em; }
.albums{ display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.album{ display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-m); background: #fff; }
.album__cover{ aspect-ratio: 4 / 3; overflow: hidden; background: #1d1d1f; }
.album__cover img{ width: 100%; height: 100%; object-fit: cover; }
.album__body{ display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.album__body h3{ font-size: 1.25rem; font-weight: 700; letter-spacing: -0.016em; }
.album__count{ font-size: .9375rem; color: var(--ink-2); }
.album__actions{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
.album__actions .btn{ min-height: 44px; padding: .5rem 1.1rem; font-size: .9375rem; }

/* =========================================================
   APPARITIONS AU DÉFILEMENT
   Rien n'est masqué sans JavaScript : refonte.js ne pose la
   classe .pre que sur ce qui est encore sous l'écran.
   ========================================================= */
.reveal.pre{ opacity: 0; transform: translateY(20px); }
.reveal.pre.is-in{
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* =========================================================
   PRÉFÉRENCES D'ACCESSIBILITÉ DU SYSTÈME
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal.pre{ opacity: 1; transform: none; }
  .belt.pre .belt__bar span{ transform: none; }
  .menu__eyebrow, .menu__links a, .menu__mark, .menu__cta, .menu__footer{ transform: none; }
  .btn:active, .member:active .member__media, .video-toggle:active{ transform: none; }
  .member__media, .plus, .chev, .gallery__dot{ transition: none; }
  .photo-tile, .photo-tile img, .reel-card, .featured-card, .faq-a, .faq-icon{ transition: none; }
  .photo-tile:hover img, .photo-tile:active, .reel-card:hover, .reel-card:active,
  .featured-card:hover, .featured-card:active{ transform: none; }
  .form-card.is-highlighted{ animation: none; }
}
@media (prefers-reduced-transparency: reduce){
  .nav{ background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.is-dark{ background: #161617; }
  .glass-badge, .video-toggle, .gallery__paddle{ -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(20, 20, 22, .85); }
  .gallery__paddle{ background: #e8e8ed; }
  .tile-zoom, .tile-date, .reel-tag, .reel-play, .featured-play{ -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(20, 20, 22, .85); }
}
@media (prefers-contrast: more){
  :root{ --ink-2: #424245; --on-dark-2: #d2d2d7; --on-dark-3: #c7c7cc; }
  .nav{ background: #fff; box-shadow: 0 1px 0 #000; }
  .nav.is-dark{ background: #000; box-shadow: 0 1px 0 #fff; }
  .statement.is-armed .lit{ color: var(--on-dark); }
}
@media (forced-colors: active){
  .accent, .member__mono, .modal__avatar span, .stat--hero dd, .step__num, .not-found__code{
    background: none; -webkit-text-fill-color: currentColor; color: CanvasText;
  }
}
