/* ============================================================
   100xLAB — variante sombre
   Se charge APRÈS styles.css et n'écrase que ce qui doit l'être.
   Portée : .theme-dark sur <body>, rien ne fuit sur les autres pages.
   DA inspirée d'agency-liberty.com : noir profond, halo radial,
   bordures en blanc alpha, une seule couleur d'accent + son glow.
   ============================================================ */

/* ---------- Poppins ---------- */
@font-face { font-family:'Poppins'; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:500; font-display:swap; src:url('/assets/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:600; font-display:swap; src:url('/assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-style:normal; font-weight:700; font-display:swap; src:url('/assets/fonts/poppins-700.woff2') format('woff2'); }

/* ============================================================
   TOKENS
   ============================================================ */
/* ------------------------------------------------------------
   L'accent tient en 4 triplets RGB. Tout le reste en derive,
   donc changer de couleur = changer ces 4 lignes.
   Bleu par defaut, rose sur /dark?accent=rose
   ------------------------------------------------------------ */
body.theme-dark {
  --acc:      251 62 86;   /* #fb3e56 — accent de production */
  --acc-glow: 251 62 86;
  --acc-deep: 251 62 86;
  --acc-pale: 251 62 86;
}
/* ancien bleu, conservé pour comparaison sur ?accent=bleu */
:root.accent-bleu body.theme-dark {
  --acc:      83 112 254;   /* #5370fe */
  --acc-glow: 147 166 255;
  --acc-deep:  53  82 232;
  --acc-pale: 185 197 255;
}

body.theme-dark {
  --background: #151515;
  --foreground: #f5f5f5;
  --card: #1c1c1c;
  --muted: #202020;
  --muted-foreground: #a3a3a3;
  --border: rgba(255, 255, 255, .09);

  --primary: rgb(var(--acc));
  --primary-glow: rgb(var(--acc-glow));
  --primary-dark: rgb(var(--acc-deep));
  --primary-light: rgb(var(--acc-glow));
  --primary-foreground: #151515;

  --gradient-primary: rgb(var(--acc));   /* aplat, aucun degrade */
  --shadow-pill: 0 10px 34px -8px rgb(var(--acc) / .75);

  --display: 'Poppins', system-ui, sans-serif;

  background: var(--background);
  color: var(--foreground);
}

body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4 { letter-spacing: -0.015em; }

/* Poppins : les titres portent en 600 */
body.theme-dark h1 { font-weight: 600; }
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4 { font-weight: 600; }

/* le chrome d'interface passe aussi en Poppins */
body.theme-dark .btn,
body.theme-dark .nav__link,
body.theme-dark .pill,
body.theme-dark .pill-live,
body.theme-dark .eyebrow,
body.theme-dark .stat__value,
body.theme-dark .case__metric-value,
body.theme-dark .footer__nav button,
body.theme-dark .footer__nav a { font-family: var(--display); }

body.theme-dark .btn { font-weight: 600; letter-spacing: .01em; }

/* ============================================================
   FONDS : halo radial, grille masquée, orbes flottantes
   ============================================================ */
body.theme-dark .bg-layer {
  opacity: 1;
  background-image:
    radial-gradient(60% 45% at 50% 0%, rgb(var(--acc) / .16), transparent 72%),
    linear-gradient(rgba(255, 255, 255, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .032) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  background-repeat: no-repeat, repeat, repeat;
  -webkit-mask-image: radial-gradient(85% 65% at 50% 12%, #000 25%, transparent 85%);
  mask-image: radial-gradient(85% 65% at 50% 12%, #000 25%, transparent 85%);
}

/* deux orbes floues qui dérivent derrière le hero */
.hero-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  width: 70vw; max-width: 880px;
  height: 70vw; max-height: 880px;
  border-radius: 9999px;
  filter: blur(130px);
  will-change: transform, opacity;
}
.hero-glow::before {
  background: radial-gradient(circle, rgb(var(--acc) / .5), transparent 70%);
  top: -28%; left: 4%;
  animation: orb-a 16s ease-in-out infinite;
}
.hero-glow::after {
  background: radial-gradient(circle, rgb(var(--acc-glow) / .32), transparent 70%);
  top: -14%; right: 2%;
  animation: orb-b 20s ease-in-out infinite;
}
@keyframes orb-a {
  0%, 100% { opacity: .55; transform: translate(-10%, -10%) scale(1); }
  50%      { opacity: .85; transform: translate(10%, 5%) scale(1.15); }
}
@keyframes orb-b {
  0%, 100% { opacity: .4; transform: translate(15%, 10%) scale(1.1); }
  50%      { opacity: .65; transform: translate(-10%, -8%) scale(.95); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow::before, .hero-glow::after { animation: none; }
}

body.theme-dark .hero { position: relative; }
body.theme-dark .hero__inner { position: relative; z-index: 2; }

/* ============================================================
   NAV : pilule flottante à bordure dégradée
   ============================================================ */
body.theme-dark .nav {
  background: none;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding-top: .85rem;
}
body.theme-dark .nav__inner {
  position: relative;
  height: 3.5rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--acc) / .55);
  background: var(--card);
  box-shadow: 0 10px 34px -14px rgb(var(--acc) / .6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body.theme-dark .nav__mobile {
  margin: .6rem auto 0;
  max-width: var(--container);
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
}
/* le logo est deja blanc sur fond noir : son cadre fond dans la page, on n'y touche pas */
body.theme-dark .sticky-cta {
  background: rgba(21, 21, 21, .94);
  border-top: 1px solid var(--border);
}

/* ============================================================
   CARTES
   ============================================================ */
body.theme-dark .glass-card {
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.theme-dark .glass-card:hover {
  box-shadow: inset 0 1px rgba(255, 255, 255, .09), 0 18px 50px -22px rgb(var(--acc) / .5);
}
body.theme-dark .glass-card--hoverable:hover { border-color: transparent; }

/* ============================================================
   BOUTONS, PILULES, ACCENTS
   ============================================================ */
body.theme-dark .btn {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-pill);
}
body.theme-dark .btn:hover { filter: brightness(1.08); background: var(--gradient-primary); }
body.theme-dark .glow-violet { box-shadow: var(--shadow-pill); }

body.theme-dark .pill,
body.theme-dark .pill-live {
  border-color: rgb(var(--acc) / .35);
  background: rgb(var(--acc) / .1);
  color: var(--primary-glow);
}

body.theme-dark .text-gradient {
  background-image: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  color: rgb(var(--acc));
}

body.theme-dark .icon-tile {
  background: rgb(var(--acc) / .12);
  border: 1px solid rgb(var(--acc) / .22);
  color: var(--primary-glow);
}

body.theme-dark .eyebrow { color: var(--primary-glow); }

/* eyebrow au-dessus des titres de section, signature de la DA de référence */
body.theme-dark .section-head .eyebrow,
body.theme-dark .booking__head .eyebrow {
  display: block;
  margin-bottom: .9rem;
  font-size: .68rem;
  letter-spacing: .28em;
}

/* ============================================================
   COMPOSANTS À COULEURS EN DUR DANS styles.css
   ============================================================ */
body.theme-dark .compare__cell--label { color: rgba(255, 255, 255, .88); }
body.theme-dark .compare__cell--own { background: rgb(var(--acc) / .09); border-bottom-color: rgb(var(--acc) / .22); }
body.theme-dark .compare__cell--own-head { color: var(--primary-glow); border-bottom-color: rgb(var(--acc) / .4); }
body.theme-dark .icon-no { color: rgba(255, 255, 255, .28); }
body.theme-dark .icon-yes { color: var(--primary-glow); }

body.theme-dark .case__before { color: rgba(255, 255, 255, .55); }
body.theme-dark .case__body,
body.theme-dark .case__foot,
body.theme-dark .stats__divider,
body.theme-dark .timeline__card,
body.theme-dark .faq__item { border-color: var(--border); }

body.theme-dark .timeline__rail { background: rgba(255, 255, 255, .1); }
body.theme-dark .timeline__dot {
  background: rgb(var(--acc) / .14);
  border-color: rgb(var(--acc) / .45);
  color: var(--primary-glow);
  box-shadow: 0 0 0 5px var(--background), 0 0 26px -4px rgb(var(--acc) / .7);
}
body.theme-dark .timeline__step { color: var(--primary-glow); }
body.theme-dark .feature-card__step { color: rgb(var(--acc) / .18); }
body.theme-dark .feature-card:hover .feature-card__step { color: rgb(var(--acc) / .32); }

body.theme-dark .founder__photo { border-color: rgb(var(--acc) / .45); }
body.theme-dark .founder__role { color: var(--primary-glow); }
body.theme-dark .social-dot { border-color: var(--border); color: var(--muted-foreground); }
body.theme-dark .social-dot:hover { background: rgb(var(--acc) / .14); border-color: rgb(var(--acc) / .4); color: var(--primary-glow); }

body.theme-dark .booking { background: rgb(var(--acc) / .04); border-color: var(--border); }
body.theme-dark .footer { border-color: var(--border); }
body.theme-dark .footer__copy { color: rgba(255, 255, 255, .4); }
body.theme-dark .footer__legal { color: rgba(255, 255, 255, .55); }

/* les logos clients sont pensés pour un fond blanc : on les éclaircit */
/* chaque logo client a un fond d'origine different : traitement au cas par cas,
   sinon ceux qui sont deja clairs sur fond sombre deviennent des paves blancs */
body.theme-dark .client-logo { filter: none; opacity: .6; transition: opacity .3s ease; }
body.theme-dark .client-logo:hover { opacity: 1; }

/* PNG transparents a encre sombre : silhouette blanche */
body.theme-dark .client-logo[src*="walter-learning"],
body.theme-dark .client-logo[src*="26-academy"] { filter: brightness(0) invert(1); }

/* fond blanc opaque : on inverse (le fond devient noir) puis screen l'efface */
body.theme-dark .client-logo[src*="school-online"] {
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
}

/* fond sombre opaque : screen efface directement le fond */
body.theme-dark .client-logo[src*="lexpress"],
body.theme-dark .client-logo[src*="mindeo"] {
  filter: grayscale(1) brightness(1.5);
  mix-blend-mode: screen;
}
body.theme-dark .client-avatar > span { color: rgba(255, 255, 255, .82); }
body.theme-dark .client-avatar img { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 1px rgba(255,255,255,.08); }
body.theme-dark .badge-case { background: rgba(28, 28, 28, .92); border-color: rgb(var(--acc) / .3); }
body.theme-dark .badge-case__logo { background: rgba(255, 255, 255, .06); }

/* le widget Calendly : cadre propre autour de l'iframe */
body.theme-dark .booking__frame .calendly-inline-widget {
  border-radius: .9rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px -30px rgb(var(--acc) / .6);
}

/* ============================================================
   BALAYAGE LUMINEUX SUR LES SÉPARATEURS DE SECTION
   ============================================================ */
.section-rule {
  height: 1px;
  max-width: 64rem;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgb(var(--acc) / .45), transparent);
}

/* ============================================================
   ÉCHELLE TYPO
   Poppins a une hauteur d'x plus grande que Futura : à taille égale
   le texte paraît plus gros, donc l'échelle est volontairement sobre.
   ============================================================ */
body.theme-dark h1,
body.theme-dark h2 { letter-spacing: -.02em; line-height: 1.15; font-weight: 600; }

/* H1 en capitales : le tracking negatif ne convient pas aux capitales,
   on repasse a zero et on laisse le conteneur donner les 2 lignes */
body.theme-dark .hero h1 {
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: 1.12;
  font-size: clamp(1.35rem, 3.75vw, 3.2rem);
  max-width: none;
  margin: 1.5rem auto 1.35rem;
}
body.theme-dark .hero__inner { max-width: 76rem; }

/* le sous-titre reste petit et étroit : c'est le contraste avec le H1
   qui fait l'effet, pas la taille du titre prise isolément (ratio ~3,2x) */
body.theme-dark .hero__sub {
  max-width: 36rem;
  font-size: .9375rem;
  line-height: 1.6;
  text-wrap: balance;
}
@media (min-width: 640px) { body.theme-dark .hero__sub { font-size: .9375rem; } }

body.theme-dark .section-head h2,
body.theme-dark .booking__head h2,
body.theme-dark .founder h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: .85rem; }
body.theme-dark .section-head { max-width: 42rem; margin-bottom: 2.25rem; }
body.theme-dark .section-head p { font-size: clamp(.92rem, 1.5vw, 1rem); }

body.theme-dark .punchline p { font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: -.02em; }
body.theme-dark .feature-card h3,
body.theme-dark .timeline__card h3,
body.theme-dark .method__item h3,
body.theme-dark .fit__card h3 { font-size: 1.1rem; letter-spacing: -.015em; }
body.theme-dark .stat__value,
body.theme-dark .case__metric-value { letter-spacing: -.025em; font-weight: 600; }
body.theme-dark .stat__value { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
body.theme-dark .case__metric-value { font-size: clamp(1.5rem, 3vw, 2rem); }

/* ============================================================
   PASTILLE D'ICÔNE PLEINE + GLOW (comme la référence)
   ============================================================ */
body.theme-dark .icon-tile {
  background: rgb(var(--acc));
  border: none;
  color: #fff;
  box-shadow: 0 8px 26px -6px rgb(var(--acc) / .8);
}
body.theme-dark .feature-card { padding: 1.75rem; }

/* ============================================================
   MINI-SCHÉMAS DANS LES CARTES
   ============================================================ */
.card-viz {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: rgba(255, 255, 255, .02);
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
}

/* --- 01 · sélecteur de canal --- */
.viz-channels { display: flex; align-items: center; gap: .75rem; }
.viz-chip {
  flex: 1;
  text-align: center;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  border-radius: .5rem;
  padding: .85rem .4rem;
  line-height: 1.25;
  transition: color .4s, border-color .4s, background .4s;
}
.viz-chip--on {
  color: #fff;
  border-color: rgb(var(--acc) / .55);
  background: rgb(var(--acc) / .16);
  box-shadow: 0 0 22px -6px rgb(var(--acc) / .8);
  animation: chip-swap 6s ease-in-out infinite;
}
.viz-chip--off { animation: chip-swap 6s ease-in-out infinite reverse; }
@keyframes chip-swap {
  0%, 44%   { color: #fff; border-color: rgb(var(--acc) / .55); background: rgb(var(--acc) / .16); }
  56%, 100% { color: var(--muted-foreground); border-color: var(--border); background: transparent; }
}
.viz-rail { position: relative; height: 2px; flex: 0 0 3.5rem; background: var(--border); border-radius: 2px; }
.viz-rail span {
  position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; margin-left: -4px;
  border-radius: 999px; background: var(--primary);
  box-shadow: 0 0 14px 2px var(--primary);
  animation: rail-travel 6s ease-in-out infinite;
}
@keyframes rail-travel { 0%, 44% { left: 0%; } 56%, 100% { left: 100%; } }

/* --- 02 · entonnoir de qualification --- */
.viz-funnel { display: flex; flex-direction: column; gap: .5rem; align-items: center; }
.viz-funnel div {
  height: 1.85rem;
  border-radius: .35rem;
  display: flex; align-items: center; justify-content: center;
  font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  background: rgb(var(--acc) / .14);
  border: 1px solid rgb(var(--acc) / .22);
  animation: funnel-in .8s cubic-bezier(.22,1,.36,1) both;
}
.viz-funnel div:nth-child(1) { width: 100%; animation-delay: 0s; }
.viz-funnel div:nth-child(2) { width: 72%;  animation-delay: .12s; }
.viz-funnel div:nth-child(3) {
  width: 44%; animation-delay: .24s; color: #fff;
  background: rgb(var(--acc)); border-color: transparent;
  box-shadow: 0 0 24px -6px rgb(var(--acc) / .9);
}
@keyframes funnel-in { from { opacity: 0; transform: translateY(8px) scaleX(.9); } to { opacity: 1; transform: none; } }

/* --- 03 · boucle data --- */
.viz-loop { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.viz-loop svg { flex-shrink: 0; }
.viz-loop__ring { fill: none; stroke: var(--border); stroke-width: 2; }
.viz-loop__arc {
  fill: none; stroke: url(#loopGrad); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 60 160;
  animation: loop-spin 3.6s linear infinite;
  transform-origin: 50% 50%;
}
@keyframes loop-spin { to { transform: rotate(360deg); } }
.viz-loop__steps { display: flex; flex-direction: column; gap: .3rem; }
.viz-loop__steps li {
  font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 600;
  color: var(--muted-foreground);
  animation: step-hi 4.8s linear infinite;
}
.viz-loop__steps li:nth-child(1) { animation-delay: 0s; }
.viz-loop__steps li:nth-child(2) { animation-delay: 1.2s; }
.viz-loop__steps li:nth-child(3) { animation-delay: 2.4s; }
.viz-loop__steps li:nth-child(4) { animation-delay: 3.6s; }
@keyframes step-hi {
  0%, 20%  { color: #fff; text-shadow: 0 0 14px rgb(var(--acc) / .9); }
  25%, 100% { color: var(--muted-foreground); text-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .viz-chip--on, .viz-chip--off, .viz-rail span,
  .viz-funnel div, .viz-loop__arc, .viz-loop__steps li { animation: none; }
}

/* ============================================================
   POINT LUMINEUX SUR LE RAIL DE LA TIMELINE
   ============================================================ */
body.theme-dark .timeline__progress {
  background: rgb(var(--acc));
  box-shadow: 0 0 18px 1px rgb(var(--acc) / .8);
}

/* ============================================================
   BALAYAGE LUMINEUX SUR LA PHOTO DU FONDATEUR
   ============================================================ */
body.theme-dark .founder__photo { position: relative; }
body.theme-dark .founder__photo::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  overflow: hidden; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  width: 45%;
  animation: photo-shine 5s ease-in-out infinite;
}
@keyframes photo-shine {
  0%   { transform: translateX(-140%) skewX(-18deg); }
  100% { transform: translateX(360%)  skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) { body.theme-dark .founder__photo::after { animation: none; opacity: 0; } }

/* ============================================================
   PASTILLE « ON AIR » DU HERO
   ============================================================ */
body.theme-dark .pill--onair {
  gap: .65rem;
  padding: .55rem 1.05rem;
  font-size: .82rem;
}
.live-dot {
  position: relative;
  display: inline-flex;
  width: .5rem; height: .5rem;
  flex-shrink: 0;
}
.live-dot span {
  position: absolute; inset: 0;
  border-radius: 999px;
  background: #2ee06a;
}
/* l'auréole qui se propage */
.live-dot span:first-child {
  opacity: .75;
  animation: ping 1.7s cubic-bezier(0, 0, .2, 1) infinite;
}
/* le point plein qui bat */
.live-dot span:last-child {
  box-shadow: 0 0 10px 1.5px rgba(46, 224, 106, .85);
  animation: onair-blink 1.7s ease-in-out infinite;
}
@keyframes onair-blink {
  0%, 100% { opacity: 1; }
  55%      { opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot span:first-child { animation: none; opacity: .3; }
  .live-dot span:last-child { animation: none; }
}


/* ============================================================
   RESTES D'ACCENT FIGÉ DANS styles.css
   ============================================================ */
body.theme-dark .fit__card--yes,
body.theme-dark .method { border-color: rgb(var(--acc) / .32); }
body.theme-dark .faq__item[data-open="true"] { border-color: rgb(var(--acc) / .32); }
body.theme-dark .badge-case { box-shadow: 0 8px 30px rgb(var(--acc) / .12); }
body.theme-dark .badge-case:hover { box-shadow: 0 8px 40px rgb(var(--acc) / .22); }

/* le dégradé du schéma « boucle data » suit aussi l'accent */
#loopGrad stop { stop-color: rgb(var(--acc)); }

/* ============================================================
   BANDEAU DE LOGOS : carte contenue, logos en couleur
   Deux logos clients sont en encre sombre sur fond transparent :
   en couleur sur fond noir ils disparaissent. Le bandeau est donc
   posé sur une carte claire, le support pour lequel ils ont été dessinés.
   ============================================================ */
body.theme-dark .logo-strip {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.9rem 0;
  border-radius: 1.1rem;
  background: #fff;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .12),
    0 26px 70px -34px rgb(var(--acc) / .65);
}

/* on annule tout le traitement sombre à l'intérieur de la carte claire */
body.theme-dark .logo-strip .client-logo[src] {
  filter: none;
  mix-blend-mode: normal;
  opacity: .85;
}
body.theme-dark .logo-strip .client-logo[src]:hover { opacity: 1; }
body.theme-dark .logo-strip .client-avatar { filter: none; opacity: .9; }
body.theme-dark .logo-strip .client-avatar:hover { opacity: 1; }
body.theme-dark .logo-strip .client-avatar > span { color: #121627; }
body.theme-dark .logo-strip .client-avatar img {
  box-shadow: inset 0 0 0 1px rgba(18, 22, 39, .1), 0 0 0 1px rgba(18, 22, 39, .07);
}
/* le masque de bord doit fondre vers le blanc de la carte, pas vers le noir */
body.theme-dark .logo-strip .marquee-mask {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

/* ============================================================
   LOGO CLIENT DANS LA CARTE CASE STUDY
   ============================================================ */
.case__client { display: flex; align-items: center; gap: .6rem; }
.case__client img {
  width: 2rem; height: 2rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgb(var(--acc) / .35);
}

/* ============================================================
   HEADER SANS NÉON
   Bordure neutre, aucun halo sous la pilule ni sous son bouton.
   ============================================================ */
body.theme-dark .nav__inner {
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: none;
}
body.theme-dark .nav .btn,
body.theme-dark .nav .btn:hover { box-shadow: none; }

/* ============================================================
   1. PLUS AUCUN EFFET DE LUMIÈRE
   Halo du fond, orbes du hero, glows portés : tout coupé.
   ============================================================ */
body.theme-dark .bg-layer {
  background-image:
    linear-gradient(rgba(255, 255, 255, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .032) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  background-repeat: repeat, repeat;
  -webkit-mask-image: none;
  mask-image: none;
  opacity: .8;
}
body.theme-dark .hero-glow { display: none; }
body.theme-dark .btn,
body.theme-dark .btn:hover,
body.theme-dark .glow-violet,
body.theme-dark .icon-tile,
body.theme-dark .timeline__dot,
body.theme-dark .timeline__progress,
body.theme-dark .founder__photo,
body.theme-dark .badge-case,
body.theme-dark .badge-case:hover,
body.theme-dark .glass-card,
body.theme-dark .glass-card:hover,
body.theme-dark .viz-chip--on,
body.theme-dark .logo-strip { box-shadow: none; }
body.theme-dark .glass-card { box-shadow: inset 0 1px rgba(255, 255, 255, .05); }
body.theme-dark .logo-strip { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
body.theme-dark .founder__photo::after { display: none; }
body.theme-dark .viz-rail span { box-shadow: none; }
body.theme-dark .live-dot span:last-child { box-shadow: none; }
body.theme-dark .timeline__dot { box-shadow: 0 0 0 5px var(--background); }

/* ============================================================
   2. LE ROUGE UNIQUEMENT SUR LES TITRES ET LE TEXTE
   Chiffres, pastilles, schémas et surfaces repassent en neutre.
   ============================================================ */
body.theme-dark {
  --neutral-1: #f5f5f5;
  --neutral-2: rgba(255, 255, 255, .62);
  --neutral-line: rgba(255, 255, 255, .14);
}

/* les chiffres ne sont plus rouges */
body.theme-dark .stat__value,
body.theme-dark .case__metric-value { color: var(--neutral-1); background-image: none; }
body.theme-dark .feature-card__step { color: rgba(255, 255, 255, .1); }
body.theme-dark .feature-card:hover .feature-card__step { color: rgba(255, 255, 255, .16); }

/* pastilles d'icônes et puces : neutres */
body.theme-dark .icon-tile {
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--neutral-line);
  color: var(--neutral-1);
}
body.theme-dark .pill,
body.theme-dark .pill--onair,
body.theme-dark .pill-live {
  border-color: var(--neutral-line);
  background: rgba(255, 255, 255, .04);
  color: var(--neutral-2);
}
body.theme-dark .timeline__dot {
  background: rgba(255, 255, 255, .06);
  border-color: var(--neutral-line);
  color: var(--neutral-1);
}
body.theme-dark .timeline__progress { background: rgba(255, 255, 255, .45); }
body.theme-dark .timeline__step { color: var(--neutral-2); }
body.theme-dark .founder__photo { border-color: var(--neutral-line); }
body.theme-dark .icon-yes { color: var(--neutral-1); }
body.theme-dark .compare__cell--own { background: rgba(255, 255, 255, .04); border-bottom-color: var(--neutral-line); }
body.theme-dark .compare__cell--own-head { color: var(--neutral-1); border-bottom-color: var(--neutral-line); }
body.theme-dark .fit__card--yes,
body.theme-dark .method,
body.theme-dark .faq__item[data-open="true"] { border-color: var(--neutral-line); }
body.theme-dark .booking { background: none; }
body.theme-dark .badge-case { border-color: var(--neutral-line); }
body.theme-dark .case__client img { box-shadow: 0 0 0 1px var(--neutral-line); }
body.theme-dark .client-avatar img { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }

/* schémas des cartes : neutres, l'état actif ressort en blanc */
body.theme-dark .card-viz { background: rgba(255, 255, 255, .025); border-color: var(--neutral-line); }
body.theme-dark .viz-chip--on,
body.theme-dark .viz-chip--off { animation-name: chip-swap-neutral; }
@keyframes chip-swap-neutral {
  0%, 44%   { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.09); }
  56%, 100% { color: var(--muted-foreground); border-color: var(--neutral-line); background: transparent; }
}
body.theme-dark .viz-rail span { background: var(--neutral-1); }
body.theme-dark .viz-funnel div { background: rgba(255,255,255,.05); border-color: var(--neutral-line); }
body.theme-dark .viz-funnel div:nth-child(3) { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
body.theme-dark #loopGrad stop { stop-color: var(--neutral-1); }
body.theme-dark .viz-loop__steps li { animation-name: step-hi-neutral; }
@keyframes step-hi-neutral {
  0%, 20%   { color: #fff; }
  25%, 100% { color: var(--muted-foreground); }
}

/* ce qui garde le rouge : titres, mots accentués, eyebrows, et le CTA */
body.theme-dark .text-gradient,
body.theme-dark .eyebrow,
body.theme-dark .founder__role { color: rgb(var(--acc)); }
body.theme-dark .btn { background: rgb(var(--acc)); color: #fff; }

/* ============================================================
   3. POLICES DE TITRAGE — comparateur
   Supreme utilise du Futura Heavy Oblique. Trois équivalents libres :
     ?font=jost     Jost 700 italique — la révision libre de Futura, le plus proche
     ?font=anton    Anton — condensée lourde, affiche/streetwear, laisse le H1 monter
     ?font=archivo  Archivo Black — grotesque lourde, plus corporate
   Sans paramètre : Poppins.
   ============================================================ */
@font-face { font-family:'Jost'; font-style:normal; font-weight:300 700; font-display:swap;
  src:url('/assets/fonts/jost-latin.woff2') format('woff2'); }
@font-face { font-family:'Anton'; font-style:normal; font-weight:400; font-display:swap;
  src:url('/assets/fonts/anton-latin.woff2') format('woff2'); }
@font-face { font-family:'Archivo Black'; font-style:normal; font-weight:400; font-display:swap;
  src:url('/assets/fonts/archivo-black-latin.woff2') format('woff2'); }

:root.font-jost body.theme-dark    { --display: 'Jost', system-ui, sans-serif; }
:root.font-anton body.theme-dark   { --display: 'Anton', system-ui, sans-serif; }
:root.font-archivo body.theme-dark { --display: 'Archivo Black', system-ui, sans-serif; }

/* Jost : c'est la graisse lourde + l'oblique qui donnent le rendu Supreme */
:root.font-jost body.theme-dark h1,
:root.font-jost body.theme-dark h2 { font-weight: 700; }
:root.font-jost body.theme-dark .hero h1 { font-style: italic; letter-spacing: -.01em; }

/* Anton et Archivo Black n'ont qu'une graisse : on ne demande pas de gras */
:root.font-anton body.theme-dark h1,
:root.font-anton body.theme-dark h2,
:root.font-anton body.theme-dark h3,
:root.font-anton body.theme-dark h4,
:root.font-archivo body.theme-dark h1,
:root.font-archivo body.theme-dark h2,
:root.font-archivo body.theme-dark h3,
:root.font-archivo body.theme-dark h4 { font-weight: 400; }

/* Anton est très condensée : le H1 peut monter nettement plus haut */
:root.font-anton body.theme-dark .hero h1 { font-size: clamp(1.6rem, 5vw, 4.5rem); letter-spacing: .01em; }
:root.font-anton body.theme-dark .section-head h2,
:root.font-anton body.theme-dark .booking__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }

/* Archivo Black est large : elle a besoin d'un corps plus bas pour tenir 2 lignes */
:root.font-archivo body.theme-dark .hero h1 { font-size: clamp(1.2rem, 3vw, 2.55rem); }

/* Les valeurs chiffrées portent aussi .text-gradient : il faut une règle
   plus spécifique pour qu'elles restent neutres. */
body.theme-dark .stat__value.text-gradient,
body.theme-dark .case__metric-value.text-gradient { color: var(--neutral-1); }

/* ============================================================
   ICÔNES : trait fin, sans tuile, plus grandes
   Le pictogramme posé dans un carré plein fait « template ».
   Un trait de 1,25 px sans conteneur est le code des interfaces
   premium actuelles (Linear, Stripe, Vercel).
   ============================================================ */
body.theme-dark .icon-tile {
  width: auto; height: auto;
  background: none;
  border: none;
  border-radius: 0;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 1.35rem;
  justify-content: flex-start;
}
body.theme-dark .icon-tile svg {
  width: 30px; height: 30px;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.theme-dark .method__item .icon-tile { justify-content: center; }
body.theme-dark .timeline__dot svg { stroke-width: 1.4; width: 19px; height: 19px; }
body.theme-dark .fit__card svg,
body.theme-dark .compare__cell svg { stroke-width: 1.6; }
body.theme-dark .social-dot svg { stroke-width: 1.4; }

/* ============================================================
   ANTON PAR DÉFAUT
   Anton est une display : elle ne sert qu'aux titres.
   Tout le reste (boutons, nav, chiffres, puces) reste en Poppins,
   sinon le condensé devient illisible aux petites tailles.
   ============================================================ */
body.theme-dark {
  --display: 'Anton', system-ui, sans-serif;
  --ui: 'Poppins', system-ui, sans-serif;
}
body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4 { font-weight: 400; }

body.theme-dark .btn,
body.theme-dark .nav__link,
body.theme-dark .pill,
body.theme-dark .pill-live,
body.theme-dark .eyebrow,
body.theme-dark .stat__value,
body.theme-dark .case__metric-value,
body.theme-dark .footer__nav button,
body.theme-dark .footer__nav a,
body.theme-dark .timeline__step,
body.theme-dark .badge-case__name,
body.theme-dark .feature-card__step { font-family: var(--ui); }
body.theme-dark .btn { font-weight: 600; letter-spacing: 0; }

/* Anton condensée : le H1 peut monter beaucoup plus haut */
body.theme-dark .hero h1 {
  font-size: clamp(1.6rem, 5vw, 4.5rem);
  letter-spacing: .01em;
  font-style: italic;          /* oblique synthétique, l'inclinaison de Supreme */
}
body.theme-dark .section-head h2,
body.theme-dark .booking__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
body.theme-dark .founder h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
body.theme-dark .punchline p { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
body.theme-dark .feature-card h3,
body.theme-dark .timeline__card h3,
body.theme-dark .method__item h3,
body.theme-dark .fit__card h3 { font-size: 1.3rem; letter-spacing: .005em; }

/* ============================================================
   BANDEAU DE CHIFFRES — sans carte, filets verticaux
   ============================================================ */
body.theme-dark .stats {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: 66rem;
}
body.theme-dark .stats__grid { gap: 0; }
body.theme-dark .stat {
  text-align: left;
  padding: .25rem 0 .25rem 2.25rem;
  border-left: 1px solid var(--neutral-line);
}
body.theme-dark .stat:first-child { border-left: none; padding-left: 0; }
body.theme-dark .stat__value {
  font-weight: 600;
  letter-spacing: -.035em;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1;
}
body.theme-dark .stat__label {
  margin-top: .7rem;
  font-size: .7rem;
  line-height: 1.45;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  max-width: 15rem;
}
body.theme-dark .stats__divider {
  margin-top: 2.5rem;
  padding-top: 0;
  border-top: none;
}
@media (max-width: 639px) {
  body.theme-dark .stat {
    border-left: none;
    border-top: 1px solid var(--neutral-line);
    padding: 1.25rem 0 0;
    text-align: center;
  }
  body.theme-dark .stat:first-child { border-top: none; padding-top: 0; }
  body.theme-dark .stat__label { max-width: none; }
}

/* ============================================================
   ICÔNES EN COULEUR D'ACCENT
   ============================================================ */
body.theme-dark .icon-tile { color: rgb(var(--acc)); }

/* les libellés des schémas passent en Anton : ils sont déjà en capitales,
   la condensée y gagne en tenue */
body.theme-dark .viz-chip,
body.theme-dark .viz-funnel div,
body.theme-dark .viz-loop__steps li {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .06em;
}
body.theme-dark .viz-chip { font-size: .82rem; }
body.theme-dark .viz-funnel div { font-size: .78rem; }
body.theme-dark .viz-loop__steps li { font-size: .8rem; }

/* ============================================================
   PUCES DE LA TIMELINE — même traitement que les icônes de cartes
   Le disque plein reste nécessaire pour masquer le rail qui passe
   derrière, mais il devient un simple filet sur fond de page.
   ============================================================ */
body.theme-dark .timeline__dot {
  background: var(--background);
  border: 1px solid var(--neutral-line);
  color: rgb(var(--acc));
  box-shadow: none;
  width: 2.75rem; height: 2.75rem;
  transition: border-color .45s ease;
}
body.theme-dark .timeline__item.is-visible .timeline__dot,
body.theme-dark .timeline__dot:hover {
  background: var(--background);
  border-color: rgb(var(--acc) / .5);
}
body.theme-dark .timeline__dot svg {
  width: 20px; height: 20px;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.theme-dark .timeline__rail { background: rgba(255, 255, 255, .1); }
body.theme-dark .timeline__progress { background: rgb(var(--acc) / .65); }

/* ============================================================
   PREUVE SOCIALE SOUS LE CTA DU HERO
   ============================================================ */
.proof-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-top: 1.6rem;
}
.proof-avatars { display: flex; align-items: center; }
.proof-av {
  width: 2.5rem; height: 2.5rem;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  /* le liseré reprend le fond de page : c'est lui qui détache les pastilles */
  box-shadow: 0 0 0 2px var(--background), inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.proof-av + .proof-av { margin-left: -.7rem; }
.proof-av img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* les logos ne sont pas des visages : fond blanc pour qu'ils restent lisibles
   quel que soit leur fond d'origine */
.proof-av--logo { background: #fff; }
.proof-av--logo img { object-fit: contain; padding: .38rem; }

.proof-text {
  font-family: var(--ui, 'Poppins', system-ui, sans-serif);
  font-size: .85rem;
  color: rgba(255, 255, 255, .62);
  letter-spacing: .01em;
}
.proof-text strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  color: rgb(var(--acc));
  letter-spacing: .02em;
  margin-right: .15rem;
  vertical-align: -.04em;
}
@media (max-width: 480px) {
  .proof-row { gap: .65rem; }
  .proof-av { width: 2.2rem; height: 2.2rem; }
  .proof-text { font-size: .8rem; }
}

/* ============================================================
   H1 : un cran plus bas, chasse resserrée
   Sous-titre en Poppins pour ne pas avoir 3 polices sur la page
   ============================================================ */
body.theme-dark .hero h1 {
  font-size: clamp(1.5rem, 4.6vw, 4.1rem);
  letter-spacing: -.012em;
}
body.theme-dark .hero__sub {
  font-family: var(--ui);
  font-size: .95rem;
  line-height: 1.65;
  letter-spacing: .002em;
  max-width: 38rem;
}

/* ---------- étoiles ---------- */
.proof-stars { display: inline-flex; align-items: center; gap: .12rem; color: #fbbf24; }
.proof-stars svg { width: 1.05rem; height: 1.05rem; }
@media (max-width: 480px) { .proof-stars svg { width: .95rem; height: .95rem; } }

/* ============================================================
   BANDEAU DE CHIFFRES — version minimale
   ============================================================ */
body.theme-dark .stats { max-width: 56rem; }
body.theme-dark .stat { padding: 0 0 0 1.75rem; }
body.theme-dark .stat:first-child { padding-left: 0; }
body.theme-dark .stat__value {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  letter-spacing: -.02em;
}
body.theme-dark .stat__label {
  margin-top: .45rem;
  font-size: .625rem;
  letter-spacing: .09em;
  line-height: 1.5;
  color: rgba(255, 255, 255, .38);
  max-width: 13rem;
}
body.theme-dark .stats__divider { margin-top: 1.9rem; }
body.theme-dark .badge-case { padding: .4rem 1.1rem .4rem .35rem; }
body.theme-dark .badge-case__logo { width: 2.1rem; height: 2.1rem; }
body.theme-dark .badge-case__name { font-size: .85rem; }
body.theme-dark .badge-case .eyebrow { font-size: .55rem; }

/* En mobile les chiffres s'empilent : cette règle doit rester la dernière,
   sinon les réglages desktop ci-dessus la neutralisent et les libellés
   viennent chevaucher le chiffre suivant. */
@media (max-width: 639px) {
  body.theme-dark .stat {
    border-left: none;
    border-top: 1px solid var(--neutral-line);
    padding: 1.15rem 0 0;
    text-align: center;
  }
  body.theme-dark .stat:first-child { border-top: none; padding-top: 0; }
  body.theme-dark .stat__value { font-size: 1.45rem; }
  body.theme-dark .stat__label { max-width: none; margin: .4rem auto 0; }
  body.theme-dark .stats__grid { gap: 1.15rem; }
}

/* ============================================================
   BLOC DE PREUVE — remonté au-dessus du H1, format réduit
   ============================================================ */
body.theme-dark .proof-row {
  margin: .85rem 0 0;
  gap: .45rem .8rem;
}
body.theme-dark .proof-av { width: 1.85rem; height: 1.85rem; }
body.theme-dark .proof-av + .proof-av { margin-left: -.5rem; }
body.theme-dark .proof-av--logo img { padding: .28rem; }
body.theme-dark .proof-stars svg { width: .85rem; height: .85rem; }
body.theme-dark .proof-text { font-size: .78rem; }
body.theme-dark .proof-text strong { font-size: .98rem; }
body.theme-dark .hero h1 { margin-top: 1.15rem; }

/* ============================================================
   BANDEAU DE CHIFFRES — centrage et rythme vertical
   Chaque colonne est centrée dans sa cellule : en alignant à gauche,
   la colonne de droite laissait un vide et le bloc paraissait décalé.
   ============================================================ */
body.theme-dark .stat {
  text-align: center;
  padding: 0 1.25rem;
}
body.theme-dark .stat:first-child { padding-left: 1.25rem; }
body.theme-dark .stat__label { margin: .5rem auto 0; max-width: 14rem; }
body.theme-dark .stats__divider { margin-top: 1.6rem; }
body.theme-dark .stats { max-width: 54rem; }

/* ============================================================
   COMPARATIF — refonte
   Plus de carte ni de quadrillage : des filets horizontaux seuls,
   et la colonne 100xLab devient un panneau surélevé qui déborde
   au-dessus et en dessous, comme une offre mise en avant.
   ============================================================ */
body.theme-dark .compare {
  background: none;
  border: none;
  box-shadow: none;
  overflow: visible;
  max-width: 58rem;
  padding: 1.5rem 0;
}
body.theme-dark .compare__grid { grid-template-columns: 1.7fr 1fr 1fr 1.2fr; }

body.theme-dark .compare__cell {
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  padding: 1.15rem .7rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .72);
}
body.theme-dark .compare__cell--label {
  color: #fff;
  font-size: .92rem;
  padding-left: 0;
  padding-right: 1.25rem;
}
body.theme-dark .compare__cell--head {
  font-family: var(--ui);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: rgba(255, 255, 255, .38);
  padding-bottom: 1.35rem;
  border-bottom-color: rgba(255, 255, 255, .07);
}

/* la colonne mise en avant : un panneau continu */
body.theme-dark .compare__cell--own {
  background: rgba(255, 255, 255, .045);
  border-left: 1px solid rgb(var(--acc) / .3);
  border-right: 1px solid rgb(var(--acc) / .3);
  border-bottom-color: rgba(255, 255, 255, .07);
  color: #fff;
  font-weight: 500;
}
body.theme-dark .compare__cell--own-head {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: none;
  color: rgb(var(--acc));
  border-top: 1px solid rgb(var(--acc) / .3);
  border-top-left-radius: .9rem;
  border-top-right-radius: .9rem;
  padding-top: 1.6rem;
  padding-bottom: 1.35rem;
  background: rgba(255, 255, 255, .045);
}
body.theme-dark .compare__grid > .compare__cell:last-child {
  border-bottom: 1px solid rgb(var(--acc) / .3);
  border-bottom-left-radius: .9rem;
  border-bottom-right-radius: .9rem;
  padding-bottom: 1.6rem;
}
/* la derniere ligne des trois autres colonnes n'a plus de filet */
body.theme-dark .compare__grid > .compare__cell:nth-last-child(2),
body.theme-dark .compare__grid > .compare__cell:nth-last-child(3),
body.theme-dark .compare__grid > .compare__cell:nth-last-child(4) { border-bottom: none; }

body.theme-dark .icon-yes { color: rgb(var(--acc)); }
body.theme-dark .icon-no { color: rgba(255, 255, 255, .16); }
body.theme-dark .compare__cell svg { stroke-width: 2; width: 18px; height: 18px; }

@media (max-width: 639px) {
  body.theme-dark .compare__grid { grid-template-columns: 1.5fr .8fr .8fr 1fr; }
  body.theme-dark .compare__cell { padding: .85rem .35rem; font-size: .75rem; }
  body.theme-dark .compare__cell--label { font-size: .78rem; padding-right: .5rem; }
  body.theme-dark .compare__cell--head { font-size: .56rem; letter-spacing: .08em; }
  body.theme-dark .compare__cell--own-head { font-size: .85rem; }
}

/* les questions de la FAQ passent en Anton */
body.theme-dark .faq__trigger {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.08rem;
  letter-spacing: .01em;
  padding-right: .5rem;
}
@media (max-width: 639px) { body.theme-dark .faq__trigger { font-size: .98rem; } }

/* les validations du comparatif passent en vert : un ✓ rouge se lit mal
   comme une confirmation */
body.theme-dark .compare .icon-yes { color: #2ee06a; }

/* ============================================================
   RYTHME VERTICAL
   Le pas entre sections était de 112px (56 haut + 56 bas). Avec la
   nouvelle échelle typo, plus basse, ça creusait des trous.
   ============================================================ */
body.theme-dark .section { padding: 2.6rem 0; }
@media (min-width: 768px) { body.theme-dark .section { padding: 3rem 0; } }
body.theme-dark .section-head { margin-bottom: 2rem; }

/* la bande de chiffres se rattache visuellement au hero */
body.theme-dark .section--stats { padding-top: .5rem; padding-bottom: 2.6rem; }
@media (min-width: 768px) { body.theme-dark .section--stats { padding-bottom: 3rem; } }
body.theme-dark .hero { padding-bottom: 1.25rem; }

body.theme-dark .punchline { margin-top: 2rem; }
body.theme-dark .footer { padding-top: 2.4rem; }

/* le rail de la timeline s'arrêtait au-dessus de la première puce et
   sous la dernière : on le cale sur le centre des puces extrêmes */
body.theme-dark .timeline__rail,
body.theme-dark .timeline__progress { top: 1.4rem; }
body.theme-dark .timeline__rail { bottom: 1.4rem; }

/* ============================================================
   FONDATEUR — format compact
   Photo + identité en ligne d'en-tête, bio en pleine largeur dessous.
   L'ancienne colonne photo de 160px imposait une carte très haute
   pour trois paragraphes.
   ============================================================ */
body.theme-dark .founder { padding: 1.75rem; max-width: 52rem; }
@media (min-width: 768px) { body.theme-dark .founder { padding: 2.25rem 2.5rem; } }

body.theme-dark .founder__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--neutral-line);
}
body.theme-dark .founder__photo {
  width: 3.75rem; height: 3.75rem;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--neutral-line);
}
body.theme-dark .founder__photo img { width: 100%; height: 100%; object-fit: cover; }
body.theme-dark .founder__ident { flex: 1; min-width: 0; }
body.theme-dark .founder h2 { font-size: 1.5rem; margin-bottom: .1rem; }
body.theme-dark .founder__role { font-size: .8rem; margin: 0; }
body.theme-dark .founder__head .social-dot { flex-shrink: 0; width: 2.25rem; height: 2.25rem; }

body.theme-dark .founder__bio { text-align: left; margin-bottom: 1.6rem; }
body.theme-dark .founder__bio p { font-size: .9rem; line-height: 1.7; }
body.theme-dark .founder__bio p + p { margin-top: .7rem; }

body.theme-dark .founder__cta {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
}
@media (max-width: 520px) {
  body.theme-dark .founder__cta { flex-direction: column; align-items: stretch; }
  body.theme-dark .founder__cta .pill-live { align-self: center; }
}

/* l'entonnoir compte 4 étapes : clic, landing page, formulaire, qualifié */
.viz-funnel div:nth-child(1) { width: 100%; animation-delay: 0s; }
.viz-funnel div:nth-child(2) { width: 82%;  animation-delay: .1s; }
.viz-funnel div:nth-child(3) { width: 62%;  animation-delay: .2s; }
.viz-funnel div:nth-child(4) { width: 44%;  animation-delay: .3s; }
body.theme-dark .viz-funnel div:nth-child(3) {
  background: rgba(255, 255, 255, .05);
  border-color: var(--neutral-line);
  color: rgba(255, 255, 255, .75);
}
body.theme-dark .viz-funnel div:nth-child(4) {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}
body.theme-dark .viz-funnel div { height: 1.6rem; font-size: .72rem; }
body.theme-dark .viz-funnel { gap: .4rem; }

/* le bandeau haut suit le trait fin des autres icônes */
body.theme-dark .topbar__item svg { stroke-width: 1.4; }
body.theme-dark .topbar { border-bottom: 1px solid rgba(255, 255, 255, .07); }

/* ============================================================
   ENCART VSL — au thème sombre
   ============================================================ */
body.theme-dark .vsl__poster {
  border: 1px solid var(--neutral-line);
  box-shadow: none;
}
body.theme-dark .vsl__poster-bg {
  background:
    radial-gradient(circle at 30% 25%, rgb(var(--acc) / .18), transparent 62%),
    linear-gradient(150deg, #202028, #151515 60%, #101010);
}
body.theme-dark .vsl__play {
  background: rgb(var(--acc));
  color: #fff;
  box-shadow: none;
}
body.theme-dark .vsl__hint { color: rgba(255, 255, 255, .55); font-size: .78rem; }
body.theme-dark .vsl__player { background: #000; }
body.theme-dark .vsl__player.is-pip { border-color: rgb(var(--acc) / .4); }

/* le H1 de /vsl est plus long que celui de la home : il tient sur 3 lignes,
   donc un corps un cran plus bas */
body.theme-dark .hero--vsl h1,
body.theme-dark .vsl-page .hero h1 { font-size: clamp(1.25rem, 3.1vw, 2.65rem); }

/* le H1 de /vsl compte 3 lignes explicites : il lui faut toute la largeur */
body.theme-dark.vsl-page .hero__inner { max-width: 76rem; }
body.theme-dark.vsl-page .hero h1 { font-size: clamp(1.25rem, 3.1vw, 2.65rem); }

/* ============================================================
   MOBILE ET TABLETTE — hiérarchie du hero et boutons
   Ce bloc doit rester le dernier du fichier : il corrige des règles
   posées plus haut, et une règle équivalente placée avant serait
   neutralisée.

   Ce qu'on corrige, mesuré sur un écran de 390 px :
   - le H1 tombait à 24 px pour un sous-titre à 15 px (rapport 1,6x) :
     le titre n'avait plus aucun poids, on remonte à ~34 px pour un
     rapport d'environ 2,4x ;
   - les deux <span class="line"> imposent une coupure calculée pour
     le desktop : à cette largeur elle produit un pavé bancal, on
     laisse donc le texte se répartir tout seul ;
   - le libellé des gros boutons passait sur deux lignes avec la
     flèche repoussée à droite.

   Le point de bascule est 900 px, celui de la barre de navigation,
   et pas 640 px : les tailles des deux côtés sont calées pour se
   rejoindre à cette largeur, sinon le titre rapetissait d'un coup
   en passant la limite.
   ============================================================ */
@media (max-width: 899px) {

  /* ---------- H1 de la home ---------- */
  /* inline : les deux lignes redeviennent un seul paragraphe et le
     navigateur choisit lui-même où couper. L'espace entre les deux
     <span> dans le HTML fait la séparation, pas besoin d'en ajouter. */
  body.theme-dark .hero h1 span.line { display: inline; }
  body.theme-dark .hero h1 {
    /* 1,28rem + 3,46vw : ~34 px à 390, plafonné à 41,6 px, valeur que
       reprend exactement la règle desktop à 900 px */
    font-size: clamp(1.9rem, 1.28rem + 3.46vw, 2.6rem);
    line-height: 1.06;
    letter-spacing: -.005em;
    max-width: none;
    margin: 1rem auto .9rem;
    text-wrap: balance;
  }

  /* ---------- sous-titre ---------- */
  /* un cran plus bas et plus étroit : c'est l'écart avec le H1 qui
     fait la hiérarchie, pas la taille du titre prise isolément */
  body.theme-dark .hero__sub {
    font-size: .875rem;
    line-height: 1.6;
    max-width: 22rem;
    margin-bottom: 1.25rem;
  }

  /* ---------- H1 de /vsl ---------- */
  /* même logique, mais ce titre est deux fois plus long : il repasse
     en flux libre et plafonne à la valeur desktop */
  body.theme-dark.vsl-page .hero h1,
  body.theme-dark .hero--vsl h1 {
    font-size: clamp(1.65rem, 1.05rem + 3.35vw, 2.4rem);
    line-height: 1.1;
    max-width: none;
    margin: 1.1rem auto 1rem;
    text-wrap: balance;
  }
  body.theme-dark.vsl-page .hero h1 span.line,
  body.theme-dark .hero--vsl h1 span.line { display: inline; }

  /* sur /vsl le segment coloré couvre « 50 à 70 candidats pré-qualifiés » :
     insécable, il dépassait du cadre. On le laisse se couper aux espaces,
     le trait d'union restant protégé dans le HTML. */
  body.theme-dark.vsl-page .hero h1 .text-gradient,
  body.theme-dark .hero--vsl h1 .text-gradient { white-space: normal; }
}

@media (max-width: 639px) {

  /* ---------- pastille au-dessus du H1 ---------- */
  /* 54 caractères ne tiennent pas sur une ligne en mobile : il faudrait
     descendre à ~9,5 px, illisible. On assume donc deux lignes, mais
     équilibrées, au lieu du pavé bancal de trois lignes qu'on avait. */
  body.theme-dark .pill--onair {
    font-size: .7rem;
    padding: .45rem .85rem;
    gap: .5rem;
    line-height: 1.3;
    text-wrap: balance;
    max-width: 100%;
  }

  /* ---------- gros boutons ---------- */
  /* 2rem de padding de chaque côté + la flèche ne laissaient pas
     assez de place au libellé sur une seule ligne */
  body.theme-dark .btn--lg {
    font-size: .95rem;
    padding: .95rem 1.15rem;
    gap: .4rem;
  }
  body.theme-dark .btn--lg svg { width: 18px; height: 18px; }
}

/* Le H1 de /vsl reste calé sur la courbe mobile jusqu'à 900 px, où il
   rejoint 2,4rem — la règle desktop plus haut y répond avec la même
   valeur, la transition est donc invisible. */
@media (min-width: 900px) {
  body.theme-dark.vsl-page .hero h1,
  body.theme-dark .hero--vsl h1 { font-size: clamp(2.4rem, 3.1vw, 2.65rem); }
}

/* /vsl n'a pas de barre de navigation fixe, contrairement à la home :
   les 6,5rem de padding haut du hero, prévus pour passer sous la nav,
   n'y sont qu'un trou. Vrai à toutes les largeurs, pas seulement en
   mobile. */
body.theme-dark.vsl-page .hero { padding-top: 2rem; }
@media (min-width: 640px) { body.theme-dark.vsl-page .hero { padding-top: 2.75rem; } }

/* Sous 360 px il reste juste assez de place pour le libellé du bouton
   à condition de resserrer encore d'un cran. */
@media (max-width: 359px) {
  body.theme-dark .btn--lg { font-size: .875rem; padding: .9rem .85rem; }
}
