
/* =========================================================
   JAYNE V4 — Push everything to 11
   ========================================================= */

:root {
  --indigo: #3B3BF9;
  --indigo-deep: #1F1FA8;
  --rose: #E91E8C;
  --noir: #0E0E11;
  --encre: #0E0E11;
  --ivoire: #F4F1EA;
  --ivoire-2: #ECE8DF;
  --ivoire-3: #E3DDD1;
  --gris-line: rgba(14,14,17,0.10);

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --pad-x: clamp(20px, 4vw, 60px);
  --ease-cinema: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font-body);
  background: var(--ivoire);
  color: var(--noir);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
  font-weight: 400;
  cursor: none;
}
@media (max-width: 980px), (pointer: coarse) {
  body { cursor: auto; }
}
::selection { background: var(--indigo); color: var(--ivoire); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* Grain */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9990;
  opacity: 0.03; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   ⭐ CUSTOM CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  top: 0; left: 0;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring { opacity: 1; }
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--indigo);
  transform: translate(-50%, -50%);
  transition: background 0.2s ease, transform 0.15s ease;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid var(--rose);
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  mix-blend-mode: normal;
}
body.cursor-hover .cursor-dot { transform: translate(-50%, -50%) scale(0); }
body.cursor-hover .cursor-ring {
  width: 60px; height: 60px;
  border-color: var(--rose);
  background: rgba(233,30,140,0.12);
  mix-blend-mode: normal;
}
body.cursor-rose .cursor-dot { background: var(--rose); }
body.cursor-rose .cursor-ring { border-color: var(--rose); }
body.cursor-light .cursor-dot { background: var(--ivoire); }
body.cursor-light .cursor-ring { border-color: var(--ivoire); }

@media (max-width: 980px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   1. PRELOADER + CINEMA SEQUENCE
   ============================================================ */
/* Permanent black backdrop that covers everything during intro sequence.
   Stays in place until cinema is done — prevents any flash of page bg. */
.intro-backdrop {
  position: fixed; inset: 0; z-index: 1400;
  background: var(--noir);
  transition: opacity 0.8s ease 0.3s, visibility 0.8s ease 0.3s;
}
.intro-backdrop.done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--noir); color: var(--ivoire);
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-top { display: flex; justify-content: space-between; }
.preloader-top .l { color: rgba(245,245,240,0.5); }
.preloader-top .l b { color: var(--ivoire); font-weight: 500; margin-left: 12px; }
.preloader-top .r { color: var(--rose); }

.preloader-mid {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 30px;
  flex: 1;
}
.preloader-counter {
  font-family: var(--font-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(80px, 16vw, 220px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ivoire);
  font-feature-settings: "tnum";
}
.preloader-counter .pct {
  color: var(--indigo); font-style: normal;
  font-size: 0.4em;
  vertical-align: super;
  margin-left: 8px;
}
.preloader-bar {
  width: min(440px, 70vw);
  height: 1px;
  background: rgba(245,245,240,0.15);
  position: relative;
}
.preloader-bar-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: var(--indigo);
  width: 0%;
}
.preloader-status {
  font-size: 10px; letter-spacing: 0.22em;
  color: rgba(245,245,240,0.5);
}

.preloader-bot {
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(245,245,240,0.5);
}
.preloader-bot .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rose); display: inline-block;
  margin-right: 8px;
  animation: pulseDot 1.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================================
   2. CINEMA INTRO
   ============================================================ */
.cinema {
  position: fixed; inset: 0; z-index: 1500;
  background: var(--noir); color: var(--ivoire);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  opacity: 0; visibility: hidden;
}
.cinema.active { opacity: 1; visibility: visible; }
.cinema.done { opacity: 0; visibility: hidden; pointer-events: none; }
.cinema-words {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.cinema-word {
  position: absolute;
  font-family: var(--font-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(60px, 12vw, 180px);
  letter-spacing: -0.04em; line-height: 1;
  opacity: 0; filter: blur(20px); transform: scale(1.1);
}
.cinema.active .cinema-word {
  animation: cinemaWord 0.85s var(--ease-cinema) forwards;
  animation-delay: var(--d);
}
.cinema-word .punct { color: var(--indigo); }

/* Final word = the actual Jayne logo */
.cinema-final-logo {
  position: absolute;
  display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px);
  opacity: 0; filter: blur(24px); transform: scale(1.2);
}
.cinema.active .cinema-final-logo {
  animation: cinemaFinal 1.1s var(--ease-cinema) forwards;
  animation-delay: var(--d);
}
.cinema-final-logo img {
  height: clamp(70px, 13vw, 200px);
  width: auto;
  display: block;
  /* Force pure white version of the logo on the black backdrop */
  filter: brightness(0) invert(1);
}
.cinema-final-logo .punct {
  color: var(--rose);
  font-family: var(--font-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(80px, 16vw, 240px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-left: -8px;
}

@keyframes cinemaWord {
  0%   { opacity: 0; filter: blur(20px); transform: scale(1.15); }
  25%  { opacity: 1; filter: blur(0); transform: scale(1); }
  75%  { opacity: 1; filter: blur(0); transform: scale(1); }
  100% { opacity: 0; filter: blur(14px); transform: scale(0.96); }
}
@keyframes cinemaFinal {
  0%   { opacity: 0; filter: blur(24px); transform: scale(1.2); }
  35%  { opacity: 1; filter: blur(0); transform: scale(1); }
  100% { opacity: 1; filter: blur(0); transform: scale(1); }
}
.cinema-skip {
  position: absolute; bottom: 32px; right: 36px;
  background: transparent; border: 1px solid rgba(245,245,240,0.3);
  color: var(--ivoire); padding: 10px 20px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; cursor: none;
}
.cinema-meta {
  position: absolute; top: 32px; left: 36px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,245,240,0.5);
}
.cinema-meta b { color: var(--ivoire); font-weight: 500; }

/* ============================================================
   3. AUDIO TOGGLE & NAV
   ============================================================ */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245,245,240,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gris-line);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
nav.top.dark {
  background: rgba(0,0,0,0.86);
  color: var(--ivoire);
  border-bottom-color: rgba(245,245,240,0.12);
}
nav.top .logo {
  display: flex; align-items: center; gap: 8px;
  cursor: none; height: 26px;
}
nav.top .logo img {
  height: 100%; width: auto; display: block;
  /* indigo logo by default — invert on dark sections */
  transition: filter 0.4s ease;
}
nav.top.dark .logo img {
  filter: brightness(0) invert(0.96) sepia(0.05);
}
nav.top .logo .dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose); margin-bottom: -2px;
  flex-shrink: 0;
}
nav.top .right { display: flex; align-items: center; gap: 24px; }
nav.top ul { display: flex; gap: 36px; align-items: center; }
nav.top a {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; cursor: none;
  transition: color 0.2s;
}
nav.top a:hover { color: var(--indigo); }
nav.top.dark a:hover { color: var(--rose); }
nav.top a.cta {
  background: var(--noir); color: var(--ivoire);
  padding: 12px 22px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.05em; text-transform: none;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
}
nav.top.dark a.cta { background: var(--ivoire); color: var(--noir); }
nav.top a.cta .arr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ivoire); color: var(--noir); font-size: 11px;
}
nav.top.dark a.cta .arr { background: var(--noir); color: var(--ivoire); }

.audio-toggle {
  background: transparent; border: 1px solid var(--gris-line);
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}
nav.top.dark .audio-toggle { border-color: rgba(245,245,240,0.3); }
.audio-toggle:hover { border-color: var(--indigo); }
.audio-toggle .bars {
  display: flex; gap: 2px; align-items: center;
}
.audio-toggle .bar {
  width: 2px; height: 4px;
  background: currentColor;
  border-radius: 1px;
  transition: height 0.2s ease;
}
.audio-toggle.on .bar:nth-child(1) { animation: aBar 0.8s ease-in-out infinite; height: 6px; }
.audio-toggle.on .bar:nth-child(2) { animation: aBar 0.8s ease-in-out 0.15s infinite; height: 10px; }
.audio-toggle.on .bar:nth-child(3) { animation: aBar 0.8s ease-in-out 0.3s infinite; height: 7px; }
.audio-toggle.on .bar:nth-child(4) { animation: aBar 0.8s ease-in-out 0.45s infinite; height: 5px; }
@keyframes aBar {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

@media (max-width: 880px) {
  nav.top ul li:not(:last-child) { display: none; }
  nav.top { padding: 14px var(--pad-x); }
  nav.top .logo { height: 22px; }
  nav.top a.cta {
    font-size: 12px;
    padding: 9px 14px;
    gap: 6px;
  }
  nav.top a.cta .arr { width: 18px; height: 18px; font-size: 10px; }
  .audio-toggle { display: none; }
}

/* ============================================================
   4. HERO + PARALLAX 3D
   ============================================================ */
.hero {
  min-height: 100vh;
  padding: 120px var(--pad-x) 60px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
  background: var(--ivoire-2);
  perspective: 1500px;
}

.hero-bg-layers {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  transform-style: preserve-3d;
}
.hero-bg-layer {
  position: absolute; inset: 0;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
/* Layer 1: the photo, full bleed */
.hero-bg-photo {
  background-image: url('/assets/hero-header.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: sepia(0.30) saturate(1.12) contrast(0.9) brightness(1.05) hue-rotate(-8deg);
}
/* Layer 2: dark vignette + ivory wash for legibility on the left */
.hero-bg-overlay {
  background:
    linear-gradient(95deg, rgba(245,245,240,0.92) 0%, rgba(245,245,240,0.78) 35%, rgba(245,245,240,0.45) 55%, rgba(0,0,0,0.15) 100%),
    radial-gradient(at 80% 30%, rgba(233,30,140,0.18), transparent 55%);
}
/* Layer 3: subtle indigo tint on the right side */
.hero-bg-tint {
  background:
    radial-gradient(ellipse 50% 80% at 95% 50%, rgba(59,59,249,0.18), transparent 70%);
  mix-blend-mode: multiply;
}
/* Layer 4: floating particles for depth */
.hero-bg-particles {
  background-image:
    radial-gradient(circle at 70% 25%, rgba(233,30,140,0.55) 0px, transparent 3px),
    radial-gradient(circle at 88% 75%, rgba(59,59,249,0.55) 0px, transparent 3px),
    radial-gradient(circle at 60% 90%, rgba(245,245,240,0.5) 0px, transparent 2px),
    radial-gradient(circle at 95% 15%, rgba(245,245,240,0.4) 0px, transparent 2px);
  filter: blur(0.4px);
}

.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 320;
  font-size: clamp(64px, 13vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--noir);
}
.hero-title em { font-style: italic; font-weight: 800; color: var(--indigo); }
.hero-title .rose { color: var(--rose); font-style: italic; font-weight: 800; }

/* ===== HERO — variante « type » : la photo vit DANS le mot ===== */
.hero-typed-wrap { display: none; }
[data-hero="type"] .hero-bg-layers,
[data-hero="type"] .spin-badge,
[data-hero="type"] > .hero-content:not(.hero-typed-wrap) { display: none; }
[data-hero="photo"] .hero-typed-wrap { display: none; }
[data-hero="type"] .hero {
  background: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(59,59,249,0.06), transparent 65%), var(--ivoire);
  justify-content: center;
}
[data-hero="type"] .hero-typed-wrap {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 100%; position: relative; z-index: 2;
}
.hx-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(0,0,0,0.5); display: flex; align-items: center; gap: 12px; margin-bottom: clamp(22px, 3vw, 44px);
}
.hx-eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 0 var(--rose); animation: heroPulse 2s ease-out infinite; }
.hx-eyebrow .sep { width: 26px; height: 1px; background: var(--gris-line); }
@keyframes heroPulse { 0%{box-shadow:0 0 0 0 rgba(233,30,140,0.5);} 70%{box-shadow:0 0 0 13px rgba(233,30,140,0);} 100%{box-shadow:0 0 0 0 rgba(233,30,140,0);} }
.hero-typed {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: clamp(110px, 29vw, 540px); line-height: 0.8; letter-spacing: -0.05em; margin: 0;
  background-image: url('/assets/hero-header.jpg');
  background-size: cover; background-position: center 30%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: sepia(0.30) saturate(1.14) contrast(0.95) brightness(1.06) hue-rotate(-8deg);
  animation: hxPan 22s ease-in-out infinite alternate;
  will-change: background-position;
}
@keyframes hxPan { from { background-position: center 22%; } to { background-position: center 44%; } }
.hero-typed .td { -webkit-text-fill-color: var(--rose); color: var(--rose); }
.hx-lead {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(19px, 2.3vw, 32px);
  letter-spacing: -0.01em; color: var(--noir); margin-top: clamp(22px, 3vw, 42px); max-width: 18ch; line-height: 1.18;
}
.hx-lead em { font-style: italic; font-weight: 600; color: var(--indigo); }
.hx-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: clamp(30px, 3.6vw, 46px); }
.hx-cta { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 100px; font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: none; transition: background 0.3s var(--ease-cinema), color 0.3s var(--ease-cinema); }
.hx-cta.primary { background: var(--indigo); color: #fff; }
.hx-cta.primary:hover { background: var(--indigo-deep); }
.hx-cta.ghost { background: transparent; color: var(--noir); border: 1.5px solid var(--noir); }
.hx-cta.ghost:hover { background: var(--noir); color: var(--ivoire); }
.hx-cta .ic { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.22); font-size: 11px; transition: transform 0.35s var(--ease-cinema); }
.hx-cta.ghost .ic { background: var(--noir); color: var(--ivoire); }
.hx-cta:hover .ic { transform: rotate(45deg); }
@media (max-width: 600px) {
  .hero-typed { font-size: clamp(88px, 33vw, 200px); }
  .hx-lead { font-size: 18px; }
}

/* Word-reveal animation: chaque mot du hero a son propre delay */
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(-30deg);
  transform-origin: bottom;
  animation: wordReveal 1s var(--ease-cinema) forwards;
  animation-delay: var(--d);
}
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* Badge rotatif */
.spin-badge {
  position: absolute;
  right: var(--pad-x);
  top: 50%; transform: translateY(-50%);
  width: 200px; height: 200px;
  z-index: 3; pointer-events: none;
}
.spin-badge .ring {
  width: 100%; height: 100%;
  animation: spin 30s linear infinite;
}
.spin-badge .center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  background: var(--rose); border-radius: 50%;
  box-shadow: 0 0 20px var(--rose);
  animation: corePulse 2s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 20px var(--rose); }
  50% { box-shadow: 0 0 40px var(--rose), 0 0 60px var(--rose); }
}
.spin-badge text {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--noir); font-weight: 500;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .spin-badge { width: 130px; height: 130px; right: var(--pad-x); top: 100px; transform: none; }
  .spin-badge text { font-size: 9px; }
  .hero-bg-layer { transform: none !important; }
}

/* Scroll indicator au bas du hero */
.scroll-indicator {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  z-index: 3;
}
.scroll-indicator-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--noir));
  position: relative;
}
.scroll-indicator-line::after {
  content: ""; position: absolute;
  top: 0; left: -1px;
  width: 3px; height: 8px;
  background: var(--indigo);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: 0; opacity: 1; }
  100% { top: 32px; opacity: 0; }
}

/* ============================================================
   5. SUB-HERO
   ============================================================ */
.sub-hero { background: var(--ivoire); border-top: 1px solid var(--gris-line); }
.sub-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  padding: 80px var(--pad-x) 70px;
  align-items: start;
}
.sub-hero-text { max-width: 540px; }
.sub-hero-text p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.sub-hero-text p em { font-style: italic; }
.sub-hero-bullets {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 36px; padding-top: 30px;
  border-top: 1px solid var(--gris-line);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.sub-hero-bullets li { display: flex; align-items: center; gap: 10px; }
.sub-hero-bullets .bullet { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); }

.sub-hero-cta { display: flex; flex-direction: column; gap: 12px; }
.sub-hero-cta-label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(0,0,0,0.5); margin-bottom: 6px;
}
.sub-hero-cta-label::before { content: "→ "; color: var(--noir); }

.cta-pill {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px; border-radius: 100px;
  background: var(--noir); color: var(--ivoire);
  cursor: none; transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.cta-pill::before {
  content: ""; position: absolute;
  inset: 0;
  background: var(--indigo);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-cinema);
  z-index: 0;
}
.cta-pill:hover::before { transform: translateY(0); }
.cta-pill > * { position: relative; z-index: 1; }
.cta-pill .pill-main {
  font-family: var(--font-body);
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.cta-pill .pill-sub {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,245,240,0.6); margin-top: 4px; display: block;
}
.cta-pill .pill-arr {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ivoire); color: var(--noir);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0; margin-left: 16px;
  transition: transform 0.4s var(--ease-cinema);
}
.cta-pill:hover .pill-arr { transform: rotate(45deg); }
.cta-pill.outline {
  background: transparent; color: var(--noir);
  border: 1.5px solid var(--noir);
}
.cta-pill.outline::before { background: var(--noir); }
.cta-pill.outline:hover { color: var(--ivoire); border-color: var(--noir); }
.cta-pill.outline .pill-sub { color: rgba(0,0,0,0.5); }
.cta-pill.outline:hover .pill-sub { color: rgba(245,245,240,0.6); }
.cta-pill.outline .pill-arr { background: var(--noir); color: var(--ivoire); }
.cta-pill.outline:hover .pill-arr { background: var(--ivoire); color: var(--noir); }

.sub-hero-foot {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(0,0,0,0.5);
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--gris-line);
  border-bottom: 1px solid var(--gris-line);
  background: var(--ivoire);
  overflow: hidden; padding: 26px 0;
}
.marquee-track {
  display: flex; gap: 80px; width: max-content;
  animation: marqueeScroll 36s linear infinite;
  align-items: center;
}
.marquee-item {
  font-family: var(--font-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(40px, 7vw, 96px);
  letter-spacing: -0.03em;
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-item:hover { color: var(--indigo); }
.marquee-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--rose); flex-shrink: 0;
}
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .sub-hero-grid { grid-template-columns: 1fr; gap: 50px; }
}

/* ============================================================
   ⭐ 6. MANIFESTE — Word-by-word reveal
   ============================================================ */
.manifeste {
  padding: 100px var(--pad-x);
  background: var(--ivoire);
}
.manifeste-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: stretch;
}
.manifeste-portrait {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #1a0e10;
  border-radius: 4px;
}
.manifeste-portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.32) saturate(1.18) contrast(0.88) brightness(1.07) hue-rotate(-10deg);
}
/* Vintage 80s film wash — ambiance photos only (lifted blacks + split-tone) */
.manifeste-portrait::before, .tri-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(155deg, rgba(255,224,170,0.22), rgba(255,150,190,0.10) 55%, rgba(150,200,255,0.10)),
    radial-gradient(ellipse at 50% 38%, transparent 50%, rgba(60,38,16,0.30) 100%);
  mix-blend-mode: screen;
}
.manifeste-portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.5) 100%),
              radial-gradient(at 20% 100%, rgba(59,59,249,0.18), transparent 60%);
  pointer-events: none;
}
.portrait-tag {
  position: absolute;
  top: 22px; left: 22px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,245,240,0.7); z-index: 2;
}
.manifeste-tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  margin-bottom: 30px; display: block;
}
.manifeste-tag b { color: var(--noir); font-weight: 500; margin-left: 16px; }

.manifeste h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.8vw, 92px);
  line-height: 0.95; letter-spacing: -0.03em;
  margin-bottom: 36px;
}
/* Mask reveal — chaque mot apparaît */
.manifeste h2 .word {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
}
.manifeste h2 .word .inner {
  display: inline-block;
  transform: translateY(120%);
  transition: transform 1s var(--ease-cinema);
  transition-delay: var(--d, 0s);
}
.manifeste h2.reveal-words.active .word .inner {
  transform: translateY(0);
}
.manifeste h2 em.rose .inner { color: var(--rose); font-style: italic; }
.manifeste h2 em.indigo .inner { color: var(--indigo); font-style: italic; }

.manifeste-body {
  font-size: 18px; line-height: 1.55;
  color: rgba(0,0,0,0.78); max-width: 540px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.manifeste-body.in { opacity: 1; transform: translateY(0); }
.manifeste-body em {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500;
  font-size: 1.05em; color: var(--noir);
}

@media (max-width: 980px) {
  .manifeste-grid { grid-template-columns: 1fr; gap: 40px; }
  .manifeste-portrait { min-height: 400px; }
}

/* ============================================================
   7. STATS
   ============================================================ */
.stats {
  padding: 80px var(--pad-x) 100px;
  background: var(--ivoire);
  border-top: 1px solid var(--gris-line);
}
.stats-top {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  margin-bottom: 80px; padding-bottom: 60px;
  border-bottom: 1px solid var(--gris-line);
}
.stat-big { display: flex; flex-direction: column; gap: 8px; }
.stat-big .num {
  font-family: var(--font-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(60px, 9vw, 130px);
  letter-spacing: -0.03em; line-height: 1;
}
.stat-big .lbl {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--gris-line);
}
.stat-cell {
  border-right: 1px solid var(--gris-line);
  padding: 30px 24px 24px;
  position: relative;
  overflow: hidden;
}
.stat-cell::before {
  content: ""; position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0;
  background: var(--indigo);
  opacity: 0.06;
  transition: height 0.6s var(--ease-cinema);
}
.stat-cell:hover::before { height: 100%; }
.stat-cell .code {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  margin-bottom: 60px; display: block;
  position: relative;
}
.stat-cell .v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(60px, 8vw, 110px);
  letter-spacing: -0.04em; line-height: 1;
  position: relative;
}
.stat-cell .v sub { font-size: 0.5em; vertical-align: baseline; font-weight: 700; }
.stat-cell .desc {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(0,0,0,0.7);
  margin-top: 14px;
  position: relative;
}

/* ⭐ MOBILE — stats stack + hero/scale fixes for small screens */
@media (max-width: 760px) {
  .stats-top { grid-template-columns: 1fr; gap: 36px; margin-bottom: 48px; padding-bottom: 40px; }
  .stats-top .stat-big[style*="right"] { text-align: left !important; }
  .stats-grid { grid-template-columns: 1fr 1fr; border-left: none; }
  .stat-cell { border-bottom: 1px solid var(--gris-line); }
  .stat-cell:nth-child(even) { border-right: none; }
  .stat-cell .code { margin-bottom: 28px; }
}
@media (max-width: 600px) {
  :root { --pad-x: 20px; }
  .hero { padding: 110px 20px 80px; min-height: 88vh; }
  .hero-title { font-size: clamp(44px, 15vw, 80px); }
  .hero-title br { display: none; }
  .spin-badge { display: none; }
  .stat-cell .v { font-size: clamp(48px, 16vw, 72px); }
  .stat-cell .code { margin-bottom: 20px; }
  .marquee-item { font-size: clamp(30px, 9vw, 52px); }
}
.triptyque {
  background: var(--ivoire);
  padding: 130px var(--pad-x) 130px;
  border-top: 1px solid var(--gris-line);
  position: relative;
}
.triptyque-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  margin-bottom: 60px;
  align-items: end;
  border-bottom: 1px solid var(--gris-line);
  padding-bottom: 50px;
}
.triptyque-kicker {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  margin-bottom: 24px;
  display: block;
}
.triptyque-kicker b { color: var(--noir); font-weight: 500; margin-left: 16px; }
.triptyque-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.triptyque-head h2 em { font-style: italic; color: var(--indigo); }
.triptyque-head h2 em.r { color: var(--rose); }
.triptyque-meta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  text-align: right;
  white-space: nowrap;
}
.triptyque-meta b { color: var(--noir); font-weight: 500; display: block; margin-bottom: 4px; }

.triptyque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  padding-top: 40px;
  padding-bottom: 40px;
}
.tri-frame {
  position: relative;
  overflow: hidden;
  background: var(--ivoire-2);
  aspect-ratio: 3 / 4.3;
  cursor: none;
  transition: transform 0.7s var(--ease-cinema);
}
/* Subtle vertical stagger for editorial rhythm — kept small to prevent overflow */
.tri-frame:nth-child(1) { transform: translateY(0); }
.tri-frame:nth-child(2) { transform: translateY(28px); }
.tri-frame:nth-child(3) { transform: translateY(-12px); }
.tri-frame:hover { transform: translateY(-4px) !important; }
.tri-frame:nth-child(2):hover { transform: translateY(20px) !important; }
.tri-frame:nth-child(3):hover { transform: translateY(-20px) !important; }
.tri-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.32) saturate(1.18) contrast(0.88) brightness(1.07) hue-rotate(-10deg);
  transition: transform 1.2s var(--ease-cinema), filter 0.6s ease;
  will-change: transform;
}
.tri-frame:hover img { transform: scale(1.05); }
.tri-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.tri-label {
  position: absolute;
  top: 18px; left: 18px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ivoire);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 6px 10px;
  z-index: 2;
  border: 1px solid rgba(245,245,240,0.2);
}
.tri-caption {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  z-index: 2;
  font-family: var(--font-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ivoire);
}
.tri-caption em { font-style: normal; font-weight: 700; }
.triptyque-foot {
  margin-top: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gris-line);
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(0,0,0,0.5);
}
.triptyque-foot .codes { display: flex; gap: 20px; }
.triptyque-foot .codes b { color: var(--noir); font-weight: 500; }

@media (max-width: 980px) {
  .triptyque-head { grid-template-columns: 1fr; align-items: start; }
  .triptyque-meta { text-align: left; }
  .triptyque-grid { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .tri-frame, .tri-frame:nth-child(1), .tri-frame:nth-child(2), .tri-frame:nth-child(3) {
    transform: none !important;
    aspect-ratio: 3/4;
  }
  .triptyque-foot { flex-direction: column; gap: 14px; align-items: flex-start; }
}


/* ============================================================
   ⭐ CONCEPT VIZ — Animations conceptuelles (panels 01/02/03)
   Style: minimal, cohérent avec panel "04 Tout est connecté"
   ============================================================ */

.concept-viz {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  flex: 1;
}

.viz-svg {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  max-height: 600px;
  display: block;
  overflow: visible;
}

@media (max-width: 980px) {
  .concept-viz {
    height: auto;
    min-height: 0;
    padding: 30px 0;
    width: 100%;
  }
  .viz-svg {
    width: 100%;
    height: auto;
    min-height: 320px;
    max-height: none;
  }
}

/* Shared node styles */
.viz-node-ring {
  fill: transparent;
  stroke-width: 1.2;
  stroke: rgba(0,0,0,0.25);
}
.viz-node-core {
  fill: var(--noir);
}
.viz-node-ring.indigo { stroke: var(--indigo); }
.viz-node-core.indigo { fill: var(--indigo); }
.viz-node-ring.rose { stroke: var(--rose); }
.viz-node-core.rose { fill: var(--rose); }

/* On dark backgrounds, invert defaults */
.panel-coach .viz-node-ring { stroke: rgba(245,245,240,0.4); }
.panel-coach .viz-node-core { fill: var(--ivoire); }

.viz-line {
  stroke: rgba(0,0,0,0.18);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 4 6;
}
.panel-coach .viz-line { stroke: rgba(245,245,240,0.25); }

.viz-line-solid {
  stroke: rgba(0,0,0,0.25);
  stroke-width: 1;
  fill: none;
}
.panel-coach .viz-line-solid { stroke: rgba(245,245,240,0.3); }

.viz-particle {
  filter: drop-shadow(0 0 8px currentColor);
}
.viz-particle.indigo { fill: var(--indigo); color: var(--indigo); }
.viz-particle.rose { fill: var(--rose); color: var(--rose); }
.viz-particle.ivoire { fill: var(--ivoire); color: var(--ivoire); }

/* SVG text sizes in viewBox units (no px → interpreted as user units) */
.viz-label {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 24;
  letter-spacing: -0.02em;
  fill: var(--noir);
}
.panel-coach .viz-label { fill: var(--ivoire); }
.viz-label.indigo { fill: var(--indigo); }
.viz-label.rose { fill: var(--rose); }
.viz-label.ivoire { fill: var(--ivoire); }

.viz-meta {
  font-family: var(--font-mono);
  font-size: 12;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: rgba(0,0,0,0.5);
}
.panel-coach .viz-meta { fill: rgba(245,245,240,0.55); }

.viz-tag {
  font-family: var(--font-mono);
  font-size: 13;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  fill: rgba(0,0,0,0.7);
}
.panel-coach .viz-tag { fill: rgba(245,245,240,0.85); }

/* === VIZ 1: APP MOBILE — Orbits === */
.viz-orbit {
  fill: none;
  stroke: rgba(0,0,0,0.12);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}
.viz-orbit-rotate {
  transform-origin: 600px 300px;
  animation: orbitRotate 30s linear infinite;
}
.viz-orbit-rotate.reverse { animation-direction: reverse; animation-duration: 40s; }
@keyframes orbitRotate {
  to { transform: rotate(360deg); }
}

.viz-pulse-ring {
  fill: none;
  stroke-width: 1.5;
  animation: vizPulseRing 2.4s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes vizPulseRing {
  0% { transform: scale(0.7); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* === VIZ 2: APP COACH — Coaches reporting to gérant === */
.viz-coach-flow-1 {
  offset-path: path('M 240 200 Q 240 340 600 440');
  animation: coachFlow 4s ease-in-out infinite;
  animation-delay: 0s;
}
.viz-coach-flow-2 {
  offset-path: path('M 600 200 L 600 380');
  animation: coachFlow 4s ease-in-out infinite;
  animation-delay: 1.3s;
}
.viz-coach-flow-3 {
  offset-path: path('M 960 200 Q 960 340 600 440');
  animation: coachFlow 4s ease-in-out infinite;
  animation-delay: 2.6s;
}
@keyframes coachFlow {
  0%   { offset-distance: 0%; opacity: 0; }
  10%  { opacity: 1; }
  85%  { offset-distance: 100%; opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* Gérant dashboard pulses when receiving info */
.viz-gerant-pulse {
  animation: gerantPulse 4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes gerantPulse {
  0%, 100% { transform: translate(600px, 480px) scale(1); }
  10%, 12% { transform: translate(600px, 480px) scale(1.05); }
  35%, 37% { transform: translate(600px, 480px) scale(1.05); }
  60%, 62% { transform: translate(600px, 480px) scale(1.05); }
}

/* === VIZ 3: BACK-OFFICE — Hub === */
.viz-bo-spoke {
  stroke: rgba(0,0,0,0.2);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  fill: none;
}

.viz-bo-particle {
  filter: drop-shadow(0 0 6px var(--indigo));
}
.viz-bo-particle.s1 { offset-path: path('M 600 300 L 200 120'); animation: boParticle 3s ease-in-out infinite; animation-delay: 0s; }
.viz-bo-particle.s2 { offset-path: path('M 600 300 L 600 100'); animation: boParticle 3s ease-in-out infinite; animation-delay: 0.5s; }
.viz-bo-particle.s3 { offset-path: path('M 600 300 L 1000 120'); animation: boParticle 3s ease-in-out infinite; animation-delay: 1s; }
.viz-bo-particle.s4 { offset-path: path('M 600 300 L 200 480'); animation: boParticle 3s ease-in-out infinite; animation-delay: 1.5s; }
.viz-bo-particle.s5 { offset-path: path('M 600 300 L 600 500'); animation: boParticle 3s ease-in-out infinite; animation-delay: 2s; }
.viz-bo-particle.s6 { offset-path: path('M 600 300 L 1000 480'); animation: boParticle 3s ease-in-out infinite; animation-delay: 2.5s; }

.viz-bo-particle.rose-back {
  filter: drop-shadow(0 0 6px var(--rose));
}
.viz-bo-particle.r1 { offset-path: path('M 200 120 L 600 300'); animation: boParticleBack 3s ease-in-out infinite; animation-delay: 1.5s; }
.viz-bo-particle.r3 { offset-path: path('M 1000 120 L 600 300'); animation: boParticleBack 3s ease-in-out infinite; animation-delay: 2.5s; }
.viz-bo-particle.r5 { offset-path: path('M 600 500 L 600 300'); animation: boParticleBack 3s ease-in-out infinite; animation-delay: 0.5s; }

@keyframes boParticle {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes boParticleBack {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.viz-satellite-pulse {
  animation: satellitePulse 4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.viz-satellite-pulse.d1 { animation-delay: 0s; }
.viz-satellite-pulse.d2 { animation-delay: 0.5s; }
.viz-satellite-pulse.d3 { animation-delay: 1s; }
.viz-satellite-pulse.d4 { animation-delay: 1.5s; }
.viz-satellite-pulse.d5 { animation-delay: 2s; }
.viz-satellite-pulse.d6 { animation-delay: 2.5s; }
@keyframes satellitePulse {
  0%, 100% { transform: scale(1); }
  6%, 12% { transform: scale(1.4); }
}

/* On panel-flow (black bg), lines should be brighter */
.panel-flow .viz-line { stroke: rgba(245,245,240,0.25); }
.panel-flow .viz-line-solid { stroke: rgba(245,245,240,0.35); }

/* === VIZ 4: TOUT EST CONNECTÉ — Cliente → Coach → Club === */
.viz-flow-traveler-1 {
  offset-path: path('M 240 320 Q 420 140 600 320');
  animation: flowTravel 5s ease-in-out infinite;
  animation-delay: 0s;
}
.viz-flow-traveler-1b {
  offset-path: path('M 240 320 Q 420 140 600 320');
  animation: flowTravel 5s ease-in-out infinite;
  animation-delay: 0.6s;
}
.viz-flow-traveler-2 {
  offset-path: path('M 600 320 Q 780 140 960 320');
  animation: flowTravel 5s ease-in-out infinite;
  animation-delay: 1.4s;
}
.viz-flow-traveler-2b {
  offset-path: path('M 600 320 Q 780 140 960 320');
  animation: flowTravel 5s ease-in-out infinite;
  animation-delay: 2s;
}
@keyframes flowTravel {
  0%   { offset-distance: 0%; opacity: 0; }
  10%  { opacity: 1; }
  60%  { offset-distance: 100%; opacity: 1; }
  65%  { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 100%; opacity: 0; }
}

.viz-flow-recv-2 {
  animation-delay: 1.2s;
}
.viz-flow-recv-3 {
  animation-delay: 2.6s;
}

/* ── Vertical diagrams (mobile-only) ─────────────────────────── */
.viz-v { display: none; }
.vv-spine { fill: none; stroke-dasharray: 3 7; stroke-width: 2; }
.panel-mobile .vv-spine, .panel-bo .vv-spine { stroke: rgba(0,0,0,0.18); }
.panel-coach .vv-spine, .panel-flow .vv-spine { stroke: rgba(245,245,240,0.28); }

.vv-dot { animation: vvFlow 3.4s ease-in-out infinite; }
@keyframes vvFlow {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.vv-pulse {
  fill: none; stroke-width: 2;
  transform-box: fill-box; transform-origin: center;
  animation: vvPulse 2.8s ease-out infinite;
}
@keyframes vvPulse {
  0%        { transform: scale(0.55); opacity: 0.7; }
  70%, 100% { transform: scale(2.0);  opacity: 0; }
}
.vv-node-ring { fill: none; stroke-width: 2; }
.vv-label { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.vv-meta  { font-family: var(--font-mono); letter-spacing: 0.14em; }
.vv-tag   { font-family: var(--font-body); }

@media (max-width: 980px) {
  .concept-viz .viz-h { display: none !important; }
  .concept-viz .viz-v { display: block; width: 100%; max-width: 340px; height: auto; margin: 4px auto 0; }
}


.h-scroll-section {
  height: 500vh;
  position: relative;
  background: var(--noir);
}
.h-scroll-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--noir);
}
.h-scroll-rail {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}
.h-panel {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* Progression bar */
.h-progress {
  position: absolute;
  bottom: 30px; left: var(--pad-x); right: var(--pad-x);
  display: flex; align-items: center; gap: 20px;
  z-index: 50;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,245,240,0.6);
}
.h-progress.dark { color: rgba(0,0,0,0.55); }
.h-progress-bar {
  flex: 1; height: 1px;
  background: rgba(245,245,240,0.2);
  position: relative; overflow: hidden;
}
.h-progress.dark .h-progress-bar { background: rgba(0,0,0,0.15); }
.h-progress-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 0%; background: var(--indigo);
}
.h-progress-num b { color: var(--ivoire); font-weight: 500; }
.h-progress.dark .h-progress-num b { color: var(--noir); }

/* === PANEL 0 — INTRO === */
.panel-intro {
  background: var(--noir); color: var(--ivoire);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  padding: 0 var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.panel-intro-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.panel-intro-bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) brightness(0.45) saturate(1.1);
  transform: scale(1.08);
  transition: transform 12s linear;
}
.panel-intro:hover .panel-intro-bg img { transform: scale(1.14); }
.panel-intro-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(at 50% 50%, transparent 30%, rgba(0,0,0,0.7) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}
.panel-intro > *:not(.panel-intro-bg) { position: relative; z-index: 2; }
.panel-intro .code {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,245,240,0.5);
  position: absolute; top: 100px; left: var(--pad-x);
  text-align: left;
}
.panel-intro .code b { color: var(--ivoire); font-weight: 500; margin-left: 12px; }
.panel-intro h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 1300px;
}
.panel-intro h2 em { font-style: italic; color: var(--indigo); }
.panel-intro .swipe-cue {
  margin-top: 60px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,245,240,0.6);
  display: flex; align-items: center; gap: 14px;
}
.panel-intro .swipe-cue::after { content: "→"; font-size: 16px; }

/* === PANEL 1 — APPLICATION MOBILE === */
.panel-mobile {
  background: var(--ivoire);
  padding: 100px var(--pad-x) 50px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
}
.panel-mobile .panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 30px;
  align-items: center;
  margin-bottom: 0;
}
.panel-mobile .panel-num {
  font-size: clamp(60px, 8vw, 100px);
  line-height: 0.85;
  margin-right: 6px;
}
.panel-mobile .panel-title-block { padding-bottom: 0; }
.panel-mobile .panel-title-block h2 {
  font-size: clamp(28px, 3.4vw, 48px);
  margin-bottom: 6px;
  line-height: 0.95;
}
.panel-mobile .panel-title-block .desc {
  font-size: 13px;
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: 0;
}
.panel-mobile .panel-tags {
  margin: 0;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  white-space: nowrap;
}
.panel-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 50px;
}
.panel-num {
  font-family: var(--font-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(110px, 16vw, 220px);
  letter-spacing: -0.05em;
  color: var(--indigo);
  line-height: 0.85;
}
.panel-mobile .panel-num { color: var(--indigo); }
.panel-coach .panel-num { color: var(--ivoire); }
.panel-bo .panel-num { color: var(--noir); }
.panel-flow .panel-num { color: var(--rose); font-style: italic; }

.panel-title-block { padding-bottom: 30px; }
.panel-title-block h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.panel-title-block h2 em { font-style: italic; color: var(--indigo); }
.panel-coach .panel-title-block h2 { color: var(--ivoire); }
.panel-coach .panel-title-block h2 em { color: var(--ivoire); }
.panel-flow .panel-title-block h2 { color: var(--ivoire); }
.panel-flow .panel-title-block h2 em { color: var(--rose); }

.panel-title-block .desc {
  font-size: 16px; line-height: 1.5;
  max-width: 480px;
  color: rgba(0,0,0,0.78);
}
.panel-coach .panel-title-block .desc,
.panel-flow .panel-title-block .desc { color: rgba(245,245,240,0.78); }

.panel-tags {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 22px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.panel-tags li { display: flex; align-items: center; gap: 8px; }
.panel-tags .b1 { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); }
.panel-tags .b2 { background: var(--rose); }
/* On the indigo coach panel, the plain indigo bullet is invisible — use a light tone */
.panel-coach .panel-tags .b1:not(.b2) { background: rgba(245,245,240,0.75); }

.phones-gallery {
  display: flex;
  gap: clamp(12px, 1.6vw, 24px);
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
  perspective: 2200px;
  perspective-origin: 50% 50%;
}
.phone {
  height: 100%;
  max-height: 700px;
  width: auto;
  aspect-ratio: 9 / 19.5;
  background: var(--noir);
  border-radius: 30px;
  padding: 6px;
  box-shadow:
    0 30px 70px -20px rgba(0,0,0,0.30),
    0 12px 30px -10px rgba(0,0,0,0.18);
  position: relative;
  flex-shrink: 1;
  flex-basis: auto;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease-cinema), box-shadow 0.5s ease;
}
/* Subtle perspective fan effect — phones lean towards their natural reading order */
.phones-gallery .phone:nth-child(1) { transform: rotateY(7deg) translateZ(-30px); }
.phones-gallery .phone:nth-child(2) { transform: rotateY(3deg) translateY(-12px) translateZ(0); }
.phones-gallery .phone:nth-child(3) { transform: rotateY(-3deg) translateY(-12px) translateZ(0); }
.phones-gallery .phone:nth-child(4) { transform: rotateY(-7deg) translateZ(-30px); }
.phones-gallery .phone:hover {
  transform: rotateY(0) translateY(-22px) translateZ(20px) !important;
  box-shadow:
    0 50px 100px -20px rgba(0,0,0,0.40),
    0 30px 50px -10px rgba(59,59,249,0.18);
  z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--ivoire);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 16px;
  background: var(--noir);
  border-radius: 10px;
  z-index: 5;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px 4px;
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 500;
}
.phone-status .battery {
  width: 18px; height: 8px;
  border: 1px solid currentColor; border-radius: 2px; opacity: 0.7;
  position: relative;
}
.phone-status .battery::before {
  content: ""; position: absolute; left: 1px; top: 1px;
  width: 70%; height: calc(100% - 2px); background: currentColor;
}

/* Phone variants — same as v3 */
.p-ruben .phone-screen { background: #fff; }
.p-ruben .header { padding: 14px 18px 6px; display: flex; justify-content: space-between; align-items: center; }
.p-ruben .greeting-label { font-family: var(--font-mono); font-size: 9px; color: rgba(0,0,0,0.5); letter-spacing: 0.1em; }
.p-ruben .date-pill { font-family: var(--font-mono); font-size: 9px; color: rgba(0,0,0,0.5); }
.p-ruben .firstname {
  padding: 2px 18px 14px; font-family: var(--font-display);
  font-style: italic; font-weight: 800; font-size: 28px;
  letter-spacing: -0.02em; color: var(--indigo);
}
.p-ruben .timestamp-row { padding: 0 18px; display: flex; justify-content: flex-end; font-family: var(--font-mono); font-size: 10px; color: rgba(0,0,0,0.5); margin-bottom: 6px; }
.p-ruben .agenda-title { padding: 0 18px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: rgba(0,0,0,0.6); }
.p-ruben .agenda-count { font-family: var(--font-mono); font-size: 9px; color: rgba(0,0,0,0.4); }
.p-ruben .session-cards { padding: 10px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.p-ruben .session-card { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 10px; padding: 10px; font-size: 10px; }
.p-ruben .session-card .day { color: rgba(0,0,0,0.5); font-size: 9px; }
.p-ruben .session-card .pt { font-weight: 600; margin-top: 3px; font-size: 11px; }
.p-ruben .session-card .time { margin-top: 6px; font-size: 9px; color: rgba(0,0,0,0.5); font-family: var(--font-mono); }
.p-ruben .decouvrir-block { margin-top: auto; padding: 14px 18px 10px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(0,0,0,0.06); font-size: 11px; }
.p-ruben .decouvrir-block .more { font-family: var(--font-mono); font-size: 9px; color: rgba(0,0,0,0.5); }
.p-ruben .preview-img { margin: 0 14px 14px; height: 50px; background: linear-gradient(135deg, #ffd5d5, #ffb8d8 60%, #d8b8ff); border-radius: 8px; }

.p-boxing .phone-screen { background: #fff; }
.p-boxing .image-top { height: 35%; background: radial-gradient(at 30% 50%, #1a3a8a 0%, #0a1a4a 60%, transparent 80%), linear-gradient(135deg, #2a1a5a, #4a1a3a); position: relative; }
.p-boxing .image-top::after { content: "Boxing cardio"; position: absolute; bottom: 14px; left: 18px; font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 16px; letter-spacing: -0.01em; }
.p-boxing .meta-line { position: absolute; bottom: 14px; right: 18px; font-family: var(--font-mono); font-size: 9px; color: rgba(255,255,255,0.7); }
.p-boxing .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 14px 8px; }
.p-boxing .info-card { background: #f5f5f0; border-radius: 10px; padding: 10px 12px; }
.p-boxing .info-card .lbl { font-family: var(--font-mono); font-size: 8px; color: rgba(0,0,0,0.5); letter-spacing: 0.1em; }
.p-boxing .info-card .val { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-top: 2px; }
.p-boxing .info-card .sub { font-size: 9px; color: rgba(0,0,0,0.5); margin-top: 2px; }
.p-boxing .coach-row { margin: 6px 14px; background: #f5f5f0; border-radius: 10px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; }
.p-boxing .coach-info { display: flex; flex-direction: column; }
.p-boxing .coach-info .lbl { font-family: var(--font-mono); font-size: 8px; color: rgba(0,0,0,0.5); letter-spacing: 0.1em; }
.p-boxing .coach-info .name { font-family: var(--font-display); font-weight: 700; font-size: 13px; margin-top: 2px; }
.p-boxing .coach-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--rose)); }
.p-boxing .participants { margin: 6px 14px; font-family: var(--font-mono); font-size: 9px; color: rgba(0,0,0,0.6); display: flex; align-items: center; gap: 8px; margin-top: auto; padding-bottom: 14px; }
.p-boxing .avatars { display: flex; }
.p-boxing .avatars span { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #fff; margin-left: -4px; background: var(--indigo); }
.p-boxing .avatars span:nth-child(2) { background: var(--rose); }
.p-boxing .avatars span:nth-child(3) { background: var(--noir); }
.p-boxing .avatars span:nth-child(4) { background: #888; }

.p-cours .phone-screen { background: #fff; }
.p-cours .header { padding: 12px 14px 8px; display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-size: 9px; color: rgba(0,0,0,0.5); }
.p-cours .header b { color: var(--noir); font-weight: 600; font-family: var(--font-body); font-size: 11px; }
.p-cours .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px; }
.p-cours .cours-card { aspect-ratio: 3/4; border-radius: 10px; position: relative; overflow: hidden; background: radial-gradient(at 50% 30%, #4a1a8a 0%, #2a0a4a 70%); }
.p-cours .cours-card:nth-child(2) { background: radial-gradient(at 50% 30%, #6a2a3a 0%, #3a0a1a 70%); }
.p-cours .cours-card .label { position: absolute; bottom: 8px; left: 8px; font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 13px; letter-spacing: -0.01em; }
.p-cours .cours-card .label small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 8px; margin-top: 2px; opacity: 0.85; }
.p-cours .talents { margin-top: 14px; padding: 0 14px; font-family: var(--font-mono); font-size: 9px; color: rgba(0,0,0,0.5); display: flex; justify-content: space-between; }
.p-cours .talent-avatars { margin: 8px 14px 0; display: flex; margin-top: auto; margin-bottom: 14px; }
.p-cours .talent-avatars span { width: 30px; height: 30px; border-radius: 50%; margin-right: -6px; background: var(--indigo); border: 2px solid #fff; }
.p-cours .talent-avatars span:nth-child(2) { background: var(--rose); }
.p-cours .talent-avatars span:nth-child(3) { background: var(--noir); }
.p-cours .talent-avatars span:nth-child(4) { background: #c1b8a5; }

.p-chat .phone-screen { background: #fff; }
.p-chat .header { padding: 12px 14px 10px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(0,0,0,0.06); }
.p-chat .header .left { display: flex; align-items: center; gap: 6px; }
.p-chat .header .back { font-size: 12px; color: rgba(0,0,0,0.5); }
.p-chat .header .title { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 14px; letter-spacing: -0.02em; }
.p-chat .header .title .dot { color: var(--indigo); }
.p-chat .header .sub { font-size: 8px; color: rgba(0,0,0,0.5); font-family: var(--font-mono); }
.p-chat .day-sep { font-family: var(--font-mono); font-size: 8px; color: rgba(0,0,0,0.4); text-align: center; padding: 14px 0 6px; letter-spacing: 0.2em; }
.p-chat .messages { flex: 1; padding: 0 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.p-chat .msg { max-width: 80%; padding: 8px 11px; border-radius: 14px; font-size: 10px; line-height: 1.4; }
.p-chat .msg.in { align-self: flex-start; background: #f0f0eb; color: var(--noir); border-bottom-left-radius: 4px; }
.p-chat .msg.out { align-self: flex-end; background: var(--indigo); color: #fff; border-bottom-right-radius: 4px; }
.p-chat .input-area { padding: 8px 12px; border-top: 1px solid rgba(0,0,0,0.06); }
.p-chat .input-bar { display: flex; align-items: center; background: #f5f5f0; border-radius: 100px; padding: 6px 12px; font-size: 9px; color: rgba(0,0,0,0.4); font-family: var(--font-mono); }

/* === PANEL 2 — APPLICATION COACH === */
.panel-coach {
  background: var(--indigo); color: var(--ivoire);
  padding: 100px var(--pad-x) 50px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  gap: 20px;
}
.panel-coach::before {
  content: ""; position: absolute;
  bottom: -20%; right: -10%;
  width: 60%; height: 70%;
  background: radial-gradient(circle, rgba(233,30,140,0.35), transparent 60%);
  filter: blur(80px); pointer-events: none;
}
.panel-coach .panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 30px;
  align-items: center;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.panel-coach .panel-num {
  font-size: clamp(60px, 8vw, 100px);
  line-height: 0.85;
  color: var(--ivoire);
}
.panel-coach .panel-title-block { padding-bottom: 0; }
.panel-coach .panel-title-block h2 {
  font-size: clamp(28px, 3.4vw, 48px);
  margin-bottom: 6px;
  line-height: 0.95;
  color: var(--ivoire);
}
.panel-coach .panel-title-block h2 em { color: var(--ivoire); }
.panel-coach .panel-title-block .desc {
  font-size: 13px;
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: 0;
  color: rgba(245,245,240,0.78);
}
.panel-coach .panel-tags {
  margin: 0;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  white-space: nowrap;
  color: rgba(245,245,240,0.85);
}
.panel-coach .concept-viz {
  position: relative;
  z-index: 2;
}
.coach-phone .phone-screen { background: var(--ivoire); display: flex; flex-direction: column; }
.coach-phone .header { padding: 14px 18px 8px; display: flex; justify-content: space-between; align-items: center; }
.coach-phone .h-left { font-family: var(--font-mono); font-size: 9px; color: rgba(0,0,0,0.5); letter-spacing: 0.1em; }
.coach-phone .firstname { padding: 0 18px 14px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 26px; color: var(--indigo); letter-spacing: -0.02em; }
.coach-phone .logo-pill { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 14px; color: var(--indigo); letter-spacing: -0.03em; }
.coach-phone .bell { width: 26px; height: 26px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; position: relative; border: 1px solid rgba(0,0,0,0.08); }
.coach-phone .bell::after { content: "3"; position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; background: var(--rose); color: #fff; border-radius: 50%; font-family: var(--font-body); font-size: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.coach-phone .month-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 18px 8px; }
.coach-phone .month-bar .label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0,0,0,0.6); }
.coach-phone .month-bar .arr { width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; font-size: 11px; color: rgba(0,0,0,0.5); }
.coach-phone .week-row { padding: 6px 14px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.coach-phone .week-row .day { font-family: var(--font-mono); font-size: 9px; padding: 6px 0; border-radius: 8px; }
.coach-phone .week-row .day .lbl { font-size: 7px; color: rgba(0,0,0,0.4); letter-spacing: 0.1em; text-transform: uppercase; }
.coach-phone .week-row .day .num { font-size: 12px; font-weight: 600; margin-top: 2px; color: var(--noir); }
.coach-phone .week-row .day.active { background: var(--indigo); color: #fff; }
.coach-phone .week-row .day.active .lbl,
.coach-phone .week-row .day.active .num { color: #fff; }
.coach-phone .week-row .day .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--rose); margin: 2px auto 0; }
.coach-phone .stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 10px 14px; }
.coach-phone .stat-box { background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 10px; padding: 8px 0; text-align: center; }
.coach-phone .stat-box .n { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.coach-phone .stat-box .l { font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(0,0,0,0.5); margin-top: 2px; }
.coach-phone .stat-box.green .n { color: #2a9d4f; }
.coach-phone .next-session { margin: 8px 14px; background: var(--indigo); color: #fff; border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; }
.coach-phone .next-session .icon { width: 28px; height: 28px; background: rgba(255,255,255,0.18); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-right: 10px; flex-shrink: 0; }
.coach-phone .next-session .lab { font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; }
.coach-phone .next-session .nm { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 13px; }
.coach-phone .next-session .tm { margin-left: auto; text-align: right; }
.coach-phone .next-session .tm .v { font-weight: 700; font-size: 14px; }
.coach-phone .next-session .tm .s { font-size: 8px; opacity: 0.7; }

.coach-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px 36px;
  margin-top: 50px; padding-top: 30px;
  border-top: 1px solid rgba(245,245,240,0.2);
}
.coach-kpi { border-bottom: 1px solid rgba(245,245,240,0.15); padding-bottom: 18px; }
.coach-kpi .v { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(40px, 5vw, 70px); letter-spacing: -0.03em; line-height: 1; }
.coach-kpi .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245,245,240,0.7); margin-top: 12px; }

/* === PANEL 3 — BACK-OFFICE === */
.panel-bo {
  background: var(--ivoire);
  padding: 100px var(--pad-x) 50px;
  display: flex; flex-direction: column;
  gap: 20px;
}
.panel-bo .panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 30px;
  align-items: center;
  margin-bottom: 0;
}
.panel-bo .panel-num {
  font-size: clamp(60px, 8vw, 100px);
  line-height: 0.85;
  margin-right: 6px;
}
.panel-bo .panel-title-block { padding-bottom: 0; }
.panel-bo .panel-title-block h2 {
  font-size: clamp(28px, 3.4vw, 48px);
  margin-bottom: 6px;
  line-height: 0.95;
}
.panel-bo .panel-title-block .desc {
  font-size: 13px;
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: 0;
}
.panel-bo .panel-tags {
  margin: 0;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  white-space: nowrap;
}
.panel-bo .module-code { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(0,0,0,0.45); display: block; margin-bottom: 8px; }
.panel-bo .module-code b { margin-left: 16px; color: var(--noir); font-weight: 500; }
.panel-bo .panel-title-block h2 em { color: var(--indigo); }

.browser-mockup {
  background: var(--ivoire-2);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.25), 0 20px 40px -10px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.05);
  flex: 1;
  display: flex; flex-direction: column;
  min-height: 0; /* allow flex shrink */
}
.browser-bar {
  display: flex; align-items: center; gap: 14px;
  background: var(--ivoire-3);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px; color: rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--gris-line);
  flex-shrink: 0;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(0,0,0,0.18); }
.browser-url { flex: 1; background: rgba(0,0,0,0.04); padding: 5px 12px; border-radius: 4px; font-size: 11px; }
.browser-body { display: grid; grid-template-columns: 240px 1fr; flex: 1; background: #fff; min-height: 0; }
.browser-sidebar { background: var(--ivoire); padding: 22px 18px; border-right: 1px solid var(--gris-line); overflow: hidden; }
.browser-sidebar .brand { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 22px; color: var(--indigo); letter-spacing: -0.04em; margin-bottom: 28px; }
.browser-sidebar li { padding: 10px 12px; margin-bottom: 4px; border-radius: 6px; font-size: 13px; color: rgba(0,0,0,0.65); display: flex; align-items: center; gap: 10px; cursor: none; transition: background 0.2s; }
.browser-sidebar li:hover { background: rgba(0,0,0,0.04); }
.browser-sidebar li.active { background: var(--noir); color: var(--ivoire); }
.browser-sidebar li::before { content: ""; width: 14px; height: 14px; background: currentColor; opacity: 0.5; border-radius: 3px; flex-shrink: 0; }
.browser-content { padding: clamp(24px, 4vh, 48px); display: flex; flex-direction: column; }
.browser-content h3 { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; margin-bottom: 8px; }
.browser-content .sub { font-size: 14px; color: rgba(0,0,0,0.6); margin-bottom: clamp(20px, 3vh, 36px); }
.browser-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: clamp(20px, 3vh, 36px);
}
.browser-action { padding: 18px 20px; border: 1px solid var(--gris-line); border-radius: 10px; font-size: 13px; display: flex; justify-content: space-between; align-items: center; cursor: none; transition: all 0.3s; }
.browser-action:hover { border-color: var(--indigo); background: rgba(59,59,249,0.04); }
.browser-action b { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.browser-action .arr { color: rgba(0,0,0,0.4); font-size: 14px; transition: transform 0.3s; }
.browser-action:hover .arr { transform: translateX(4px); color: var(--indigo); }
.browser-action.primary { background: var(--noir); color: var(--ivoire); border-color: var(--noir); }
.browser-action.primary .arr { color: var(--ivoire); }
.browser-action.primary:hover { background: var(--indigo); border-color: var(--indigo); }
.browser-action.primary:hover .arr { color: var(--ivoire); }

/* New: live KPI strip at bottom of browser */
.browser-live-strip {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--gris-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.live-kpi .l {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}
.live-kpi .v {
  font-family: var(--font-display);
  font-weight: 800; font-style: italic;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.02em;
  margin-top: 4px;
  display: flex; align-items: baseline; gap: 6px;
}
.live-kpi .v .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose);
  animation: pulse 1.6s ease infinite;
  flex-shrink: 0;
}
.live-kpi .v .delta { font-family: var(--font-mono); font-size: 10px; font-style: normal; color: #2a9d4f; font-weight: 600; }

/* === PANEL 4 — TOUT EST CONNECTÉ === */
.panel-flow {
  background: var(--noir); color: var(--ivoire);
  padding: 100px var(--pad-x) 60px;
  position: relative;
  display: flex; flex-direction: column;
  gap: 30px;
}
.panel-flow .panel-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 30px;
  align-items: center;
  margin-bottom: 0;
}
.panel-flow .panel-num {
  font-size: clamp(60px, 8vw, 100px);
  line-height: 0.85;
}
.panel-flow .panel-title-block { padding-bottom: 0; }
.panel-flow .panel-title-block h2 {
  font-size: clamp(28px, 3.4vw, 48px);
  margin-bottom: 6px;
  line-height: 0.95;
}
.panel-flow .panel-title-block .desc {
  font-size: 13px;
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: 0;
}
.flow-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; margin-bottom: 40px; }
.flow-actor .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: rgba(245,245,240,0.5); margin-bottom: 12px; }
.flow-actor .name { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.02em; }
.flow-actor:nth-child(1) .name { color: var(--indigo); }
.flow-actor:nth-child(2) .name { color: var(--ivoire); }
.flow-actor:nth-child(3) .name { color: var(--rose); }
.flow-actor .verb { font-family: var(--font-display); font-style: italic; font-size: 16px; color: rgba(245,245,240,0.6); margin-top: 6px; }
.flow-svg { width: 100%; max-width: 1100px; margin: 0 auto; display: block; }
.flow-line { stroke: rgba(245,245,240,0.25); stroke-width: 1; stroke-dasharray: 4 6; fill: none; }
.flow-node { fill: transparent; stroke: rgba(245,245,240,0.4); stroke-width: 1; }
.flow-node.indigo { stroke: var(--indigo); }
.flow-node.rose { stroke: var(--rose); }
.flow-core { fill: var(--ivoire); }
.flow-core.indigo { fill: var(--indigo); }
.flow-core.rose { fill: var(--rose); }
.flow-particle { fill: var(--indigo); filter: drop-shadow(0 0 8px var(--indigo)); }
.flow-particle.r { fill: var(--rose); filter: drop-shadow(0 0 8px var(--rose)); }
.flow-particle.travel-1 { animation: flowTravel1 4s ease-in-out infinite; offset-path: path('M 100 220 Q 350 80 600 220'); }
.flow-particle.travel-2 { animation: flowTravel2 4s ease-in-out infinite; animation-delay: 2s; offset-path: path('M 600 220 Q 850 80 1100 220'); }
@keyframes flowTravel1 {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; } 90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes flowTravel2 {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; } 90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

@media (max-width: 980px) {
  .h-scroll-section { height: auto; }
  .h-scroll-stage { position: static; height: auto; overflow: visible; }
  .h-scroll-rail { flex-direction: column; width: 100%; transform: none !important; }
  .h-panel { width: 100%; height: auto; min-height: auto; }
  .h-progress { display: none; }
  .phones-gallery {
    display: flex !important;
    flex-direction: row;
    grid-template-columns: none;
    gap: 14px;
    height: auto;
    align-items: stretch;
    margin: 24px 0 4px;
    max-width: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
  .phone, .phones-gallery .phone {
    flex: 0 0 76%;
    width: auto !important;
    max-width: 300px;
    height: auto !important;
    max-height: none !important;
    transform: none !important;
    scroll-snap-align: center;
    margin: 0;
  }
  .panel-coach-content { grid-template-columns: 1fr !important; gap: 30px; height: auto; }
  .coach-phone-wrap { height: auto; }
  .coach-phone {
    width: 240px !important;
    height: auto !important;
    transform: rotateY(0) !important;
    margin: 0 auto;
  }
  .coach-stats-grid { margin-top: 30px; }
  .browser-mockup { max-height: none; }
  .browser-body { grid-template-columns: 1fr; }
  .browser-sidebar { display: none; }
  .browser-content { padding: 24px; }
  .browser-actions { grid-template-columns: 1fr; }
  .browser-live-strip { grid-template-columns: 1fr 1fr; gap: 16px; }
  .panel-head {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    text-align: left !important;
  }
  .panel-tags { text-align: left !important; flex-direction: row !important; flex-wrap: wrap; }
  .panel-num { font-size: clamp(60px, 14vw, 100px) !important; }
  .panel-mobile, .panel-coach, .panel-bo, .panel-flow {
    padding: 70px var(--pad-x) 50px !important;
  }
  .flow-row { grid-template-columns: 1fr; gap: 20px; text-align: center; }
}

/* ============================================================
   ⭐ 9. SHOWROOM 3D
   ============================================================ */
.showroom-section {
  height: 500vh;
  position: relative;
  background: var(--ivoire);
}
.showroom-stage {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  background:
    radial-gradient(at 20% 20%, rgba(59,59,249,0.15), transparent 50%),
    radial-gradient(at 80% 80%, rgba(233,30,140,0.15), transparent 50%),
    var(--ivoire);
  overflow: hidden;
  perspective: 2000px;
}
.showroom-tag { position: absolute; top: 30px; left: var(--pad-x); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(0,0,0,0.5); z-index: 5; }
.showroom-tag b { color: var(--noir); font-weight: 500; margin-left: 14px; }
.showroom-progress { position: absolute; bottom: 30px; left: var(--pad-x); right: var(--pad-x); display: flex; align-items: center; gap: 20px; z-index: 5; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(0,0,0,0.55); }
.showroom-progress-bar { flex: 1; height: 1px; background: rgba(0,0,0,0.15); position: relative; }
.showroom-progress-fill { position: absolute; top: 0; left: 0; bottom: 0; width: 0%; background: var(--rose); }
.showroom-text { padding: 0 60px; position: relative; z-index: 3; }
.showroom-text-left { text-align: right; padding-left: var(--pad-x); }
.showroom-text-right { text-align: left; padding-right: var(--pad-x); }
.sr-stage-text {
  position: absolute;
  top: 50%; transform: translateY(-50%) translateX(0);
  width: calc(100% - var(--pad-x) - 60px);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.7s var(--ease-cinema);
}
.showroom-text-left .sr-stage-text { transform: translateY(-50%) translateX(-30px); }
.showroom-text-right .sr-stage-text { transform: translateY(-50%) translateX(30px); }
.sr-stage-text.active {
  opacity: 1;
  transform: translateY(-50%) translateX(0) !important;
}
.sr-stage-text .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(0,0,0,0.5); margin-bottom: 16px; display: block; }
.sr-stage-text .lbl b { color: var(--rose); font-weight: 500; }
.sr-stage-text h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4.5vw, 68px); line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 18px; }
.sr-stage-text h3 em { font-style: italic; color: var(--indigo); }
.sr-stage-text h3 em.r { color: var(--rose); }
.sr-stage-text p { font-size: 15px; line-height: 1.5; color: rgba(0,0,0,0.75); }

.showroom-phone-wrap { display: flex; align-items: center; justify-content: center; position: relative; perspective: 2000px; }
.showroom-phone {
  width: min(340px, 36vh); aspect-ratio: 788/1710;
  background: transparent;
  border-radius: 0;
  padding: 0;
  filter:
    drop-shadow(0 40px 64px rgba(59,59,249,0.22))
    drop-shadow(0 22px 40px rgba(0,0,0,0.22));
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(0deg) rotateX(0deg);
  transition: transform 0.05s linear;
  will-change: transform;
  cursor: pointer;
}
.sr-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 40px;
  display: block;
  pointer-events: none;
  user-select: none;
}
.showroom-phone .phone-screen { background: #fff; border-radius: 36px; position: relative; height: 100%; overflow: hidden; }
.showroom-phone .phone-notch {
  width: 100px; height: 28px; top: 10px;
  background: #000;
  border-radius: 100px;
  z-index: 20;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.showroom-phone .phone-notch::after {
  content: ""; position: absolute;
  right: 8px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: #1a1a2e;
  box-shadow: inset 0 0 0 1.5px #2a2a4a, 0 0 4px rgba(60,60,120,0.6);
}
.sr-screen {
  position: absolute; inset: 0; border-radius: 0;
  opacity: 0; transition: opacity 0.6s ease;
  display: block;
  background: transparent; overflow: visible;
}
.sr-screen.active { opacity: 1; z-index: 2; }
.sr-scroll {
  flex: 1; min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sr-scroll::-webkit-scrollbar { display: none; }
.sr-fixed-top { padding-top: 50px; flex-shrink: 0; }
.sr-fixed-bottom { flex-shrink: 0; }

/* ============================================================
   SR-1 : ÉCRAN ACCUEIL (Image 3 — Ruben)
   ============================================================ */
.sr-1 .top-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 18px 14px;
}
.sr-1 .top-bar .av-rk {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--indigo); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 11px;
  letter-spacing: 0.05em;
}
.sr-1 .top-bar .logo {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  color: var(--indigo); font-size: 18px; letter-spacing: -0.03em;
}
.sr-1 .top-bar .bell {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.sr-1 .top-bar .bell svg { width: 19px; height: 19px; }
.sr-1 .top-bar .bell::after {
  content: ""; position: absolute; top: 4px; right: 4px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff3b30;
  border: 1.5px solid #fff;
}
.sr-1 .greet {
  padding: 16px 20px 22px;
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sr-1 .greet .left .lbl {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,0,0,0.5); display: block;
}
.sr-1 .greet .left .name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 42px; letter-spacing: -0.03em;
  color: var(--indigo); line-height: 1;
  margin-top: 4px;
}
.sr-1 .greet .right {
  text-align: right; display: flex; flex-direction: column; gap: 2px;
}
.sr-1 .greet .right .date {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}
.sr-1 .greet .right .weather {
  font-size: 10px; color: rgba(0,0,0,0.45);
}
.sr-1 .greet .right .time {
  font-family: var(--font-display); font-weight: 300;
  font-size: 28px; letter-spacing: -0.02em;
  color: rgba(0,0,0,0.25); line-height: 1;
  margin-top: 2px;
}
.sr-1 .section-head {
  padding: 18px 20px 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.sr-1 .section-head h3 {
  font-family: var(--font-body); font-weight: 600;
  font-size: 14px; color: var(--noir);
}
.sr-1 .section-head .meta {
  font-family: var(--font-body); font-size: 11px;
  color: rgba(0,0,0,0.45);
}
.sr-1 .agenda-cards {
  padding: 0 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.sr-1 .agenda-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 12px 12px 14px;
  position: relative;
  min-height: 92px;
}
.sr-1 .agenda-card .day {
  font-size: 10px; color: rgba(0,0,0,0.45);
  display: flex; align-items: baseline; gap: 4px;
}
.sr-1 .agenda-card .day b {
  font-family: var(--font-display); font-weight: 700;
  color: var(--noir); font-size: 14px; letter-spacing: -0.01em;
}
.sr-1 .agenda-card .title {
  margin-top: 8px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 11px; letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--noir);
  line-height: 1.2;
}
.sr-1 .agenda-card .time {
  margin-top: 6px;
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-body); font-size: 10px;
  color: rgba(0,0,0,0.5);
}
.sr-1 .agenda-card .time::before {
  content: "🕐"; font-size: 9px;
}
.sr-1 .agenda-card .av-mini {
  position: absolute; top: 12px; right: 12px;
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--rose));
  border: 1.5px solid #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.sr-1 .discover {
  padding: 0 16px 14px;
  display: flex; gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sr-1 .discover::-webkit-scrollbar { display: none; }
.sr-1 .discover .img {
  flex-shrink: 0;
  width: 165px; height: 195px;
  border-radius: 14px;
  position: relative; overflow: hidden;
}
.sr-1 .discover .img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
}
.sr-1 .discover .img-1 {
  background:
    radial-gradient(at 50% 70%, rgba(255,200,210,0.6), transparent 60%),
    linear-gradient(160deg, #f5d5dc, #e8a8b8 50%, #c87890 100%);
}
.sr-1 .discover .img-2 {
  background:
    radial-gradient(at 30% 50%, rgba(220,180,200,0.5), transparent 60%),
    linear-gradient(160deg, #e8c8d0, #d8a8b8 50%, #b88898 100%);
}
.sr-1 .discover .img .lbl {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  z-index: 2;
  font-family: var(--font-display); font-weight: 700;
  color: #fff; font-size: 16px; letter-spacing: -0.01em;
  line-height: 1.1;
}
.sr-1 .tabbar {
  padding: 12px 28px 22px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}
.sr-1 .tabbar .tab {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  color: rgba(0,0,0,0.4);
}
.sr-1 .tabbar .tab svg { width: 22px; height: 22px; }
.sr-1 .tabbar .tab.active { color: var(--indigo); }
.sr-1 .tabbar .tab.active::after {
  content: ""; position: absolute;
  bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--indigo);
}

/* ============================================================
   SR-2 : DÉTAIL COURS (Image 4 — Boxing Cardio)
   ============================================================ */
.sr-2 .hero {
  position: relative;
  height: 350px;
  flex-shrink: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(80,90,180,0.4), transparent 60%),
    radial-gradient(ellipse at 30% 70%, rgba(40,30,80,0.5), transparent 60%),
    linear-gradient(160deg, #1a1530 0%, #0d0a1f 50%, #1a0d1a 100%);
  overflow: hidden;
}
.sr-2 .hero::before {
  /* Stylized silhouette suggestion */
  content: ""; position: absolute;
  top: 18%; left: 15%; right: 15%; bottom: 22%;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(70,90,200,0.35) 0%, transparent 55%);
  filter: blur(8px);
}
.sr-2 .hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.5));
  pointer-events: none;
}
.sr-2 .hero .back-btn {
  position: absolute; top: 56px; left: 18px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1;
  z-index: 5;
}
.sr-2 .hero .hero-bottom {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  z-index: 3;
}
.sr-2 .hero .hero-bottom h2 {
  font-family: var(--font-body); font-weight: 700;
  color: #fff; font-size: 24px; letter-spacing: -0.01em;
  text-transform: uppercase; line-height: 1;
}
.sr-2 .hero .hero-bottom .meta {
  margin-top: 10px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: rgba(255,255,255,0.85);
}
.sr-2 .hero .hero-bottom .meta .sep { opacity: 0.4; }
.sr-2 .info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 14px 14px 0;
}
.sr-2 .info-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 14px 16px 16px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.sr-2 .info-card .lbl {
  font-family: var(--font-body); font-size: 10px;
  color: rgba(0,0,0,0.45); display: block; margin-bottom: 4px;
}
.sr-2 .info-card .val {
  font-family: var(--font-body); font-weight: 600;
  font-size: 18px; letter-spacing: -0.01em;
  color: var(--noir); display: block;
}
.sr-2 .info-card .sub {
  font-size: 10px; color: rgba(0,0,0,0.45);
  margin-top: 4px; display: block;
}
.sr-2 .coach-row {
  margin: 14px 14px 0;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 14px 4px 14px;
  display: flex; align-items: center;
}
.sr-2 .coach-row .info { flex: 1; }
.sr-2 .coach-row .info .lbl {
  font-size: 10px; color: rgba(0,0,0,0.45); display: block;
}
.sr-2 .coach-row .info .name {
  font-family: var(--font-body); font-weight: 600;
  font-size: 16px; letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 2px; display: block;
}
.sr-2 .coach-row .av {
  width: 32px; height: 32px; border-radius: 50%;
  background:
    radial-gradient(at 30% 30%, #b8d8e8, #6890b8 60%),
    linear-gradient(135deg, var(--indigo), var(--rose));
  margin-right: 10px;
}
.sr-2 .coach-row .chev { color: rgba(0,0,0,0.3); font-size: 14px; }
.sr-2 .participants {
  margin: 0 14px;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 14px 4px 12px;
}
.sr-2 .participants .lbl {
  font-size: 10px; color: rgba(0,0,0,0.45);
  display: block; margin-bottom: 6px;
}
.sr-2 .participants .row {
  display: flex; align-items: center; justify-content: space-between;
}
.sr-2 .participants .row .count {
  font-family: var(--font-body); font-weight: 600;
  font-size: 15px; color: var(--noir);
}
.sr-2 .participants .row .count .rem {
  font-weight: 400;
  color: rgba(0,0,0,0.45); font-size: 12px;
  margin-left: 4px;
}
.sr-2 .participants .row .avs { display: flex; align-items: center; }
.sr-2 .participants .row .avs span {
  width: 26px; height: 26px; border-radius: 50%;
  margin-left: -7px;
  border: 2px solid #fff;
  background: linear-gradient(135deg, #c8b8a0, #888070);
}
.sr-2 .participants .row .avs span:nth-child(1) {
  background: linear-gradient(135deg, #b8d0e8, #688ab0);
}
.sr-2 .participants .row .avs span:nth-child(2) {
  background: linear-gradient(135deg, #d0c0b0, #908070);
}
.sr-2 .participants .row .avs span:nth-child(3) {
  background: linear-gradient(135deg, #c8c0d0, #7868a0);
}
.sr-2 .participants .row .avs .more {
  background: rgba(0,0,0,0.35);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 600;
}
.sr-2 .participants .row .chev { color: rgba(0,0,0,0.3); font-size: 14px; margin-left: 6px; }
.sr-2 .vous-row {
  margin: 0 14px;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 14px 4px;
  display: flex; align-items: center; gap: 12px;
}
.sr-2 .vous-row .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--indigo); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px;
}
.sr-2 .vous-row .name {
  flex: 1;
  font-family: var(--font-body); font-weight: 500;
  font-size: 14px; color: var(--noir);
}
.sr-2 .vous-row .pill {
  background: rgba(59,59,249,0.08);
  color: var(--indigo);
  border: 1px solid rgba(59,59,249,0.18);
  border-radius: 100px;
  padding: 5px 12px;
  font-family: var(--font-body); font-weight: 500;
  font-size: 11px;
  display: flex; align-items: center; gap: 4px;
}
.sr-2 .part-row {
  margin: 0 14px;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 12px 4px;
  display: flex; align-items: center; gap: 12px;
}
.sr-2 .part-row .av-mini {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #b8c0d0, #688ab0);
}
.sr-2 .part-row:nth-of-type(2) .av-mini {
  background: linear-gradient(135deg, #888070, #4a4030);
}
.sr-2 .part-row .name {
  font-family: var(--font-body); font-weight: 500;
  font-size: 14px; color: var(--noir);
}

/* ============================================================
   SR-3 : PLANNING (Image 2)
   ============================================================ */
.sr-3 .top-bar {
  padding: 6px 14px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.sr-3 .top-bar .badges {
  background: #f3f3ee;
  border-radius: 100px;
  padding: 6px 12px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  color: var(--noir);
}
.sr-3 .top-bar .badges .b {
  display: flex; align-items: center; gap: 4px;
}
.sr-3 .top-bar .badges .b .d {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--indigo);
}
.sr-3 .top-bar .badges .b.rose .d { background: var(--rose); }
.sr-3 .top-bar .logo {
  text-align: center;
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  color: var(--indigo); font-size: 18px; letter-spacing: -0.03em;
  line-height: 1;
}
.sr-3 .top-bar .logo .sub {
  display: block;
  font-family: var(--font-body); font-style: normal;
  font-weight: 500; font-size: 8px;
  letter-spacing: 0.3em;
  color: rgba(0,0,0,0.5);
  margin-top: 2px;
}
.sr-3 .top-bar .filtres {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  padding: 6px 12px;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-size: 11px;
  color: var(--noir);
}
.sr-3 .month-row {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.sr-3 .month-row .arr {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(0,0,0,0.5); font-size: 14px;
}
.sr-3 .month-row .month {
  font-family: var(--font-body); font-weight: 500;
  font-size: 14px; color: var(--noir);
}
.sr-3 .days-strip {
  padding: 0 14px 8px;
  display: flex; gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sr-3 .days-strip::-webkit-scrollbar { display: none; }
.sr-3 .days-strip .day {
  flex-shrink: 0;
  min-width: 44px;
  padding: 8px 4px 8px;
  border-radius: 12px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.sr-3 .days-strip .day .lbl {
  font-family: var(--font-body); font-size: 10px;
  color: rgba(0,0,0,0.5);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.sr-3 .days-strip .day .num {
  font-family: var(--font-body); font-weight: 600;
  font-size: 18px; color: var(--noir); line-height: 1;
  margin-top: 2px;
}
.sr-3 .days-strip .day .sub {
  font-size: 9px; color: rgba(0,0,0,0.4);
  margin-top: 1px;
}
.sr-3 .days-strip .day.active {
  background: var(--indigo);
}
.sr-3 .days-strip .day.active .lbl,
.sr-3 .days-strip .day.active .num,
.sr-3 .days-strip .day.active .sub {
  color: #fff;
}
.sr-3 .days-strip .day.active .lbl,
.sr-3 .days-strip .day.active .sub {
  opacity: 0.85;
}
.sr-3 .filter-pills {
  padding: 8px 14px 12px;
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sr-3 .filter-pills::-webkit-scrollbar { display: none; }
.sr-3 .filter-pills .pill {
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 100px;
  padding: 7px 16px;
  font-family: var(--font-body); font-size: 12px;
  color: rgba(0,0,0,0.65);
  background: #fff;
}
.sr-3 .filter-pills .pill.active {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
}
.sr-3 .day-head {
  padding: 8px 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 18px;
}
.sr-3 .day-head h3 {
  font-family: var(--font-body); font-weight: 600;
  font-size: 18px; letter-spacing: -0.01em;
  color: var(--noir);
}
.sr-3 .day-head .count {
  font-family: var(--font-body); font-size: 12px;
  color: rgba(0,0,0,0.45);
}
.sr-3 .period {
  padding: 16px 18px 8px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin: 0 18px;
  padding-left: 0; padding-right: 0;
}
.sr-3 .class-row {
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 60px 4px 1fr;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sr-3 .class-row .time {
  display: flex; flex-direction: column; gap: 2px;
}
.sr-3 .class-row .time .start {
  font-family: var(--font-body); font-weight: 500;
  font-size: 14px; color: var(--noir);
}
.sr-3 .class-row .time .end {
  font-size: 11px; color: rgba(0,0,0,0.4);
}
.sr-3 .class-row .bar {
  width: 3px; border-radius: 2px;
  background: var(--indigo);
}
.sr-3 .class-row.intense .bar { background: var(--rose); }
.sr-3 .class-row.complet .bar { background: rgba(0,0,0,0.2); }
.sr-3 .class-row .info {
  min-width: 0;
}
.sr-3 .class-row .head-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.sr-3 .class-row .head-row .title {
  font-family: var(--font-body); font-weight: 600;
  font-size: 14px; letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--noir);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
.sr-3 .class-row .badge {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-body); font-size: 10px;
  font-weight: 500;
}
.sr-3 .class-row .badge.zen {
  background: rgba(59,59,249,0.08);
  color: var(--indigo);
}
.sr-3 .class-row .badge.zen::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--indigo);
}
.sr-3 .class-row .badge.intense {
  background: rgba(233,30,140,0.08);
  color: var(--rose);
}
.sr-3 .class-row .badge.intense::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--rose);
}
.sr-3 .class-row .badge.complet {
  background: #fff4e8;
  color: #d97706;
  font-weight: 600;
}
.sr-3 .class-row .coach-line {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.sr-3 .class-row .coach-line .av {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #b8c0d8, #6890b0);
}
.sr-3 .class-row .coach-line .name {
  font-family: var(--font-body); font-size: 12px;
  color: var(--noir);
  text-transform: uppercase; letter-spacing: 0.02em;
}
.sr-3 .class-row .coach-line .chev {
  color: rgba(0,0,0,0.3); font-size: 12px;
}
.sr-3 .class-row .bottom-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.sr-3 .class-row .progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(0,0,0,0.08);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
}
.sr-3 .class-row .progress-bar::after {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 35%;
  background: var(--indigo);
}
.sr-3 .class-row.intense .progress-bar::after {
  background: var(--rose);
  width: 70%;
}
.sr-3 .class-row .warn {
  font-family: var(--font-body); font-size: 11px;
  color: #d97706; font-weight: 500;
}
.sr-3 .class-row .cta {
  font-family: var(--font-body); font-size: 12px;
  color: var(--indigo); font-weight: 500;
  white-space: nowrap;
}

/* ============================================================
   SR-4 : MESSAGERIE (Image 1 — Jayne Passy)
   ============================================================ */
.sr-4 .chat-header {
  padding: 6px 16px 16px;
  display: flex; align-items: flex-start; gap: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sr-4 .chat-header .back {
  width: 36px; height: 36px; border-radius: 50%;
  background: #f3f3ee;
  display: flex; align-items: center; justify-content: center;
  color: var(--noir); font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.sr-4 .chat-header .title-block {
  flex: 1; min-width: 0;
}
.sr-4 .chat-header .title-block .lbl {
  font-family: var(--font-body); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  display: block;
}
.sr-4 .chat-header .title-block h2 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 22px; letter-spacing: -0.01em;
  color: var(--noir); line-height: 1.1;
  margin-top: 2px;
}
.sr-4 .chat-header .title-block .sub {
  font-family: var(--font-body); font-size: 11px;
  color: rgba(0,0,0,0.5);
  margin-top: 4px; display: block;
}
.sr-4 .chat-header .av-j {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--indigo); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  flex-shrink: 0;
}
.sr-4 .respond {
  font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  text-align: center;
  padding: 18px 0 8px;
}
.sr-4 .day-sep {
  font-family: var(--font-body); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  text-align: center;
  padding: 4px 0 14px;
}
.sr-4 .msgs {
  padding: 0 14px 8px;
  display: flex; flex-direction: column; gap: 14px;
}
.sr-4 .msg {
  display: flex; flex-direction: column;
  max-width: 78%;
}
.sr-4 .msg.out { align-self: flex-end; align-items: flex-end; }
.sr-4 .msg.in  { align-self: flex-start; align-items: flex-start; }
.sr-4 .msg .bub {
  padding: 12px 16px;
  border-radius: 22px;
  font-family: var(--font-body); font-size: 13px;
  line-height: 1.4;
}
.sr-4 .msg.out .bub {
  background: #2b6df0;
  color: #fff;
  border-bottom-right-radius: 6px;
}
.sr-4 .msg.in .bub {
  background: #fff;
  color: var(--noir);
  border: 1px solid rgba(0,0,0,0.05);
  border-bottom-left-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.sr-4 .msg .ts {
  font-family: var(--font-body); font-size: 10px;
  color: rgba(0,0,0,0.4);
  margin-top: 6px;
  display: flex; align-items: center; gap: 4px;
}
.sr-4 .msg.out .ts {
  color: #2b6df0;
}
.sr-4 .msg.out .ts::before {
  content: "✓✓"; font-size: 10px; letter-spacing: -2px;
}
.sr-4 .input-bar {
  padding: 10px 14px 22px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; gap: 10px;
  background: #fff;
}
.sr-4 .input-bar .field {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 100px;
  padding: 11px 18px;
  font-family: var(--font-body); font-size: 12px;
  color: rgba(0,0,0,0.4);
}
.sr-4 .input-bar .send {
  width: 36px; height: 36px; border-radius: 50%;
  background: #f3f3ee;
  display: flex; align-items: center; justify-content: center;
  color: rgba(0,0,0,0.45);
  font-size: 14px;
  flex-shrink: 0;
}
.sr-4 .chat-bg {
  background: #f5f5f0;
}

@media (max-width: 980px) {
  .showroom-section { height: auto; }
  .showroom-stage { position: relative; top: auto; height: auto; display: flex; flex-direction: column; align-items: center; gap: 22px; grid-template-columns: none; padding: 72px var(--pad-x); }
  .showroom-tag { position: relative; top: auto; left: auto; order: 0; width: 100%; text-align: center; padding-bottom: 4px; }
  .showroom-phone-wrap { order: 1; }
  .showroom-phone { width: min(248px, 64vw); transform: none !important; cursor: default;
    filter: drop-shadow(0 22px 34px rgba(59,59,249,0.20)) drop-shadow(0 10px 18px rgba(0,0,0,0.18)); }
  .showroom-text { display: contents; }
  .sr-stage-text { display: none; position: relative; top: auto; left: auto; transform: none !important; opacity: 1; width: 100%; max-width: 460px; margin: 0 auto; text-align: center; order: 2; }
  .sr-stage-text.active { display: block; transform: none !important; }
  .sr-stage-text h3 { font-size: clamp(28px, 7vw, 38px) !important; }
  .sr-stage-text p { margin: 8px auto 0; font-size: 14px; }
  .sr-mnav { display: flex; order: 3; align-items: center; justify-content: center; gap: 20px; width: 100%; margin-top: 4px; }
  .showroom-progress { position: relative; bottom: auto; left: auto; right: auto; order: 4; width: 100%; max-width: 460px; padding-bottom: 0; margin-top: 4px; }
}

@media (max-width: 760px) {
  .panel-mobile, .panel-coach, .panel-bo, .panel-flow { padding: 64px var(--pad-x) 48px !important; }
  .panel-title-block h2 { font-size: clamp(30px, 8.5vw, 46px) !important; line-height: 0.98 !important; }
  .panel-title-block .desc { font-size: 15px !important; line-height: 1.62 !important; }
  .panel-tags { font-size: 10px !important; gap: 14px !important; }
  .concept-viz { width: 100%; max-width: 440px; margin: 16px auto 0; }
  .coach-phone { width: min(220px, 62vw) !important; }
  .browser-mockup { width: 100% !important; max-width: 420px; margin: 16px auto 0; }
  .coach-stats-grid { grid-template-columns: 1fr 1fr !important; }
  /* Platform intro hero — readable, properly framed on phones */
  .panel-intro { min-height: 80vh; padding: 124px var(--pad-x) 72px; justify-content: center; }
  .panel-intro .code { top: 86px; }
  .panel-intro h2 { font-size: clamp(38px, 11.5vw, 62px); line-height: 0.96; }
  .panel-intro .swipe-cue { margin-top: 40px; }
  .panel-intro .swipe-cue::after { content: "↓"; }
}

/* Showroom mobile tap controls (hidden on desktop) */
@media (min-width: 981px) { .sr-mnav { display: none; } }
.sr-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.16); background: #fff;
  font-family: var(--font-display); font-size: 22px; line-height: 1;
  color: var(--noir); display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0; transition: transform 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.sr-arrow:active { transform: scale(0.92); border-color: var(--indigo); }
.sr-dots { display: flex; gap: 11px; align-items: center; }
.sr-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: rgba(0,0,0,0.2); cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.sr-dots button.active { background: var(--indigo); transform: scale(1.35); }

/* ============================================================
   ⭐ 10. JOURNÉE TRIPARTITE — TIMELINE
   ============================================================ */
.timeline-section {
  background: var(--noir); color: var(--ivoire);
  padding: 140px var(--pad-x) 140px;
  position: relative;
  overflow: hidden;
}
.timeline-section::before {
  content: ""; position: absolute;
  top: 30%; left: 30%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--indigo);
  opacity: 0.12;
  filter: blur(120px);
  pointer-events: none;
}
.timeline-section::after {
  content: ""; position: absolute;
  bottom: 10%; right: 10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.10;
  filter: blur(120px);
  pointer-events: none;
}

.timeline-head {
  text-align: center;
  margin-bottom: 100px;
  position: relative;
}
.timeline-head .code {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,245,240,0.5);
  margin-bottom: 24px;
  display: block;
}
.timeline-head .code b { color: var(--ivoire); font-weight: 500; margin-left: 12px; }
.timeline-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.timeline-head h2 em { font-style: italic; color: var(--indigo); }
.timeline-head h2 em.r { color: var(--rose); }
.timeline-head .lead {
  font-size: 17px; line-height: 1.55;
  color: rgba(245,245,240,0.7);
  max-width: 600px;
  margin: 30px auto 0;
}

.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 30px;
}
/* Ligne verticale centrale */
.timeline::before {
  content: ""; position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(245,245,240,0.25) 5%,
    rgba(245,245,240,0.25) 95%,
    transparent 100%);
  transform: translateX(-50%);
}

.tl-event {
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  gap: 0;
  margin-bottom: 90px;
  align-items: center;
  position: relative;
}
.tl-event:last-child { margin-bottom: 0; }

/* Time always in middle column */
.tl-time {
  grid-column: 2;
  font-feature-settings: "tnum";
  text-align: center;
  /* Make sure the absolute pseudo-circle scales with the actual size */
  position: relative;
  z-index: 2;
  /* Prevent the italic glyph from spilling into the text columns */
  white-space: nowrap;
}

/* Card left/right positioning via grid-column */
.tl-event:nth-child(odd) .tl-card.left {
  grid-column: 1; grid-row: 1;
  text-align: right;
  padding-right: 28px; padding-left: 32px;
  margin-right: 20px;
}
.tl-event:nth-child(odd) .tl-card.right { display: none; }

.tl-event:nth-child(even) .tl-card.right {
  grid-column: 3; grid-row: 1;
  padding-left: 28px; padding-right: 32px;
  margin-left: 20px;
}
.tl-event:nth-child(even) .tl-card.left { display: none; }

.tl-time {
  font-family: var(--font-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(30px, 3.4vw, 48px);
  letter-spacing: -0.03em;
  text-align: center;
  position: relative;
  font-feature-settings: "tnum";
}
.tl-time::before {
  content: ""; position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: var(--noir);
  border: 1px solid rgba(245,245,240,0.3);
  border-radius: 50%;
  z-index: -1;
}
.tl-event[data-actor="cliente"] .tl-time { color: var(--indigo); }
.tl-event[data-actor="coach"] .tl-time { color: var(--ivoire); }
.tl-event[data-actor="club"] .tl-time { color: var(--rose); }
.tl-event[data-actor="duo"] .tl-time { color: var(--ivoire); }

/* Card */
.tl-card {
  background: rgba(245,245,240,0.04);
  border: 1px solid rgba(245,245,240,0.12);
  border-radius: 14px;
  padding: 24px 28px;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-cinema), transform 0.8s var(--ease-cinema);
}
.tl-event.in .tl-card { opacity: 1; transform: translateY(0); }
.tl-event .tl-card { transition-delay: 0.1s; }

.tl-actor {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.tl-actor .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  position: relative;
}
.tl-actor .pulse::before {
  content: ""; position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid currentColor;
  animation: tlPulse 2s ease-out infinite;
  opacity: 0;
}
@keyframes tlPulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2); opacity: 0; }
}
.tl-event[data-actor="cliente"] .tl-actor { color: var(--indigo); }
.tl-event[data-actor="cliente"] .tl-actor .pulse { background: var(--indigo); }
.tl-event[data-actor="coach"] .tl-actor { color: var(--ivoire); }
.tl-event[data-actor="coach"] .tl-actor .pulse { background: var(--ivoire); }
.tl-event[data-actor="club"] .tl-actor { color: var(--rose); }
.tl-event[data-actor="club"] .tl-actor .pulse { background: var(--rose); }
.tl-event[data-actor="duo"] .tl-actor { color: var(--rose); }
.tl-event[data-actor="duo"] .tl-actor .pulse { background: var(--rose); }

.tl-name {
  font-family: var(--font-display);
  font-style: italic; font-weight: 800;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.tl-action {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(245,245,240,0.78);
}
.tl-action em {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500;
  color: var(--ivoire);
}
.tl-detail {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(245,245,240,0.12);
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,245,240,0.5);
}

/* Mobile */
@media (max-width: 880px) {
  .timeline::before { left: 20px; }
  .tl-event {
    grid-template-columns: 60px 1fr;
    gap: 16px;
    margin-bottom: 50px;
  }
  .tl-time {
    grid-column: 1 !important;
    font-size: 22px;
    text-align: left;
    padding-top: 12px;
  }
  .tl-time::before { width: 40px; height: 40px; }
  /* Force populated card to column 2 regardless of nth-child rule */
  .tl-event .tl-card {
    grid-column: 2 !important;
    grid-row: 1;
    text-align: left !important;
    padding: 20px 22px !important;
  }
  /* Show populated cards (odd: .left, even: .right), hide the empty placeholders */
  .tl-event:nth-child(odd) .tl-card.left { display: block; }
  .tl-event:nth-child(odd) .tl-card.right { display: none !important; }
  .tl-event:nth-child(even) .tl-card.right { display: block; }
  .tl-event:nth-child(even) .tl-card.left { display: none !important; }
}

/* ============================================================
   11. NOTRE CORE
   ============================================================ */
.core { padding: 140px var(--pad-x) 120px; background: var(--ivoire); }
.core-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 80px; }
.core-head .code { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(0,0,0,0.45); margin-bottom: 30px; display: block; }
.core-head .code b { color: var(--noir); margin-left: 12px; font-weight: 500; }
.core-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 7vw, 100px); line-height: 0.95; letter-spacing: -0.03em; }
.core-head h2 em { font-style: italic; font-weight: 400; }
.core-head .desc { font-size: 17px; line-height: 1.55; color: rgba(0,0,0,0.72); align-self: end; padding-bottom: 6px; max-width: 460px; }
.core-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; border-top: 1px solid var(--gris-line); }
.core-item {
  display: grid; grid-template-columns: 50px 1fr;
  gap: 20px; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--gris-line);
  font-size: 16px;
  position: relative;
  transition: padding-left 0.4s var(--ease-cinema);
}
.core-item:hover { padding-left: 16px; }
.core-item .n { font-family: var(--font-mono); font-size: 11px; color: var(--indigo); font-weight: 500; letter-spacing: 0.05em; }
.core-item::before {
  content: ""; position: absolute;
  left: -1px; bottom: 0;
  width: 0; height: 1px;
  background: var(--indigo);
  transition: width 0.5s var(--ease-cinema);
}
.core-item:hover::before { width: 100%; }
@media (max-width: 980px) {
  .core-head { grid-template-columns: 1fr; gap: 30px; }
  .core-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   12. JAYNE GROWTH
   ============================================================ */
.growth {
  padding: 140px var(--pad-x);
  background:
    radial-gradient(at 80% 100%, rgba(233,30,140,0.25), transparent 50%),
    radial-gradient(at 0% 0%, rgba(59,59,249,0.30), transparent 50%),
    linear-gradient(180deg, #0a0a2a 0%, #0a0014 100%);
  color: var(--ivoire);
}
.growth-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.growth-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--rose); color: var(--ivoire); padding: 10px 18px; border-radius: 100px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; margin-bottom: 36px; }
.growth-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ivoire); animation: pulse 1.6s ease infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.9); } }
.growth h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(60px, 9vw, 130px); line-height: 0.92; letter-spacing: -0.04em; margin-bottom: 30px; }
.growth h2 em { font-style: italic; font-weight: 800; }
.growth .desc { font-size: 17px; line-height: 1.55; color: rgba(245,245,240,0.78); max-width: 420px; }
.growth-list li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(245,245,240,0.18); font-size: 17px; }
.growth-list li:first-child { border-top: 1px solid rgba(245,245,240,0.18); }
.growth-list .n { font-family: var(--font-mono); font-size: 11px; color: rgba(245,245,240,0.5); letter-spacing: 0.05em; }
@media (max-width: 980px) { .growth-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   13. IDENTITÉ
   ============================================================ */
.identite-intro { padding: 160px var(--pad-x) 100px; background: var(--ivoire); }
.identite-intro .code { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(0,0,0,0.45); margin-bottom: 40px; }
.identite-intro .code b { margin-left: 16px; color: var(--noir); font-weight: 500; }
.identite-intro h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 9vw, 130px); line-height: 0.92; letter-spacing: -0.04em; text-align: center; max-width: 1300px; margin: 0 auto 50px; }
.identite-intro h2 em.rose { font-style: italic; color: var(--rose); }
.identite-intro .lead { text-align: center; font-size: 18px; line-height: 1.55; color: rgba(0,0,0,0.72); max-width: 760px; margin: 0 auto; }
.identite-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 620px; }
.split-side { padding: 60px var(--pad-x); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.split-mb { background: var(--ivoire-2); color: var(--noir); }
.split-de { background: var(--indigo); color: var(--ivoire); }
.split-side h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(40px, 5vw, 76px); letter-spacing: -0.03em; line-height: 1; margin-bottom: 30px; position: relative; }
.split-side .descr { font-size: 17px; line-height: 1.55; margin-bottom: 30px; max-width: 460px; position: relative; }
.split-side .descr em { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.08em; }
.split-de .descr { color: rgba(245,245,240,0.85); }
.split-de .descr em { color: var(--ivoire); }
.split-bottom { border-top: 1px solid rgba(0,0,0,0.15); padding-top: 30px; position: relative; }
.split-de .split-bottom { border-top-color: rgba(245,245,240,0.25); }
.split-bottom .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.split-mb .split-bottom .lbl { color: rgba(0,0,0,0.55); }
.split-de .split-bottom .lbl { color: rgba(245,245,240,0.65); }
.split-bottom blockquote { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.4; letter-spacing: -0.01em; max-width: 480px; }
@media (max-width: 980px) { .identite-split { grid-template-columns: 1fr; } }

/* ============================================================
   ⭐ 14. CTA FINAL — Magnetic button
   ============================================================ */
.cta-final {
  padding: 180px var(--pad-x);
  background: var(--noir); color: var(--ivoire);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 1000px; height: 1000px; border-radius: 50%;
  background: var(--indigo); opacity: 0.18; filter: blur(140px);
  pointer-events: none;
  animation: ctaGlow 8s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.18; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.25; }
}
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 320;
  font-size: clamp(50px, 9vw, 150px);
  line-height: 0.9; letter-spacing: -0.045em;
  position: relative; margin-bottom: 50px;
  max-width: 1500px; margin-left: auto; margin-right: auto;
}
.cta-final h2 em { font-style: italic; font-weight: 800; color: var(--rose); }

.cta-magnetic {
  display: inline-block;
  position: relative;
  will-change: transform;
}
.cta-button {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--ivoire); color: var(--noir);
  padding: 22px 38px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500; font-size: 16px;
  cursor: none;
  position: relative;
  transition: background 0.3s, color 0.3s;
}
.cta-button:hover { background: var(--indigo); color: var(--ivoire); }
.cta-button .arr {
  width: 30px; height: 30px;
  background: var(--noir); color: var(--ivoire);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: transform 0.4s var(--ease-cinema);
}
.cta-button:hover .arr { background: var(--ivoire); color: var(--indigo); transform: rotate(45deg); }

.cta-final .small {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,245,240,0.55);
  margin-top: 36px; position: relative;
}

/* ============================================================
   15. FOOTER
   ============================================================ */
footer { background: var(--ivoire); padding: 80px var(--pad-x) 40px; border-top: 1px solid var(--gris-line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 80px; }
.footer-brand .lg {
  height: clamp(48px, 6vw, 80px);
  display: block;
  margin-bottom: 0;
}
.footer-brand .lg img { height: 100%; width: auto; display: block; }
.footer-brand p { font-size: 14px; color: rgba(0,0,0,0.7); margin-top: 14px; max-width: 360px; }
footer .col-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(0,0,0,0.55); margin-bottom: 16px; display: block; }
footer li { margin-bottom: 8px; }
footer li a { font-size: 14px; }
footer li a:hover { color: var(--indigo); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--gris-line); padding-top: 20px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0,0,0,0.5); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-bottom { flex-direction: column; gap: 12px; } }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease-cinema), transform 0.9s var(--ease-cinema); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

