/* MISU v2 : éditorial, crème dominant, beaucoup d'air, filets fins, chocolat pour les temps forts.
   Accueil : ouverture, garanties, bandeau, incontournables, deux univers, bouchées, saisons, livraison, appel final.
   Carte : familles à gauche, carte en lignes au centre, précommande à droite. Display = écran du comptoir. */
:root {
  --choc: #3A211B;
  --cream: #F3E9D7;
  --caramel: #C99A62;
  --pistache: #7A8F5A;
  --white: #FFFFFF;
  --bg: #F3E9D7; --ink: #3A211B; --surface: #FAF4E9; --btn-bg: #C99A62; --btn-ink: #3A211B;
  --muted: #74625A;
  --line: #DCCFBD;
  --line-soft: #E6DBCA;
  --sand: #EAD8BD;
  --sand-hi: #F2E5CF;
  --bordeaux: #7A2E2E;
  --paper: #FFFDF6;
  --shadow: rgb(58 33 27 / .16);

  --f-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --t-xs: .75rem; --t-sm: .875rem; --t-base: 1rem; --t-lg: 1.5rem; --t-xl: clamp(2.25rem, 4.6vw, 3.5rem);
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: only light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-base)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
::selection { background: var(--caramel); color: var(--choc); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-choc :focus-visible, .on-choc:focus-visible { outline-color: var(--cream); }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.anchor { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 64px); }
.caps { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; }
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec-sand { background: var(--surface); border-block: 1px solid var(--line-soft); }
.sec-title { font: 400 var(--t-xl)/1.02 var(--f-display); letter-spacing: -.015em; text-wrap: balance; }
.sec-title em { font-style: italic; }
.lead { color: var(--muted); max-width: 50ch; font-size: 1.0625rem; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--caramel); }
.tag {
  display: inline-block; font: 500 .6875rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); border: 1px dashed var(--line); border-radius: 2px; padding: 5px 7px; vertical-align: middle;
}

/* Logo */
.logo-mark { width: 40px; height: 40px; border-radius: 50%; flex: none; display: block; }

/* ---------- Barre ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--ink);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: var(--nav-h); }
.nav-left { display: flex; gap: 28px; }
.nav-right { display: flex; gap: 8px 22px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.nav-link {
  color: inherit; font-size: var(--t-sm); font-weight: 500; text-decoration: none; background: none; border: 0; padding: 6px 0;
  background-image: linear-gradient(var(--caramel), var(--caramel)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .3s var(--ease);
}
.nav-link[aria-current="page"] { background-size: 100% 1px; }
@media (hover: hover) { .nav-link:hover { background-size: 100% 1px; } }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 400 1.75rem/1 var(--f-display); letter-spacing: .24em; margin-right: -.24em; color: inherit; text-decoration: none; }
.cart-link {
  display: inline-flex; align-items: center; gap: 10px; color: var(--cream); background: var(--choc);
  font-size: var(--t-sm); font-weight: 500; text-decoration: none; padding: 8px 8px 8px 16px; border-radius: 999px;
}
.cart-count {
  min-width: 1.6rem; height: 1.6rem; padding-inline: 6px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--caramel); color: var(--choc); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
@media (max-width: 699px) {
  :root { --nav-h: 60px; }
  .nav-in { grid-template-columns: auto 1fr; }
  .nav-left { display: none; }
  .brand { font-size: 1.375rem; gap: 10px; }
  .logo-mark { width: 34px; height: 34px; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--btn-bg); color: var(--btn-ink); border: 0; border-radius: var(--r);
  font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .18em; text-decoration: none;
  padding: 17px 28px; text-align: center;
}
.btn::after { content: "→"; font-size: 1rem; letter-spacing: 0; transition: translate .25s var(--ease); }
@media (hover: hover) {
  .btn:hover { background: color-mix(in srgb, var(--btn-bg) 85%, var(--choc)); }
  .btn:hover::after { translate: 4px 0; }
}
.btn:disabled { opacity: .5; cursor: default; }
.btn-dark { background: var(--choc); color: var(--cream); }
@media (hover: hover) { .btn-dark:hover { background: #4b2c24; } }
.link-arrow {
  color: inherit; font-weight: 600; font-size: var(--t-sm); text-decoration: none; padding-block: 4px;
  border-bottom: 1px solid var(--caramel);
}
.btn-ghost { background: none; color: var(--ink); border: 1px solid var(--ink); border-radius: var(--r); font-weight: 600; font-size: var(--t-sm); padding: 10px 16px; }
@media (hover: hover) { .btn-ghost:hover { background: var(--ink); color: var(--cream); } }
.btn-ghost[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.link-btn { background: none; border: 0; padding: 0; font-size: var(--t-sm); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--caramel); }

/* ---------- Accueil : ouverture ---------- */
.hero { position: relative; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 88px); }
.hero-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero h1 { font: 400 clamp(3.75rem, 10.5vw, 8.25rem)/.88 var(--f-display); letter-spacing: -.03em; }
.hero h1 em { font-style: italic; display: inline-block; }
.hero-sub { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--muted); max-width: 42ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.coupon {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border: 1px dashed var(--caramel); border-radius: var(--r); padding: 10px 16px; font-size: var(--t-sm); color: var(--muted);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.coupon b { font: 500 .875rem/1 var(--f-mono); letter-spacing: .08em; color: var(--ink); background: var(--sand); padding: 5px 8px; border-radius: 2px; }
.coupon strong { color: var(--ink); font-weight: 700; }
@media (max-width: 600px) { .coupon { display: block; line-height: 2.2; } .coupon strong { margin-right: 6px; } .coupon b { margin-left: 4px; } }
@media (min-width: 900px) { .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; } }

/* Grand visuel : arche, en attendant la photo. Anneau de texte, logo au centre, desserts autour. */
.photo {
  position: relative; width: 100%; max-width: 460px; aspect-ratio: 4 / 5; justify-self: center;
  background: radial-gradient(120% 80% at 50% 30%, var(--sand-hi), var(--sand) 70%);
  border-radius: 999px 999px var(--r) var(--r); display: grid; place-items: center; padding: 10%;
}
.photo::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgb(58 33 27 / .14); border-radius: inherit; pointer-events: none; }
.emblem { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.emblem > * { position: absolute; }
.emblem .ring { inset: 0; width: 100%; height: 100%; }
.ring-text { font: 600 15px var(--f-body); fill: var(--ink); text-transform: uppercase; letter-spacing: .1em; }
.emblem-logo { height: auto; aspect-ratio: 1 / 1; width: 54%; left: 23%; top: 23%; border-radius: 50%; box-shadow: 0 18px 40px rgb(58 33 27 / .2); }
.emblem .cup { position: absolute; width: 22%; right: -4%; bottom: -8%; rotate: 8deg; }
.emblem .cookie { width: 19%; left: -2%; top: 2%; }
.emblem .bowl { width: 27%; left: -6%; bottom: -6%; padding: 7%; }

/* Garanties */
.assure { border-block: 1px solid var(--line); }
.assure-in { display: grid; grid-template-columns: minmax(0, 1fr); }
.assure-item { display: flex; align-items: center; gap: 14px; padding: 18px 0; font-size: var(--t-sm); }
.assure-item + .assure-item { border-top: 1px solid var(--line-soft); }
.assure-item svg { width: 24px; height: 24px; flex: none; color: var(--caramel); }
.assure-item b { display: block; font-weight: 600; }
.assure-item span { color: var(--muted); }
@media (min-width: 760px) {
  .assure-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .assure-item { padding: 26px 24px; justify-content: center; }
  .assure-item + .assure-item { border-top: 0; border-left: 1px solid var(--line-soft); }
}

/* ---------- Dessins (remplacés plus tard par les photos) ---------- */
.bowl { display: block; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--white); padding: 9%; box-shadow: 0 12px 26px var(--shadow); }
.bowl-in {
  display: block; width: 100%; height: 100%; border-radius: 50%; position: relative;
  background: conic-gradient(from 25deg, var(--b1) 0 27%, var(--b2) 27% 49%, var(--b3) 49% 74%, var(--b4) 74% 100%);
  box-shadow: inset 0 0 0 2px rgb(58 33 27 / .1);
}
.bowl-in::after { content: ""; position: absolute; inset: 35%; border-radius: 50%; background: var(--b5); box-shadow: 0 0 0 3px rgb(255 255 255 / .55); }
.tira { display: block; aspect-ratio: 1 / 1; border-radius: 9%; background: var(--white); padding: 8%; box-shadow: 0 10px 22px var(--shadow); }
.tira-in {
  display: block; width: 100%; height: 100%; border-radius: 5%; position: relative; overflow: hidden;
  background: radial-gradient(rgb(243 233 215 / .3) 1px, transparent 1.7px) 0 0 / 8px 8px, var(--t-top);
}
.tira-in::after { content: ""; position: absolute; right: 0; bottom: 0; width: 44%; height: 44%; background: var(--cream); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.cup { display: block; position: relative; aspect-ratio: 3 / 5; filter: drop-shadow(0 10px 14px var(--shadow)); }
.cup::before {
  content: ""; position: absolute; left: 5%; right: 5%; top: 0; height: 27%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: rgb(255 255 255 / .5); box-shadow: inset 0 0 0 2px rgb(255 255 255 / .95);
}
.cup-in {
  position: absolute; left: 0; right: 0; top: 24%; bottom: 0; clip-path: polygon(3% 0, 97% 0, 80% 100%, 20% 100%);
  background: linear-gradient(var(--t-top) 0 17%, var(--white) 17% 80%, var(--caramel) 80% 100%);
}
.cup.sup-1 .cup-in, .cup.sup-2 .cup-in {
  background:
    linear-gradient(90deg, transparent 16%, var(--drip2, var(--drip1)) 16% 26%, transparent 26% 58%, var(--drip2, var(--drip1)) 58% 68%, transparent 68%) 0 26% / 100% 18% no-repeat,
    linear-gradient(var(--t-top) 0 17%, var(--drip1) 17% 27%, var(--white) 27% 80%, var(--caramel) 80% 100%);
}
.cup.sup-top::after {
  content: ""; position: absolute; left: 12%; right: 12%; top: 22%; height: 9%;
  background: radial-gradient(circle, var(--cream) 0 34%, transparent 38%) 0 0 / 20% 100%;
}
.cookie {
  display: block; aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 0 10px 18px var(--shadow);
  background:
    radial-gradient(circle at 30% 30%, var(--choc) 0 7%, transparent 8%),
    radial-gradient(circle at 66% 26%, var(--choc) 0 6%, transparent 7%),
    radial-gradient(circle at 56% 62%, var(--choc) 0 8%, transparent 9%),
    radial-gradient(circle at 27% 68%, var(--choc) 0 5%, transparent 6%),
    var(--caramel);
}
.macaron {
  display: block; aspect-ratio: 5 / 4; border-radius: 50% / 46%; box-shadow: 0 8px 16px var(--shadow);
  background: linear-gradient(var(--pistache) 0 40%, var(--cream) 40% 60%, var(--pistache) 60% 100%);
}
.donut {
  display: block; aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 0 10px 18px var(--shadow);
  background:
    radial-gradient(circle, var(--sand) 0 21%, transparent 22%),
    radial-gradient(circle at 28% 30%, var(--cream) 0 3.5%, transparent 4.5%),
    radial-gradient(circle at 70% 32%, var(--pistache) 0 3.5%, transparent 4.5%),
    radial-gradient(circle at 74% 68%, var(--cream) 0 3.5%, transparent 4.5%),
    radial-gradient(circle at 30% 72%, var(--pistache) 0 3.5%, transparent 4.5%),
    radial-gradient(circle, var(--choc) 0 58%, var(--caramel) 59%);
}
.sauce { display: block; aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 0 8px 16px var(--shadow); background: radial-gradient(circle, var(--d) 0 56%, var(--white) 57%); }
.drink {
  display: block; aspect-ratio: 3 / 5; border-radius: 16% / 10%; box-shadow: 0 10px 18px var(--shadow);
  background: linear-gradient(var(--d) 0 20%, var(--cream) 20% 62%, var(--d) 62% 100%);
}
.boxill {
  position: relative; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 8%; width: 100%;
  background: var(--white); padding: 11%; border-radius: 8%; box-shadow: 0 12px 26px var(--shadow);
}
.boxill i { aspect-ratio: 1 / 1; border-radius: 50%; background: var(--f, transparent); box-shadow: inset 0 0 0 1.5px var(--line); }
.boxill.drizzle::after {
  content: ""; position: absolute; inset: 6%; border-radius: 6%; pointer-events: none;
  background: repeating-linear-gradient(118deg, transparent 0 13%, var(--drip1) 13% 16%, transparent 16% 29%, var(--drip2, var(--drip1)) 29% 32%);
  opacity: .9;
}

/* ---------- Accueil : bandeau ---------- */
.band { background: var(--choc); color: var(--cream); }
.marquee { overflow: hidden; padding-block: 18px; }
.marquee-track { display: flex; width: max-content; white-space: nowrap; font: italic 400 1.375rem/1 var(--f-display); color: var(--cream); }
.marquee-track span { padding-right: 1.4em; }

/* ---------- Accueil : sections ---------- */
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head-row { flex-direction: row; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.sec-head .lead { margin-top: 2px; }

/* Les incontournables */
.hits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.hit { display: flex; flex-direction: column; }
.hit-tile {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 24px; border-radius: var(--r);
  background: radial-gradient(90% 80% at 50% 40%, var(--sand-hi), var(--sand) 75%);
}
.hit-tile > .bowl, .hit-tile > .boxill { width: 46%; max-width: 170px; }
.hit-tile > .cup { width: 23%; max-width: 92px; }
.hit-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 2px 0; flex: 1; }
.hit-name { font: 400 2rem/1.05 var(--f-display); }
.hit .card-buy { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }

/* Deux univers */
.univers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.uni {
  position: relative; overflow: hidden; border-radius: var(--r); min-height: 380px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 4vw, 48px);
}
.uni-sale { background: var(--choc); color: var(--cream); }
.uni-sale .uni-txt { color: rgb(243 233 215 / .78); }
.uni-sucre { background: var(--sand); }
.uni-sucre .uni-txt { color: var(--muted); }
.uni-kicker { opacity: .7; }
.uni-title { font: italic 400 clamp(3.75rem, 8vw, 5.75rem)/.9 var(--f-display); letter-spacing: -.02em; }
.uni-txt { max-width: 26ch; font-size: 1.0625rem; }
.uni .btn { margin-top: auto; position: relative; z-index: 1; }
.uni-ill { position: absolute; right: -8%; bottom: -14%; width: 50%; }
.uni-ill-cup { width: 25%; right: 8%; bottom: -6%; }
.uni-ill-b { position: absolute; right: 36%; bottom: 7%; width: 15%; }

/* Bouchées */
.spot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.spot-ill {
  width: 100%; max-width: 440px; justify-self: center; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 18%;
  border-radius: 50%; background: radial-gradient(circle at 50% 42%, var(--sand-hi), var(--sand) 70%);
}
.spot-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.sizes-line { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 8px 16px; font-size: var(--t-sm); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 820px) { .spot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }

/* Saisons */
.seasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.season {
  border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 6px;
  background: var(--bg);
}
.season[aria-current="true"] { background: var(--choc); color: var(--cream); border-color: var(--choc); }
.season[aria-current="true"] .season-months { color: rgb(243 233 215 / .65); }
.season[aria-current="true"] .season-flavs li { border-color: rgb(243 233 215 / .16); }
.season-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 2.4rem; }
.season-name { font: italic 400 2.125rem/1 var(--f-display); }
.season-months { color: var(--muted); font-size: var(--t-sm); }
.season-flavs { margin-top: 14px; display: flex; flex-direction: column; font-weight: 500; }
.season-flavs li { padding-block: 8px; border-top: 1px solid var(--line); }
.now { background: var(--pistache); color: var(--white); font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.fine { color: var(--muted); font-size: var(--t-sm); }

/* Livraison */
.deliv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 900px) { .deliv { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 80px; } }
.steps { display: flex; flex-direction: column; margin-top: 32px; counter-reset: s; }
.step-item { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 2px 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.step-item:last-child { border-bottom: 1px solid var(--line); }
.step-n { font: italic 400 2.25rem/1 var(--f-display); color: var(--caramel); grid-row: span 2; }
.step-t { font-weight: 600; font-size: 1.0625rem; }
.step-d { color: var(--muted); font-size: var(--t-sm); }
.fees-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.fees-card .fees { width: 100%; border-top: 0; padding-top: 0; }
.fees-card .fees-title { font: 400 1.625rem/1.1 var(--f-display); margin-bottom: 8px; }
.fees-card .fees-row { padding-block: 12px; border-top: 1px solid var(--line); font-size: 1rem; }

/* Appel final */
.cta { background: var(--choc); color: var(--cream); text-align: center; position: relative; overflow: hidden; }
.cta-in { display: flex; flex-direction: column; align-items: center; gap: 26px; padding-block: clamp(72px, 10vw, 128px); position: relative; }
.cta-mark { width: 64px; height: 64px; border-radius: 50%; }
.cta-title { font: 400 clamp(2.75rem, 7vw, 5.5rem)/.95 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.cta-title em { color: var(--caramel); }
.cta p { color: rgb(243 233 215 / .72); max-width: 44ch; }

/* ---------- Carte ---------- */
.carte { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 0 clamp(48px, 7vw, 96px); }
.side {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h)); z-index: 10;
  background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter); border-bottom: 1px solid var(--line-soft);
  overflow-x: auto; scrollbar-width: none;
}
.side::-webkit-scrollbar { display: none; }
.side-nav { display: flex; gap: 8px; white-space: nowrap; }
.side-group { display: none; }
.side-link {
  display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: var(--t-sm); font-weight: 500; color: inherit; text-decoration: none; background: var(--bg);
}
@media (hover: hover) { .side-link:hover { border-color: var(--ink); } }
.side-link[aria-current="true"] { background: var(--choc); color: var(--cream); border-color: var(--choc); }
@media (min-width: 1060px) {
  .carte { grid-template-columns: 180px minmax(0, 1fr) minmax(0, 360px); gap: 48px; align-items: start; padding-top: 48px; }
  .side { top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 40px); margin: 0; padding: 0; border: 0; overflow: visible; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .side-nav { flex-direction: column; gap: 0; white-space: normal; }
  .side-group { display: block; color: var(--muted); margin: 26px 0 8px; }
  .side-group:first-child { margin-top: 0; }
  .side-link { border: 0; border-radius: 0; padding: 9px 0 9px 14px; background: none; position: relative; color: var(--muted); }
  .side-link::before { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0; translate: 0 -50%; background: var(--caramel); transition: height .25s var(--ease); }
  .side-link[aria-current="true"] { background: none; color: var(--ink); font-weight: 600; }
  .side-link[aria-current="true"]::before { height: 70%; }
  @media (hover: hover) { .side-link:hover { color: var(--ink); } }
}
.glyph { width: 13px; height: 13px; border: 1.5px solid currentColor; flex: none; }
.glyph-round { border-radius: 50%; }
.glyph-square { border-radius: 3px; }
.glyph-grid { border: 0; background: radial-gradient(circle, currentColor 0 2.3px, transparent 2.9px) 0 0 / 6.5px 6.5px; }
.glyph-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.glyph-tall { width: 8px; border-radius: 3px; }
.glyph-diamond { width: 10px; height: 10px; border-radius: 2px; rotate: 45deg; margin-inline: 2px; }
.glyph-plus { border: 0; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; }

.carte-head { display: flex; flex-direction: column; gap: 16px; padding-top: 12px; }
.carte-title { font: 400 clamp(3rem, 6vw, 4.75rem)/.92 var(--f-display); letter-spacing: -.025em; }
.carte-title em { font-style: italic; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px; margin-top: 8px; }
.offer {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px dashed var(--caramel); border-radius: var(--r);
  font-size: var(--t-sm); color: var(--muted); background: var(--surface);
}
.offer b { color: var(--ink); font-weight: 600; }
.offer .caps { color: var(--caramel); font-size: .625rem; }

.cat { margin-top: clamp(48px, 6vw, 72px); }
.cat:first-of-type { margin-top: 40px; }
.cat-title { font: 400 clamp(2rem, 3.4vw, 2.625rem)/1.05 var(--f-display); display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.cat-title .glyph { color: var(--caramel); }
.cat-count { font: 500 var(--t-xs)/1 var(--f-mono); color: var(--muted); margin-left: auto; white-space: nowrap; }
.cat-lead { color: var(--muted); font-size: .9375rem; margin-top: 14px; max-width: 60ch; }
.cat-foot { color: var(--muted); font-size: var(--t-sm); margin-top: 16px; }
.menu { display: flex; flex-direction: column; margin-top: 4px; }

/* Une ligne de carte : vignette, nom, description, prix. */
.card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.tile {
  position: relative; align-self: start; aspect-ratio: 1 / 1; border-radius: var(--r); display: grid; place-items: center; padding: 14px;
  background: radial-gradient(90% 90% at 50% 40%, var(--sand-hi), var(--sand) 80%);
}
.tile > * { width: 100%; max-width: 74px; }
.tile .cookie, .tile .donut, .tile .macaron { max-width: 56px; }
.tile .drink { max-width: 30px; }
.tile .cup { max-width: 36px; }
.tile .sauce { max-width: 50px; }
.card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.card-name { font: 400 1.625rem/1.1 var(--f-display); letter-spacing: -.005em; }
.badge { background: var(--pistache); color: var(--white); font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; padding: 4px 9px; border-radius: 999px; }
.badge.badge-hot { background: var(--bordeaux); }
.card-desc { color: var(--muted); font-size: .9375rem; max-width: 56ch; }
.card-buy { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; }
.price { font: 600 1.125rem/1 var(--f-body); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.01em; }
.add {
  display: inline-flex; align-items: center; gap: 8px; background: var(--btn-bg); color: var(--btn-ink); border: 0; border-radius: var(--r);
  font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; padding: 12px 18px;
}
@media (hover: hover) { .add:hover { background: color-mix(in srgb, var(--btn-bg) 85%, var(--choc)); } }
.add:disabled { opacity: .45; cursor: default; }
.card-config .add { white-space: nowrap; align-self: stretch; justify-content: center; padding-block: 15px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--ink); border-radius: var(--r); background: var(--bg); }
.step { width: 38px; height: 38px; border: 0; background: none; font-size: 1.125rem; line-height: 1; display: grid; place-items: center; }
@media (hover: hover) { .step:hover:not(:disabled) { background: var(--sand); } }
.step:disabled { opacity: .3; cursor: default; }
.qty { min-width: 1.6em; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper-sm .step { width: 30px; height: 30px; font-size: 1rem; }
@media (min-width: 620px) {
  .card { grid-template-columns: 128px minmax(0, 1fr); gap: 24px; padding-block: 28px; }
  .tile { padding: 18px; }
  .tile > * { max-width: 100px; }
  .tile .cookie, .tile .donut, .tile .macaron { max-width: 72px; }
  .tile .drink { max-width: 40px; }
  .tile .cup { max-width: 50px; }
  .tile .sauce { max-width: 62px; }
  .card-name { font-size: 1.875rem; }
}

.opt-label { font-size: var(--t-sm); font-weight: 600; margin-top: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 7px 13px; font-size: var(--t-xs); font-weight: 500; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .opt:hover { border-color: var(--ink); } }
.opt[aria-pressed="true"] { background: var(--choc); color: var(--cream); border-color: var(--choc); font-weight: 600; }
.buy-right { display: inline-flex; align-items: center; gap: 12px; }
.in-cart { font-size: var(--t-xs); color: var(--pistache); font-weight: 600; white-space: nowrap; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.spice {
  position: absolute; top: 6px; right: 6px; display: inline-flex; gap: 0; line-height: 1;
  background: var(--bg); border-radius: 999px; padding: 3px 5px; font-size: .625rem; box-shadow: 0 2px 6px rgb(58 33 27 / .12);
}
.spice .off { filter: grayscale(1); opacity: .28; }
.tile > .spice, .hit-tile > .spice { width: auto; max-width: none; }
.hit-tile > .spice { top: 12px; right: 12px; font-size: .75rem; padding: 4px 8px; }
.spice-scale {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 18px;
  font-size: var(--t-xs); color: var(--muted);
}
.spice-label { font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--caramel); font-size: .625rem; }
.spice-ref { display: inline-flex; align-items: center; gap: 5px; }
.spice-ref .chilis { font-size: .625rem; letter-spacing: -1px; }
.spice-ref.soon { opacity: .55; }
.custom { border-top: 1px solid var(--line-soft); padding-top: 10px; margin-top: 6px; }
.custom summary { cursor: pointer; font-size: var(--t-sm); font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 10px; }
.custom summary::-webkit-details-marker { display: none; }
.custom summary::before {
  content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--line); border-radius: 50%;
  font-weight: 500; line-height: 1; transition: rotate .25s var(--ease);
}
.custom[open] summary::before { content: "−"; }
.custom[open] { display: flex; flex-direction: column; gap: 8px; }
.custom .opt-label { font-weight: 500; color: var(--muted); font-size: var(--t-xs); margin-top: 6px; }
.opt-fixed { border-style: dashed; color: var(--muted); background: none; }
.opt-rm[aria-pressed="true"] { background: none; color: var(--muted); border-color: var(--line); text-decoration: line-through; font-weight: 500; }

/* Boîte à composer */
.card-config { grid-template-columns: minmax(0, 1fr); }
.card-config .tile { max-width: 220px; width: 100%; }
.card-config .tile > * { max-width: none; }
@media (min-width: 620px) {
  .card-config { grid-template-columns: 200px minmax(0, 1fr); }
  .card-config .tile { position: sticky; top: calc(var(--nav-h) + 40px); padding: 24px; }
}
@media (max-width: 1059px) { .card-config .tile { top: calc(var(--nav-h) + 76px); } }
.config { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.config-label { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-top: 6px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { border: 1px solid var(--line); background: var(--bg); border-radius: var(--r); padding: 10px 14px; font-size: var(--t-sm); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .size:hover { border-color: var(--ink); } }
.size[aria-pressed="true"] { background: var(--choc); color: var(--cream); border-color: var(--choc); }
.flav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line-soft); font-size: var(--t-sm); }
.flav:last-child { border-bottom: 1px solid var(--line-soft); }
.flav-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; font-weight: 500; }
.sw { width: 16px; height: 16px; border-radius: 50%; background: var(--f); box-shadow: inset 0 0 0 1px rgb(58 33 27 / .2); }
.pick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; font-size: var(--t-sm); padding-top: 4px; }
.pick-count { font-weight: 600; font-variant-numeric: tabular-nums; }
.pick-msg { color: var(--pistache); font-size: var(--t-sm); font-weight: 500; min-height: 1.3em; }

/* ---------- Bon de précommande ---------- */
.order { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 30px); }
@media (min-width: 1060px) {
  .order { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 40px); max-height: calc(100vh - var(--nav-h) - 64px); overflow-y: auto; scrollbar-width: thin; }
}
.order-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.order .sec-title { font-size: 2.25rem; }
.order-body { display: flex; flex-direction: column; gap: 22px; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; font-size: var(--t-sm); padding-block: 8px; border-bottom: 1px solid var(--line-soft); }
.cart-line > span:first-child { overflow-wrap: anywhere; }
.cart-row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-sm); padding-block: 4px; color: var(--muted); }
.cart-line > span:last-child, .cart-row span:last-child, .cart-total span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; border-top: 1px solid var(--ink); padding-top: 14px; margin-top: 10px; font-size: 1.0625rem; }
.cart-empty { color: var(--muted); font-size: var(--t-sm); padding: 18px; border: 1px dashed var(--line); border-radius: var(--r); text-align: center; }
.cart-row.cart-offer { color: var(--pistache); font-weight: 600; }
.form { display: flex; flex-direction: column; gap: 22px; }
.fs { display: flex; flex-direction: column; gap: 14px; }
.fs + .fs { padding-top: 22px; border-top: 1px solid var(--line-soft); }
.fs-legend { display: flex; align-items: center; gap: 10px; font: 400 1.375rem/1 var(--f-display); padding: 0; margin-bottom: 14px; float: left; width: 100%; }
.fs-legend + * { clear: both; }
.fs-n { width: 24px; height: 24px; border-radius: 50%; background: var(--choc); color: var(--cream); display: inline-grid; place-items: center; font: 700 .75rem/1 var(--f-body); flex: none; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: var(--t-xs); font-weight: 600; letter-spacing: .02em; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg); font-size: 1rem; transition: border-color .2s ease, background-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: #a8968a; }
.field textarea { resize: vertical; min-height: 64px; }
.form-msg { color: var(--bordeaux); font-size: var(--t-sm); font-weight: 500; }
.form-msg:empty { display: none; }
.submit-wrap { display: flex; flex-direction: column; gap: 10px; }
.submit-wrap .btn { width: 100%; }
.confirm { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.confirm-title { font: 400 1.75rem/1.1 var(--f-display); }
.sms-step { display: flex; flex-direction: column; gap: 12px; align-items: stretch; width: 100%; padding: 18px; border-radius: 14px; background: var(--sand); }
.sms-lead { font-weight: 600; }
.sms-btn { justify-content: center; text-align: center; padding-block: 16px; font-size: .8125rem; }
.link-btn { border: 0; background: none; padding: 0; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sms-step a:not(.btn) { color: inherit; font-weight: 600; }

.combo-box { position: relative; }
.combo-list {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 6; margin-top: 4px; max-height: 236px; overflow-y: auto;
  background: var(--white); border: 1px solid var(--ink); border-radius: var(--r); box-shadow: 0 16px 32px var(--shadow);
}
.combo-opt { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 13px; font-size: var(--t-sm); cursor: pointer; }
.combo-opt small { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.combo-opt:hover, .combo-opt[aria-selected="true"] { background: var(--sand-hi); }
.combo-empty { padding: 10px 13px; color: var(--muted); font-size: var(--t-sm); }
.fee-note { font-size: var(--t-sm); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.fee-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pistache); flex: none; }
.fee-note:empty { display: none; }
.fees { display: flex; flex-direction: column; gap: 2px; font-size: var(--t-sm); }
.fees-title { font-weight: 600; }
.fees-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.fees-row span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fees-more { font-size: var(--t-sm); color: var(--muted); }
.fees-more summary { cursor: pointer; list-style: none; display: inline-flex; gap: 6px; align-items: center; border-bottom: 1px solid var(--line); }
.fees-more summary::-webkit-details-marker { display: none; }
.fees-more[open] summary { margin-bottom: 10px; }

.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; text-transform: uppercase; letter-spacing: .08em; font-family: var(--f-mono); }
.code-msg { font-size: var(--t-sm); font-weight: 500; min-height: 1.2em; }
.code-msg.ok { color: var(--pistache); }
.code-msg.bad { color: var(--bordeaux); }
.code-msg:empty { display: none; }
.warn { max-width: 272px; font-size: var(--t-sm); font-weight: 600; color: var(--bordeaux); border-left: 3px solid var(--bordeaux); padding-left: 10px; }

.follow { padding-bottom: clamp(48px, 6vw, 88px); }
.follow-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px;
  padding-block: 14px; border-top: 1px solid var(--line); font-size: var(--t-sm);
}
.follow-row b { font-family: var(--f-mono); font-weight: 500; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; font: 500 var(--t-xs)/1 var(--f-mono);
  text-transform: uppercase; letter-spacing: .06em; padding: 6px 9px; border-radius: 999px;
  border: 1px solid transparent; white-space: nowrap;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-new { background: var(--caramel); color: var(--choc); }
.chip-said { color: var(--muted); border-color: var(--muted); }
.chip-ready { background: var(--pistache); color: var(--white); }

/* Bouton i et fiche d'information */
.info-btn {
  width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--muted);
  font: italic 400 .9375rem/1 var(--f-display); display: inline-grid; place-items: center; align-self: center; flex: none;
}
@media (hover: hover) { .info-btn:hover { border-color: var(--ink); color: var(--ink); } }
dialog.info {
  border: 0; padding: 0; width: calc(100% - 32px); max-width: 480px; background: var(--surface); color: var(--ink);
  border-radius: 6px; box-shadow: 0 30px 80px rgb(58 33 27 / .32);
}
dialog.info::backdrop { background: rgb(42 24 19 / .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.info-in { padding: 28px; display: flex; flex-direction: column; gap: 18px; max-height: 85vh; overflow-y: auto; }
.info-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.info-kicker { color: var(--caramel); }
.info-name { font: 400 2.25rem/1.02 var(--f-display); margin-top: 6px; }
.info-close { width: 36px; height: 36px; border: 1px solid var(--line); background: var(--bg); border-radius: 50%; font-size: 1.25rem; line-height: 1; flex: none; }
.info-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.info-tag { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: var(--t-xs); font-weight: 500; font-variant-numeric: tabular-nums; }
.info-block { display: flex; flex-direction: column; gap: 6px; }
.info-h { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.info-txt { font-size: var(--t-sm); color: var(--muted); }
.nutri { width: 100%; border-collapse: collapse; font-size: var(--t-sm); border-top: 3px solid var(--ink); font-variant-numeric: tabular-nums; }
.nutri th, .nutri td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: right; font-weight: 400; }
.nutri th:first-child { text-align: left; font-weight: 500; }
.nutri thead th { font-size: var(--t-xs); font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--ink); padding-left: 10px; }
.nutri td { padding-left: 10px; white-space: nowrap; }
.nutri tr.sub th { padding-left: 14px; font-weight: 400; color: var(--muted); }
@media (max-width: 600px) {
  dialog.info { width: 100%; max-width: none; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .info-in { padding: 24px 18px calc(22px + env(safe-area-inset-bottom, 0px)); }
}

/* Notice « ajouté au panier » */
.toast {
  position: fixed; left: 50%; translate: -50% 0; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: flex; align-items: center; gap: 18px; max-width: calc(100% - 32px);
  background: var(--choc); color: var(--cream); padding: 13px 18px; border-radius: 999px; font-size: var(--t-sm); box-shadow: 0 16px 36px rgb(58 33 27 / .28);
}
.toast span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast a { color: var(--caramel); font-weight: 600; white-space: nowrap; text-decoration: none; }
@media (min-width: 1060px) { .toast { bottom: calc(28px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Bon papier ---------- */
.ticket-wrap { filter: drop-shadow(0 1px 0 var(--line)) drop-shadow(0 8px 16px rgb(58 33 27 / .12)); width: 100%; max-width: 272px; }
.ticket {
  --z: 7px;
  background: var(--paper); color: var(--choc);
  font: 400 .8125rem/1.5 var(--f-mono); font-variant-numeric: tabular-nums;
  padding: 16px 14px 24px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
}
.t-brand { font: 400 1.625rem/1 var(--f-display); letter-spacing: .2em; margin-right: -.2em; text-align: center; }
.t-num { text-align: center; font-weight: 500; margin-top: 6px; letter-spacing: .04em; }
.t-meta { text-align: center; opacity: .7; }
.t-rule { border-top: 1px dashed currentColor; margin-block: 9px; opacity: .55; }
.t-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.t-row span:first-child { overflow-wrap: anywhere; }
.t-total { font-weight: 500; }
.t-info { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; }
.t-info dt { opacity: .7; }
.t-info dd { overflow-wrap: anywhere; }

/* ---------- Display ---------- */
.display { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: clamp(36px, 5vw, 64px); min-height: 60vh; }
@media (min-width: 900px) { .display { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: start; } }
.stage { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) { .stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 32px); } }
.stage-sub { color: var(--muted); font-size: var(--t-sm); margin-top: 8px; max-width: 44ch; }
.medo-box { display: flex; align-items: flex-end; gap: 14px; }
.medo { display: block; color: var(--ink); }
.medo-stage { width: 120px; height: auto; flex: none; animation: bob 4.5s ease-in-out infinite; }
.medo-stage.talk { animation-duration: .7s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .medo-stage { animation: none; } }
.bubble { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px 16px 16px 3px; padding: 14px 16px; font-weight: 500; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; }
.queue-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.queue-count { font: 500 var(--t-sm)/1 var(--f-mono); color: var(--muted); }
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 28px 22px; align-items: start; }
.bon { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-width: 0; }
.bon-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.empty { color: var(--muted); max-width: 46ch; border: 1px dashed var(--line); border-radius: var(--r); padding: 22px; }

/* ---------- Barre panier (mobile) ---------- */
.cartbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  background: var(--choc); color: var(--cream); border-radius: 999px; box-shadow: 0 16px 36px rgb(58 33 27 / .3);
  padding: 8px 8px 8px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cartbar-txt { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 0; font-size: var(--t-sm); }
.cartbar .btn { padding: 13px 20px; border-radius: 999px; }
@media (min-width: 1060px) { .cartbar { display: none; } }

/* ---------- Pied ---------- */
.foot { background: #2E1A15; color: var(--cream); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 64px 40px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.foot-tag { color: var(--caramel); }
.foot-txt { color: rgb(243 233 215 / .62); font-size: var(--t-sm); max-width: 34ch; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: var(--t-sm); }
.foot-col .caps { color: rgb(243 233 215 / .5); margin-bottom: 4px; }
.foot-col a { color: var(--cream); text-decoration: none; width: fit-content; }
@media (hover: hover) { .foot-col a:hover { color: var(--caramel); } }
.foot-col span { color: rgb(243 233 215 / .75); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 104px; border-top: 1px solid rgb(243 233 215 / .1); font-size: var(--t-xs); color: rgb(243 233 215 / .5); }
@media (min-width: 760px) { .foot-in { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 48px; } }
@media (min-width: 1060px) { .foot-bottom { padding-bottom: 28px; } }

/* ---------- Animations (coupées si l'appareil demande moins de mouvement) ---------- */
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes pop { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes marquee { to { translate: -50% 0; } }
@keyframes bump { 0% { scale: 1; } 40% { scale: 1.35; } 100% { scale: 1; } }
@keyframes slide-in { from { opacity: 0; translate: -10px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes drop { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }
@keyframes print { from { clip-path: inset(-24px -24px 100% -24px); translate: 0 -14px; } to { clip-path: inset(-24px); translate: 0 0; } }
@keyframes reveal { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes wipe { from { clip-path: inset(0 0 100% 0); translate: 0 .25em; } to { clip-path: inset(0 0 -10% 0); translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-txt > * { animation: rise .8s var(--ease) both; }
  .hero-txt > h1 { animation: wipe 1s var(--ease) .12s both; }
  .hero-txt > :nth-child(3) { animation-delay: .2s; }
  .hero-txt > :nth-child(4) { animation-delay: .28s; }
  .hero-txt > :nth-child(5) { animation-delay: .36s; }
  .photo { animation: rise 1s var(--ease) .1s both; }
  .emblem .ring { animation: spin 80s linear infinite; }
  .emblem-logo { animation: pop .9s cubic-bezier(.2, .9, .3, 1.2) .25s both; }
  .emblem .cup { animation: pop .8s cubic-bezier(.2, .9, .3, 1.25) .45s both, float 7s ease-in-out 1.6s infinite; }
  .emblem .bowl { animation: pop .8s cubic-bezier(.2, .9, .3, 1.25) .55s both; }
  .emblem .cookie { animation: pop .7s cubic-bezier(.2, .9, .3, 1.25) .65s both, float 6s ease-in-out 1.4s infinite; }
  .marquee-track { animation: marquee 48s linear infinite; }
  .uni, .season { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
  .uni:hover, .season:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgb(58 33 27 / .12); }
  .tile > *, .hit-tile > *, .uni-ill, .uni-ill-b { transition: transform .5s cubic-bezier(.2, .8, .2, 1.3); }
  .card:not(.card-config):hover .tile > :not(.spice) { transform: rotate(-8deg) scale(1.08); }
  .hit:hover .hit-tile > :not(.spice) { transform: rotate(-6deg) scale(1.06); }
  .uni:hover .uni-ill { transform: rotate(-10deg) scale(1.05); }
  .uni:hover .uni-ill-b { transform: rotate(12deg) scale(1.08); }
  .boxill i { transition: background-color .25s ease, scale .25s cubic-bezier(.2, .9, .3, 1.4); }
  .boxill i.on { scale: 1.08; }
  .btn, .add, .btn-ghost, .size, .side-link, .opt, .cart-link { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .12s ease; }
  .btn:active, .add:active, .btn-ghost:active, .size:active, .opt:active { transform: scale(.97); }
  .cart-count.bump { animation: bump .35s ease-out; }
  .cart-line.in { animation: slide-in .3s ease-out both; }
  .toast.show { animation: rise .3s var(--ease) both; }
  dialog.info[open] { animation: rise .3s var(--ease) both; }
  .combo-list { animation: drop .16s ease-out both; }
  .fee-note { animation: rise .3s ease-out both; }
  .ticket-wrap.print { animation: print 1.1s steps(16) both; }
  .view-in { animation: rise .4s ease-out backwards; }
  @supports (animation-timeline: view()) {
    .card, .cat-title, .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}

/* ================= v3 : chocolat, couleurs gourmandes, une teinte par produit ================= */
:root { --r: 16px; }
.dark { --bg: #2A1712; --surface: #3A211B; --ink: #F3E9D7; --muted: rgb(243 233 215 / .7); --line: rgb(243 233 215 / .16); --line-soft: rgb(243 233 215 / .09); --sand: #4A2C23; --sand-hi: #5A372B; background: var(--bg); color: var(--ink); }
.light, .card, .order { --bg: #F3E9D7; --surface: #FBF6EC; --ink: #3A211B; --muted: #74625A; --line: #DCCFBD; --line-soft: #E6DBCA; --sand: #EAD8BD; --sand-hi: #F2E5CF; color: var(--ink); }
.btn, .add, .btn-ghost, .size, .cart-link, .code-row .btn-ghost { border-radius: 999px; }
.stepper { border-radius: 999px; overflow: hidden; }
.btn { padding: 17px 30px; }

/* Barre chocolat */
.nav.dark { border-bottom-color: rgb(243 233 215 / .08); }
.cart-link { background: var(--caramel); color: var(--choc); font-weight: 600; }
.cart-count { background: var(--choc); color: var(--cream); }

/* Ouverture chocolat */
.hero.dark h1 em { color: var(--caramel); }
.hero::after { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(201 154 98 / .18), transparent 65%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; }
.hero-new {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgb(243 233 215 / .08); border: 1px solid rgb(243 233 215 / .14); font-size: var(--t-sm); color: var(--cream); text-decoration: none;
}
.hero-new b { background: var(--caramel); color: var(--choc); border-radius: 999px; padding: 4px 10px; font-size: .6875rem; text-transform: uppercase; letter-spacing: .12em; }
@media (hover: hover) { .hero-new:hover { background: rgb(243 233 215 / .14); } }
.coupon { border-radius: 14px; }
.coupon b { border-radius: 8px; }
.photo { box-shadow: 0 40px 90px rgb(0 0 0 / .35); }
.assure.dark { border-color: rgb(243 233 215 / .08); background: #24130F; }

/* Vitrine des tiramisus */
.vitrine { padding-block: clamp(56px, 8vw, 104px); }
.show-stage { position: relative; display: grid; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px rgb(0 0 0 / .35); }
.slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--tint, var(--caramel)); color: var(--cream);
  opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s;
}
.slide.on { opacity: 1; visibility: visible; }
.slide.tint-light { color: var(--choc); }
.slide-txt { padding: clamp(32px, 5vw, 72px) clamp(28px, 5vw, 72px) 32px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-content: center; }
.slide-kicker { opacity: .85; }
.slide-name { display: flex; flex-direction: column; gap: 4px; }
.slide-name small { font: 600 .8125rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .24em; opacity: .8; }
.slide-name span { font: italic 400 clamp(3.25rem, 7vw, 6rem)/.9 var(--f-display); letter-spacing: -.02em; }
.slide-desc { max-width: 36ch; font-size: 1.0625rem; opacity: .92; }
.slide-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.slide-price { font: 400 2.25rem/1 var(--f-display); }
.slide .add { background: var(--cream); color: var(--choc); padding: 15px 22px; }
.slide.tint-light .add { background: var(--choc); color: var(--cream); }
@media (hover: hover) { .slide .add:hover { background: var(--white); } .slide.tint-light .add:hover { background: #4b2c24; } }
.slide-link { color: inherit; font-size: var(--t-sm); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.slide-vis {
  position: relative; display: grid; place-items: center; min-height: 300px; padding: 40px;
  background: radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--tint, var(--caramel)) 55%, white) 0, transparent 58%), color-mix(in srgb, var(--tint, var(--caramel)) 82%, black);
}
.slide-vis .cup { width: clamp(96px, 12vw, 150px); filter: drop-shadow(0 30px 30px rgb(0 0 0 / .3)); }
.slide-vis .badge { position: absolute; top: 24px; right: 24px; background: var(--cream); color: var(--choc); font-size: .6875rem; padding: 7px 12px; }
.show-ui { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.show-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.show-dot { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgb(243 233 215 / .2); position: relative; overflow: hidden; }
.show-dot[aria-current="true"] { background: var(--caramel); }
.show-arrows { display: flex; gap: 10px; }
@media (max-width: 759px) { .show-dot { width: 18px; } .slide-vis { min-height: 220px; padding: 28px; } .show-arrow { width: 42px; height: 42px; } }
.show-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(243 233 215 / .25); background: none; color: var(--cream); font-size: 1.25rem; display: grid; place-items: center; }
@media (hover: hover) { .show-arrow:hover { background: var(--cream); color: var(--choc); } }
@media (min-width: 760px) {
  .slide { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 500px; }
  .slide-txt { padding-bottom: clamp(32px, 5vw, 72px); }
}

/* Bandeau caramel */
.band { background: var(--caramel); color: var(--choc); }
.marquee-track { color: var(--choc); }

/* Vignettes teintées */
.tile, .hit-tile { background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--tint, var(--sand)) 62%, white) 0, var(--tint, var(--sand)) 72%); }
.tile { border-radius: 14px; }
.hit-tile { border-radius: 20px; }
.hit-body { padding-top: 20px; }

/* Deux univers */
.uni { border-radius: 24px; }
.uni-sucre { background: var(--caramel); }
.uni-sucre .uni-txt { color: rgb(58 33 27 / .78); }

/* Bouchées en chocolat */
.spot-ill { box-shadow: 0 0 0 1px rgb(243 233 215 / .06), 0 40px 80px rgb(0 0 0 / .3); }
.sec.dark { border: 0; }
.dark .pill { background: none; }

/* Saisons en couleur */
.season { border: 0; border-radius: 20px; color: var(--cream); --s: #8A5A36; background: var(--s); }
.seasons > li:nth-child(1) { --s: #7A2E2E; }
.seasons > li:nth-child(2) { --s: #6F8A4E; }
.seasons > li:nth-child(3) { --s: #E0A23C; color: var(--choc); }
.seasons > li:nth-child(4) { --s: #8A5A36; }
.season .season-months { color: inherit; opacity: .72; }
.season .season-flavs li { border-color: color-mix(in srgb, currentColor 22%, transparent); }
.seasons > li[aria-current="true"] { background: var(--s); color: var(--cream); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--caramel); }
.seasons > li:nth-child(3)[aria-current="true"] { color: var(--choc); }
.season .now { background: var(--cream); color: var(--choc); }
.season-name::before { margin-right: 8px; font-style: normal; font-size: 1.375rem; }
.seasons > li:nth-child(1) .season-name::before { content: "❄️"; }
.seasons > li:nth-child(2) .season-name::before { content: "🌸"; }
.seasons > li:nth-child(3) .season-name::before { content: "☀️"; }
.seasons > li:nth-child(4) .season-name::before { content: "🍂"; }

.fees-card { border-radius: 20px; }

/* Carte en chocolat, fiches crème */
#view-carte.dark { min-height: 100vh; }
.carte-title em { color: var(--caramel); }
.offer { border-radius: 14px; }
.offer .caps { color: var(--caramel); }
.menu { gap: 14px; margin-top: 18px; }
.card { background: var(--surface); border: 0; border-radius: 20px; padding: 16px; }
.card .card-buy { border-top: 0; }
.order { border: 0; border-radius: 24px; box-shadow: 0 30px 60px rgb(0 0 0 / .25); }
.cat-title .glyph { color: var(--caramel); }
@media (min-width: 620px) { .card { padding: 20px; padding-block: 20px; } }
@media (max-width: 1059px) {
  .dark .side-link { background: none; border-color: var(--line); }
  .dark .side-link[aria-current="true"] { background: var(--caramel); color: var(--choc); border-color: var(--caramel); }
}
@media (min-width: 1060px) { .dark .side-link[aria-current="true"] { color: var(--cream); } }
.cartbar { background: var(--caramel); color: var(--choc); }
.cartbar .btn { background: var(--choc); color: var(--cream); }

/* Appel final et pied à motifs */
.cta { background: radial-gradient(60% 80% at 50% 0%, rgb(201 154 98 / .22), transparent 70%), var(--choc); }
.foot { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23C99A62' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' opacity='.16'%3E%3Cpath d='M22 34h30l-5 34H27z'/%3E%3Cpath d='M20 34q17-16 34 0'/%3E%3Cpath d='M24 46h28'/%3E%3Cellipse cx='122' cy='30' rx='8' ry='11'/%3E%3Cpath d='M122 41v30'/%3E%3Ccircle cx='44' cy='130' r='16'/%3E%3Ccircle cx='44' cy='130' r='5'/%3E%3Cpath d='M132 118c-6-10-21-4-15 7l15 15 15-15c6-11-9-17-15-7z'/%3E%3Cpath d='M90 84l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/%3E%3Cpath d='M150 70q-14 2-16 16'/%3E%3Cpath d='M150 70c6 0 8 6 4 9'/%3E%3Ccircle cx='96' cy='160' r='3'/%3E%3Ccircle cx='164' cy='162' r='2'/%3E%3Ccircle cx='80' cy='22' r='2.5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 180px 180px, #1F110D; }
.foot-bottom { border-top-color: rgb(243 233 215 / .08); }

/* ================= v4 : fonds chocolat vivants (lueurs caramel, motif, dégradé) ================= */
.dark {
  background:
    radial-gradient(70rem 42rem at 8% -8%, rgb(214 150 84 / .26), transparent 62%),
    radial-gradient(56rem 40rem at 104% 104%, rgb(176 72 48 / .26), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23E2B57E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.05'%3E%3Cpath d='M22 34h30l-5 34H27z'/%3E%3Cpath d='M20 34q17-16 34 0'/%3E%3Cpath d='M24 46h28'/%3E%3Cellipse cx='122' cy='30' rx='8' ry='11'/%3E%3Cpath d='M122 41v30'/%3E%3Ccircle cx='44' cy='130' r='16'/%3E%3Ccircle cx='44' cy='130' r='5'/%3E%3Cpath d='M132 118c-6-10-21-4-15 7l15 15 15-15c6-11-9-17-15-7z'/%3E%3Cpath d='M90 84l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/%3E%3Ccircle cx='96' cy='160' r='3'/%3E%3Ccircle cx='164' cy='162' r='2'/%3E%3Ccircle cx='80' cy='22' r='2.5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 220px 220px,
    linear-gradient(165deg, #44261C 0%, #2E1913 55%, #24130F 100%);
}
.nav.dark { background: rgb(36 19 14 / .97); }
.assure.dark { background: #1F100C; }
.vitrine.dark {
  background:
    radial-gradient(48rem 30rem at 85% 30%, rgb(122 143 90 / .22), transparent 65%),
    radial-gradient(48rem 34rem at 0% 100%, rgb(214 150 84 / .2), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23E2B57E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.05'%3E%3Cpath d='M22 34h30l-5 34H27z'/%3E%3Cpath d='M20 34q17-16 34 0'/%3E%3Cpath d='M24 46h28'/%3E%3Cellipse cx='122' cy='30' rx='8' ry='11'/%3E%3Cpath d='M122 41v30'/%3E%3Ccircle cx='44' cy='130' r='16'/%3E%3Ccircle cx='44' cy='130' r='5'/%3E%3Cpath d='M132 118c-6-10-21-4-15 7l15 15 15-15c6-11-9-17-15-7z'/%3E%3Cpath d='M90 84l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/%3E%3Ccircle cx='96' cy='160' r='3'/%3E%3Ccircle cx='164' cy='162' r='2'/%3E%3Ccircle cx='80' cy='22' r='2.5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 220px 220px,
    linear-gradient(180deg, #24130F, #3A2119 100%);
}
/* Lueurs qui dérivent doucement derrière l'ouverture. */
.hero.dark::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none;
  background:
    radial-gradient(28rem 28rem at 30% 40%, rgb(214 150 84 / .2), transparent 70%),
    radial-gradient(24rem 24rem at 75% 70%, rgb(176 72 48 / .18), transparent 70%);
}
/* La carte : un fond fixe qui ne défile pas, les fiches glissent dessus. */
#view-carte.dark { background: transparent; position: relative; isolation: isolate; }
#view-carte.dark::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 0% 0%, rgb(214 150 84 / .24), transparent 60%),
    radial-gradient(50rem 40rem at 100% 100%, rgb(176 72 48 / .24), transparent 60%),
    radial-gradient(36rem 30rem at 60% 40%, rgb(122 143 90 / .12), transparent 65%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23E2B57E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.05'%3E%3Cpath d='M22 34h30l-5 34H27z'/%3E%3Cpath d='M20 34q17-16 34 0'/%3E%3Cpath d='M24 46h28'/%3E%3Cellipse cx='122' cy='30' rx='8' ry='11'/%3E%3Cpath d='M122 41v30'/%3E%3Ccircle cx='44' cy='130' r='16'/%3E%3Ccircle cx='44' cy='130' r='5'/%3E%3Cpath d='M132 118c-6-10-21-4-15 7l15 15 15-15c6-11-9-17-15-7z'/%3E%3Cpath d='M90 84l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/%3E%3Ccircle cx='96' cy='160' r='3'/%3E%3Ccircle cx='164' cy='162' r='2'/%3E%3Ccircle cx='80' cy='22' r='2.5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 220px 220px,
    linear-gradient(160deg, #46271D, #2C1813 55%, #22120E);
}
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 4% -3%; } }
@media (prefers-reduced-motion: no-preference) { .hero.dark::before { animation: drift 16s ease-in-out infinite; } }

/* Carte : les fiches s'adaptent à la place réelle de la colonne (et non à l'écran). */
#menu { container-type: inline-size; }
.card { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
.card-config { grid-template-columns: minmax(0, 1fr); }
.card-config .tile { position: static; max-width: 180px; }
@container (min-width: 520px) {
  .card { grid-template-columns: 128px minmax(0, 1fr); gap: 24px; }
  .card-config { grid-template-columns: 180px minmax(0, 1fr); }
  .card-config .tile { position: sticky; top: calc(var(--nav-h) + 40px); }
}
@media (min-width: 1060px) and (max-width: 1279px) {
  .carte { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 320px); gap: 32px; }
}

/* v5 : appel final et pied dans la continuité du fond chocolat. */
.cta.dark {
  background:
    radial-gradient(50rem 26rem at 50% 0%, rgb(214 150 84 / .28), transparent 65%),
    radial-gradient(40rem 30rem at 100% 100%, rgb(176 72 48 / .22), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23E2B57E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.05'%3E%3Cpath d='M22 34h30l-5 34H27z'/%3E%3Cpath d='M20 34q17-16 34 0'/%3E%3Cpath d='M24 46h28'/%3E%3Cellipse cx='122' cy='30' rx='8' ry='11'/%3E%3Cpath d='M122 41v30'/%3E%3Ccircle cx='44' cy='130' r='16'/%3E%3Ccircle cx='44' cy='130' r='5'/%3E%3Cpath d='M132 118c-6-10-21-4-15 7l15 15 15-15c6-11-9-17-15-7z'/%3E%3Cpath d='M90 84l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/%3E%3Ccircle cx='96' cy='160' r='3'/%3E%3Ccircle cx='164' cy='162' r='2'/%3E%3Ccircle cx='80' cy='22' r='2.5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 220px 220px,
    linear-gradient(180deg, #3C2119 0%, #2A1712 70%, #22120E 100%);
}
.foot {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23E2B57E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.05'%3E%3Cpath d='M22 34h30l-5 34H27z'/%3E%3Cpath d='M20 34q17-16 34 0'/%3E%3Cpath d='M24 46h28'/%3E%3Cellipse cx='122' cy='30' rx='8' ry='11'/%3E%3Cpath d='M122 41v30'/%3E%3Ccircle cx='44' cy='130' r='16'/%3E%3Ccircle cx='44' cy='130' r='5'/%3E%3Cpath d='M132 118c-6-10-21-4-15 7l15 15 15-15c6-11-9-17-15-7z'/%3E%3Cpath d='M90 84l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/%3E%3Ccircle cx='96' cy='160' r='3'/%3E%3Ccircle cx='164' cy='162' r='2'/%3E%3Ccircle cx='80' cy='22' r='2.5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 220px 220px, linear-gradient(180deg, #22120E, #170C09);
  border-top: 1px solid rgb(243 233 215 / .06);
}
.sec-sand:has(+ .cta) { padding-bottom: calc(clamp(64px, 9vw, 120px) + 40px); }
.cta.dark { border-radius: 40px 40px 0 0; margin-top: -40px; }
.surprise {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); background: var(--bg); color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font-size: var(--t-sm); font-weight: 600;
}
@media (hover: hover) { .surprise:hover { background: var(--ink); color: var(--cream); } }

/* Logo complet Misu, Food & Sweets (version crème sur le chocolat) */
.logo-lockup { display: block; width: auto; height: 46px; }
.brand { margin-right: 0; }
.logo-hero { height: clamp(64px, 8vw, 96px); margin-bottom: 4px; }
.logo-foot { height: 56px; }
@media (max-width: 699px) { .nav .logo-lockup { height: 34px; } }

/* Photos produit */
.tile.has-photo { padding: 0; overflow: hidden; }
.hit-tile.has-photo { padding: 0; overflow: hidden; position: relative; }
.hit-tile.has-photo > .ph { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.tile.has-photo > .ph { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.slide-vis.has-photo { padding: 0; overflow: hidden; background: var(--tint); }
.slide-vis.has-photo > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .card:not(.card-config):hover .tile > .ph { transform: scale(1.06); }
  .slide.on .slide-vis > .ph { animation: photo-in 1.2s var(--ease) both; }
}
@keyframes photo-in { from { scale: 1.08; } to { scale: 1; } }
.season { position: relative; }
.season .now { position: absolute; top: 14px; right: 14px; }

/* v6 : fiches vivantes, bordure et reflet à la couleur du produit, anneau autour de la vignette */
.card {
  border: 1px solid color-mix(in srgb, var(--tint, var(--caramel)) 38%, transparent);
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--tint, var(--caramel)) 16%, transparent), transparent 55%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), 0 12px 30px rgb(0 0 0 / .18);
}
.card .tile, .hit .hit-tile {
  box-shadow:
    0 0 0 3px var(--surface),
    0 0 0 5px color-mix(in srgb, var(--tint, var(--caramel)) 75%, transparent),
    0 10px 22px rgb(58 33 27 / .22);
}
.card .tile { margin: 4px; }
.hit .hit-tile { margin: 5px; }
.card-config .tile { margin: 4px; }
.show-stage { box-shadow: 0 0 0 1px rgb(214 150 84 / .35), 0 40px 80px rgb(0 0 0 / .35); }
@media (prefers-reduced-motion: no-preference) {
  .card, .hit { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
  .card .tile, .hit .hit-tile { transition: box-shadow .35s var(--ease); }
  @media (hover: hover) {
    .card:hover {
      transform: translateY(-4px); border-color: color-mix(in srgb, var(--tint, var(--caramel)) 80%, transparent);
      box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), 0 22px 44px rgb(0 0 0 / .28);
    }
    .hit:hover { transform: translateY(-4px); }
    .card:hover .tile, .hit:hover .hit-tile {
      box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--tint, var(--caramel)), 0 16px 30px rgb(58 33 27 / .28);
    }
    .card:not(.card-config):hover .tile > .ph, .hit:hover .hit-tile > .ph { transform: scale(1.12) rotate(-2deg); }
    .slide-vis.has-photo > .ph { transition: transform .8s var(--ease); }
    .show-stage:hover .slide.on .slide-vis > .ph { transform: scale(1.04); }
  }
}

/* v7 : choix rapide, duo, FAQ, compte à rebours, suggestion panier */
.hero-open { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-sm); color: var(--muted); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #8FB86A; box-shadow: 0 0 0 0 rgb(143 184 106 / .6); }
@media (prefers-reduced-motion: no-preference) { .dot-live { animation: live 2s ease-out infinite; } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgb(143 184 106 / .6); } 70% { box-shadow: 0 0 0 9px rgb(143 184 106 / 0); } 100% { box-shadow: 0 0 0 0 rgb(143 184 106 / 0); } }

.univers-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.uni-duo { background: linear-gradient(150deg, #7E9A5C, #5F7843); color: var(--cream); }
.uni-duo .uni-txt { color: rgb(243 233 215 / .85); }
.uni-duo .btn-dark { background: var(--cream); color: var(--choc); }
.uni-deal { position: absolute; top: 22px; right: 22px; background: var(--caramel); color: var(--choc); font: 700 1rem/1 var(--f-body); padding: 10px 14px; border-radius: 999px; rotate: 6deg; box-shadow: 0 8px 18px rgb(0 0 0 / .2); z-index: 1; }
.uni-ill-duo { width: 38%; right: 14%; bottom: -12%; }
.uni-ill-cup2 { position: absolute; width: 17%; right: 4%; bottom: -4%; }

.season-left { font-size: var(--t-sm); font-weight: 700; margin-top: 6px; }
.season-left-carte { display: inline-block; margin-top: 12px; background: var(--caramel); color: var(--choc); padding: 6px 12px; border-radius: 999px; font-size: var(--t-xs); }

.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; } .faq-wrap .sec-head { position: sticky; top: calc(var(--nav-h) + 40px); } }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .25s ease, box-shadow .25s ease; }
.faq-item[open] { border-color: var(--caramel); box-shadow: 0 12px 28px rgb(58 33 27 / .08); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.0625rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-weight: 500; font-size: 1.125rem; transition: rotate .3s var(--ease), background-color .3s; }
.faq-item[open] summary::after { rotate: 45deg; background: var(--caramel); }
.faq-item p { color: var(--muted); padding-bottom: 20px; max-width: 60ch; }

.suggest { margin-top: 16px; padding: 16px; border-radius: 16px; border: 1px dashed var(--caramel); background: color-mix(in srgb, var(--caramel) 10%, var(--surface)); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.suggest-txt { font-size: var(--t-sm); color: var(--muted); }
.suggest-txt b { color: var(--ink); }
.suggest .add { padding: 10px 16px; }

.info-photo { width: calc(100% + 56px); max-width: none; margin: -28px -28px 0; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px 6px 0 0; }
@media (max-width: 600px) { .info-photo { width: calc(100% + 36px); margin: -24px -18px 0; border-radius: 16px 16px 0 0; } }

/* v8 : compte client et fidélité */
.nav-account { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-size: var(--t-sm); font-weight: 500; }
.nav-account svg { width: 22px; height: 22px; }
.nav-account[aria-current="page"] span { border-bottom: 1px solid var(--caramel); }
@media (max-width: 699px) { .nav-account span { display: none; } .nav-account { width: 40px; height: 40px; justify-content: center; border-radius: 50%; border: 1px solid rgb(243 233 215 / .2); } }
.nav-faq { display: none; }
@media (max-width: 699px) { .nav-faq { display: inline-flex; } }
#faq { scroll-margin-top: calc(var(--nav-h) + 8px); }

.loy-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 900px) { .loy-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }
.loy-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.loy-steps { display: grid; gap: 14px; counter-reset: l; }
.loy-steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; counter-increment: l; }
.loy-steps li::before { content: counter(l); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--caramel); color: var(--choc); font-weight: 700; }
.loy-steps b { font-weight: 600; }
.loy-steps span { color: var(--muted); font-size: var(--t-sm); }

.loy-visual { position: relative; margin: 0; justify-self: center; width: min(78%, 340px); }
.loy-visual img { display: block; width: 100%; height: auto; filter: drop-shadow(0 34px 40px rgb(0 0 0 / .45)); }
.loy-visual-tag {
  position: absolute; left: -6%; bottom: 14%; width: 132px; height: 132px; border-radius: 50%; rotate: -10deg;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; padding: 14px;
  background: var(--caramel); color: var(--choc); box-shadow: 0 18px 36px rgb(0 0 0 / .35);
}
.loy-visual-tag b { font: 400 2.1rem/1 var(--f-display); }
.loy-visual-tag span { font-size: .75rem; font-weight: 700; line-height: 1.2; }
.loy-card {
  position: relative; overflow: hidden; border-radius: 26px; padding: clamp(24px, 3.5vw, 36px); color: var(--cream);
  background:
    radial-gradient(120% 80% at 100% 0%, rgb(214 150 84 / .45), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgb(176 72 48 / .35), transparent 60%),
    linear-gradient(150deg, #5A3426, #2A1712);
  box-shadow: 0 0 0 1px rgb(214 150 84 / .35), 0 40px 80px rgb(0 0 0 / .4), inset 0 1px 0 rgb(255 255 255 / .12);
  display: flex; flex-direction: column; gap: 22px; max-width: 520px; width: 100%; justify-self: center;
}
.loy-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / .1) 48%, transparent 60%); pointer-events: none; }
.loy-card-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.loy-card-top img { height: 44px; width: auto; }
.loy-card-top .caps { color: var(--caramel); }
.loy-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgb(243 233 215 / .3); display: grid; place-items: center; font-size: 1.25rem; position: relative; }
.stamp.on { border: 0; background: var(--caramel) url("logo-symbole.png") center / 70% no-repeat; box-shadow: 0 6px 14px rgb(0 0 0 / .3); }
.stamp.soon { border-style: solid; border-color: var(--caramel); }
.stamp.gift { border-color: var(--caramel); background: rgb(201 154 98 / .15); }
.loy-status { font-weight: 600; }
.loy-nfc { font-size: var(--t-sm); color: rgb(243 233 215 / .7); padding-top: 14px; border-top: 1px solid rgb(243 233 215 / .12); }
@media (prefers-reduced-motion: no-preference) { .stamp.on { animation: pop .5s cubic-bezier(.2, .9, .3, 1.3) both; } }

.reward-btn { width: 100%; margin-top: 14px; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--caramel); background: color-mix(in srgb, var(--caramel) 18%, var(--surface)); font-weight: 700; color: var(--ink); }
@media (hover: hover) { .reward-btn:hover { background: var(--caramel); } }

#view-compte.dark { min-height: 100vh; }
.acc { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 104px); display: flex; flex-direction: column; gap: 36px; }
.acc-head { display: flex; flex-direction: column; gap: 14px; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 960px) { .acc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .acc-history { grid-column: 1 / -1; } }
.acc-panel { background: var(--surface); border-radius: 24px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 60px rgb(0 0 0 / .25); }
.acc-h { font: 400 1.75rem/1.1 var(--f-display); margin-bottom: 18px; }
#acc-orders { display: grid; gap: 12px; }
@media (min-width: 760px) { #acc-orders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acc-order { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.acc-order-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; }
.acc-order-head b { font-family: var(--f-mono); font-weight: 500; }
.acc-order-meta { font-size: var(--t-sm); font-weight: 600; }
.acc-order-items { font-size: var(--t-sm); color: var(--muted); }
.acc-order .btn-ghost { margin-top: 4px; }

/* v9 : fidélité à points et paliers */
.loy-tier { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.loy-tier .caps { color: var(--caramel); font-size: .625rem; }
.loy-tier b { font: italic 400 1.25rem/1 var(--f-display); }
.loy-balance { display: flex; align-items: baseline; gap: 10px; }
.loy-balance b { font: 400 clamp(3.5rem, 8vw, 5rem)/.9 var(--f-display); color: var(--caramel); }
.loy-balance span { font-weight: 600; opacity: .8; }
.loy-bar { position: relative; height: 10px; border-radius: 99px; background: rgb(243 233 215 / .14); margin: 8px 6px 34px; }
.loy-fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #E2B57E, var(--caramel)); box-shadow: 0 0 16px rgb(214 150 84 / .55); transition: width .8s var(--ease); }
.loy-mark { position: absolute; top: 50%; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.loy-mark i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #3A211B; border: 2px solid rgb(243 233 215 / .25); font-size: .95rem; }
.loy-mark.on i { border-color: var(--caramel); background: var(--caramel); box-shadow: 0 0 0 4px rgb(201 154 98 / .25); }
.loy-mark small { position: absolute; top: 38px; font-size: .6875rem; font-weight: 700; opacity: .75; white-space: nowrap; }
.loy-mark:last-child { translate: -90% -50%; }
.loy-rewards { display: grid; gap: 8px; }
.loy-rewards li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgb(243 233 215 / .06); font-size: var(--t-sm); }
.loy-rewards li b { color: var(--caramel); white-space: nowrap; }
.loy-rewards li.on { background: rgb(201 154 98 / .2); box-shadow: inset 0 0 0 1px var(--caramel); }
.loy-rewards li.on span::after { content: " · débloqué"; color: var(--caramel); font-weight: 700; }
.loy-next-level { font-size: var(--t-sm); color: rgb(243 233 215 / .75); }
.reward-box { margin-top: 16px; padding: 14px; border-radius: 16px; background: linear-gradient(150deg, #5A3426, #2A1712); color: var(--cream); display: grid; gap: 8px; }
.reward-title { font-weight: 700; font-size: var(--t-sm); }
.reward-box .reward-btn { margin-top: 0; background: rgb(243 233 215 / .08); color: var(--cream); border-color: rgb(201 154 98 / .6); text-align: left; }
.reward-box .reward-btn.on { background: var(--caramel); color: var(--choc); }
@media (hover: hover) { .reward-box .reward-btn:hover { background: rgb(201 154 98 / .35); } }

.loy-expire { font-size: var(--t-sm); font-weight: 700; color: #F0C48C; background: rgb(201 154 98 / .15); border-radius: 10px; padding: 8px 12px; }

/* v10 : arche qui claque (dégradé caramel, rayons, halo, étincelles, vraie photo) */
.photo {
  overflow: visible; isolation: isolate;
  background:
    radial-gradient(60% 42% at 50% 44%, rgb(255 236 205 / .95), rgb(255 236 205 / 0) 70%),
    linear-gradient(172deg, #EFC58E 0%, #D99A5B 45%, #B4693A 78%, #8E4527 100%);
  box-shadow: 0 0 0 1px rgb(255 220 170 / .35), 0 40px 90px rgb(0 0 0 / .45), 0 0 120px rgb(214 150 84 / .25);
}
.photo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 44%, rgb(255 245 225 / .16) 0deg 5deg, transparent 5deg 15deg);
  -webkit-mask: radial-gradient(circle at 50% 44%, #000 0 30%, transparent 70%); mask: radial-gradient(circle at 50% 44%, #000 0 30%, transparent 70%);
}
.photo::before { border-color: rgb(255 240 215 / .45); }
.ring-text { fill: #3A211B; }
.emblem-logo { box-shadow: 0 0 0 10px rgb(255 245 225 / .35), 0 0 0 22px rgb(255 245 225 / .12), 0 20px 50px rgb(90 40 15 / .45), 0 0 80px rgb(255 220 170 / .8); }
.emblem-photo {
  position: absolute; width: 34%; right: -10%; bottom: -10%; aspect-ratio: 1; height: auto; border-radius: 50%; object-fit: cover;
  border: 5px solid #FFF3E0; box-shadow: 0 18px 36px rgb(60 25 10 / .45); rotate: 6deg;
}
.emblem .bowl { left: -8%; bottom: -8%; }
.spark { position: absolute; color: #FFF6E6; text-shadow: 0 0 12px rgb(255 230 190 / .9); pointer-events: none; line-height: 1; }
.s1 { top: 12%; left: 16%; font-size: 1.25rem; } .s2 { top: 22%; right: 12%; font-size: .9rem; }
.s3 { bottom: 20%; left: 10%; font-size: .8rem; } .s4 { top: 8%; right: 30%; font-size: 1.5rem; }
.arch-chip {
  position: absolute; white-space: nowrap; font-size: .8125rem; font-weight: 700; color: var(--choc);
  background: #FFF6E9; padding: 9px 14px; border-radius: 999px; box-shadow: 0 12px 28px rgb(0 0 0 / .3);
}
.chip-a { top: 16%; left: -10%; rotate: -6deg; }
.chip-b { bottom: 6%; right: -6%; rotate: 4deg; background: var(--choc); color: var(--cream); }
@media (max-width: 899px) { .chip-a { left: 0; } .chip-b { right: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .photo::after { animation: spin 70s linear infinite reverse; }
  .spark { animation: twinkle 3.2s ease-in-out infinite; }
  .s2 { animation-delay: .8s; } .s3 { animation-delay: 1.6s; } .s4 { animation-delay: 2.4s; }
  .emblem-photo { animation: pop .8s cubic-bezier(.2, .9, .3, 1.25) .45s both, float 7s ease-in-out 1.6s infinite; }
  .arch-chip { animation: pop .7s cubic-bezier(.2, .9, .3, 1.25) .9s both, float 6s ease-in-out 2s infinite; }
  .chip-b { animation-delay: 1.1s, 2.6s; }
}
@keyframes twinkle { 0%, 100% { opacity: .25; scale: .7; } 50% { opacity: 1; scale: 1.15; } }
.emblem .cookie { left: auto; right: 2%; top: 0; }

/* v11 : arche sans effets de lumière, juste le dégradé caramel */
.photo { background: linear-gradient(172deg, #EBC28C 0%, #D49859 50%, #B26B3C 100%); box-shadow: 0 30px 70px rgb(0 0 0 / .4); }
.photo::after { content: none; }
.emblem-logo { box-shadow: 0 16px 36px rgb(90 40 15 / .35); }

/* v12 : arche dans la continuité du fond chocolat */
.photo {
  background: linear-gradient(175deg, #573224 0%, #42261C 55%, #331C15 100%);
  box-shadow: 0 0 0 1px rgb(201 154 98 / .35), 0 30px 70px rgb(0 0 0 / .35);
}
.photo::before { border-color: rgb(201 154 98 / .3); }
.ring-text { fill: #E2B57E; }
.emblem-logo { box-shadow: 0 0 0 1px rgb(201 154 98 / .4), 0 18px 40px rgb(0 0 0 / .4); }
.emblem-photo { border-color: #F3E9D7; }
.chip-b { background: var(--caramel); color: var(--choc); }

/* v15 : le gobelet détouré sort de l'arche (effet « hors cadre ») */
.photo.stage { overflow: visible; padding: 8% 10%; place-items: start center; }
.stage .emblem { width: 92%; margin-top: 2%; opacity: .9; }
.stage-floor {
  position: absolute; left: 50%; bottom: 6%; width: 62%; height: 7%; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / .55), transparent); pointer-events: none;
}
.photo.stage::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(55% 40% at 50% 58%, rgb(201 130 70 / .35), transparent 70%);
  -webkit-mask: none; mask: none; animation: none;
}
.hero-cup {
  position: absolute; left: 50%; bottom: 5%; translate: -50% 0; height: 92%; width: auto; max-width: none; z-index: 2;
  filter: drop-shadow(0 30px 30px rgb(0 0 0 / .45)) drop-shadow(0 6px 10px rgb(0 0 0 / .3));
}
.stage .chip-b { position: absolute; z-index: 3; left: auto; right: -8%; bottom: 14%; top: auto; text-decoration: none; }
@media (max-width: 899px) { .stage .chip-b { right: 0; } .photo.stage { margin-top: 10%; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-cup { animation: cup-in 1s cubic-bezier(.2, .8, .2, 1) .2s both; }
  .stage .chip-b { animation: pop .7s cubic-bezier(.2, .9, .3, 1.25) .9s both; }
  @media (hover: hover) { .hero-cup { transition: scale .5s var(--ease), rotate .5s var(--ease); } .photo.stage:hover .hero-cup { scale: 1.03; rotate: -2deg; } }
}
@keyframes cup-in { from { opacity: 0; translate: -50% 40px; } to { opacity: 1; translate: -50% 0; } }

/* v16 : vitrine de l'arche qui alterne les produits détourés */
.hero-slides { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-cup { opacity: 0; translate: -50% 26px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.hero-cup.on { opacity: 1; translate: -50% 0; }
.photo.stage::after { background: radial-gradient(55% 40% at 50% 58%, var(--hero-glow, rgb(201 130 70 / .35)), transparent 70%); transition: background .9s; }
.hero-dots { position: absolute; left: 50%; bottom: -34px; translate: -50% 0; display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 26px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgb(243 233 215 / .25); }
.hero-dot[aria-current="true"] { background: var(--caramel); }
@media (prefers-reduced-motion: no-preference) { .hero-cup { animation: none; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .photo.stage:hover .hero-cup.on { scale: 1.03; rotate: -2deg; } }

/* v17 : arche épurée (sans texte circulaire), étiquette posée sous l'arche */
.stage .emblem { display: none; }
.hero-cup { left: 46%; }
.stage .chip-b { left: 50%; right: auto; bottom: -18px; translate: -50% 0; rotate: 0deg; font-size: .8125rem; padding: 8px 16px; background: #2A1712; color: var(--cream); box-shadow: 0 0 0 1px rgb(201 154 98 / .45), 0 10px 24px rgb(0 0 0 / .35); white-space: nowrap; }
@media (max-width: 899px) { .stage .chip-b { right: auto; } }
.hero-dots { bottom: -52px; }

/* v18 : le texte qui tourne revient en sceau rond, entièrement lisible, posé sur le bord de l'arche */
.seal {
  position: absolute; z-index: 3; top: 9%; left: -13%; width: clamp(118px, 13vw, 156px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #4A2A20, #2A1712); display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgb(201 154 98 / .55), 0 18px 36px rgb(0 0 0 / .45);
}
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-text { font: 700 13.5px var(--f-body); fill: #E2B57E; text-transform: uppercase; letter-spacing: .06em; }
.seal-logo { width: 40%; height: auto; border-radius: 50%; box-shadow: 0 6px 14px rgb(0 0 0 / .35); }
@media (max-width: 899px) { .seal { left: -3%; top: 4%; } }
@media (prefers-reduced-motion: no-preference) {
  .seal-ring { animation: spin 22s linear infinite; }
  .seal { animation: pop .8s cubic-bezier(.2, .9, .3, 1.25) .6s both; }
}

/* v19 : épuration (carte blanche) */
/* Les trois choix « Salé / Sucré / Le duo » : de vrais blocs de couleur, sans dessins */
.univers-3 .uni-ill, .univers-3 .uni-ill-b, .univers-3 .uni-ill-cup2 { display: none; }
.univers-3 .uni { min-height: 300px; }
.univers-3 .uni-title { font-size: clamp(3.25rem, 6vw, 4.75rem); }
.univers-3 .uni::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid currentColor; opacity: .14; box-shadow: 0 0 0 28px transparent, inset 0 0 0 28px rgb(255 255 255 / .03);
}
/* Saisons : le badge « En ce moment » ne chevauche plus le titre */
.season .now { top: auto; bottom: 16px; right: 16px; }
.seasons > li[aria-current="true"] { padding-bottom: 54px; }
/* Dessins restants (produits sans photo) : plus discrets dans le carrousel */
.slide-vis:not(.has-photo) .cup { width: clamp(84px, 9vw, 120px); }

/* v20 : univers Salé / Sucré (même site, autre ambiance) */
.mode-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgb(0 0 0 / .28); box-shadow: inset 0 0 0 1px rgb(243 233 215 / .14); }
.mode-switch button { position: relative; z-index: 1; border: 0; background: none; color: rgb(243 233 215 / .7); font-weight: 700; font-size: var(--t-sm); padding: 9px 18px; border-radius: 999px; transition: color .3s; }
.mode-switch button[aria-pressed="true"] { color: var(--choc); }
.mode-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--caramel); transition: translate .45s var(--ease), background-color .45s; box-shadow: 0 6px 16px rgb(0 0 0 / .3); }
[data-mode="sale"] .mode-pill { translate: 100% 0; }
.only-sale { display: none !important; }
[data-mode="sale"] .only-sale { display: revert !important; }
[data-mode="sale"] .only-sucre { display: none !important; }
.hero-cup.is-bowl { height: auto; width: 98%; left: 50%; bottom: 12%; filter: drop-shadow(0 30px 34px rgb(0 0 0 / .55)); }
/* Accent salé : paprika braisé au lieu du caramel */
:root[data-mode="sale"] { --caramel: #DB6B3D; --btn-bg: #DB6B3D; }
[data-mode="sale"] .nav.dark { background: rgb(34 16 12 / .97); }
[data-mode="sale"] .assure.dark { background: #1C0D0A; }
[data-mode="sale"] .hero-dark-glow, [data-mode="sale"] .seal { box-shadow: 0 0 0 1px rgb(219 107 61 / .55), 0 18px 36px rgb(0 0 0 / .45); }
[data-mode="sale"] .seal-text { fill: #F0A27C; }
[data-mode="sale"] .photo { box-shadow: 0 0 0 1px rgb(219 107 61 / .4), 0 30px 70px rgb(0 0 0 / .35); background: linear-gradient(175deg, #5A2A1E 0%, #42201A 55%, #2E1611 100%); }
[data-mode="sale"] .hero.dark h1 em { color: #E8834F; }
[data-mode="sale"] .band { background: #DB6B3D; }
body, .dark, .photo, .band, .btn, .add, .cart-link { transition: background-color .5s ease, color .3s ease; }
@media (max-width: 600px) { .mode-switch button { padding: 8px 14px; } }

/* Le sucré garde ses couleurs dans l'univers salé */
[data-mode="sale"] .cup, [data-mode="sale"] .uni-sucre, [data-mode="sale"] .cookie, [data-mode="sale"] .tile, [data-mode="sale"] .hit-tile { --caramel: #C99A62; }
.uni-sucre { background: #C99A62; }

/* v21 : bascule automatique Sucré ↔ Salé, avec fondu des couleurs du fond */
@property --g1 { syntax: '<color>'; inherits: true; initial-value: rgb(214 150 84 / .26); }
@property --g2 { syntax: '<color>'; inherits: true; initial-value: rgb(176 72 48 / .26); }
@property --d1 { syntax: '<color>'; inherits: true; initial-value: #44261C; }
@property --d2 { syntax: '<color>'; inherits: true; initial-value: #2E1913; }
@property --d3 { syntax: '<color>'; inherits: true; initial-value: #24130F; }
@property --caramel { syntax: '<color>'; inherits: true; initial-value: #C99A62; }
@property --btn-bg { syntax: '<color>'; inherits: true; initial-value: #C99A62; }
:root {
  --g1: rgb(214 150 84 / .26); --g2: rgb(176 72 48 / .26); --d1: #44261C; --d2: #2E1913; --d3: #24130F;
  --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23E2B57E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.05'%3E%3Cpath d='M22 34h30l-5 34H27z'/%3E%3Cpath d='M20 34q17-16 34 0'/%3E%3Cpath d='M24 46h28'/%3E%3Cellipse cx='122' cy='30' rx='8' ry='11'/%3E%3Cpath d='M122 41v30'/%3E%3Ccircle cx='44' cy='130' r='16'/%3E%3Ccircle cx='44' cy='130' r='5'/%3E%3Cpath d='M132 118c-6-10-21-4-15 7l15 15 15-15c6-11-9-17-15-7z'/%3E%3Cpath d='M90 84l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/%3E%3Ccircle cx='96' cy='160' r='3'/%3E%3Ccircle cx='164' cy='162' r='2'/%3E%3Ccircle cx='80' cy='22' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  transition: --g1 1.2s ease, --g2 1.2s ease, --d1 1.2s ease, --d2 1.2s ease, --d3 1.2s ease, --caramel .9s ease, --btn-bg .9s ease;
}
:root[data-mode="sale"] {
  --g1: rgb(219 107 61 / .28); --g2: rgb(170 40 25 / .34); --d1: #45201A; --d2: #2C1511; --d3: #1E0F0C;
  --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23F08A55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.05'%3E%3Cpath d='M14 40h44a22 22 0 0 1-44 0z'/%3E%3Cpath d='M22 40q4-10 10-4q6-8 12 0q6-6 10 4'/%3E%3Cpath d='M118 20v14M126 20v14M134 20v14M118 34q8 8 16 0M126 40v32'/%3E%3Cpath d='M40 112c10 4 22 0 26-12c2 14-6 30-22 32c-8 1-12-6-10-12c-6 0-6-6 6-8z'/%3E%3Cpath d='M62 98q4-6 10-4'/%3E%3Cpath d='M138 112c-10 12-6 26 4 30c12-4 14-18 6-28c-2 6-6 8-8 6c2-4 0-8-2-8z'/%3E%3Cpath d='M90 84l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/%3E%3Ccircle cx='96' cy='160' r='3'/%3E%3Ccircle cx='164' cy='162' r='2'/%3E%3Ccircle cx='80' cy='22' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
}
.dark {
  background:
    radial-gradient(70rem 42rem at 8% -8%, var(--g1), transparent 62%),
    radial-gradient(56rem 40rem at 104% 104%, var(--g2), transparent 60%),
    var(--pat) 0 0 / 220px 220px,
    linear-gradient(165deg, var(--d1) 0%, var(--d2) 55%, var(--d3) 100%);
}
.mode-progress { position: absolute; left: 18px; right: 18px; bottom: -9px; height: 2px; border-radius: 2px; background: rgb(243 233 215 / .12); overflow: hidden; opacity: 0; transition: opacity .3s; }
.mode-progress i { display: block; height: 100%; background: var(--caramel); transform-origin: left; scale: 0 1; }
.mode-switch.auto .mode-progress { opacity: 1; }
.mode-switch.auto .mode-progress i.run { animation: modeprog var(--auto-ms, 7000ms) linear forwards; }
@keyframes modeprog { to { scale: 1 1; } }
.hero-sub, .hero-cta .link-arrow { animation: none; }
[data-mode] .only-sale, [data-mode] .only-sucre { transition: opacity .4s; }
/* ================= Configurateur (façon borne) ================= */
dialog.cfg {
  border: 0; padding: 0; width: min(1060px, calc(100vw - 48px)); max-width: none; height: min(800px, calc(100dvh - 48px)); max-height: none;
  background: var(--surface); color: var(--ink); border-radius: 18px; box-shadow: 0 40px 100px rgb(20 10 6 / .45); overflow: hidden;
}
dialog.cfg::backdrop { background: rgb(30 16 12 / .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cfg-in { display: flex; flex-direction: column; height: 100%; }
.cfg-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cfg-round { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 1.15rem; line-height: 1; display: grid; place-items: center; flex: none; }
@media (hover: hover) { .cfg-round:hover { border-color: var(--ink); } }
.cfg-round[hidden] { display: grid !important; visibility: hidden; }
.cfg-steps { flex: 1; display: flex; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; counter-reset: st; min-width: 0; }
.cfg-steps button {
  display: flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--muted); padding: 6px 12px 6px 6px; border-radius: 999px;
  font-size: var(--t-xs); font-weight: 600; white-space: nowrap;
}
.cfg-steps button::before {
  counter-increment: st; content: counter(st); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--ink); font-size: .6875rem; font-weight: 700; flex: none;
}
.cfg-steps button:disabled { cursor: default; }
.cfg-steps [aria-current="step"] button { color: var(--ink); background: var(--sand); }
.cfg-steps [aria-current="step"] button::before { background: var(--caramel); color: var(--white); }
.cfg-steps .done button { color: var(--ink); }
.cfg-steps .done button::before { content: "✓"; background: var(--pistache); color: var(--white); }
.cfg-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 340px minmax(0, 1fr); }
.cfg-recap { border-right: 1px solid var(--line); background: var(--bg); padding: 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.cfg-photo { position: relative; aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden; background: var(--tint, var(--sand)); display: grid; place-items: center; flex: none; }
.cfg-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cfg-photo .bowl { width: 52%; } .cfg-photo .cup { width: 30%; } .cfg-photo .sauce { width: 40%; } .cfg-photo .drink { width: 16%; }
.cfg-note { font-size: var(--t-xs); color: var(--muted); margin-top: -6px; }
.cfg-who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cfg-kicker { color: var(--caramel); }
.cfg-title { font: 400 2.125rem/1.02 var(--f-display); }
.cfg-desc { color: var(--muted); font-size: var(--t-sm); }
.cfg-lines { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: var(--t-sm); }
.cfg-lines li { display: flex; justify-content: space-between; gap: 12px; }
.cfg-lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cfg-lines .main { font-weight: 600; }
.cfg-lines .off { color: var(--pistache); font-weight: 600; }
.cfg-more { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--ink); font-size: var(--t-xs); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cfg-body { overflow-y: auto; padding: 26px 30px 36px; display: flex; flex-direction: column; gap: 30px; }
.cfg-body:focus { outline: none; }
.cfg-sec h3 { font: 400 1.75rem/1.1 var(--f-display); }
.cfg-sec h3:focus { outline: none; }
.cfg-hint { color: var(--muted); font-size: var(--t-sm); margin-top: 4px; }
.cfg-mdesc { display: none; }
.cfg-ings { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cfg-ing {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--surface); color: var(--ink); font-size: var(--t-sm); font-weight: 600;
}
.cfg-ing::before { content: "✓"; color: var(--pistache); font-weight: 800; }
.cfg-ing[aria-pressed="true"] { border-color: var(--line); color: var(--muted); background: none; font-weight: 500; text-decoration: line-through; }
.cfg-ing[aria-pressed="true"]::before { content: "✕"; color: var(--bordeaux); }
.cfg-ing.is-fixed { border: 1.5px dashed var(--line); cursor: default; }
.cfg-ing.is-fixed::after { content: "inclus"; font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.cfg-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 14px; }
.ctile {
  position: relative; display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface);
  overflow: hidden; text-align: left; padding: 0; color: var(--ink); font: inherit;
}
button.ctile { cursor: pointer; }
@media (hover: hover) { button.ctile:hover, .ctile:hover { border-color: var(--ink); } }
.ctile.is-on, .ctile[aria-pressed="true"] { border-color: var(--caramel); box-shadow: 0 0 0 3px color-mix(in srgb, var(--caramel) 30%, transparent); }
.ctile-vis { aspect-ratio: 4 / 3; background: var(--tint, var(--sand)); display: grid; place-items: center; overflow: hidden; font-size: 2.6rem; line-height: 1; }
.ctile-vis img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ctile-vis .sauce { width: 40%; } .ctile-vis .cup { width: 26%; } .ctile-vis .drink { width: 14%; } .ctile-vis .bowl { width: 46%; }
.ctile-txt { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.ctile-name { font-weight: 600; font-size: var(--t-sm); line-height: 1.25; }
.ctile-price { font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.ctile-check {
  position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line);
  display: grid; place-items: center; font-size: .8125rem; font-weight: 800; color: transparent;
}
.ctile[aria-pressed="true"] .ctile-check { background: var(--caramel); border-color: var(--caramel); color: var(--white); }
.ctile-act { padding: 0 12px 12px; }
.ctile-act .stepper { justify-content: space-between; width: 100%; }
.ctile-add { width: 100%; border: 1.5px solid var(--ink); background: none; color: var(--ink); border-radius: 999px; padding: 9px 10px; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
@media (hover: hover) { .ctile-add:hover { background: var(--ink); color: var(--surface); } }
.ctile-badge { position: absolute; top: 8px; left: 8px; background: var(--bordeaux); color: var(--white); border-radius: 999px; padding: 3px 8px; font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ctile-menu { font-size: 2rem; letter-spacing: .08em; --tint: var(--sand); }
.cfg-formule { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 460px; }
.cfg-deal { display: flex; align-items: center; gap: 10px; background: var(--choc); color: var(--cream); border-radius: 12px; padding: 12px 16px; font-size: var(--t-sm); font-weight: 600; margin-top: 12px; }
.cfg-bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface); }
.cfg-qtyl { font-size: var(--t-xs); font-weight: 600; color: var(--muted); }
.cfg-qtyw { display: flex; align-items: center; gap: 10px; }
.cfg-sum { margin-left: auto; text-align: right; display: flex; flex-direction: column; line-height: 1.2; }
.cfg-sum small { font-size: var(--t-xs); color: var(--pistache); font-weight: 600; }
.cfg-sum b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.cfg-go { padding: 17px 26px; min-width: 230px; justify-content: center; font-size: .75rem; }
@media (max-width: 760px) {
  dialog.cfg { width: 100vw; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
  .cfg-head { padding: 10px 12px; gap: 8px; }
  .cfg-steps button { padding: 4px 8px 4px 4px; }
  .cfg-steps li:not([aria-current="step"]) button span { display: none; }
  .cfg-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .cfg-recap { flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; gap: 14px; overflow: visible; }
  .cfg-photo { width: 76px; border-radius: 12px; }
  .cfg-title { font-size: 1.5rem; }
  .cfg-recap .cfg-desc, .cfg-recap .cfg-lines, .cfg-note, .cfg-recap .cfg-more { display: none; }
  .cfg-mdesc { display: block; color: var(--muted); font-size: var(--t-sm); margin-bottom: -10px; }
  .cfg-body { padding: 20px 16px 30px; gap: 26px; }
  .cfg-sec h3 { font-size: 1.5rem; }
  .cfg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cfg-bar { gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); flex-wrap: wrap; }
  .cfg-qtyl { display: none; }
  .cfg-sum b { font-size: 1.0625rem; }
  .cfg-go { flex: 1 1 100%; min-width: 0; order: 3; padding-block: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  dialog.cfg[open] { animation: rise .32s var(--ease) both; }
  .ctile, .cfg-ing { transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease, color .18s ease; }
  button.ctile:active, .cfg-ing:active { transform: scale(.97); }
}
.card .tile.is-click { cursor: pointer; }
.add.is-soon { background: none; color: var(--muted); border: 1px dashed var(--line); }
/* ================= Gestion Misu (Display, réservé à l'équipe) ================= */
.mgmt-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sand); margin-bottom: 24px; }
.mgmt-tab { border: 0; background: none; color: var(--ink); padding: 10px 20px; border-radius: 999px; font-size: var(--t-sm); font-weight: 600; }
.mgmt-tab[aria-selected="true"] { background: var(--choc); color: var(--cream); }
.today { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.today-it { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); min-width: 130px; }
.today-it b { font: 400 1.75rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.today-it span { font-size: var(--t-xs); color: var(--muted); font-weight: 600; }
.today-it.hot { background: var(--choc); border-color: var(--choc); color: var(--cream); }
.today-it.hot span { color: rgb(243 233 215 / .75); }
.sms-in { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 16px; margin-bottom: 28px; }
.sms-in > summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: var(--t-sm); list-style: none; }
.sms-in > summary::-webkit-details-marker { display: none; }
.sms-in[open] { padding-bottom: 16px; }
.sms-lbl { display: block; font-size: var(--t-xs); font-weight: 600; margin-bottom: 6px; }
.sms-in textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); padding: 12px; font: 400 .875rem/1.45 var(--f-mono, ui-monospace, monospace); resize: vertical; }
.sms-acts { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.sms-preview { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.sms-preview .warn { margin: 0; }
.bon-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 600; color: var(--muted); }
.bon-pay .btn-ghost { padding: 8px 12px; }
.chip-paid { background: var(--pistache); color: var(--white); }
.chip-due { background: none; color: var(--bordeaux); border-color: var(--bordeaux); }
.chip-sms { background: none; color: var(--muted); border-color: var(--line); }
.chip-sms::before { display: none; }
.btn-ghost.danger { color: var(--bordeaux); border-color: color-mix(in srgb, var(--bordeaux) 40%, transparent); }
.acct-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sand); }
.seg-b { border: 0; background: none; color: var(--ink); padding: 8px 14px; border-radius: 999px; font-size: var(--t-xs); font-weight: 600; }
.seg-b[aria-pressed="true"] { background: var(--surface); box-shadow: 0 1px 4px rgb(58 33 27 / .15); }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 26px; }
.kpi { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.kpi span { font-size: var(--t-xs); color: var(--muted); font-weight: 600; }
.kpi b { font: 400 2rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.kpi small { font-size: var(--t-xs); color: var(--muted); }
.kpi.main { background: var(--choc); border-color: var(--choc); color: var(--cream); }
.kpi.main span, .kpi.main small { color: rgb(243 233 215 / .75); }
.kpi.good b { color: var(--pistache); }
.kpi.due b { color: var(--bordeaux); }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.acct-card { padding: 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.acct-card h3 { font: 400 1.5rem/1.1 var(--f-display); }
.exp-form { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; align-items: end; }
.exp-form .btn { justify-content: center; grid-column: 1 / -1; }
.acct-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.acct-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.acct-list li > span:first-child { flex: 1; min-width: 0; }
.acct-list small { display: block; color: var(--muted); font-size: var(--t-xs); }
.acct-list b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.acct-x { border: 0; background: none; color: var(--muted); font-size: 1.1rem; width: 30px; height: 30px; border-radius: 50%; }
@media (hover: hover) { .acct-x:hover { background: var(--sand); color: var(--ink); } }
.acct-empty { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 760px) {
  .acct-grid { grid-template-columns: minmax(0, 1fr); }
  .exp-form { grid-template-columns: minmax(0, 1fr); }
  .today-it { flex: 1 1 40%; min-width: 0; }
}

/* Horaires, ouvert/fermé, suivi de commande, flux cuisine */
.open-now { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: var(--t-xs); font-weight: 600; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.open-now.is-on::before { background: #7BC47F; box-shadow: 0 0 0 4px rgb(123 196 127 / .22); }
.hero .open-now { margin-top: 18px; }
.mgmt .open-now { margin-bottom: 14px; }
.hours-box { margin-top: 18px; }
.hours-row.is-today span { color: var(--ink); font-weight: 700; }
.hours-row.is-closed span:last-child { color: var(--muted); }
.foot-hours { display: flex; flex-direction: column; gap: 2px; }
.foot-hours .fees-row { display: flex; justify-content: flex-start; gap: 6px; color: inherit; }
.foot-hours .fees-row span:first-child::after { content: " :"; }
.foot-hours .fees-row span:last-child { color: inherit; }
.slot-note:empty { display: none; }
.sms-when { font: 400 1.25rem/1.25 var(--f-display); }
.track { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 12px; }
.track-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; font-size: var(--t-sm); }
.track-head b { font-family: var(--f-mono); font-weight: 500; }
.track-head span { color: var(--muted); }
.track-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; list-style: none; margin: 0; padding: 0; }
.track-steps li { position: relative; padding-top: 14px; font-size: .6875rem; font-weight: 600; color: var(--muted); line-height: 1.2; }
.track-steps li::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 999px; background: var(--line); }
.track-steps li.is-done::before, .track-steps li.is-now::before { background: var(--caramel); }
.track-steps li.is-now { color: var(--ink); }
.track-msg { font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .track-steps li.is-now::before { animation: pulse-bar 1.6s ease-in-out infinite; } }
@keyframes pulse-bar { 50% { opacity: .45; } }
.bon-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.btn-ghost.btn-go { background: var(--choc); color: var(--cream); border-color: var(--choc); }
.flow-lbl { width: 100%; font-size: var(--t-xs); font-weight: 600; }
a.sms-tell { text-decoration: none; }
.prod { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 14px 16px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.prod-h { font-weight: 700; font-size: var(--t-sm); }
.prod-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.prod-list li { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: var(--t-sm); background: var(--bg); }

@media (max-width: 760px) {
  .display { gap: 22px; padding-top: 22px; }
  .display .stage { gap: 12px; }
  .display .stage .sec-title { font-size: 2rem; }
  .stage-sub { display: none; }
  .medo-box { align-items: center; }
  .medo-stage { width: 54px; }
  .bubble { padding: 10px 12px; font-size: var(--t-sm); }
  .controls .btn-ghost { padding: 9px 14px; font-size: var(--t-xs); }
  .mgmt-tabs { margin-bottom: 14px; }
}

/* Lancement : contenus réservés au salé / affichés tant que le salé est fermé */
.no-sale [data-when-sale] { display: none !important; }
html:not(.no-sale) [data-when-nosale] { display: none !important; }
.no-sale .mode-switch { display: none !important; }
.no-sale .univers .uni-sale { order: 3; }
/* Carte : mini-panier (ordinateur) ; page de commande séparée */
.mini { display: none; }
@media (min-width: 1060px) {
  .mini {
    display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 40px);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; max-height: calc(100vh - var(--nav-h) - 64px); overflow-y: auto;
  }
  .mini .sec-title { font-size: 2rem; }
}
.mini-go { justify-content: center; }
.checkout { display: flex; flex-direction: column; gap: 18px; padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.back-link { color: inherit; font-size: var(--t-sm); font-weight: 600; text-decoration: none; width: fit-content; opacity: .85; }
@media (hover: hover) { .back-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; } }
.checkout .order { position: static; max-height: none; overflow: visible; }
.checkout .order .sec-title { font-size: clamp(2.25rem, 4vw, 3rem); }
.sum-h { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 8px; }
.cart-empty a { color: inherit; font-weight: 600; }
.cart-min { margin: 0; }
@media (min-width: 900px) {
  .checkout .order-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 390px); gap: 44px; align-items: start; }
  .checkout .order-body > form { grid-column: 1; grid-row: 1; }
  .checkout .sum-col { grid-column: 2; grid-row: 1; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + 24px); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
}
.info-photo-note { margin-top: -10px; }
.voice-pick { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-xs); font-weight: 600; }
.voice-pick select { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); padding: 8px 12px; font: inherit; max-width: 220px; }
