/* Kropi — page d'accueil (index.html), version du 13/11/2026
   Crème lumineux, vert forêt, sauge, terre cuite du panier du logo. Titres en Poppins (la police du nom « kropi »), texte en Inter.
   Le film d'ouverture (vidéo → cagette → application) n'est épinglé que si accueil.js pose « is-live » sur .story :
   sans JavaScript ou avec « Réduire les animations », tout se lit simplement de haut en bas. */

:root {
  --cream: #FAF9F6;
  --cream-2: #F2EFE7;
  --paper: #FFFFFF;
  --forest: #1B4332;
  --forest-deep: #12301F;
  --sage: #B4C7AD;
  --sage-soft: #E6EDE0;
  --terra: #B8532D;        /* boutons : texte blanc dessus à 4,9:1 */
  --terra-deep: #96431F;   /* texte orangé sur fond clair (≥ 6:1) */
  --terra-soft: #F7E3D8;
  --orange: #DA6E48;       /* orange exact du panier du logo : décor seulement */
  --peach: #F5C7A9;        /* accent sur fond sombre */
  --night: #232B37;        /* bleu nuit du nom « kropi » */
  --ink: #1C2A22;
  --body: #46544B;
  --mute: #66736A;
  --line: rgba(27, 67, 50, .12);
  --display: 'Poppins', 'Avenir Next', system-ui, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.645, .045, .355, 1);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 14px;
  --gutter: clamp(20px, 4.4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--forest); color: var(--cream); }

.sprite { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--forest); color: #fff; font-weight: 600; }
.skip:focus { top: 16px; }
.wrap { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }

/* ---------- Titres ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--forest); letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 6.6vw, 5.6rem); line-height: 1.03; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.08; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.015em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--terra-deep); letter-spacing: -.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-deep);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--peach); }
@media (max-width: 480px) { .eyebrow { font-size: .68rem; letter-spacing: .1em; gap: 8px; white-space: nowrap; } .eyebrow::before { width: 14px; } }

/* ---------- Boutons, liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font: 600 1rem/1 var(--text); white-space: nowrap;
  transition: transform .16s var(--ease-out), background-color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--cta { background: var(--terra); color: #fff; box-shadow: 0 10px 24px -12px rgba(150, 67, 31, .7); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .92rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--cta:hover { background: var(--terra-deep); }
  .btn:hover svg { transform: translateX(3px); }
}
.link { font-weight: 600; color: var(--forest); text-decoration: underline; text-decoration-color: rgba(27, 67, 50, .3); text-underline-offset: 5px; transition: text-decoration-color .2s ease; }
.link--light { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
@media (hover: hover) { .link:hover { text-decoration-color: currentColor; } }

/* ---------- En-tête ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background-color .35s ease, color .35s ease, box-shadow .35s ease; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.mark { display: inline-flex; align-items: center; gap: 12px; }
.mark__tile { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .5); }
.mark__name { font: 600 1.42rem/1 var(--display); letter-spacing: -.03em; text-transform: lowercase; }
.top__nav { display: flex; gap: clamp(18px, 2.6vw, 38px); font-size: .94rem; font-weight: 500; }
.top__nav a { position: relative; padding: 8px 0; opacity: .9; transition: opacity .2s ease; }
.top__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
@media (hover: hover) { .top__nav a:hover { opacity: 1; } .top__nav a:hover::after { transform: scaleX(1); } }
/* Fond crème quasi opaque, sans verre dépoli : le flou recalculé sur la scène qui défile dessous coûtait des images (mesuré) */
.top.is-solid { color: var(--night); background: rgba(250, 249, 246, .97); box-shadow: 0 1px 0 var(--line); }
.top.is-solid .top__nav { color: var(--forest); }
@media (max-width: 920px) { .top__nav { display: none; } .top__in { height: 66px; } }

/* =====================================================================================
   1 + 2. La scène : vidéo → cagette → application
   ===================================================================================== */
.story { position: relative; background: var(--cream); }

/* ----- Vidéo d'ouverture ----- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: #1d2416; color: #fff; text-align: center; }
.hero__media { position: absolute; inset: 0; transform-origin: var(--fx, 50%) var(--fy, 55%); }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__veil { position: absolute; inset: 0; background:
  radial-gradient(90% 70% at 50% 52%, rgba(14, 26, 18, .5), rgba(14, 26, 18, .12) 70%),
  linear-gradient(180deg, rgba(14, 26, 18, .5) 0, rgba(14, 26, 18, 0) 26%, rgba(14, 26, 18, 0) 62%, rgba(14, 26, 18, .55) 100%); }
.hero__copy { position: relative; display: grid; justify-items: center; gap: clamp(18px, 2.6vh, 28px); padding-block: 96px; }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(10, 20, 14, .35); }
.hero h1 em { color: var(--peach); }
.hero__lead { max-width: 46ch; font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.55; color: rgba(255, 255, 255, .9); text-wrap: pretty; }
.hero__copy > * { animation: rise 1.1s var(--ease-out) both; }
.hero__copy > :nth-child(2) { animation-delay: .1s; }
.hero__copy > :nth-child(3) { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.hero__cue { position: absolute; left: 50%; bottom: clamp(22px, 4.5vh, 44px); transform: translateX(-50%); display: grid; justify-items: center; gap: 12px; font: 600 .72rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .85); animation: rise 1.1s .5s var(--ease-out) both; }
.hero__cue i { position: relative; width: 1.5px; height: 46px; background: rgba(255, 255, 255, .3); overflow: hidden; border-radius: 2px; }
.hero__cue i::after { content: ''; position: absolute; inset: 0; background: #fff; animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ----- Cagette (seulement dans la scène épinglée) ----- */
.crate { display: none; }

/* ----- L'application : mise en page « à plat » (sans JavaScript, animations réduites) ----- */
.tour { padding-block: clamp(80px, 11vw, 150px); }
.tour__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(36px, 7vw, 120px); }
.tour__copy { display: grid; gap: clamp(20px, 3vh, 32px); max-width: 560px; }
.steps { display: grid; gap: 6px; margin-top: 6px; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 16px 18px 16px 20px; border-radius: 20px; transition: opacity .45s ease, background-color .45s ease; }
.step__num { font: 600 .82rem/1.9 var(--display); letter-spacing: .06em; color: var(--mute); transition: color .45s ease; }
.step h3 { font-size: 1.28rem; }
.step p { margin-top: 4px; font-size: .98rem; line-height: 1.55; color: var(--body); text-wrap: pretty; }

/* ----- Téléphone ----- */
.tour__device { justify-self: center; }
.phone { --ph: min(640px, 76svh); position: relative; height: var(--ph); aspect-ratio: 300 / 620; }
.phone__frame { position: absolute; inset: 0; padding: 2.7%; border-radius: 15% / 7.2%; background: linear-gradient(145deg, #2c3a33, #121a16 60%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 50px 90px -40px rgba(18, 48, 31, .55), 0 22px 40px -22px rgba(18, 48, 31, .45); }
.phone__island { position: absolute; z-index: 6; top: 2.5%; left: 50%; width: 29%; height: 3.5%; transform: translateX(-50%); border-radius: 99px; background: #0b100d; }
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 12.6% / 6%; background: var(--cream); container-type: inline-size; isolation: isolate; }
.ui { position: absolute; inset: 0; font: 400 3.56cqw/1.35 var(--text); color: var(--ink); }
.ui svg { width: 1.5em; height: 1.5em; flex: none; }
.ui strong { font-weight: 600; }
.ui small { font-size: 1em; color: var(--mute); }
.ui__status { position: absolute; z-index: 5; inset: 0 0 auto 0; height: 8.6%; display: flex; align-items: center; justify-content: space-between; padding: 1.4em 2.4em 0; font-size: 1.15em; }
.ui__status span { display: flex; align-items: center; gap: .45em; }
.ui__sig { width: 1.5em; height: .95em; background: linear-gradient(90deg, currentColor 18%, transparent 18% 27%, currentColor 27% 45%, transparent 45% 54%, currentColor 54% 72%, transparent 72% 81%, currentColor 81%); clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%); }
.ui__bat { width: 2em; height: .95em; border-radius: .3em; background: currentColor; }

/* Les 4 écrans restent dessinés, superposés, chacun sur son calque : passer de l'un à l'autre n'est qu'un fondu, rien à redessiner.
   (Avec « visibility: hidden », le navigateur dessinait tout l'écran suivant à l'instant du changement : à-coup visible.) */
.scr { position: absolute; inset: 0; opacity: 0; transform: scale(1.035); pointer-events: none; will-change: opacity, transform; transition: opacity .5s ease, transform .7s var(--ease-out); }
.phone[data-screen="splash"] .scr--splash,
.phone[data-screen="map"] .scr--map,
.phone[data-screen="shop"] .scr--shop,
.phone[data-screen="order"] .scr--order { opacity: 1; transform: none; }
/* Les éléments qui s'animent à l'arrivée d'un écran ont leur calque dès le départ (sinon créé, donc dessiné, à l'instant de l'animation) */
.phone :is(.pin, .cluster, .map__card, .shop__list li, .cartbar, .code__cells b) { will-change: transform, opacity; }

/* Écran 0 : lancement (le logo, sur le fond menthe de son image d'origine) */
.scr--splash { display: grid; place-items: center; background: #DDEBDE; }
.scr--splash img { width: 44%; height: auto; }

/* Écran 1 : carte */
.ui .map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__radius { position: absolute; left: 50%; top: 44%; width: 88%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: .16em dashed rgba(27, 67, 50, .32); background: rgba(27, 67, 50, .05); }
.map__me { position: absolute; left: 50%; top: 44%; width: 1.7em; height: 1.7em; margin: -.85em; border-radius: 50%; background: #3F7CC4; border: .32em solid #fff; box-shadow: 0 .2em .6em rgba(20, 40, 80, .35); }
.map__me::after { content: ''; position: absolute; inset: -.32em; border-radius: 50%; background: rgba(63, 124, 196, .35); animation: pulse 2.4s var(--ease-out) infinite; z-index: -1; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.pin, .cluster { position: absolute; left: var(--x); top: var(--y); }
.pin { width: 3.7em; height: 4.57em; margin: -4.57em 0 0 -1.85em; filter: drop-shadow(0 .35em .4em rgba(18, 48, 31, .32)); }
.pin svg { width: 100%; height: 100%; }
.pin--pick { width: 4.7em; height: 5.8em; margin: -5.8em 0 0 -2.35em; z-index: 2; }
.cluster { display: grid; place-items: center; width: 3.2em; height: 3.2em; margin: -1.6em; border-radius: 50%; background: var(--forest); border: .28em solid #fff; color: #fff; font: 600 1.2em/1 var(--display); box-shadow: 0 .3em .8em rgba(18, 48, 31, .3); }
.phone[data-screen="map"] :is(.pin, .cluster) { animation: pin-drop .55s var(--ease-out) both; animation-delay: calc(.3s + var(--i) * 85ms); }
@keyframes pin-drop { from { opacity: 0; transform: translateY(-2.4em) scale(.92); } }

.map__top { position: absolute; inset: 9.4% 4.5% auto; display: grid; gap: .8em; }
.map__search { display: flex; align-items: center; gap: .8em; height: 4em; padding: 0 .6em 0 1.2em; border-radius: 99px; background: #fff; box-shadow: 0 .5em 1.6em -.6em rgba(18, 48, 31, .35); color: var(--mute); }
.map__search svg { color: var(--forest); width: 1.6em; height: 1.6em; }
.map__search span { flex: 1; font-size: 1.12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map__search em { font-style: normal; font-weight: 600; font-size: 1em; color: var(--forest); background: var(--sage-soft); padding: .55em .9em; border-radius: 99px; }
.map__chips { display: flex; gap: .55em; overflow: hidden; white-space: nowrap; font-size: 1.05em; font-weight: 500; }
.map__chips > * { padding: .55em 1em; border-radius: 99px; background: #fff; box-shadow: 0 .3em 1em -.5em rgba(18, 48, 31, .35); color: var(--ink); }
.map__chips b { background: var(--forest); color: #fff; font-weight: 600; }

.map__card { position: absolute; inset: auto 4.5% 13.4%; display: flex; align-items: center; gap: 1em; padding: 1em; border-radius: 1.9em; background: #fff; box-shadow: 0 1em 2.6em -1em rgba(18, 48, 31, .45); }
.phone[data-screen="map"] .map__card { animation: card-up .6s .95s var(--ease-out) both; }
@keyframes card-up { from { opacity: 0; transform: translateY(1.8em); } }
.map__thumb { flex: none; width: 5em; height: 5em; padding: .5em; border-radius: 1.1em; background: var(--sage-soft); }
.map__thumb svg { width: 100%; height: 100%; }
.map__info { flex: 1; min-width: 0; display: grid; gap: .15em; }
.map__info strong { font: 600 1.3em/1.2 var(--display); letter-spacing: -.02em; color: var(--forest); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map__info small { display: flex; align-items: center; gap: .3em; white-space: nowrap; }
.map__info small svg { width: 1.25em; height: 1.25em; color: #2E7D4F; }
.map__open { color: #2E7D4F !important; font-weight: 500; }
.map__go { flex: none; display: grid; place-items: center; width: 4em; height: 4em; border-radius: 50%; background: var(--terra); color: #fff; }
.map__go svg { width: 1.7em; height: 1.7em; }

.tabbar { position: absolute; left: 50%; bottom: 2.8%; transform: translateX(-50%); display: flex; align-items: center; gap: .3em; padding: .5em; border-radius: 99px; background: rgba(255, 255, 255, .96); box-shadow: 0 .8em 2em -.8em rgba(18, 48, 31, .45); color: var(--mute); }
.tabbar span { display: flex; align-items: center; justify-content: center; gap: .5em; min-width: 3.5em; height: 3.5em; border-radius: 99px; font-weight: 600; font-size: 1.05em; }
.tabbar svg { width: 1.6em; height: 1.6em; }
.tabbar .is-on { padding: 0 1.2em; background: var(--forest); color: #fff; }

/* Écran 2 : boutique */
.scr--shop, .scr--order { display: flex; flex-direction: column; padding: 6.4em 1.6em 0; background: var(--cream); }
.shop__head { display: flex; align-items: center; gap: 1em; }
.shop__logo { flex: none; width: 4.6em; height: 4.6em; padding: .5em; border-radius: 50%; background: var(--sage-soft); }
.shop__logo svg { width: 100%; height: 100%; }
.shop__head strong { display: block; font: 600 1.5em/1.2 var(--display); letter-spacing: -.02em; color: var(--forest); }
.shop__head small { display: flex; align-items: center; gap: .3em; margin-top: .2em; }
.shop__head small svg { width: 1.25em; height: 1.25em; color: #2E7D4F; }
.shop__title { display: flex; align-items: center; justify-content: space-between; margin: 1.8em 0 .9em; }
.shop__title b { font: 600 1.35em/1 var(--display); color: var(--ink); }
.live { display: inline-flex; align-items: center; gap: .5em; padding: .5em .9em; border-radius: 99px; background: #E3F1E4; color: #256B43; font-weight: 600; }
.live i { width: .65em; height: .65em; border-radius: 50%; background: #2E9B5B; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.shop__list { display: grid; gap: .7em; }
.shop__list li { display: flex; align-items: center; gap: 1em; padding: .8em; border-radius: 1.5em; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.phone[data-screen="shop"] .shop__list li { animation: card-up .5s var(--ease-out) both; }
.phone[data-screen="shop"] .shop__list li:nth-child(2) { animation-delay: 70ms; }
.phone[data-screen="shop"] .shop__list li:nth-child(3) { animation-delay: 140ms; }
.phone[data-screen="shop"] .shop__list li:nth-child(4) { animation-delay: 210ms; }
.shop__pic { flex: none; width: 4.4em; height: 4.4em; padding: .55em; border-radius: 1em; background: var(--bg); }
.shop__pic svg { width: 100%; height: 100%; }
.shop__list li > div { flex: 1; min-width: 0; display: grid; }
.shop__list strong { font-size: 1.14em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop__list em { font-style: normal; font-weight: 600; font-size: .96em; color: var(--mute); }
.shop__list em.ok { color: #256B43; }
.shop__list em.low { color: var(--terra-deep); }
.shop__list .is-out { opacity: .55; }
.qty { flex: none; display: flex; align-items: center; gap: .1em; padding: .25em; border-radius: 99px; background: var(--forest); color: #fff; font-weight: 600; }
.qty i { display: grid; place-items: center; width: 2em; height: 2em; font-style: normal; font-size: 1.15em; }
.qty b { min-width: 1.1em; text-align: center; font-size: 1.1em; }
.qty--add { background: var(--sage-soft); color: var(--forest); }
.cartbar { margin: auto -1% 4.5%; display: flex; align-items: center; gap: 1em; padding: .8em .8em .8em 1em; border-radius: 99px; background: var(--forest); color: #fff; box-shadow: 0 1em 2.4em -1em rgba(18, 48, 31, .6); }
.phone[data-screen="shop"] .cartbar { animation: card-up .6s .45s var(--ease-out) both; }
.cartbar__ico { position: relative; flex: none; display: grid; place-items: center; width: 3.6em; height: 3.6em; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cartbar__ico svg { width: 1.8em; height: 1.8em; }
.cartbar__ico b { position: absolute; top: -.2em; right: -.2em; display: grid; place-items: center; min-width: 1.7em; height: 1.7em; border-radius: 99px; background: var(--orange); font-size: .9em; }
.cartbar > div { flex: 1; display: grid; }
.cartbar strong { font: 600 1.35em/1.2 var(--display); }
.cartbar small { display: flex; align-items: center; gap: .3em; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.cartbar small svg { width: 1.15em; height: 1.15em; }
.cartbar__go { flex: none; padding: 1em 1.3em; border-radius: 99px; background: var(--terra); font-weight: 600; font-size: 1.08em; }

/* Écran 3 : commande */
.order__kicker { font-weight: 600; color: var(--terra-deep); letter-spacing: .06em; text-transform: uppercase; font-size: .95em; }
.order__title { margin-top: .3em; font: 600 2.05em/1.15 var(--display); letter-spacing: -.03em; color: var(--forest); }
.track { display: grid; margin: 1.5em 0 1.4em; }
.track li { position: relative; display: flex; align-items: center; gap: 1em; padding: .55em 0; font-size: 1.1em; color: var(--mute); }
.track i { position: relative; z-index: 1; flex: none; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--cream); border: .18em solid #C9D3C6; }
.track li:not(:last-child)::after { content: ''; position: absolute; left: .68em; top: 50%; width: .16em; height: 100%; background: #D6DED3; }
.track .is-done, .track .is-now { color: var(--ink); font-weight: 500; }
.track .is-done i { background: var(--forest); border-color: var(--forest); }
.track .is-done i::after { content: ''; position: absolute; left: 28%; top: 14%; width: 30%; height: 52%; border: solid #fff; border-width: 0 .17em .17em 0; transform: rotate(40deg); }
.track .is-done::after { background: var(--forest) !important; }
.track .is-now { font-weight: 600; color: var(--terra-deep); }
.track .is-now i { background: var(--terra); border-color: var(--terra); }
/* Halo du point « en cours » : un disque qui grandit et s'efface (agrandissement et opacité seulement, rien à redessiner) */
.track .is-now i::before { content: ''; position: absolute; inset: -.58em; border-radius: 50%; border: .4em solid rgba(184, 83, 45, .18); will-change: transform, opacity; }
.phone[data-screen="order"] .track .is-now i::before { animation: now 1.8s var(--ease-in-out) infinite; }
@keyframes now { 50% { transform: scale(1.35); opacity: 0; } }
.code { padding: 1.3em 1.2em 1.2em; border-radius: 1.9em; background: var(--forest); color: #fff; text-align: center; }
.code small { color: rgba(255, 255, 255, .75); font-weight: 500; letter-spacing: .04em; }
.code__cells { display: flex; justify-content: center; gap: .7em; margin: .9em 0; }
.code__cells b { display: grid; place-items: center; width: 2.05em; height: 2.5em; border-radius: .5em; background: #fff; color: var(--forest); font: 600 2.1em/1 var(--display); }
.phone[data-screen="order"] .code__cells b { animation: cell .5s var(--ease-out) both; }
.phone[data-screen="order"] .code__cells b:nth-child(2) { animation-delay: .09s; }
.phone[data-screen="order"] .code__cells b:nth-child(3) { animation-delay: .18s; }
.phone[data-screen="order"] .code__cells b:nth-child(4) { animation-delay: .27s; }
@keyframes cell { from { opacity: 0; transform: translateY(.5em) scale(.94); } }
.code p { font-size: .98em; line-height: 1.4; color: rgba(255, 255, 255, .82); }
.pickup { display: flex; align-items: center; gap: .9em; margin-top: 1em; padding: .9em; border-radius: 1.5em; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.pickup > span { flex: none; display: grid; place-items: center; width: 3.4em; height: 3.4em; border-radius: 1em; background: var(--sage-soft); color: var(--forest); }
.pickup > span svg { width: 1.8em; height: 1.8em; }
.pickup > div { flex: 1; min-width: 0; display: grid; }
.pickup strong { font-size: 1.12em; }
.pickup small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pickup em { flex: none; display: flex; align-items: center; gap: .35em; padding: .85em 1em; border-radius: 99px; background: var(--terra); color: #fff; font-style: normal; font-weight: 600; }
.pickup em svg { width: 1.2em; height: 1.2em; }
.bill { display: grid; gap: .45em; margin-top: 1em; padding: 1.1em 1.2em; border-radius: 1.5em; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.bill p { display: flex; justify-content: space-between; gap: 1em; color: var(--mute); }
.bill p:last-child { padding-top: .55em; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 1.1em; }

@media (max-width: 860px) {
  .tour__in { grid-template-columns: 1fr; }
  .tour__copy { max-width: none; }
  .phone { --ph: min(600px, 150vw); }
}

/* =====================================================================================
   La scène épinglée (accueil.js pose .is-live et règle la hauteur de .story)
   ===================================================================================== */
.story.is-live .story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--cream); }
.story.is-live :is(.hero, .crate, .tour) { position: absolute; inset: 0; }
.story.is-live .hero { min-height: 0; will-change: opacity; }
.story.is-live .hero__media { will-change: transform; }
.story.is-live .hero__copy { will-change: transform, opacity; }

/* Plongée : la cagette arrive déjà plein écran, en fondu ; seuls les légumes grandissent (ils sont « plus près » que le bois). */
.hero__dim { display: none; }
.story.is-live .hero__dim { display: block; position: absolute; inset: 0; opacity: 0; will-change: opacity; pointer-events: none;
  background: radial-gradient(120% 95% at 50% 46%, rgba(74, 46, 22, .55) 30%, rgba(40, 22, 8, .92) 100%); }
.story.is-live .crate { display: block; visibility: hidden; opacity: 0; will-change: opacity; pointer-events: none; }
.story.is-live .crate__veg { will-change: transform; }
.crate__wood { position: absolute; inset: 0; background:
  radial-gradient(120% 95% at 50% 46%, rgba(40, 22, 8, 0) 38%, rgba(40, 22, 8, .6) 100%),
  repeating-linear-gradient(90deg, rgba(58, 32, 12, 0) 0 calc(16.66% - 5px), rgba(46, 24, 8, .7) calc(16.66% - 5px) 16.66%),
  repeating-linear-gradient(90deg, rgba(255, 240, 215, .05) 0 3px, rgba(60, 34, 12, .05) 3px 9px),
  linear-gradient(180deg, #BC8C5A, #A87645 48%, #B6844F); }
.crate__veg { position: absolute; inset: 0; }
/* Chaque légume est une image peinte une fois au chargement, ombre comprise (accueil.js) : rien à redessiner pendant le mouvement */
.veg { position: absolute; left: 0; top: 0; max-width: none; will-change: transform; user-select: none; -webkit-user-drag: none; }

.story.is-live .tour { padding: 0; pointer-events: none; }   /* toujours dessiné (opacité gérée par accueil.js) ; rien à toucher dedans */
.story.is-live .tour__in { height: 100%; padding-top: 76px; }
.story.is-live .tour__device { will-change: transform, opacity; }
.story.is-live .tour__copy { will-change: transform, opacity; }
.story.is-live .step { opacity: .34; }
.story.is-live .step.is-on { opacity: 1; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 24px 44px -30px rgba(18, 48, 31, .4); }
.story.is-live .step.is-on .step__num { color: var(--terra-deep); }

@media (max-height: 780px) and (min-width: 861px) {
  .story.is-live .tour h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
  .story.is-live .step { padding-block: 11px; }
  .story.is-live .step p { font-size: .92rem; line-height: 1.45; }
}

/* Téléphone : le téléphone en haut, le texte du geste en cours dessous */
@media (max-width: 860px) {
  .story.is-live .tour__in { grid-template-rows: auto auto; align-content: center; justify-items: center; gap: clamp(12px, 2.4svh, 24px); padding-top: 62px; padding-bottom: 12px; }
  .story.is-live .tour__device { order: -1; }
  .story.is-live .phone { --ph: min(56svh, 520px); }
  .story.is-live .tour__copy { gap: 10px; text-align: center; justify-items: center; }
  .story.is-live .tour__copy .eyebrow { display: none; }
  .story.is-live .tour h2 { font-size: clamp(1.32rem, 5.6vw, 1.9rem); }
  .story.is-live .steps { display: grid; margin: 0; }
  .story.is-live .step { grid-area: 1 / 1; grid-template-columns: 1fr; gap: 2px; padding: 12px 16px; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .45s var(--ease-out); }
  .story.is-live .step.is-on { opacity: 1; transform: none; }
  .story.is-live .step__num { line-height: 1.2; }
  .story.is-live .step h3 { font-size: 1.1rem; }
  .story.is-live .step p { font-size: .9rem; line-height: 1.45; }
}

/* =====================================================================================
   Sections
   ===================================================================================== */
.sec { padding-block: clamp(88px, 12vw, 170px); }
.sec--sage { background: var(--sage-soft); }
.sec--forest { background: var(--forest); color: rgba(240, 246, 240, .82); }
.sec--forest h2, .sec--forest h3 { color: #fff; }
.sec--forest h2 em { color: var(--peach); }
.sec__head { display: grid; gap: 20px; max-width: 800px; margin-bottom: clamp(40px, 6vw, 76px); }
.sec__lead { max-width: 56ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); text-wrap: pretty; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ----- Fonctionnalités ----- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 20px); }
.tile { grid-column: span 4; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.4vw, 32px); border-radius: var(--r-xl); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.tile p { font-size: .98rem; line-height: 1.58; text-wrap: pretty; }
.tile h3 { margin-top: 10px; }
.chip-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--sage-soft); color: var(--forest); }
.chip-ico svg { width: 22px; height: 22px; }
.tile--map { grid-column: span 7; grid-row: span 2; flex-direction: row; gap: 24px; padding-right: 0; overflow: hidden; background: linear-gradient(140deg, #fff 30%, var(--sage-soft)); }
.tile--map .tile__txt { flex: 1 1 46%; display: flex; flex-direction: column; gap: 10px; align-self: center; }
.tile--map h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.tile--dark, .tile--terra { grid-column: span 5; }
.tile--dark { background: var(--forest); color: rgba(240, 246, 240, .84); box-shadow: none; }
.tile--dark h3 { color: #fff; }
.tile--dark .chip-ico { background: rgba(255, 255, 255, .12); color: #fff; }
.tile--terra { background: var(--terra-soft); box-shadow: none; }
.tile--terra .chip-ico { background: #fff; color: var(--terra-deep); }
.tile--terra h3 { color: #5E2A12; }
.tile--terra p { color: #6B4332; }
.tile--wide { grid-column: span 12; background: var(--cream-2); box-shadow: none; }
.tile__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.tile__cols > div { display: flex; flex-direction: column; gap: 10px; }
.tile--wide .chip-ico { background: #fff; }

.tile__art--radius { position: relative; flex: 1 1 54%; min-height: 300px; align-self: stretch; margin-block: calc(-1 * clamp(24px, 2.4vw, 32px)); }
.tile__art--radius > svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 6px 8px rgba(18, 48, 31, .14)); }
.rings circle { transform-box: fill-box; transform-origin: center; transition: transform 1.1s var(--ease-out), opacity .8s ease; }
.rings circle:nth-child(2) { transition-delay: .12s; }
.rings circle:nth-child(3) { transition-delay: .24s; }
.js .tile--map.reveal:not(.is-in) .rings circle { transform: scale(.9); opacity: 0; }

.mini-stock { display: grid; gap: 8px; margin-top: auto; padding-top: 14px; }
.mini-stock span { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 14px; background: rgba(255, 255, 255, .09); color: #fff; font-weight: 500; font-size: .95rem; }
.mini-stock svg { width: 30px; height: 30px; }
.mini-stock em { margin-left: auto; font-style: normal; font-weight: 600; font-size: .82rem; color: var(--peach); }
.mini-stock em.ok { color: #A9DDB9; }
.mini-code { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.mini-code b { display: grid; place-items: center; width: 46px; height: 56px; border-radius: 12px; background: #fff; color: var(--terra-deep); font: 600 1.6rem/1 var(--display); box-shadow: 0 10px 20px -14px rgba(150, 67, 31, .6); }

@media (max-width: 1040px) {
  .tile { grid-column: span 6; }
  .tile--map { grid-column: span 12; grid-row: auto; }
  .tile--dark, .tile--terra { grid-column: span 6; }
}
@media (max-width: 700px) {
  .tile, .tile--dark, .tile--terra { grid-column: span 12; }
  .tile--map { flex-direction: column; padding-right: clamp(24px, 2.4vw, 32px); }
  .tile__art--radius { margin: 0 calc(-1 * clamp(24px, 2.4vw, 32px)) calc(-1 * clamp(24px, 2.4vw, 32px)); min-height: 250px; flex: none; }
  .tile__cols { grid-template-columns: 1fr; }
}

/* ----- Preuves ----- */
.proofs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.proof { display: grid; align-content: start; gap: 12px; padding-top: 22px; border-top: 2px solid var(--forest); }
.proof__num { font: 600 .82rem/1 var(--display); letter-spacing: .08em; color: var(--terra-deep); }
.proof h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); }
.proof p { text-wrap: pretty; }
@media (max-width: 820px) { .proofs { grid-template-columns: 1fr; } }

/* ----- Bandeau des produits du mois ----- */
.season { margin-block: clamp(64px, 9vw, 120px); }
.season__label { font: 600 .78rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-deep); margin-bottom: 18px; }
.season__label span { color: var(--forest); }
.season__band { overflow: hidden; padding-block: 6px; }
.season__row { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); width: max-content; will-change: transform; font: 600 clamp(2.5rem, 7.2vw, 6.2rem)/1.1 var(--display); letter-spacing: -.04em; color: var(--forest); white-space: nowrap; }
.season__row span:nth-of-type(even) { font-style: italic; font-weight: 400; color: var(--terra-deep); }
.season__row i { flex: none; width: .26em; height: .26em; border-radius: 50%; background: var(--orange); }

/* ----- Rayons ----- */
.cats { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(210px, 23vw, 310px)); gap: clamp(12px, 1.5vw, 20px); }
.cat { position: relative; overflow: hidden; border-radius: var(--r-xl); background: #2b3327; color: #fff; isolation: isolate; }
.cat--tall { grid-row: span 2; }
.cat--wide { grid-column: span 2; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 26, 18, 0) 38%, rgba(14, 26, 18, .78) 100%); }
.cat__label { position: absolute; z-index: 1; left: clamp(20px, 2.2vw, 30px); right: 76px; bottom: clamp(18px, 2vw, 28px); display: grid; gap: 4px; }
.cat__label strong { font: 600 clamp(1.3rem, 2.1vw, 1.8rem)/1.15 var(--display); letter-spacing: -.025em; }
.cat__label small { font-size: .92rem; color: rgba(255, 255, 255, .86); }
.cat__go { position: absolute; z-index: 1; right: 18px; bottom: 18px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .25s ease, color .25s ease, transform .3s var(--ease-out); }
.cat__go svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .cat:hover img { transform: scale(1.06); }
  .cat:hover .cat__go { background: #fff; color: var(--forest); transform: rotate(8deg); }
}
.more-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 3vw, 36px); }
.more-cats li { padding: 10px 18px; border-radius: 99px; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px var(--line); font-size: .93rem; font-weight: 500; color: var(--forest); }
@media (max-width: 760px) {
  .cats { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 200px; }
  .cat--tall { grid-row: auto; grid-column: span 2; }
  .cat--wide { grid-column: span 2; }
  .cat__label { right: 20px; }
  .cat__go { display: none; }
}

/* ----- Producteurs ----- */
.pro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pro__txt { display: grid; gap: 22px; }
.pro__list { display: grid; gap: 14px; margin-top: 6px; }
.pro__list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; font-size: 1rem; line-height: 1.55; }
.pro__list svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--peach); }
.pro__list strong { color: #fff; font-weight: 600; }
.pro__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 10px; }
.pro__side { display: grid; }
.pro__photo { position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 5 / 4; }
.pro__photo img { width: 100%; height: 100%; object-fit: cover; }
.pro__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 26, 18, 0) 45%, rgba(14, 26, 18, .72) 100%); }
.pro__photo figcaption { position: absolute; z-index: 1; inset: auto clamp(20px, 2.4vw, 32px) clamp(18px, 2.2vw, 28px); font: italic 400 clamp(1.15rem, 1.9vw, 1.5rem)/1.3 var(--display); letter-spacing: -.015em; color: #fff; text-wrap: balance; }

/* ----- Tarifs producteurs ----- */
.tarifs { margin-top: clamp(72px, 10vw, 140px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid rgba(255, 255, 255, .14); scroll-margin-top: 40px; }
.tarifs__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.tarifs__head > div { display: grid; gap: 20px; }
.tarifs__head > p { font-size: 1rem; line-height: 1.6; text-wrap: pretty; }
.btn--line { background: none; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .34); }
@media (hover: hover) and (pointer: fine) { .btn--line:hover { background: rgba(255, 255, 255, .1); } }

.billing { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); margin-bottom: clamp(22px, 3vw, 32px); }
.billing button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .95rem; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.billing button[aria-pressed="true"] { background: var(--cream); color: var(--forest); }
.billing em { font-style: normal; font-size: .74rem; padding: 4px 9px; border-radius: 999px; background: var(--terra); color: #fff; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 20px); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-xl); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13); }
.plan h3 { font-size: 1.5rem; }
.plan__pitch { font-size: .96rem; }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 6px; }
.plan__price strong { font: 600 clamp(2.4rem, 3.6vw, 3.1rem)/1 var(--display); letter-spacing: -.04em; color: #fff; }
.plan__price span { font-size: .92rem; opacity: .8; }
.plan ul { display: grid; gap: 12px; margin: 14px 0 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .13); }
.plan li { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: .93rem; line-height: 1.5; }
.plan li svg { width: 20px; height: 20px; margin-top: 1px; color: var(--peach); }
.plan .btn { margin-top: auto; }
.plan--top { background: var(--cream); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .6); color: var(--body); }
.plan--top h3, .plan--top .plan__price strong { color: var(--forest); }
.plan--top ul { border-top-color: var(--line); }
.plan--top li svg { color: var(--terra-deep); }
.plan__tag { position: absolute; top: 20px; right: 20px; padding: 6px 12px; border-radius: 999px; background: var(--terra); color: #fff; font: 600 .72rem/1 var(--text); letter-spacing: .06em; text-transform: uppercase; }

.boost { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 24px; margin-top: clamp(12px, 1.5vw, 20px); padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-xl); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13); }
.boost__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(245, 199, 169, .16); color: var(--peach); }
.boost__ico svg { width: 24px; height: 24px; }
.boost h3 { font-size: 1.2rem; margin-bottom: 6px; }
.boost p { font-size: .95rem; line-height: 1.55; max-width: 74ch; text-wrap: pretty; }
.boost strong { color: #fff; font-weight: 600; }
@media (max-width: 980px) {
  .tarifs__head { grid-template-columns: 1fr; align-items: start; }
  .plans { grid-template-columns: 1fr; }
  .boost { grid-template-columns: auto 1fr; }
  .boost .btn { grid-column: 1 / -1; justify-self: start; }
}
.fine { margin-top: 18px; font-size: .82rem; color: rgba(240, 246, 240, .7); }
.fine a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 940px) { .pro { grid-template-columns: minmax(0, 1fr); } }
/* Écrans très étroits (moins de 360 px) : rien ne doit pousser la page en largeur */
@media (max-width: 360px) {
  .btn { white-space: normal; text-align: center; padding-block: 12px; line-height: 1.25; }
  .btn--sm { padding-inline: 14px; }
  .mark__name { display: none; }
}

/* ----- Questions ----- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq__aside { display: grid; gap: 20px; justify-items: start; position: sticky; top: 110px; }
.faq__list { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font: 600 1.1rem/1.35 var(--display); letter-spacing: -.015em; color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-soft); transition: background-color .25s ease, transform .35s var(--ease-out); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -.9px 0 0 -6px; border-radius: 2px; background: var(--forest); transition: transform .35s var(--ease-out), background-color .25s ease; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--forest); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details > div { padding: 0 54px 26px 0; }
.faq details[open] > div { animation: rise .5s var(--ease-out) both; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq__aside { position: static; } .faq details > div { padding-right: 0; } }

/* ----- Appel final ----- */
.final { position: relative; overflow: hidden; padding-block: clamp(96px, 13vw, 180px); background: radial-gradient(80% 70% at 50% 0, #EAF0E3, rgba(234, 240, 227, 0) 70%), var(--cream-2); text-align: center; }
.final__in { position: relative; display: grid; justify-items: center; gap: 24px; }
.final__logo { width: clamp(104px, 11vw, 148px); height: auto; }
.final h2 { max-width: 17ch; font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.final__lead { max-width: 48ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.final__get { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 40px; margin-top: 14px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 22px 0 18px; border-radius: 16px; background: var(--night); color: #fff; text-align: left; transition: transform .16s var(--ease-out), background-color .2s ease; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: .7rem; line-height: 1.2; opacity: .8; }
.store strong { display: block; font: 600 1.08rem/1.2 var(--display); letter-spacing: -.01em; }
.store:active { transform: scale(.97); }
.store.is-soon { background: rgba(35, 43, 55, .08); color: var(--night); box-shadow: inset 0 0 0 1px rgba(35, 43, 55, .18); cursor: default; }
.store.is-soon:active { transform: none; }
.qr { display: flex; align-items: center; gap: 16px; padding: 12px 20px 12px 12px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -36px rgba(18, 48, 31, .5); text-align: left; }
.qr img { width: 96px; height: 96px; border-radius: 10px; }
.qr p { display: grid; gap: 4px; max-width: 19ch; font-size: .86rem; line-height: 1.4; }
.qr strong { font: 600 .98rem/1.3 var(--display); color: var(--forest); }
@media (max-width: 700px) { .qr { display: none; } }   /* sur un téléphone, on ne scanne pas son propre écran */

.final__pro { display: flex; align-items: center; gap: 16px; margin-top: clamp(22px, 4vw, 44px); padding: 16px 22px 16px 16px; border-radius: 24px; background: var(--forest); color: rgba(240, 246, 240, .82); text-align: left; transition: transform .2s var(--ease-out), background-color .2s ease; }
.final__pro strong { display: block; font: 600 1.08rem/1.3 var(--display); color: #fff; }
.final__pro small { display: block; margin-top: 2px; font-size: .9rem; line-height: 1.45; }
.final__pro-ico { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: rgba(255, 255, 255, .12); color: var(--peach); }
.final__pro-ico svg { width: 24px; height: 24px; }
.final__pro-go { flex: none; width: 22px; height: 22px; color: #fff; transition: transform .25s var(--ease-out); }
.final__pro:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .final__pro:hover { background: var(--forest-deep); } .final__pro:hover .final__pro-go { transform: translateX(4px); } }

.final__veg { position: absolute; inset: 0; pointer-events: none; }
.final__veg svg { position: absolute; left: var(--x); top: var(--y); width: calc(clamp(70px, 9vw, 130px) * var(--s)); height: auto; aspect-ratio: 1; margin: calc(clamp(70px, 9vw, 130px) * var(--s) / -2); rotate: var(--r); filter: drop-shadow(0 16px 16px rgba(18, 48, 31, .2)); animation: bob 7s var(--ease-in-out) infinite alternate; }
.final__veg svg:nth-child(even) { animation-duration: 9s; animation-delay: -3s; }
@keyframes bob { to { transform: translateY(-16px) rotate(5deg); } }
@media (max-width: 700px) { .final__veg svg { opacity: .5; } }

/* ----- Pied de page ----- */
.foot { padding: clamp(56px, 7vw, 92px) 0 34px; background: var(--cream); border-top: 1px solid var(--line); font-size: .94rem; }
.foot__top { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 36px clamp(22px, 3vw, 48px); }
.foot__brand { display: grid; align-content: start; gap: 16px; max-width: 24ch; }
.foot__brand img { width: 96px; height: auto; }
.foot h3 { font: 600 .78rem/1.35 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--forest); margin-bottom: 16px; }
.foot ul { display: grid; gap: 10px; }
.foot a, .foot__btn { color: var(--body); transition: color .2s ease; }
.foot__btn { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
@media (hover: hover) { .foot a:hover, .foot__btn:hover { color: var(--terra-deep); } }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--mute); }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ----- Bandeau « mesure d'audience » (créé par commun.js) ----- */
.consent { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(400px, calc(100% - 32px)); padding: 20px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(18, 48, 31, .5); font-size: .9rem; opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .4s var(--ease-out); }
.consent.is-shown { opacity: 1; transform: none; }
.consent__title { font: 600 1.05rem/1.3 var(--display); color: var(--forest); margin-bottom: 6px; }
.consent__text a { text-decoration: underline; }
.consent__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.consent .btn { background: var(--forest); color: #fff; }
.consent .btn--ghost { background: none; color: var(--forest); box-shadow: inset 0 0 0 1px var(--line); }

/* ----- « Réduire les animations » : tout est en place, rien ne bouge ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__copy > *, .hero__cue, .hero__cue i::after, .map__me::after, .live i, .final__veg svg,
  .phone :is(.pin, .cluster, .map__card, .cartbar, .shop__list li, .code__cells b, .track i::before),
  .faq details[open] > div { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .tile--map.reveal .rings circle { opacity: 1; transform: none; transition: none; }
  .scr, .btn, .cat img, .step, .billing button { transition: none; }
}
