/* =========================================================
   BAI Agency · "Une nuit" · v1
   ========================================================= */

:root {
  --ink: #06070F;
  --night: #0A0C1C;
  --night-2: #10132A;
  --card: rgba(255, 255, 255, .035);
  --card-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #F4F0E8;
  --muted: rgba(244, 240, 232, .74);   /* contraste ≥ 8:1 sur fond nuit */
  --faint: rgba(244, 240, 232, .6);    /* contraste ≥ 6:1 sur fond nuit */
  --amber: #FFB35C;
  --amber-2: #FF8A4C;
  --amber-glow: rgba(255, 179, 92, .35);
  --moon: #6FD8DC;                     /* turquoise du logo, éclairci pour le fond sombre */
  --teal: #02A8B0;
  --navy: #04234C;
  --shop: #95BF47;

  --f-display: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --p: 0;          /* progression du scroll (0 → 1), pilotée en JS */
  --stars: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong, b { font-weight: 600; color: var(--text); }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--amber); letter-spacing: 0; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: .78em; letter-spacing: .06em; }
.muted { color: var(--muted); }
.fineprint { font-size: 13px; color: var(--faint); margin: 18px 0 0; }
.link { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { text-decoration-thickness: 2px; }
.link--soft { color: inherit; }
.link--dark { color: #3a1020; }

/* ---------- Accessibilité ---------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200; padding: 12px 18px; border-radius: 10px;
  background: var(--amber); color: #1b0e02; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 16px; }
main:focus { outline: none; }

.motion-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px;
  background: rgba(10, 12, 28, .75); border: 1px solid var(--line-2); color: var(--muted);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 12.5px;
  transition: color .2s, border-color .2s, background .6s;
}
.motion-toggle:hover { color: var(--text); border-color: var(--text); }
.mt-icon { width: 12px; height: 12px; position: relative; }
.mt-icon::before, .mt-icon::after { content: ""; position: absolute; top: 0; width: 4px; height: 12px; border-radius: 1px; background: currentColor; }
.mt-icon::before { left: 1px; } .mt-icon::after { right: 1px; }
.motion-toggle[aria-pressed="true"] .mt-icon::after { display: none; }
.motion-toggle[aria-pressed="true"] .mt-icon::before { left: 2px; width: 0; height: 0; border-radius: 0; background: none; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.is-dawn-page .motion-toggle { background: rgba(255, 244, 230, .85); color: #2a1530; border-color: rgba(42, 21, 48, .2); }

/* Animations coupées (bouton pause ou réglage système) */
.motion-off *, .motion-off *::before, .motion-off *::after { animation-play-state: paused !important; }
.motion-off .marquee-track { animation: none; }
.motion-off .reveal { opacity: 1 !important; transform: none !important; }
.motion-off [data-split] .w > span { transform: none !important; }
.motion-off .grain { display: none; }

/* ---------- Ciel ---------- */
.sky {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, #0B2350 0%, transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--ink) 100%);
}
.sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--stars); transition: opacity .4s; }
.sky-glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.sky-glow--moon {
  width: 46vw; height: 46vw; right: -12vw; top: -18vw;
  background: radial-gradient(circle, rgba(111, 216, 220, .16), transparent 65%);
}
.sky-glow--lamp {
  width: 50vw; height: 50vw; left: -20vw; bottom: -25vw;
  background: radial-gradient(circle, rgba(255, 150, 80, .14), transparent 65%);
  transform: translateY(calc(var(--p) * -30vh));
}
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}

/* ---------- Horloge flottante ---------- */
.clock {
  position: fixed; left: 20px; bottom: 20px; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(10, 12, 28, .7); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-family: var(--f-mono); font-size: 12.5px; color: var(--muted);
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), background .6s, color .6s;
}
.clock.is-on { opacity: 1; transform: none; }
.clock-icon { color: var(--moon); font-size: 15px; width: 16px; text-align: center; }
.clock-time { color: var(--text); font-weight: 500; font-size: 14px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.clock-sep { width: 1px; height: 14px; background: var(--line-2); }
.clock b { color: var(--amber); font-weight: 500; font-variant-numeric: tabular-nums; }
.clock.is-dawn { background: rgba(255, 244, 230, .75); color: rgba(30, 20, 30, .7); border-color: rgba(0,0,0,.08); }
.clock.is-dawn .clock-time { color: #1a1220; }
.clock.is-dawn .clock-icon { color: var(--amber-2); }
.clock.is-dawn b { color: #c4521c; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 60;
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 1140px);
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, top .4s, transform .5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10, 12, 28, .62); border-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav.is-hidden { transform: translate(-50%, -120%); }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; margin-left: 4px; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; padding: 100px 24px 40px;
  display: flex; flex-direction: column; gap: 8px;
  background: rgba(6, 7, 15, .96); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: 30px; font-weight: 600; letter-spacing: -.03em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }

/* ---------- Boutons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em;
  transition: background .25s, color .25s, box-shadow .35s, border-color .25s;
  transform: translate(var(--mx), var(--my));
  white-space: nowrap;
}
.btn .arrow { transition: transform .35s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--small { padding: 10px 18px; font-size: 14px; }
.btn--xl { padding: 20px 34px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--light { background: var(--text); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--amber {
  background: linear-gradient(180deg, #FFC67E, var(--amber) 50%, var(--amber-2));
  color: #1b0e02;
  box-shadow: 0 0 0 1px rgba(255, 200, 140, .4) inset, 0 10px 40px -10px var(--amber-glow), 0 0 60px -20px var(--amber);
}
.btn--amber:hover { box-shadow: 0 0 0 1px rgba(255, 220, 170, .6) inset, 0 14px 50px -8px rgba(255, 160, 80, .55), 0 0 80px -16px var(--amber); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,.04); }
.btn--dark { background: #170f1c; color: #FFF4E6; box-shadow: 0 20px 50px -15px rgba(80, 30, 40, .55); }
.btn--dark:hover { background: #000; }

/* ---------- Typo commune ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .t {
  color: var(--amber); padding: 4px 10px; border: 1px solid rgba(255, 179, 92, .35);
  border-radius: 999px; background: rgba(255, 179, 92, .07); letter-spacing: .05em;
}
.h2 {
  margin: 0; max-width: 18ch;
  font-size: clamp(36px, 5.6vw, 76px); line-height: 1; letter-spacing: -.045em; font-weight: 600;
}
.h2 em { font-size: 1.06em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 52ch; margin: 26px 0 0; }

/* Split reveal — le contenu reste visible si JavaScript est désactivé (robots, lecteurs, agents IA) */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .w > span { display: inline-block; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
@media (scripting: enabled) {
  [data-split] .w > span { transform: translateY(105%); }
  [data-split].in .w > span { transform: none; }
  .reveal { opacity: 0; transform: translateY(26px); }
  .reveal.in { opacity: 1; transform: none; }
}

/* Spotlight (halo qui suit la souris) */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 179, 92, .1), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.spotlight:hover::before { opacity: 1; }

.section { padding: clamp(100px, 14vw, 180px) 0; position: relative; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh; position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(30px, 5vw, 80px);
  max-width: 1280px; margin: 0 auto; padding: 130px var(--gutter) 110px;
}
.hero-h1 { margin: 0; font: inherit; }
.hero-h1 .eyebrow { display: flex; width: fit-content; }
/* L'heure est un décor : en pseudo-élément, elle n'est ni lue ni indexée comme partie du titre */
.eyebrow[data-time]::before {
  content: attr(data-time);
  color: var(--amber); padding: 4px 10px; border: 1px solid rgba(255, 179, 92, .35);
  border-radius: 999px; background: rgba(255, 179, 92, .07); letter-spacing: .05em;
}
.hero-title {
  display: block;
  margin: 0; font-size: clamp(44px, 6.4vw, 96px); line-height: .96; letter-spacing: -.055em; font-weight: 600;
}
.hero-title em { font-size: 1.08em; letter-spacing: -.02em; padding-right: .06em; }
.hero-sub { font-size: clamp(17px, 1.45vw, 20px); color: var(--muted); max-width: 50ch; margin: 30px 0 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 30px 0 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }

.hero-visual { position: relative; }
.inbox {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 25, 52, .78), rgba(12, 14, 32, .82));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255,255,255,.02) inset, 0 0 120px -40px rgba(185, 194, 255, .35);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform 1s var(--ease);
}
.hero-visual:hover .inbox { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.inbox-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.inbox-dots { display: flex; gap: 6px; }
.inbox-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.inbox-title { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--shop); font-weight: 500; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--shop); box-shadow: 0 0 0 0 rgba(149, 191, 71, .6); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(149, 191, 71, .55); } 100% { box-shadow: 0 0 0 10px rgba(149, 191, 71, 0); } }

.inbox-body { padding: 22px 20px 24px; min-height: 470px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 92%; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.msg.in { opacity: 1; transform: none; }
.msg-meta { font-family: var(--f-mono); font-size: 11px; color: var(--faint); margin-bottom: 6px; letter-spacing: .03em; }
.msg-bubble { padding: 13px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.msg--in .msg-bubble { background: rgba(255,255,255,.07); border: 1px solid var(--line); border-top-left-radius: 4px; }
.msg--out { align-self: flex-end; }
.msg--out .msg-meta { text-align: right; color: var(--amber); }
.msg--out .msg-bubble {
  background: linear-gradient(160deg, rgba(255, 179, 92, .2), rgba(255, 138, 76, .1));
  border: 1px solid rgba(255, 179, 92, .35); border-top-right-radius: 4px;
}
.caret { display: inline-block; width: 2px; height: 1em; background: var(--amber); vertical-align: -2px; margin-left: 1px; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.proc { display: flex; flex-wrap: wrap; gap: 6px; opacity: 0; transition: opacity .4s; }
.proc.in { opacity: 1; }
.proc-step {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; color: var(--faint); border: 1px dashed var(--line-2);
  transition: color .3s, border-color .3s, background .3s;
}
.proc-step::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.proc-step.run { color: var(--moon); border-color: rgba(185, 194, 255, .4); animation: pulse 1s infinite; }
.proc-step.done { color: var(--shop); border-style: solid; border-color: rgba(149, 191, 71, .35); background: rgba(149, 191, 71, .06); animation: none; }
.proc-step.alert { color: var(--amber); border-style: solid; border-color: rgba(255, 179, 92, .45); background: rgba(255, 179, 92, .08); animation: none; }
@keyframes pulse { 50% { opacity: .5; } }

.order-chip {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
  background: rgba(149, 191, 71, .07); border: 1px solid rgba(149, 191, 71, .25); font-size: 13px;
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.order-chip.in { opacity: 1; transform: none; }
.order-chip small { display: block; color: var(--muted); font-size: 12px; }
.order-chip--alert { background: rgba(255, 179, 92, .07); border-color: rgba(255, 179, 92, .3); }
.shopify-badge--alert { background: var(--amber); color: #1b0e02; }
.shopify-badge {
  width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center;
  background: var(--shop); color: #10140a; font-weight: 700; font-size: 15px;
}
.sent { align-self: flex-end; font-family: var(--f-mono); font-size: 11px; color: var(--shop); opacity: 0; transition: opacity .4s; }
.sent.in { opacity: 1; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(16, 19, 42, .85); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.7); font-size: 13.5px;
  animation: float 6s ease-in-out infinite;
}
.float-chip b { display: block; font-size: 14px; }
.float-chip small { color: var(--muted); font-size: 12px; }
.float-chip .emoji { font-size: 22px; }
.float-chip .mono { font-size: 18px; color: var(--amber); }
.float-chip--sleep { left: -46px; bottom: -30px; }
.float-chip--time { right: -26px; top: -26px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
}
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(var(--amber), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 50s linear infinite; }
.marquee span { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.6vw, 34px); color: var(--muted); white-space: nowrap; }
.marquee b { color: var(--shop); font-size: 16px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(149, 191, 71, .35); flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   CONSTAT
   ========================================================= */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 70px; }
.pain {
  padding: 34px 30px 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: border-color .3s, transform .5s var(--ease);
}
.pain:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pain-big {
  display: block; margin-top: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(48px, 5vw, 68px); line-height: 1;
  color: var(--amber); letter-spacing: -.02em; margin-bottom: 34px;
  background: linear-gradient(180deg, #FFD9A8, var(--amber-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pain h3 { font-size: 21px; letter-spacing: -.02em; margin: 0 0 10px; font-weight: 600; }
.pain p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* =========================================================
   TRI
   ========================================================= */
.triage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.triage-stats { display: flex; gap: 44px; margin-top: 40px; }
.ts-num { display: block; font-size: clamp(56px, 6vw, 84px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--shop); font-variant-numeric: tabular-nums; }
.ts-num--amber { color: var(--amber); }
.ts-label { font-size: 14px; color: var(--muted); }
.triage-list {
  list-style: none; margin: 0;
  display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: var(--radius);
  background: rgba(12, 14, 32, .65); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.mail {
  display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 14px;
  padding: 13px 14px; border-radius: 12px; font-size: 14px; background: rgba(255,255,255,.035);
  border: 1px solid transparent; position: relative; overflow: hidden;
  transition: opacity .6s var(--ease), background .5s, border-color .5s, transform .6s var(--ease), filter .6s;
}
.m-from { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-subj { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--faint); transition: all .4s; }
.mail::after { /* barre de "traitement" */
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--shop); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.mail.is-done { opacity: .62; filter: saturate(.5); transform: scale(.985); }
.mail.is-done::after { transform: scaleX(1); }
.mail.is-done .m-tag { background: rgba(149, 191, 71, .14); color: var(--shop); }
.mail.is-done .m-subj { text-decoration: line-through; text-decoration-color: rgba(149, 191, 71, .6); }
.mail.is-you { background: rgba(255, 179, 92, .09); border-color: rgba(255, 179, 92, .45); box-shadow: 0 0 40px -12px var(--amber-glow); transform: scale(1.02); }
.mail.is-you .m-tag { background: var(--amber); color: #1b0e02; }

/* =========================================================
   MÉTHODE (pin)
   ========================================================= */
.steps { height: 320vh; position: relative; }
.steps-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.h2--steps { font-size: clamp(34px, 4.4vw, 60px); max-width: 16ch; }
.steps-list { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-direction: column; gap: 6px; }
.steps-list li {
  display: flex; gap: 20px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  opacity: .55; transition: opacity .5s, background .5s, border-color .5s;
}
.steps-list li.is-active { opacity: 1; background: var(--card); border-color: var(--line); }
.step-n { font-family: var(--f-mono); font-size: 13px; color: var(--amber); padding-top: 4px; }
.steps-list h3 { margin: 0; font-size: 21px; letter-spacing: -.02em; font-weight: 600; }
.steps-list p { margin: 0; color: var(--muted); font-size: 15px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.steps-list li.is-active p { max-height: 140px; opacity: 1; margin-top: 8px; }
.steps-progress { height: 2px; background: var(--line); border-radius: 2px; margin-top: 28px; overflow: hidden; }
.steps-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), var(--amber-2)); box-shadow: 0 0 12px var(--amber); }

.stage { position: relative; height: 480px; }
.stage::before { /* halo */
  content: ""; position: absolute; inset: 10% 5%; border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 194, 255, .18), transparent 65%); filter: blur(30px);
}
.scene {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transform: translateY(30px) scale(.96); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease);
  pointer-events: none;
}
.scene.is-active { opacity: 1; transform: none; filter: none; }
.card-ui {
  width: min(100%, 440px); padding: 24px; border-radius: var(--radius); position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(24, 27, 56, .9), rgba(13, 15, 34, .92));
  border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px rgba(0,0,0,.8);
}
.ui-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ui-head b { display: block; font-size: 15px; }
.ui-head small { color: var(--faint); font-size: 12px; font-family: var(--f-mono); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(185, 194, 255, .2); color: var(--moon); font-weight: 600; flex: none; }
.avatar--brand { background: rgba(255, 179, 92, .2); color: var(--amber); }
.ui-msg { margin: 0; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 15px; }
.ui-msg--reply { background: rgba(255, 179, 92, .08); border-color: rgba(255, 179, 92, .3); }
.ui-classify { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.chip { padding: 7px 12px; border-radius: 999px; font-size: 12.5px; border: 1px solid var(--line-2); color: var(--faint); }
.chip--on { color: #10140a; background: var(--shop); border-color: var(--shop); font-weight: 600; }
.scene.is-active .chip--on { animation: chipIn .6s .5s var(--ease) both; }
@keyframes chipIn { from { transform: scale(.7); opacity: 0; } }
.ui-scan { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(185, 194, 255, .12), transparent); animation: scan 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(-60px); } 100% { transform: translateY(260px); } }
.pill-ok, .pill-draft { margin-left: auto; font-family: var(--f-mono); font-size: 11px; padding: 5px 10px; border-radius: 999px; }
.pill-ok { color: var(--shop); background: rgba(149, 191, 71, .12); border: 1px solid rgba(149, 191, 71, .3); }
.pill-draft { color: var(--amber); background: rgba(255, 179, 92, .1); border: 1px solid rgba(255, 179, 92, .3); }
.order { margin: 0; display: grid; gap: 2px; }
.order div { display: flex; justify-content: space-between; padding: 12px 2px; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.order dt { color: var(--muted); }
.order dd { margin: 0; font-weight: 500; }
.scene.is-active .order div { animation: rowIn .5s var(--ease) both; }
.scene.is-active .order div:nth-child(2) { animation-delay: .12s; }
.scene.is-active .order div:nth-child(3) { animation-delay: .24s; }
.scene.is-active .order div:nth-child(4) { animation-delay: .36s; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } }
.status { color: var(--shop); }
.status::before { content: "● "; }
.order-bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 18px; overflow: hidden; }
.order-bar i { display: block; height: 100%; width: 72%; background: var(--shop); border-radius: 4px; }
.scene.is-active .order-bar i { animation: bar 1.2s .3s var(--ease) both; }
@keyframes bar { from { width: 0; } }
.ui-actions { display: flex; gap: 8px; margin-top: 16px; }
.ui-btn { padding: 10px 14px; border-radius: 10px; font-size: 13.5px; border: 1px solid var(--line-2); color: var(--muted); cursor: default; }
.ui-btn--ok { background: var(--shop); border-color: var(--shop); color: #10140a; font-weight: 600; }
.scene.is-active .ui-btn--ok { animation: press 2.4s 1s infinite; }
@keyframes press { 0%, 70%, 100% { transform: none; box-shadow: none; } 78% { transform: scale(.95); box-shadow: 0 0 0 6px rgba(149, 191, 71, .2); } }
.ui-note { margin: 14px 0 0; font-size: 12.5px; color: var(--faint); font-family: var(--f-mono); }

/* =========================================================
   DÉMO VIDÉO
   ========================================================= */
.video { margin-top: 60px; border-radius: 28px; padding: 1px; position: relative;
  background: linear-gradient(140deg, rgba(255, 179, 92, .6), rgba(185, 194, 255, .15) 40%, rgba(255,255,255,.05) 60%, rgba(255, 138, 76, .5));
  box-shadow: 0 50px 140px -40px rgba(255, 140, 70, .25);
}
.video-frame { aspect-ratio: 16 / 9; border-radius: 27px; overflow: hidden; background: #080915; position: relative; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(60% 70% at 50% 55%, rgba(255, 150, 80, .16), transparent 70%),
    radial-gradient(40% 50% at 80% 20%, rgba(185, 194, 255, .12), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 80px);
}
.video-orbit { position: absolute; width: 340px; height: 340px; }
.video-orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 179, 92, .18); animation: orbit 4s var(--ease) infinite; }
.video-orbit i:nth-child(2) { animation-delay: 1.33s; } .video-orbit i:nth-child(3) { animation-delay: 2.66s; }
@keyframes orbit { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.play {
  --mx: 0px; --my: 0px;
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: linear-gradient(180deg, #FFC67E, var(--amber-2)); box-shadow: 0 0 80px -10px var(--amber), 0 0 0 10px rgba(255, 179, 92, .1);
  transform: translate(var(--mx), var(--my)); transition: box-shadow .3s;
}
.play svg { width: 34px; height: 34px; fill: #1b0e02; margin-left: 5px; }
.play:hover { box-shadow: 0 0 120px -5px var(--amber), 0 0 0 16px rgba(255, 179, 92, .12); }
.video-meta { position: absolute; left: 28px; bottom: 24px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.video-meta .mono { color: var(--amber); font-size: 11.5px; }
.video-notice { margin: 16px 0 0; font-size: 13.5px; color: var(--faint); max-width: 70ch; }

/* =========================================================
   DUO
   ========================================================= */
.duo { display: grid; grid-template-columns: 1fr 140px 1fr; align-items: center; margin-top: 70px; }
.duo-card { padding: 36px 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); min-height: 280px; }
.duo-card--bai { background: linear-gradient(160deg, rgba(255, 179, 92, .1), rgba(255, 255, 255, .02)); border-color: rgba(255, 179, 92, .3); }
.duo-top { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; min-height: 30px; }
.duo-logo { height: 30px; width: auto; }
.duo-card h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.035em; margin: 0 0 12px; font-weight: 600; }
.duo-card p { color: var(--muted); margin: 0; }
.duo-link { position: relative; height: 40px; }
.duo-link svg { width: 100%; height: 100%; overflow: visible; }
.duo-link path { fill: none; stroke: rgba(255, 179, 92, .5); stroke-width: 1.5; stroke-dasharray: 4 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.duo-pulse { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 16px var(--amber); top: 15px; left: 0; offset-path: path("M2 20 C 30 0, 90 40, 118 20"); offset-distance: 0%; animation: travel 2.2s var(--ease) infinite; }
@supports not (offset-path: path("M0 0")) { .duo-pulse { display: none; } }
.duo-pulse { top: 0; left: 0; margin: -5px 0 0 -5px; }
@keyframes travel { to { offset-distance: 100%; } }

/* =========================================================
   CALCULATEUR
   ========================================================= */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-top: 60px; }
.calc-inputs { padding: 36px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 34px; }
.range { display: block; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; font-size: 15.5px; }
.range output { font-family: var(--f-mono); font-size: 20px; color: var(--amber); font-variant-numeric: tabular-nums; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; outline: none;
  background: linear-gradient(90deg, var(--amber) 0 var(--fill, 50%), rgba(255,255,255,.1) var(--fill, 50%));
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; cursor: grab;
  background: #FFF4E6; border: 6px solid var(--amber); box-shadow: 0 0 0 6px rgba(255, 179, 92, .15), 0 4px 14px rgba(0,0,0,.5);
  transition: transform .2s;
}
input[type=range]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #FFF4E6; border: 6px solid var(--amber); cursor: grab; }
.calc-result {
  padding: 36px; border-radius: var(--radius); position: relative; overflow: hidden;
  background: linear-gradient(170deg, rgba(255, 179, 92, .14), rgba(16, 19, 42, .8) 55%); border: 1px solid rgba(255, 179, 92, .3);
  display: flex; flex-direction: column;
}
.calc-kicker { margin: 0; text-transform: uppercase; }
.calc-big { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 4px; }
.calc-big span { font-size: clamp(80px, 9vw, 128px); font-weight: 600; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.calc-big small { font-family: var(--f-serif); font-style: italic; font-size: 32px; color: var(--amber); }
.calc-evenings { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 10px; min-height: 22px; }
.calc-evenings i { width: 18px; height: 18px; border-radius: 50%; position: relative; overflow: hidden; background: var(--amber); box-shadow: 0 0 10px var(--amber-glow); animation: popIn .4s var(--ease) both; }
.calc-evenings i::after { content: ""; position: absolute; width: 100%; height: 100%; border-radius: 50%; background: #1a1730; left: 40%; top: -25%; }
@keyframes popIn { from { transform: scale(0); } }
.calc-line { margin: 0 0 24px; color: var(--muted); }
.calc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: auto 0 22px; }
.calc-compare div { padding: 14px 16px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.calc-compare b { font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* =========================================================
   OFFRE
   ========================================================= */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.timeline { list-style: none; padding: 0; margin: 40px 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--amber), rgba(255, 179, 92, .1)); }
.timeline li { position: relative; padding: 0 0 26px 36px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); border: 2px solid var(--amber); }
.timeline li:last-child::before { background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.timeline .mono { color: var(--amber); font-size: 11.5px; }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }

.price-card { position: sticky; top: 110px; border-radius: 28px; padding: 1.5px; overflow: hidden; isolation: isolate; }
.price-card::before { /* bordure lumineuse qui tourne */
  content: ""; position: absolute; inset: -50%; z-index: -1;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 55%, var(--amber) 70%, #FFE2B8 75%, var(--amber-2) 80%, transparent 92%);
  animation: spin 5s linear infinite;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }
@supports not (background: conic-gradient(from var(--angle), red, blue)) { .price-card::before { animation: rotate 5s linear infinite; } }
@keyframes rotate { to { transform: rotate(360deg); } }
.price-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 28px; border: 1px solid var(--line-2); }
.price-inner { border-radius: 27px; padding: 36px; background: linear-gradient(180deg, #13162F, #0B0D1F); }
.price-head { display: flex; justify-content: space-between; align-items: center; }
.badge { margin: 0; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; line-height: 1.4; font-weight: 600; color: #1b0e02; background: var(--amber); }
.price-tax { margin: 14px 0 0; font-size: 12.5px; color: var(--faint); text-align: center; }
.price { display: flex; align-items: baseline; gap: 18px; margin-top: 30px; }
.price-old { font-size: 26px; color: var(--faint); position: relative; }
.price-old::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 2px; background: var(--amber-2); transform: rotate(-8deg) scaleX(0); transform-origin: left; transition: transform .7s .4s var(--ease); }
.price-card.in .price-old::after { transform: rotate(-8deg) scaleX(1); }
.price-new { font-size: clamp(64px, 6.4vw, 88px); font-weight: 600; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-new small { font-size: 18px; letter-spacing: 0; color: var(--muted); margin-left: 6px; font-weight: 500; }
.price-sub { color: var(--muted); margin: 10px 0 0; }
.checks { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 26px; }
.checks li { position: relative; padding-left: 32px; font-size: 15px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #10140a; background: var(--shop); }
.guarantee { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(149, 191, 71, .07); border: 1px solid rgba(149, 191, 71, .25); margin-bottom: 22px; }
.guarantee b { display: block; font-size: 15px; }
.guarantee small { color: var(--muted); font-size: 13px; }
.shield svg { width: 30px; height: 30px; fill: rgba(149, 191, 71, .2); stroke: var(--shop); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* =========================================================
   FONDATEUR
   ========================================================= */
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.founder-photo {
  margin: 0; aspect-ratio: 4 / 5; border-radius: 28px; position: relative; overflow: hidden;
  background: #1a1d3d; border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 120px -40px rgba(255, 179, 92, .35);
}
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.founder-photo::after { /* lumière chaude de fin de nuit */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 7, 15, .55)), radial-gradient(80% 60% at 100% 0%, rgba(255, 179, 92, .18), transparent 60%);
}
.founder-tag { position: absolute; left: 20px; bottom: 20px; z-index: 1; padding: 7px 12px; border-radius: 999px; background: rgba(6, 7, 15, .72); color: var(--text); border: 1px solid var(--line-2); backdrop-filter: blur(8px); font-size: 11px; text-transform: uppercase; }
.founder-text { color: var(--muted); font-size: 18px; margin: 26px 0 0; max-width: 58ch; }
.founder .h2 { max-width: 20ch; }
.signature { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.sig { font-family: var(--f-serif); font-style: italic; font-size: 38px; color: var(--amber); line-height: 1; }
.sig-links { display: flex; gap: 20px; font-size: 14.5px; color: var(--muted); }
.sig-links a:hover { color: var(--text); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { margin: 0; font: inherit; }
.q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; letter-spacing: -.015em; transition: color .2s; }
.q:hover { color: var(--amber); }
.q i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; position: relative; transition: transform .45s var(--ease), background .3s, border-color .3s; }
.q i::before, .q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.q[aria-expanded="true"] i { transform: rotate(45deg); background: var(--amber); border-color: var(--amber); color: var(--ink); }
.a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.a > div { overflow: hidden; }
.a p { margin: 0; padding: 0 50px 26px 4px; color: var(--muted); }
.qa.is-open .a { grid-template-rows: 1fr; }

/* =========================================================
   AUBE
   ========================================================= */
/* Le dégradé (en px) garantit que le texte sombre est toujours posé sur la partie claire du ciel */
.dawn {
  --dawn-top: 380px;
  position: relative; overflow: hidden; color: #1a1220;
  padding: var(--dawn-top) 0 clamp(110px, 12vw, 160px);
  background: linear-gradient(180deg, var(--ink) 0, #1d1840 90px, #5a3468 190px, #C0687A 280px, #F2A07C 350px, #FFC896 560px, #FFEBD0 100%);
}
.dawn :focus-visible, .footer :focus-visible, .legal-page :focus-visible { outline-color: #1a1220; }
.sun {
  position: absolute; left: 50%; bottom: 0; width: min(120vw, 1100px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, calc(62% - var(--sun, 0) * 22%));
  background: radial-gradient(circle, #FFF8E8 0%, #FFE2B0 28%, rgba(255, 200, 140, .5) 50%, transparent 70%);
  filter: blur(6px); pointer-events: none;
}
.dawn-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.eyebrow--dark { color: #3a2030; }
.eyebrow--dark .t { color: #fff; border-color: transparent; background: #1a1220; }
.dawn-title { margin: 0; font-size: clamp(42px, 6vw, 92px); line-height: .95; letter-spacing: -.055em; font-weight: 600; color: #1a1220; max-width: 13ch; }
.dawn-title em { color: #7A220E; }
.dawn-sub { max-width: 50ch; margin: 28px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: #2f1b2b; }
.dawn-alt { margin: 26px 0 0; font-size: 15.5px; color: #2f1b2b; }

/* ---------- Formulaire ---------- */
.form {
  padding: clamp(24px, 3vw, 36px); border-radius: 26px;
  background: rgba(255, 252, 247, .82); border: 1px solid rgba(42, 21, 48, .14);
  box-shadow: 0 40px 90px -40px rgba(120, 50, 40, .45);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.form-title { margin: 0; font-size: 26px; letter-spacing: -.03em; font-weight: 600; }
.form-hint { margin: 4px 0 22px; font-size: 14px; color: #4a3442; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; color: #1a1220; }
.label-note { font-weight: 400; color: #4a3442; font-size: 13px; }
.field input {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; font: inherit; font-size: 16px; color: #1a1220;
  background: #fff; border: 1.5px solid rgba(42, 21, 48, .5);
  transition: border-color .2s, box-shadow .2s;
}
.field input:hover { border-color: #1a1220; }
.field input:focus { outline: none; border-color: #1a1220; box-shadow: 0 0 0 4px rgba(138, 42, 18, .25); }
.field input[aria-invalid="true"] { border-color: #A1121F; background: #FFF6F6; }
.field-error { margin: 6px 0 0; font-size: 13.5px; color: #A1121F; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.field-error::before { content: "⚠ "; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 6px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 14px 0 0; font-size: 15px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 14px 16px; border-radius: 12px; background: #E9F5DA; color: #1F4510; border: 1px solid #9BC46A; }
.form-status.is-err { padding: 14px 16px; border-radius: 12px; background: #FDECEC; color: #7A0E17; border: 1px solid #E9A1A7; }
.form-privacy { margin: 16px 0 0; font-size: 12.5px; line-height: 1.55; color: #4a3442; }

/* ---------- Footer ---------- */
.footer { background: #FFEBD0; color: #1a1220; padding: 34px 0 96px; border-top: 1px solid rgba(42, 21, 48, .12); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; font-size: 14px; }
.footer .logo img { height: 44px; }
.footer-copy { margin: 0; color: #3a2434; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { text-underline-offset: 3px; }
.footer nav a:hover, .footer-copy a:hover { text-decoration: underline; }

/* =========================================================
   PAGES LÉGALES
   ========================================================= */
.legal-page { background: #FFF9F1; color: #1a1220; }
.legal-nav { position: sticky; top: 0; z-index: 20; background: var(--ink); border-bottom: 1px solid var(--line); }
.legal-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.legal-nav .back { color: var(--text); font-size: 14.5px; }
.legal-nav .back:hover { text-decoration: underline; }
.legal-nav :focus-visible { outline-color: var(--amber); }
.legal-hero { background: linear-gradient(180deg, var(--ink), #1d1840 55%, #5a3468); color: var(--text); padding: 70px 0 60px; }
.legal-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 60px); letter-spacing: -.045em; line-height: 1.02; font-weight: 600; }
.legal-hero p { margin: 14px 0 0; color: var(--muted); }
.legal-body { padding: 56px 0 90px; }
.legal-body .wrap { max-width: 820px; }
.legal-toc { padding: 20px 24px; border-radius: 16px; background: #fff; border: 1px solid rgba(42, 21, 48, .12); margin-bottom: 40px; }
.legal-body .legal-toc h2 { margin: 0 0 8px; font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-family: var(--f-mono); }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; font-size: 15px; }
.legal-body h2 { font-size: 26px; letter-spacing: -.025em; margin: 48px 0 12px; font-weight: 600; scroll-margin-top: 90px; }
.legal-body h3 { font-size: 18px; margin: 26px 0 8px; font-weight: 600; }
.legal-body p, .legal-body li { color: #2f1b2b; font-size: 16.5px; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: #8A2A12; text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: #1a1220; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; background: #fff; border-radius: 12px; overflow: hidden; }
.legal-table caption { text-align: left; font-weight: 600; padding: 0 0 8px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid rgba(42, 21, 48, .12); color: #2f1b2b; }
.legal-table th { background: #F6EBDD; color: #1a1220; font-weight: 600; }
.table-scroll { overflow-x: auto; }
.callout { padding: 18px 20px; border-radius: 14px; background: #F3F9EC; border: 1px solid #B9D79A; margin: 20px 0; }
.callout p { margin: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav .btn--small { margin-left: auto; }
  .burger { display: block; }
  .float-chip--sleep { left: -10px; }
  .float-chip--time { right: -6px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; min-height: auto; gap: 60px; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .inbox { transform: none; }
  .scroll-hint { display: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .triage, .offer-grid, .founder, .faq-grid, .calc { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; gap: 0; }
  .duo-link { height: 70px; transform: rotate(90deg); width: 70px; margin: 0 auto; }
  .price-card { position: relative; top: 0; }
  .founder-photo { max-width: 380px; aspect-ratio: 1; }
  .dawn { --dawn-top: 360px; }
  .dawn-inner { grid-template-columns: 1fr; gap: 36px; }
  .legal-toc ol { columns: 1; }

  /* Méthode : le pin reste, mise en page verticale */
  .steps { height: 300vh; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; align-content: center; }
  .steps-sticky { align-items: flex-start; padding-top: 86px; }
  .h2--steps { font-size: 28px; }
  .steps-copy .eyebrow { margin-bottom: 14px; }
  .steps-list { margin-top: 16px; position: relative; min-height: 178px; }
  .steps-list li { position: absolute; inset: 0 0 auto 0; opacity: 0; padding: 14px 16px; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease); }
  .steps-list li.is-active { opacity: 1; transform: none; }
  .steps-list li p { max-height: none; opacity: 1; margin-top: 6px; font-size: 14.5px; }
  .steps-progress { margin-top: 0; }
  .stage { height: 350px; order: 2; }
  .scene { place-items: start center; }
  .card-ui { padding: 18px; }
  .order div { padding: 9px 2px; font-size: 13.5px; }
}
@media (max-width: 900px) and (max-height: 760px) {
  .steps-list { min-height: 76px; }
  .steps-list li p { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { padding: 8px 8px 8px 16px; gap: 10px; }
  .nav .btn--small { display: none; }
  .burger { margin-left: auto; }
  .hero-title { font-size: 42px; }
  .hero-ctas .btn { width: 100%; }
  .float-chip { padding: 10px 12px; }
  .float-chip--sleep { left: -4px; bottom: -28px; }
  .float-chip--time { right: -4px; top: -34px; }
  .inbox-body { min-height: 430px; padding: 18px 14px; }
  .mail { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .m-from { grid-column: 1; }
  .m-subj { grid-column: 1; grid-row: 2; }
  .m-tag { grid-column: 2; grid-row: 1 / span 2; }
  .triage-stats { gap: 28px; }
  .calc-inputs, .calc-result, .price-inner { padding: 24px; }
  .video { margin-top: 40px; border-radius: 20px; }
  .video-frame { border-radius: 19px; aspect-ratio: 4 / 3.4; }
  .play { width: 78px; height: 78px; }
  .video-meta { left: 18px; bottom: 16px; font-size: 13px; }
  .clock { left: 12px; bottom: 12px; font-size: 11.5px; padding: 8px 13px 8px 10px; }
  .clock-count { display: none; } .clock-sep { display: none; }
  .motion-toggle { right: 12px; bottom: 12px; width: 40px; padding: 0; justify-content: center; }
  .motion-toggle .mt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .logo img { height: 36px; }
  .duo-card { padding: 28px 24px; min-height: 0; }
  .a p { padding-right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, [data-split] .w > span { opacity: 1; transform: none; }
}
