/* =====================================================================
   POPOTE — landing v2 « Du fourneau à la porte »
   Évolution du système v1 (popote.css) : même ADN — papier chaud,
   vert popote, bande charbon, vapeur — mais page vivante et narrative.
   Nouveautés v2 :
     · hero « poste de commande » (carte + fil de livraison en direct)
     · scrollytelling « Une journée avec Popote »
     · démo animée allergies × menus
     · bande confiance Loi 25
     · nav mobile (drawer) + barre de progression de lecture
     · grain de papier, boutons magnétiques, tilt 3D, reduced-motion
   ===================================================================== */

:root {
  /* --- warm paper & ink (héritage v1, validé WCAG) --- */
  --paper:        oklch(0.991 0.006 78);
  --paper-2:      oklch(0.972 0.011 72);
  --warm:         oklch(0.955 0.018 66);
  --warm-2:       oklch(0.935 0.024 62);
  --line:         oklch(0.905 0.013 66);
  --line-2:       oklch(0.855 0.018 60);

  --ink-0:        oklch(0.235 0.018 48);
  --ink-1:        oklch(0.36 0.02 48);
  --ink-2:        oklch(0.5 0.018 50);
  --ink-3:        oklch(0.64 0.015 54);
  --ink-4:        oklch(0.8 0.012 60);

  /* --- charbon (bande sombre) --- */
  --night:        oklch(0.255 0.015 46);
  --night-2:      oklch(0.305 0.017 46);
  --night-3:      oklch(0.355 0.018 46);
  --night-ink:    oklch(0.82 0.018 66);
  --night-ink-2:  oklch(0.66 0.02 60);
  --night-line:   oklch(0.4 0.02 50);

  /* --- VERT POPOTE (marque) --- */
  --tom:          oklch(0.555 0.13 156);
  --tom-deep:     oklch(0.465 0.119 157);
  --tom-ink:      oklch(0.39 0.107 158);
  --tom-soft:     oklch(0.95 0.034 156);
  --tom-mist:     oklch(0.975 0.018 156);
  --tom-line:     oklch(0.85 0.062 156);

  /* --- HERB (vert vif — coches, live) --- */
  --herb:         oklch(0.62 0.12 152);
  --herb-ink:     oklch(0.43 0.105 154);
  --herb-soft:    oklch(0.95 0.045 152);
  --herb-line:    oklch(0.85 0.07 152);

  /* --- OR / BEURRE (chaleur, appétit) --- */
  --butter:       oklch(0.79 0.135 76);
  --butter-ink:   oklch(0.5 0.115 64);
  --butter-soft:  oklch(0.955 0.055 84);
  --butter-line:  oklch(0.88 0.08 80);

  /* --- BLEU (accent froid, 3e route) --- */
  --bleu:         oklch(0.6 0.115 240);
  --bleu-ink:     oklch(0.46 0.11 244);
  --bleu-soft:    oklch(0.945 0.04 240);

  /* --- TOMATE (alerte douce — absences, signalements) --- */
  --rouge:        oklch(0.6 0.16 32);
  --rouge-ink:    oklch(0.48 0.15 32);
  --rouge-soft:   oklch(0.95 0.035 32);

  --font-sans:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --shadow-sm:  0 1px 2px rgba(60,30,12,0.05);
  --shadow-md:  0 6px 18px rgba(60,30,12,0.07), 0 1px 3px rgba(60,30,12,0.05);
  --shadow-lg:  0 28px 56px rgba(54,26,10,0.13), 0 8px 20px rgba(54,26,10,0.07);
  --shadow-xl:  0 48px 90px rgba(54,26,10,0.16), 0 18px 36px rgba(54,26,10,0.08);
  --shadow-tom: 0 14px 30px oklch(0.555 0.115 156 / 0.32);

  --ease-out:   cubic-bezier(.2,.7,.2,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);

  --maxw: 1240px;
  --gutter: 40px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink-0);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--tom-soft); color: var(--tom-ink); }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* --- grain de papier (texture globale, très subtile) --- */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none;
  opacity: 0.3;
  mix-blend-mode: multiply;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- skip link (a11y) --- */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--ink-0); color: var(--paper);
  padding: 10px 18px; border-radius: 0 0 12px 12px;
  font-weight: 600; font-size: 14px;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 0; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 11px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid var(--line-2);
  background: var(--paper);
  color: var(--ink-0);
  white-space: nowrap;
  transition: transform .12s var(--ease-out), background .15s, border-color .15s, box-shadow .2s;
}
.btn:hover { background: var(--warm); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 13px; }

.btn-tom {
  background: var(--tom); color: #fff; border-color: var(--tom);
  box-shadow: var(--shadow-tom);
  position: relative; overflow: hidden;
}
.btn-tom::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -80%;
  width: 50%; transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transition: left .5s var(--ease-out);
}
.btn-tom:hover::after { left: 130%; }
.btn-tom:hover { background: var(--tom-deep); border-color: var(--tom-deep); }
.btn-ink { background: var(--ink-0); color: var(--paper); border-color: var(--ink-0); }
.btn-ink:hover { background: var(--night); border-color: var(--night); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--warm); }
.btn-onnight { background: var(--paper); color: var(--ink-0); border-color: var(--paper); }
.btn-onnight:hover { background: var(--warm-2); }
.btn-onnight-ghost { background: transparent; color: var(--paper); border-color: oklch(0.45 0.02 50); }
.btn-onnight-ghost:hover { background: var(--night-2); }

/* magnetic wrapper (JS déplace légèrement le bouton vers le curseur) */
.magnet { display: inline-block; will-change: transform; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--paper) 80%, transparent);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in oklab, var(--paper) 92%, transparent); }
.nav-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--tom);
  transform-origin: left center; transform: scaleX(0);
  opacity: 0; transition: opacity .25s;
}
.nav.scrolled .nav-progress { opacity: 1; }
.nav-inner { display: flex; align-items: center; gap: 30px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.025em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(160deg, oklch(0.62 0.1 155), oklch(0.5 0.09 160));
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-tom);
  position: relative; overflow: hidden;
}
.brand-mark svg { width: 22px; height: 22px; }

/* ---- logo animé : couvercle + vapeur (héritage v1) ---- */
.brand-mark .logo-lid {
  transform-origin: 22px 14px; transform-box: fill-box;
  animation: lidLift 4s ease-in-out infinite;
}
@keyframes lidLift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  35%      { transform: translateY(-1.4px) rotate(-3deg); }
  65%      { transform: translateY(-1.4px) rotate(-3deg); }
}
.brand-mark .wisp {
  transform-origin: center bottom; transform-box: fill-box;
  opacity: 0; animation: wispRise 4s ease-out infinite;
}
.brand-mark .wisp.w1 { animation-delay: 0.6s; }
.brand-mark .wisp.w2 { animation-delay: 1.0s; }
.brand-mark .wisp.w3 { animation-delay: 1.4s; }
@keyframes wispRise {
  0%   { opacity: 0; transform: translateY(2px) scale(0.7); }
  25%  { opacity: 0.9; }
  60%  { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-6px) scale(1.1); }
}
.brand-sub { color: var(--ink-3); font-weight: 500; font-size: 14px; font-family: var(--font-sans); letter-spacing: 0; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a { position: relative; padding-block: 4px; transition: color .15s; }
.nav-links a::after { content:''; position:absolute; left:0; right:100%; bottom:0; height:2px; background: var(--tom); border-radius:2px; transition: right .2s var(--ease-out); }
.nav-links a:hover { color: var(--ink-0); }
.nav-links a:hover::after { right: 0; }
.nav-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* --- burger + drawer mobile (nouveau v2 : la v1 cachait juste les liens) --- */
.nav-burger {
  display: none;
  width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--line-2);
  place-items: center;
  position: relative; z-index: 80;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ''; display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink-0); position: relative;
  transition: transform .25s var(--ease-out), opacity .2s;
}
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after  { position: absolute; top: 6px; }
body.menu-open .nav-burger span { transform: rotate(45deg); }
body.menu-open .nav-burger span::before { transform: rotate(-90deg) translateX(-6px); }
body.menu-open .nav-burger span::after  { opacity: 0; }

.drawer {
  position: fixed; inset: 0; z-index: 70;
  background: color-mix(in oklab, var(--paper) 96%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px var(--gutter) 48px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease-out), visibility .3s;
}
body.menu-open .drawer { opacity: 1; visibility: visible; pointer-events: auto; }
body.menu-open { overflow: hidden; }
/* garde la nav (logo + X) au-dessus du drawer ouvert */
body.menu-open .nav { z-index: 80; }
.drawer a.dlink {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 8vw, 44px); letter-spacing: -0.03em;
  padding-block: 12px; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
body.menu-open .drawer a.dlink { opacity: 1; transform: none; }
body.menu-open .drawer a.dlink:nth-child(2) { transition-delay: .05s; }
body.menu-open .drawer a.dlink:nth-child(3) { transition-delay: .1s; }
body.menu-open .drawer a.dlink:nth-child(4) { transition-delay: .15s; }
body.menu-open .drawer a.dlink:nth-child(5) { transition-delay: .2s; }
.drawer a.dlink .no { font-family: var(--font-mono); font-size: 14px; color: var(--tom-ink); font-weight: 500; }
.drawer-foot { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ HERO ============ */
.hero { position: relative; padding-top: 56px; padding-bottom: 64px; overflow: clip; }

.hero-bg { position: absolute; inset: -12%; z-index: 0; pointer-events: none; filter: blur(60px) saturate(1.05); }
.hero-bg .blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; will-change: transform; }
.hero-bg .b1 { width: 620px; height: 620px; top: -6%; right: -4%; background: radial-gradient(circle, oklch(0.83 0.115 156 / 0.6), transparent 66%); animation: fog1 26s ease-in-out infinite; }
.hero-bg .b2 { width: 560px; height: 560px; top: 26%; left: -10%; background: radial-gradient(circle, oklch(0.86 0.09 166 / 0.5), transparent 66%); animation: fog2 32s ease-in-out infinite; }
.hero-bg .b3 { width: 480px; height: 480px; bottom: -16%; right: 24%; background: radial-gradient(circle, oklch(0.9 0.115 88 / 0.48), transparent 66%); animation: fog3 38s ease-in-out infinite; }
.hero-bg .b4 { width: 430px; height: 430px; top: 8%; left: 34%; background: radial-gradient(circle, oklch(0.88 0.075 58 / 0.42), transparent 66%); animation: fog4 44s ease-in-out infinite; }
@keyframes fog1 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(-70px,42px) scale(1.1); } 66% { transform: translate(42px,-28px) scale(0.95); } }
@keyframes fog2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(92px,-52px) scale(1.12); } }
@keyframes fog3 { 0%,100% { transform: translate(0,0) scale(1); } 40% { transform: translate(-58px,-70px) scale(1.06); } 70% { transform: translate(50px,22px) scale(1.1); } }
@keyframes fog4 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-80px,60px) scale(1.14); } }

.hero-fog {
  position: absolute; inset: -30%; z-index: 0; pointer-events: none;
  opacity: 0.55; mix-blend-mode: multiply; filter: blur(36px);
  background:
    radial-gradient(42% 56% at 20% 32%, oklch(0.81 0.095 156 / 0.5), transparent 60%),
    radial-gradient(46% 50% at 76% 60%, oklch(0.86 0.085 90 / 0.42), transparent 60%),
    radial-gradient(36% 46% at 54% 86%, oklch(0.83 0.07 166 / 0.4), transparent 60%);
  background-size: 200% 200%;
  animation: fogPan 46s linear infinite alternate;
}
@keyframes fogPan { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }

.hero-steam { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-steam i {
  position: absolute; bottom: -6%; width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle, oklch(0.68 0.1 156 / 0.5), transparent 70%);
  filter: blur(3px); opacity: 0; animation: steamRise linear infinite;
}
@keyframes steamRise {
  0%   { transform: translate(0,0) scale(0.6); opacity: 0; }
  12%  { opacity: 0.55; }
  80%  { opacity: 0.28; }
  100% { transform: translate(var(--dx, 30px), -115vh) scale(1.6); opacity: 0; }
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: color-mix(in oklab, var(--paper) 70%, transparent);
  border: 1px solid var(--tom-line);
  color: var(--tom-ink);
  padding: 6px 13px 6px 9px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tom); box-shadow: 0 0 0 4px color-mix(in oklab, var(--tom) 26%, transparent); }
.eyebrow .live { position: relative; }
.eyebrow .live::after { content:''; position:absolute; inset:-4px; border-radius:50%; border:1.5px solid var(--tom); animation: ripple 1.8s ease-out infinite; }
@keyframes ripple { from { transform: scale(.6); opacity:.8; } to { transform: scale(2.2); opacity:0; } }

.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 5.6vw, 78px); line-height: 0.99;
  letter-spacing: -0.04em; margin: 0 0 24px; text-wrap: balance;
}
/* mot par mot — JS enveloppe chaque mot dans .w */
.hero h1 .w {
  display: inline-block;
  opacity: 0; transform: translateY(0.5em) rotate(1.5deg);
  animation: wordIn .7s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 70ms + 120ms);
}
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero h1 .mark { position: relative; color: var(--tom-ink); white-space: nowrap; }
.hero h1 .mark::after {
  content:''; position:absolute; left:-2px; right:-2px; bottom: 0.06em; height: 0.34em;
  background: var(--tom-soft); border-radius: 6px; z-index:-1;
  transform: rotate(-0.6deg) scaleX(0); transform-origin: left center;
  animation: markIn .5s var(--ease-out) .9s forwards;
}
@keyframes markIn { to { transform: rotate(-0.6deg) scaleX(1); } }
.hero-lede { font-size: 20px; line-height: 1.55; color: var(--ink-1); max-width: 540px; margin: 0 0 32px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 30px; display: flex; gap: 12px 26px; flex-wrap: wrap; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.hero-meta-item svg { width: 17px; height: 17px; color: var(--herb-ink); flex-shrink: 0; }

/* ============ HERO — POSTE DE COMMANDE ============ */
.deck { position: relative; perspective: 1400px; }
.deck-tilt { transition: transform .3s var(--ease-out); transform-style: preserve-3d; }

.map-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow-xl);
  overflow: hidden; aspect-ratio: 4/4.1;
  display: flex; flex-direction: column;
  position: relative;
}
.map-head { padding: 15px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.map-head-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.map-head-title .day { color: var(--ink-3); font-weight: 500; }
.map-head-meta { margin-left: auto; display: flex; gap: 16px; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.map-head-meta b { color: var(--ink-0); font-family: var(--font-display); font-weight: 700; }
.map-body {
  flex: 1; position: relative; overflow: hidden;
  background:
    radial-gradient(at 28% 22%, var(--herb-soft) 0%, transparent 52%),
    radial-gradient(at 82% 76%, var(--tom-soft) 0%, transparent 50%),
    var(--paper-2);
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 34px 34px; opacity: 0.55;
}
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-path { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 4 5; animation: dash 2.4s linear infinite; opacity: 0.9; }
.route-path.r1 { stroke: var(--tom); }
.route-path.r2 { stroke: var(--butter-ink); animation-duration: 3s; }
.route-path.r3 { stroke: var(--bleu); animation-duration: 3.5s; }
@keyframes dash { to { stroke-dashoffset: -18; } }

.stop {
  position: absolute; transform: translate(-50%,-50%);
  width: 27px; height: 27px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 11.5px;
  color: #fff; border: 2.5px solid var(--paper);
  box-shadow: 0 3px 8px rgba(54,26,10,0.22); z-index: 2;
}
.stop.r1 { background: var(--tom); }
.stop.r2 { background: var(--butter-ink); }
.stop.r3 { background: var(--bleu); }
.stop.hq { background: var(--ink-0); width: 24px; height: 24px; font-size: 0; }
.stop.hq::after { content:''; width: 9px; height: 9px; background: #fff; border-radius: 2px; }
.stop.done { opacity: 0.5; }
.stop.pulse::before { content:''; position:absolute; inset:-7px; border-radius:50%; border:2.5px solid currentColor; color: var(--tom); animation: pulse 1.7s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.7); opacity:.85; } 100% { transform: scale(1.9); opacity:0; } }

/* le camion : un groupe SVG qui SUIT la route nord via offset-path (wow v2).
   Les coordonnées du path = unités viewBox du .map-svg, donc toujours
   alignées sur le tracé r1 même si la carte s'étire. Masqué si le
   navigateur ne supporte pas offset-path sur éléments SVG. */
.courier-g { visibility: hidden; }
@supports (offset-path: path('M 0 0 L 1 1')) {
  .courier-g {
    visibility: visible;
    offset-path: path('M 200 230 C 160 200, 130 192, 110 162 S 80 112, 105 80 S 175 60, 195 90 C 215 116, 250 116, 286 96');
    offset-rotate: 0deg;
    animation: drive 14s linear infinite;
  }
}
.courier-dot {
  fill: var(--paper); stroke: var(--tom); stroke-width: 2;
  filter: drop-shadow(0 3px 5px rgba(54,26,10,0.3));
}
.courier-truck { fill: var(--tom-ink); }
.courier-pulse {
  fill: none; stroke: var(--tom); stroke-width: 2; opacity: .5;
  transform-box: fill-box; transform-origin: center;
  animation: svgPulse 1.7s ease-out infinite;
}
@keyframes svgPulse {
  0%   { transform: scale(.6); opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes drive {
  0%   { offset-distance: 0%; }
  42%  { offset-distance: 55%; }
  50%  { offset-distance: 55%; }  /* pause : livraison en cours */
  92%  { offset-distance: 100%; }
  100% { offset-distance: 100%; }
}

.map-overlay {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: color-mix(in oklab, var(--paper) 94%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 13px;
  padding: 11px 14px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 500;
}
.map-leg { display: flex; align-items: center; gap: 7px; color: var(--ink-2); }
.leg-dot { width: 10px; height: 10px; border-radius: 50%; }
.map-live { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--herb-ink); font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; }
.map-live .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--herb); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* fil d'activité flottant — les livraisons « tombent » en direct */
.feed-card {
  position: absolute; z-index: 4;
  left: -42px; bottom: 32px;
  width: 270px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 13px 15px 11px;
  transform: translateZ(46px);
}
.feed-card .fc-h {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3);
  margin-bottom: 9px;
}
.feed-card .fc-h .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--herb); animation: blink 1.4s ease-in-out infinite; }
.feed { display: flex; flex-direction: column; gap: 7px; min-height: 118px; }
.feed-item {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12.5px; line-height: 1.35; color: var(--ink-1);
  animation: feedIn .45s var(--ease-out);
}
@keyframes feedIn { from { opacity: 0; transform: translateY(-9px); } }
.feed-item.out { animation: feedOut .35s var(--ease-out) forwards; }
@keyframes feedOut { to { opacity: 0; transform: translateY(9px); height: 0; margin: 0; } }
.feed-item .t { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); padding-top: 2px; flex-shrink: 0; }
.feed-item .ic {
  width: 19px; height: 19px; border-radius: 6px; flex-shrink: 0;
  display: grid; place-items: center;
}
.feed-item .ic svg { width: 11px; height: 11px; }
.feed-item .ic.ok { background: var(--herb-soft); color: var(--herb-ink); }
.feed-item .ic.warn { background: var(--rouge-soft); color: var(--rouge-ink); }
.feed-item .ic.info { background: var(--bleu-soft); color: var(--bleu-ink); }
.feed-item b { font-weight: 600; color: var(--ink-0); }

/* badge flottant allergies — au-dessus de la carte */
.guard-chip {
  position: absolute; z-index: 4;
  right: -26px; top: 56px;
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--herb-line);
  border-radius: 14px; padding: 11px 15px;
  box-shadow: var(--shadow-lg);
  transform: translateZ(60px);
  animation: floatY 5.5s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.guard-chip .gc-ic {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--herb-soft); color: var(--herb-ink);
  display: grid; place-items: center;
}
.guard-chip .gc-ic svg { width: 18px; height: 18px; }
.guard-chip .gc-l { font-size: 11px; color: var(--ink-3); }
.guard-chip .gc-v { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; letter-spacing: -0.01em; }

/* ============ MARQUEE ============ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--warm);
  padding-block: 16px; overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after { content:''; position:absolute; top:0; bottom:0; width: 90px; z-index: 2; pointer-events:none; }
.marquee::before { left:0; background: linear-gradient(90deg, var(--warm), transparent); }
.marquee::after { right:0; background: linear-gradient(270deg, var(--warm), transparent); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; padding-inline: 22px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink-1); white-space: nowrap; }
.marquee-item .sep { width: 7px; height: 7px; border-radius: 50%; background: var(--tom); opacity: .7; }
.marquee-item .tag {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--tom-ink); background: var(--tom-soft);
  border: 1px solid var(--tom-line);
  padding: 2px 8px; border-radius: 999px;
}

/* ============ SECTIONS ============ */
section { scroll-margin-top: 80px; }
.section { padding-block: 96px; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-num {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--tom-ink); margin-bottom: 18px;
}
.section-num b { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0; }
.section-num::before { content:''; width: 28px; height: 1.5px; background: var(--tom); align-self: center; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; text-wrap: balance; }
.section-sub { font-size: 18.5px; line-height: 1.55; color: var(--ink-1); max-width: 640px; margin: 0; text-wrap: pretty; }

/* ============ STATS BAND ============ */
.stats { background: var(--night); color: var(--paper); padding-block: 78px; position: relative; overflow: hidden; }
.stats-wm { position:absolute; right: -1%; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 800; font-size: 220px; color: #fff; opacity: 0.03; pointer-events:none; user-select: none; }
.stats-intro { max-width: 640px; margin-bottom: 48px; }
.stats-intro .lab { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--tom); margin-bottom: 14px; }
.stats-intro h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { display: flex; flex-direction: column; gap: 7px; padding-top: 22px; border-top: 1px solid var(--night-line); position: relative; }
.stat::before {
  content: ''; position: absolute; top: -1px; left: 0; height: 1px; width: 0;
  background: var(--tom); transition: width 1.2s var(--ease-out) .3s;
}
.stat.in::before { width: 100%; }
.stat-val { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 4.6vw, 62px); line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat-val .u { color: var(--tom); }
.stat-lab { font-size: 14.5px; color: var(--night-ink); line-height: 1.4; }
.stat-sub { font-family: var(--font-mono); font-size: 12px; color: var(--night-ink-2); margin-top: 3px; }

/* ============ JOURNÉE — SCROLLYTELLING ============ */
.day-section { background: var(--paper-2); border-block: 1px solid var(--line); position: relative; }
.day-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 72px; align-items: start; }

.day-sticky { position: sticky; top: 104px; padding-bottom: 24px; }
.day-clock {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(64px, 7.5vw, 110px); line-height: 0.95;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-0);
  display: flex; align-items: baseline; gap: 14px;
  margin-block: 18px 10px;
}
.day-clock .ampm { font-family: var(--font-mono); font-size: 15px; font-weight: 500; color: var(--tom-ink); letter-spacing: .08em; }
.day-phase {
  font-family: var(--font-display); font-weight: 700; font-size: 23px;
  letter-spacing: -0.02em; min-height: 1.4em;
  color: var(--tom-ink);
  transition: opacity .3s;
}
.day-blurb { color: var(--ink-2); font-size: 15.5px; max-width: 380px; margin-top: 10px; }

/* arc du jour : soleil qui suit la progression */
.day-arc { position: relative; width: min(330px, 80%); margin-top: 26px; }
.day-arc svg { width: 100%; height: auto; display: block; overflow: visible; }
.day-arc .arc-track { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; }
.day-arc .arc-fill { fill: none; stroke: var(--butter); stroke-width: 2.5; stroke-linecap: round; }
.day-arc .sun { fill: var(--butter); stroke: var(--paper); stroke-width: 3; filter: drop-shadow(0 2px 6px oklch(0.79 0.135 76 / .6)); }

.day-steps { display: flex; flex-direction: column; gap: 26px; padding-block: 8px 24px; position: relative; }
.day-steps::before {
  content: ''; position: absolute; left: 25px; top: 30px; bottom: 60px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--line-2) 0 5px, transparent 5px 11px);
}
.moment {
  position: relative;
  display: grid; grid-template-columns: 52px 1fr; gap: 20px;
  opacity: 0.45; transition: opacity .4s var(--ease-out);
}
.moment.active { opacity: 1; }
.moment-dot {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--paper); border: 1.5px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--ink-3);
  position: relative; z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, color .3s, box-shadow .3s, transform .3s var(--ease-spring);
}
.moment-dot svg { width: 23px; height: 23px; }
.moment.active .moment-dot {
  border-color: var(--tom); color: var(--tom-ink);
  box-shadow: 0 0 0 5px var(--tom-soft), var(--shadow-md);
  transform: scale(1.06);
}
.moment-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, border-color .3s, transform .3s var(--ease-out);
}
.moment.active .moment-card { box-shadow: var(--shadow-md); border-color: var(--line-2); transform: translateX(4px); }
.moment-time { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--tom-ink); margin-bottom: 7px; }
.moment-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 19.5px; letter-spacing: -0.018em; margin: 0 0 8px; }
.moment-card p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* mini-UI dans les moments */
.moment-ui {
  margin-top: 15px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper-2); padding: 12px 14px;
  font-size: 12.5px;
}
.mu-row { display: flex; align-items: center; gap: 9px; padding-block: 5px; }
.mu-row + .mu-row { border-top: 1px solid var(--line); }
.mu-chip { font-family: var(--font-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; flex-shrink: 0; }
.mu-chip.ok { background: var(--herb-soft); color: var(--herb-ink); }
.mu-chip.warn { background: var(--butter-soft); color: var(--butter-ink); }
.mu-chip.alert { background: var(--rouge-soft); color: var(--rouge-ink); }
.mu-chip.info { background: var(--bleu-soft); color: var(--bleu-ink); }
.mu-name { font-weight: 600; color: var(--ink-0); }
.mu-dim { color: var(--ink-3); margin-left: auto; font-family: var(--font-mono); font-size: 11px; }
.mu-bar { height: 7px; border-radius: 4px; background: var(--warm-2); overflow: hidden; flex: 1; }
.mu-bar i { display: block; height: 100%; border-radius: 4px; background: var(--tom); width: var(--w, 50%); }

/* ============ FEATURES — BENTO v2 ============ */
.features { background: var(--paper); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.feat {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 11px;
  transition: transform .18s var(--ease-out), box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
  grid-column: span 2;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.feat-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 6px; flex-shrink: 0; }
.feat-ic svg { width: 22px; height: 22px; }
.feat-ic.tom { background: var(--tom-soft); color: var(--tom-ink); }
.feat-ic.herb { background: var(--herb-soft); color: var(--herb-ink); }
.feat-ic.butter { background: var(--butter-soft); color: var(--butter-ink); }
.feat-ic.bleu { background: var(--bleu-soft); color: var(--bleu-ink); }
.feat-ic.rouge { background: var(--rouge-soft); color: var(--rouge-ink); }
/* Logos Ophelios (blancs, conçus pour fond sombre) sur leur pastille navie. */
.oph-logo { width: 48px; height: 48px; border-radius: 13px; background: #100d23; display: grid; place-items: center; padding: 9px; margin-bottom: 6px; flex-shrink: 0; }
.oph-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.feat h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.018em; margin: 0; }
.feat p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* tuile démo allergies (3 colonnes) avec scanner animé */
.feat.demo { grid-column: span 3; }
.guard-demo {
  margin-top: auto; position: relative;
  border: 1px solid var(--line); border-radius: 13px;
  background: var(--paper-2); padding: 13px 15px;
  overflow: hidden;
}
.guard-demo::after {
  content: ''; position: absolute; left: 0; right: 0; height: 44px; top: -44px;
  background: linear-gradient(to bottom, transparent, oklch(0.62 0.12 152 / 0.14), transparent);
  border-bottom: 1.5px solid var(--herb);
  animation: scanY 4.5s var(--ease-out) infinite;
}
@keyframes scanY { 0% { top: -44px; } 55%, 100% { top: 110%; } }
.gd-row { display: flex; align-items: center; gap: 9px; padding-block: 6px; font-size: 12.5px; }
.gd-row + .gd-row { border-top: 1px solid var(--line); }
.gd-av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 9.5px; flex-shrink: 0; }
.gd-name { font-weight: 600; }
.gd-verdict { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; }
.gd-verdict svg { width: 12px; height: 12px; }
.gd-verdict.ok { color: var(--herb-ink); }
.gd-verdict.swap { color: var(--butter-ink); }

/* tuile PWA sombre (3 colonnes) avec mock téléphone */
.feat.dark {
  grid-column: span 3;
  background: var(--night); border-color: var(--night); color: var(--paper);
  flex-direction: row; align-items: center; gap: 28px;
}
.feat.dark h3 { color: var(--paper); font-size: 21px; }
.feat.dark p { color: var(--night-ink); font-size: 15.5px; }
.feat.dark .feat-ic { background: var(--night-2); color: var(--butter); width: 54px; height: 54px; margin: 0 0 10px; }
.phone {
  flex-shrink: 0; width: 148px; aspect-ratio: 9/17.6;
  background: var(--night-2); border: 1.5px solid var(--night-3);
  border-radius: 22px; padding: 9px;
  box-shadow: var(--shadow-lg);
  rotate: 3deg;
  transition: rotate .3s var(--ease-spring), transform .3s var(--ease-out);
}
.feat.dark:hover .phone { rotate: 0deg; transform: translateY(-4px); }
.phone-screen {
  width: 100%; height: 100%; border-radius: 14px; overflow: hidden;
  background: var(--paper); color: var(--ink-0);
  display: flex; flex-direction: column;
  font-size: 8.5px;
}
.ps-head { background: var(--tom); color: #fff; padding: 8px 9px; font-family: var(--font-display); font-weight: 700; font-size: 9.5px; }
.ps-head .sub { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 7px; opacity: .85; margin-top: 1px; }
.ps-stop { display: flex; align-items: center; gap: 6px; padding: 6.5px 8px; border-bottom: 1px solid var(--line); }
.ps-stop .n { width: 14px; height: 14px; border-radius: 50%; background: var(--tom-soft); color: var(--tom-ink); display: grid; place-items: center; font-weight: 700; font-size: 7.5px; flex-shrink: 0; }
.ps-stop.done .n { background: var(--herb); color: #fff; }
.ps-stop.done { opacity: .55; }
.ps-stop .nm { font-weight: 600; }
.ps-stop .ck { margin-left: auto; width: 11px; height: 11px; border-radius: 4px; border: 1.2px solid var(--line-2); }
.ps-stop.done .ck { background: var(--herb); border-color: var(--herb); position: relative; }
.ps-stop.done .ck::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 7px; }
.ps-cta { margin-top: auto; background: var(--tom); color: #fff; text-align: center; padding: 6px; border-radius: 8px; margin-inline: 7px; margin-bottom: 7px; font-weight: 700; font-size: 8px; font-family: var(--font-display); }

/* ============ STORY / SERVICE ============ */
.story { background: var(--paper-2); border-block: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 64px; align-items: center; }
.story-body p { font-size: 18px; line-height: 1.62; color: var(--ink-1); margin: 0 0 18px; max-width: 560px; }
.story-body p strong { color: var(--ink-0); font-weight: 600; }
.pull {
  position: relative;
  background: var(--tom-soft); border: 1px solid var(--tom-line);
  border-radius: 20px; padding: 32px 34px;
  box-shadow: var(--shadow-md);
}
.pull .q { font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.32; letter-spacing: -0.02em; color: var(--tom-ink); margin: 0 0 18px; text-wrap: pretty; }
.pull .who { display: flex; align-items: center; gap: 12px; }
.pull .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--tom); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.pull .who .nm { font-weight: 600; font-size: 15px; color: var(--ink-0); }
.pull .who .rl { font-size: 13.5px; color: var(--tom-ink); }
.pull .mark-quote { position: absolute; top: 18px; right: 24px; font-family: var(--font-display); font-weight: 800; font-size: 90px; line-height: 1; color: var(--tom); opacity: 0.16; }

/* ============ CONFIANCE / LOI 25 ============ */
.trust { background: var(--night); color: var(--paper); position: relative; overflow: hidden; }
.trust::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(56% 60% at 84% 8%, oklch(0.39 0.107 158 / 0.34), transparent 60%),
    radial-gradient(40% 50% at 6% 96%, oklch(0.35 0.06 240 / 0.3), transparent 60%);
}
.trust .wrap { position: relative; z-index: 1; }
.trust .section-num { color: var(--tom); }
.trust .section-num::before { background: var(--tom); }
.trust .section-title { color: var(--paper); }
.trust .section-sub { color: var(--night-ink); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard {
  background: color-mix(in oklab, var(--night-2) 78%, transparent);
  border: 1px solid var(--night-line);
  border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 11px;
  backdrop-filter: blur(4px);
  transition: border-color .25s, transform .2s var(--ease-out), background .25s;
}
.tcard:hover { border-color: oklch(0.5 0.08 156); transform: translateY(-3px); background: var(--night-2); }
.tcard .feat-ic { background: oklch(0.34 0.05 156); color: oklch(0.78 0.1 156); }
.tcard h3 { font-family: var(--font-display); font-weight: 700; font-size: 18.5px; letter-spacing: -0.015em; margin: 0; color: var(--paper); }
.tcard p { font-size: 14.5px; line-height: 1.55; color: var(--night-ink); margin: 0; }
.tcard .mono-tag { font-family: var(--font-mono); font-size: 11px; color: var(--tom); letter-spacing: .04em; margin-top: auto; padding-top: 8px; }
.trust-foot {
  margin-top: 36px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 14px; color: var(--night-ink);
}
.trust-foot a { color: var(--paper); border-bottom: 1px solid var(--night-line); transition: border-color .2s; padding-bottom: 1px; }
.trust-foot a:hover { border-color: var(--tom); }

/* ============ STEPS (résumé 4 temps, conservé) ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps::before { content:''; position:absolute; top: 22px; left: 9%; right: 9%; height: 2px; background: repeating-linear-gradient(to right, var(--line-2) 0 5px, transparent 5px 11px); z-index: 0; }
.step { position: relative; z-index: 1; }
.step-num { width: 46px; height: 46px; border-radius: 14px; background: var(--paper); border: 1.5px solid var(--tom-line); color: var(--tom-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.step h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.018em; margin: 0 0 8px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* ============ CONTRIBUTE ============ */
.contrib { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; gap: 13px; position: relative; overflow: hidden; transition: transform .18s var(--ease-out), box-shadow .2s; }
.cc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cc::before { content:''; position:absolute; inset: 0 0 auto 0; height: 4px; }
.cc.code::before { background: var(--bleu); }
.cc.time::before { background: var(--tom); }
.cc.partner::before { background: var(--butter); }
.cc h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; margin: 0; }
.cc p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; flex: 0 0 auto; }
.cc ul { list-style: none; padding: 0; margin: 4px 0 6px; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; color: var(--ink-1); flex: 1; }
.cc ul li { display: flex; align-items: flex-start; gap: 9px; }
.cc ul li svg { width: 16px; height: 16px; color: var(--herb); flex-shrink: 0; margin-top: 3px; }
.cc .btn { align-self: flex-start; margin-top: 4px; }
.code-chip { font-family: var(--font-mono); background: var(--warm); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; font-size: 13px; }

/* ============ STACK ============ */
.stack { background: var(--warm); border-block: 1px solid var(--line); }
.stack-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 8px; }
.pill { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; text-align: center; aspect-ratio: 1.7; transition: transform .15s, border-color .15s; }
.pill:hover { transform: translateY(-2px); border-color: var(--tom-line); }
.pill .nm { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink-0); }
.pill .rl { font-size: 12px; color: var(--ink-3); }

/* ============ CTA ============ */
.cta { background: var(--tom); color: #fff; position: relative; overflow: hidden; }
.cta::before { content:''; position:absolute; inset:0; background: radial-gradient(at 80% -10%, oklch(0.66 0.12 156 / .55), transparent 55%), radial-gradient(at 10% 120%, var(--tom-deep), transparent 50%); }
.cta-wm { position:absolute; left:-1%; bottom:-22%; font-family: var(--font-display); font-weight: 800; font-size: clamp(160px, 24vw, 340px); line-height: .8; color:#fff; opacity:.08; pointer-events:none; user-select: none; }
.cta-inner { position: relative; z-index: 1; padding-block: 100px; text-align: center; }
.cta h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.035em; margin: 0 auto 18px; max-width: 800px; text-wrap: balance; }
.cta p { font-size: 19px; color: oklch(0.97 0.03 50); margin: 0 auto 34px; max-width: 540px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
footer { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.foot-wm { position:absolute; right: -2%; bottom: -34%; font-family: var(--font-display); font-weight: 800; font-size: clamp(170px, 24vw, 330px); line-height:.8; color:#fff; opacity:.035; pointer-events:none; user-select: none; }
.foot-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-block: 64px 44px; }
.foot-brand .brand { color: var(--paper); }
.foot-brand p { font-size: 15px; line-height: 1.6; color: var(--night-ink); max-width: 300px; margin: 16px 0 0; }
.foot-col h5 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--night-ink-2); margin: 0 0 16px; font-weight: 500; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; font-size: 15px; color: var(--night-ink); }
.foot-col a:hover { color: var(--paper); }
.foot-bottom { position: relative; z-index: 1; border-top: 1px solid var(--night-line); padding-block: 22px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13.5px; color: var(--night-ink-2); flex-wrap: wrap; }
.foot-bottom .links { display: flex; gap: 18px; }
.foot-bottom a:hover { color: var(--paper); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-mark .logo-lid, .brand-mark .wisp,
  .hero-bg .blob, .hero-fog, .hero-steam i,
  .route-path, .courier-g, .courier-pulse,
  .guard-chip, .guard-demo::after,
  .marquee-track, .eyebrow .live::after,
  .stop.pulse::before, .map-live .pip, .feed-card .fc-h .pip,
  .btn-tom::after { animation: none !important; }
  .hero-steam { display: none; }
  .brand-mark .wisp { opacity: 0.6; }
  .hero h1 .w { opacity: 1; transform: none; animation: none; }
  .hero h1 .mark::after { transform: rotate(-0.6deg) scaleX(1); animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .courier-g { offset-distance: 55%; }
  .deck-tilt { transform: none !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .feed-card { left: -10px; }
  .guard-chip { right: -8px; }
}
@media (max-width: 1000px) {
  :root { --gutter: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .deck { max-width: 480px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .feat, .feat.demo, .feat.dark { grid-column: span 2; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
  .day-grid { grid-template-columns: 1fr; gap: 36px; }
  .day-sticky { position: static; }
  .day-clock { font-size: clamp(52px, 11vw, 84px); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .contrib { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-burger { display: grid; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .section { padding-block: 68px; }
  .bento { grid-template-columns: 1fr; }
  .feat, .feat.demo, .feat.dark { grid-column: span 1; }
  .feat.dark { flex-direction: column; align-items: flex-start; }
  .phone { align-self: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { gap: 10px 18px; }
  .feed-card { position: static; width: auto; margin-top: 14px; transform: none; }
  .guard-chip { display: none; }
  .moment { grid-template-columns: 42px 1fr; gap: 14px; }
  .moment-dot { width: 42px; height: 42px; border-radius: 13px; }
  .moment-dot svg { width: 19px; height: 19px; }
  .day-steps::before { left: 20px; }
}
@media (max-width: 480px) {
  .brand-sub { display: none; }
}

/* ===== Modules activables (refonte 2026) ===== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.feat.module { position: relative; }
.module-tag {
  align-self: flex-start;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.module-tag.on  { background: var(--herb-ink); color: var(--paper); }
.module-tag.opt { background: transparent; color: var(--herb-ink); box-shadow: inset 0 0 0 1.5px var(--herb-ink); }
