/* PRESSÉ — démo de restaurant de smash burgers (Démesure) */

:root {
  --mustard: #ffcf1a;
  --ketchup: #ff3d24;
  --pickle: #6cc04a;
  --cream: #fff3dc;
  --ink: #1a0f08;
  --brown: #7a3b17;
  --font: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --b: 3px solid var(--ink);
  --sh: 6px 6px 0 var(--ink);
  --g: clamp(16px, 3.4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Rien ne dépasse sur les côtés (bandeau penché, panier caché) : sur iPhone, la page ne glisse plus à gauche et à droite.
   « hidden » pour les anciens Safari, « clip » ensuite (ne gêne pas le hero collant). */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.5;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
::selection { background: var(--ketchup); color: var(--cream); }
:focus-visible { outline: 3px solid var(--ketchup); outline-offset: 3px; }

.kicker { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h2 { font-size: clamp(54px, 8vw, 132px); font-weight: 800; line-height: .86; letter-spacing: -.04em; font-variation-settings: "wdth" 75; text-transform: uppercase; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px;
  background: var(--ink); color: var(--mustard);
  border: var(--b); border-radius: 14px; box-shadow: var(--sh);
  font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .02em;
  transition: transform .25s var(--spring), box-shadow .25s var(--spring), background-color .2s, color .2s;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--big { height: 66px; font-size: 17px; width: 100%; background: var(--ketchup); color: var(--cream); }

/* Bandeau démo */
.demo-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 9px var(--g); background: var(--ink); color: rgba(255, 243, 220, .75); font-size: 12.5px; }
.demo-bar a { color: var(--mustard); text-decoration: underline; text-underline-offset: 3px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 72px; padding: 0 var(--g);
  background: var(--mustard); border-bottom: var(--b);
}
.logo { position: relative; font-size: 30px; font-weight: 800; letter-spacing: -.03em; font-variation-settings: "wdth" 75; transition: font-variation-settings .5s var(--spring); }
.logo:hover { font-variation-settings: "wdth" 100; }
.logo i { position: absolute; right: -14px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--ketchup); border: 2px solid var(--ink); }
.nav__links { display: flex; gap: 8px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-weight: 700; transition: background-color .2s, color .2s; }
.nav__links a:hover { background: var(--ink); color: var(--mustard); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.cur { display: flex; border: var(--b); border-radius: 999px; overflow: hidden; background: var(--cream); }
.cur button { height: 38px; padding: 0 13px; font-weight: 800; font-size: 14px; }
.cur button[aria-pressed="true"] { background: var(--ink); color: var(--mustard); }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: var(--b); border-radius: 999px; background: var(--cream); font-weight: 800; box-shadow: 3px 3px 0 var(--ink); transition: transform .25s var(--spring); }
.cart-btn b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--ketchup); color: var(--cream); font-size: 13px; }
.cart-btn.is-bump { animation: bump .5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.18) rotate(-4deg); } }

/* Hero */
.hero { position: relative; height: 290vh; background: var(--mustard); }
.hero__sticky { position: sticky; top: 72px; height: calc(100vh - 72px); overflow: hidden; }
/* Le grand mot du hero, et son double dans l'intro (même place, même tracé : le relais ne se voit pas). */
.hero__giant, .intro__word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%);
  font-size: 31vw; font-weight: 800; line-height: .8; letter-spacing: -.05em;
  font-variation-settings: "wdth" 75;
  /* Contour peint sous le remplissage : les tracés qui se chevauchent dans la police variable ne se voient plus. */
  color: var(--ketchup); -webkit-text-stroke: 8px var(--ink); paint-order: stroke fill;
  white-space: nowrap; user-select: none; pointer-events: none;
}
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.scene:active { cursor: grabbing; }
.hero__copy { position: absolute; left: var(--g); bottom: var(--g); z-index: 3; display: flex; flex-direction: column; gap: 22px; max-width: 520px; }
/* Pastille crème : le kicker reste lisible quand il passe sur le grand « PRESSÉ ». */
.hero__copy .kicker { align-self: flex-start; padding: 7px 12px; background: var(--cream); border: var(--b); border-radius: 999px; }
.hero h1 { font-size: clamp(52px, 6.6vw, 110px); font-weight: 800; line-height: .84; letter-spacing: -.045em; text-transform: uppercase; font-variation-settings: "wdth" 75; }
.hero h1 .ln { display: block; transform-origin: 0 60%; }
.hero h1 .ln--out { color: var(--cream); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.hero__giant span, .intro__squash span { display: inline-block; transform-origin: 50% 100%; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: var(--g); bottom: var(--g); z-index: 3; font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.smash-btn {
  position: absolute; right: calc(var(--g) + 40px); top: 50%; z-index: 4;
  width: 150px; height: 150px; margin-top: -75px;
  border-radius: 50%; border: var(--b);
  background: var(--ketchup); color: var(--cream);
  box-shadow: var(--sh);
  font-size: 26px; font-weight: 800; font-variation-settings: "wdth" 75;
  transform: rotate(-12deg);
  transition: transform .3s var(--spring), box-shadow .3s var(--spring);
}
.smash-btn::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2px dashed rgba(255, 243, 220, .6); animation: spin 14s linear infinite; }
.smash-btn:hover { transform: rotate(0) scale(1.06); }
.smash-btn:active { transform: rotate(0) scale(.9); box-shadow: 1px 1px 0 var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.burst {
  position: absolute; left: 50%; top: 45%; z-index: 5;
  padding: 18px 30px;
  background: var(--cream); border: var(--b); box-shadow: var(--sh);
  font-size: clamp(40px, 6vw, 80px); font-weight: 800; font-variation-settings: "wdth" 75;
  clip-path: polygon(50% 0%, 61% 18%, 82% 6%, 78% 30%, 100% 34%, 84% 52%, 98% 70%, 74% 72%, 76% 96%, 56% 82%, 42% 100%, 34% 78%, 10% 90%, 18% 66%, 0% 56%, 18% 42%, 4% 20%, 28% 22%, 32% 0%);
  transform: translate(-50%, -50%) scale(0) rotate(-14deg);
  pointer-events: none;
}
.burst.is-on { animation: burst .9s var(--spring); }
@keyframes burst {
  0% { transform: translate(-50%, -50%) scale(0) rotate(-30deg); }
  35% { transform: translate(-50%, -50%) scale(1.1) rotate(-8deg); }
  70% { transform: translate(-50%, -50%) scale(1) rotate(-10deg); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.15) rotate(-10deg); opacity: 0; }
}

.sticker {
  position: absolute; z-index: 3;
  padding: 10px 16px; border: var(--b); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--mono); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; text-align: center;
  animation: float 5s ease-in-out infinite;
}
.sticker--a { left: 9%; top: 14%; background: var(--cream); --r: -8deg; }
.sticker--b { right: 12%; top: 12%; background: var(--pickle); --r: 9deg; animation-delay: -1.6s; }
.sticker--c { right: 30%; bottom: 14%; background: var(--cream); border-radius: 18px; --r: -5deg; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-10px); } }

.tags { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.tag {
  position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  background: var(--cream); border: var(--b); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800; font-size: 15px; white-space: nowrap;
  opacity: 0; will-change: transform, opacity;
}
.tag i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); flex: none; }

/* Bandeau qui défile */
main { overflow-x: clip; } /* la bande inclinée dépasse des deux côtés : coupée au bord, même sur iPhone */
.band { position: relative; z-index: 5; margin: -26px -20px 0; padding: 14px 0; background: var(--ketchup); border-block: var(--b); transform: rotate(-2.2deg); overflow: hidden; }
.band__track { display: flex; gap: 28px; width: max-content; animation: marquee 22s linear infinite; }
.band span { font-size: clamp(30px, 4vw, 56px); font-weight: 800; text-transform: uppercase; color: var(--cream); font-variation-settings: "wdth" 75; white-space: nowrap; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.band i { font-style: normal; font-size: clamp(28px, 3.6vw, 50px); color: var(--mustard); -webkit-text-stroke: 2px var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Configurateur */
.compose { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding: clamp(100px, 12vw, 160px) var(--g) clamp(80px, 10vw, 140px); }
.compose__stage { position: sticky; top: 96px; height: min(78vh, 760px); min-height: 440px; border: var(--b); border-radius: 28px; box-shadow: var(--sh); overflow: hidden; background: radial-gradient(circle at 50% 55%, #fff9ec 0%, #ffe39a 55%, var(--mustard) 100%); }
.compose__price { position: absolute; left: 18px; bottom: 18px; display: flex; flex-direction: column; padding: 12px 18px; background: var(--cream); border: var(--b); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); }
.compose__price span { font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.compose__price b { font-size: 38px; line-height: 1; font-weight: 800; font-variation-settings: "wdth" 75; }
.compose__panel { display: flex; flex-direction: column; gap: 22px; }
.compose h2 { margin: 8px 0 10px; }
.opt { padding: 18px 20px; border: var(--b); border-radius: 18px; background: #fff; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.opt__label { font-size: 19px; font-weight: 800; display: flex; flex-direction: column; line-height: 1.15; }
.opt__label small { font-size: 13px; font-weight: 500; color: var(--brown); }
.opt--chips { display: flex; flex-wrap: wrap; justify-content: flex-start; }
.opt--chips legend { float: left; width: 100%; margin-bottom: 12px; }
.stepper { display: flex; align-items: center; gap: 4px; border: var(--b); border-radius: 999px; padding: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; background: var(--mustard); font-size: 24px; font-weight: 800; line-height: 1; transition: transform .2s var(--spring); }
.stepper button:active { transform: scale(.85); }
.stepper b { min-width: 34px; text-align: center; font-size: 22px; }
.opt--switch input { appearance: none; width: 58px; height: 32px; border-radius: 999px; border: var(--b); background: var(--cream); position: relative; cursor: pointer; transition: background-color .2s; }
.opt--switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--spring); }
.opt--switch input:checked { background: var(--mustard); }
.opt--switch input:checked::after { transform: translateX(26px); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border: var(--b); border-radius: 999px; font-weight: 700; font-size: 15px; background: var(--cream); cursor: pointer; transition: background-color .2s, transform .25s var(--spring), box-shadow .25s; }
.chip:hover span { transform: translateY(-2px); }
.chip input:checked + span { background: var(--ink); color: var(--mustard); box-shadow: 3px 3px 0 var(--ketchup); }
.chip input:focus-visible + span { outline: 3px solid var(--ketchup); outline-offset: 2px; }

/* Carte */
.menu { padding: clamp(100px, 12vw, 160px) var(--g); background: var(--ink); color: var(--cream); }
.menu__head { margin-bottom: clamp(50px, 6vw, 80px); }
.menu__head h2 { color: var(--mustard); }
.menu__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 34px); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 22px 22px 20px; border: var(--b); border-radius: 26px;
  background: var(--bg, var(--mustard)); color: var(--ink);
  box-shadow: 8px 8px 0 #000;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .45s var(--spring);
}
.card:hover { transform: rotate(0) translateY(-8px); }
.card__tag { position: absolute; top: -14px; right: 18px; padding: 5px 12px; border: var(--b); border-radius: 999px; background: var(--cream); font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; transform: rotate(4deg); }
.card__art { display: block; width: 100%; height: auto; margin: 4px 0 6px; transition: transform .5s var(--spring); }
.card:hover .card__art { transform: scale(1.06) rotate(-3deg); }
.card h3 { font-size: 34px; font-weight: 800; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; font-variation-settings: "wdth" 75; }
.card p { font-size: 15px; line-height: 1.4; }
.card__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }
.price { font-size: 30px; font-weight: 800; font-variation-settings: "wdth" 75; }
.add { width: 52px; height: 52px; border-radius: 50%; border: var(--b); background: var(--cream); font-size: 30px; font-weight: 800; line-height: 1; box-shadow: 3px 3px 0 var(--ink); transition: transform .25s var(--spring), background-color .2s; }
.add:hover { transform: rotate(90deg) scale(1.08); background: var(--ink); color: var(--mustard); }
.sides { margin-top: clamp(70px, 9vw, 120px); }
.sides h3 { font-size: clamp(40px, 5vw, 70px); font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; font-variation-settings: "wdth" 75; color: var(--mustard); margin-bottom: 20px; }
.sides__list { border-top: 2px solid rgba(255, 243, 220, .2); }
.sides__list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px; padding: 18px 0; border-bottom: 2px solid rgba(255, 243, 220, .2); }
.sides__name { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; }
.sides__name small { display: block; font-size: 14px; font-weight: 400; opacity: .7; }
.sides__price { font-size: 24px; font-weight: 800; font-variation-settings: "wdth" 75; color: var(--mustard); }
.sides .add { width: 44px; height: 44px; font-size: 24px; color: var(--ink); }

/* Adresses */
.spots { padding: clamp(100px, 12vw, 160px) var(--g); background: var(--ketchup); }
.spots h2 { color: var(--cream); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.spots h2 span { color: var(--mustard); }
.spots__head { margin-bottom: clamp(40px, 5vw, 70px); }
.spots__list { display: grid; gap: 14px; }
.spots__list li { display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; align-items: center; gap: 20px; padding: 22px 26px; background: var(--cream); border: var(--b); border-radius: 22px; box-shadow: var(--sh); transition: transform .35s var(--spring); }
.spots__list li:hover { transform: translate(-3px, -3px) rotate(-.6deg); }
.spots__city { font-size: clamp(36px, 4.4vw, 64px); font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; line-height: .9; font-variation-settings: "wdth" 75; }
.spots__where { font-size: 20px; font-weight: 700; }
.spots__hours { font-family: var(--mono); font-size: 14px; font-weight: 700; }
.spots__status { justify-self: end; padding: 7px 14px; border: var(--b); border-radius: 999px; font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; background: var(--cream); }
.spots__status.is-open { background: var(--pickle); }
.spots__status.is-open::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--ink); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* Pied de page */
.footer { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 30px; padding: 50px var(--g) 40px; background: var(--mustard); border-top: var(--b); }
.footer__logo { font-size: clamp(60px, 10vw, 150px); font-weight: 800; line-height: .8; letter-spacing: -.05em; font-variation-settings: "wdth" 75; }
.footer__note { max-width: 50ch; font-size: 14px; }
.dm-sign { display: inline-flex; align-items: center; gap: .6em; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: inherit; opacity: .8; transition: opacity .3s; }
.dm-sign:hover { opacity: 1; }
.dm-sign__dot { width: 6px; height: 6px; border-radius: 50%; background: #ff4a1c; flex: none; }
.dm-sign__w { transition: letter-spacing .6s var(--ease); }
.dm-sign:hover .dm-sign__w { letter-spacing: .32em; }

/* Panier */
.cart { position: fixed; inset: 0; z-index: 60; visibility: hidden; overflow: hidden; }
.cart.is-open { visibility: visible; }
.cart__backdrop { position: absolute; inset: 0; background: rgba(26, 15, 8, .45); opacity: 0; transition: opacity .4s; }
.cart__panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px;
  width: min(440px, calc(100% - 24px));
  display: flex; flex-direction: column;
  background: var(--cream); border: var(--b); border-radius: 26px; box-shadow: var(--sh);
  transform: translateX(110%) rotate(3deg); transition: transform .6s var(--spring);
}
.cart.is-open .cart__backdrop { opacity: 1; }
.cart.is-open .cart__panel { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 14px; border-bottom: var(--b); }
.cart__head h2 { font-size: 36px; }
.cart__close { width: 44px; height: 44px; border: var(--b); border-radius: 50%; font-size: 26px; line-height: 1; background: var(--mustard); }
.cart__items { flex: 1; overflow-y: auto; padding: 10px 22px; }
.cart__items li { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 14px 0; border-bottom: 2px dashed rgba(26, 15, 8, .2); }
.cart__name { font-weight: 800; font-size: 18px; line-height: 1.15; }
.cart__name small { display: block; font-weight: 400; font-size: 13px; color: var(--brown); }
.cart__line { font-weight: 800; font-size: 18px; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button { width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; font-weight: 800; background: #fff; }
.qty b { min-width: 24px; text-align: center; }
.cart__empty { padding: 30px 22px; font-weight: 700; display: none; }
.cart.is-empty .cart__empty { display: block; }
.cart.is-empty .cart__foot { display: none; }
.cart__foot { padding: 18px 22px 22px; border-top: var(--b); display: flex; flex-direction: column; gap: 12px; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; }
.cart__total b { font-size: 34px; font-variation-settings: "wdth" 75; }
.cart__note { font-size: 12px; text-align: center; color: var(--brown); }

.toast { position: fixed; left: 50%; bottom: 22px; z-index: 80; max-width: calc(100vw - 32px); padding: 14px 20px; background: var(--ink); color: var(--mustard); border-radius: 16px; font-weight: 700; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; transition: transform .5s var(--spring), visibility 0s .5s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--spring), visibility 0s; }

.reveal { opacity: 0; transform: translateY(40px) rotate(var(--tilt, 0deg)); transition: opacity .8s var(--ease), transform .8s var(--spring); }
.reveal.is-in { opacity: 1; transform: rotate(var(--tilt, 0deg)); }
.no-webgl::after { content: "Burger 3D indisponible sur cet appareil"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  .sticker, .band__track, .smash-btn::before, .spots__status.is-open::before { animation: none; }
  .reveal { opacity: 1; transform: rotate(var(--tilt, 0deg)); transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compose { grid-template-columns: 1fr; }
  .compose__stage { position: relative; top: 0; height: 60vh; min-height: 380px; }
  .spots__list li { grid-template-columns: 1fr auto; }
  .spots__hours { grid-column: 1; }
  .footer { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { height: 64px; }
  .nav__links { display: none; }
  .hero__sticky { top: 64px; height: calc(100vh - 64px); }
  .hero { height: 240vh; }
  .hero__giant, .intro__word { font-size: 38vw; top: 34%; }
  .smash-btn { width: 108px; height: 108px; margin-top: 0; top: 18px; right: 16px; font-size: 20px; }
  .sticker--a { top: 20px; left: 16px; }
  .sticker--b, .sticker--c, .hero__scroll { display: none; }
  .hero h1 { font-size: 15vw; }
  .menu__grid { grid-template-columns: 1fr; }
  .cart-btn { padding: 0 12px; }
  .tag { font-size: 11px; padding: 5px 9px 5px 5px; gap: 6px; border-width: 2px; box-shadow: 3px 3px 0 var(--ink); }
  .hero__copy { gap: 16px; }
  .tag i { width: 16px; height: 16px; }
}

/* ---------- Intro « SMASH » : les lettres tombent, la presse écrase, le burger arrive ---------- */
.intro { display: none; }
.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 100; overflow: hidden; cursor: pointer; }
.intro__bg { position: absolute; inset: 0; background: var(--mustard); border-bottom: var(--b); transition: transform .75s cubic-bezier(.7, 0, .2, 1); }
.intro-open .intro__bg { transform: translateY(calc(-100% - 4px)); }
.intro__shake { position: absolute; inset: 0; animation: intro-shake .45s linear 1.36s both; }
.intro__stage { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.intro-open .intro__word { opacity: 0; transition: opacity .25s ease .42s; }
.intro__squash { display: inline-block; transform-origin: 50% 100%; animation: word-squash 1.05s 1.2s both; }
.intro__squash span { animation: letter-drop .78s both; animation-delay: calc(.12s + var(--i) * 75ms); }
@keyframes letter-drop {
  0% { transform: translateY(-120vh) scale(.9, 1.25); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  58% { transform: translateY(0) scale(.92, 1.18); animation-timing-function: ease-out; }
  70% { transform: translateY(0) scale(1.25, .68); animation-timing-function: cubic-bezier(.3, 1.4, .5, 1); }
  100% { transform: none; }
}
@keyframes word-squash {
  0%, 13% { transform: none; }
  14% { transform: scale(1.14, .2); }
  64% { transform: scale(1.14, .2); animation-timing-function: cubic-bezier(.3, 1.6, .5, 1); }
  86% { transform: scale(.96, 1.06); }
  100% { transform: none; }
}
/* La presse : une plaque d'acier et son manche, qui s'abattent sur le mot puis remontent. */
.intro__press { position: absolute; left: 0; right: 0; top: 0; height: var(--press-h, 50vh); transform: translateY(-115%); animation: intro-press 1.05s 1.2s both; pointer-events: none; }
.intro__handle { position: absolute; left: calc(var(--word-x, 50vw) - 24px); width: 48px; top: -60px; bottom: 26px; background: var(--brown); border: var(--b); border-radius: 0 0 8px 8px; }
.intro__plate { position: absolute; left: var(--plate-l, 10vw); right: var(--plate-r, 10vw); bottom: 0; height: 32px; border: var(--b); border-radius: 10px; background: linear-gradient(#8a8a86, #4a4a46 55%, #2e2e2b); box-shadow: 0 10px 0 rgba(26, 15, 8, .18); }
@keyframes intro-press {
  0% { transform: translateY(-115%); animation-timing-function: cubic-bezier(.6, 0, 1, .4); }
  14% { transform: translateY(0); }
  56% { transform: translateY(0); animation-timing-function: cubic-bezier(.3, .1, .2, 1); }
  100% { transform: translateY(-120%); }
}
@keyframes intro-shake {
  0%, 100% { transform: none; }
  15% { transform: translate(-14px, 9px); }
  30% { transform: translate(12px, -7px); }
  45% { transform: translate(-9px, 5px); }
  60% { transform: translate(6px, -3px); }
  78% { transform: translate(-3px, 2px); }
}
.intro__burst {
  position: absolute; z-index: 2; left: calc(var(--word-x, 50vw) + var(--word-w, 60vw) * .3); top: calc(var(--press-h, 50vh) - 30px);
  padding: 16px 28px; background: var(--cream); border: var(--b); box-shadow: var(--sh);
  font-size: clamp(34px, 5vw, 76px); font-weight: 800; font-variation-settings: "wdth" 75; white-space: nowrap;
  clip-path: polygon(50% 0%, 61% 18%, 82% 6%, 78% 30%, 100% 34%, 84% 52%, 98% 70%, 74% 72%, 76% 96%, 56% 82%, 42% 100%, 34% 78%, 10% 90%, 18% 66%, 0% 56%, 18% 42%, 4% 20%, 28% 22%, 32% 0%);
  transform: translate(-50%, -50%) scale(0); animation: intro-burst .85s 1.36s both;
}
@keyframes intro-burst {
  0% { transform: translate(-50%, -50%) scale(0) rotate(-30deg); opacity: 1; animation-timing-function: var(--spring); }
  30% { transform: translate(-50%, -50%) scale(1.1) rotate(-8deg); }
  70% { transform: translate(-50%, -50%) scale(1) rotate(-10deg); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.15) rotate(-10deg); opacity: 0; }
}
.intro__crumbs i {
  position: absolute; left: calc(var(--word-x, 50vw) + var(--x) * var(--word-w, 60vw)); top: calc(var(--word-b, 60vh) - 12px);
  width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 2.5px solid var(--ink);
  opacity: 0; animation: intro-crumb 1s cubic-bezier(.2, .7, .3, 1) 1.36s both;
}
.intro__crumbs i.is-seed { width: 12px; height: 24px; }
@keyframes intro-crumb {
  0% { transform: translate(0, 0) scale(.3); opacity: 0; }
  6% { opacity: 1; }
  45% { transform: translate(calc(var(--dx) * .7), var(--dy)) scale(1) rotate(calc(var(--r) * .6)); opacity: 1; }
  100% { transform: translate(var(--dx), calc(var(--dy) + 32vh)) scale(.9) rotate(var(--r)); opacity: 0; }
}

/* Entrée du hero : le burger tombe (app.js), le texte claque, les stickers sautent. */
.hero-quick .hero__giant span { animation: letter-drop .7s both; animation-delay: calc(.05s + var(--i) * 60ms); }
:is(.intro-on, .hero-quick):not(.hero-in) :is(.hero__copy .kicker, .hero__ctas) { opacity: 0; transform: translateY(26px); }
:is(.intro-on, .hero-quick):not(.hero-in) .hero h1 .ln { opacity: 0; transform: scale(1.7) rotate(-7deg); }
:is(.intro-on, .hero-quick):not(.hero-in) :is(.sticker, .smash-btn) { scale: 0; }
:is(.intro-on, .hero-quick):not(.hero-in) .hero__scroll { translate: 0 24px; }
.hero-in :is(.hero__copy .kicker, .hero__ctas) { transition: opacity .5s ease var(--d, 0s), transform .7s var(--spring) var(--d, 0s); }
.hero-in .hero h1 .ln { transition: opacity .2s ease var(--d, 0s), transform .55s var(--spring) var(--d, 0s); }
.hero-in .sticker { transition: scale .55s var(--spring) var(--d, .9s); }
.hero-in .smash-btn { transition: scale .6s var(--spring) 1.15s, transform .3s var(--spring), box-shadow .3s var(--spring); }
.hero-in .hero__scroll { transition: translate .8s var(--ease) 1.2s; }
@media (prefers-reduced-motion: reduce) { .intro { display: none !important; } }

/* ---------- Commande en direct (liaison avec le back-office de démo) ---------- */
.demo-bar__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.cart__panel { overflow-y: auto; overscroll-behavior: contain; }
.cart__items { flex: 1 0 auto; min-height: 110px; }
.checkout { display: flex; flex-wrap: wrap; gap: 8px; }
.checkout legend, .checkout > span { float: left; width: 100%; margin-bottom: 4px; font-weight: 800; font-size: 14px; }
.checkout small { font-weight: 500; font-size: 12px; color: var(--brown); }
.checkout--name { flex-direction: column; gap: 0; }
.checkout--name input { width: 100%; height: 46px; padding: 0 14px; border: var(--b); border-radius: 12px; background: #fff; font-weight: 700; }
.checkout--name input::placeholder { color: rgba(26, 15, 8, .4); font-weight: 500; }
.chip--sm span { height: 34px; padding: 0 12px; font-size: 13.5px; border-width: 2px; }

.card.is-off { filter: grayscale(.85); }
.card.is-off .card__art { opacity: .55; }
.card__tag--off { background: var(--ink); color: var(--mustard); }
.add:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.sides__list li.is-off .sides__name, .sides__list li.is-off .sides__price { opacity: .45; text-decoration: line-through; text-decoration-thickness: 2px; }

.track {
  position: fixed; left: 16px; bottom: 16px; z-index: 70;
  display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
  padding: 10px 10px 10px 14px; background: var(--cream); border: var(--b); border-radius: 18px; box-shadow: var(--sh);
  animation: track-in .6s var(--spring);
}
.track[hidden] { display: none; }
.track__no { font-family: var(--mono); font-size: 15px; padding: 4px 8px; border-radius: 8px; background: var(--ink); color: var(--mustard); }
.track__steps { display: flex; gap: 4px; }
.track__steps i { width: 18px; height: 8px; border-radius: 4px; border: 2px solid var(--ink); background: #fff; transition: background-color .4s; }
.track__steps i.is-on { background: var(--ketchup); }
.track__msg { font-weight: 800; font-size: 15px; line-height: 1.15; }
.track__link { font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.track__x { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 2px solid var(--ink); font-size: 18px; line-height: 1; background: #fff; }
.track[data-status="ready"] { background: var(--pickle); animation: track-ready 1.2s var(--spring) 2; }
.track[data-status="ready"] .track__steps i { background: var(--ink); }
.track[data-status="done"] { opacity: .8; }
.has-track .toast { bottom: 100px; }
@keyframes track-in { from { transform: translateY(140%) rotate(-4deg); } }
@keyframes track-ready { 30% { transform: scale(1.06) rotate(-2deg); } 60% { transform: scale(.98) rotate(1deg); } }
@media (max-width: 720px) {
  .track { left: 12px; right: 12px; bottom: 12px; flex-wrap: wrap; gap: 8px 10px; }
  .track__msg { flex: 1; }
  .track__link { order: 5; }
}
@media (prefers-reduced-motion: reduce) { .track, .track[data-status="ready"] { animation: none; } }
