/* ==========================================================================
   Sophie Monteil — Landing « Growth e-commerce »
   Pour ajuster l'identité, modifiez uniquement les variables de :root.
   ========================================================================== */

:root {
  /* Couleurs */
  --bg: #F4F3EF;
  --surface: #FFFFFF;
  --surface-2: #ECEAE4;
  --ink: #0E0E13;
  --ink-2: #34343E;
  --muted: #62626D;
  --line: #E0DDD5;
  --dark: #0E0E13;
  --dark-2: #17171F;
  --dark-line: rgba(244, 243, 239, 0.12);
  --on-dark: #F4F3EF;
  --on-dark-muted: rgba(244, 243, 239, 0.66);
  --accent: #F46D33;
  --accent-soft: rgba(244, 109, 51, 0.14);
  --violet: #5B4BFF;

  /* Typo */
  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Grain des zones sombres (0.15 – 0.35) */
  --grain-opacity: 0.28;

  /* Mise en page */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-lg: clamp(20px, 2.4vw, 32px);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; border-radius: 8px;
  background: var(--ink); color: var(--on-dark); text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Petit libellé monospace */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.label--pill {
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.dot-live {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.dot-live::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: live 2s var(--ease) infinite;
}
@keyframes live { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 36em; }

/* Placeholder à remplacer : visible volontairement */
.ph {
  display: inline;
  padding: 0 0.28em;
  border: 1px dashed var(--accent);
  border-radius: 0.3em;
  background: var(--accent-soft);
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 0.92em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ph--block { display: block; white-space: normal; padding: 14px 16px; font-size: 0.9rem; letter-spacing: 0; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Grain (SVG) sur les zones sombres / colorées
   -------------------------------------------------------------------------- */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain > * { position: relative; z-index: 2; }

/* Halos de couleur flous */
.glow { position: absolute !important; inset: 0; z-index: 0 !important; overflow: hidden; border-radius: inherit; pointer-events: none; }
.glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: drift 22s ease-in-out infinite alternate;
}
.glow span:nth-child(1) { width: 55%; aspect-ratio: 1; right: -18%; bottom: -45%; background: var(--accent); opacity: 0.7; }
.glow span:nth-child(2) { width: 48%; aspect-ratio: 1; left: -14%; top: -26%; background: var(--violet); opacity: 0.55; animation-duration: 28s; }
.glow span:nth-child(3) { width: 30%; aspect-ratio: 1; right: 22%; top: 8%; background: #FF9A6B; opacity: 0.35; animation-duration: 18s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6%, -8%) scale(1.12); }
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px;
  padding: 6px 6px 6px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font: 600 0.97rem/1 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}
.btn__icon svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn:hover { background: #FF8452; box-shadow: 0 10px 30px -10px rgba(244, 109, 51, 0.7); }
.btn:hover .btn__icon svg { transform: translateX(3px) rotate(-45deg); }
.btn:active { transform: scale(0.98); }

.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark .btn__icon { background: var(--accent); color: var(--ink); }
.btn--dark:hover { background: #26262f; box-shadow: 0 10px 30px -12px rgba(14, 14, 19, 0.6); }

.btn--ghost {
  padding: 0 22px;
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1px currentColor;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px currentColor; }

.btn--sm { min-height: 44px; padding: 4px 4px 4px 18px; font-size: 0.9rem; }
.btn--sm .btn__icon { width: 36px; height: 36px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.text-link:hover { color: var(--accent); gap: 12px; }

/* --------------------------------------------------------------------------
   Navigation flottante
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 24px; left: 50%;
  z-index: 100;
  width: min(calc(100% - 48px), 1160px);
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), top 0.4s var(--ease);
}
.nav.is-light {
  top: 12px;
  color: var(--ink);
  background: rgba(244, 243, 239, 0.82);
  border-color: var(--line);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1.02rem; letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.logo__mark {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
}
.nav__links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__links a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
  transition: background-color 0.3s var(--ease), opacity 0.3s;
}
.nav__links a:hover { opacity: 1; background: rgba(127, 127, 127, 0.14); }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(127, 127, 127, 0.16);
  color: inherit;
  cursor: pointer;
}
.nav__toggle span { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: currentColor; transition: transform 0.3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

.nav__menu { display: flex; align-items: center; gap: 12px; }

@media (max-width: 900px) {
  .nav { top: 12px; width: calc(100% - 24px); }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px;
    border-radius: 24px;
    background: var(--dark);
    color: var(--on-dark);
    border: 1px solid var(--dark-line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links { flex-direction: column; }
  .nav__links a { padding: 14px 16px; font-size: 1.1rem; }
  .nav__menu .btn { position: relative; justify-content: center; padding-inline: 48px; }
  .nav__menu .btn .btn__icon { position: absolute; right: 4px; top: 50%; margin-top: -18px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: 12px; }
.hero__panel {
  min-height: min(calc(100svh - 24px), 980px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 5vw, 64px) clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero .label--pill { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: var(--on-dark); }
.hero h1 {
  margin: 28px 0 28px;
  font-size: clamp(2.7rem, 6.6vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 13ch;
}
.hero h1 .hl { color: var(--accent); }
.hero__sub { max-width: 34em; color: var(--on-dark-muted); font-size: clamp(1.05rem, 1.3vw, 1.18rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__note {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px;
  font-size: 0.86rem;
  color: var(--on-dark-muted);
}
.hero__note .ph { color: var(--on-dark); }

/* Carte « vue unifiée des leviers » */
.levers {
  padding: 18px;
  border-radius: 24px;
  background: rgba(14, 14, 19, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.levers__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; }
.levers__head .label { color: var(--on-dark-muted); white-space: nowrap; }
.levers__map { position: relative; aspect-ratio: 1; margin: 8px auto 4px; max-width: 400px; }
.levers__map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.levers__line { stroke: rgba(255, 255, 255, 0.22); stroke-width: 0.35; stroke-dasharray: 1 1.4; fill: none; }
.levers__ring { stroke: rgba(255, 255, 255, 0.14); stroke-width: 0.3; fill: none; }
.levers__pulse { fill: var(--accent); }
.node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(23, 23, 31, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.node::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.node:hover { border-color: var(--accent); transform: translate(-50%, -50%) scale(1.06); }
.node--core {
  flex-direction: column; gap: 2px;
  width: 38%; aspect-ratio: 1;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  border: 0;
  text-align: center;
  font-weight: 600;
  line-height: 1.15;
  box-shadow: 0 0 0 10px rgba(244, 109, 51, 0.14), 0 0 60px rgba(244, 109, 51, 0.5);
}
.node--core::before { display: none; }
.node--core small { font-family: var(--mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.levers__kpis { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.levers__kpis span {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--on-dark-muted);
}
.levers__kpis span:first-child { color: var(--ink); background: var(--on-dark); }

/* Bandeau outils */
.stack {
  position: relative;
  margin-top: 12px;
  padding: 24px 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--dark);
}
/* Fondu sur les bords */
.stack::before,
.stack::after {
  content: "";
  position: absolute; top: 0; bottom: 0; z-index: 1;
  width: 10%;
  pointer-events: none;
}
.stack::before { left: 0; background: linear-gradient(90deg, var(--dark), transparent); }
.stack::after { right: 0; background: linear-gradient(-90deg, var(--dark), transparent); }
.stack__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.stack__track ul { display: flex; gap: 56px; margin: 0; padding: 0 28px; list-style: none; }
.stack__track li { font-family: var(--mono); font-size: 1.05rem; font-weight: 500; color: var(--on-dark); white-space: nowrap; }
.stack__track li::before { content: "/ "; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(80px, 11vw, 150px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .label { margin-bottom: 20px; }
.section-head p:not(.label) { margin-top: 20px; }
.section-head--split {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px 64px; align-items: end; max-width: none;
}
.section-head--split p:not(.label) { margin-top: 0; }

/* Panneau sombre arrondi (sections contrastées) */
.panel-dark {
  margin-inline: 12px;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}
.panel-dark .label { color: var(--on-dark-muted); }
.panel-dark .lead { color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   Chiffres
   -------------------------------------------------------------------------- */
.stats-title { margin-bottom: 28px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.stat { padding: clamp(24px, 3vw, 36px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__value {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__value .unit { color: var(--accent); }
.stat__value .ph { font-size: 0.72em; }
.stat p { font-size: 0.95rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Pour qui
   -------------------------------------------------------------------------- */
.fit {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.fit .not-fit { grid-column: 1 / -1; }
@media (min-width: 901px) {
  .not-fit ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
.fit-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.fit-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 48px -28px rgba(14, 14, 19, 0.35); }
.fit-card__num { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); }
.fit-card p { color: var(--muted); font-size: 0.97rem; }

.not-fit {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--on-dark);
}
.not-fit h3 { font-size: 1.1rem; margin-bottom: 18px; }
.not-fit ul { margin: 0; padding: 0; list-style: none; }
.not-fit li {
  display: flex; gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--dark-line);
  font-size: 0.95rem;
  color: var(--on-dark-muted);
}
.not-fit li::before {
  content: "×";
  display: grid; place-items: center;
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Le problème (silos)
   -------------------------------------------------------------------------- */
.problem .section-head h2 { max-width: 16ch; }
.problem__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.problem-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  overflow: hidden;
}
.problem-card__viz {
  height: 190px;
  padding: 22px;
  border-bottom: 1px solid var(--dark-line);
  background-image:
    linear-gradient(var(--dark-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
.problem-card__body { padding: 24px 26px 28px; }
.problem-card__num { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); }
.problem-card h3 { margin: 10px 0 12px; }
.problem-card p { color: var(--on-dark-muted); font-size: 0.96rem; }

/* Illustration 1 : attributions qui dépassent le CA réel */
.viz-attrib { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.viz-attrib__row { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.68rem; color: var(--on-dark-muted); }
.viz-attrib__bar { display: flex; height: 22px; border-radius: 6px; overflow: hidden; }
.viz-attrib__bar span { height: 100%; transform-origin: left; }
.viz-attrib__bar .s1 { width: 48%; background: var(--accent); }
.viz-attrib__bar .s2 { width: 36%; background: #FF9A6B; }
.viz-attrib__bar .s3 { width: 30%; background: var(--violet); }
.viz-attrib__bar--real span { width: 78%; background: rgba(255, 255, 255, 0.85); }
.viz-attrib__limit {
  position: absolute; top: 4px; bottom: 4px;
  left: calc(80px + (100% - 80px) * 0.78);
  border-left: 1.5px dashed var(--on-dark);
}
.viz-attrib__limit::after {
  content: "CA réel";
  position: absolute; top: -2px; left: 6px;
  font-family: var(--mono); font-size: 0.62rem; color: var(--on-dark);
  white-space: nowrap;
}
.viz-attrib__legend { display: flex; gap: 12px; font-family: var(--mono); font-size: 0.62rem; color: var(--on-dark-muted); }
.viz-attrib__legend i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; vertical-align: -1px; }

/* Illustration 2 : on coupe Meta, la marque chute */
.viz-cut { height: 100%; display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.viz-cut__toggle { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.7rem; color: var(--on-dark-muted); }
.switch { position: relative; width: 34px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--on-dark); }
.viz-cut svg { width: 100%; height: 100%; overflow: visible; }

/* Illustration 3 : leviers en sommeil */
.viz-sleep { height: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: center; }
.viz-sleep span {
  display: grid; place-items: center;
  padding: 14px 6px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  font-family: var(--mono); font-size: 0.66rem; color: rgba(244, 243, 239, 0.45);
  text-align: center;
}
.viz-sleep span.on { border: 1px solid var(--accent); color: var(--on-dark); background: rgba(244, 109, 51, 0.12); }

.problem__end {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 32px;
  border-top: 1px solid var(--dark-line);
}
.problem__end p { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.problem__end p span { color: var(--accent); }
.problem__end .btn--ghost { color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Expertises — cartes interactives
   -------------------------------------------------------------------------- */
.xp-row { display: flex; gap: 16px; }
.xp-row + .xp-row { margin-top: 16px; }
.xp-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex; flex-direction: column;
  min-height: 470px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: flex-grow 0.6s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.xp-card.is-active {
  flex-grow: 1.75;
  border-color: transparent;
  box-shadow: 0 30px 60px -36px rgba(14, 14, 19, 0.4), 0 0 0 1.5px var(--ink);
}
.xp-card__screen {
  position: relative;
  height: 200px;
  border-radius: 12px;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(14, 14, 19, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 14, 19, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  overflow: hidden;
  transition: background-color 0.5s var(--ease);
}
.xp-card.is-active .xp-card__screen { background-color: var(--dark); }
.xp-card__screen svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Couleurs des mini-visuels (clair → sombre à l'activation) */
.xv-muted { fill: rgba(14, 14, 19, 0.12); stroke: none; transition: fill 0.5s var(--ease); }
.xv-line { fill: none; stroke: rgba(14, 14, 19, 0.28); stroke-width: 1.5; transition: stroke 0.5s var(--ease); }
.xv-accent { fill: var(--accent); }
.xv-accent-line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.xv-text { font-family: var(--mono); font-size: 9px; fill: rgba(14, 14, 19, 0.55); transition: fill 0.5s var(--ease); }
.xp-card.is-active .xv-muted { fill: rgba(244, 243, 239, 0.16); }
.xp-card.is-active .xv-line { stroke: rgba(244, 243, 239, 0.35); }
.xp-card.is-active .xv-text { fill: rgba(244, 243, 239, 0.7); }
.xv-grow { transform-box: fill-box; transform-origin: bottom; transition: transform 0.7s var(--ease); }
.xp-card:not(.is-active) .xv-grow { transform: scaleY(0.55); }
.xv-draw { stroke-dasharray: 400; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease); }
.xp-card:not(.is-active) .xv-draw { stroke-dashoffset: 400; }

.xp-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 14px 12px; }
.xp-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.xp-card h3 { font-size: 1.35rem; }
.xp-card h3 button {
  all: unset;
  cursor: pointer;
}
.xp-card h3 button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.xp-card__plus {
  display: grid; place-items: center;
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), background-color 0.4s, border-color 0.4s;
}
.xp-card.is-active .xp-card__plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.xp-card__benefit { margin-top: 10px; color: var(--muted); font-size: 0.96rem; max-width: 30em; }
.xp-card__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: auto 0 0; padding: 18px 0 0;
  list-style: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.xp-card.is-active .xp-card__tags { opacity: 1; transform: none; transition-delay: 0.15s; }
.xp-card__tags li {
  padding: 6px 11px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.74rem;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   CTA intermédiaire (bandeau orange)
   -------------------------------------------------------------------------- */
.band {
  margin-inline: 12px;
  padding: clamp(40px, 6vw, 72px) 0;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--ink);
  overflow: hidden;
}
.band .glow span:nth-child(1) { background: #FFB08A; opacity: 0.7; }
.band .glow span:nth-child(2) { background: #E24E14; opacity: 0.6; }
.band .glow span:nth-child(3) { display: none; }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.band p { max-width: 24ch; font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.08; }

/* --------------------------------------------------------------------------
   Méthode — roadmap
   -------------------------------------------------------------------------- */
.roadmap { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 56px; }
.roadmap__track {
  position: absolute; top: 20px; left: 20px; right: 20px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.roadmap__track span {
  position: absolute; inset: 0;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
}
.step { position: relative; }
.step__dot {
  position: absolute; top: -56px; left: 0;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--line);
  font-family: var(--mono); font-size: 0.8rem; font-weight: 500;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s;
}
.step.is-reached .step__dot { background: var(--accent); border-color: var(--accent); }
.step__card {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step__meta { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.step h3 { margin: 12px 0 14px; font-size: 1.5rem; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* --------------------------------------------------------------------------
   Portrait
   -------------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__photo {
  width: 100%;
  justify-self: stretch;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--dark);
  overflow: hidden;
  display: grid; place-items: center;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about__photo .glow span:nth-child(1) { right: -30%; bottom: -20%; width: 90%; }
.about__photo .ph { font-size: 1rem; color: var(--on-dark); }
.about__badge {
  position: absolute !important;
  left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(14, 14, 19, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--on-dark);
  font-size: 0.88rem;
  font-weight: 500;
}
.about__badge .label { color: var(--on-dark-muted); font-size: 0.68rem; }
.about h2 { margin: 20px 0 28px; font-size: clamp(2rem, 3.4vw, 3rem); }
.about__text p + p { margin-top: 16px; }
.about__text p { color: var(--ink-2); }
.about__text .ph--block { margin-top: 24px; }
.about .text-link { margin-top: 32px; }

/* --------------------------------------------------------------------------
   Témoignages
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.quote__mark { font-size: 3.2rem; line-height: 0.6; font-weight: 600; color: var(--accent); }
.quote blockquote { margin: 18px 0 0; font-size: 1.08rem; line-height: 1.5; letter-spacing: -0.01em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.quote__avatar {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px dashed var(--accent);
  background: var(--accent-soft);
}
.quote figcaption span { display: block; line-height: 1.5; }

/* --------------------------------------------------------------------------
   CTA simple + FAQ
   -------------------------------------------------------------------------- */
.cta-simple {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.cta-simple h2 { max-width: 18ch; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }

.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__aside { position: sticky; top: 110px; }
.faq__aside h2 { margin: 20px 0 20px; }
.faq__aside p { color: var(--muted); margin-bottom: 28px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq__icon {
  position: relative;
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px;
  background: var(--ink);
}
.faq__icon::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }
.faq details[open] .faq__icon { background: var(--accent); border-color: var(--accent); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 56px 26px 0; color: var(--muted); }
.faq details[open] .faq__answer { animation: faq-in 0.45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   CTA final
   -------------------------------------------------------------------------- */
.final {
  margin: 0 12px;
  padding: clamp(96px, 13vw, 180px) 0;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--on-dark);
  text-align: center;
  overflow: hidden;
}
.final h2 { max-width: 16ch; margin: 0 auto 24px; font-size: clamp(2.4rem, 5.6vw, 5rem); letter-spacing: -0.05em; }
.final p { max-width: 34em; margin: 0 auto 36px; color: var(--on-dark-muted); }
.final .ph { color: var(--on-dark); }
.final .glow span:nth-child(1) { right: 20%; bottom: -60%; width: 70%; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { padding: 56px 0 40px; }
.footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer__top p { margin-top: 12px; color: var(--muted); font-size: 0.93rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; font-size: 0.93rem; }
.footer__nav a, .footer__bottom a { text-decoration: none; }
.footer__nav a:hover, .footer__bottom a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer__contact { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* --------------------------------------------------------------------------
   Apparition au défilement
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .fit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero__grid,
  .section-head--split,
  .about,
  .faq { grid-template-columns: minmax(0, 1fr); }
  .levers { max-width: 440px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fit, .problem__grid, .quotes { grid-template-columns: minmax(0, 1fr); }

  /* Expertises : cartes empilées, contenu toujours visible */
  .xp-row { flex-direction: column; }
  .xp-card { flex: none; min-height: 0; cursor: default; }
  .xp-card.is-active { box-shadow: none; border-color: var(--line); }
  .xp-card__screen { height: 160px; }
  .xp-card__tags { opacity: 1; transform: none; }
  .xp-card__plus { display: none; }
  .xp-card:not(.is-active) .xv-grow { transform: none; }
  .xp-card:not(.is-active) .xv-draw { stroke-dashoffset: 0; }

  .roadmap { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 60px; }
  .roadmap__track { top: 20px; bottom: 20px; left: 20px; right: auto; width: 2px; height: auto; }
  .roadmap__track span { transform-origin: top; transform: scaleY(var(--progress, 0)); }
  .step__dot { top: 20px; left: -60px; }

  .about__photo { max-width: 320px; justify-self: start; }
  .faq__aside { position: static; }
  .faq__answer { padding-right: 0; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { border-left: 0 !important; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .about__photo { width: 100%; max-width: 220px; margin-inline: auto !important; justify-self: center; }
  .about__badge { left: 10px; right: 10px; bottom: 10px; padding: 9px 12px; justify-content: center; }
  .about__badge .label { display: none; }
  /* Boutons pleine largeur : texte centré, flèche calée à droite */
  .hero__ctas .btn { position: relative; width: 100%; justify-content: center; padding-inline: 52px; text-align: center; }
  .hero__ctas .btn .btn__icon { position: absolute; right: 6px; top: 50%; margin-top: -20px; }
  .node { font-size: 0.7rem; padding: 5px 9px; }
  .node--core { font-size: 0.72rem; }
}

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

/* Mini-visuels : barres horizontales qui s'allongent à l'activation */
.xv-grow-x { transform-box: fill-box; transform-origin: left; transition: transform 0.7s var(--ease); }
.xp-card:not(.is-active) .xv-grow-x { transform: scaleX(0.45); }
@media (max-width: 900px) { .xp-card:not(.is-active) .xv-grow-x { transform: none; } }

/* --------------------------------------------------------------------------
   Bandeau cookies (assets/js/consent.js)
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 1000;
  width: min(420px, calc(100% - 32px));
  padding: 20px 20px 18px;
  border-radius: 20px;
  background: var(--dark);
  color: var(--on-dark);
  border: 1px solid var(--dark-line);
  box-shadow: 0 24px 60px -20px rgba(14, 14, 19, 0.6);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__title { margin-bottom: 6px; font-weight: 600; font-size: 1rem; }
.cookie-banner__text { font-size: 0.9rem; line-height: 1.5; color: var(--on-dark-muted); }
.cookie-banner__text a { color: var(--on-dark); }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.cookie-btn {
  min-height: 44px;
  border: 1px solid rgba(244, 243, 239, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark);
  font: 600 0.92rem/1 var(--font);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cookie-btn:hover { background: rgba(244, 243, 239, 0.1); border-color: var(--on-dark); }
@media (max-width: 560px) {
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); }
}
