/* ==========================================================================
   Template Studio de FWSport : site de coach en plusieurs pages (accueil, services,
   boutique, à propos, contact), aux couleurs de FWSport (voir ../DESIGN.md,
   section « Template Studio »). Couleurs : variables de
   ../commun/base.css, renommées ici pour le site. Police : Figtree.
   Toutes les règles sont limitées à .sx (racine du site).
   ========================================================================== */

.sx *, .sx *::before, .sx *::after { box-sizing: border-box; }
.sx img, .sx svg { display: block; max-width: 100%; }
.sx a { color: inherit; text-decoration: none; }
.sx button, .sx input, .sx select, .sx textarea { font: inherit; color: inherit; }
.sx h1, .sx h2, .sx h3, .sx h4 { margin: 0; font-family: "Figtree", system-ui, sans-serif; font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.sx p { margin: 0; }
.sx ul { margin: 0; padding: 0; list-style: none; }

@media (prefers-reduced-motion: reduce) {
  .sx *, .sx *::before, .sx *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
  .sx ::selection { background: var(--encre); color: var(--blanc); }
  .sx em { font-style: normal; color: var(--bleu); }

/* --- Jetons : charte FWSport (../commun/base.css) ------------------------- */
.sx {
  /* Couleurs (alias des variables de base.css) */
  --accent: var(--vert-clair);       /* touches : toujours du texte encre dessus */
  --accent-trait: var(--vert);       /* traits fins sur blanc, coches */
  --accent-texte: var(--vert-texte); /* texte vert sur fond clair */
  --encre: var(--texte);
  --encre-survol: var(--texte-2);
  --gris: var(--texte-3);
  --gris-clair: var(--gris-decor);   /* décor seulement : mots du manifeste pas encore allumés */
  --trait: var(--ligne);
  --creme: var(--fond);
  --brume-bleue: var(--bleu-doux);
  --brume-verte: var(--vert-doux);
  /* Illustration du téléphone et masque du titre en défonce (techniques, jamais pour l'interface) */
  --appareil: var(--texte);
  --appareil-bord: #2a323b;
  --appareil-reflet: #3a434d;
  --appareil-tranche: #5b6570;
  --appareil-dos: #cfd6de;
  --noir: #000000;
  /* Écrans de l'app dessinés dans le téléphone : couleurs des macros de l'app FWSport */
  --macro-proteines: var(--bleu);
  --macro-glucides: #f26a00;
  --macro-lipides: #e0157a;

  /* Forme : un seul rayon, cercles réservés aux photos, boutons-icônes et points */
  --rayon: 12px;
  --gouttiere: clamp(20px, 4.4vw, 72px);
  --ombre: 0 1px 2px color-mix(in srgb, var(--encre) 4%, transparent), 0 12px 32px -12px color-mix(in srgb, var(--encre) 12%, transparent);

  /* Échelle typographique */
  --t-heros: min(9vw, 17vh, 150px);
  --t-affiche: clamp(60px, 10.4vw, 190px);
  --t-1: clamp(min(44px, 10vw), 7.4vw, 128px);
  --t-2: clamp(32px, 4.4vw, 68px);
  --t-3: clamp(24px, 2.5vw, 38px);
  --t-chiffre: clamp(52px, 5vw, 84px);
  --t-chapo: 20px;
  --t-texte: 17px;
  --t-petit: 15px;
  --t-legende: 13px;
  --t-etiquette: 12px;

  /* Mouvement */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-luxe: cubic-bezier(.16, 1, .3, 1);
}
.sx {
  min-height: 100dvh;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-texte);
  line-height: 1.55;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* --- Boutons : un principal (encre), un secondaire (trait) ------------------ */
.sx .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: var(--rayon); border: 1px solid transparent;
  font-weight: 600; font-size: var(--t-petit); cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.sx .btn-encre { background: var(--encre); color: var(--blanc); }
.sx .btn-encre:hover { background: var(--encre-survol); }
.sx .btn-trait { background: transparent; border-color: var(--trait); color: var(--encre); }
.sx .btn-trait:hover { border-color: var(--encre); }
.sx .btn:focus-visible, .sx a:focus-visible, .sx button:focus-visible, .sx input:focus-visible, .sx select:focus-visible, .sx textarea:focus-visible {
  outline: 2px solid var(--bleu); outline-offset: 4px;
}
.sx .fleche { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--blanc) 16%, transparent); overflow: hidden; position: relative; }
.sx .fleche svg { width: 16px; height: 16px; transition: transform .5s var(--ease-luxe); }
.sx .btn:hover .fleche svg { transform: translateX(3px); }
.sx .btn-trait .fleche { background: var(--creme); }

/* --- Écrans de l'app dans le téléphone 3D (illustration : tailles et arrondis propres) */
.sx .e-top { display: flex; align-items: center; justify-content: space-between; }
.sx .e-top b { font-size: 15px; letter-spacing: -.03em; }
.sx .e-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brume-bleue); color: var(--bleu-texte); font-weight: 700; font-size: 10px; }
.sx .e-carte { background: var(--blanc); border: 1px solid var(--trait); border-radius: 14px; padding: 10px; }
.sx .e-titre { font-weight: 700; font-size: 12px; letter-spacing: -.02em; }
.sx .e-petit { font-size: 9.5px; color: var(--gris); }
.sx .e-barre { height: 6px; border-radius: 6px; background: var(--trait); overflow: hidden; }
.sx .e-barre i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.sx .e-ligne { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sx .e-pill { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; font-size: 9px; font-weight: 700; background: var(--brume-verte); color: var(--accent-texte); }
.sx .e-btn { margin-top: auto; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--bleu); color: var(--blanc); font-weight: 700; font-size: 11px; }
.sx .e-bulle { max-width: 78%; padding: 7px 10px; border-radius: 14px; background: var(--blanc); border: 1px solid var(--trait); }
.sx .e-bulle.moi { align-self: flex-end; background: var(--bleu); color: var(--blanc); border-color: var(--bleu); }
.sx .e-icone { width: 1em; height: 1em; flex: none; }

.sx .visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Sections
   Ordre de l'accueil : écran d'ouverture → héros typographique → manifeste et chiffres
   → méthode (séquence d'images pilotée par le défilement) → objectifs (défilement
   horizontal) → titre en défonce → coach (image qui suit la souris) → boutique
   → visite 3D de l'app → formules → témoignages → bilan → pied de page dévoilé.
   ========================================================================== */
  .sx .page { position: relative; z-index: 2; background: var(--blanc); }
  .sx .large { padding-inline: var(--gouttiere); }
  .sx .etiquette { display: inline-flex; align-items: center; gap: 12px; font-size: var(--t-etiquette); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
  .sx .etiquette::before { content: ""; width: 18px; height: 1px; background: currentColor; }
  .sx .ligne { display: block; overflow: hidden; padding-block: .12em .09em; margin-block: -.12em -.09em; } /* place pour les accents des capitales (É) */
  .sx .ligne > span { display: block; transform-origin: 0 100%; }
  .sx .grand-titre { font-size: var(--t-1); font-weight: 600; letter-spacing: -.055em; line-height: .96; text-wrap: balance; }
  .sx .titre { font-size: var(--t-2); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
  .sx .num { font-variant-numeric: tabular-nums; }

  /* --- Chargeur ---------------------------------------------------------- */
  /* Chargeur : logo FWSport animé, puis volet penché (règles .fp-splash en fin de fichier). */
  .sx .chargeur { z-index: 300; }
  .sx .chargeur .fp-splash__voile { background: var(--blanc); }
  .sx .ch-centre { display: grid; justify-items: center; gap: 32px; }
  .sx .ch-compte { font-size: var(--t-legende); font-weight: 600; letter-spacing: .2em; color: var(--gris); display: flex; gap: 16px; align-items: center; }
  .sx .ch-barre { width: 160px; height: 1px; background: var(--trait); overflow: hidden; }
  .sx .ch-barre i { display: block; height: 100%; background: var(--encre); transform: scaleX(0); transform-origin: left; }
  .sx.reduit .chargeur { display: none; }
  .sx .rideau { position: fixed; inset: 0; z-index: 290; background: var(--encre); transform: scaleY(0); transform-origin: 50% 100%; pointer-events: none; }


  /* --- Navigation --------------------------------------------------------- */
  .sx .nav { position: fixed; inset: 0 0 auto; z-index: 100; padding-top: env(safe-area-inset-top, 0px); transition: transform .7s var(--ease-luxe), background .4s, box-shadow .4s; }
  .sx .nav.cachee { transform: translateY(-110%); }
  .sx .nav.voilee { background: color-mix(in srgb, var(--blanc) 82%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--trait); }
  .sx .nav-in { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .sx .marque { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.035em; font-size: var(--t-chapo); }
  /* Logo FWSport, seul. */
  .sx .marque img { width: auto; height: 34px; }
  .sx .liens { display: none; gap: 36px; font-size: var(--t-petit); font-weight: 500; }
  .sx .liens a, .sx .roule { position: relative; display: inline-block; overflow: hidden; line-height: 1.3; }
  .sx .roule > span { display: block; transition: transform .6s var(--ease-luxe); }
  .sx .roule::after { content: attr(data-t); position: absolute; left: 0; top: 100%; transition: transform .6s var(--ease-luxe); }
  .sx .roule:hover > span, .sx .roule:hover::after { transform: translateY(-100%); }
  .sx .nav-droite { display: flex; align-items: center; gap: 12px; }
  .sx .nav .btn { height: 44px; padding: 0 20px; font-size: var(--t-petit); }
  .sx .menu-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--trait); background: var(--blanc); display: grid; place-content: center; gap: 4px; cursor: pointer; }
  .sx .menu-btn i { display: block; width: 16px; height: 1.5px; background: var(--encre); transition: transform .5s var(--ease-luxe); }
  .sx.menu-ouvert .menu-btn i:first-child { transform: translateY(3.25px) rotate(45deg); }
  .sx.menu-ouvert .menu-btn i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  @media (min-width: 1080px) { .sx .liens { display: flex; } .sx .menu-btn { display: none; } }
  @media (max-width: 520px) { .sx .nav .btn { display: none; } }
  .sx .menu { position: fixed; inset: 0; z-index: 90; background: var(--blanc); padding: 112px var(--gouttiere) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-luxe); }
  .sx.menu-ouvert .menu { clip-path: inset(0 0 0 0); }
  .sx .menu ul { display: grid; gap: 8px; }
  .sx .menu li { overflow: hidden; }
  .sx .menu li a { display: block; font-size: var(--t-1); font-weight: 600; letter-spacing: -.05em; line-height: 1.08; transform: translateY(110%); transition: transform .9s var(--ease-luxe); }
  .sx.menu-ouvert .menu li a { transform: none; }
  .sx .menu li:nth-child(2) a { transition-delay: .05s; } .sx .menu li:nth-child(3) a { transition-delay: .1s; } .sx .menu li:nth-child(4) a { transition-delay: .15s; } .sx .menu li:nth-child(5) a { transition-delay: .2s; } .sx .menu li:nth-child(6) a { transition-delay: .25s; }

  /* --- Héros ------------------------------------------------------------- */
  .sx .hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; }
  .sx .hero-texte { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 32px; pointer-events: none; }
  .sx .hero-texte > * { pointer-events: auto; }
  .sx .hero-titre { margin-top: 24px; font-size: var(--t-heros); font-weight: 600; letter-spacing: -.062em; line-height: .92; white-space: nowrap; }
  .sx .hero-titre .ligne > span { display: inline-block; }
  .sx .hero-titre .car { display: inline-block; will-change: transform; }
  .sx .hero-titre .mot { display: inline-block; white-space: nowrap; }
  .sx .hero-intro { margin-top: 28px; max-width: 400px; color: var(--gris); font-size: var(--t-texte); line-height: 1.5; }
  .sx .hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
  @media (max-width: 899px) {
    .sx .hero-texte { justify-content: flex-start; padding-top: 104px; }
    .sx .hero-titre { margin-top: 16px; }
    .sx .hero-intro { display: none; }
    .sx .hero-actions { position: absolute; left: var(--gouttiere); right: var(--gouttiere); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); margin: 0; }
    .sx .hero-actions .btn-trait { display: none; }
  }

  /* --- Manifeste ---------------------------------------------------------- */
  .sx .manifeste { padding-block: clamp(112px, 16vw, 220px) clamp(92px, 12vw, 172px); }
  .sx .manifeste p.enonce { margin-top: 36px; font-size: var(--t-2); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; max-width: 1280px; }
  .sx .enonce .m { color: var(--gris-clair); transition: color .2s; }
  .sx .enonce .m.allume { color: var(--encre); }

  /* --- Chiffres clés : cartes avec mini-visuels animés ------------------- */
  .sx .chiffres { margin-top: clamp(64px, 9vw, 132px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  @media (min-width: 1000px) { .sx .chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .sx .chiffres { grid-template-columns: minmax(0, 1fr); } }
  .sx .chiffre { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 28px 24px 24px; border-radius: var(--rayon); background: var(--creme); transition: transform .7s var(--ease-luxe), box-shadow .7s var(--ease-luxe); }
  .sx .chiffre:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--encre) 35%, transparent); }
  .sx .chiffre .viz { position: relative; height: 104px; display: flex; align-items: flex-end; }
  .sx .chiffre strong { margin-top: auto; font-size: var(--t-chiffre); font-weight: 400; letter-spacing: -.06em; line-height: 1; }
  .sx .chiffre .leg { margin-top: 12px; color: var(--gris); font-size: var(--t-petit); line-height: 1.45; }
  .sx .v-barres { flex: 1; height: 100%; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; }
  .sx .v-barres i { display: block; border-radius: var(--rayon) var(--rayon) 0 0; background: var(--encre); transform-origin: 50% 100%; }
  .sx .v-barres i:nth-child(n+6) { background: var(--bleu); }
  .sx .v-jours { margin-top: 8px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; text-align: center; font-size: var(--t-etiquette); font-weight: 600; color: var(--gris); }
  .sx .v-avatars { display: flex; padding-bottom: 8px; }
  .sx .v-avatars span { width: clamp(34px, 3.2vw, 54px); height: clamp(34px, 3.2vw, 54px); margin-left: clamp(-12px, -.6vw, -5px); border-radius: 50%; display: grid; place-items: center; color: var(--blanc); font-size: var(--t-petit); font-weight: 700; border: 3px solid var(--creme); }
  .sx .v-avatars span:first-child { margin-left: 0; }
  .sx .v-courbe { width: 100%; height: 100%; overflow: visible; }
  .sx .v-courbe .trait { fill: none; stroke: var(--accent-trait); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 320; }
  .sx .v-courbe .point { fill: var(--accent-trait); }
  .sx .v-badge { position: absolute; right: 0; top: 0; padding: 4px 12px; border-radius: var(--rayon); background: var(--brume-verte); color: var(--accent-texte); font-size: var(--t-etiquette); font-weight: 700; }
  .sx .v-anneau { width: 104px; height: 104px; transform: rotate(-90deg); }
  .sx .v-anneau circle { fill: none; stroke-width: 9; }
  .sx .v-anneau .piste { stroke: var(--trait); }
  .sx .v-anneau .progres { stroke: var(--bleu); stroke-linecap: round; stroke-dasharray: 251.3; stroke-dashoffset: 7.5; }
  .sx .v-anneau-txt { position: absolute; left: 0; top: 0; width: 104px; height: 104px; display: grid; place-content: center; text-align: center; font-size: var(--t-etiquette); font-weight: 600; color: var(--gris); line-height: 1.2; }
  /* chiffres qui roulent (compteurs et prix) */
  .sx .rouleau { display: inline-flex; height: 1.1em; line-height: 1.1; }
  .sx .rouleau .col { display: block; height: 1.1em; overflow: hidden; margin-right: -.045em; -webkit-mask-image: linear-gradient(transparent, var(--noir) 9%, var(--noir) 91%, transparent); mask-image: linear-gradient(transparent, var(--noir) 9%, var(--noir) 91%, transparent); }
  .sx .rouleau .bande { display: block; will-change: transform; }
  .sx .rouleau .bande span, .sx .rouleau .fixe { display: block; height: 1.1em; line-height: 1.1; letter-spacing: 0; }
  .sx .rouleau .fixe { margin-right: -.02em; }

  /* --- Méthode : séquence d'images --------------------------------------- */
  .sx .methode { position: relative; height: 480vh; background: var(--blanc); }
  .sx .methode-scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
  .sx .methode canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
  .sx .methode-haut { position: absolute; left: 0; right: 0; top: 104px; display: flex; justify-content: space-between; align-items: center; }
  .sx .methode-haut .compteur { font-size: var(--t-legende); font-weight: 600; color: var(--gris); letter-spacing: .12em; }
  .sx .chapitre { position: absolute; left: var(--gouttiere); bottom: 92px; max-width: 520px; opacity: 0; visibility: hidden; }
  .sx .chapitre .n { font-size: var(--t-legende); font-weight: 600; color: var(--bleu-texte); letter-spacing: .14em; }
  .sx .chapitre h3 { margin-top: 16px; font-size: var(--t-2); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
  .sx .chapitre p { margin-top: 16px; color: var(--gris); max-width: 420px; }
  .sx .chapitre:nth-of-type(even) { left: auto; right: var(--gouttiere); text-align: right; }
  .sx .chapitre:nth-of-type(even) p { margin-left: auto; }
  @media (max-width: 760px) { .sx .chapitre, .sx .chapitre:nth-of-type(even) { left: var(--gouttiere); right: var(--gouttiere); text-align: left; bottom: 74px; } .sx .chapitre:nth-of-type(even) p { margin-left: 0; } }
  .sx .segments { position: absolute; left: var(--gouttiere); right: var(--gouttiere); bottom: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .sx .segments i { height: 2px; background: var(--trait); overflow: hidden; }
  .sx .segments i b { display: block; height: 100%; background: var(--encre); transform: scaleX(0); transform-origin: left; }

  /* --- Disciplines : défilement horizontal -------------------------------- */
  .sx .disciplines { position: relative; background: var(--blanc); }
  .sx .disc-scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
  .sx .disc-piste { display: flex; gap: 20px; padding-inline: var(--gouttiere); width: max-content; will-change: transform; align-items: stretch; }
  .sx .disc-intro { width: min(560px, 80vw); flex: none; display: flex; flex-direction: column; justify-content: space-between; padding-right: 40px; }
  .sx .disc-intro p { color: var(--gris); max-width: 340px; }
  .sx .disc-intro .titre { font-size: var(--t-2); white-space: nowrap; }
  .sx .carte-disc { position: relative; flex: none; width: min(30vw, 470px); min-width: 300px; height: min(74vh, 640px); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; background: var(--creme); isolation: isolate; }
  .sx .carte-disc .visuel { position: absolute; inset: 0 0 22% 0; z-index: -1; background: inherit; transition: transform 1.2s var(--ease-luxe); --fondu: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .55) 7%, #000 18%, #000 50%, rgba(0, 0, 0, .62) 68%, rgba(0, 0, 0, .22) 86%, transparent 100%); -webkit-mask-image: var(--fondu); mask-image: var(--fondu); } /* fond porté ici : la photo (multiply) prend la teinte de la carte et s'y fond en haut et en bas */
  .sx .carte-disc .visuel img { position: absolute; inset: -6% -9%; width: 118%; max-width: none; height: 112%; object-fit: cover; object-position: 50% 52%; mix-blend-mode: multiply; will-change: transform; } /* plus grande que le cadre : le décalage au défilement (studio.js) ne découvre pas ses bords */
  .sx .carte-disc:hover .visuel { transform: scale(1.05) rotate(-1deg); }
  .sx .carte-disc .haut { display: flex; justify-content: space-between; font-size: var(--t-legende); font-weight: 600; color: var(--gris); }
  .sx .carte-disc h3 { font-size: var(--t-3); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
  .sx .carte-disc .bas p { margin-top: 12px; color: var(--gris); font-size: var(--t-petit); max-width: 300px; }
  .sx .carte-disc .tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
  .sx .carte-disc .tags span { padding: 8px 12px; border-radius: var(--rayon); background: color-mix(in srgb, var(--blanc) 80%, transparent); backdrop-filter: blur(6px); font-size: var(--t-etiquette); font-weight: 600; }
  @media (max-width: 899px) {
    .sx .disciplines { height: auto !important; padding-block: 92px; }
    .sx .disc-scene { position: static; height: auto; }
    .sx .disc-piste { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; transform: none !important; scrollbar-width: none; }
    .sx .disc-piste::-webkit-scrollbar { display: none; }
    .sx .carte-disc { width: 78vw; min-width: 0; height: 122vw; max-height: 600px; scroll-snap-align: center; }
    .sx .carte-disc .visuel { inset: 0 0 32% 0; }
    .sx .disc-intro { width: 78vw; }
  }

  /* --- Titre en défonce : l'image dans les lettres, puis une fenêtre qui s'ouvre */
  .sx .defonce { position: relative; height: 300vh; }
  .sx .def-scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; background: var(--blanc); }
  .sx .def-fenetre { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
  .sx .def-masque { position: absolute; inset: 0; background: var(--blanc); mix-blend-mode: screen; display: grid; place-items: center; will-change: opacity; }
  .sx .def-masque h2 { color: var(--noir); text-align: center; font-size: var(--t-affiche); font-weight: 700; letter-spacing: -.065em; line-height: .86; will-change: transform; }
  .sx .def-masque h2 span { display: block; }
  .sx .def-voile { position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, color-mix(in srgb, var(--encre) 55%, transparent)); opacity: 0; pointer-events: none; }
  .sx .def-legende { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; color: var(--blanc); opacity: 0; }
  .sx .def-legende h3 { font-size: var(--t-2); font-weight: 600; letter-spacing: -.05em; line-height: 1; max-width: 720px; }
  .sx .def-legende p { max-width: 340px; font-size: var(--t-petit); color: color-mix(in srgb, var(--blanc) 86%, transparent); }
  @media (max-width: 760px) { .sx .def-legende { padding-bottom: 88px; } }

  /* --- Coachs ------------------------------------------------------------- */
  .sx .coachs-bloc { padding-block: clamp(112px, 14vw, 200px); }
  .sx .coachs-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
  .sx .coachs-tete p { max-width: 360px; color: var(--gris); }
  .sx .coachs { margin-top: 64px; border-top: 1px solid var(--trait); }
  .sx .coach { position: relative; display: grid; grid-template-columns: 40px 1fr auto; gap: 20px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--trait); cursor: pointer; }
  @media (min-width: 900px) { .sx .coach { grid-template-columns: 60px 1.3fr 1fr 40px; padding: 40px 0; } }
  .sx .coach::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--encre); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease-luxe); }
  .sx .coach:hover::before { transform: scaleX(1); transform-origin: left; }
  .sx .coach .c-num { font-size: var(--t-legende); font-weight: 600; color: var(--gris); }
  .sx .coach .c-nom { font-size: var(--t-2); font-weight: 600; letter-spacing: -.05em; line-height: 1; transition: transform .8s var(--ease-luxe), color .4s; }
  .sx .coach:hover .c-nom { transform: translateX(18px); }
  .sx .coach .c-role { display: none; color: var(--gris); font-size: var(--t-petit); }
  @media (min-width: 900px) { .sx .coach .c-role { display: block; } }
  .sx .coach .c-fleche { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--trait); display: grid; place-items: center; color: var(--encre); transition: background .4s, color .4s, border-color .4s, transform .6s var(--ease-luxe); }
  .sx .coach:hover .c-fleche { background: var(--encre); color: var(--blanc); border-color: var(--encre); transform: rotate(-45deg); }
  .sx .coach .c-vignette { display: none; }
  @media (max-width: 899px) or (hover: none) {
    .sx .coach { grid-template-columns: 72px 1fr; }
    .sx .coach .c-num, .sx .coach .c-fleche { display: none; }
    .sx .coach .c-vignette { display: block; width: 72px; height: 72px; border-radius: var(--rayon); background: var(--creme); overflow: hidden; }
    .sx .coach .c-vignette img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
    .sx .coach .c-vignette.photo img { mix-blend-mode: normal; }
    .sx .coach .c-mobile-role { display: block; margin-top: 8px; font-size: var(--t-petit); color: var(--gris); }
  }
  .sx .c-mobile-role { display: none; }
  .sx .flottante { position: fixed; left: 0; top: 0; z-index: 60; width: 340px; height: 420px; margin: -210px 0 0 -170px; pointer-events: none; border-radius: var(--rayon); overflow: hidden; transform: scale(0); background: var(--creme); }
  .sx .flottante img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transform: scale(1.12); }
  @media (max-width: 899px), (hover: none) { .sx .flottante { display: none; } }

  /* --- Planning ----------------------------------------------------------- */
  .sx .planning { padding-block: clamp(100px, 12vw, 180px); background: var(--creme); }
  .sx .planning-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; }
  .sx .jours { position: relative; display: flex; gap: 4px; padding: 4px; border-radius: var(--rayon); background: var(--blanc); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .sx .jours button { position: relative; z-index: 1; flex: none; height: 46px; padding: 0 16px; border: 0; background: none; border-radius: var(--rayon); cursor: pointer; font-weight: 600; font-size: var(--t-petit); color: var(--gris); transition: color .4s; }
  .sx .jours button.actif { color: var(--blanc); }
  .sx .jours .glisseur { position: absolute; z-index: 0; top: 4px; height: 46px; border-radius: var(--rayon); background: var(--encre); transition: transform .6s var(--ease-luxe), width .6s var(--ease-luxe); }
  .sx .cours { margin-top: 28px; display: grid; gap: 8px; }
  .sx .cours-ligne { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 24px; border-radius: var(--rayon); background: var(--blanc); transition: transform .5s var(--ease-luxe), box-shadow .5s var(--ease-luxe); }
  .sx .cours-ligne:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--encre) 35%, transparent); }
  @media (min-width: 860px) { .sx .cours-ligne { grid-template-columns: 96px 1.4fr 1fr 1fr auto; } }
  @media (max-width: 520px) { .sx .cours-ligne { padding: 16px; gap: 12px; } .sx .reserver { min-width: 0; padding: 0 16px; } }
  .sx .cours-ligne .h { font-size: var(--t-chapo); font-weight: 600; letter-spacing: -.03em; }
  .sx .cours-ligne .nom b { display: block; font-size: var(--t-chapo); letter-spacing: -.02em; font-weight: 600; }
  .sx .cours-ligne .nom span, .sx .cours-ligne .info { font-size: var(--t-petit); color: var(--gris); }
  .sx .cours-ligne .info { display: none; }
  @media (min-width: 860px) { .sx .cours-ligne .info { display: flex; align-items: center; gap: 12px; } }
  .sx .reserver { position: relative; height: 44px; min-width: 124px; padding: 0 20px; border-radius: var(--rayon); border: 1px solid var(--trait); background: var(--blanc); cursor: pointer; font-weight: 600; font-size: var(--t-petit); overflow: hidden; transition: background .5s var(--ease-luxe), color .5s, border-color .5s; }
  .sx .reserver:hover { border-color: var(--encre); }

  /* --- App : visite 3D des modules -------------------------------------- */
  .sx .app { position: relative; height: 780vh; background: var(--blanc); }
  .sx .app-scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(55% 55% at 71% 52%, var(--brume-bleue), var(--blanc) 72%); }
  .sx .app-intro { position: absolute; z-index: 6; left: 0; right: 0; top: 11vh; text-align: center; padding-inline: 20px; }
  .sx .app-intro .titre { margin-top: 20px; }
  .sx .app-gauche { position: absolute; z-index: 6; left: 0; top: 0; bottom: 0; width: min(540px, 42vw); display: flex; flex-direction: column; justify-content: center; }
  .sx .app-gauche .titre { margin-top: 20px; font-size: var(--t-2); }
  .sx .modules { margin: 28px 0 0; padding: 0; list-style: none; display: grid; }
  .sx .module { position: relative; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; width: 100%; padding: 12px 0 12px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--gris); transition: color .5s; }
  .sx .module::after { content: ""; position: absolute; left: 34px; right: 0; bottom: 0; height: 1px; background: var(--trait); }
  .sx .module i { position: absolute; z-index: 1; left: 34px; right: 0; bottom: 0; height: 1px; background: var(--encre); transform: scaleX(0); transform-origin: left; }
  .sx .module .n { font-size: var(--t-etiquette); font-weight: 600; padding-top: 4px; }
  .sx .module b { font-size: var(--t-chapo); font-weight: 600; letter-spacing: -.02em; }
  .sx .module p { grid-column: 2; max-height: 0; overflow: hidden; opacity: 0; color: var(--gris); font-size: var(--t-petit); line-height: 1.45; transition: max-height .7s var(--ease-luxe), margin .7s var(--ease-luxe), opacity .5s; }
  .sx .module.actif { color: var(--encre); }
  .sx .module.actif .n { color: var(--bleu-texte); }
  .sx .module.actif p { max-height: 66px; margin-top: 4px; opacity: 1; }
  .sx .app-3d { position: absolute; inset: 0; perspective: 1700px; perspective-origin: 62% 46%; }
  .sx .pose, .sx .incline, .sx .flotte { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
  .sx .incline, .sx .flotte { left: 0; top: 0; }
  .sx .flotte { animation: sx-flotte 7s ease-in-out infinite alternate; }
  @keyframes sx-flotte { from { transform: translate3d(0, -8px, 0); } to { transform: translate3d(0, 8px, 0); } }
  .sx .fond-num { position: absolute; left: 0; top: 0; transform-style: preserve-3d; pointer-events: none; }
  .sx .fond-num span { position: absolute; left: 0; top: 0; font-size: clamp(340px, 42vw, 640px); font-weight: 700; letter-spacing: -.08em; line-height: 1; color: color-mix(in srgb, var(--bleu) 12%, var(--blanc)); white-space: nowrap; }
  .sx .tel3d { position: absolute; left: -150px; top: -318px; width: 300px; height: 636px; transform-style: preserve-3d; }
  .sx .tel3d .face { position: absolute; inset: 0; border-radius: 50px; background: var(--appareil); padding: 11px; backface-visibility: hidden; box-shadow: inset 0 0 0 1.5px var(--appareil-reflet), inset 0 0 0 5px var(--appareil), inset 0 0 0 6px var(--appareil-bord), 0 70px 120px -60px color-mix(in srgb, var(--encre) 55%, transparent); }
  .sx .tel3d .face::before { content: ""; position: absolute; top: 22px; left: 50%; z-index: 3; width: 92px; height: 27px; transform: translateX(-50%); border-radius: 20px; background: var(--appareil); }
  .sx .tel3d .cote { position: absolute; top: 50px; bottom: 50px; width: 14px; background: linear-gradient(90deg, var(--appareil), var(--appareil-tranche) 50%, var(--appareil)); }
  .sx .tel3d .cote.d { right: 0; transform-origin: 100% 50%; transform: rotateY(90deg); }
  .sx .tel3d .cote.g { left: 0; transform-origin: 0 50%; transform: rotateY(-90deg); }
  .sx .tel3d .dos { position: absolute; inset: 0; border-radius: 50px; background: linear-gradient(150deg, var(--blanc), var(--appareil-dos)); transform: translateZ(-14px) rotateY(180deg); backface-visibility: hidden; display: grid; place-items: center; }
  .sx .tel3d .dos img { width: 64px; opacity: .8; }
  .sx .ecran-t { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--creme); color: var(--encre); font-size: 11px; line-height: 1.35; }
  .sx .ecran-m { position: absolute; inset: 0; padding: 52px 13px 13px; display: flex; flex-direction: column; gap: 8px; opacity: 0; visibility: hidden; }
  .sx .ecran-m:first-child, .sx .satellite .ecran-m { opacity: 1; visibility: visible; }
  .sx .puce { position: absolute; left: 0; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: var(--rayon); background: color-mix(in srgb, var(--blanc) 94%, transparent); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--encre) 35%, transparent), 0 0 0 1px color-mix(in srgb, var(--encre) 4%, transparent); font-size: var(--t-legende); color: var(--gris); white-space: nowrap; opacity: 0; visibility: hidden; }
  .sx .puce b { display: block; color: var(--encre); font-size: var(--t-petit); letter-spacing: -.01em; }
  .sx .puce i { flex: none; min-width: 34px; height: 34px; padding: 0 8px; border-radius: var(--rayon); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: var(--t-legende); background: var(--brume-bleue); color: var(--bleu-texte); }
  .sx .puce.v i { background: var(--brume-verte); color: var(--accent-texte); }
  .sx .puce i svg { width: 16px; height: 16px; }
  .sx .legende-mobile { display: none; }
  @media (max-width: 999px) {
    .sx .app { height: 720vh; }
    .sx .app-gauche { display: none; }
    .sx .app-intro { top: 9vh; }
    .sx .app-intro .titre { font-size: var(--t-2); }
    .sx .legende-mobile { display: block; position: absolute; z-index: 6; left: var(--gouttiere); right: var(--gouttiere); bottom: calc(78px + env(safe-area-inset-bottom, 0px)); text-align: center; }
    .sx .legende-mobile .n { font-size: var(--t-etiquette); font-weight: 600; color: var(--bleu-texte); }
    .sx .legende-mobile b { display: block; margin-top: 4px; font-size: var(--t-chapo); font-weight: 600; letter-spacing: -.03em; }
    .sx .legende-mobile p { margin: 4px auto 0; max-width: 340px; font-size: var(--t-petit); color: var(--gris); }
    .sx .puce { font-size: var(--t-etiquette); padding: 8px 12px 8px 8px; gap: 8px; } .sx .puce b { font-size: var(--t-etiquette); } .sx .puce i { min-width: 28px; height: 28px; font-size: var(--t-etiquette); }
  }
  /* sans animation : une maquette fixe et la liste des modules */
  .sx .app:not(.app-anime) { height: auto; }
  .sx .app:not(.app-anime) .app-scene { position: relative; height: auto; min-height: 820px; }
  .sx .app:not(.app-anime) .app-intro, .sx .app:not(.app-anime) .satellite, .sx .app:not(.app-anime) .puce, .sx .app:not(.app-anime) .fond-num, .sx .app:not(.app-anime) .legende-mobile { display: none; }
  .sx .app:not(.app-anime) .pose { left: 72%; }
  @media (max-width: 999px) { .sx .app:not(.app-anime) .app-gauche { display: flex; position: relative; width: auto; padding-top: 92px; } .sx .app:not(.app-anime) .app-3d { position: relative; height: 720px; } .sx .app:not(.app-anime) .pose { left: 50%; } }
  /* éléments des écrans de l'app */
  .sx .e-noire { background: var(--encre); color: var(--blanc); border-color: var(--encre); }
  .sx .e-noire .e-petit { color: color-mix(in srgb, var(--blanc) 62%, transparent); }
  .sx .e-gros { display: block; font-size: 21px; letter-spacing: -.04em; font-weight: 700; line-height: 1.15; }
  .sx .e-grille2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .sx .e-tache { display: flex; align-items: center; gap: 8px; padding-top: 6px; font-weight: 600; font-size: 10.5px; }
  .sx .e-coche { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--trait); display: grid; place-items: center; font-size: 9px; color: var(--encre); }
  .sx .e-coche.ok { background: var(--accent); border-color: var(--accent); }
  .sx .e-video { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--creme); display: grid; place-items: center; }
  .sx .e-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .sx .e-lecture { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: color-mix(in srgb, var(--blanc) 94%, transparent); display: grid; place-items: center; font-size: 11px; box-shadow: var(--ombre); }
  .sx .e-prog { position: absolute; left: 10px; right: 10px; bottom: 8px; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--encre) 12%, transparent); overflow: hidden; }
  .sx .e-prog i { display: block; height: 100%; background: var(--bleu); }
  .sx .e-serie { display: grid; grid-template-columns: 16px 1fr 1fr 18px; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 10px; background: var(--blanc); border: 1px solid var(--trait); font-weight: 600; font-size: 10.5px; }
  .sx .e-onglets { display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: var(--trait); }
  .sx .e-onglets span { flex: 1; text-align: center; padding: 4px 0; border-radius: 999px; font-size: 9.5px; font-weight: 700; color: var(--gris); }
  .sx .e-onglets span.on { background: var(--blanc); color: var(--encre); box-shadow: 0 1px 3px color-mix(in srgb, var(--encre) 12%, transparent); }
  .sx .e-curseur { position: relative; height: 6px; margin-top: 6px; border-radius: 6px; background: var(--trait); }
  .sx .e-curseur i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--bleu); }
  .sx .e-curseur b { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--blanc); box-shadow: 0 1px 4px color-mix(in srgb, var(--encre) 30%, transparent); }
  .sx .e-onde { display: flex; align-items: center; gap: 2px; height: 18px; }
  .sx .e-onde i { width: 2px; border-radius: 2px; background: currentColor; }
  .sx .e-jours { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
  .sx .e-jours span { padding: 5px 0; border-radius: 10px; font-size: 8.5px; font-weight: 600; color: var(--gris); }
  .sx .e-jours span b { display: block; font-size: 12px; color: var(--encre); }
  .sx .e-jours span.on { background: var(--encre); color: color-mix(in srgb, var(--blanc) 70%, transparent); }
  .sx .e-jours span.on b { color: var(--blanc); }
  .sx .e-badges { display: flex; justify-content: space-around; align-items: center; }
  .sx .e-badges img { width: 66px; height: auto; }
  .sx .e-badges img.petit { width: 48px; opacity: .5; filter: grayscale(1); }
  .sx .e-repas { display: flex; align-items: center; gap: 8px; }
  .sx .e-repas .vign { flex: none; width: 30px; height: 30px; border-radius: 9px; }
  .sx .e-photo { aspect-ratio: 3 / 4; border-radius: 9px; background: var(--trait); }
  .sx .e-macro { display: grid; grid-template-columns: 62px 1fr 52px; gap: 8px; align-items: center; padding-top: 6px; font-size: 10px; font-weight: 600; }

  /* --- Abonnements -------------------------------------------------------- */
  .sx .abos { padding-block: clamp(100px, 12vw, 180px); border-top: 1px solid var(--trait); }
  .sx .abos-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; }
  .sx .offres { margin-top: 56px; display: grid; gap: 16px; perspective: 1400px; }
  @media (min-width: 960px) { .sx .offres { grid-template-columns: repeat(3, 1fr); } }
  .sx .offre { transform-style: preserve-3d; will-change: transform; position: relative; display: flex; flex-direction: column; gap: 24px; padding: 36px; border-radius: var(--rayon); background: var(--creme); overflow: hidden; isolation: isolate; }
  .sx .offre.vedette { background: var(--encre); color: var(--blanc); }
  .sx .offre .o-nom { display: flex; justify-content: space-between; font-weight: 600; }
  .sx .offre .o-nom span { font-size: var(--t-etiquette); padding: 4px 12px; border-radius: var(--rayon); background: var(--accent); color: var(--encre); }
  .sx .prix { display: flex; align-items: flex-end; gap: 8px; }
  .sx .prix .valeur { display: inline-flex; font-size: var(--t-chiffre); font-weight: 400; line-height: 1; }
  .sx .prix small { padding-bottom: 8px; }
  .sx .economie { display: inline-flex; align-self: flex-start; align-items: center; height: 0; margin-top: -22px; padding: 0 12px; border-radius: var(--rayon); overflow: hidden; opacity: 0; background: var(--brume-verte); color: var(--accent-texte); font-size: var(--t-etiquette); font-weight: 700; transition: height .6s var(--ease-luxe), opacity .5s, margin .6s var(--ease-luxe); }
  .sx .vedette .economie { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
  .sx .coche-o { flex: none; width: 16px; height: 16px; margin-top: 4px; fill: none; stroke: var(--accent-trait); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .sx .coche-o path { stroke-dasharray: 24; }
  .sx .vedette .coche-o { stroke: var(--accent); }
  .sx .prix small { color: var(--gris); font-size: var(--t-petit); }
  .sx .vedette .prix small, .sx .vedette .o-liste { color: color-mix(in srgb, var(--blanc) 70%, transparent); }
  .sx .o-liste { display: grid; gap: 12px; font-size: var(--t-petit); color: var(--gris); }
  .sx .o-liste li { display: flex; gap: 12px; }

  .sx .offre .btn { margin-top: auto; }
  .sx .vedette .btn-encre { background: var(--blanc); color: var(--encre); }
  .sx .vedette .btn-encre:hover { background: var(--brume-bleue); }
  .sx .vedette .btn-encre .fleche { background: var(--creme); }
  .sx .vedette .btn-trait { color: var(--blanc); border-color: color-mix(in srgb, var(--blanc) 25%, transparent); }
  .sx .vedette .btn-trait .fleche { background: color-mix(in srgb, var(--blanc) 12%, transparent); }

  /* --- Avis --------------------------------------------------------------- */
  .sx .avis { padding-block: clamp(100px, 12vw, 180px); background: var(--creme); }
  .sx .avis-scene { position: relative; margin-top: 48px; min-height: 360px; }
  .sx .avis-item { position: absolute; inset: 0; visibility: hidden; }
  .sx .avis-item.actif { visibility: visible; }
  .sx .avis-item blockquote { margin: 0; font-size: var(--t-2); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; max-width: 1100px; }
  .sx .avis-item blockquote .mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
  .sx .avis-item blockquote .mot > span { display: inline-block; }
  .sx .avis-item footer { margin-top: 32px; display: flex; gap: 16px; align-items: center; font-size: var(--t-petit); color: var(--gris); }
  .sx .avis-item footer b { color: var(--encre); }
  .sx .avis-nav { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
  .sx .avis-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--trait); background: var(--blanc); cursor: pointer; display: grid; place-items: center; transition: background .4s, color .4s; }
  .sx .avis-nav button:hover { background: var(--encre); color: var(--blanc); }
  .sx .avis-nav button svg { width: 18px; height: 18px; }
  .sx .avis-prog { flex: 1; max-width: 240px; height: 2px; background: var(--trait); overflow: hidden; }
  .sx .avis-prog i { display: block; height: 100%; background: var(--encre); transform: scaleX(0); transform-origin: left; }
  .sx .avis-nav .num { font-size: var(--t-petit); font-weight: 600; color: var(--gris); }
  @media (max-width: 760px) { .sx .avis-scene { min-height: 440px; } }

  /* --- Réservation -------------------------------------------------------- */
  .sx .essai { padding-block: clamp(112px, 14vw, 200px); }
  .sx .essai-grille { display: grid; gap: 56px; }
  @media (min-width: 1000px) { .sx .essai-grille { grid-template-columns: 1.1fr .9fr; align-items: end; } }
  .sx .essai p.chapo { margin-top: 24px; color: var(--gris); max-width: 460px; }
  .sx .formulaire { display: grid; gap: 16px; }
  .sx .champ { position: relative; }
  .sx .champ input, .sx .champ select { width: 100%; height: 64px; padding: 24px 20px 8px; border-radius: var(--rayon); border: 1px solid var(--trait); background: var(--blanc); font-size: var(--t-texte); transition: border-color .4s, box-shadow .4s; appearance: none; }
  .sx .champ input:focus, .sx .champ select:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 4px color-mix(in srgb, var(--encre) 6%, transparent); }
  .sx .champ label { position: absolute; left: 21px; top: 21px; font-size: var(--t-texte); color: var(--gris); pointer-events: none; transform-origin: 0 0; transition: transform .45s var(--ease-luxe); }
  .sx .champ input:focus + label, .sx .champ input:not(:placeholder-shown) + label, .sx .champ select + label { transform: translateY(-12px) scale(.74); }
  .sx .champ textarea { display: block; width: 100%; min-height: 168px; padding: 32px 20px 12px; border-radius: var(--rayon); border: 1px solid var(--trait); background: var(--blanc); font-size: var(--t-texte); line-height: 1.5; resize: vertical; transition: border-color .4s, box-shadow .4s; }
  .sx .champ textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 4px color-mix(in srgb, var(--encre) 6%, transparent); }
  .sx .champ textarea:focus + label, .sx .champ textarea:not(:placeholder-shown) + label { transform: translateY(-12px) scale(.74); }
  .sx .formulaire .btn { height: 64px; border-radius: var(--rayon); justify-content: space-between; padding: 0 24px; }
  .sx .merci { display: none; padding: 20px 20px; border-radius: var(--rayon); background: var(--brume-verte); color: var(--accent-texte); font-weight: 600; }
  .sx .merci.visible { display: block; }

  /* --- Pied de page dévoilé ----------------------------------------------- */
  .sx .pied { position: fixed; z-index: 1; left: 0; right: 0; bottom: 0; background: var(--encre); color: var(--blanc); padding-block: 64px calc(112px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
  .sx .pied-grille { display: grid; gap: 40px; }
  @media (min-width: 900px) { .sx .pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
  .sx .pied h4 { font-size: var(--t-etiquette); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--blanc) 50%, transparent); }
  .sx .pied ul { margin-top: 20px; display: grid; gap: 12px; color: color-mix(in srgb, var(--blanc) 82%, transparent); font-size: var(--t-petit); }
  .sx .pied .accroche { font-size: var(--t-3); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; max-width: 420px; }
  .sx .mot-marque { margin-top: 64px; font-size: clamp(64px, 15.6vw, 290px); font-weight: 700; letter-spacing: -.075em; line-height: .78; white-space: nowrap; display: block; }
  .sx .mot-marque span { display: inline-block; }
  .sx .pied-bas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: var(--t-legende); color: color-mix(in srgb, var(--blanc) 50%, transparent); }
  .sx .pied-bas nav { display: flex; gap: 20px; }
  .sx.sans-pied-fixe .pied { position: relative; }

  .sx .barre-defil { position: fixed; top: 0; left: 0; right: 0; z-index: 150; height: 2px; background: var(--bleu); transform: scaleX(0); transform-origin: left; pointer-events: none; }

  @media (prefers-reduced-motion: reduce) {
    .sx .methode { height: auto; }
    .sx .methode-scene { position: relative; height: auto; display: grid; gap: 48px; padding-block: calc(var(--haut-nav, 76px) + 48px) 96px; }
    .sx .methode canvas, .sx .segments, .sx .methode-haut .compteur { display: none; }
    .sx .methode-haut { position: static; padding-inline: var(--gouttiere); }
    .sx .chapitre, .sx .chapitre:nth-of-type(even) { text-align: left; max-width: 720px; }
    .sx .chapitre:nth-of-type(even) p { margin-left: 0; }
    .sx .defonce { height: auto; } .sx .def-scene { position: relative; } .sx .def-masque { display: none; } .sx .def-legende { opacity: 1; }
    .sx .chapitre, .sx .chapitre:nth-of-type(even) { position: relative; opacity: 1; visibility: visible; left: auto; right: auto; bottom: auto; margin-inline: var(--gouttiere); }
    .sx .defonce { height: auto; } .sx .def-fenetre { clip-path: none; } .sx .def-legende { opacity: 1; }
  }

/* ==========================================================================
   Adaptations du site (multi-pages, contenus vivants du store)
   ========================================================================== */

/* Défilement fluide (Lenis, accueil) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Navigation : lien de connexion, page en cours */
.sx .liens .roule.actif { color: var(--bleu-texte); }
.sx .nav-droite .connexion { display: none; margin-right: 12px; font-size: var(--t-petit); font-weight: 500; }
@media (min-width: 1080px) { .sx .nav-droite .connexion { display: inline-block; } }
.sx .menu { padding-top: calc(var(--haut-nav, 76px) + 36px); }
.sx .menu li:nth-child(7) a { transition-delay: .3s; } .sx .menu li:nth-child(8) a { transition-delay: .35s; }

/* Héros et méthode : décalés sous la navigation (bandeau compris) */
.sx .methode-haut { top: calc(var(--haut-nav, 76px) + 28px); }
@media (max-width: 899px) { .sx .hero-texte { padding-top: calc(var(--haut-nav, 76px) + 28px); } }

/* Parcours du coach : lignes cliquables */
.sx a.coach { color: inherit; }
.sx .note-parcours { margin-top: 20px; font-size: var(--t-legende); color: var(--gris); }

/* Programmes de la boutique */
.sx .cours-ligne .h { font-size: var(--t-chapo); }
.sx a.reserver { display: inline-grid; place-items: center; min-width: 110px; }
.sx .planning-pied { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--gris); font-size: var(--t-petit); }

/* Prestations */
.sx .prix .valeur.texte { font-size: var(--t-chiffre); letter-spacing: -.04em; }
.sx .economie.visible { height: 28px; margin-top: -8px; opacity: 1; }
.sx .o-desc { color: var(--gris); font-size: var(--t-petit); line-height: 1.5; }
.sx .vedette .o-desc { color: color-mix(in srgb, var(--blanc) 72%, transparent); }

/* Bilan initial */
.sx .formulaire .btn { width: 100%; }

.sx .pied a:hover { color: var(--blanc); }

/* Pages intérieures : en-tête éditorial sous la navigation */
.sx .page-haut { padding-top: calc(var(--haut-nav, 76px) + clamp(48px, 8vw, 120px)); padding-bottom: clamp(40px, 6vw, 80px); }
.sx .page-haut .chapo { margin-top: 24px; max-width: 560px; color: var(--gris); font-size: var(--t-chapo); line-height: 1.55; }
.sx .page-corps { padding-bottom: clamp(80px, 10vw, 140px); }

/* Pages intérieures : blocs éditoriaux */
.sx .appel-final { border-top: 1px solid var(--trait); }
.sx .appel-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sx .appel-actions .btn { height: 64px; padding: 0 28px; }
.sx .bloc { padding-block: clamp(80px, 10vw, 152px); }
.sx .bloc + .bloc { border-top: 1px solid var(--trait); }
.sx .bloc-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.sx .bloc-tete p { max-width: 380px; color: var(--gris); }
.sx .bio { margin-top: 40px; max-width: 1080px; font-size: var(--t-3); font-weight: 500; letter-spacing: -.035em; line-height: 1.28; }
.sx .valeurs { display: grid; gap: 16px; }
@media (min-width: 900px) { .sx .valeurs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sx .valeur-carte { display: flex; flex-direction: column; gap: 16px; min-height: 280px; padding: 32px 28px; border-radius: var(--rayon); background: var(--creme); transition: transform .7s var(--ease-luxe), box-shadow .7s var(--ease-luxe); }
.sx .valeur-carte:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--encre) 35%, transparent); }
.sx .valeur-carte .n { font-size: var(--t-legende); font-weight: 600; letter-spacing: .14em; color: var(--bleu-texte); }
.sx .valeur-carte h3 { margin-top: auto; font-size: var(--t-3); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.sx .valeur-carte p { color: var(--gris); font-size: var(--t-petit); line-height: 1.5; }
.sx .coach.sans-lien { cursor: default; }
/* Questions fréquentes */
.sx .faq { border-top: 1px solid var(--trait); }
.sx .faq details { border-bottom: 1px solid var(--trait); }
.sx .faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 0; cursor: pointer; list-style: none; font-size: var(--t-3); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.sx .faq summary::-webkit-details-marker { display: none; }
.sx .faq summary i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--trait); color: var(--encre); transition: background .4s, border-color .4s, color .4s; }
.sx .faq summary i svg { width: 18px; height: 18px; transition: transform .6s var(--ease-luxe); }
.sx .faq details[open] summary i { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.sx .faq details[open] summary i svg { transform: rotate(45deg); }
.sx .faq details p { max-width: 760px; padding-bottom: 32px; color: var(--gris); font-size: var(--t-texte); line-height: 1.6; }
/* Contact */
.sx .contact-grille { display: grid; gap: 28px; }
@media (min-width: 1000px) { .sx .contact-grille { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }
.sx .info-carte { padding: 28px; border-radius: var(--rayon); background: var(--creme); }
.sx .info-carte + .info-carte { margin-top: 12px; }
.sx .info-carte h3 { font-size: var(--t-etiquette); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
.sx .info-carte p, .sx .info-carte a { margin-top: 12px; display: block; font-size: var(--t-texte); line-height: 1.5; }
.sx .info-carte a { font-weight: 600; }
.sx .info-carte a:hover { color: var(--bleu-texte); }
.sx .info-carte a.lien-icone { display: inline-flex; align-items: center; gap: 8px; }
.sx .info-carte a.lien-icone svg { width: 16px; height: 16px; }
.sx .info-carte.encre { background: var(--encre); color: var(--blanc); }
.sx .info-carte.encre h3 { color: color-mix(in srgb, var(--blanc) 60%, transparent); }

/* Accueil : pseudo masqué sur petit écran */
@media (max-width: 520px) { .sx .etiquette .poignee { display: none; } }
/* Programmes : lignes allégées sur téléphone */
@media (max-width: 560px) {
  .sx .cours-ligne { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .sx .cours-ligne .nom span { display: none; }
  .sx .cours-ligne .h { font-size: var(--t-petit); }
  .sx a.reserver { min-width: 0; padding: 0 16px; }
}

/* Héros typographique : première ligne à gauche, seconde à droite, texte et actions en pied.
   Sur téléphone, chaque ligne peut passer à la ligne entre deux mots. */
.sx .hero-typo { height: 100svh; min-height: 640px; }
.sx .hero-typo .hero-texte { justify-content: center; align-items: stretch; padding-top: calc(var(--haut-nav, 76px) - 20px); padding-bottom: 96px; }
.sx .hero-typo .hero-titre { margin-top: 20px; width: 100%; font-size: var(--t-heros); line-height: .94; }
.sx .hero-typo .hero-titre .l1 { text-align: left; }
.sx .hero-typo .hero-titre .l2 { text-align: right; }
.sx .hero-typo .hero-pied { margin-top: clamp(24px, 4.5vh, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.sx .hero-typo .hero-intro { margin-top: 0; max-width: 440px; }
.sx .hero-typo .hero-actions { margin-top: 0; }
@media (max-width: 899px) {
  .sx .hero-typo .hero-texte { justify-content: center; padding-top: calc(var(--haut-nav, 76px) + 8px); padding-bottom: 84px; }
  .sx .hero-typo { --t-heros: min(12.4vw, 8vh); }
  .sx .hero-typo .hero-titre { white-space: normal; }
  .sx .hero-typo .hero-titre .ligne > span { display: block; text-wrap: balance; }
  .sx .hero-typo .hero-intro { display: block; font-size: var(--t-texte); }
  .sx .hero-typo .hero-actions { position: static; }
}

/* Film de présentation, héros de l'accueil (DESIGN.md, Mouvement) : toute la hauteur de l'écran, sous la
   navigation (transparente au-dessus), sur fond blanc comme la page. Le film est montré entier (contain) : ses
   bords sont blancs, il se fond dans la page quel que soit le format de l'écran. Film portrait sur un écran plus
   haut que large. Affiche en fond tant que le format n'est pas choisi (rendu serveur, JavaScript absent). */
.sx .heros-film { position: relative; height: 100svh; min-height: 520px; background: var(--blanc); overflow: hidden; }
.sx .film-cadre { position: absolute; inset: 0; background: var(--blanc) url(medias/film/affiche-paysage.jpg) center / contain no-repeat; }
.sx .film-cadre video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
@media (max-aspect-ratio: 1/1) {
  .sx .film-cadre { background-image: url(medias/film/affiche-portrait.jpg); }
  /* Le titre qui suit le film prend sa hauteur naturelle : pas de grand vide au-dessus. */
  .sx .heros-film + .hero-typo { height: auto; min-height: 0; }
  .sx .heros-film + .hero-typo .hero-texte { position: relative; inset: auto; padding-top: 56px; padding-bottom: 112px; }
}

/* Titre en défonce : image nette de la sélection de matériel, dans « Chaque jour, un pas de plus. » */
.sx .def-fenetre picture { position: absolute; inset: 0; }
.sx .def-fenetre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); will-change: transform; }

/* Pied : « Propulsé par France Web Studio » */
.sx .propulse { display: inline-flex; align-items: center; gap: 12px; color: color-mix(in srgb, var(--blanc) 62%, transparent); transition: color .3s; }
.sx .propulse img { height: 15px; width: auto; opacity: .92; transition: opacity .3s; }
.sx .propulse:hover { color: var(--blanc); }
.sx .propulse:hover img { opacity: 1; }
.sx .pied-bas nav { flex-wrap: wrap; }
@media (max-width: 760px) { .sx .def-voile { inset: 30% 0 0; background: linear-gradient(transparent, color-mix(in srgb, var(--encre) 78%, transparent)); } }

/* Coach : présentation et carte Instagram (initiales : coach fictive, sans photo) */
.sx .coach-presente { display: grid; gap: 20px; max-width: 380px; }
.sx .coach-presente p { color: var(--gris); }
.sx .coach-carte { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border-radius: var(--rayon); background: var(--creme); color: var(--gris); font-size: var(--t-petit); transition: background .4s, transform .6s var(--ease-luxe); }
.sx .coach-carte:hover { background: var(--brume-bleue); transform: translateY(-2px); }
.sx .coach-carte img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.sx .coach-carte b { display: block; color: var(--encre); font-size: var(--t-texte); }
.sx .coach-carte .c-fleche { color: var(--bleu-texte); }
.sx .c-fleche svg { width: 18px; height: 18px; }
.sx .bio-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-top: 32px; box-shadow: 0 0 0 6px var(--creme); }
.sx img.e-avatar { object-fit: cover; }

/* Boutique de l'accueil : la première colonne porte la catégorie (texte), pas une durée */
.sx .cours-ligne.article { grid-template-columns: minmax(0, 1fr) auto; }
.sx .cours-ligne.article .h { display: none; }
@media (min-width: 860px) {
  .sx .cours-ligne.article { grid-template-columns: 130px 1.6fr .8fr 1fr auto; }
  .sx .cours-ligne.article .h { display: block; font-size: var(--t-etiquette); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
}

/* Téléphone : compte du chargeur resserré */
@media (max-width: 520px) {
  .sx .ch-compte { gap: 12px; letter-spacing: .12em; font-size: var(--t-etiquette); }
  .sx .ch-compte span:first-child { white-space: nowrap; }
  .sx .ch-barre { width: 72px; }
}

/* ==========================================================================
   Écran d'ouverture : logo FWSport animé, puis volet penché qui découvre le film.
   Tracés du logo maître (docs/marque/fwsport/fwsport-logo.svg, viewBox
   0 0 1234,9 270,67), allégés au dixième : « F » puis « W » montent, puis
   « Sport » se découvre de gauche à droite.
   ========================================================================== */
.brand-logo-anim {
  --bla-ease: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: block;
  width: var(--bla-largeur, 184px);
  aspect-ratio: 1234.9 / 270.67;
}

.brand-logo-anim svg {
  position: absolute;
  top: 0;
  display: block;
  height: 100%;
  overflow: visible;
  user-select: none;
  pointer-events: none;
}

/* « FW » : x de 0 à 470,3 sur 1 234,9 (viewBox 0 0 470.3 270.67). */
.bla-monogramme {
  left: 0;
  width: 38.084%;
}

/* « Sport » : x de 452 à 1 234,9 (viewBox 452 0 782.9 270.67). Le « S » s'emboîte
   dans le « W » : les deux boîtes se chevauchent, c'est voulu. */
.bla-mot {
  left: 36.602%;
  width: 63.398%;
  clip-path: polygon(0 0, 108% 0, 100% 100%, 0 100%);
  animation: bla-mot 560ms var(--bla-ease) calc(var(--bla-retard, 0ms) + 430ms) both;
}

.bla-f,
.bla-w {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

/* Plus de carré à tracer : le « F » part tout de suite (même enchaînement que le
   chargeur de l'app, src/components/brand/brand-loader.css). */
.bla-f {
  animation: bla-f 620ms var(--bla-ease) var(--bla-retard, 0ms) both;
}

/* Le « W » reprend le mouvement du « F », un peu après lui. */
.bla-w {
  animation: bla-f 620ms var(--bla-ease) calc(var(--bla-retard, 0ms) + 110ms) both;
}

@keyframes bla-f {
  from {
    opacity: 0;
    transform: translateY(22%);
  }
  50% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Le bord droit part du bord gauche du mot et s'incline en avançant. */
@keyframes bla-mot {
  from {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  to {
    clip-path: polygon(0 0, 108% 0, 100% 100%, 0 100%);
  }
}
.sx .ch-logo { --bla-largeur: min(260px, 60vw); }

.fp-splash {
  --fp-biais: clamp(48px, 14vw, 160px);
  --fp-volet: 520ms cubic-bezier(0.76, 0, 0.24, 1);
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.fp-splash__bande,
.fp-splash__voile {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% + var(--fp-biais)));
}
.fp-splash__bande { background: var(--bleu); }
.fp-splash__voile { display: grid; place-items: center; background: var(--blanc); }
.fp-splash--sortie .fp-splash__voile { animation: fp-volet var(--fp-volet) both; }
.fp-splash--sortie .fp-splash__bande { animation: fp-volet var(--fp-volet) 60ms both; }
@keyframes fp-volet {
  from { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% + var(--fp-biais))); }
  to { clip-path: polygon(0 0, 100% 0, 100% calc(0% - var(--fp-biais)), 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo-anim svg, .brand-logo-anim rect, .brand-logo-anim path { animation: none !important; }
}

/* ==========================================================================
   Ajouts du template statique
   ========================================================================== */
body.page-studio { background: var(--blanc); }
.sx .bandeau-template, .bandeau-template { z-index: 120; }

/* Initiales de Camille à la place d'une photo (coach fictive) */
.sx .initiales { display: grid; place-items: center; border-radius: 50%; background: var(--brume-bleue); color: var(--bleu-texte); font-weight: 700; letter-spacing: -.02em; }
.sx .coach-carte .initiales { width: 56px; height: 56px; font-size: var(--t-petit); }
.sx .c-vignette .initiales { width: 100%; height: 100%; border-radius: inherit; font-size: var(--t-chapo); }
.sx .initiales.bio-photo { font-size: 40px; }
.sx .initiales.e-avatar { width: 26px; height: 26px; font-size: 10px; }

/* Boutique : cartes d'articles */
.sx .produits { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.sx .produit { display: flex; flex-direction: column; border-radius: var(--rayon); background: var(--creme); overflow: hidden; transition: transform .7s var(--ease-luxe), box-shadow .7s var(--ease-luxe); }
.sx .produit:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--encre) 35%, transparent); }
.sx .p-visuel { position: relative; aspect-ratio: 1; background: var(--blanc); }
.sx .p-visuel img { width: 100%; height: 100%; object-fit: cover; }
.sx .p-remise { position: absolute; left: 16px; top: 16px; padding: 4px 12px; border-radius: var(--rayon); background: var(--accent); color: var(--encre); font-size: var(--t-etiquette); font-weight: 700; }
.sx .p-corps { display: flex; flex-direction: column; gap: 8px; padding: 24px; flex: 1; }
.sx .p-cat { font-size: var(--t-etiquette); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.sx .produit h3 { font-size: var(--t-chapo); letter-spacing: -.03em; }
.sx .produit p { color: var(--gris); font-size: var(--t-petit); }
.sx .p-pied { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sx .p-prix { font-weight: 600; font-variant-numeric: tabular-nums; }
.sx .p-prix s { margin-left: 4px; color: var(--gris); font-weight: 400; }
.sx .p-demande { height: 44px; padding: 0 20px; }
.sx .page-corps .merci { margin-top: 24px; }
