/* =========================================================================
   SNATCH FITNESS CLUB — refonte 2026
   Concept : 7 « slides » immersives, chacune transposée d'un bloc du PDF de
   référence, recolorées dans la charte du logo (noir, blanc, rouge #C51019).
   ========================================================================= */
:root {
  /* Couleurs (logo) */
  --red: #c51019;
  --red-hot: #e01822;
  --red-deep: #5e070c;
  --ink: #121110;
  --ink-2: #1c1a19;
  --ink-3: #2a2726;
  --paper: #ffffff;
  --mist: #ececea;      /* gris clair des panneaux du PDF (blocs 1, 2, 3) */
  --mist-2: #f5f5f3;
  --stone: #8c8885;
  --line-light: rgba(255, 255, 255, .18);
  --tbc: #f2b705;

  /* Typo */
  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* Échelle */
  --s-hero: clamp(2.6rem, 5.4vw, 5.4rem);
  --s-h2: clamp(2.2rem, 4.6vw, 4.4rem);
  --s-h3: clamp(1.3rem, 2vw, 1.75rem);
  --s-body: 1rem;
  --s-small: .8125rem;

  --r-xl: clamp(28px, 3.4vw, 48px);
  --r-lg: 28px;
  --r-md: 20px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* =========================================================================
   THÈMES — un seul design, deux palettes. Clair par défaut, sombre via
   la préférence système ou le bouton soleil / lune (data-theme sur <html>).
   ========================================================================= */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #ececea;
  --surface-soft: #f5f5f3;
  --text: #121110;
  --text-2: #4b4744;
  --muted: #67635f;
  --line: rgba(18, 17, 16, .14);
  --inv-bg: #121110;
  --inv-text: #ffffff;
  --round-bg: #ffffff;
  --chip-bg: #ffffff;
  --topbar-bg: rgba(255, 255, 255, .86);
  --hero-left-bg: #ffffff;
  --hero-right-bg: #ececea;
  --hero-stage-bg: transparent;
  --hero-ring: rgba(18, 17, 16, .05);
  --hero-shadow: none;
  --badge-name: #121110;
  --nav-pill: rgba(18, 17, 16, .08);
  --final-bg: #f5f5f3;
  --final-title-2: #8f8b88;
  --input-bg: #f5f5f3;
  --footer-bg: #ececea;
  --shadow: rgba(18, 17, 16, .12);
  --shadow-soft: rgba(0, 0, 0, .05);
  --shadow-strong: rgba(0, 0, 0, .35);
  --section-shadow: rgba(0, 0, 0, .08);
  --deck-shadow: rgba(0, 0, 0, .18);
  --tbc-text: #7a5c00;
  --ok: #1f8a46;
  --err: #c51019;
  --on-light: block;   /* éléments visibles en thème clair (logo foncé) */
  --on-dark: none;     /* éléments visibles en thème sombre (logo clair) */
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0c0c; --surface: #1a1817; --surface-alt: #141312; --surface-soft: #111010;
    --text: #f3f1ef; --text-2: #bdb8b4; --muted: #96918d; --line: rgba(255, 255, 255, .12);
    --inv-bg: #f3f1ef; --inv-text: #121110; --round-bg: #2a2726; --chip-bg: #1f1d1c;
    --topbar-bg: rgba(13, 12, 12, .82); --hero-left-bg: #161514; --hero-right-bg: #0b0a0a;
    --hero-stage-bg: #0b0a0a; --hero-ring: rgba(255, 255, 255, .05); --hero-shadow: 0 2px 18px rgba(0, 0, 0, .6);
    --badge-name: #f3f1ef; --nav-pill: rgba(255, 255, 255, .12); --final-bg: #0b0a0a; --final-title-2: #77726f;
    --input-bg: #0d0c0c; --footer-bg: #080707; --shadow: rgba(0, 0, 0, .5); --shadow-soft: rgba(0, 0, 0, .3);
    --shadow-strong: rgba(0, 0, 0, .7); --section-shadow: rgba(0, 0, 0, .5); --deck-shadow: rgba(0, 0, 0, .45);
    --tbc-text: #f2c94c; --ok: #7fd99a; --err: #ff8a8f; --on-light: none; --on-dark: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0c0c; --surface: #1a1817; --surface-alt: #141312; --surface-soft: #111010;
  --text: #f3f1ef; --text-2: #bdb8b4; --muted: #96918d; --line: rgba(255, 255, 255, .12);
  --inv-bg: #f3f1ef; --inv-text: #121110; --round-bg: #2a2726; --chip-bg: #1f1d1c;
  --topbar-bg: rgba(13, 12, 12, .82); --hero-left-bg: #161514; --hero-right-bg: #0b0a0a;
  --hero-stage-bg: #0b0a0a; --hero-ring: rgba(255, 255, 255, .05); --hero-shadow: 0 2px 18px rgba(0, 0, 0, .6);
  --badge-name: #f3f1ef; --nav-pill: rgba(255, 255, 255, .12); --final-bg: #0b0a0a; --final-title-2: #77726f;
  --input-bg: #0d0c0c; --footer-bg: #080707; --shadow: rgba(0, 0, 0, .5); --shadow-soft: rgba(0, 0, 0, .3);
  --shadow-strong: rgba(0, 0, 0, .7); --section-shadow: rgba(0, 0, 0, .5); --deck-shadow: rgba(0, 0, 0, .45);
  --tbc-text: #f2c94c; --ok: #7fd99a; --err: #ff8a8f; --on-light: none; --on-dark: block;
  color-scheme: dark;
}

/* Transition douce pendant le changement de thème uniquement */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease, box-shadow .45s ease !important;
}
@media (prefers-reduced-motion: reduce) {
  .theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: none !important; }
}

/* Logos : version foncée en clair, version blanche en sombre */
.logo-on-light { display: var(--on-light); }
.logo-on-dark { display: var(--on-dark); }

/* Bouton de thème : interrupteur soleil / lune */
.theme-toggle {
  position: relative; flex: none;
  display: inline-flex; align-items: center; justify-content: space-between;
  width: 64px; height: 34px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface-soft); color: var(--muted);
}
.theme-toggle svg { position: relative; z-index: 1; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: color .3s; }
.theme-toggle__knob {
  position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); box-shadow: 0 2px 8px rgba(197, 16, 25, .4);
  transition: transform .4s var(--ease);
}
.theme-toggle .ico-sun { color: #fff; }
.theme-toggle[aria-checked="true"] .theme-toggle__knob { transform: translateX(30px); }
.theme-toggle[aria-checked="true"] .ico-sun { color: var(--muted); }
.theme-toggle[aria-checked="true"] .ico-moon { color: #fff; }
.theme-toggle:hover { border-color: var(--text); }
.hero__left .theme-toggle { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--s-body)/1.6 var(--f-body);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--inv-bg); color: var(--inv-text); padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 12px; }

/* ---------- Éléments communs ---------- */
.eyebrow {
  font: 600 .75rem/1.2 var(--f-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--light { color: rgba(255, 255, 255, .62); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.6em;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .875rem/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--paper); }
.btn--red:hover { background: var(--red-hot); }
.btn--ink { background: var(--inv-bg); color: var(--inv-text); }
.btn--outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--inv-bg); color: var(--inv-text); border-color: var(--inv-bg); }
.btn--sm { min-height: 38px; padding: 0 1.1em; font-size: .75rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .9rem; color: var(--muted); text-decoration: none;
}
.link-arrow::before { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover::before { transform: translateX(4px); }


.round-btn {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--round-bg); color: var(--text);
  box-shadow: 0 6px 20px var(--shadow);
  transition: transform .25s var(--ease), background-color .25s;
}
.round-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { transform: scale(1.08); }
.round-btn--glass { background: rgba(255, 255, 255, .14); color: var(--paper); backdrop-filter: blur(10px); box-shadow: none; border: 1px solid var(--line-light); }

/* Données à confirmer : balise visible et identifiable */
.tbc {
  display: inline-block; vertical-align: middle;
  margin-left: .4em; padding: .2em .55em;
  border: 1px dashed var(--tbc); border-radius: 6px;
  font: 600 .625rem/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--tbc-text); background: rgba(242, 183, 5, .12);
}
.ph { color: var(--muted); }

/* Révélations au scroll (activées seulement si JS) */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Barre compacte ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter) 10px;
  background: var(--topbar-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--text); box-shadow: 0 1px 0 var(--line);
  transform: translateY(-110%); transition: transform .5s var(--ease);
}
.topbar.is-visible { transform: none; }
/* le logo garde toujours ses proportions : jamais écrasé par les autres éléments de la barre */
.topbar__logo { flex: none; display: flex; align-items: center; }
.topbar__logo img { height: 38px; width: auto; max-width: none; flex: none; aspect-ratio: 655 / 322; object-fit: contain; }
/* même menu, même typographie que le menu du hero (pastille sur la page en cours) */
.topbar__nav, .hero__nav { display: flex; align-items: center; gap: 2px; font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.topbar__nav { margin-left: auto; }
.topbar__nav a, .hero__nav a { padding: 9px 12px; border-radius: 999px; text-decoration: none; opacity: .72; white-space: nowrap; transition: opacity .2s, background-color .2s; }
.topbar__nav a:hover, .hero__nav a:hover { opacity: 1; }
.topbar__nav a.is-current, .hero__nav a.is-current { background: var(--nav-pill); opacity: 1; }
.topbar__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: none; border-radius: 50%; position: relative; }
.topbar__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .3s; }
.topbar__burger span:first-child { top: 14px; } .topbar__burger span:last-child { top: 26px; }
/* trait du milieu : icône « menu » à trois traits reconnaissable */
.topbar__burger::after { content: ""; position: absolute; left: 12px; right: 12px; top: 20px; height: 2px; background: currentColor; transition: opacity .2s; }
.topbar__burger[aria-expanded="true"]::after { opacity: 0; }
.topbar__burger[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.topbar__burger[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); color: var(--text); display: grid; place-items: center; }
.menu nav { display: grid; gap: 18px; text-align: center; font: 800 1.6rem/1.1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.menu a { text-decoration: none; }

/* ---------- Pager vertical ---------- */
.pager {
  position: fixed; right: clamp(14px, 2vw, 30px); top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--text); pointer-events: none; transition: color .4s, background-color .4s;
  /* fond givré : le libellé reste lisible quand il passe sur une photo */
  padding: 16px 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pager a, .pager__dots { pointer-events: auto; }
.pager.is-dark { color: #fff; background: rgba(0, 0, 0, .28); }
.pager__label { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 .75rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.pager__line { width: 1px; height: 46px; background: currentColor; opacity: .4; }
.pager__num { writing-mode: vertical-rl; transform: rotate(180deg); font: 800 1.75rem/1 var(--f-display); font-stretch: 115%; }
.pager__dots { display: grid; gap: 0; }
/* point de 7 px, zone cliquable de 24 px (WCAG 2.5.8) */
.pager__dots a { display: block; box-sizing: content-box; width: 7px; height: 7px; padding: 8.5px; border-radius: 50%; background: currentColor; background-clip: content-box; opacity: .3; transition: opacity .3s, transform .3s; }
/* point actif plus grand, zone cliquable inchangée (24 px) */
.pager__dots a.is-current { opacity: 1; width: 10px; height: 10px; padding: 7px; }
.pager__scroll { display: grid; justify-items: center; gap: 8px; font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.pager__scroll i { width: 16px; height: 24px; border: 1.5px solid currentColor; border-radius: 10px; position: relative; writing-mode: horizontal-tb; }
.pager__scroll i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 5px; margin-left: -1px; background: currentColor; border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }

/* =========================================================================
   SLIDE 1 — HERO (bloc 1 : panneau clair à gauche, panneau foncé à droite,
   disque central chevauchant la séparation, titre vertical, 2e visuel)
   ========================================================================= */
.hero {
  position: sticky; top: 0; z-index: 0;
  display: grid; grid-template-columns: 44fr 56fr;
  min-height: max(640px, 100svh);
  overflow: hidden;
}
.hero__left {
  position: relative; z-index: 2;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: clamp(24px, 3vw, 40px) var(--gutter) calc(clamp(20px, 3vw, 32px) + 40px);
  background: var(--hero-left-bg);
}
.hero__logo img { width: clamp(130px, 12vw, 180px); height: auto; aspect-ratio: 655 / 322; object-fit: contain; }
.hero__intro { align-self: center; max-width: 25rem; display: grid; gap: 18px; padding-block: 40px; }
.hero__title {
  font-size: var(--s-hero); line-height: .92; font-weight: 400; font-stretch: 100%;
  text-transform: uppercase; letter-spacing: -.01em;
}
.hero__title strong { display: block; font-weight: 900; font-style: italic; font-stretch: 110%; color: var(--red); }
.hero__lead { color: var(--text-2); max-width: 26rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 6px; }

.hero__badge { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.hero__badge img { width: 92px; height: 92px; object-fit: cover; object-position: 50% 20%; border-radius: 50%; filter: grayscale(1) contrast(1.1); position: relative; z-index: 1; }
.hero__bubbles i { position: absolute; border-radius: 50%; background: var(--surface-alt); }
.hero__bubbles i:nth-child(1) { width: 30px; height: 30px; left: 78px; top: -10px; }
.hero__bubbles i:nth-child(2) { width: 16px; height: 16px; left: -12px; top: 8px; }
.hero__bubbles i:nth-child(3) { width: 22px; height: 22px; left: 82px; bottom: -2px; background: rgba(197, 16, 25, .2); }
.hero__badge figcaption { display: grid; line-height: 1.1; }
.hero__badge small { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__badge b { font: 900 1.9rem/1 var(--f-display); font-stretch: 118%; text-transform: uppercase; color: var(--badge-name); }
/* défilement des coachs (main.js) : fondu entre deux coachs */
.hero__badge img, .hero__badge figcaption { transition: opacity .25s; }
.hero__badge.is-swap img, .hero__badge.is-swap figcaption { opacity: 0; }

.hero__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; font-size: .8125rem; color: var(--muted); }
.hero__contact svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hero__contact a { display: grid; place-items: center; min-width: 32px; min-height: 32px; text-decoration: none; }
.hero__contact .hero__phone a { display: flex; gap: 8px; color: inherit; }
.hero__contact a:hover { color: var(--red); }
.hero__phone { display: flex; align-items: center; gap: 8px; user-select: all; }

.hero__right { position: relative; background: var(--hero-right-bg); color: var(--text); }
.hero__nav { position: absolute; top: clamp(24px, 3vw, 40px); right: calc(var(--gutter) + 24px); z-index: 4; }
.hero__nav { align-items: center; }
.hero__nav .theme-toggle { margin-left: 8px; }
.topbar .theme-toggle { margin-left: 4px; }

/* Scène centrale : le disque est centré sur la séparation des deux panneaux */
.hero__stage { position: absolute; top: 0; bottom: 0; left: 0; width: 64%; z-index: 3; pointer-events: none; background: var(--hero-stage-bg); }
.hero__disc, .hero__ring { position: absolute; left: 50%; top: 52%; border-radius: 50%; translate: -50% -50%; }
.hero__disc { width: min(52vw, 70vh, 600px); aspect-ratio: 1; background: radial-gradient(circle at 50% 38%, #b80f18, #7a0a11 55%, #3d0508); }
.hero__ring { width: min(80vw, 100vh, 900px); aspect-ratio: 1; border: clamp(30px, 5vw, 70px) solid var(--hero-ring); }
/* Thème clair : le panneau droit devient gris clair ; le personnage reste
   « détouré » par fusion screen, mais limité au disque rouge */
.hero__orb { position: absolute; inset: 0; --orb-r: min(26vw, 35vh, 300px); --orb-y: 52%; }
:root[data-theme="light"] .hero__orb { clip-path: circle(var(--orb-r) at 50% var(--orb-y)); }
:root[data-theme="light"] .hero__side { mix-blend-mode: normal; box-shadow: 0 20px 40px var(--shadow); }
@media not (prefers-color-scheme: dark) {
  :root:not([data-theme="dark"]) .hero__orb { clip-path: circle(var(--orb-r) at 50% var(--orb-y)); }
  :root:not([data-theme="dark"]) .hero__side { mix-blend-mode: normal; box-shadow: 0 20px 40px var(--shadow); }
}
.hero__figure {
  position: absolute; left: 50%; bottom: 0; width: min(34vw, 50vh, 440px); translate: -50% 0;
  mix-blend-mode: screen;
  opacity: 0; transform: translateY(30px) scale(.98); transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
.hero__figure.is-active { opacity: 1; transform: none; }
/* « détourage » optique : le fond noir des photos disparaît sur le disque */
.hero__figure img { width: 100%; height: auto; filter: contrast(1.3) brightness(1.25) saturate(1.1); }
.hero__vertical {
  position: absolute; left: calc(50% - min(17vw, 25vh, 250px)); top: 9%; z-index: 2;
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; gap: 10px; align-items: flex-end;
}
.hero__vertical b { font: 900 clamp(2.4rem, 4vw, 3.8rem)/.85 var(--f-display); font-stretch: 120%; letter-spacing: .02em; color: var(--text); }
.hero__vertical span { font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; white-space: nowrap; }

.hero__side {
  position: absolute; right: calc(var(--gutter) + 60px); top: 14%; width: clamp(120px, 13vw, 200px); z-index: 2;
  border-radius: 999px 999px 24px 24px; overflow: hidden; mix-blend-mode: screen;
}
.hero__side img { filter: contrast(1.2); }
.hero__scene-text {
  position: absolute; right: calc(var(--gutter) + 60px); bottom: clamp(36px, 8vh, 90px); z-index: 4;
  width: min(22rem, 32vw); display: grid; gap: 12px; text-shadow: var(--hero-shadow);
  /* panneau givré : le texte reste lisible quand il passe sur le disque rouge */
  padding: 20px 22px; border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--hero-right-bg) 84%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__scene-title { margin: 0; font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 300; line-height: .95; text-transform: uppercase; }
.hero__scene-title strong { font-weight: 900; font-stretch: 112%; }
.hero__scene-text p:not(.eyebrow):not(.hero__scene-title) { color: var(--text-2); font-size: .9375rem; }
.hero__scene-ctrl { display: flex; gap: 8px; }
.hero__scene-ctrl button { min-width: 44px; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--text); font-size: .75rem; opacity: .75; transition: all .3s; }
.hero__scene-ctrl button[aria-selected="true"] { background: var(--inv-bg); color: var(--inv-text); border-color: var(--inv-bg); opacity: 1; }
/* pause du défilement automatique des scènes (WCAG 2.2.2) */
.hero__scene-text { grid-template-columns: minmax(0, 1fr) auto; }
.hero__scene-text > :not(.hero__pause) { grid-column: 1 / -1; }
.hero__scene-text > .hero__scene-ctrl { grid-column: 1; }
/* plus de 5 scènes : 5 numéros visibles, défilement avec flèches (main.js) */
.hero__scene-text > .hero__scene-nav { grid-column: 1; grid-row: 4; }
.hero__scene-nav { display: flex; align-items: center; gap: 6px; min-width: 0; }
.hero__scene-ctrl.is-scroll { min-width: 0; max-width: calc(5 * 44px + 4 * 8px); overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.hero__scene-ctrl.is-scroll::-webkit-scrollbar { display: none; }
.hero__scene-ctrl.is-scroll button { flex: none; }
.hero__scene-arrow { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--text); cursor: pointer; transition: opacity .3s, background-color .3s; }
.hero__scene-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero__scene-arrow:hover { background: var(--inv-bg); color: var(--inv-text); }
.hero__scene-arrow[disabled] { opacity: .25; pointer-events: none; }
.hero__pause { grid-column: 2; grid-row: 4; align-self: center; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--text); }
.hero__pause svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero__pause .ico-play { display: none; fill: currentColor; stroke-width: 1.5; }
/* Écrans peu hauts (portable à 100 %, zoom Windows 125 %…) : le hero tient dans la hauteur de l'écran,
   sinon il s'allonge et le panneau des scènes (01, 02…) passe sous le bas de l'écran */
@media (min-width: 821px) and (max-height: 900px) {
  .hero__left { padding-top: clamp(16px, 3svh, 32px); padding-bottom: calc(clamp(12px, 2svh, 24px) + 32px); }
  .hero__logo img { width: clamp(110px, 16svh, 160px); }
  .hero__intro { gap: clamp(8px, 1.6svh, 16px); padding-block: clamp(8px, 2svh, 24px); }
  .hero__title { font-size: min(var(--s-hero), 8.5svh); }
  .hero__badge { margin-bottom: 8px; }
  .hero__badge img { width: 72px; height: 72px; }
  .hero__badge b { font-size: 1.6rem; }
  .hero__scene-text { bottom: clamp(16px, 4svh, 40px); gap: 8px; padding: 14px 18px; }
  .hero__scene-title { font-size: min(clamp(2rem, 3.4vw, 3.2rem), 6.5svh); }
  .hero__side { top: 12%; width: clamp(110px, 11vw, 170px); }
}
.hero__pause[aria-pressed="true"] .ico-pause { display: none; }
.hero__pause[aria-pressed="true"] .ico-play { display: block; }

/* =========================================================================
   SLIDE 2 — BENTO (bloc 2 : grands panneaux blancs très arrondis sur fond gris,
   grille de caractéristiques label/valeur, pastilles, hotspots « + »)
   ========================================================================= */
.bento {
  position: relative; z-index: 2;
  background: var(--surface-alt);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: -40px;
  padding: clamp(16px, 2vw, 28px);
  box-shadow: 0 -30px 60px var(--section-shadow);
  scroll-margin-top: 58px;
}
/* Une seule « feuille » : titre et chiffres clés en haut, photo du plateau
   et colonne « espace détente » en dessous, sur deux colonnes égales. */
.bento__sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  /* hauteur minimale (et non fixe) : la rangée grandit si la carte horaires + contact a besoin de place */
  grid-template-rows: auto minmax(clamp(400px, min(40vw, 60svh), 620px), auto);
  grid-template-areas:
    "head specs"
    "main mid";
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.bento__head { grid-area: head; padding: clamp(28px, 3.4vw, 52px) clamp(24px, 3.4vw, 60px) clamp(20px, 2.4vw, 36px); }
.bento__title { font-size: clamp(2.8rem, 5vw, 5.4rem); line-height: .98; font-weight: 500; letter-spacing: -.035em; }
.bento__icon { display: inline-block; height: .74em; width: auto; vertical-align: -.04em; margin-right: .1em; }

/* Chiffres clés en tuiles : 2, 4 ou 6 chiffres remplissent la grille sans trou */
.bento__specs {
  grid-area: specs; margin: clamp(16px, 2vw, 28px) clamp(16px, 2vw, 28px) 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 10px;
  padding: 10px;
  background: var(--surface-alt);
  border-radius: var(--r-xl);
}
.bento__specs:has(> div:nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bento__specs > div {
  display: grid; align-content: start; gap: 6px;
  padding: clamp(14px, 1.6vw, 22px) clamp(16px, 1.8vw, 24px);
  border-radius: var(--r-lg); background: var(--surface);
}
/* un nombre impair de chiffres : le dernier prend toute la largeur */
.bento__specs:not(:has(> div:nth-child(5))) > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.bento__specs dt { font-size: .8125rem; color: var(--muted); }
.bento__specs dd { margin: 0; font: 700 clamp(1.2rem, 1.7vw, 1.6rem)/1.15 var(--f-display); font-stretch: 108%; font-variant-numeric: tabular-nums; }
.bento__specs dd.tbc { justify-self: start; margin: 2px 0 0; font: 600 .625rem/1.2 var(--f-body); }

.bento__main { grid-area: main; min-height: 0; padding: clamp(8px, 1vw, 16px) clamp(10px, 1.2vw, 16px) clamp(24px, 2.8vw, 44px) clamp(24px, 3.4vw, 60px); }
.bento__product { position: relative; height: 100%; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); }
.bento__product img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }   /* la photo remplit son cadre sans imposer sa hauteur à la rangée */

.bento__middle {
  grid-area: mid; min-height: 0;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(16px, 2vw, 28px);
  padding: clamp(8px, 1vw, 16px) clamp(24px, 3.4vw, 60px) clamp(24px, 2.8vw, 44px) clamp(10px, 1.2vw, 16px);
}
.bento__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bento__wide { position: relative; min-height: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.bento__wide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* étiquette logée dans une encoche blanche, coin bas droit (comme « • Smart Screen ») */
.bento__wide figcaption {
  position: absolute; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 6px 4px 18px; border-top-left-radius: 20px;
  background: var(--surface); font-weight: 600; font-size: clamp(.875rem, 1.1vw, 1rem);
}
.bento__wide figcaption i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
/* Carte « Horaires & contact » (à la place de la photo de l'espace détente) : fond sombre, accents rouges */
.bento-info {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 36px); align-content: start;
  align-self: start; height: max-content; padding: clamp(16px, 1.8vw, 26px); background: radial-gradient(90% 120% at 100% 0%, rgba(197, 16, 25, .35), transparent 60%), var(--ink); color: #fff;
}
.bento-info__col { display: grid; align-content: start; gap: 8px; min-width: 0; }
.bento-info__label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.bento-info__label i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(197, 16, 25, .25); }
.bento-info__open { font: 800 clamp(1rem, 1.3vw, 1.2rem)/1.1 var(--f-display); text-transform: uppercase; }
.bento-info__hours { display: grid; gap: 2px; }
.bento-info__hours li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 10px; margin-inline: -10px; border-radius: 10px; font-size: .8125rem; color: rgba(255, 255, 255, .78); }
.bento-info__hours b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bento-info__hours li.is-today { background: var(--red); color: #fff; }
.bento-info__hours li.is-today span::after { content: " · aujourd'hui"; font-size: .6875rem; opacity: .85; }
.bento-info svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bento-info__tel { display: flex; align-items: center; gap: 10px; font: 900 clamp(1.25rem, 1.8vw, 1.7rem)/1 var(--f-display); font-stretch: 110%; color: #fff; text-decoration: none; }
.bento-info__tel svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--red); stroke-width: 2; }
.bento-info__tel:hover span { color: var(--red); }
/* lignes e-mail, adresse, itinéraire : icône rouge + texte */
.bento-info__line { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; line-height: 1.5; color: rgba(255, 255, 255, .85); text-decoration: none; overflow-wrap: anywhere; }
.bento-info__line svg { margin-top: 3px; color: var(--red); }
a.bento-info__line:hover span { color: #fff; text-decoration: underline; }
.bento-info__route { font-weight: 600; color: #fff; }
.bento-info__social { display: flex; gap: 8px; margin-top: 2px; }
.bento-info__social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: background-color .25s, border-color .25s; }
.bento-info__social a:hover { background: var(--red); border-color: var(--red); }
@media (max-width: 560px) { .bento-info { grid-template-columns: minmax(0, 1fr); } }
.bento__statement { font: 500 clamp(1.15rem, 1.7vw, 1.6rem)/1.75 var(--f-display); letter-spacing: -.01em; max-width: 26em; }
.pill { display: inline-block; padding: 0 .6em; line-height: 1.55; border-radius: 999px; font-weight: 700; }
.pill--line { border: 2px solid var(--text); }
.pill--fill { background: var(--red); color: #fff; }


.hotspot {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background-color .3s;
}
.hotspot::before, .hotspot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ink); transition: transform .3s; }
.hotspot::after { transform: rotate(90deg); }
.hotspot:hover { transform: scale(1.1); }
.hotspot[aria-expanded="true"] { background: var(--red); }
.hotspot[aria-expanded="true"]::before, .hotspot[aria-expanded="true"]::after { background: var(--paper); }
.hotspot[aria-expanded="true"]::after { transform: rotate(0); }
.hotspot em {
  position: absolute; left: 50%; top: calc(100% + 10px); translate: -50% 0;
  white-space: nowrap; padding: 7px 12px; border-radius: 999px;
  background: var(--chip-bg); color: var(--text); font: 600 .8125rem/1 var(--f-body);
  opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .25s, transform .25s;
}
.hotspot[aria-expanded="true"] em { opacity: 1; transform: none; }
.hotspot::marker { content: none; }

/* =========================================================================
   SLIDE 3 — STUDIOS (bloc 3 : nav en pilules, rail de cartes à flèches avec
   étiquettes givrées, grand titre, grand visuel avec pastilles 01/02/03)
   ========================================================================= */
.studios {
  position: relative; z-index: 2; background: var(--surface-soft);
  display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: 0;
  padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(48px, 6vw, 80px);
  min-height: 100svh;
}
.studios__left { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: clamp(20px, 3vw, 36px); padding-right: 0; min-width: 0; }
.studios__tabs { display: inline-flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; gap: 4px; justify-self: start; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: 0 4px 18px var(--shadow-soft); }
.studios__tabs button { flex: none; border: 0; background: none; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .9375rem; color: var(--text-2); transition: background-color .3s, color .3s; }
.studios__tabs button[aria-selected="true"] { background: var(--inv-bg); color: var(--inv-text); }

/* Le rail déborde sur le visuel de droite, comme dans la référence */
.cards-rail {
  position: relative; min-width: 0; margin-right: clamp(-220px, -14vw, -60px);
  padding: 14px; border-radius: 0 var(--r-lg) var(--r-lg) 0;
  background: var(--surface-soft);
}
.cards-rail__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding: 2px; }
.cards-rail__track::-webkit-scrollbar { display: none; }
.cards-rail__track li { flex: 0 0 clamp(150px, 15vw, 210px); scroll-snap-align: start; }
.course-card {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 4.6; padding: 0; border: 0; overflow: hidden;
  border-radius: var(--r-md); background: var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.course-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: saturate(.85); }
.course-card:hover img { transform: scale(1.07); }
.course-card span {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  padding: 9px 10px; border-radius: 999px; text-align: center;
  background: rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--paper); font-size: .8125rem; font-weight: 600;
}
.course-card.is-active { box-shadow: 0 0 0 3px var(--red); }
.course-card.is-active span { background: var(--red); }
.cards-rail .round-btn { position: absolute; top: 50%; z-index: 2; translate: 0 -50%; }
.cards-rail__prev { left: 0; } .cards-rail__next { right: 0; }
.cards-rail .round-btn[disabled] { opacity: 0; pointer-events: none; }

.studios__copy { align-self: end; display: grid; gap: 18px; max-width: 34rem; padding-bottom: 10px; }
.studios__title { font-size: clamp(3rem, 6.2vw, 6rem); line-height: .95; font-weight: 400; letter-spacing: -.04em; }
.studios__desc { font: 600 .8125rem/1.45 var(--f-body); text-transform: uppercase; letter-spacing: .02em; max-width: 26rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border: 1.5px solid var(--text); border-radius: 999px; font-size: .75rem; font-weight: 600; }

.studios__right { position: relative; min-height: clamp(520px, 80vh, 860px); min-width: 0; }
.studios__notch {
  position: absolute; top: 0; right: 0; z-index: 3;
  border: 10px solid var(--surface-soft); box-sizing: content-box; border-radius: 999px; min-height: 48px;
}
.studios__visual {
  position: absolute; inset: 0 0 0 0; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(160deg, var(--red-hot), var(--red-deep));
}
.studios__visual img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .92; transition: opacity .5s, transform 1.2s var(--ease); }
.studios__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .45)); }
.studios__visual.is-swapping img { opacity: 0; transform: scale(1.05); }
/* en ligne, en bas à gauche du visuel : ne recouvre plus le rail de cartes */
.studios__nums { position: absolute; left: 22px; bottom: 22px; z-index: 3; display: grid; grid-auto-flow: column; gap: 10px; }
.studios__nums button {
  width: 46px; height: 64px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .08); color: var(--paper); font-size: .8125rem; font-weight: 600; backdrop-filter: blur(6px);
}
.studios__nums button[aria-current="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--chip-bg); color: var(--text); font-weight: 600; font-size: .875rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); transition: transform .5s var(--ease), opacity .4s; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--text); }
.chip--a { right: 8%; top: 30%; }
.chip--b { right: 16%; bottom: 14%; }
.chip--b i { background: var(--red); }
.studios__visual.is-swapping ~ .chip { opacity: 0; transform: translateY(8px); }

/* =========================================================================
   SLIDE 4 — TECHNOGYM (bloc 4 : produit au centre, arcs d'options à gauche et
   à droite, flèches de rotation, vignettes, ligne prix/achat → marque/CTA)
   ========================================================================= */
.gear {
  --gear-h: clamp(240px, calc(100svh - 505px), 470px);   /* hauteur de la photo : la slide tient dans l'écran */
  position: relative; z-index: 2; background: var(--bg); text-align: center;
  min-height: 100svh; display: grid; align-content: center;
  padding: clamp(84px, 10svh, 112px) var(--gutter) clamp(28px, 4svh, 48px);
}
.gear__title { font: 800 clamp(1.6rem, 2.6vw, 2.3rem)/1.05 var(--f-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; }
.gear__sub { margin-top: 8px; color: var(--text-2); }
.gear__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: clamp(12px, 3vw, 40px); margin-top: clamp(20px, 3svh, 36px); }
.arc { position: relative; height: max(calc(var(--gear-h) + 60px), 340px); }
.arc__line { position: absolute; top: 0; bottom: 0; width: 120px; height: 100%; fill: none; stroke: var(--text); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .35; }
.arc--left .arc__line { right: 0; }
.arc--right .arc__line { left: 0; }
.arc__item {
  position: absolute; display: flex; align-items: center; gap: 14px;
  border: 0; background: none; padding: 4px; translate: 0 -50%; color: var(--text);
  font: 600 1.05rem/1.15 var(--f-body); white-space: nowrap; transition: opacity .3s, transform .3s var(--ease);
}
.arc--left .arc__item { right: var(--off, 0px); flex-direction: row; text-align: right; }
.arc--right .arc__item { left: var(--off, 0px); text-align: left; font-size: .9375rem; }
.arc__item i {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--inv-bg); color: var(--inv-text); font: 700 .75rem/1 var(--f-display); font-style: normal; letter-spacing: .04em;
  transition: background-color .3s, color .3s, transform .3s var(--ease), box-shadow .3s;
}
/* Pastilles photo de la liste de droite : taille fixe, image éclaircie, anneau rouge sur la machine affichée */
.arc__swatch { position: relative; --sw: clamp(38px, calc(max(var(--gear-h) + 60px, 340px) * .126 - 6px), 52px); width: var(--sw); height: var(--sw); flex: none; border-radius: 50%; overflow: hidden; background: var(--ink); border: 2px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.arc__swatch img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.75) contrast(1.1) saturate(1.1); }
.arc__item:hover .arc__swatch { transform: scale(1.08); }
.arc__item.is-active .arc__swatch { border-color: var(--red); box-shadow: 0 0 0 4px rgba(197, 16, 25, .25); }
.arc__item i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arc__item:hover i { transform: scale(1.1); }
.arc__item.is-active i, .arc--right .arc__item.is-active i { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 0 0 6px rgba(197, 16, 25, .18); }
.arc__item small { display: block; margin-top: 2px; font-size: .75rem; font-weight: 400; color: var(--muted); }
.arc--right .arc__item:not(.in-cat) > span:last-child { opacity: .62; }
.arc--right .arc__item:hover { opacity: 1; }
.arc__item.is-active span { font-weight: 700; }

.gear__center { display: grid; justify-items: center; gap: 14px; min-width: 0; }
.gear__stage { position: relative; width: 100%; display: grid; place-items: center; touch-action: pan-y; }
.gear__photo { height: var(--gear-h); aspect-ratio: 3 / 4; max-width: calc(100% - 120px); border-radius: var(--r-xl); overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -30px var(--shadow-strong); }
.gear__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: opacity .45s, transform .7s var(--ease); }
.gear__photo.is-out-left img { opacity: 0; transform: translateX(-50px) rotateY(18deg); }
.gear__photo.is-out-right img { opacity: 0; transform: translateX(50px) rotateY(-18deg); }
.gear__turn { position: absolute; top: 50%; translate: 0 -50%; }
.gear__turn--prev { left: 0; } .gear__turn--next { right: 0; }
/* Vignettes : photo éclaircie + nom de la machine lisible */
.gear__thumbs { display: flex; justify-content: center; gap: 10px; }
.gear__thumbs button {
  position: relative; width: 112px; height: 60px; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--ink); color: #fff; transition: transform .3s var(--ease), border-color .3s;
}
.gear__thumbs button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8) 15%, rgba(0, 0, 0, .1) 75%); }
.gear__thumbs button:hover { transform: translateY(-3px); border-color: var(--red); }
.gear__thumbs img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.35) contrast(1.05); }
.gear__thumbs b { position: absolute; left: 8px; right: 8px; bottom: 6px; z-index: 1; font: 600 .6875rem/1.15 var(--f-body); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gear__info { max-width: 32rem; display: grid; gap: 6px; }
.gear__info h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); font-weight: 800; font-stretch: 108%; text-transform: uppercase; }
.gear__info p:not(.eyebrow) { color: var(--text-2); font-size: .9375rem; line-height: 1.5; }
.gear__buy { display: flex; align-items: center; gap: 24px; }
.gear__brand { font: 900 1.25rem/1 var(--f-display); font-stretch: 125%; letter-spacing: .04em; }

/* =========================================================================
   SLIDE 5 — COACHS (bloc 5 : coverflow 3D, cartes à cartouche givré)
   ========================================================================= */
.coaches {
  position: relative; z-index: 2; overflow: hidden; color: var(--paper);
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(0, 0, 0, .55), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, var(--red) 0%, #8c0b12 45%, var(--red-deep) 75%, #1a0204 100%);
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 70px);
}
.coaches__head { text-align: center; padding-inline: var(--gutter); display: grid; gap: 8px; }
.coaches__head h2 { font-size: var(--s-h2); font-weight: 900; font-stretch: 118%; text-transform: uppercase; line-height: .9; }
.flow { position: relative; height: clamp(460px, 44vw, 680px); perspective: 1400px; margin-top: clamp(24px, 3vw, 40px); outline-offset: -6px; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.flow__track { position: absolute; inset: 0; transform-style: preserve-3d; }
.flow__card {
  position: absolute; left: 50%; top: 50%;
  width: clamp(220px, 21vw, 380px); margin-left: calc(clamp(220px, 21vw, 380px) / -2);
  translate: 0 -50%;
  border-radius: 26px; padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .12));
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  transition: transform .7s var(--ease), opacity .5s, filter .5s;
  cursor: pointer; user-select: none;
}
.flow__card img { width: 100%; aspect-ratio: 3 / 3.6; object-fit: cover; object-position: 50% 18%; border-radius: 20px; pointer-events: none; }
.flow__cap {
  margin-top: 8px; padding: 14px 12px 16px; border-radius: 20px; text-align: center;
  background: linear-gradient(180deg, rgba(60, 50, 48, .78), rgba(20, 18, 18, .78)); backdrop-filter: blur(8px);
}
.flow__cap b { display: block; font: 700 clamp(1.05rem, 1.6vw, 1.4rem)/1.15 var(--f-display); }
.flow__cap span { display: block; margin-top: 4px; font-size: .9rem; color: rgba(255, 255, 255, .62); }
/* seule la carte au centre affiche son nom : les légendes ne se chevauchent plus */
.flow__cap { transition: opacity .4s; }
.flow__card:not(.is-active) .flow__cap { opacity: 0; }
.flow__ctrl { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 10px; }
.flow__count { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .7); min-width: 5em; text-align: center; }
.flow__count b { color: var(--paper); }

/* =========================================================================
   SLIDE 6 — AMBIANCE (bloc 6 : texte à gauche, images arrondies à droite ;
   ici 5 photos en colonne révélées au scroll)
   ========================================================================= */
.vibe {
  position: relative; z-index: 2; background: var(--surface-soft);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 80px);
  padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(30px, 4vw, 50px);
}
.vibe__sticky { position: sticky; top: 18vh; display: grid; gap: 22px; max-width: 30rem; justify-items: start; }
.vibe h2 { font: 400 clamp(2.4rem, 4.6vw, 4.4rem)/1 var(--f-display); letter-spacing: -.035em; }
.vibe h2 em { font-style: normal; color: var(--red); font-weight: 700; }
.vibe__sticky > p { color: var(--text-2); }
.vibe__quote { padding-left: 16px; border-left: 3px solid var(--red); font-size: .9375rem; }
.vibe__photos { display: grid; gap: clamp(16px, 2vw, 28px); padding-right: clamp(20px, 3vw, 50px); }
.vibe__ph { position: relative; }
.vibe__ph:nth-child(even) { margin-left: clamp(0px, 8vw, 120px); }
.vibe__ph:nth-child(odd) { margin-right: clamp(0px, 8vw, 120px); }
.vibe__ph figure { position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 4 / 5; background: var(--ink); }
.vibe__ph:last-child figure { aspect-ratio: 16 / 9; }
.vibe__ph img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.vibe__ph figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: var(--chip-bg); color: var(--text); font-size: .8125rem; font-weight: 600; }
/* Révélation : rideau qui s'ouvre du bas vers le haut, piloté par --p (0 → 1) */
.js .vibe__ph figure { clip-path: inset(calc((1 - var(--p, 1)) * 100%) 0 0 0 round var(--r-xl)); }
.js .vibe__ph img { transform: translateY(calc((1 - var(--p, 1)) * 8%)) scale(calc(1 + (1 - var(--p, 1)) * .15)); }
.vibe__bridge { grid-column: 1 / -1; text-align: center; font: 700 clamp(1.1rem, 1.8vw, 1.5rem)/1.2 var(--f-display); padding-top: clamp(40px, 5vw, 70px); }

/* =========================================================================
   SLIDE 7 — CONVERSION (bloc 7 : titre capitales très gras bicolore, cartes
   superposées en éventail, bouton pilule « start now »)
   ========================================================================= */
.final {
  position: relative; z-index: 2; background: var(--final-bg); color: var(--text);
  box-shadow: 0 -30px 60px var(--section-shadow);
  border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: -1px;
  padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(56px, 7vw, 100px);
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(24px, 3vw, 40px); text-align: center;
}
.final__title { max-width: 18em; font: 900 clamp(1.9rem, 4.2vw, 4rem)/1.02 var(--f-display); font-stretch: 122%; text-transform: uppercase; letter-spacing: -.01em; }
.final__title span { color: var(--final-title-2); }
.final__lead { max-width: 38rem; color: var(--text-2); }

/* Quatre cartes côte à côte, toutes lisibles (plus d'accordéon qui coupait les titres) */
.deck { display: flex; width: min(100%, 1180px); height: clamp(320px, 30vw, 400px); text-align: left; }
.deck__card {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  margin-left: -36px; padding: clamp(22px, 2.4vw, 34px); border-radius: var(--r-lg);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  box-shadow: -18px 0 40px var(--deck-shadow);
  transition: flex-grow .7s var(--ease), transform .5s var(--ease);
  cursor: pointer; outline-offset: -4px;
}
.deck__card:first-child { margin-left: 0; }
.deck__card h3 { font: 900 clamp(1.4rem, 2.4vw, 2.3rem)/.98 var(--f-display); font-stretch: 118%; text-transform: uppercase; white-space: nowrap; }
.deck__card p { max-width: min(26rem, 55%); font-size: .9375rem; opacity: 0; transform: translateY(10px); transition: opacity .4s .1s, transform .5s var(--ease); }
.deck__card img { position: absolute; right: 24px; bottom: 24px; width: 38%; max-width: 260px; border-radius: 16px; opacity: 0; transition: opacity .5s; }
.deck__card.is-open { flex-grow: 2.6; }
.deck__card.is-open p, .deck__card.is-open img { opacity: 1; transform: none; }
.deck__card--red { background: var(--red); color: #fff; }
.deck__card--light { background: #e3e1df; color: #121110; }
.deck__card--dark { background: #2a2726; color: #fff; }
.deck__card--black { background: #050505; color: #fff; border: 1px solid rgba(255, 255, 255, .08); }

.btn-start {
  display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 28px; min-height: 56px;
  border-radius: 999px; background: linear-gradient(180deg, var(--red-hot), var(--red));
  color: #fff; text-decoration: none; font: 800 .9375rem/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: .04em;
  box-shadow: 0 10px 40px rgba(197, 16, 25, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.btn-start:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(197, 16, 25, .6); }
.btn-start i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--red); }
.btn-start svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

.trial {
  width: min(100%, 920px); margin-top: clamp(20px, 3vw, 40px); text-align: left;
  display: grid; gap: 22px; padding: clamp(22px, 3.4vw, 44px);
  border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px var(--shadow-strong);
  scroll-margin-top: 90px;
}
.trial__intro { display: grid; gap: 8px; }
.trial__intro h3 { font-size: var(--s-h3); font-weight: 800; font-stretch: 110%; text-transform: uppercase; }
.trial__intro p { color: var(--text-2); }
.trial__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.trial label { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 3px; row-gap: 6px; font-size: .8125rem; color: var(--text-2); }
.trial input, .trial select {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--input-bg); color: var(--text); font: inherit; font-size: 1rem;
}
.trial input:focus, .trial select:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.trial input[aria-invalid="true"] { border-color: var(--red-hot); }
.trial__check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; }
.trial__check input { width: 24px; min-height: 24px; height: 24px; margin-top: 0; accent-color: var(--red); flex: none; }
.trial__star { color: var(--red); font-weight: 700; }
.trial__req { font-size: .8125rem; }
.trial__req span { color: var(--red); font-weight: 700; }
.trial .btn { justify-self: center; }
.trial__msg { min-height: 1.5em; font-size: .9375rem; }
.trial__msg.is-ok { color: var(--ok); }
.trial__msg.is-err { color: var(--err); }

/* ---------- Footer ---------- */
.footer {
  position: relative; z-index: 2; background: var(--footer-bg); color: var(--text-2);
  display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 32px;
  padding: clamp(40px, 5vw, 70px) var(--gutter) calc(30px + env(safe-area-inset-bottom, 0px));
  font-size: .9375rem;
}
.footer__logo { width: 170px; height: auto; aspect-ratio: 655 / 322; object-fit: contain; }
.footer h3 { font: 700 .75rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 12px; }
.footer p { line-height: 1.7; }
.footer__tel { user-select: all; color: var(--text); font-weight: 600; }
.footer__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
  .topbar__nav { display: none; }
  .topbar__burger { display: block; }
  .topbar .theme-toggle { margin-left: auto; }
  .bento__sheet {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto minmax(clamp(340px, 52vw, 520px), auto);
    grid-template-areas: "head head" "specs specs" "main mid";
  }
  .bento__specs { margin: 0 clamp(16px, 3vw, 40px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento__specs:has(> div:nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento__main { padding-top: clamp(16px, 2vw, 28px); }
  .bento__middle { padding-top: clamp(16px, 2vw, 28px); }
  .studios { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cards-rail { margin-right: 0; border-radius: var(--r-lg); }
  .studios__right { min-height: 70vh; }
  .footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .pager { display: none; }
  .hero { position: relative; grid-template-columns: 1fr; min-height: 0; }
  .hero__left { grid-template-rows: auto auto auto; gap: 8px; }
  .hero__intro { padding-block: 28px 20px; }
  .hero__badge { display: none; }
  .hero__right { min-height: 125vw; max-height: 820px; }
  .hero__nav { display: none; }
  .hero__stage { width: 100%; transform: none; }
  .hero__disc { width: 86vw; top: 40%; }
  .hero__orb { --orb-r: 43vw; --orb-y: 40%; }
  .hero__left .theme-toggle { display: inline-flex; position: absolute; top: 24px; right: var(--gutter); }
  .hero__nav .theme-toggle { display: none; }
  .hero__ring { width: 120vw; top: 40%; }
  .hero__figure { width: 66vw; bottom: auto; top: 6%; }
  .hero__vertical { left: auto; right: 16px; bottom: auto; top: 10%; }
  .hero__vertical b { font-size: 2.6rem; }
  .hero__side { display: none; }
  .hero__scene-text { left: var(--gutter); right: var(--gutter); width: auto; bottom: 22px; }
  .bento { margin-top: 0; padding: 12px; }
  .bento__sheet { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "specs" "main" "mid"; }
  .bento__specs, .bento__specs:has(> div:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 12px; padding: 8px; gap: 8px; }
  .bento__main { padding: 20px 16px 0; }
  .bento__product { height: auto; aspect-ratio: 1 / 1.05; }
  .bento__middle { padding: 20px 16px 24px; grid-template-rows: none; }
  .bento__wide:not(.bento-info) { aspect-ratio: 16 / 9; }
  .gear__layout { grid-template-columns: minmax(0, 1fr); }
  .arc { height: auto; }
  .arc__line { display: none; }
  .arc--left, .arc--right { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 10px; }
  .arc--left { justify-content: center; order: -1; }
  .arc__item { position: static; translate: none; flex: none; flex-direction: column !important; text-align: center !important; gap: 6px; font-size: .8125rem; }
  .arc--right .arc__item { width: 84px; }
  .gear { min-height: 0; padding-top: clamp(56px, 7vw, 100px); --gear-h: min(110vw, 440px); }
  .gear__photo { max-width: calc(100% - 20px); }
  .arc--right .arc__item { white-space: normal; }
  .arc--right .arc__item:not(.in-cat) > span:last-child { opacity: .62; }
  .bento__product { aspect-ratio: 4 / 3 !important; }
  .vibe { grid-template-columns: minmax(0, 1fr); }
  .vibe__sticky { position: static; }
  .vibe__ph:nth-child(n) { margin: 0; }
  .vibe__photos { padding-right: 0; }
  .studios { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(18px, 4vw, 36px); row-gap: clamp(10px, 1.8svh, 18px); align-items: center; min-height: 0; padding-block: clamp(12px, 2svh, 22px); }
  .studios__left { display: contents; }
  .studios__tabs, .cards-rail { grid-column: 1 / -1; }
  .studios__tabs { padding: 4px; }
  .studios__tabs button { padding: 8px 14px; font-size: .8125rem; }
  .cards-rail { margin-right: 0; padding: clamp(4px, 1svh, 8px); border-radius: var(--r-lg); }
  .cards-rail__track { --rail-gap: clamp(8px, 1.2vw, 14px); gap: var(--rail-gap); padding: 3px; }
  .cards-rail__track li { flex: 0 0 calc((100% - 2 * var(--rail-gap)) / 3); min-width: 0; }
  .cards-rail .round-btn { width: 34px; height: 34px; }
  .course-card { aspect-ratio: 4 / 3.6; max-height: clamp(128px, 21svh, 175px); }
  .course-card img { object-position: center 22%; }
  .course-card span { left: 6px; right: 6px; bottom: 6px; padding: 5px 8px; font-size: clamp(.625rem, 1.5vw, .75rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .studios__copy { align-self: center; gap: clamp(8px, 1.5svh, 14px); padding: clamp(4px, 1svh, 10px) clamp(4px, 1vw, 10px); }
  .studios__title { font-size: clamp(1.35rem, 4.2vw, 2.3rem); line-height: 1.02; overflow-wrap: break-word; }
  .studios__desc { font-size: clamp(.625rem, 1.5vw, .72rem); line-height: 1.42; }
  .studios__copy .eyebrow { font-size: clamp(.6rem, 1.3vw, .7rem); }
  .studios__copy .tags { gap: 6px; margin-top: 0; }
  .studios__copy .tags li { padding: 4px 9px; font-size: clamp(.6rem, 1.3vw, .6875rem); }
  .studios__right { min-height: clamp(235px, 42svh, 350px); max-height: 48svh; height: 100%; align-self: stretch; margin-block: 0; }
  .deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; gap: clamp(10px, 2.5vw, 14px); }
  .deck__card { flex: none; margin-left: 0; min-height: 0; padding: clamp(14px, 3vw, 20px); border-radius: var(--r-md); justify-content: flex-start; gap: 10px; box-shadow: none; }
  .deck__card h3 { font-size: clamp(.95rem, 3.6vw, 1.3rem); line-height: 1.05; white-space: normal; overflow-wrap: break-word; }
  .deck__card p { font-size: clamp(.72rem, 2.4vw, .85rem); line-height: 1.4; opacity: 1; transform: none; max-width: none; }
  .deck__card img { display: none; }
  .trial { margin-top: clamp(14px, 2.2vw, 24px); gap: clamp(10px, 1.8svh, 14px); padding: clamp(16px, 2.4svh, 24px) clamp(16px, 3vw, 24px); scroll-margin-top: 76px; }
  .trial__intro { gap: 4px; }
  .trial__intro h3 { font-size: clamp(1.1rem, 4vw, 1.4rem); line-height: 1.1; }
  .trial__intro p { font-size: clamp(.78rem, 2.4vw, .88rem); line-height: 1.35; }
  .trial__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1.4svh, 12px) clamp(10px, 2vw, 14px); }
  .trial label { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 3px; row-gap: 4px; font-size: .75rem; }
  .trial input, .trial select { min-height: clamp(38px, 5svh, 42px); padding: 0 12px; border-radius: 12px; font-size: .8125rem; }
  .trial__check { flex-wrap: nowrap; gap: 8px !important; font-size: .72rem; line-height: 1.35; }
  .trial__check input { width: 18px; min-height: 18px; height: 18px; margin-top: 2px; }
  .trial__req { font-size: .75rem; }
  .trial .btn { min-height: clamp(40px, 5.2svh, 44px); padding: 8px 22px; font-size: .8125rem; }
  .trial__msg { min-height: 1.2em; font-size: .875rem; }
  .trial__msg:empty { display: none; }
  .footer { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .final__title { font-size: 1.6rem; font-stretch: 104%; }
  .deck__card h3 { white-space: normal; }
  .studios__tabs button { padding: 7px 12px; font-size: .78rem; }
  .studios__nums { left: 12px; }
  .studios__nums button { width: 38px; height: 50px; }
  .chip { padding: 9px 14px; font-size: .75rem; }
  .flow__card { width: 230px; margin-left: -115px; }
  .gear__buy { flex-direction: column; gap: 12px; }
  .btn-start { font-size: .8125rem; padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .vibe__ph figure { clip-path: none; }
  .js .vibe__ph img { transform: none; }
}

/* =========================================================================
   PAGE « NOS COACHS » (coachs.html) — référence « Crafted for the modern man » :
   panneau doux très arrondi, titre à gauche, texte à droite, rangée de grands
   portraits arrondis dont un déployé, pastille ronde + libellé sous chaque carte,
   le libellé de la carte active devient une pilule pleine.
   ========================================================================= */
.page-coachs { background: var(--surface-soft); }
.page-coachs .footer { margin-top: 0; }
.coaches__more { display: flex; justify-content: center; margin-top: 22px; }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn--glass:hover { background: #fff; color: var(--red); border-color: #fff; }

.crew { padding: calc(86px + env(safe-area-inset-top, 0px)) var(--gutter) clamp(40px, 5vw, 72px); }
.crew__panel {
  --card-h: clamp(360px, calc(100svh - 440px), 540px);
  --gap: clamp(10px, 1.2vw, 18px);
  max-width: 1360px; margin-inline: auto;
  padding: clamp(24px, 3.4vw, 52px) clamp(18px, 3.4vw, 52px) clamp(22px, 2.6vw, 36px);
  background: var(--surface); border-radius: var(--r-xl);
  box-shadow: 0 30px 80px -40px var(--shadow-strong), 0 0 0 1px var(--line);
}
.crew__crumbs { display: flex; gap: 8px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.crew__crumbs a { text-decoration: none; }
.crew__crumbs a:hover { color: var(--red); }
.crew__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.crew__title { font: 500 clamp(1.9rem, 3.4vw, 3rem)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.005em; }
.crew__intro { max-width: 25rem; font-size: .8125rem; font-weight: 600; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); text-align: right; }

/* Lignes de 5 portraits (même principe que la référence) : au repos les cartes
   ont la même largeur ; la carte survolée s'élargit, ses voisines se resserrent */
.crew__grid { display: grid; gap: clamp(26px, 2.6vw, 36px); margin-top: clamp(24px, 3vw, 44px); }
.crew__row { display: flex; gap: var(--gap); }
.crew__item, .crew__ghost { flex: 1 1 0; min-width: 0; transition: flex-grow .6s var(--ease); }
.crew__item { position: relative; display: grid; grid-template-rows: auto auto; gap: 14px; }
.crew__item.reveal { transition: flex-grow .6s var(--ease), opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.crew__row.has-open .crew__item.is-open { flex-grow: 2.3; }
.crew__card {
  position: relative; display: block; width: 100%; height: clamp(320px, calc(100svh - 400px), 470px); padding: 0; border: 0; overflow: hidden;
  border-radius: clamp(22px, 2.2vw, 32px); background: var(--ink);
  box-shadow: 0 18px 40px -22px var(--shadow-strong);
  transition: box-shadow .5s;
}
.crew__card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: saturate(.92) brightness(.95); transition: transform 1.1s var(--ease), filter .5s; }
.crew__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 6, 6, .95) 0%, rgba(10, 6, 6, .72) 38%, rgba(10, 6, 6, .1) 72%);
  opacity: 0; transition: opacity .5s;
}

/* Fiche : posée sur la photo, cachée tant que la carte est fermée */
.crew__info {
  position: absolute; left: 0; right: 0; top: 0; height: clamp(320px, calc(100svh - 400px), 470px); z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 7px;
  padding: clamp(14px, 1.4vw, 22px); color: #fff; text-align: left; pointer-events: none;
  opacity: 0; transform: translateY(18px); transition: opacity .35s, transform .5s var(--ease);
}
.crew__spec { align-self: flex-start; max-width: 100%; padding: 5px 10px; border-radius: 999px; background: var(--red); font: 600 .625rem/1.25 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.crew__spec .tbc { color: #fff; border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .12); margin-left: .3em; }
.crew__name { font: 900 clamp(1.2rem, 1.7vw, 1.8rem)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.crew__desc { max-width: 26rem; font-size: .875rem; line-height: 1.45; color: rgba(255, 255, 255, .84); }
.crew__desc .tbc { color: #f2c94c; margin-left: .2em; }

/* Ouverture : survol souris, focus clavier, ou toucher (classe is-open) */
.crew__item.is-open .crew__card { box-shadow: 0 30px 60px -26px var(--shadow-strong); }
.crew__item.is-open .crew__card img { filter: none; transform: scale(1.06); }
.crew__item.is-open .crew__card::after { opacity: 1; }
.crew__item.is-open .crew__info { opacity: 1; transform: none; transition-delay: .25s; }
@media (hover: hover) and (pointer: fine) {
  .crew__item:hover, .crew__item:focus-within { flex-grow: 2.3; }
  .crew__item:hover .crew__card, .crew__item:focus-within .crew__card { box-shadow: 0 30px 60px -26px var(--shadow-strong); }
  .crew__item:hover .crew__card img, .crew__item:focus-within .crew__card img { filter: none; transform: scale(1.04); }
  .crew__item:hover .crew__card::after, .crew__item:focus-within .crew__card::after { opacity: 1; }
  .crew__item:hover .crew__info, .crew__item:focus-within .crew__info { opacity: 1; transform: none; transition-delay: .25s; }
}

/* Pastille ronde + nom ; pilule rouge pleine sur la carte ouverte */
.crew__label {
  display: flex; align-items: center; gap: 10px; min-width: 0; height: 40px; padding: 0;
  border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  transition: background-color .45s, color .45s, padding .45s var(--ease);
}
.crew__label i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; transition: background-color .45s, color .45s, transform .45s var(--ease); }
.crew__label svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.crew__label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crew__item.is-open .crew__label { flex-direction: row-reverse; justify-content: space-between; padding: 0 4px 0 16px; background: var(--red); color: #fff; }
.crew__item.is-open .crew__label i { background: #fff; color: var(--red); transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) {
  .crew__item:hover .crew__label, .crew__item:focus-within .crew__label { flex-direction: row-reverse; justify-content: space-between; padding: 0 4px 0 16px; background: var(--red); color: #fff; }
  .crew__item:hover .crew__label i, .crew__item:focus-within .crew__label i { background: #fff; color: var(--red); transform: rotate(45deg); }
}

/* Appel à l'action sous le panneau, dans le style de la slide 7 */
.crew-cta { display: grid; justify-items: center; gap: 18px; text-align: center; padding: clamp(40px, 6vw, 90px) var(--gutter) clamp(56px, 7vw, 100px); }
.crew-cta__title { max-width: 16em; font: 900 clamp(1.7rem, 3.4vw, 3.2rem)/1.02 var(--f-display); font-stretch: 122%; text-transform: uppercase; }
.crew-cta__title span { color: var(--final-title-2); }
.crew-cta__lead { max-width: 36rem; color: var(--text-2); }

@media (max-width: 820px) {
  .crew { padding-top: calc(78px + env(safe-area-inset-top, 0px)); padding-inline: 12px; }
  .crew__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .crew__intro { text-align: left; }
}
@media (max-width: 820px) {
  .crew__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .crew__row { display: contents; }
  .crew__ghost { display: none; }
  .crew__card, .crew__info { height: auto; aspect-ratio: 3 / 4.3; }
  .crew__row.has-open .crew__item.is-open { flex-grow: 1; }
}
@media (max-width: 600px) {
  .crew__desc { font-size: .75rem; }
  .crew__label { font-size: .6875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .crew__item, .crew__card, .crew__card img, .crew__info, .crew__label { transition: none; }
}

/* =========================================================================
   PAGE COACH (coach.html?id=…) — haut de page sur la structure « VitalityVibe »
   (rail, vignettes à glisser, titre accentué, portrait à cartes flottantes,
   carte en anneau), cours en carrousel « My Visual Diary », puis appel à
   l'action « Ready to grow » : titre géant et formulaire à champs soulignés.
   ========================================================================= */
.page-coach { background: var(--bg); }
.page-coach main { overflow: clip; }

/* Étiquette givrée superposée au titre de l'appel à l'action */
.cd-tag {
  position: absolute; right: calc(var(--gutter) + clamp(120px, 26vw, 380px)); top: calc(96px + clamp(56px, 9vw, 130px));
  display: grid; gap: 4px; max-width: 220px; padding: 12px 14px; border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -20px var(--shadow-strong);
  font-size: .75rem; line-height: 1.35; color: var(--text-2);
}
.cd-tag b { font: 700 .8125rem/1.1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }


/* Appel à l'action « Ready to grow » */
.cd-cta { position: relative; isolation: isolate; padding: clamp(64px, 9vw, 140px) var(--gutter) clamp(64px, 8vw, 120px); }
.cd-cta::before {
  content: ""; position: absolute; z-index: -1; left: -10%; top: 0; width: min(900px, 90vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(224, 24, 34, .55), rgba(197, 16, 25, .18) 40%, transparent 68%); filter: blur(20px); pointer-events: none;
}
.cd-cta::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 220px; background: radial-gradient(60% 100% at 50% 100%, rgba(197, 16, 25, .35), transparent 70%); pointer-events: none; }
.cd-cta__title { position: relative; max-width: 1360px; margin-inline: auto; display: grid; font: 400 clamp(2.6rem, 8.6vw, 8.4rem)/.88 var(--f-display); font-stretch: 92%; letter-spacing: -.035em; text-transform: uppercase; }
.cd-cta__l1 { justify-self: start; }
.cd-cta__l2 { padding-left: clamp(40px, 12vw, 180px); display: flex; align-items: flex-end; gap: 0 .3em; }
.cd-cta__l2 em { font-style: normal; font-size: .4em; line-height: .95; letter-spacing: -.02em; color: var(--red); padding-bottom: .1em; }
.cd-cta { --tag-x: 60%; }
.cd-tag--cta { top: 0; }

.cd-form { max-width: 980px; margin: clamp(48px, 7vw, 96px) auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px) clamp(24px, 4vw, 56px); }
.cd-form label { display: grid; gap: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.cd-form input:not([type="checkbox"]), .cd-form select {
  width: 100%; min-height: 40px; padding: 4px 0; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 35%, transparent); border-radius: 0;
  background: transparent; color: var(--text); font: 400 .9375rem/1.4 var(--f-body); letter-spacing: 0; text-transform: none;
  transition: border-color .3s;
}
.cd-form select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23999' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 2px center; padding-right: 22px; }
.cd-form select option { background: var(--surface); color: var(--text); }
.cd-form input::placeholder { color: var(--muted); }
.cd-form input:focus, .cd-form select:focus { outline: none; border-bottom-color: var(--red); }
.cd-form input[aria-invalid="true"] { border-bottom-color: var(--red-hot); }
.cd-form .cd-form__check { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.cd-form__check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; }
.cd-form__send {
  grid-column: 2; display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 8px 0 26px;
  border-radius: 999px; border: 1.5px solid var(--text); background: transparent; color: var(--text);
  font: 700 .8125rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; transition: background-color .3s, color .3s, border-color .3s;
}
.cd-form__send i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; }
.cd-form__send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cd-form__send:hover { background: var(--red); border-color: var(--red); color: #fff; }
.cd-form__send:hover i { background: #fff; color: var(--red); }
.cd-form__msg { grid-column: 1 / -1; min-height: 1.5em; font-size: .9375rem; text-align: right; }
.cd-form__msg.is-ok { color: var(--ok); }
.cd-form__msg.is-err { color: var(--err); }

@media (max-width: 1100px) {
  .cd-tag { right: var(--gutter); }
}
@media (max-width: 820px) {
  .cd-tag { position: static; margin-top: 16px; max-width: none; }
  .cd-cta__l2 { padding-left: 0; flex-wrap: wrap; }
  .cd-tag--cta { margin: 18px 0 0; }
  .cd-form { grid-template-columns: minmax(0, 1fr); }
  .cd-form__send { grid-column: 1; }
  .cd-form__msg { text-align: left; }
}

/* ----- Page coach : haut de page (navigation et présentation) ----- */
@view-transition { navigation: auto; }   /* fondu entre les pages, navigateurs compatibles */

.cd-tag { animation: cd-fade .8s .45s both; }
@keyframes cd-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes cd-fade { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }


/* ----- Page coach : haut de page, structure « VitalityVibe » -----
   rail vertical | vignettes + titre + grappe ronde + étapes | grand portrait à cartes flottantes */
.ch {
  display: grid; grid-template-columns: clamp(96px, 9vw, 128px) minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(20px, 3vw, 44px); max-width: 1440px; margin-inline: auto;
  padding: calc(88px + env(safe-area-inset-top, 0px)) var(--gutter) clamp(48px, 6vw, 88px);
  min-height: min(100svh, 920px);
}
.ch svg, .ch-more svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Rail : retour, fil d'Ariane vertical, pager coach précédent / suivant */
.page-coach { --tint: color-mix(in srgb, var(--red) 6%, var(--surface-alt)); --tint-2: color-mix(in srgb, var(--red) 3%, var(--surface-soft)); }
:root[data-theme="dark"] .page-coach { --tint: color-mix(in srgb, var(--red) 11%, var(--surface)); --tint-2: color-mix(in srgb, var(--red) 6%, var(--surface-alt)); }
.ch-rail {
  position: relative; display: flex; flex-direction: column; gap: 26px; padding: 18px 14px 16px;
  border-radius: clamp(20px, 2vw, 28px); background: var(--tint);
}
.ch-rail::before, .ch-rail::after {
  content: ""; position: absolute; right: 14px; left: 14px; height: 90px;
  background: radial-gradient(circle, color-mix(in srgb, var(--text) 13%, transparent) 1.3px, transparent 1.8px) 0 0 / 13px 13px;
  pointer-events: none;
}
.ch-rail::before { top: 112px; height: 70px; }
.ch-rail::after { content: none; }
.ch-rail__back { display: grid; justify-items: start; gap: 10px; font-size: .75rem; font-weight: 600; line-height: 1.2; text-decoration: none; color: var(--text); }
.ch-rail__back i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.ch-rail__back svg { width: 16px; height: 16px; }
.ch-rail__back:hover i { background: var(--red); border-color: var(--red); color: #fff; transform: translateX(-3px); }
.ch-current { position: relative; display: grid; gap: 6px; margin: auto 0; padding-left: 12px; border-left: 2px solid var(--red); }
.ch-current small { font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ch-current b { font-size: .9375rem; font-weight: 600; line-height: 1.25; color: var(--text); }

/* Coach suivant : vignette portrait, libellé, nom, flèche */
.ch-next { display: grid; gap: 4px; color: var(--text); text-decoration: none; outline-offset: 4px; border-radius: 16px; }
.ch-next__img { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; margin-bottom: 8px; border-radius: 16px; background: var(--surface-alt); }
.ch-next__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: grayscale(.85); transition: filter .5s, transform .7s var(--ease); }
.ch-next__img i {
  position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface); color: var(--text); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6); transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.ch-next__img svg { width: 16px; height: 16px; }
.ch-next small { font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ch-next b { font-size: .875rem; font-weight: 600; line-height: 1.25; transition: color .3s; }
.ch-next:hover .ch-next__img img, .ch-next:focus-visible .ch-next__img img { filter: none; transform: scale(1.06); }
.ch-next:hover .ch-next__img i, .ch-next:focus-visible .ch-next__img i { background: var(--red); color: #fff; transform: translateX(3px); }
.ch-next:hover b { color: var(--red); }
.ch-count { display: grid; gap: 8px; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ch-count b { font: 600 1.05rem/1 var(--f-body); color: var(--text); }
.ch-count i { display: block; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--red) var(--pg, 6%), var(--line) 0); }

/* Colonne centrale */
.ch-main { display: flex; flex-direction: column; gap: clamp(26px, 3.4vw, 48px); min-width: 0; padding-top: 4px; }
.ch-thumbs { position: relative; align-self: flex-start; max-width: 100%; }
.ch-thumbs ul {
  display: flex; align-items: flex-start; gap: 10px; max-width: min(100%, 460px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; padding: 2px 52px 4px 2px; touch-action: pan-x pan-y;
}
.ch-thumbs ul::-webkit-scrollbar { display: none; }
.ch-thumbs ul.is-drag { cursor: grabbing; scroll-snap-type: none; }
.ch-thumbs li { flex: none; scroll-snap-align: start; }
.ch-thumbs a { display: block; position: relative; width: clamp(64px, 6.4vw, 84px); aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--surface-alt); outline-offset: 3px; -webkit-user-drag: none; }
.ch-thumbs li:nth-child(3n + 2) a { aspect-ratio: .86; }
.ch-thumbs li:nth-child(3n) a { width: clamp(84px, 8.4vw, 112px); aspect-ratio: 1.1; border-radius: 18px; }
.ch-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; pointer-events: none; transition: transform .6s var(--ease); }
.ch-thumbs a:hover img { transform: scale(1.08); }
.ch-thumbs a span { position: absolute; inset: auto 6px 6px; padding: 3px 6px; border-radius: 999px; background: rgba(18, 17, 16, .62); color: #fff; font-size: .5625rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-thumbs li.is-own a { box-shadow: 0 0 0 2px var(--red); }
.ch-drag {
  position: absolute; right: -6px; bottom: -10px; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .625rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; rotate: -14deg; pointer-events: none;
}

.ch-title { display: grid; font: 400 clamp(2.4rem, 4.3vw, 4.3rem)/.94 var(--f-display); font-stretch: 92%; letter-spacing: -.03em; text-transform: uppercase; padding-left: clamp(0px, 2vw, 28px); }
.ch-title__row { display: block; overflow: hidden; padding-bottom: .05em; }
.ch-title__row:nth-child(2) { padding-left: .5em; }
.ch-title__in { display: inline-block; animation: cd-rise 1s var(--ease) both; }
.ch-title__row:nth-child(2) .ch-title__in { animation-delay: .08s; }
.ch-title__row:nth-child(3) .ch-title__in { animation-delay: .16s; }
.ch-title em { font-style: italic; font-weight: 800; font-stretch: 100%; color: var(--red); letter-spacing: -.02em; position: relative; }
.ch-title em::after { content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .12em; height: .26em; z-index: -1; border-radius: 1em; background: color-mix(in srgb, var(--red) 14%, transparent); }
.ch-title__row:nth-child(2) .ch-title__in { position: relative; z-index: 0; }

.ch-join { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); flex-wrap: wrap; }
.ch-orbs { display: flex; align-items: center; flex: none; }
.ch-orbs i { width: clamp(30px, 3vw, 42px); height: clamp(60px, 6vw, 84px); background: var(--surface-alt); border-radius: 0 999px 999px 0; }
.ch-orbs i + i { margin-left: 6px; width: clamp(44px, 4.4vw, 62px); border-radius: 999px 0 0 999px; background: color-mix(in srgb, var(--surface-alt) 70%, var(--line)); }
.ch-orbs img { width: clamp(60px, 6vw, 84px); aspect-ratio: 1; height: auto; margin-left: -18px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; border: 3px solid var(--bg); }
.ch-join__text { display: grid; gap: 14px; flex: 1 1 220px; max-width: 26rem; }
.ch-join__text p { font-size: .9375rem; line-height: 1.5; color: var(--text-2); }
.ch-join__btn {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: .875rem; font-weight: 600; text-decoration: none;
  box-shadow: 0 14px 30px -14px rgba(197, 16, 25, .8); transition: background-color .3s, transform .3s var(--ease);
}
.ch-join__btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ch-join__btn:hover { background: var(--red-hot); transform: translateY(-2px); }
.ch-join__btn:hover svg { transform: translate(2px, -2px); }

.ch-steps { display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); margin-top: auto; }
.ch-steps__go { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--text); color: var(--text); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.ch-steps__go svg { width: 18px; height: 18px; }
.ch-steps__go:hover { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(90deg); }
.ch-steps ol { display: flex; flex-wrap: wrap; gap: 8px clamp(14px, 2vw, 28px); font-size: .8125rem; line-height: 1.25; color: var(--muted); }
.ch-steps li { display: flex; gap: 6px; max-width: 9.5em; }
.ch-steps b { font: italic 700 .9375rem/1 var(--f-display); color: var(--text); }

/* Colonne droite : grand portrait arrondi + cartes flottantes */
.ch-visual { position: relative; margin: 0; min-height: clamp(520px, 44vw, 720px); border-radius: clamp(22px, 2.4vw, 32px); overflow: hidden; background: var(--ink); isolation: isolate; }
.ch-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; animation: ch-zoom 1.6s var(--ease) both; }
.ch-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(transparent, rgba(0, 0, 0, .42)); pointer-events: none; }
@keyframes ch-zoom { from { transform: scale(1.08); opacity: .4; } to { transform: none; opacity: 1; } }
.ch-float {
  position: absolute; z-index: 2; border-radius: 16px; color: var(--text); text-decoration: none;
  background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid color-mix(in srgb, var(--surface) 60%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .55); animation: cd-fade .8s .5s both;
}
.ch-float--top { top: 18px; left: 18px; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; max-width: min(300px, calc(100% - 36px)); padding: 12px 14px; transition: transform .3s var(--ease); }
.ch-float--top:hover { transform: translateY(-2px); }
.ch-float--top i { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--red); color: #fff; }
.ch-float--top i svg { width: 18px; height: 18px; }
.ch-float--top small { font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ch-float--top b { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; line-height: 1.25; }
.ch-float--top b svg { width: 15px; height: 15px; flex: none; }
.ch-float--top .tbc { margin: 0; }
.ch-float--card { right: 18px; top: 52%; display: grid; gap: 8px; width: 190px; padding: 12px 12px 12px 14px; animation-delay: .65s; }
.ch-float--card small { display: flex; align-items: center; gap: 6px; font-size: .6875rem; color: var(--text-2); }
.ch-float--card small i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.ch-float--card p { display: flex; align-items: baseline; gap: 6px; font-size: .75rem; color: var(--text-2); line-height: 1.2; }
.ch-float--card p b { font: 700 1.9rem/1 var(--f-display); color: var(--text); }
.ch-float--card p b .tbc { font-size: .5rem; vertical-align: middle; }
.ch-float--card a { display: block; padding: 8px 10px; border-radius: 10px; background: var(--surface); text-align: center; font-size: .75rem; font-weight: 600; text-decoration: none; color: var(--text); transition: background-color .3s, color .3s; }
.ch-float--card a:hover { background: var(--red); color: #fff; }
.ch-bar {
  position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; margin-inline: auto; display: flex; gap: 6px; max-width: 560px;
  padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 55%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: cd-fade .8s .8s both;
}
.ch-bar li { flex: 1 1 0; display: grid; align-content: center; gap: 2px; min-width: 0; padding: 7px 16px; border-radius: 999px; background: var(--surface); text-align: center; }
.ch-bar small { font-size: .5625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ch-bar b { font-size: .75rem; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-bar .tbc { font-size: .5rem; margin: 0 0 0 .2em; }
.ch-bar li.ch-bar__go { flex: none; padding: 0; background: var(--red); }
.ch-bar__go a { display: grid; place-items: center; height: 100%; padding: 0 20px; color: #fff; font-size: .8125rem; font-weight: 600; line-height: 1.1; text-decoration: none; border-radius: inherit; transition: background-color .3s; }
.ch-bar__go a:hover { background: var(--red-hot); }

/* Rangée « présentation » : grande photo fléchée, titre accentué + vignettes + citation, carte en anneau */
.ch-more {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .74fr) minmax(0, .9fr); gap: clamp(16px, 2vw, 28px); align-items: start;
  max-width: 1360px; margin-inline: auto; padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(24px, 4vw, 48px);
}
.ch-more__photo { position: relative; margin: 0; display: grid; gap: 16px; }
.ch-more__photo img { width: 100%; aspect-ratio: 1.08; height: auto; object-fit: cover; object-position: 50% 30%; border-radius: clamp(20px, 2vw, 28px); background: var(--surface-alt); }
.ch-more__photo > a {
  position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 52px; height: 52px; color: var(--text);
  background: var(--bg); border-radius: 0 0 0 20px; transition: color .3s;
}
.ch-more__photo > a::before, .ch-more__photo > a::after { content: ""; position: absolute; width: 20px; height: 20px; background: radial-gradient(circle at 0 100%, transparent 19.5px, var(--bg) 20px); }
.ch-more__photo > a::before { top: 0; left: -20px; }
.ch-more__photo > a::after { bottom: -20px; right: 0; }
.ch-more__photo > a svg { width: 18px; height: 18px; }
.ch-more__photo > a:hover { color: var(--red); }
.ch-more__photo figcaption { display: grid; gap: 8px; justify-items: center; text-align: center; padding-inline: 8%; font-size: .9375rem; line-height: 1.5; color: var(--text); }
.ch-more__photo figcaption small { font-size: .8125rem; color: var(--muted); }
.ch-more__mid { display: grid; gap: 14px; }
.ch-more__mid h2 { text-align: center; font: 400 clamp(1.5rem, 2.4vw, 2.2rem)/1.04 var(--f-display); font-stretch: 92%; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 8px; }
.ch-more__mid h2 em { font-style: italic; font-weight: 800; font-stretch: 100%; color: var(--red); }
.ch-more__thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ch-more__thumbs a { position: relative; display: block; aspect-ratio: 1.1; border-radius: 16px; overflow: hidden; background: var(--surface-alt); }
.ch-more__thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .6s var(--ease); }
.ch-more__thumbs .is-own a { box-shadow: 0 0 0 2px var(--red); }
.ch-more__thumbs .is-own span { background: var(--red); }
.ch-more__thumbs a:hover img { transform: scale(1.06); }
.ch-more__thumbs span { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(18, 17, 16, .62); color: #fff; font-size: .625rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ch-more__quote {
  margin: 0; padding: 18px 18px 20px; border-radius: 22px; background: color-mix(in srgb, var(--red) 9%, var(--surface-soft));
  font: 500 1rem/1.35 var(--f-body); color: var(--text);
}
.ch-more__quote cite { display: block; margin-top: 10px; font-style: normal; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ch-ring { display: grid; justify-items: center; gap: clamp(18px, 2vw, 26px); padding: clamp(22px, 2.6vw, 34px); border-radius: clamp(20px, 2vw, 28px); background: var(--tint); text-align: center; }
.ch-ring > p { max-width: 17rem; font-size: .9375rem; line-height: 1.4; color: var(--text); }
.ch-ring__dial {
  --v: 0; position: relative; display: grid; place-content: center; justify-items: center; width: clamp(150px, 13vw, 180px); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(var(--red) calc(var(--v) * 1%), color-mix(in srgb, var(--text) 10%, transparent) 0);
  transition: --v 1.4s var(--ease);
}
.ch-ring__dial::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--tint); }
.ch-ring__dial > * { position: relative; }
.ch-ring__dial b { font: 400 clamp(2.4rem, 3.4vw, 3rem)/1 var(--f-display); letter-spacing: -.03em; }
.ch-ring__dial small { font-size: .75rem; color: var(--muted); }
@property --v { syntax: "<number>"; inherits: true; initial-value: 0; }
.ch-ring__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 0; }
.ch-ring__stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 12px 10px; border-radius: 16px; background: var(--surface); }
.ch-ring__stats dd { margin: 0; font: 400 1.6rem/1 var(--f-display); }
.ch-ring__stats dt { font-size: .6875rem; line-height: 1.3; color: var(--text-2); }
.ch-ring__stats .tbc { margin: 4px 0 0; }
.ch-ring__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 6px 6px 6px 18px; border-radius: 999px;
  border: 1px solid var(--text); color: var(--muted); font-size: .8125rem; text-decoration: none; transition: border-color .3s;
}
.ch-ring__cta b { padding: 9px 16px; border-radius: 999px; background: var(--inv-bg); color: var(--inv-text); font-size: .8125rem; transition: background-color .3s, color .3s; }
.ch-ring__cta:hover { border-color: var(--red); }
.ch-ring__cta:hover b { background: var(--red); color: #fff; }

@media (max-width: 1180px) {
  .ch { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: calc(80px + env(safe-area-inset-top, 0px)); min-height: 0; }
  .ch-rail { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 18px 28px; padding: 10px 12px; border-radius: 999px; }
  .ch-rail::before, .ch-rail::after { display: none; }
  .ch-rail__back { display: flex; align-items: center; }
  .ch-rail__back i { width: 36px; height: 36px; }
  .ch-current { margin: 0; }
  .ch-next { grid-template-columns: auto auto auto; grid-template-rows: auto auto; align-items: center; gap: 0 12px; margin-left: auto; padding: 4px 6px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
  .ch-next__img { grid-row: span 2; width: 44px; aspect-ratio: 1; margin: 0; border-radius: 50%; }
  .ch-next__img i { display: none; }
  .ch-next small { align-self: end; }
  .ch-next b { align-self: start; padding-right: 10px; }
  .ch-next::after { content: "→"; grid-column: 3; grid-row: 1 / span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--inv-bg); color: var(--inv-text); transition: background-color .3s; }
  .ch-next:hover::after { background: var(--red); color: #fff; }
  .ch-count { order: 3; min-width: 64px; }
  .ch-title { padding-left: 0; }
  .ch-more { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ch-ring { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; text-align: left; }
  .ch-ring > p { justify-self: start; }
  .ch-ring__cta { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .ch { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ch-current { display: none; }
  .ch-rail__back span { font-size: .8125rem; }
  .ch-title { font-size: clamp(2.4rem, 12vw, 4rem); }
  .ch-visual { min-height: 0; aspect-ratio: 4 / 4.9; }
  .ch-steps { margin-top: 0; }
  .ch-more { grid-template-columns: minmax(0, 1fr); }
  .ch-ring { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .ch-ring > p { justify-self: center; }
}
@media (max-width: 520px) {
  .ch-count { display: none; }
  .ch-rail__back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ch-next b, .ch-next small { white-space: nowrap; }
  .ch-float--top { top: 12px; left: 12px; }
  .ch-float--card { right: 12px; top: auto; bottom: 92px; width: 168px; }
  .ch-bar { bottom: 12px; left: 12px; right: 12px; border-radius: 22px; }
  .ch-bar li { padding: 6px 12px; }
  .ch-bar li:nth-child(2) { display: none; }
  .ch-steps { align-items: flex-start; }
  .ch-steps ol { display: grid; gap: 6px; }
  .ch-steps li { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ch-title__in, .ch-float, .ch-bar, .ch-visual > img { animation: none; }
  .ch-ring__dial { transition: none; }
}

/* ----- Section cours : référence « My Visual Diary » ----- */
.cd-diary {
  padding: clamp(48px, 6vw, 90px) 0 clamp(56px, 7vw, 100px); text-align: center; overflow: hidden;
  margin-inline: clamp(0px, 1.6vw, 24px); border-radius: clamp(24px, 3vw, 44px);
  background: radial-gradient(70% 60% at 50% 62%, color-mix(in srgb, var(--red) 12%, transparent), transparent 70%), var(--tint);
}
.cd-diary__head { display: grid; justify-items: center; gap: 10px; padding-inline: var(--gutter); }
.cd-diary__head .eyebrow { color: var(--red); }
.cd-diary__head h2 { font: 800 clamp(1.9rem, 3.6vw, 3.2rem)/1 var(--f-display); font-stretch: 108%; text-transform: uppercase; }
.cd-diary__head p:not(.eyebrow) { max-width: 30rem; color: var(--text-2); }
.cd-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: clamp(22px, 3vw, 36px); padding-inline: var(--gutter); }
.cd-pills button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 20px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--text) 40%, transparent); background: transparent; color: var(--text);
  font-size: .8125rem; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s;
}
.cd-pills button:hover { border-color: var(--text); }
.cd-pills button.is-active { background: var(--inv-bg); color: var(--inv-text); border-color: var(--inv-bg); }
.cd-pills .cd-pills__all { border-width: 1.5px; }
.cd-pills svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cd-pills .cd-pills__all.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.cd-flow { position: relative; height: calc(clamp(250px, 24vw, 340px) * 1.3 + 40px); margin-top: clamp(28px, 4vw, 52px); outline-offset: -4px; touch-action: pan-y; }
.cd-flow__track { position: absolute; inset: 0; }
.cd-slide {
  position: absolute; left: 50%; top: 20px; width: clamp(250px, 24vw, 340px); aspect-ratio: 1 / 1.3;
  border-radius: clamp(16px, 1.6vw, 22px); overflow: hidden; background: var(--ink); cursor: pointer;
  box-shadow: 0 30px 60px -24px var(--shadow-strong), 0 0 0 1px var(--line);
  transition: transform .7s var(--ease), opacity .5s, filter .5s;
}
.cd-slide:not(.is-center) { filter: brightness(.82); }
.cd-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; pointer-events: none; }
.cd-slide__cap {
  position: absolute; inset: auto 0 0; display: grid; justify-items: start; gap: 6px; padding: 18px; text-align: left; color: #fff;
  background: linear-gradient(to top, rgba(10, 6, 6, .94) 10%, rgba(10, 6, 6, .6) 60%, transparent);
}
.cd-slide.is-right .cd-slide__cap { justify-items: end; text-align: right; }
.cd-slide__by { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); font-size: .625rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cd-slide.is-own .cd-slide__by { background: var(--red); }
.cd-slide__by .tbc { color: #f2c94c; margin-left: .3em; }
.cd-slide__fam { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.cd-slide h3 { font: 900 clamp(1.3rem, 2vw, 1.8rem)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.cd-slide__desc, .cd-slide__meta { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.cd-slide.is-center .cd-slide__desc { max-height: 8em; opacity: 1; font-size: .8125rem; line-height: 1.45; color: rgba(255, 255, 255, .86); }
.cd-slide.is-center .cd-slide__meta { max-height: 4em; opacity: 1; font-size: .6875rem; color: rgba(255, 255, 255, .7); }
.cd-slide__meta .tbc { color: #f2c94c; }
.cd-flow__ctrl { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.cd-flow__ctrl .round-btn { box-shadow: none; border: 1px solid color-mix(in srgb, var(--text) 45%, transparent); background: transparent; }
.cd-flow__ctrl .round-btn:hover:not(:disabled) { background: var(--inv-bg); color: var(--inv-text); }
.cd-flow__ctrl .round-btn:disabled { opacity: .3; cursor: default; transform: none; }
.cd-flow__count { min-width: 4.5em; font-variant-numeric: tabular-nums; font-size: .875rem; color: var(--muted); }
.cd-flow__count b { color: var(--text); }

@media (max-width: 560px) {
  .cd-slide { width: 66vw; }
  .cd-flow { height: calc(66vw * 1.3 + 40px); }
}
@media (prefers-reduced-motion: reduce) {
  .cd-tag { animation: none; }
  .cd-slide { transition: none; }
}

/* =========================================================================
   PAGE COURS COLLECTIFS (cours.html?c=…, onglet « Cours ») — deux sections
   l'une sous l'autre (Les Mills, Spécial Snatch), sur la structure du slide de
   référence : grande photo ronde à gauche, titre fin / très gras au centre,
   carte flottante à onglets à droite, carrousel de petites cartes en bas.
   ========================================================================= */
.page-lm { --lm-bg: #efeeec; --lm-bg2: #ffffff; --lm-card: #ffffff; --lm-mini: #f5f5f3; background: var(--lm-bg); }
:root[data-theme="dark"] .page-lm { --lm-bg: #121110; --lm-bg2: #1a1716; --lm-card: #24201f; --lm-mini: #2a2524; }
.page-lm main { overflow: clip; }

.lm {
  position: relative; isolation: isolate; display: grid; max-width: 1440px; margin-inline: auto;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) minmax(300px, .82fr);
  grid-template-areas: "photo head card" "photo actions card" "rail rail card";
  grid-template-rows: auto auto auto; column-gap: clamp(20px, 3vw, 48px); row-gap: clamp(14px, 2vw, 26px); align-items: center; align-content: center;
  min-height: min(100svh, 940px); padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gutter) clamp(36px, 4vw, 56px) calc(var(--gutter) + 28px);
}
.lm svg, .lm-card svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Grand arc discret en fond (comme l'arc rose de la référence) */
.lm__arc { position: absolute; z-index: -1; top: -18%; left: 30%; width: min(62vw, 880px); aspect-ratio: 1; border-radius: 50%; border: clamp(40px, 6vw, 96px) solid color-mix(in srgb, var(--red) 9%, transparent); pointer-events: none; }
/* Repère vertical à gauche */
.lm__dots { position: absolute; left: max(10px, calc(var(--gutter) - 6px)); top: 50%; translate: 0 -50%; display: grid; gap: 8px; }
.lm__dots li { width: 3px; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--text) 45%, transparent); transition: height .5s var(--ease), background-color .3s; }
.lm__dots li.is-active { height: 22px; background: var(--text); }

/* Photo ronde « assiette » */
.lm-photo { grid-area: photo; position: relative; margin: 0; justify-self: center; width: min(100%, 500px); touch-action: pan-y; }
.lm-photo__plate {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ink);
  border: clamp(10px, 1.4vw, 18px) solid color-mix(in srgb, var(--text) 62%, var(--lm-bg));
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55), 0 0 0 1px var(--line);
}
.lm-photo__plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.lm-photo__tag {
  position: absolute; left: 50%; bottom: 6%; translate: -50% 0; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  background: rgba(18, 17, 16, .7); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .6875rem; font-weight: 600; letter-spacing: .04em;
}
.lm-photo__tag.is-illus { background: rgba(242, 183, 5, .92); color: #121110; }

/* Titre */
.lm-head { grid-area: head; align-self: end; display: grid; gap: 14px; }
.lm-head__label { font-size: .875rem; font-weight: 600; letter-spacing: .02em; color: var(--text); }
.lm-head__label::before { content: "#"; color: var(--red); margin-right: 2px; }
.lm-head__title { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); text-transform: uppercase; line-height: .9; letter-spacing: -.02em; }
.lm-head__l1 { display: block; white-space: nowrap; font: 200 clamp(2.6rem, 5.4vw, 5.6rem)/.92 var(--f-display); font-stretch: 100%; color: var(--text); }
.lm-head__l2 { display: block; white-space: nowrap; margin-top: .08em; font: 900 clamp(2.8rem, 6.6vw, 6.8rem)/.9 var(--f-display); font-stretch: 112%; letter-spacing: -.035em; color: var(--text); }
.lm-head { min-width: 0; }
.lm-head__hook { font: 500 1.0625rem/1.4 var(--f-body); color: var(--text-2); }
.lm-head__hook::before { content: ""; display: inline-block; width: 26px; height: 2px; margin: 0 10px 4px 0; vertical-align: middle; background: var(--red); }

/* Actions minimalistes à icônes */
.lm-actions { grid-area: actions; align-self: start; display: flex; flex-wrap: wrap; gap: 10px 34px; }
.lm-act { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .9375rem; font-weight: 600; text-decoration: none; color: var(--text); }
.lm-act i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--text) 30%, transparent); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.lm-act svg { width: 14px; height: 14px; }
.lm-act:first-child svg { fill: currentColor; stroke: none; }
.lm-act:hover i { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.08); }

/* Carte flottante à onglets */
.lm-card {
  grid-area: card; align-self: center; position: relative; display: grid; gap: 18px; padding: clamp(18px, 2vw, 26px);
  border-radius: clamp(22px, 2.2vw, 30px); background: var(--lm-card); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .45), 0 0 0 1px var(--line);
  outline: none; transition: box-shadow .4s;
}
.lm-card.is-pulse { animation: lm-pulse 1.1s var(--ease); }
@keyframes lm-pulse { 30% { box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .45), 0 0 0 3px var(--red); } }
.lm-card__tabs { display: flex; justify-content: space-between; gap: 6px; border-bottom: 1px solid var(--line); }
.lm-card__tabs button { flex: 1; padding: 6px 4px 12px; border: 0; background: none; font: 600 .875rem/1 var(--f-body); color: var(--muted); cursor: pointer; position: relative; transition: color .3s; }
.lm-card__tabs button::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transition: transform .35s var(--ease); }
.lm-card__tabs button[aria-selected="true"] { color: var(--text); }
.lm-card__tabs button[aria-selected="true"]::after { transform: none; }
.lm-card__tabs button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 6px; }
.lm-card__body { display: grid; gap: 6px; min-height: 300px; align-content: start; }
.lm-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.lm-card__badge { display: flex; align-items: flex-end; gap: 4px; padding: 10px 12px 8px; border-radius: 14px; background: var(--red); color: #fff; box-shadow: 0 14px 26px -14px rgba(197, 16, 25, .9); }
.lm-card__badge b { font: 800 2.4rem/.85 var(--f-display); letter-spacing: -.03em; }
.lm-card__badge small { font-size: .75rem; opacity: .85; }
.lm-card__status { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .75rem; font-weight: 600; color: var(--text-2); }
.lm-card__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.lm-card__status .tbc { margin: 0; }
.lm-card__name { font: 800 clamp(1.4rem, 2vw, 1.75rem)/1 var(--f-display); font-stretch: 108%; text-transform: uppercase; letter-spacing: -.01em; }
.lm-card__fam { font-size: .8125rem; color: var(--muted); margin-bottom: 8px; }
.lm-card__desc { font-size: .9375rem; line-height: 1.55; color: var(--text-2); }
.lm-card__facts { display: grid; margin: 14px 0 0; border-top: 1px solid var(--line); }
.lm-card__facts div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .8125rem; }
.lm-card__facts dt { color: var(--muted); }
.lm-card__facts dd { margin: 0; text-align: right; font-weight: 600; }
.lm-card__facts a { color: var(--red); }
.lm-card__facts .tbc { margin: 0 0 0 .3em; }
.lm-card__main { display: grid; gap: 4px; padding: 14px; border-radius: 16px; background: color-mix(in srgb, var(--red) 8%, transparent); font: 700 1.05rem/1.3 var(--f-body); }
.lm-card__main small { font-size: .625rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.lm-card__goals { display: grid; gap: 8px; margin-top: 14px; }
.lm-card__goals li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--text-2); }
.lm-card__goals li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--surface-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c51019' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: inset 0 0 0 1px var(--line); }
.lm-card__cta { display: flex; gap: 10px; }
.lm-card__name a { text-decoration: none; color: inherit; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.lm-card__name a:hover { background-size: 100% 2px; }
.lm-card__more { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--red); text-decoration: none; }
.lm-card__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.lm-card__more:hover svg { transform: translateX(4px); }
.lm-card__book {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: .9375rem; font-weight: 600; text-decoration: none; transition: background-color .3s, transform .3s var(--ease);
}
.lm-card__book svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.lm-card__book:hover { background: var(--red-hot); }
.lm-card__book:hover svg { transform: translate(2px, -2px); }
.lm-card__plan { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--surface-soft); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s; }
.lm-card__plan svg { width: 18px; height: 18px; }
.lm-card__plan:hover { background: var(--inv-bg); color: var(--inv-text); }

/* Carrousel de petites cartes */
.lm-rail { grid-area: rail; display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: clamp(4px, 1vw, 14px); }
.lm-rail__arrow { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; color: var(--text); cursor: pointer; transition: background-color .3s, color .3s; }
.lm-rail__arrow svg { width: 20px; height: 20px; stroke-width: 2.4; }
.lm-rail__arrow:hover { background: var(--inv-bg); color: var(--inv-text); }
.lm-rail__list { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  flex: 1; min-width: 0; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 4px 14px; outline-offset: 2px; border-radius: 22px; }
.lm-rail__list::-webkit-scrollbar { display: none; }
.lm-rail__list:focus-visible { outline: 2px solid var(--red); }
.lm-rail__list li {
  flex: none; width: 132px; display: grid; justify-items: center; gap: 4px; padding: 14px 10px 12px; border-radius: 22px; text-align: center; cursor: pointer;
  scroll-snap-align: center; transition: background-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.lm-mini__img { display: block; width: 76px; height: 76px; margin-bottom: 6px; border-radius: 50%; overflow: hidden; background: var(--ink); border: 4px solid color-mix(in srgb, var(--text) 62%, var(--lm-bg)); box-shadow: 0 12px 20px -12px rgba(0, 0, 0, .6); }
.lm-mini__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .5s var(--ease); }
.lm-rail__list b { font: 800 .75rem/1.15 var(--f-display); font-stretch: 108%; letter-spacing: .01em; }
.lm-rail__list small { font-size: .6875rem; line-height: 1.25; color: var(--muted); }
.lm-rail__list li:hover .lm-mini__img img { transform: scale(1.12); }
.lm-rail__list li:hover { transform: translateY(-3px); }
.lm-rail__list li.is-active { background: var(--lm-mini); box-shadow: 0 18px 30px -22px rgba(0, 0, 0, .55), 0 0 0 1px var(--line); }
.lm-rail__list li.is-active b { color: var(--red); }
.lm-rail__list li.is-active .lm-mini__img { border-color: var(--red); }
/* Jauge du défilement automatique sous la carte active (3 s) */
.lm-rail__list li { position: relative; }
.lm-rail__list li::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 7px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; opacity: 0; }
.lm.is-playing .lm-rail__list li.is-tick::after { opacity: 1; animation: lm-tick var(--lm-delay, 3s) linear forwards; }
@keyframes lm-tick { to { transform: scaleX(1); } }

.lm-note { box-shadow: 0 0 0 100vmax var(--lm-bg2); clip-path: inset(0 -100vmax); background: var(--lm-bg2); max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 5vw, 72px) calc(var(--gutter) + 28px); font-size: .75rem; line-height: 1.5; color: var(--muted); }

/* Deuxième section « Spécial Snatch » : bande de fond distincte, arc plus marqué */
.lm--snatch { padding-top: clamp(64px, 7vw, 110px); }
.lm--snatch::before {
  content: ""; position: absolute; z-index: -2; inset: 0 calc(50% - 50vw); background: var(--lm-bg2);
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
}
.lm--snatch .lm__arc { left: auto; right: 22%; border-color: color-mix(in srgb, var(--red) 14%, transparent); }
.lm--snatch .lm-head__label::before { content: "★"; }
/* Mise en page inversée pour alterner avec la section Les Mills : carte à gauche, photo à droite */
.lm--snatch {
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.1fr) minmax(0, 1.05fr);
  grid-template-areas: "card head photo" "card actions photo" "card rail rail";
  padding-left: var(--gutter); padding-right: calc(var(--gutter) + 28px);
}
.lm--snatch .lm__dots { left: auto; right: max(10px, calc(var(--gutter) - 6px)); }
.lm--snatch .lm__arc { right: auto; left: 4%; }
/* 3e, 5e… section (types ajoutés, cours.js) : photo à gauche comme « Les Mills », pour alterner gauche / droite */
@media (min-width: 1181px) {
  .lm--snatch.lm--flip {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) minmax(300px, .82fr);
    grid-template-areas: "photo head card" "photo actions card" "rail rail card";
    padding-left: calc(var(--gutter) + 28px); padding-right: var(--gutter);
  }
  .lm--flip .lm__dots { left: max(10px, calc(var(--gutter) - 6px)); right: auto; }
  .lm--snatch.lm--flip .lm__arc { left: auto; right: 22%; }
}
@media (min-width: 721px) and (max-width: 1180px) {
  .lm--snatch.lm--flip { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); grid-template-areas: "photo head" "photo actions" "card card" "rail rail"; padding-left: calc(var(--gutter) + 20px); padding-right: var(--gutter); }
}

/* Changement de cours : sortie / entrée douces */
.lm-photo, .lm-head, .lm-card__body { transition: opacity .26s, transform .45s var(--ease); }
.lm-photo .lm-photo__plate { transition: transform .6s var(--ease); }
.lm-photo.is-out { opacity: 0; }
.lm-photo.is-out .lm-photo__plate { transform: rotate(calc(var(--dir, 1) * -24deg)) scale(.94); }
.lm-photo.is-in .lm-photo__plate { transform: rotate(calc(var(--dir, 1) * 24deg)) scale(.94); transition: none; }
.lm-head.is-out, .lm-card__body.is-out { opacity: 0; transform: translateY(10px); }
.lm-head.is-in, .lm-card__body.is-in { opacity: 0; transform: translateY(-10px); transition: none; }
/* Apparition à l'arrivée */
.lm-photo__plate { animation: lm-plate 1.1s var(--ease) both; }
.lm-head, .lm-actions, .lm-card, .lm-rail { animation: cd-fade .8s var(--ease) both; }
.lm-actions { animation-delay: .12s; }
.lm-card { animation-delay: .2s; }
.lm-rail { animation-delay: .3s; }
@keyframes lm-plate { from { opacity: 0; transform: rotate(-30deg) scale(.9); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .lm {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
    grid-template-areas: "photo head" "photo actions" "card card" "rail rail";
    min-height: 0; padding-left: calc(var(--gutter) + 20px);
  }
  .lm-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .lm-card__tabs { grid-column: 1 / -1; justify-content: flex-start; }
  .lm-card__tabs button { flex: none; padding-inline: 18px; }
  .lm-card__body { grid-column: 1 / -1; min-height: 0; }
  .lm-card__cta { grid-column: 1 / -1; max-width: 420px; }
  .lm__arc { left: 20%; top: -10%; }
  .lm__dots { display: none; }
}
@media (max-width: 1180px) {
  .lm--snatch { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); grid-template-areas: "head photo" "actions photo" "card card" "rail rail"; padding-left: var(--gutter); padding-right: calc(var(--gutter) + 20px); }
}
@media (max-width: 720px) {
  .lm, .lm--snatch {
    grid-template-columns: minmax(0, 1fr);
    /* photo à gauche, petites cartes des cours à droite (défilement vertical), puis actions et carte */
    grid-template-columns: minmax(0, 1fr) 96px;
    grid-template-areas: "head head" "photo rail" "actions actions" "card card";
    padding: calc(84px + env(safe-area-inset-top, 0px)) var(--gutter) 36px; row-gap: 22px;
  }
  .lm__dots { display: none; }
  .lm__arc { left: -30%; top: 2%; width: 130vw; }
  .lm-head { gap: 10px; }
  .lm-head__l1 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
  .lm-head__l2 { font-size: clamp(2.4rem, 13.5vw, 4rem); }
  .lm-photo { width: 100%; max-width: 380px; }
  .lm-card { grid-template-columns: minmax(0, 1fr); }
  .lm-actions { justify-content: center; flex-wrap: nowrap; gap: 8px 16px; }
  .lm-act { white-space: nowrap; font-size: .875rem; }
  /* flèches haut / bas au-dessus et au-dessous de la colonne des cours */
  .lm-rail__arrow { position: absolute; left: 50%; z-index: 2; width: 32px; height: 32px; translate: -50% 0; rotate: 90deg; background: var(--lm-mini); color: var(--text); box-shadow: 0 0 0 1px var(--line); }
  .lm-rail__arrow svg { width: 16px; height: 16px; }
  .lm-prev { top: 0; }
  .lm-next { bottom: 0; }
  .lm-rail { margin: 0; align-self: stretch; min-height: 0; position: relative; }
  .lm-rail__list { position: absolute; inset: 38px 0; flex-direction: column; gap: 6px; overflow-x: hidden; overflow-y: auto; scroll-snap-type: y mandatory; padding: 4px 0;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(180deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
  .lm-rail__list li { width: 100%; padding: 8px 4px; border-radius: 16px; gap: 2px; }
  .lm-rail__list li:hover { transform: none; }
  .lm-mini__img { width: 52px; height: 52px; border-width: 3px; margin-bottom: 4px; }
  .lm-rail__list b { font-size: .625rem; }
  .lm-rail__list small { display: none; }
  .lm-note { padding-left: var(--gutter); }
}
@media (prefers-reduced-motion: reduce) {
  .lm-photo__plate, .lm-head, .lm-actions, .lm-card, .lm-rail { animation: none; }
  .lm-photo, .lm-head, .lm-card__body, .lm-rail__list li, .lm-mini__img img { transition: none; }
  .lm-rail__list li::after { display: none; }
}

/* =========================================================================
   PAGE DÉTAIL D'UN COURS (cours-detail.html?c=…) — structure de la référence :
   héros texte + image détourée à pastilles et badge circulaire, bandeau d'infos
   avec avatars, cartes de bienfaits, grille photo + texte, cartes coachs,
   rangée de liens, grand appel à l'action. Lueurs rouges Snatch en fond.
   ========================================================================= */
.page-cd { --cd-panel: color-mix(in srgb, var(--surface) 82%, transparent); background: var(--bg); }
:root[data-theme="dark"] .page-cd { --cd-panel: color-mix(in srgb, #ffffff 5%, transparent); }
.page-cd main { overflow: clip; position: relative; }
.page-cd svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cdl-eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.cdl-head h2 { font: 400 clamp(2rem, 4vw, 3.4rem)/1 var(--f-display); font-stretch: 92%; letter-spacing: -.02em; text-transform: uppercase; margin: 10px 0 14px; }
.cdl-head h2 em { font-style: italic; font-weight: 800; font-stretch: 100%; color: var(--red); }
.cdl-head p:not(.cdl-eyebrow) { max-width: 30rem; color: var(--text-2); line-height: 1.6; }
.cdl-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--red); color: #fff;
  font-weight: 600; text-decoration: none; box-shadow: 0 16px 30px -16px rgba(197, 16, 25, .9); transition: background-color .3s, transform .3s var(--ease);
}
.cdl-btn:hover { background: var(--red-hot); transform: translateY(-2px); }
.cdl-link { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; border: 0; background: none; font: 600 .9375rem/1 var(--f-body); color: var(--text); text-decoration: none; cursor: pointer; }
.cdl-link span { display: block; width: 40px; height: 1.5px; background: currentColor; position: relative; transition: width .35s var(--ease); }
.cdl-link span::after { content: ""; position: absolute; right: 0; top: -3.5px; width: 8px; height: 8px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
.cdl-link:hover span { width: 56px; }
.cdl-link:hover { color: var(--red); }

/* Section 1 : héros (réf. StoryScape) aux couleurs Snatch : titre sur trois lignes
   (nom du cours en rouge italique), bouton rouge + pilule noire « lecture »,
   grande photo arrondie ; dessous, une carte claire et une carte noire, puis les
   chiffres clés et une barre de liens en pilule */
.page-cd { --cd-soft: color-mix(in srgb, var(--red) 10%, #efeae6); --cd-ink: #121110; --cd-blob: #121110; --cd-blob-text: #fff; }
:root[data-theme="dark"] .page-cd { --cd-soft: #2a2524; --cd-ink: #050505; --cd-blob: #f4f2ef; --cd-blob-text: #121110; }
.cdl-hero {
  max-width: 1400px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-areas: "text visual" "duo side"; gap: clamp(16px, 1.8vw, 24px) clamp(24px, 3.4vw, 56px); align-items: center;
  padding: calc(84px + env(safe-area-inset-top, 0px)) var(--gutter) clamp(28px, 4vw, 56px);
}
.cdl-hero__text { grid-area: text; min-width: 0; display: grid; justify-items: start; gap: 18px; animation: cd-fade .8s var(--ease) both; }
.cdl-crumbs { margin: 0; }
.cdl-title { justify-self: stretch; min-width: 0; font: 300 clamp(2.4rem, 4.2vw, 4rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; }
.cdl-title span, .cdl-title small { display: block; }
.cdl-title strong { display: block; white-space: nowrap; font-weight: 900; font-style: italic; font-stretch: 110%; letter-spacing: -.03em; color: var(--red); }
.cdl-title small { font-size: .5em; font-weight: 400; line-height: 1.1; margin-top: .12em; }
.cdl-desc { max-width: 32rem; font-size: .9375rem; line-height: 1.6; color: var(--text-2); }
.cdl-desc b { color: var(--text); font-weight: 700; }
.cdl-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cdl-hbtn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; border-radius: 20px; font-size: .9375rem; font-weight: 600; text-decoration: none; transition: background-color .3s, transform .3s var(--ease); }
.cdl-hbtn--red { background: var(--red); color: #fff; }
.cdl-hbtn--red:hover { background: var(--red-hot); transform: translateY(-2px); }
/* pilule noire + rond « lecture » soudés, comme la référence */
.cdl-blob { position: relative; display: inline-flex; align-items: center; gap: 0; text-decoration: none; color: var(--cd-blob-text); filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .18)); }
.cdl-blob__txt { display: inline-flex; align-items: center; min-height: 54px; padding: 0 30px 0 24px; border-radius: 999px; background: var(--cd-blob); font: italic 500 .9375rem/1 var(--f-body); }
.cdl-blob__ico { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-left: -12px; border-radius: 50%; background: var(--cd-blob); color: var(--red); transition: transform .4s var(--ease); }
.cdl-blob__ico::before { content: ""; position: absolute; left: -6px; top: 50%; width: 16px; height: 22px; translate: 0 -50%; background: var(--cd-blob); }
.cdl-blob__ico svg { position: relative; width: 18px; height: 18px; fill: currentColor; stroke: none; }
.cdl-blob:hover .cdl-blob__ico { transform: translateX(4px); }

.cdl-visual { grid-area: visual; position: relative; margin: 0; height: clamp(320px, 50vh, 470px); border-radius: clamp(24px, 3vw, 44px); overflow: hidden; background: var(--ink); animation: cd-fade .9s .1s var(--ease) both; }
.cdl-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform 1.2s var(--ease); }
.cdl-visual:hover img { transform: scale(1.03); }
.cdl-visual__tag { position: absolute; right: 18px; bottom: 18px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; background: rgba(18, 17, 16, .72); color: #fff; font-size: .6875rem; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cdl-visual__tag.is-illus { background: rgba(242, 183, 5, .92); color: #121110; }

/* Deux cartes */
.cdl-duo { grid-area: duo; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; min-width: 0; align-self: stretch; }
.cdl-tile { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; min-height: clamp(200px, 26vh, 240px); padding: 16px 18px 18px; border-radius: 26px; text-decoration: none; transition: transform .35s var(--ease); }
.cdl-tile:hover { transform: translateY(-4px); }
.cdl-tile--soft { background: var(--cd-soft); color: var(--text); }
.cdl-tile--dark { background: var(--cd-ink); color: #fff; box-shadow: 0 0 0 1px var(--line); }
.cdl-tile__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cdl-tile__top > i { display: grid; place-items: center; width: 30px; height: 30px; transition: transform .35s var(--ease); }
.cdl-tile__top > i svg { width: 22px; height: 22px; stroke-width: 1.8; }
.cdl-tile:hover .cdl-tile__top > i { transform: rotate(45deg); color: var(--red); }
.cdl-tile__pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid currentColor; font-size: .75rem; font-weight: 600; }
.cdl-tile__title { align-self: end; font: 400 clamp(1.15rem, 1.5vw, 1.4rem)/1.15 var(--f-display); }
.cdl-tile__title em { font-weight: 800; font-style: italic; color: var(--red); }
.cdl-tile__txt { font-size: .8125rem; line-height: 1.45; opacity: .85; }
.cdl-tile__txt .tbc { margin-left: .2em; }
.cdl-avatars { display: flex; }
.cdl-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; border: 2px solid var(--cd-ink); background: var(--red); color: #fff; font: 800 .875rem/1 var(--f-display); }
.cdl-av + .cdl-av { margin-left: -10px; }
.cdl-av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

/* Chiffres clés + barre de liens */
.cdl-side { grid-area: side; display: grid; gap: clamp(18px, 2.4vw, 30px); min-width: 0; }
.cdl-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding-inline: 8px; }
.cdl-stats div { display: grid; gap: 6px; align-content: start; }
.cdl-stats dd { margin: 0; font: 400 clamp(2rem, 3.4vw, 3rem)/1 var(--f-display); letter-spacing: -.02em; }
.cdl-stats dd small { font-size: .45em; margin-left: .15em; color: var(--red); font-weight: 700; }
.cdl-stats dt { font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.cdl-stats dt .tbc { display: inline-block; margin: 4px 0 0; }
.cdl-links { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 6px 10px; padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--text); }
.cdl-links a { padding: 6px 10px; border-radius: 999px; font-size: .875rem; font-weight: 500; text-decoration: none; color: var(--text); transition: background-color .3s, color .3s; }
.cdl-links a:hover { background: var(--red); color: #fff; }

@media (max-width: 980px) {
  .cdl-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "visual" "duo" "side"; }
  .cdl-visual { height: min(70vw, 460px); }
}

/* Section 2 : bienfaits */
#bienfaits, #galerie, #coachs { scroll-margin-top: 70px; }
.cdl-perks { max-width: 1360px; margin-inline: auto; padding: clamp(48px, 7vw, 110px) var(--gutter); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.cdl-perks__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.cdl-perks__grid li {
  display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 22px; background: var(--cd-panel); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; transition-delay: var(--d, 0ms);
}
.cdl-perks__grid li:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--red) 50%, var(--line)); box-shadow: 0 24px 40px -28px rgba(197, 16, 25, .7); }
.cdl-perks__grid i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.cdl-perks__grid svg { width: 22px; height: 22px; }
.cdl-perks__grid h3 { font: 800 1.05rem/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .01em; margin-top: 6px; }
.cdl-perks__grid p { font-size: .875rem; line-height: 1.5; color: var(--text-2); }

/* Section 3 : galerie (grille éditoriale + texte à droite) */
.cdl-gallery { max-width: 1360px; margin-inline: auto; padding: clamp(32px, 5vw, 80px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.cdl-gallery__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(90px, 9vw, 130px); gap: 12px; }
.cdl-shot { position: relative; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--ink); cursor: zoom-in; outline-offset: 3px; }
.cdl-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .7s var(--ease), filter .5s; filter: saturate(.92); }
.cdl-shot:hover img { transform: scale(1.06); filter: none; }
.cdl-shot span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(18, 17, 16, .55); color: #fff; font: 800 1.6rem/1 var(--f-display); }
.cdl-shot--1 { grid-column: 1 / span 3; grid-row: span 3; }
.cdl-shot--2 { grid-column: 4 / span 3; grid-row: span 2; }
.cdl-shot--3 { grid-column: 4 / span 2; grid-row: span 2; }
.cdl-shot--4 { grid-column: 6 / span 1; grid-row: span 2; }
.cdl-shot--5 { grid-column: 1 / span 3; grid-row: span 1; }
.cdl-gallery__grid[data-n="1"] .cdl-shot--1 { grid-column: 1 / -1; grid-row: span 4; }
.cdl-gallery__grid[data-n="2"] .cdl-shot--2 { grid-row: span 3; }
.cdl-shot-empty { grid-column: 1 / -1; grid-row: span 3; display: grid; align-content: center; justify-items: start; gap: 10px; padding: clamp(22px, 3vw, 40px); border-radius: 24px; border: 1.5px dashed color-mix(in srgb, var(--text) 25%, transparent); background: var(--cd-panel); }
.cdl-shot-empty b { font: 800 1.4rem/1.1 var(--f-display); text-transform: uppercase; }
.cdl-shot-empty span { color: var(--text-2); line-height: 1.5; max-width: 32rem; }
.cdl-gallery__text { display: grid; justify-items: start; gap: 4px; }

/* Lightbox plein écran */
.cdl-lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 7, 7, .94); color: #fff; }
.cdl-lightbox[open] { display: grid; place-items: center; animation: cd-fade .3s both; }
.cdl-lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.cdl-lightbox img { max-width: min(92vw, 900px); max-height: 84dvh; border-radius: 18px; object-fit: contain; }
.cdl-lightbox p { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; font-size: .875rem; opacity: .8; }
.cdl-lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background-color .3s; }
.cdl-lightbox button:hover { background: var(--red); border-color: var(--red); }
.cdl-lightbox svg { width: 20px; height: 20px; }
.cdl-lightbox__close { top: 20px; right: 20px; }
.cdl-lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.cdl-lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }

/* Section 4 : coachs (cartes « artistes » de la référence) */
.cdl-coaches { max-width: 1360px; margin-inline: auto; padding: clamp(48px, 7vw, 110px) var(--gutter); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.cdl-coaches__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.cdl-coach {
  position: relative; display: grid; justify-items: center; gap: 4px; padding: 0 14px 14px; margin-top: 34px; border-radius: 24px; text-align: center; text-decoration: none; color: var(--text);
  background: var(--cd-panel); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
a.cdl-coach:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--red) 50%, var(--line)); box-shadow: 0 30px 50px -34px rgba(197, 16, 25, .8); }
.cdl-coach__av { display: grid; place-items: center; width: 68px; height: 68px; margin-top: -34px; border-radius: 50%; overflow: hidden; border: 4px solid var(--bg); background: var(--red); color: #fff; font: 800 1.4rem/1 var(--f-display); }
.cdl-coach__av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.cdl-coach b { margin-top: 8px; font-size: 1rem; }
.cdl-coach small { font-size: .75rem; color: var(--muted); }
.cdl-coach small .tbc { margin: 0; }
.cdl-coach__photo { display: block; width: 100%; aspect-ratio: 4 / 3; margin-top: 12px; border-radius: 16px; overflow: hidden; background: var(--ink); }
.cdl-coach__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .7s var(--ease); }
a.cdl-coach:hover .cdl-coach__photo img { transform: scale(1.06); }
.cdl-coach__photo--empty { display: grid; place-items: center; background: var(--surface-soft); color: var(--muted); font-size: .8125rem; border: 1.5px dashed var(--line); }
.cdl-coach__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .8125rem; font-weight: 600; color: var(--red); text-decoration: none; }
.cdl-coach__go span { width: 22px; height: 1.5px; background: currentColor; transition: width .3s var(--ease); }
a.cdl-coach:hover .cdl-coach__go span { width: 34px; }
.cdl-coach--tbc { border-style: dashed; }

/* Rangée de liens (logos de la référence) */
.cdl-others { max-width: 1360px; margin-inline: auto; padding: clamp(16px, 3vw, 40px) var(--gutter); border-block: 1px solid var(--line); }
.cdl-others ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.cdl-others a { font: 800 .9375rem/1 var(--f-display); font-stretch: 108%; letter-spacing: .02em; text-decoration: none; color: color-mix(in srgb, var(--text) 55%, transparent); transition: color .3s; }
.cdl-others a:hover { color: var(--red); }

/* Section 5 : appel à l'action final */
.cdl-final { position: relative; isolation: isolate; max-width: 1360px; margin-inline: auto; padding: clamp(64px, 9vw, 140px) var(--gutter) clamp(64px, 8vw, 120px); }
.cdl-final::before { content: ""; position: absolute; z-index: -1; inset: 10% -10% 0 30%; background: radial-gradient(50% 60% at 60% 50%, rgba(197, 16, 25, .3), transparent 70%); filter: blur(40px); }
.cdl-final__title { max-width: 14ch; font: 400 clamp(2.6rem, 6.4vw, 6rem)/.95 var(--f-display); font-stretch: 92%; letter-spacing: -.03em; text-transform: uppercase; }
.cdl-final__title span { font-weight: 900; font-stretch: 112%; color: var(--red); }
.cdl-final__lead { max-width: 34rem; margin-top: 20px; color: var(--text-2); line-height: 1.6; }
.cdl-final__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.cdl-pill { display: inline-flex; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--text) 30%, transparent); color: var(--text); font-weight: 600; text-decoration: none; transition: background-color .3s, color .3s, border-color .3s; }
.cdl-pill:hover { background: var(--inv-bg); color: var(--inv-text); border-color: var(--inv-bg); }

@media (max-width: 980px) {
  .cdl-perks, .cdl-gallery, .cdl-coaches { grid-template-columns: minmax(0, 1fr); }
  .cdl-gallery__text { order: -1; }
}
@media (max-width: 600px) {
  .cdl-duo { grid-template-columns: minmax(0, 1fr); }
  .cdl-tile { min-height: 180px; }
  .cdl-links { border-radius: 26px; justify-content: center; }
  .cdl-stats dd { font-size: 2rem; }
  .cdl-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; }
  .cdl-shot--1 { grid-column: 1 / -1; grid-row: span 2; }
  .cdl-shot--2, .cdl-shot--3, .cdl-shot--4, .cdl-shot--5 { grid-column: span 1; grid-row: span 2; }
  /* une photo seule en fin de grille prend toute la largeur, sans trou */
  .cdl-gallery__grid .cdl-shot:last-child:nth-child(even) { grid-column: 1 / -1; grid-row: span 1; }
  .cdl-lightbox__prev, .cdl-lightbox__next { top: auto; bottom: 14px; translate: none; }
  .cdl-final__cta > * { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cdl-hero__text, .cdl-visual { animation: none; }
}

/* =========================================================================
   PAGE STUDIOS (studios.html) — référence « Character select » aux couleurs
   Snatch : cartes en arc avec la carte centrale agrandie sur fond flouté,
   bandeau rouge défilant, puis visuel central annoté (traits + pastilles).
   Le visuel annoté est repris en haut des fiches studio (studio.html?s=…).
   ========================================================================= */
.sts-stage { position: relative; isolation: isolate; display: grid; align-content: center; gap: clamp(18px, 3vh, 34px); min-height: min(100svh, 980px); padding: calc(84px + env(safe-area-inset-top, 0px)) var(--gutter) clamp(40px, 6vh, 64px); overflow: hidden; }
.sts-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.sts-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(42px) saturate(1.25); transform: scale(1.25); opacity: .55; transition: opacity .25s; }
.sts-bg img.is-swap { opacity: 0; }
.sts-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 38%, color-mix(in srgb, var(--bg) 40%, transparent) 70%, var(--bg) 100%); }
.sts-head { display: grid; justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; animation: cd-fade .8s var(--ease) both; }
.sts-head .cdl-crumbs { margin-bottom: 10px; }
.sts-title { font: 300 clamp(2rem, 4.2vw, 3.9rem)/.95 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; }
.sts-title span { display: block; }
.sts-title strong { display: block; font-weight: 900; font-style: italic; font-stretch: 110%; color: var(--red); }
/* titre sur une seule ligne (page Électrostimulation) : taille réduite sur petit écran pour tenir */
.sts-title--line { white-space: nowrap; font-size: clamp(1.5rem, 5.2vw, 3.9rem); }
.sts-title--line span, .sts-title--line strong { display: inline; }
.sts-lead { max-width: 34rem; margin-top: 14px; font-size: .9375rem; line-height: 1.6; color: var(--text-2); }

/* Carrousel */
.sts-carousel { --cw: clamp(200px, 22vw, 310px); --ch: calc(var(--cw) * 1.4); --step: calc(var(--cw) * .95); display: grid; gap: clamp(16px, 3vh, 28px); outline: none; }
.sts-track { position: relative; display: flex; gap: 14px; overflow-x: auto; padding: 4px; }
.sts-slide { flex: 0 0 var(--cw); }
.sts-carousel.is-ready .sts-track { display: block; overflow: visible; height: calc(var(--ch) + 16px); touch-action: pan-y; user-select: none; }
.sts-carousel.is-ready .sts-slide {
  --x: 0; --sc: .78; position: absolute; left: 50%; top: 50%; width: var(--cw); height: var(--ch); z-index: 2; opacity: .72;
  transform: translate(-50%, -50%) translateX(calc(var(--x) * var(--step))) scale(var(--sc)); filter: grayscale(.35) brightness(.72);
  transition: transform .8s var(--ease), opacity .7s var(--ease), filter .7s var(--ease);
}
.sts-carousel.is-ready .sts-slide.is-active { --sc: 1; z-index: 3; opacity: 1; filter: none; }
.sts-carousel.is-ready .sts-slide.is-far { --sc: .6; z-index: 1; opacity: 0; pointer-events: none; }
.sts-card { position: relative; display: block; height: 100%; min-height: 220px; border-radius: 28px; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; -webkit-user-drag: none; transition: box-shadow .6s var(--ease); }
.sts-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); pointer-events: none; }
.sts-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 28%, transparent 45%, rgba(10, 9, 9, .92) 100%); }
.is-active .sts-card { box-shadow: 0 0 0 2px var(--red), 0 40px 70px -34px rgba(197, 16, 25, .85); }
.is-active .sts-card:hover img { transform: scale(1.05); }
.sts-card__top { position: absolute; z-index: 1; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; gap: 8px; }
.sts-card__num { font: 800 .875rem/1 var(--f-display); letter-spacing: .08em; padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sts-card__illus { padding: 6px 10px; border-radius: 999px; background: rgba(242, 183, 5, .92); color: #121110; font-size: .625rem; font-weight: 600; white-space: nowrap; }
.sts-card__body { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 6px; container-type: inline-size; }
.sts-card__body small { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.sts-card__body b { font: 900 clamp(1.5rem, 2.4vw, 2.3rem)/.95 var(--f-display); font-style: italic; font-stretch: 108%; text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; }
/* nom du studio sur une seule ligne : taille réduite selon sa longueur (--len, studios.js) et la largeur de la carte */
.sts-card__body b { font-size: min(clamp(1.5rem, 2.4vw, 2.3rem), calc(100cqi / (var(--len, 10) * .8))); }
.sts-card__hook { font-size: .8125rem; line-height: 1.45; opacity: .85; }
.sts-card__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-size: .8125rem; font-weight: 600; color: #fff; }
.sts-card__go i { position: relative; width: 26px; height: 1.5px; background: var(--red); transition: width .3s var(--ease); }
.sts-card__go i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1.5px solid var(--red); border-right: 1.5px solid var(--red); transform: rotate(45deg); }
.sts-card:hover .sts-card__go i { width: 40px; }
.sts-carousel.is-ready .sts-slide:not(.is-active) .sts-card__hook, .sts-carousel.is-ready .sts-slide:not(.is-active) .sts-card__go { opacity: 0; }
.sts-card__hook, .sts-card__go { transition: opacity .5s var(--ease); }

/* Commandes : flèches, points avec barre de progression, pause */
.sts-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; }
.sts-carousel:not(.is-ready) .sts-controls { display: none; }
.sts-dots { display: flex; gap: 6px; }
.sts-dot { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--text); font: 600 .8125rem/1 var(--f-body); cursor: pointer; overflow: hidden; transition: background-color .3s, color .3s, border-color .3s; }
.sts-dot:hover { border-color: var(--red); }
.sts-dot.is-active { background: var(--inv-bg); color: var(--inv-text); border-color: var(--inv-bg); }
.sts-dot i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.is-ticking .sts-dot.is-active i { animation: sts-progress 3s linear both; }
@keyframes sts-progress { to { transform: scaleX(1); } }
.sts-play { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--text); font: 500 .8125rem/1 var(--f-body); cursor: pointer; }
.sts-play:hover { border-color: var(--red); color: var(--red); }
.sts-play svg { width: 16px; height: 16px; }
.sts-play__pause { fill: none; stroke: currentColor; stroke-width: 2.4; }
.sts-play__play { display: none; fill: currentColor; stroke: none !important; }
.sts-play.is-off .sts-play__pause { display: none; }
.sts-play.is-off .sts-play__play { display: block; }

/* Bandeau défilant */
.sts-ribbon { position: relative; z-index: 2; width: 104%; margin: clamp(10px, 2vw, 24px) -2%; padding: 14px 0; overflow: hidden; background: var(--red); color: #fff; transform: rotate(-2deg); box-shadow: 0 20px 40px -24px rgba(197, 16, 25, .9); }
.sts-ribbon__run { display: flex; width: max-content; animation: sts-marquee 26s linear infinite; }
.sts-ribbon span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 900 clamp(1.4rem, 3vw, 2.4rem)/1 var(--f-display); font-style: italic; font-stretch: 110%; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.sts-ribbon span::after { content: ""; width: .5em; height: .5em; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
@keyframes sts-marquee { to { transform: translateX(-50%); } }

/* Visuel central annoté (page Studios + haut des fiches studio) */
.sts-focus { max-width: 1360px; margin-inline: auto; padding: clamp(56px, 8vw, 120px) var(--gutter) clamp(32px, 5vw, 64px); display: grid; gap: clamp(26px, 4vw, 48px); }
.sts-focus__head { display: grid; justify-items: center; text-align: center; }
.sts-focus__head p:not(.cdl-eyebrow) { max-width: 36rem; }
.sts-anno { --len: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px) minmax(0, 1fr); gap: 0 34px; align-items: center; }
.sts-anno__visual { position: relative; margin: 0; aspect-ratio: 3 / 4.1; border-radius: 999px 999px 32px 32px; overflow: hidden; background: var(--ink); box-shadow: 0 50px 80px -50px rgba(197, 16, 25, .75); }
.sts-anno__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sts-anno__visual .cdl-visual__tag { left: 50%; right: auto; translate: -50% 0; }
.sts-notes { position: relative; z-index: 2; display: grid; gap: clamp(40px, 8vh, 90px); }
.sts-notes--l { justify-items: end; text-align: right; }
.sts-note { position: relative; display: grid; gap: 4px; max-width: 250px; padding: 14px 18px; border-radius: 18px; background: var(--cd-panel); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: cd-fade .6s calc(var(--i, 0) * 90ms) var(--ease) both; }
.sts-note b { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.sts-note span { font: 700 1rem/1.25 var(--f-display); }
.sts-note .tbc { margin-left: .3em; }
.sts-note::before, .sts-note::after { content: ""; position: absolute; top: 50%; pointer-events: none; }
.sts-note::after { width: var(--len); height: 1.5px; background: var(--red); }
.sts-note::before { z-index: 1; width: 12px; height: 12px; margin-top: -5.25px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px color-mix(in srgb, var(--red) 30%, transparent); }
.sts-notes--l .sts-note::after { left: 100%; }
.sts-notes--l .sts-note::before { left: calc(100% + var(--len) - 6px); }
.sts-notes--r .sts-note::after { right: 100%; }
.sts-notes--r .sts-note::before { right: calc(100% + var(--len) - 6px); }
.sts-focus__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (max-width: 860px) {
  .sts-anno { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  .sts-anno__visual { grid-column: 1 / -1; order: -1; width: min(100%, 380px); justify-self: center; }
  .sts-notes { gap: 14px; }
  .sts-notes--l { justify-items: stretch; text-align: left; }
  .sts-note { max-width: none; }
  .sts-note::before, .sts-note::after { display: none; }
}
@media (max-width: 600px) {
  .sts-carousel { --cw: min(62vw, 250px); --step: calc(var(--cw) * .78); }
  .sts-arrow { display: none; }
  .sts-dot { padding: 0 11px; font-size: .75rem; }
  .sts-anno { grid-template-columns: minmax(0, 1fr); }
  .sts-focus__cta > * { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .sts-carousel.is-ready .sts-slide, .sts-card img, .sts-bg img { transition: none; }
  .sts-ribbon__run { animation: none; }
  .sts-head, .sts-note { animation: none; }
}

/* =========================================================================
   FICHE STUDIO (studio.html?s=…) — visuel annoté en tête, puis présentation
   en 4 blocs, cours (liens vers leurs pages), galerie, coachs, planning, CTA.
   ========================================================================= */
.std-hero { max-width: 1400px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: calc(84px + env(safe-area-inset-top, 0px)) var(--gutter) clamp(36px, 5vw, 72px); }
.std-hero__text { display: grid; justify-items: start; gap: 16px; min-width: 0; animation: cd-fade .8s var(--ease) both; }
.std-num { font: 800 .8125rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.std-title { margin-top: -6px; }
.std-warn { max-width: 32rem; padding: 10px 14px; border-radius: 14px; border: 1px dashed var(--tbc); background: rgba(242, 183, 5, .1); font-size: .8125rem; line-height: 1.5; color: var(--text-2); }
.std-links { justify-content: flex-start; padding: 8px 10px; border-width: 1px; margin-top: 6px; }
.std-anno { --len: 46px; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) minmax(0, 1fr); gap: 0 24px; }
.std-anno .sts-note { max-width: 210px; padding: 12px 14px; }
.std-anno .sts-note span { font-size: .9375rem; }
#presentation, #cours, #planning { scroll-margin-top: 70px; }

.std-about { max-width: 1360px; margin-inline: auto; padding: clamp(48px, 7vw, 110px) var(--gutter); display: grid; gap: clamp(24px, 3vw, 40px); }
.std-about__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.std-block { display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: 24px; background: var(--cd-panel); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; transition-delay: var(--d, 0ms); }
.std-block:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--red) 50%, var(--line)); }
.std-block > span { font: 900 1.6rem/1 var(--f-display); font-style: italic; color: var(--red); }
.std-block h3 { font: 800 1.15rem/1.1 var(--f-display); text-transform: uppercase; }
.std-block p { font-size: .9rem; line-height: 1.6; color: var(--text-2); }
.std-block--dark { background: var(--cd-ink); border-color: transparent; color: #fff; }
.std-block--dark p { color: rgba(255, 255, 255, .78); }
.std-equip { display: grid; gap: 8px; }
.std-equip li { display: grid; gap: 1px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.std-equip li:last-child { border-bottom: 0; padding-bottom: 0; }
.std-equip small { font-size: .6875rem; color: var(--muted); }
.std-equip .is-tbc { color: var(--text-2); }

.std-courses { max-width: 1360px; margin-inline: auto; padding: clamp(32px, 5vw, 80px) var(--gutter); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.std-courses__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.std-course { display: grid; gap: 6px; padding: 10px 10px 16px; border-radius: 24px; background: var(--cd-panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.std-course:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--red) 50%, var(--line)); box-shadow: 0 30px 50px -34px rgba(197, 16, 25, .8); }
.std-course > :not(.std-course__img) { margin-inline: 8px; }
.std-course__img { position: relative; display: block; aspect-ratio: 4 / 4.6; margin-bottom: 8px; border-radius: 18px; overflow: hidden; background: var(--ink); }
.std-course__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .7s var(--ease); }
.std-course:hover .std-course__img img { transform: scale(1.06); }
.std-course__img em { position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; border-radius: 999px; background: rgba(242, 183, 5, .92); color: #121110; font-size: .625rem; font-weight: 600; font-style: normal; }
.std-course small { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.std-course b { font: 800 1.2rem/1.05 var(--f-display); text-transform: uppercase; }
.std-course__hook { font-size: .8125rem; color: var(--text-2); }
.std-course__tbc { font-size: .75rem; color: var(--muted); }
.std-course__tbc .tbc { margin-left: .2em; }
.std-course .cdl-coach__go { margin-top: 4px; }
.std-course:hover .cdl-coach__go span { width: 34px; }

.std-plan { max-width: 1360px; margin-inline: auto; padding: clamp(32px, 5vw, 72px) var(--gutter); }
.std-plan__box { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 40px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: var(--cd-ink); color: #fff; }
.std-plan__box::before { content: ""; position: absolute; z-index: -1; inset: -40% -10% -40% 50%; background: radial-gradient(closest-side, rgba(197, 16, 25, .55), transparent); filter: blur(30px); }
.std-plan h2 { font: 400 clamp(1.8rem, 3.4vw, 3rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; margin: 10px 0 12px; }
.std-plan h2 em { font-weight: 900; font-style: italic; color: var(--red); }
.std-plan p:not(.cdl-eyebrow) { max-width: 38rem; color: rgba(255, 255, 255, .78); line-height: 1.6; }
.std-plan .tbc { color: #f2c94c; }
.std-plan__cta { display: grid; gap: 10px; }
.std-plan .cdl-pill { color: #fff; border-color: rgba(255, 255, 255, .35); justify-content: center; }
.std-plan .cdl-pill:hover { background: #fff; color: #121110; border-color: #fff; }
.cdl-others a.is-other { color: var(--red); }

@media (max-width: 1100px) {
  .std-hero { grid-template-columns: minmax(0, 1fr); }
  .std-about__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .std-courses { grid-template-columns: minmax(0, 1fr); }
  .std-plan__box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .std-anno { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .std-anno .sts-note { max-width: none; }
}
@media (max-width: 600px) {
  .std-about__grid { grid-template-columns: minmax(0, 1fr); }
  .std-anno { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .std-links { border-radius: 22px; }
  .std-courses__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .std-course b { font-size: 1rem; }
  .std-course__hook { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .std-hero__text { animation: none; }
}
.page-std .cdl-final__title { max-width: 20ch; font-size: clamp(2.2rem, 5vw, 4.8rem); }
.page-std .cdl-final__title span { white-space: nowrap; }
@media (max-width: 600px) { .page-std .cdl-final__title span { white-space: normal; } }
/* Photo du visuel annoté en cercle (demande benzo) */
.sts-anno__visual { aspect-ratio: 1; border-radius: 50%; }
.sts-anno__visual img { object-position: 50% 22%; }
.sts-anno__visual .cdl-visual__tag { bottom: 11%; max-width: 70%; white-space: normal; text-align: center; line-height: 1.3; font-size: .625rem; }
@media (min-width: 861px) { .sts-anno { --len: 80px; grid-template-columns: minmax(0, 1fr) minmax(260px, 400px) minmax(0, 1fr); } }
@media (min-width: 861px) { .sts-notes { gap: clamp(36px, 6vh, 64px); } }
@media (min-width: 861px) { .std-anno { --len: 60px; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px) minmax(0, 1fr); } }
@media (max-width: 860px) { .sts-anno__visual { width: min(100%, 340px); } }

/* Inversion des visuels (demande benzo) : visuel rond annoté sur le détail des cours,
   grande photo rectangulaire aux coins arrondis sur les fiches studio */
.cdl-anno { grid-area: visual; min-width: 0; animation: cd-fade .9s .1s var(--ease) both; }
.cdl-anno .sts-note a { color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.cdl-anno .sts-note a:hover { color: var(--red); }
.std-visual { grid-area: auto; height: clamp(380px, 64vh, 580px); }
@media (max-width: 1100px) { .std-visual { height: min(78vw, 520px); } }
@media (prefers-reduced-motion: reduce) { .cdl-anno { animation: none; } }
.sts-anno .sts-note .tbc { white-space: nowrap; font: 600 .5625rem/1.2 var(--f-body); }
@media (min-width: 861px) { .cdl-anno { --len: 40px; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) minmax(0, 1fr); gap: 0 18px; } .cdl-anno .sts-note { padding: 11px 14px; } }

/* =========================================================================
   PAGE ÉQUIPEMENTS (equipements.html) — en-tête centré sur fond flouté (comme
   la page Studios), barre de catégories collante qui filtre, grille de cartes.
   ========================================================================= */
.eqs-stage { min-height: 0; padding-bottom: clamp(28px, 4vw, 48px); }
.eqs-count { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin-top: 26px; }
.eqs-count div { display: grid; justify-items: center; gap: 4px; }
.eqs-count dd { margin: 0; font: 400 clamp(2rem, 3.4vw, 2.8rem)/1 var(--f-display); letter-spacing: -.02em; }
.eqs-count div:first-child dd { color: var(--red); font-weight: 800; font-style: italic; }
.eqs-count dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.eqs-nav { position: sticky; top: 58px; z-index: 20; padding: 10px var(--gutter); transition: background-color .3s, box-shadow .3s; }
.eqs-nav.is-stuck { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 24px -20px var(--shadow-strong); }
.eqs-nav__in { display: flex; gap: 6px; justify-content: center; max-width: 1360px; margin-inline: auto; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.eqs-nav__in::-webkit-scrollbar { display: none; }
.eqs-nav .sts-dot { flex: none; }

.eqs-list { max-width: 1360px; margin-inline: auto; padding: clamp(16px, 3vw, 32px) var(--gutter) clamp(40px, 6vw, 90px); }
.eqs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.eqs-cat { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: clamp(22px, 3vw, 40px); padding-bottom: 12px; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.eqs-cat:first-child { margin-top: 0; }
.eqs-cat h2 { font: 400 clamp(1.6rem, 2.6vw, 2.4rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; }
.eqs-cat h2 small { display: inline-grid; place-items: center; min-width: 28px; height: 28px; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--red); color: #fff; font: 700 .8125rem/1 var(--f-body); vertical-align: middle; }
.eqs-cat p { color: var(--text-2); font-size: .9rem; }
.eqs-item.is-in-f, .eqs-cat.is-in-f { animation: cd-fade .55s calc(var(--k, 0) * 45ms) var(--ease) both; }

/* Carte équipement (même famille que les cartes de la page Studios) */
.eq-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.eq-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
.eq-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, transparent 30%, transparent 42%, rgba(10, 9, 9, .9) 100%); }
.eq-card:hover, .eq-card:focus-visible { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--red), 0 34px 60px -34px rgba(197, 16, 25, .85); }
.eq-card:hover img { transform: scale(1.07); filter: none; }
.eq-card__top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; }
.eq-card__brand { padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #121110; font: 800 .625rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; }
.eq-card__body { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 5px; }
.eq-card__body small { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.eq-card__body b { font: 900 clamp(1.25rem, 1.8vw, 1.6rem)/1 var(--f-display); font-style: italic; font-stretch: 106%; text-transform: uppercase; letter-spacing: -.01em; }
.eq-card__hook { font-size: .8125rem; line-height: 1.4; opacity: .85; }
.eq-card .sts-card__go { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s, margin .45s; }
.eq-card:hover .sts-card__go, .eq-card:focus-visible .sts-card__go { max-height: 30px; opacity: 1; }
.eq-card--empty { background: radial-gradient(80% 60% at 70% 20%, rgba(197, 16, 25, .55), transparent 70%), var(--ink); }
.eq-card__ph { position: absolute; inset: 0; z-index: -1; display: grid; place-content: center; justify-items: center; gap: 10px; color: rgba(255, 255, 255, .6); }
.eq-card__ph svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.eq-card__ph small { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
@media (hover: none) { .eq-card .sts-card__go { max-height: 30px; opacity: 1; } }

/* =========================================================================
   FICHE ÉQUIPEMENT (equipement.html?e=…) — en-tête des fiches studio,
   avantages (cartes des cours), caractéristiques, galerie, équipements voisins.
   ========================================================================= */
#avantages, #caracteristiques, #voisins { scroll-margin-top: 70px; }
.eq-visual--empty { display: grid; background: radial-gradient(70% 60% at 70% 25%, rgba(197, 16, 25, .5), transparent 70%), var(--ink); }
.eq-visual--empty .eq-card__ph { z-index: 0; }
.eq-specs { max-width: 1360px; margin-inline: auto; padding: clamp(32px, 5vw, 80px) var(--gutter); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, .7fr); gap: clamp(24px, 3.4vw, 52px); align-items: start; }
.eq-specs__list { display: grid; margin: 0; border-top: 1.5px solid var(--text); }
.eq-specs__list div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.eq-specs__list div:hover { background: color-mix(in srgb, var(--red) 6%, transparent); }
.eq-specs__list dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.eq-specs__list dd { margin: 0; font: 700 1rem/1.35 var(--f-display); }
.eq-specs__list .is-tbc dd { font-weight: 500; color: var(--text-2); }
.eq-where > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--red); color: #fff; }
.eq-where > span svg { width: 22px; height: 22px; }
.eq-where p { color: rgba(255, 255, 255, .78); }
.eq-where__links { display: grid; gap: 4px; margin-top: 6px; }
.eq-where__links a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; transition: color .3s, padding .3s var(--ease); }
.eq-where__links a:hover { color: var(--red); padding-left: 6px; }
.eq-near { max-width: 1360px; margin-inline: auto; padding: clamp(40px, 6vw, 90px) var(--gutter) clamp(28px, 4vw, 56px); display: grid; gap: clamp(20px, 3vw, 36px); }
.eq-near__pn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.eq-card--sm { aspect-ratio: 4 / 5; transition-delay: 0s; }

@media (max-width: 1100px) {
  .eq-specs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .eq-specs > header { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .eq-near__pn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .eqs-nav { top: 56px; padding-inline: 0; }
  .eqs-nav__in { justify-content: flex-start; padding-inline: 16px; }
  .eqs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .eq-card { border-radius: 20px; }
  .eq-card__hook { display: none; }
  .eq-card__body { left: 12px; right: 12px; bottom: 12px; }
  .eq-card__body b { font-size: 1.05rem; }
  .eq-card__top { top: 10px; left: 10px; right: 10px; }
  .eq-card__brand { display: none; }
  .eq-specs { grid-template-columns: minmax(0, 1fr); }
  .eq-specs__list div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .eq-card, .eq-card img { transition: none; }
  .eqs-item.is-in-f, .eqs-cat.is-in-f { animation: none; }
}
.eq-card__body b, .eq-card__hook { overflow-wrap: anywhere; hyphens: auto; }

/* ---------- Vidéos d'un cours (ajoutées depuis le back-office ; section absente sinon) ---------- */
.cdl-videos { max-width: 1360px; margin-inline: auto; padding: 0 var(--gutter) clamp(32px, 5vw, 80px); }
.cdl-videos__title { font: 800 italic var(--s-h3)/1 var(--f-display); text-transform: uppercase; margin: 0 0 20px; }
.cdl-videos__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.cdl-videos figure { margin: 0; }
.cdl-videos iframe, .cdl-videos video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-md); background: var(--ink); }
.cdl-videos figcaption { margin-top: 8px; font-size: var(--s-small); color: var(--muted); }

/* ---------- Fiche coach : parcours et photos (saisis dans le back-office ; section absente sinon) ---------- */
.cd-bio { max-width: 1360px; margin-inline: auto; padding: clamp(32px, 5vw, 72px) var(--gutter); display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: minmax(0, 1fr); }
.cd-bio h2 { font: 800 var(--s-h2)/.95 var(--f-display); text-transform: uppercase; margin: 0; letter-spacing: -.01em; }
.cd-bio h2 em { color: var(--red); }
.cd-bio__text { max-width: 68ch; color: var(--text-2); font-size: 1.0625rem; line-height: 1.65; }
.cd-bio__text p { margin: 0 0 1em; }
.cd-bio__pics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); gap: 12px; }
.cd-bio__pics img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-md); }
@media (min-width: 900px) { .cd-bio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .cd-bio h2 { grid-column: 1 / -1; } }

/* Champ piège anti-robots des formulaires (invisible pour les visiteurs) */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Ancres de l'accueil : la section arrive sous la barre fixe, pas derrière */
.studios, .gear, .coaches, .vibe, .final { scroll-margin-top: 64px; }

/* =========================================================================
   PAGES LÉGALES (mentions légales, confidentialité) — texte géré dans le
   back-office (Paramètres → Infos du club)
   ========================================================================= */
.legal { width: min(100% - 2 * var(--gutter), 760px); margin: 0 auto; padding: calc(110px + env(safe-area-inset-top, 0px)) 0 clamp(56px, 7vw, 96px); }
.legal__crumbs { display: flex; gap: 8px; margin-bottom: 18px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal__title { overflow-wrap: break-word; hyphens: auto; font-size: clamp(1.7rem, 7vw, 3.6rem); font-weight: 900; font-stretch: 112%; text-transform: uppercase; line-height: .95; margin-bottom: 28px; }
.legal h2 { margin: 36px 0 12px; font-size: 1.25rem; font-weight: 800; }
.legal p, .legal li { color: var(--text-2); line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal__list { display: grid; gap: 8px; }
.legal__list b { color: var(--text); font-weight: 600; }
.legal a { color: var(--red); }

/* Barre compacte sur petit écran : logo, thème, essai et menu tiennent sans rien écraser */
.topbar__burger { flex: none; }
@media (max-width: 400px) {
  .topbar { gap: 8px; padding-inline: 12px; }
  .topbar .btn--sm { padding: 0 .9em; }
  .topbar__burger { width: 40px; height: 40px; }
  .topbar__burger span, .topbar__burger::after { left: 11px; right: 11px; }
  .topbar__burger span:first-child { top: 13px; } .topbar__burger span:last-child { top: 25px; } .topbar__burger::after { top: 19px; }
  /* bouton de thème réduit à une pastille : seule l'icône du thème actif est visible */
  .topbar .theme-toggle { width: 34px; padding: 0; justify-content: center; }
  .topbar .theme-toggle__knob { display: none; }
  .topbar .theme-toggle .ico-sun { color: var(--text); }
  .topbar .theme-toggle .ico-moon, .topbar .theme-toggle[aria-checked="true"] .ico-sun { display: none; }
  .topbar .theme-toggle[aria-checked="true"] .ico-moon { display: block; color: var(--text); }
}

/* « Nos coachs » : le texte replié des vignettes ne crée plus de défilement horizontal sur petit écran */
.crew { overflow-x: clip; }

/* Menus : quand la place manque, les liens laissent la place au bouton « menu » (même liste dans le menu mobile) */
/* même seuil pour les deux menus : ils passent en bouton « menu » en même temps */
/* 8 liens : le menu du hero (moitié d'écran) passe en bouton plus tôt que la barre fixe */
/* 10 liens (dont Bien-être, Électro) : menu du hero resserré pour rester affiché dans le panneau de droite ;
   mot vertical des scènes placé sous le menu */
@media (max-width: 2100px) {
  .hero__vertical { top: max(9%, 100px); }
  .hero__nav { gap: 0; font-size: .6875rem; letter-spacing: .05em; right: calc(var(--gutter) + 12px); }
  .hero__nav a { padding: 8px 8px; }
}
/* écran d'ordinateur portable (1161–1600 px) : menu du hero toujours affiché, plus compact ;
   le sélecteur de thème garde son style (soleil / lune) */
@media (max-width: 1600px) {
  .hero__nav { font-size: .625rem; letter-spacing: .03em; right: calc(var(--gutter) + 4px); }
  .hero__nav a { padding: 7px 6px; }
  .hero__nav .theme-toggle { margin-left: 4px; }
}
@media (max-width: 1280px) {
  .hero__nav { font-size: .5625rem; letter-spacing: .02em; }
  .hero__nav a { padding: 6px 5px; }
}
@media (max-width: 1160px) {
  .hero__nav a { display: none; }
  .hero__nav .hero__burger { display: block; margin-left: 8px; }
}
@media (max-width: 1360px) {
  .topbar__nav { display: none; }
  .topbar__burger { display: block; }
  .topbar .theme-toggle { margin-left: auto; }
}
/* menu ouvert depuis le hero : la barre fixe apparaît pour garder le bouton de fermeture accessible */
.menu-open .topbar { transform: none; }
/* menu ouvert : la barre montre toujours son bouton de fermeture, même quand ses liens tiennent */
.menu-open .topbar__nav { display: none; }
.menu-open .topbar__burger { display: block; }
.menu-open .topbar .theme-toggle { margin-left: auto; }
.menu a.is-current { color: var(--red); }

/* Accueil, bloc Ambiance : deux actions */
.vibe__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* =========================================================================
   PAGE AMBIANCE — la vie du club
   ========================================================================= */
.amb { overflow-x: clip; }
.amb-head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 56px); }
.amb-head h2 { font: 900 var(--s-h2)/.92 var(--f-display); font-stretch: 118%; text-transform: uppercase; }

.amb-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 5vw, 80px);
  min-height: min(100svh, 920px);
  padding: calc(110px + env(safe-area-inset-top, 0px)) max(var(--gutter), 84px) clamp(48px, 6vw, 90px) var(--gutter);
}
.amb-hero__text { display: grid; gap: 22px; justify-items: start; }
.amb-hero__title { font: 500 clamp(2.8rem, 6.4vw, 6.2rem)/.95 var(--f-display); letter-spacing: -.04em; }
.amb-hero__title em { display: block; font-style: normal; font-weight: 900; color: var(--red); }
.amb-hero__lead { max-width: 34rem; color: var(--text-2); font-size: 1.0625rem; line-height: 1.7; }
.amb-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.amb-hero__pics { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(440px, 70svh, 700px); }
.amb-hero__pic { margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); }
.amb-hero__pic img { width: 100%; height: 100%; object-fit: cover; }
.amb-hero__pic--a { grid-row: 1 / -1; }
.amb-hero__pic--b img { object-position: 50% 30%; }

.amb-words { background: var(--inv-bg); color: var(--inv-text); padding: clamp(36px, 5vw, 64px) var(--gutter); text-align: center; display: grid; gap: 18px; }
.amb-words__intro { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.amb-words__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.amb-words__list li { padding: 12px 24px; border: 1.5px solid currentColor; border-radius: 999px; font: 700 clamp(1rem, 1.8vw, 1.5rem)/1.2 var(--f-display); }
.amb-words__list li:nth-child(2) { background: var(--red); border-color: var(--red); color: #fff; }

.amb-pillars { padding: clamp(64px, 8vw, 120px) max(var(--gutter), 84px) clamp(48px, 6vw, 90px) var(--gutter); display: grid; gap: clamp(36px, 5vw, 72px); }
.amb-pillars .amb-head { margin-bottom: 0; }
.amb-pillar { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.amb-pillar--flip .amb-pillar__pic { order: 2; }
.amb-pillar__pic { margin: 0; aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); }
.amb-pillar__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.amb-pillar:hover .amb-pillar__pic img { transform: scale(1.04); }
.amb-pillar__text { display: grid; gap: 14px; justify-items: start; max-width: 32rem; }
.amb-pillar__num { font: 900 clamp(2.4rem, 4vw, 3.6rem)/1 var(--f-display); font-stretch: 120%; color: var(--red); }
.amb-pillar__text h3 { font: 900 clamp(1.5rem, 2.6vw, 2.3rem)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.amb-pillar__text p { color: var(--text-2); line-height: 1.7; }

.amb-all {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 80px);
  margin: 0 var(--gutter); padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl);
  background: radial-gradient(120% 120% at 0% 0%, var(--red) 0%, #8c0b12 45%, var(--red-deep) 100%); color: #fff;
}
.amb-all__pic { margin: 0; aspect-ratio: 4 / 5; max-height: 560px; border-radius: var(--r-lg); overflow: hidden; }
.amb-all__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.amb-all__text { display: grid; gap: 18px; justify-items: start; }
.amb-all__text h2 { font: 900 clamp(1.8rem, 3.6vw, 3.2rem)/.98 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.amb-all__text p:not(.eyebrow) { line-height: 1.7; opacity: .92; max-width: 34rem; }

.amb-gallery { padding: clamp(64px, 8vw, 120px) max(var(--gutter), 84px) clamp(48px, 6vw, 90px) var(--gutter); }
.amb-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 18vw, 280px); grid-auto-flow: dense; gap: 12px; }
.amb-gallery__grid li { border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.amb-gallery__grid li.is-tall { grid-row: span 2; }
.amb-gallery__grid li.is-wide { grid-column: span 2; }
.amb-gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.amb-gallery__grid li:hover img { transform: scale(1.05); }

.amb-cta { margin: 0 var(--gutter) clamp(56px, 7vw, 100px); padding: clamp(40px, 6vw, 84px) clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--surface-alt); text-align: center; display: grid; justify-items: center; gap: 16px; }
.amb-cta h2 { font: 900 var(--s-h2)/.92 var(--f-display); font-stretch: 118%; text-transform: uppercase; }
.amb-cta p { color: var(--text-2); max-width: 34rem; }
.amb-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: 8px; }
.amb-cta__tel a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.amb-cta__tel svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

@media (max-width: 960px) {
  .amb-hero, .amb-pillar, .amb-all { grid-template-columns: minmax(0, 1fr); }
  .amb-hero { min-height: 0; padding-right: var(--gutter); }
  .amb-hero__pics { height: clamp(360px, 90vw, 560px); }
  .amb-pillar--flip .amb-pillar__pic { order: 0; }
  .amb-pillars, .amb-gallery { padding-right: var(--gutter); }
  .amb-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 42vw, 260px); }
  .amb-all__pic { aspect-ratio: 4 / 3; }
}

/* =========================================================================
   PAGE « SITE EN CONSTRUCTION » (Paramètres → Site en construction)
   ========================================================================= */
.uc { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); background: var(--bg); color: var(--text); }
.uc__inner { display: grid; align-content: center; justify-items: start; gap: 18px; padding: clamp(32px, 6vw, 88px) var(--gutter); max-width: 680px; margin-left: auto; width: 100%; }
.uc__logo { width: clamp(130px, 14vw, 180px); height: auto; aspect-ratio: 655 / 322; margin-bottom: clamp(8px, 2vw, 24px); }
.uc__eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.uc__eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(197, 16, 25, .6); animation: uc-pulse 1.8s infinite; }
@keyframes uc-pulse { 70% { box-shadow: 0 0 0 10px rgba(197, 16, 25, 0); } 100% { box-shadow: 0 0 0 0 rgba(197, 16, 25, 0); } }
.uc__title { font: 900 clamp(2.2rem, 5vw, 4.4rem)/.95 var(--f-display); font-stretch: 116%; text-transform: uppercase; }
.uc__lead { color: var(--text-2); font-size: 1.0625rem; line-height: 1.7; max-width: 34rem; }
.uc__info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 8px 0 0; }
.uc__info > div { padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface-alt); min-width: 0; }
.uc__info dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.uc__info dd { margin: 0; font-weight: 600; font-size: .9375rem; line-height: 1.45; overflow-wrap: anywhere; }
.uc__info a { color: inherit; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.uc__info a:hover { color: var(--red); }
.uc__info svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.uc__form { width: 100%; display: grid; gap: 14px; padding: clamp(18px, 2.4vw, 26px); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.uc__form-title { font: 800 1.1rem/1.2 var(--f-display); }
.uc__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.uc__form label { display: grid; gap: 6px; font-size: .8125rem; color: var(--text-2); }
.uc__form input:not([type="checkbox"]) { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--input-bg); color: var(--text); font: inherit; font-size: 1rem; }
.uc__form input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.uc__form input[aria-invalid="true"] { border-color: var(--red-hot); }
.uc__form .btn { justify-self: start; }
.uc__social a, .uc__legal a { color: inherit; }
.uc__social { font-weight: 600; }
.uc__legal { font-size: .8125rem; color: var(--muted); }
.uc__pic { position: relative; margin: 0; overflow: hidden; background: radial-gradient(90% 70% at 50% 45%, var(--red) 0%, var(--red-deep) 60%, #120203 100%); }
.uc__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; mix-blend-mode: luminosity; opacity: .85; }
.uc__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 22%); }
@media (max-width: 960px) {
  .uc { grid-template-columns: minmax(0, 1fr); }
  .uc__pic { order: -1; height: 34svh; min-height: 220px; }
  .uc__pic::after { background: linear-gradient(0deg, var(--bg) 0%, transparent 45%); }
  .uc__inner { margin: 0; max-width: none; padding-top: 8px; }
}
@media (max-width: 640px) {
  .uc__info, .uc__fields { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================================
   PAGE CONTACT — coordonnées, plan Google Maps (à gauche), formulaire
   ========================================================================= */
.ct { --ct-pad-r: max(var(--gutter), 84px); overflow-x: clip; }
.ct-hero { display: grid; gap: 16px; justify-items: start; padding: calc(110px + env(safe-area-inset-top, 0px)) var(--ct-pad-r) clamp(28px, 4vw, 48px) var(--gutter); }
.ct-hero__title { font: 500 clamp(2.6rem, 6vw, 5.6rem)/.95 var(--f-display); letter-spacing: -.04em; max-width: 14ch; }
.ct-hero__title em { font-style: normal; font-weight: 900; color: var(--red); }
.ct-hero__lead { max-width: 40rem; color: var(--text-2); font-size: 1.0625rem; line-height: 1.7; }

.ct-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0 var(--ct-pad-r) clamp(28px, 4vw, 48px) var(--gutter); }
.ct-card { display: flex; gap: 14px; align-items: flex-start; padding: clamp(18px, 2vw, 24px); border-radius: var(--r-xl); background: var(--surface-alt); min-width: 0; transition: transform .3s var(--ease); }
.ct-card:hover { transform: translateY(-3px); }
.ct-card__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(197, 16, 25, .6); }
.ct-card__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-card h2 { font: 700 .75rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 4px 0 8px; }
.ct-card p { font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.ct-card a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.ct-card a:hover { color: var(--red); }
.ct-card svg:not(.ct-card__ico svg) { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ct-card__sub { font-weight: 500 !important; font-size: .875rem; color: var(--text-2); margin-top: 4px; }
.ct-card__sub:empty { display: none; }

.ct-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; padding: 0 var(--ct-pad-r) clamp(56px, 7vw, 100px) var(--gutter); }

/* Plan : aperçu soigné tant que Google n'est pas chargé, puis carte interactive */
.ct-map { position: relative; min-height: clamp(460px, 62svh, 680px); border-radius: var(--r-xl); overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -40px var(--shadow-strong); }
.ct-map__frame { position: absolute; inset: 0; }
.ct-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .6s; }
.ct-map.is-loaded iframe { opacity: 1; }
.ct-map.is-loaded .ct-map__cover { opacity: 0; pointer-events: none; }
.ct-map__cover {
  position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 32px 24px 120px; text-align: center; color: #fff;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(197, 16, 25, .45), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 44px),
    linear-gradient(160deg, #1d1b1a, #0b0a0a);
  transition: opacity .5s;
}
.ct-map__pin { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--red); box-shadow: 0 0 0 10px rgba(197, 16, 25, .2), 0 0 0 22px rgba(197, 16, 25, .08); margin-bottom: 14px; }
.ct-map__pin svg { rotate: 45deg; width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; }
.ct-map__name { font: 900 clamp(1.3rem, 2.2vw, 1.9rem)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.ct-map__addr { opacity: .8; line-height: 1.5; }
.ct-map__addr a, .ct-map__bar a:not(.btn) { color: inherit; text-decoration: none; pointer-events: none; }
.ct-map__cover .btn { margin-top: 8px; }
.ct-map__note { max-width: 26rem; font-size: .8125rem; opacity: .7; }
.ct-map__note a { color: inherit; }
.ct-map.is-loading .ct-map__cover .btn { opacity: .6; pointer-events: none; }
.ct-map__bar {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  padding: 14px 14px 14px 20px; border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .5);
}
.ct-map__bar p { display: grid; gap: 2px; font-size: .875rem; line-height: 1.4; color: var(--text-2); }
.ct-map__bar b { color: var(--text); font-size: 1rem; }

/* Bandeau cookies (Meta Pixel, assets/js/meta.js) */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin-inline: auto; display: grid; gap: 14px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .5); font-size: .875rem; line-height: 1.5; }
.consent a { color: inherit; }
.consent__btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

/* Page Offre d'octobre : visuel de la campagne à la place du plan */
.ct-offer { margin: 0; align-self: start; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -40px var(--shadow-strong); }
.ct-offer img { display: block; width: 100%; height: auto; }
.ct-offer-top { display: flex; justify-content: center; padding: calc(clamp(16px, 2.4vw, 28px) + env(safe-area-inset-top, 0px)) var(--gutter) clamp(16px, 2.4vw, 28px); }
.ct-offer-top a { display: flex; }
.ct-offer-top img { height: clamp(40px, 5vw, 56px); width: auto; aspect-ratio: 655 / 322; object-fit: contain; }
.ct--offer .ct-main { grid-template-columns: auto minmax(0, 560px); justify-content: center; align-items: stretch; }
.ct--offer .ct-offer { align-self: center; }
.ct--offer .ct-form { align-content: center; }   /* même hauteur que le visuel, contenu centré */
.ct--offer .ct-offer img { width: auto; max-width: 100%; max-height: calc(100svh - 150px); }
@media (max-width: 960px) {
  .ct--offer .ct-main { grid-template-columns: minmax(0, 1fr); }
  .ct--offer .ct-offer img { width: 100%; max-height: none; }
}
.ct-form__head h1 { font: 900 clamp(1.6rem, 2.6vw, 2.3rem)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }

/* Formulaire */
.ct-form { display: grid; gap: 18px; align-content: start; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px var(--shadow-strong); }
.ct-form__head { display: grid; gap: 8px; }
.ct-form__head h2 { font: 900 clamp(1.6rem, 2.6vw, 2.3rem)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.ct-form__head p { color: var(--text-2); font-size: .9375rem; }
.ct-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ct-form__full { grid-column: 1 / -1; }
.ct-form label:not(.trial__check) { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 3px; row-gap: 6px; font-size: .8125rem; color: var(--text-2); }
.ct-form input:not([type="checkbox"]), .ct-form select, .ct-form textarea {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--input-bg); color: var(--text); font: inherit; font-size: 1rem;
}
.ct-form textarea { padding: 14px 16px; min-height: 140px; resize: vertical; line-height: 1.5; }
.ct-form input:focus, .ct-form select:focus, .ct-form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.ct-form [aria-invalid="true"] { border-color: var(--red-hot); }
.ct-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* Bandeau séance d'essai */
.ct-trial {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  margin: 0 var(--ct-pad-r) clamp(56px, 7vw, 100px) var(--gutter); padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, var(--red) 0%, #8c0b12 50%, var(--red-deep) 100%);
}
.ct-trial h2 { font: 900 clamp(1.6rem, 3.2vw, 2.8rem)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; margin-top: 8px; }

@media (max-width: 1100px) { .ct-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .ct { --ct-pad-r: var(--gutter); }
  .ct-main { grid-template-columns: minmax(0, 1fr); }
  .ct-map { min-height: clamp(380px, 90vw, 480px); }
}
@media (max-width: 560px) {
  .ct-cards, .ct-form__grid { grid-template-columns: minmax(0, 1fr); }
  .ct-map__bar { left: 10px; right: 10px; bottom: 10px; }
  .ct-map { min-height: 540px; }
  .ct-map__cover { padding: 24px 18px 150px; }
}

/* =========================================================================
   PAGES TARIFS ET PLANNING — en-tête commun
   ========================================================================= */
.tf, .pl { --tf-pad-r: max(var(--gutter), 84px); overflow-x: clip; }
.tf-hero { display: grid; gap: 16px; justify-items: start; padding: calc(110px + env(safe-area-inset-top, 0px)) var(--tf-pad-r) clamp(28px, 4vw, 48px) var(--gutter); }
.tf-hero__title { font: 500 clamp(2.6rem, 6vw, 5.6rem)/.95 var(--f-display); letter-spacing: -.04em; }
.tf-hero__title em { font-style: normal; font-weight: 900; color: var(--red); }
.tf-hero__lead { max-width: 40rem; color: var(--text-2); font-size: 1.0625rem; line-height: 1.7; }
.tf-body { padding: 0 var(--tf-pad-r) clamp(48px, 6vw, 84px) var(--gutter); display: grid; gap: clamp(28px, 4vw, 48px); }
.tf .ct-trial, .pl .ct-trial { margin: 0 var(--tf-pad-r) clamp(56px, 7vw, 100px) var(--gutter); }

/* Formules */
.tf-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; align-items: stretch; }
.tf-offers--few { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 420px)); }
.tf-offer { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-xl); background: var(--surface-alt); }
.tf-offer--hl { background: radial-gradient(120% 120% at 0% 0%, var(--red) 0%, #8c0b12 55%, var(--red-deep) 100%); color: #fff; box-shadow: 0 30px 60px -30px rgba(197, 16, 25, .7); }
.tf-offer__badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--inv-bg); color: var(--inv-text); font: 700 .6875rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.tf-offer--hl .tf-offer__badge { background: #fff; color: var(--red); }
.tf-offer__name { font: 900 clamp(1.3rem, 2vw, 1.7rem)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.tf-offer__price { display: flex; align-items: baseline; gap: 6px; }
.tf-offer__price b { font: 900 clamp(2.4rem, 4vw, 3.4rem)/1 var(--f-display); font-stretch: 110%; letter-spacing: -.02em; }
.tf-offer__price span { color: var(--text-2); font-weight: 600; }
.tf-offer--hl .tf-offer__price span, .tf-offer--hl .tf-offer__desc { color: rgba(255, 255, 255, .88); }
.tf-offer__price--ask { font: 700 1.1rem/1.2 var(--f-display); color: var(--text-2); }
.tf-offer__desc { color: var(--text-2); line-height: 1.6; }
.tf-offer__list { display: grid; gap: 10px; margin: 4px 0 8px; }
.tf-offer__list li { position: relative; padding-left: 26px; line-height: 1.45; }
.tf-offer__list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; }
.tf-offer--hl .tf-offer__list li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c51019' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.tf-offer .btn { margin-top: auto; align-self: flex-start; }
.tf-extras, .tf-notes { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); border: 1px solid var(--line); }
.tf-extras h2, .tf-notes h2 { font: 900 clamp(1.3rem, 2vw, 1.7rem)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; margin-bottom: 16px; }
.tf-extras dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 40px; }
.tf-extras dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.tf-extras dd { margin: 0; font-weight: 700; white-space: nowrap; }
.tf-notes p { color: var(--text-2); line-height: 1.7; max-width: 60rem; }
.tf-notes p + p { margin-top: 10px; }
.tf-empty { display: grid; justify-items: center; gap: 14px; text-align: center; padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 48px); border-radius: var(--r-xl); background: var(--surface-alt); }
.tf-empty h2 { font: 900 clamp(1.5rem, 3vw, 2.4rem)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.tf-empty p { color: var(--text-2); max-width: 36rem; line-height: 1.6; }
.tf-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: 6px; }
.tf-empty__tel a { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; }
.tf-empty__tel svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Planning */
.pl-board { padding: 0 var(--tf-pad-r) clamp(48px, 6vw, 84px) var(--gutter); display: grid; gap: 18px; }
/* Planning pas encore en ligne : semaine « fantôme » floutée + carte « Bientôt disponible » */
.pl-soon {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center;
  min-height: clamp(440px, 48vw, 580px); margin: 0 var(--tf-pad-r) clamp(48px, 6vw, 84px) var(--gutter);
  padding: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 40px); border-radius: var(--r-xl); background: var(--surface-alt);
}
.pl-soon__week {
  position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)); gap: 10px;
  padding: clamp(16px, 2vw, 24px); filter: blur(3px); opacity: .5; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 50%, transparent 18%, #000 70%); mask-image: radial-gradient(120% 90% at 50% 50%, transparent 18%, #000 70%);
}
.pl-soon__day { display: grid; align-content: start; gap: 10px; }
.pl-soon__day b { font: 800 .8125rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); padding: 8px 4px; }
.pl-soon__day i { display: block; height: calc(var(--h, 2) * 46px); border-radius: 16px; background: var(--surface); border-left: 4px solid color-mix(in srgb, var(--red) 70%, transparent); box-shadow: 0 10px 24px -18px var(--shadow-strong); }
.pl-soon__card {
  display: grid; justify-items: center; gap: 16px; max-width: 40rem; text-align: center;
  padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-xl); border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -40px var(--shadow-strong);
}
.pl-soon__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pl-soon__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: uc-pulse 1.8s infinite; }
.tf-hero--soon > :not(.legal__crumbs) { display: none; }
.tf-hero--soon { padding-bottom: clamp(18px, 2.4vw, 28px); }
.pl-soon__card h1 { font: 900 clamp(1.8rem, 3.6vw, 3rem)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; }
.pl-soon__card h1 em { font-style: normal; color: var(--red); }
.pl-soon__card > p:not(.pl-soon__badge) { color: var(--text-2); line-height: 1.6; max-width: 32rem; }
.pl-soon__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .pl-soon__badge i { animation: none; } }
.pl-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; }
.pl-tools[hidden] { display: none; }
.pl-days { display: none; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface-alt); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.pl-days button { position: relative; flex: none; border: 0; background: none; padding: 10px 14px; border-radius: 999px; font-weight: 600; color: var(--text-2); }
.pl-days button[aria-pressed="true"] { background: var(--inv-bg); color: var(--inv-text); }
.pl-days i { position: absolute; top: 6px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.pl-filter { display: grid; gap: 6px; font-size: .8125rem; color: var(--text-2); }
.pl-filter select { min-height: 46px; min-width: 200px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--input-bg); color: var(--text); font: inherit; font-size: .9375rem; }
.pl-filter[hidden] { display: none; }
.pl-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: start; }
.pl-day { min-width: 0; border-radius: var(--r-lg); background: var(--surface-alt); padding: 12px 10px 14px; }
.pl-day.is-today { box-shadow: inset 0 0 0 2px var(--red); }
.pl-day h2 { font: 800 .8125rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: 6px 6px 12px; }
.pl-day h2 small { display: block; margin-top: 4px; font-size: .6875rem; color: var(--red); letter-spacing: .08em; }
.pl-day ul { display: grid; gap: 8px; }
.pl-day__empty { padding: 6px; color: var(--muted); font-size: .875rem; }
.pl-slot { position: relative; overflow: hidden; border-radius: 14px; background: var(--ink); color: #fff; min-height: 120px; display: flex; }
.pl-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.85); transition: opacity .3s; }
.pl-slot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .78)); }
.pl-slot--plain { background: var(--surface); color: var(--text); border: 1px solid var(--line); min-height: 0; }
.pl-slot--plain::after { display: none; }
.pl-slot__body { position: relative; z-index: 1; display: grid; gap: 4px; align-content: end; padding: 12px; width: 100%; }
.pl-slot__time { font-size: .8125rem; opacity: .92; font-variant-numeric: tabular-nums; }
.pl-slot__time b { font-size: .9375rem; }
.pl-slot h3 { font: 800 1rem/1.15 var(--f-display); }
.pl-slot h3 a { color: inherit; text-decoration: none; }
.pl-slot h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.pl-slot:hover img { opacity: .72; }
.pl-slot__fam, .pl-slot__meta { font-size: .75rem; opacity: .85; }
.pl-slot__meta:empty { display: none; }
.pl-note { color: var(--muted); font-size: .875rem; }
@media (max-width: 1100px) {
  .pl-days { display: inline-flex; }
  .pl-week { grid-template-columns: minmax(0, 1fr); }
  .pl-day { display: none; }
  .pl-day.is-shown { display: block; }
  .pl-day ul { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
}
@media (max-width: 960px) { .tf, .pl { --tf-pad-r: var(--gutter); } }

/* =========================================================================
   AVIS CLIENTS — badge (accueil) et section (page Ambiance)
   ========================================================================= */
.rv-badge { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-size: .875rem; font-weight: 600; transition: border-color .2s, transform .2s; }
a.rv-badge:hover { border-color: var(--red); transform: translateY(-2px); }
.rv-badge b { display: inline-flex; align-items: baseline; gap: 2px; padding: 7px 11px; border-radius: 999px; background: var(--red); color: #fff; font: 800 .9375rem/1 var(--f-display); }
.rv-badge b small { font-size: .7rem; opacity: .9; }
.rv { padding: clamp(56px, 7vw, 100px) max(var(--gutter), 84px) clamp(40px, 5vw, 72px) var(--gutter); }
.rv__head { display: flex !important; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.rv__head > div { display: grid; gap: 10px; }
.rv__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.rv__item figure { margin: 0; height: 100%; display: grid; align-content: start; gap: 14px; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-xl); background: var(--surface-alt); }
.rv__item figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.rv__item figcaption b { font-weight: 700; }
.rv__item figcaption small { color: var(--muted); font-size: .8125rem; }
.rv-stars { color: #b58800; letter-spacing: .08em; }
.rv-stars span { color: var(--line); }
.rv__item blockquote { margin: 0; }
.rv__item blockquote p { line-height: 1.7; color: var(--text-2); }
.rv__item blockquote p::before { content: "« "; }
.rv__item blockquote p::after { content: " »"; }
.rv__asof { margin-top: 14px; font-size: .8125rem; color: var(--muted); }
@media (max-width: 960px) { .rv { padding-right: var(--gutter); } }

/* Plus aucune mention « à confirmer » sur le site : filet de sécurité pour une pastille restante */
.tbc { display: none !important; }

/* Page Bien-être : contenu des fiches de l'espace détente, l'une après l'autre (bien-etre.js) */
.be-jump { width: fit-content; max-width: calc(100% - 2 * var(--gutter)); margin: 0 auto; gap: 6px 22px; padding: 10px 22px; }
.be-item { padding-top: clamp(40px, 6vw, 88px); scroll-margin-top: 70px; }
.be-item + .be-perks { padding-top: clamp(8px, 2vw, 24px); }
.be-specs { width: 100%; }
@media (min-width: 821px) {
  .be-item--flip { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); }
  .be-item--flip .std-visual { order: -1; }
}
.be-gal { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.be-gal button { display: block; width: 92px; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--ink); cursor: zoom-in; }
.be-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.be-gal button:hover img { transform: scale(1.08); }

/* Accueil, bloc Studios & cours : bouton « Voir plus » vers la page du cours */
.studios__more { justify-self: start; margin-top: 4px; min-width: 240px; justify-content: center; }
.studios__more[hidden] { display: none; }

@media (max-width: 820px) {
  .btn.studios__more { min-width: 0; width: fit-content; max-width: 100%; min-height: 38px; margin-top: 4px; padding: 9px 18px; font-size: clamp(.6875rem, 1.6vw, .8125rem); }
}

@media (max-width: 600px) {
  .studios__visual { border-radius: var(--r-lg); }
  .btn.studios__notch { border-width: 5px; min-height: 28px; padding: 4px 10px; font-size: .5625rem; letter-spacing: .05em; }
  .studios__nums { left: 10px; bottom: 10px; gap: 6px; }
  .studios__nums button { width: 28px; height: 36px; font-size: .625rem; }
  .studios__right .chip { padding: 5px 9px; font-size: .625rem; gap: 5px; }
  .studios__right .chip i { width: 6px; height: 6px; }
  .studios__right .chip--a { right: 6%; top: 26%; }
  .studios__right .chip--b { right: 6%; bottom: 24%; }
}

/* Accueil, bloc Studios & cours : tout le bloc tient dans la hauteur de l'écran (ordinateur) :
   cartes, titre et visuel réduits selon la hauteur disponible */
@media (min-width: 1101px) {
  .studios { height: calc(100svh - 64px); min-height: 440px; padding-top: clamp(12px, 2.4svh, 28px); padding-bottom: clamp(14px, 2.6svh, 28px); }
  .studios__left { gap: clamp(10px, 2.2svh, 30px); grid-template-rows: auto auto minmax(0, 1fr); min-height: 0; }
  .cards-rail { padding: clamp(8px, 1.4svh, 14px); }
  /* cartes de cours plus larges (format moins haut : le bloc tient toujours dans l'écran) */
  .cards-rail__track li { flex-basis: min(clamp(190px, 17vw, 270px), 30svh); }
  .course-card { aspect-ratio: 4 / 3.6; }
  .course-card span { left: 12px; right: 12px; bottom: 12px; padding: 11px 12px; font-size: .875rem; }
  .studios__copy { gap: clamp(8px, 1.6svh, 18px); padding-bottom: 0; }
  .studios__title { font-size: min(clamp(3rem, 6.2vw, 6rem), 10svh); }
  .studios__right { min-height: 0; height: 100%; }
}

/* Coverflow des coachs : la carte entière est un lien vers la fiche du coach */
.flow__link { display: block; height: 100%; color: inherit; text-decoration: none; touch-action: pan-y; -webkit-user-drag: none; }
.flow__link:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; border-radius: inherit; }

/* =========================================================================
   Mobile : ajustements d'ensemble (téléphones, jusqu'à 600 px)
   ========================================================================= */
@media (max-width: 600px) {
  /* équipe : noms complets sur deux lignes au lieu d'être coupés par « … » */
  .crew__label span { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
  /* cartes équipement : un nom long (ÉLECTROSTIMULATION) se réduit au lieu d'être coupé au milieu du mot */
  .eq-card__body { container-type: inline-size; }
  .eq-card__body b { overflow-wrap: normal; hyphens: manual; font-size: min(1.05rem, calc(100cqi / 13)); }
  /* boutons et liens : zone tactile confortable */
  .btn, .cdl-btn, .cdl-pill { min-height: 44px; }
  /* accueil, section Technogym : rien ne dépasse la largeur de l'écran (sinon toute la page s'élargit
     et les autres sections paraissent coupées à droite) */
  .gear { overflow-x: clip; }
  .gear__layout, .gear__center, .gear__stage, .gear__info { min-width: 0; max-width: 100%; }
  .gear__thumbs { max-width: 100%; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; padding-bottom: 2px; }
  .gear__thumbs::-webkit-scrollbar { display: none; }
}
/* petits téléphones : la barre du haut (logo, thème, séance d'essai, menu) tient sur une ligne */
@media (max-width: 400px) {
  .topbar { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .topbar__logo img { height: 30px; }
  .topbar .btn--sm { padding: 0 .75em; font-size: .6875rem; }
}

/* Accueil, mobile : le panneau de texte des scènes (« Vélo indoor · RPM ») descend sous le disque,
   la photo reste visible. Le visuel garde sa position (en vw), seule la hauteur du panneau augmente. */
@media (max-width: 820px) {
  .hero__right { min-height: 150vw; max-height: 900px; }
  .hero__disc, .hero__ring { top: 50vw; }
  .hero__orb { --orb-y: 50vw; }
  .hero__figure { top: 7.5vw; }
  .hero__vertical { top: 12.5vw; }
  /* mot vertical et ligne du coach côte à côte (au lieu de bout à bout) : tout reste au-dessus du panneau */
  .hero__vertical { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Accueil, bloc Studios & cours sur tablette (821–1100 px) : photo du cours à côté de la description
   (comme sur téléphone) au lieu d'être loin en dessous ; textes un peu réduits */
@media (min-width: 821px) and (max-width: 1100px) {
  .studios { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; row-gap: 20px; align-items: center; min-height: 0; }
  .studios__left { display: contents; }
  .studios__tabs, .cards-rail { grid-column: 1 / -1; }
  .studios__copy { align-self: center; gap: 12px; }
  .studios__title { font-size: clamp(2rem, 4.6vw, 3rem); }
  .studios__desc { font-size: .75rem; }
  .studios__right { min-height: 0; height: clamp(340px, 52vw, 520px); }
}


/* Page Cours, très petits téléphones : les deux actions tiennent sur une ligne */
@media (max-width: 380px) {
  .lm-actions { gap: 8px 10px; }
  .lm-act { gap: 6px; font-size: .78rem; }
  .lm-act i { width: 30px; height: 30px; }
}

/* Pages cours et studio, section « L'équipe » : tous les coachs sur une ligne, défilement horizontal
   avec deux flèches (coachs-rail.js), cartes de même hauteur */
.cdl-coaches__rail { position: relative; min-width: 0; display: grid; gap: 14px; }
.cdl-coaches__rail .cdl-coaches__list {
  display: flex; gap: 18px; align-items: stretch;
  /* place au-dessus pour l'avatar rond qui dépasse de la carte (le défilement horizontal coupe ce qui dépasse) */
  overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 40px 4px 10px;
}
.cdl-coaches__rail .cdl-coaches__list::-webkit-scrollbar { display: none; }
.cdl-coaches__rail .cdl-coaches__list > li { flex: 0 0 clamp(210px, 22vw, 240px); display: flex; scroll-snap-align: start; }
.cdl-coaches__rail .cdl-coach { margin-top: 0; }
.cdl-coaches__rail .cdl-coach { flex: 1; align-content: start; grid-template-rows: auto auto minmax(2.6em, auto) auto 1fr; }
.cdl-coaches__rail .cdl-coach small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cdl-coaches__rail .cdl-coach__go { align-self: end; }
.cdl-coaches__nav { display: flex; justify-content: flex-end; gap: 10px; }
.cdl-coaches__nav[hidden] { display: none; }
.cdl-coaches__nav .round-btn[disabled] { opacity: .35; pointer-events: none; }


/* Plus aucune étiquette de texte sur les photos (« Photo du club · … », « Photo d'illustration · … ») :
   la description reste dans le texte alternatif des images */
.cdl-visual__tag, .lm-photo__tag, .sts-card__illus, .std-course__img em { display: none !important; }

/* Page studio, « Les cours du studio » : même défilement horizontal que les coachs (cartes de même hauteur) */
.std-courses__rail .std-courses__list { display: flex; gap: 16px; align-items: stretch; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 6px 4px 10px; }
.std-courses__rail .std-courses__list::-webkit-scrollbar { display: none; }
.std-courses__rail .std-courses__list > li { flex: 0 0 clamp(210px, 22vw, 260px); display: flex; }
.std-courses__rail .std-course { flex: 1; align-content: start; grid-template-rows: auto auto auto 1fr auto; }

/* Page Planning : planning 2026 du club (image du PDF) sous la carte « Bientôt disponible » */
.pl-soon { margin-bottom: clamp(24px, 3vw, 40px); }
.pl-doc { display: grid; gap: 14px; margin: 0 var(--tf-pad-r) clamp(48px, 6vw, 84px) var(--gutter); }
.pl-doc__title { font: 900 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.pl-doc__title em { font-style: normal; color: var(--red); }
.pl-doc__img { display: block; border-radius: var(--r-xl); overflow: hidden; background: #0b0d12; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px var(--shadow-strong); cursor: zoom-in; }
.pl-doc__img img { display: block; width: 100%; height: auto; }
.pl-doc__hint { font-size: .8125rem; color: var(--muted); }
.pl-doc__hint a { color: var(--red); font-weight: 600; }
/* téléphone : planning lisible en le faisant glisser horizontalement */
@media (max-width: 720px) {
  .pl-doc__img { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pl-doc__img img { width: 900px; max-width: none; }
  .pl-doc__hint::before { content: "Faites glisser le planning · "; }
}

/* Séance d'essai en fenêtre (essai.js) : même formulaire que l'accueil */
.essai-box { width: min(100% - 24px, 760px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.essai-box::backdrop { background: rgba(8, 7, 7, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.essai-box[open] { animation: cd-fade .35s var(--ease) both; }
.essai-box__form { position: relative; width: 100%; margin: 0; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.essai-box__close { position: absolute; top: 14px; right: 14px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.essai-box__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.essai-box__close:hover { background: var(--red); border-color: var(--red); color: #fff; }
.essai-box .trial__intro h3 { padding-right: 48px; }
.essai-open { overflow: hidden; }
@media (max-width: 600px) { .essai-box .trial__grid { grid-template-columns: minmax(0, 1fr); } }

.essai-box .trial__check { flex-wrap: nowrap; align-items: flex-start; }
.essai-box .trial__check span { flex: 1; }
/* libellé du coach (bouton nom + flèche) : lien vers sa page */
a.crew__label { text-decoration: none; }

/* =========================================================================
   Page Bien-être : ambiance spa (spa.js). Même charte (Archivo, rouge du club)
   adoucie : fond noir chaud, lumière ambrée de bougie, titres fins et espacés,
   bulles de texte en verre dépoli, coins très arrondis.
   ========================================================================= */
.page-spa { --spa-bg: #0d0b09; --spa-ink: #f1e9dd; --spa-soft: rgba(241, 233, 221, .72); --spa-amber: #d9a066; --spa-glass: rgba(30, 25, 21, .62); --spa-line: rgba(241, 233, 221, .14); background: var(--spa-bg); }
:root[data-theme="light"] .page-spa { --spa-bg: #f4eee6; --spa-ink: #241c15; --spa-soft: rgba(36, 28, 21, .72); --spa-amber: #a8652a; --spa-glass: rgba(255, 250, 243, .72); --spa-line: rgba(36, 28, 21, .14); }
.spa { color: var(--spa-ink); overflow-x: clip; }

/* titres : fins, capitales espacées, mot clé ambré en italique */
.spa-title { font: 300 clamp(2rem, 4.4vw, 3.9rem)/1.02 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.spa-title span { display: block; }
.spa-title span:first-child { padding-left: clamp(0px, 7vw, 110px); }
.spa-title em { font-style: italic; font-weight: 800; letter-spacing: 0; color: var(--spa-amber); }
.spa-title--h2 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); }

/* 1. en-tête */
.spa-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  max-width: 1360px; margin-inline: auto; min-height: min(92svh, 820px); padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gutter) clamp(16px, 3vw, 40px); }
.spa-hero__bg { position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; overflow: hidden; }
.spa-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: blur(2px) saturate(1.1); opacity: .5; }
.spa-hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 70% 45%, transparent, var(--spa-bg) 85%), linear-gradient(180deg, transparent 60%, var(--spa-bg)); }
:root[data-theme="light"] .spa-hero__bg img { opacity: .18; }
.spa-hero__text { display: grid; gap: clamp(16px, 2.4vw, 26px); justify-items: start; min-width: 0; }
.spa-hero .cdl-crumbs { color: var(--spa-soft); }
.spa-bubble { max-width: 21rem; padding: 14px 18px; border-radius: 18px; background: var(--spa-glass); border: 1px solid var(--spa-line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: .875rem; line-height: 1.55; color: var(--spa-soft); }
.spa-bubble--b { margin-left: clamp(0px, 12vw, 200px); }
.spa-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.spa-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: .875rem; letter-spacing: .02em; text-decoration: none; box-shadow: 0 14px 30px -14px rgba(197, 16, 25, .8); transition: transform .3s var(--ease), background-color .3s; }
.spa-btn:hover { transform: translateY(-2px); background: var(--red-hot); }
.spa-link { color: var(--spa-ink); font-weight: 600; font-size: .875rem; text-decoration: none; border-bottom: 1px solid var(--spa-amber); padding-bottom: 2px; }
.spa-hero__pic { position: relative; margin: 0; justify-self: end; width: min(100%, 420px); aspect-ratio: 3 / 4; border-radius: clamp(24px, 3vw, 40px); overflow: hidden;
  box-shadow: 0 0 0 1px var(--spa-line), 0 40px 90px -30px rgba(217, 160, 102, .45); }
.spa-hero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.spa-hero__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(217, 160, 102, .18), transparent 40%, rgba(13, 11, 9, .35)); pointer-events: none; }

/* 2. les soins */
.spa-care { position: relative; max-width: 1360px; margin-inline: auto; padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(48px, 7vw, 100px); display: grid; gap: clamp(24px, 3vw, 40px); scroll-margin-top: 70px; }
.spa-care::before { content: ""; position: absolute; z-index: -1; inset: 10% calc(50% - 50vw) 0; background: radial-gradient(45% 55% at 85% 40%, rgba(217, 160, 102, .14), transparent 70%); pointer-events: none; }
.spa-stage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 44px); align-items: stretch; }
.spa-stage__pic { position: relative; margin: 0; min-height: clamp(360px, 46vw, 600px); border-radius: clamp(24px, 3vw, 40px); overflow: hidden; background: #15110d; box-shadow: 0 0 0 1px var(--spa-line); }
.spa-stage__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: cd-fade .6s var(--ease) both; }
.spa-stage__pic.is-empty { display: grid; place-items: center; background: radial-gradient(60% 55% at 50% 45%, rgba(217, 160, 102, .3), transparent 70%), #15110d; }
.spa-stage__ph { display: grid; justify-items: center; gap: 10px; color: var(--spa-amber); }
.spa-stage__ph svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.spa-stage__ph small { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--spa-soft); }
.spa-stage__side { display: grid; grid-template-rows: auto 1fr; gap: clamp(18px, 2.4vw, 28px); min-width: 0; }
.spa-tabs { display: grid; justify-items: end; gap: 4px; }
.spa-tabs button { display: inline-flex; align-items: baseline; gap: 10px; padding: 6px 0; border: 0; background: none; cursor: pointer; font: 400 clamp(1rem, 1.5vw, 1.25rem)/1.2 var(--f-display); color: var(--spa-soft); opacity: .55; transition: opacity .3s, color .3s; }
.spa-tabs button small { font-size: .6875rem; letter-spacing: .14em; color: var(--spa-amber); }
.spa-tabs button[aria-selected="true"] { opacity: 1; color: var(--spa-ink); }
.spa-tabs button:hover { opacity: 1; }
.spa-panel { align-self: end; display: grid; gap: 12px; padding: clamp(18px, 2.4vw, 28px); border-radius: clamp(20px, 2.4vw, 30px); background: var(--spa-glass); border: 1px solid var(--spa-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: cd-fade .5s var(--ease) both; }
.spa-panel__place { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--spa-amber); }
.spa-panel__name { font: 300 clamp(1.6rem, 3vw, 2.6rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.spa-panel__hook { font-weight: 600; color: var(--spa-ink); }
.spa-panel__desc { font-size: .9375rem; line-height: 1.6; color: var(--spa-soft); }
.spa-panel__specs { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; font-size: .8125rem; }
.spa-panel__specs div { display: flex; gap: 10px; }
.spa-panel__specs dt { color: var(--spa-soft); }
.spa-panel__specs dd { margin: 0; font-weight: 600; }
.spa-panel__perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.spa-panel__perks li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--spa-line); font-size: .8125rem; color: var(--spa-soft); }
.spa-panel__perks b { color: var(--spa-ink); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.spa-strip { display: flex; gap: 10px; margin-top: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.spa-strip::-webkit-scrollbar { display: none; }
.spa-strip > * { flex: 0 0 104px; height: 120px; border-radius: 16px; overflow: hidden; }
.spa-strip__book { display: grid; place-content: center; justify-items: center; gap: 8px; padding: 10px; text-align: center; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1.25; text-decoration: none; transition: background-color .3s; }
.spa-strip__book:hover { background: var(--red-hot); }
.spa-strip__logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); font: 800 .875rem/1 var(--f-display); }
.spa-strip__shot { padding: 0; border: 0; background: #15110d; cursor: zoom-in; }
.spa-strip__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.spa-strip__shot:hover img { transform: scale(1.08); }

/* fin de page : même appel final, mot clé ambré */
.page-spa .cdl-final__title span { color: var(--spa-amber); }

@media (max-width: 900px) {
  .spa-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .spa-hero__pic { justify-self: center; width: min(100%, 320px); aspect-ratio: 4 / 5; }
  .spa-title span:first-child { padding-left: 0; }
  .spa-bubble--b { margin-left: clamp(0px, 8vw, 60px); }
  .spa-stage { grid-template-columns: minmax(0, 1fr); }
  .spa-stage__pic { min-height: 0; aspect-ratio: 4 / 3; }
  .spa-tabs { grid-auto-flow: column; justify-content: start; gap: 18px; }
  .spa-panel { align-self: start; }
}
/* Bien-être : contenu d'origine dans la fiche du soin */
.spa-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.spa-jump a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--spa-line); background: var(--spa-glass); color: var(--spa-ink); font-size: .8125rem; font-weight: 600; text-decoration: none; transition: border-color .3s, color .3s; }
.spa-jump a:hover { border-color: var(--spa-amber); color: var(--spa-amber); }
.spa-panel__name span { display: block; font-size: .5em; font-weight: 400; letter-spacing: .12em; color: var(--spa-soft); margin-bottom: 4px; }
.spa-panel__hook { color: var(--spa-ink); }
.spa-panel__book { justify-self: start; }
.spa-panel__why { display: grid; gap: 4px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--spa-line); }
.spa-panel__why h3 { font: 300 clamp(1.2rem, 2vw, 1.6rem)/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.spa-panel__why h3 em { font-style: italic; font-weight: 800; letter-spacing: 0; color: var(--spa-amber); }
.spa-panel__why p { font-size: .875rem; color: var(--spa-soft); }


/* Bien-être : les soins l'un sous l'autre, photo une fois à gauche, une fois à droite */
.spa-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.spa-item { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 44px); align-items: stretch; scroll-margin-top: 80px; }
.spa-item .spa-panel { align-self: center; }
.spa-item--flip .spa-stage__pic { order: 2; }
@media (max-width: 900px) {
  .spa-item { grid-template-columns: minmax(0, 1fr); }
  .spa-item--flip .spa-stage__pic { order: 0; }
}
.essai-box.is-short .essai-box__more { display: none; }
/* page coach : vignettes des studios, nom en entier */
.ch-thumbs a.is-studio span { inset: auto 4px 6px; padding: 3px 4px; font-size: .5rem; letter-spacing: .02em; overflow: visible; text-overflow: clip; white-space: nowrap; }
/* page coach : vignettes des studios toutes de la même taille */
.ch-thumbs li a.is-studio { width: clamp(96px, 8.4vw, 118px); aspect-ratio: 1; border-radius: 18px; }
.ch-thumbs a.is-studio span { font-size: .5625rem; }
/* page Contact : carte affichée en plein cadre une fois chargée (barre d'adresse masquée, comme Google Maps) */
.ct-map.is-loaded .ct-map__bar { display: none; }
/* page Contact : carte Google en noir et blanc (nuances de gris) ; un filtre CSS suffit, l'intégration Google ne permet pas de choisir un style */
/* noir et blanc par un calque posé sur la carte (backdrop-filter), percé à l'emplacement de la fiche Google
   en haut à gauche (« Snatch Fitness Club », « Ouvrir dans Maps ») qui garde ses couleurs */
.ct-map__gray { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  -webkit-backdrop-filter: grayscale(1) contrast(1.05); backdrop-filter: grayscale(1) contrast(1.05);
  clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 0 0, 312px 0, 312px 178px, 0 178px, 0 0); }
.ct-map.is-loaded .ct-map__gray { opacity: 1; }
/* repère rouge du club : posé au centre de la carte (la carte Google est centrée sur le club), pointe au centre */
.ct-map__marker { position: absolute; left: 50%; top: 50%; z-index: 2; width: 30px; height: 44px; translate: -50% -100%; opacity: 0; pointer-events: none; transition: opacity .4s; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.ct-map__marker svg { width: 100%; height: 100%; }
.ct-map__marker path { fill: var(--red); stroke: #8c0b12; stroke-width: 1; }
.ct-map__marker circle { fill: #fff; }
.ct-map.is-loaded .ct-map__marker { opacity: 1; }
.ct-map.is-moved .ct-map__marker { opacity: 0; }

/* Accueil, plan d'accès (après le formulaire) : carte à gauche, façade du club à droite */
.access { position: relative; z-index: 2; background: var(--final-bg); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px);
  /* à droite : place pour la barre de navigation verticale (pager) */
  padding: 0 max(var(--gutter), 84px) clamp(48px, 6vw, 90px) var(--gutter); scroll-margin-top: 64px; }
.access__map { min-height: clamp(360px, 38vw, 560px); }
.access__pic { margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -40px var(--shadow-strong); }
.access__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
@media (max-width: 820px) {
  .access { grid-template-columns: minmax(0, 1fr); padding-right: var(--gutter); }
  .access__map { min-height: 380px; }
  .access__pic { aspect-ratio: 4 / 3; }
}

