/* LècheBox — pensé d'abord pour le téléphone.
   Mise en page : de larges bandes pleine largeur qui alternent velours, nuit, chair et kraft ;
   texte calé à gauche, titres très grands, un seul bouton rouge par écran. */
:root {
  color-scheme: dark;
  --velvet: #3b0817;      /* fond principal : velours bordeaux */
  --night: #22040c;       /* bandes sombres */
  --lip: #f0284a;         /* rouge à lèvres : la seule couleur d'action */
  --lip-deep: #b00f2c;
  --blush: #f4cbbb;       /* chair : bande claire */
  --kraft: #c9a376;       /* le carton du colis */
  --cream: #fff3ea;       /* texte sur fonds sombres */
  --ink: #2a0710;         /* texte sur chair et kraft */
  --soft: #e2b3b8;        /* texte secondaire sur fonds sombres */
  --line: #fff3ea26;
  --display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --gutter: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--velvet); color: var(--cream); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
body.has-dock { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p, h1, h2, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--cream); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; border-radius: 4px; }
h1:focus { outline: none; }

/* ── titres : la typographie porte le ton ── */
h1, h2 { font-family: var(--display); font-weight: 600; font-variation-settings: 'opsz' 144; line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(44px, 13.5vw, 92px); }
h2 { font-size: clamp(36px, 10.5vw, 68px); font-style: italic; font-weight: 500; }
.h2-next { margin-top: 64px; }
.sub { margin-top: 16px; font-size: 17px; max-width: 34em; }
.lede { margin-top: 18px; font-size: 18px; line-height: 1.5; max-width: 30em; }
.fine { margin-top: 14px; font-size: 12.5px; line-height: 1.45; opacity: .72; }

/* ── bandeau promo + en-tête ── */
.promo { background: var(--kraft); color: var(--ink); text-align: center; font-size: 13.5px; padding: 8px 12px; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter); background: #3b0817f2; backdrop-filter: blur(10px); }
.wordmark { font: italic 600 25px/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.adults { font-size: 12.5px; color: var(--soft); }
.steps { display: none; gap: 14px; font-size: 13px; color: var(--soft); counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s) '. '; }
.steps [aria-current] { color: var(--cream); font-weight: 700; }
.steps .done { text-decoration: line-through; opacity: .6; }
body:not([data-step="1"]) .steps { display: flex; }
body:not([data-step="1"]) .adults { display: none; }

/* ── bouton : un seul style, rouge plein ── */
.btn {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; padding: 14px 26px;
  border: 0; border-radius: 99px; background: var(--lip); color: #fff; font: 700 17px/1.15 var(--body); text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.btn:active { transform: scale(.97); background: var(--lip-deep); }
.btn.cream { background: var(--cream); color: var(--ink); }
.btn.ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; min-height: 50px; font-size: 15px; }
.btn.waiting { background: #6b3a45; color: #e9cfd3; }
.text-link { display: inline-block; margin-top: 26px; padding: 6px 0; font-weight: 600; text-underline-offset: 4px; }

/* ── bandes ── */
.view.narrow { max-width: 600px; margin: 0 auto; padding: 8px var(--gutter) 36px; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: var(--gutter); }
.band { padding-block: 64px; }
.band.night { background: var(--night); }
.band.blush { background: var(--blush); color: var(--ink); }
.band.kraft { background: var(--kraft); color: var(--ink); }
.band.lip { background: var(--lip); color: #fff; }

/* ── héros : la photo d'abord, le titre mord dessus ── */
.hero-photo { position: relative; aspect-ratio: 1 / .92; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.4s cubic-bezier(.2, .7, .2, 1) both; }
.hero-photo::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, var(--velvet)); }
@keyframes settle { from { transform: scale(1.14); } }
.hero-tag { position: absolute; top: 16px; right: 16px; z-index: 1; background: var(--kraft); color: var(--ink); font: 600 26px/1 var(--display); padding: 12px 14px; border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; transform: rotate(8deg); }
.hero-copy { position: relative; margin-top: -84px; padding-bottom: 56px; }
.hero-price { margin: 22px 0 16px; font-size: 17px; }
.hero-price b { font-size: 22px; }
.hero-price small { display: block; font-size: 14px; color: var(--soft); }
.old { margin-right: 6px; opacity: .6; font-weight: 400; font-size: .85em; }
.rating { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 15px; text-decoration: none; }
a.rating span:last-child { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.stars { position: relative; display: inline-block; color: #fff3ea33; font-size: 18px; letter-spacing: 2px; line-height: 1; }
.stars span { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--kraft); white-space: nowrap; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 14px; font-weight: 600; }
.facts li { position: relative; padding-left: 14px; }
.facts li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--lip); }
.facts.center { justify-content: center; margin-top: 26px; font-weight: 500; color: var(--soft); }

/* ── ce qui te manque : une liste à toucher, pas des cartes ── */
.needs { margin-top: 28px; border-top: 1px solid var(--line); }
.need { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 0; background: none; border: 0; border-bottom: 1px solid var(--line); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.need-q { font: italic 500 23px/1.2 var(--display); letter-spacing: -.01em; }
.need-a { flex: none; font-size: 13.5px; font-weight: 700; color: var(--lip); white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
.need:active .need-q { color: var(--lip); }

/* ── dans la box : l'inventaire, en chiffres ── */
.manifest { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.manifest dt { font: 600 54px/.9 var(--display); letter-spacing: -.04em; color: var(--lip-deep); }
.manifest dd { margin-top: 8px; font-size: 15px; line-height: 1.35; }
.rail { display: flex; gap: 10px; margin-top: 36px; padding: 0 var(--gutter) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail > img, .rail > video { flex: none; height: 300px; width: auto; max-width: none; border-radius: 6px; scroll-snap-align: center; object-fit: cover; }
.rail > video { aspect-ratio: 16 / 10; background: var(--ink); }

/* ── avis ── */
.quote { margin-top: 28px; }
.quote blockquote { font: italic 500 27px/1.22 var(--display); letter-spacing: -.01em; }
.quote figcaption { margin-top: 14px; font-size: 14px; color: var(--soft); }
.rail.reviews { margin-top: 34px; align-items: stretch; }
.review { flex: none; width: 78%; max-width: 320px; padding: 4px 0 4px 18px; border-left: 2px solid var(--lip); scroll-snap-align: center; }
.review blockquote { font-size: 16px; line-height: 1.45; }
.review figcaption { margin-top: 10px; font-size: 13.5px; color: var(--soft); }
.review figcaption b { color: var(--cream); }

/* ── trois étapes (une vraie suite : les numéros ont un sens) ── */
.how { counter-reset: how; margin-top: 30px; display: grid; gap: 24px; }
.how li { counter-increment: how; display: grid; grid-template-columns: 54px 1fr; column-gap: 8px; }
.how li::before { content: counter(how); grid-row: span 2; font: italic 500 52px/.85 var(--display); color: var(--lip); }
.how b { font-size: 18px; }
.how span { color: var(--soft); font-size: 15px; }

/* ── la carte des formules (accueil) ── */
.menu { margin-top: 26px; border-top: 1px solid var(--line); }
.menu-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; width: 100%; padding: 20px 0; background: none; border: 0; border-bottom: 1px solid var(--line); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.menu-name { font: 600 27px/1.1 var(--display); letter-spacing: -.02em; }
.menu-name i { display: block; width: fit-content; margin-top: 8px; font: 700 12px/1 var(--body); letter-spacing: 0; color: var(--ink); background: var(--kraft); padding: 4px 8px; border-radius: 4px; }
.menu-price { font-weight: 700; font-size: 18px; white-space: nowrap; align-self: center; }
.menu-price small { font-weight: 400; font-size: 13px; color: var(--soft); }
.menu-for { grid-column: 1 / -1; font-size: 14.5px; color: var(--soft); }

/* ── FAQ ── */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 28px 18px 0; min-height: 56px; position: relative; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 2px; top: 13px; font: 400 28px/1 var(--display); color: var(--lip); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 18px; color: var(--soft); max-width: 36em; }
.finale h2 { font-size: clamp(48px, 15vw, 104px); }
.finale .btn { margin-top: 28px; }

/* ── étape 2 ── */
.back { display: inline-block; padding: 10px 0; font-size: 14px; color: var(--soft); text-underline-offset: 4px; }
.view.narrow h1 { font-size: clamp(40px, 11.5vw, 64px); }
.reco { margin-top: 22px; padding: 18px 20px; background: var(--blush); color: var(--ink); border-radius: 6px; font-size: 15px; line-height: 1.45; }
.reco-q { font: italic 500 21px/1.2 var(--display); margin-bottom: 8px; }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; border: 1.5px solid var(--cream); border-radius: 99px; padding: 4px; }
.mode-switch button { min-height: 54px; padding: 6px; border: 0; border-radius: 99px; background: transparent; color: var(--cream); font: inherit; line-height: 1.2; cursor: pointer; }
.mode-switch b { display: block; font-size: 16px; }
.mode-switch small { font-size: 12.5px; opacity: .8; }
.mode-switch [aria-checked="true"] { background: var(--cream); color: var(--ink); }
.mode-note { margin-top: 12px; min-height: 44px; font-size: 14px; color: var(--soft); }

.plans { border: 0; margin: 10px 0 0; padding: 0; min-width: 0; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.plan { border-bottom: 1px solid var(--line); }
.plan label { display: grid; grid-template-columns: 26px 1fr auto; gap: 14px; align-items: start; padding: 20px 0; cursor: pointer; }
.plan-dot { width: 24px; height: 24px; margin-top: 5px; border-radius: 50%; border: 2px solid var(--cream); }
.plan input:checked + label .plan-dot { border: 7px solid var(--lip); background: #fff; }
.plan input:focus-visible + label { outline: 3px solid var(--cream); outline-offset: 2px; border-radius: 4px; }
.flag { display: inline-block; margin-bottom: 6px; background: var(--kraft); color: var(--ink); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.plan-name { display: block; font: 600 28px/1.05 var(--display); letter-spacing: -.02em; }
.plan-tag { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--soft); }
.plan-price { text-align: right; line-height: 1.2; }
.plan-price .old { display: block; margin: 0; font-size: 13px; }
.plan-price b { display: block; font-size: 21px; }
.plan-price small { font-size: 12px; color: var(--soft); }
.plan-price.off small { display: block; max-width: 8.5em; }
/* Le détail ne s'ouvre que pour la formule choisie : quatre lignes à comparer, pas quatre pavés. */
.plan-more { display: none; padding: 0 0 24px 40px; }
.plan input:checked ~ .plan-more { display: block; animation: open .3s ease both; }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
.plan-more img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.plan-more ul { margin-top: 14px; }
.plan-more li, .ticket-items li { position: relative; padding: 3px 0 3px 18px; font-size: 15px; }
.plan-more li::before, .ticket-items li::before { content: ''; position: absolute; left: 0; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--lip); }
.plan.locked label { cursor: default; opacity: .62; }
.plan.locked .plan-dot { visibility: hidden; }
.plan.locked .plan-more { display: block; padding-top: 0; }
.plan.locked .plan-more > :not(.btn) { display: none; }
.meter { margin-top: 18px; }
.meter-bar { height: 10px; border-radius: 99px; background: var(--lip); overflow: hidden; }
.meter-bar span { display: block; height: 100%; background: var(--cream); border-right: 3px solid var(--velvet); }
.meter p { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 13.5px; color: var(--soft); }
.meter p b { color: var(--cream); }
.nudge { animation: nudge .45s ease; }
@keyframes nudge { 20% { transform: translateX(-7px); } 45% { transform: translateX(6px); } 70% { transform: translateX(-4px); } }

/* ── étape 3 : le ticket, clair sur fond velours ── */
#recap { margin-top: 24px; }
.ticket { color-scheme: light; background: var(--cream); color: var(--ink); border-radius: 8px; padding: 20px; }
.ticket a { color: inherit; }
.ticket-head { display: flex; align-items: center; gap: 14px; }
.ticket-head img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; flex: none; }
.ticket-head div { flex: 1; min-width: 0; }
.ticket-head b { display: block; font: 600 27px/1.05 var(--display); letter-spacing: -.02em; }
.ticket-head span { font-size: 14px; opacity: .75; }
.ticket-head a { font-size: 14px; font-weight: 600; padding: 10px 0 10px 8px; text-underline-offset: 4px; }
.ticket-items { margin-top: 14px; }
.totals { margin-top: 16px; border-top: 1px solid #2a071026; padding-top: 8px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.totals dd { text-align: right; white-space: nowrap; }
.totals .sum { margin-top: 6px; padding-top: 12px; border-top: 1px solid #2a071026; font-weight: 700; font-size: 20px; }
.saving { margin-top: 10px; padding: 10px 12px; background: var(--kraft); border-radius: 6px; font-size: 14px; font-weight: 600; }
.cond { margin-top: 10px; font-size: 14px; opacity: .8; }
.adult { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px; border: 1.5px solid var(--ink); border-radius: 6px; font-size: 15px; line-height: 1.4; cursor: pointer; }
.adult input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--lip-deep); }
.adult-help { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--lip-deep); }
.pay { margin-top: 16px; }
.pay-note { margin-top: 12px; font-size: 13px; text-align: center; opacity: .8; }
.assure { margin-top: 18px; padding-top: 16px; border-top: 1px solid #2a071026; display: grid; gap: 8px; font-size: 14px; }
#recap > .meter { margin-top: 26px; }
#recap > .review { width: auto; max-width: none; margin-top: 28px; }

/* ── pied de page + barre du bas ── */
.foot { background: var(--night); padding: 28px var(--gutter) 34px; font-size: 13.5px; color: var(--soft); }
.foot b { color: var(--cream); }
.foot-links { display: flex; flex-wrap: wrap; gap: 2px 20px; margin-top: 8px; }
.foot-links a { padding: 8px 0; text-underline-offset: 4px; }
.foot-legal { margin-top: 8px; font-size: 12.5px; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 12px var(--gutter) calc(14px + env(safe-area-inset-bottom)); background: #22040cf5; backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.dock-info { flex: 1; min-width: 0; line-height: 1.25; }
.dock-info small { display: block; font-size: 12.5px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-info b { font-size: 17px; white-space: nowrap; }
.dock .btn { width: auto; flex: none; min-height: 52px; }
.noscript { margin: 16px; padding: 14px; background: var(--cream); color: var(--ink); border-radius: 8px; }

/* ── écrans larges ── */
@media (min-width: 860px) {
  :root { --gutter: 40px; }
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: 1280px; margin: 0 auto; }
  .hero-photo { aspect-ratio: 1; order: 2; }
  .hero-photo::after { display: none; }
  .hero-copy { margin-top: 0; padding-block: 56px; }
  .btn { width: auto; min-width: 280px; display: inline-flex; }
  .band { padding-block: 104px; }
  .manifest { grid-template-columns: repeat(3, 1fr); }
  .how { grid-template-columns: repeat(3, 1fr); }
  .needs, .menu { max-width: 760px; }
  .rail { padding-inline: max(var(--gutter), calc((100vw - 1040px) / 2 + var(--gutter))); }
  .rail > img, .rail > video { height: 400px; }
  .dock { left: 50%; right: auto; bottom: 18px; transform: translateX(-50%); width: min(600px, 92vw); border: 1px solid var(--line); border-radius: 99px; padding: 10px 12px 10px 28px; }
  .dock .btn { min-width: 0; }
  .view.narrow .btn { width: 100%; }
}
/* ── mouvement : doux, lent, jamais gratuit. Tout est coupé si l'appareil demande moins d'animations. ── */
* { -webkit-tap-highlight-color: transparent; }
/* Apparition au défilement : le contenu monte légèrement, en cascade. Sans JavaScript, rien n'est masqué. */
.anim .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.anim .rv.in { opacity: 1; transform: none; }
/* Changement d'étape : l'écran suivant glisse en place. */
.view.narrow.enter { animation: viewIn .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(16px); } }
/* En-tête : une ombre apparaît dès qu'on défile. */
.top { transition: box-shadow .3s ease; }
.top.scrolled { box-shadow: 0 10px 30px #0006; }
/* Bouton principal : une respiration lente pour guider l'œil. */
#heroCta, #payBtn, .finale .btn { animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 #f0284a66; } 55% { box-shadow: 0 0 0 16px #f0284a00; } }
.finale .btn { animation-name: breatheCream; }
@keyframes breatheCream { 0%, 100% { box-shadow: 0 0 0 0 #fff3ea73; } 55% { box-shadow: 0 0 0 16px #fff3ea00; } }
/* Barre du bas : elle monte depuis le bord. */
.dock { animation: dockIn .4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes dockIn { from { transform: translateY(100%); } }
/* Jauge de valeur : elle se remplit quand elle apparaît. */
.meter-bar span { animation: fill 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fill { from { width: 0; } }
/* Sélection d'une formule, ouverture d'une question. */
.plan input:checked + label .plan-dot { animation: pop .35s ease; }
@keyframes pop { 45% { transform: scale(1.3); } }
.faq details[open] p { animation: open .35s ease both; }
.need-q, .menu-name, .rail > img { transition: transform .35s cubic-bezier(.2, .7, .2, 1), color .2s ease; }
.need:active .need-q, .menu-row:active .menu-name { transform: translateX(8px); }
.mode-switch button { transition: background .25s ease, color .25s ease; }
/* Lueur lente sur les bandes sombres, comme une bougie. */
.band.night { position: relative; overflow: hidden; }
.band.night::before { content: ''; position: absolute; width: 130vw; height: 130vw; max-width: 900px; max-height: 900px; left: -30%; top: -20%; border-radius: 50%; background: radial-gradient(closest-side, #f0284a26, transparent); animation: ember 16s ease-in-out infinite alternate; pointer-events: none; }
.band.night > .wrap { position: relative; }
@keyframes ember { to { transform: translate(55%, 35%) scale(1.15); } }
@media (hover: hover) {
  .btn { transition: transform .2s ease, background .2s ease, filter .2s ease; }
  .btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
  .need:hover .need-q, .menu-row:hover .menu-name { transform: translateX(8px); }
  .rail > img:hover { transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
