/* Riz de Rance — site de démonstration La Balise.
   Aucune règle inline dans la page : la CSP du domaine (style-src 'self') les bloquerait. */

@font-face { font-family: "Instrument Serif"; src: url("/exemples/traiteur-asiatique/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/exemples/traiteur-asiatique/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/exemples/traiteur-asiatique/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/exemples/traiteur-asiatique/fonts/caveat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Contrastes mesurés (WCAG) : ink/paper 15.1 · muted/paper 6.6 · muted/beige 6.1 · lacquer-ink/paper 6.5 ·
   blanc/lacquer 6.5 · jade-ink/paper 7.3 · gold/night 8.9 · muted-night/night 9.5 · pastille « plus que 2 »/card 3.4 (non textuel) */
:root {
  --paper: #F4EFE6;
  --card: #FFFCF6;
  --ink: #1E1A17;
  --muted: #5B534C;
  --night: #14201C;
  --night-2: #1C2B26;
  --cream: #F4EFE6;
  --muted-night: #B9C6BF;
  --lacquer: #B3261E;
  --lacquer-ink: #A3221B;
  --lacquer-deep: #7E1813;
  --jade: #2F6B5A;
  --jade-ink: #245747;
  --gold: #E6B654;
  --line: rgba(30, 26, 23, 0.14);
  --line-night: rgba(244, 239, 230, 0.14);
  --radius: 18px;
  --shadow: 0 1px 0 rgba(30, 26, 23, 0.06), 0 18px 40px -22px rgba(30, 26, 23, 0.35);
  /* Lift de carte : même valeur pour les plats, les jours, les créneaux et les avis */
  --lift: translateY(-4px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Instrument Serif", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
/* grain de papier de riz */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .27 0 0 0 0 .22 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
main, .foot { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--lacquer-deep); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .top :focus-visible, .delivery :focus-visible, .foot :focus-visible { outline-color: var(--gold); }

/* ---------- Bandeau démo ---------- */
.demo-bar {
  position: relative;
  z-index: 60;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 8px 16px;
  background: #0B1210;
  color: var(--muted-night);
  font-size: 13px;
  text-align: center;
}
.demo-bar strong { color: var(--cream); font-weight: 600; }
.demo-bar a { color: var(--gold); font-weight: 600; text-decoration: none; }
.demo-bar a:hover { text-decoration: underline; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  font: 700 16px/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lacquer {
  background: var(--lacquer);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(179, 38, 30, .9), inset 0 -3px 0 rgba(0, 0, 0, .2);
}
.btn-lacquer:hover { background: #C42C22; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(196, 44, 34, .95), inset 0 -3px 0 rgba(0, 0, 0, .2); }
.btn-ghost { color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(244, 239, 230, .45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cream); transform: translateY(-2px); }
.btn-ghost-dark { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 32, 28, .84);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--line-night);
  color: var(--cream);
}
.top-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-seal { width: 44px; height: 44px; transition: transform .6s var(--ease); }
.brand:hover .brand-seal { transform: rotate(-8deg) scale(1.06); }
.brand-name { font: 400 28px/1 var(--display); }
.brand-name em { font-style: italic; color: var(--gold); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; color: var(--muted-night); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); }
.cart-link { padding: 11px 12px 11px 20px; }
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--lacquer-deep);
  font-size: 14px;
  font-weight: 800;
}
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 65% at 78% 60%, rgba(230, 182, 84, .20), transparent 70%),
    radial-gradient(45% 55% at 8% 0%, rgba(47, 107, 90, .35), transparent 70%),
    var(--night);
  color: var(--cream);
  padding: 64px 0 96px;
}
/* motif de vagues seigaiha, très discret */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' fill='none' stroke='%23F4EFE6' stroke-width='1.2'%3E%3Cpath d='M0 24a24 24 0 0 1 48 0M8 24a16 16 0 0 1 32 0M16 24a8 8 0 0 1 16 0M-24 12a24 24 0 0 1 48 0M24 12a24 24 0 0 1 48 0'/%3E%3C/svg%3E");
  -webkit-mask: linear-gradient(100deg, transparent 30%, #000 75%);
  mask: linear-gradient(100deg, transparent 30%, #000 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(244, 239, 230, .07);
  box-shadow: inset 0 0 0 1px var(--line-night);
  color: var(--muted-night);
  font-size: 14px;
}
.live strong { color: var(--cream); font-weight: 700; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-night); flex: none; }
.live.is-open .live-dot { background: #7BD88F; animation: ping 2s ease-out infinite; }
.live.is-soon .live-dot { background: var(--gold); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(123, 216, 143, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(123, 216, 143, 0); } }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(50px, 7.6vw, 104px);
  line-height: .95;
  letter-spacing: -0.02em;
}
.hero h1 em {
  display: block;
  color: var(--gold);
  background: linear-gradient(92deg, #F6DA92 0%, var(--gold) 45%, #E58F4F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: .12em;
}
.hero-lead { margin-top: 24px; max-width: 34em; color: var(--muted-night); font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 40px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line-night); color: var(--muted-night); font-size: 14px; }
.hero-facts strong { display: block; color: var(--cream); font: 400 34px/1.1 var(--display); }

/* le panier vapeur */
.steamer { position: relative; width: min(100%, 460px); margin-inline: auto; padding-top: 120px; }
.steamer-glow {
  position: absolute;
  left: 10%; right: 10%; top: 40%; bottom: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230, 182, 84, .4), transparent);
  filter: blur(24px);
}
.steamer-svg { position: relative; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.lid { animation: lid 6s var(--ease) infinite; }
@keyframes lid {
  0%, 52%, 100% { transform: translate(0, 0) rotate(0deg); }
  60%, 86% { transform: translate(34px, -46px) rotate(9deg); }
}
.steam { position: absolute; left: 14%; top: 0; width: 72%; height: auto; overflow: visible; }
.wisp { fill: none; stroke: rgba(244, 239, 230, .55); stroke-width: 9; stroke-linecap: round; filter: blur(3px); stroke-dasharray: 60 200; stroke-dashoffset: 0; opacity: 0; animation: steam 6s ease-out infinite; }
.wisp-b { animation-delay: .5s; stroke-width: 11; }
.wisp-c { animation-delay: 1s; }
@keyframes steam {
  0%, 50% { stroke-dashoffset: 0; opacity: 0; }
  62% { opacity: .9; }
  100% { stroke-dashoffset: -220; opacity: 0; }
}
.hand { font: 700 24px/1.05 var(--hand); color: var(--gold); }
.hand-hero { position: absolute; right: -2%; top: 18%; transform: rotate(7deg); text-align: right; }
.hand-hero::after {
  content: "";
  display: block;
  width: 54px; height: 36px;
  margin: 6px 40px 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 36' fill='none' stroke='%23E6B654' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M51 3C37 5 19 13 7 31'/%3E%3Cpath d='M16 27l-9 5-1-10'/%3E%3C/svg%3E") no-repeat;
}

/* ---------- Bandeau défilant ---------- */
.ticker {
  position: relative;
  z-index: 2;
  margin: -34px -20px 0;
  padding: 14px 0;
  background: var(--lacquer);
  color: #fff;
  transform: rotate(-1.6deg);
  box-shadow: 0 16px 30px -18px rgba(126, 24, 19, .9);
  overflow: hidden;
}
.ticker-track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker p { flex: none; padding-right: 26px; font: italic 400 28px/1 var(--display); white-space: nowrap; }
.ticker span { display: inline-block; margin: 0 16px; color: #F6DA92; font-size: 16px; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Sections ---------- */
.section-head { max-width: 680px; }
.order .section-head { max-width: 860px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--lacquer-ink); }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.kicker-light { color: var(--gold); }
.section-head h2 { margin-top: 14px; font-size: clamp(40px, 5.6vw, 70px); letter-spacing: -0.015em; }
.section-head h2 em { color: var(--lacquer-ink); }
.section-lead { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 36em; }

/* ---------- La carte ---------- */
.menu { padding: 120px 0 96px; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font: 700 15px/1 var(--body);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip.is-on { background: var(--ink); color: var(--cream); box-shadow: none; }
.chip-diet::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px currentColor; vertical-align: -1px; transition: background-color .2s ease; }
.chip-diet.is-on { background: var(--jade-ink); }
.chip-diet.is-on::before { background: currentColor; }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; }
.dish {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.dish:hover { transform: var(--lift); box-shadow: 0 1px 0 rgba(30, 26, 23, .06), 0 28px 50px -24px rgba(30, 26, 23, .45); }
.dish.is-hidden { display: none; }
.dish.is-in { animation: appear .45s var(--ease) both; }
@keyframes appear { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.dish-art { width: 76%; margin: -2px auto 14px; }
.dish-svg { width: 100%; height: auto; filter: drop-shadow(0 12px 12px rgba(30, 26, 23, .25)); transition: transform .8s var(--ease); }
.dish:hover .dish-svg { transform: rotate(-24deg) scale(1.04); }
.dish-photo { display: block; aspect-ratio: 1; object-fit: cover; border-radius: 22px; filter: none; box-shadow: 0 14px 26px -16px rgba(30, 26, 23, .5); }
.dish:hover .dish-photo { transform: scale(1.04); }
.flyer-photo { border-radius: 22px; object-fit: cover; }
.dish-body { flex: 1; }
.dish h3 { font-size: 27px; }
.dish h3 small { display: block; margin-top: 4px; font: 700 12px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dish-desc { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.allerg { margin-top: 10px; color: var(--muted); font-size: 12.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.tag { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.tag-vege { background: #DCEADF; color: var(--jade-ink); }
.tag-sg { background: #EFE6CF; color: #6B4E12; }
.tag-hot { background: #F6D9D4; color: var(--lacquer-deep); }
.tag-hot span { letter-spacing: -.1em; font-size: 9px; vertical-align: 1px; }
.tag-new { background: var(--ink); color: var(--gold); }
.dish-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1.5px dashed var(--line); }
.price { font: 400 30px/1 var(--display); color: var(--lacquer-ink); font-variant-numeric: tabular-nums; }
.add {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font: 500 28px/1 var(--body);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s var(--ease);
}
.add:hover { background: var(--lacquer); transform: rotate(90deg); }
.add.is-added { animation: pop .7s var(--ease); }
@keyframes pop { 0% { transform: scale(1); background: var(--jade); } 40% { transform: scale(1.25); background: var(--jade); } 75% { transform: scale(1); background: var(--jade); } }
.dish-star { box-shadow: 0 0 0 2px var(--lacquer), var(--shadow); }
.hand-star { position: absolute; top: -18px; right: 12px; z-index: 1; padding: 2px 10px 4px; border-radius: 6px; background: var(--lacquer); color: #fff; font-size: 21px; transform: rotate(3deg); }
.menu-empty { margin-top: 24px; padding: 18px 22px; border-radius: 14px; background: var(--card); color: var(--muted); }
.menu-note { margin-top: 32px; max-width: 60em; color: var(--muted); font-size: 15px; }
.flyer { position: fixed; z-index: 90; pointer-events: none; }
/* plats dessinés par traiteur.js : traits arrondis hérités par tous les tracés */
.dish-svg, .cart-mini, .flyer, .platter { stroke-linecap: round; }

/* ---------- Réceptions ---------- */
.events {
  padding: 110px 0;
  background:
    radial-gradient(40% 60% at 100% 0%, rgba(179, 38, 30, .08), transparent 70%),
    #EDE6D9;
}
.events-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.calc { margin-top: 34px; }
.formulas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.formulas legend { margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.formula { position: relative; cursor: pointer; }
.formula input { position: absolute; opacity: 0; inset: 0; }
.formula span {
  display: block;
  height: 100%;
  padding: 16px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .2s ease, transform .35s var(--ease), background-color .2s ease;
}
.formula:hover span { transform: var(--lift); }
.formula strong { display: block; font: 400 23px/1.1 var(--display); }
.formula small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.formula input:checked + span { background: var(--ink); color: var(--cream); box-shadow: none; }
.formula input:checked + span small { color: var(--muted-night); }
.formula input:focus-visible + span { outline: 3px solid var(--lacquer-deep); outline-offset: 3px; }
.guests { display: block; margin-top: 28px; }
.guests > span { display: block; font-weight: 700; color: var(--muted); font-size: 14px; }
.guests output { font: 400 40px/1 var(--display); color: var(--lacquer-ink); vertical-align: -4px; margin-left: 4px; }
.guests input { width: 100%; margin: 14px 0 6px; accent-color: var(--lacquer); }
.guests small { color: var(--muted); font-size: 13px; }
.platter-card { padding: 30px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); text-align: center; }
.platter { width: min(260px, 80%); margin: -70px auto 18px; filter: drop-shadow(0 22px 22px rgba(30, 26, 23, .35)); }
.platter.pop { animation: platter .6s var(--ease); }
@keyframes platter { 0% { transform: scale(.9) rotate(-10deg); } 60% { transform: scale(1.04) rotate(2deg); } 100% { transform: none; } }
.platter-title { font: 400 28px/1.1 var(--display); }
.platter-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.platter-list li { padding: 5px 12px; border-radius: 999px; background: var(--paper); font-size: 14px; }
.platter-list strong { color: var(--lacquer-ink); font-variant-numeric: tabular-nums; }
.platter-price { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 18px; padding-top: 16px; border-top: 1.5px dashed var(--line); color: var(--muted); font-size: 14px; }
.platter-price strong { font: 400 38px/1 var(--display); color: var(--lacquer-ink); font-variant-numeric: tabular-nums; }
.platter-note { margin-top: 12px; color: var(--muted); font-size: 13px; }

/* ---------- Livraison ---------- */
.delivery {
  padding: 110px 0;
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(230, 182, 84, .12), transparent 70%),
    var(--night);
  color: var(--cream);
}
.delivery .section-head h2 em { color: var(--gold); }
.delivery .section-lead { color: var(--muted-night); }
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.field.field-dark { margin-top: 32px; }
.field.field-dark > span { color: var(--muted-night); }
.field.field-dark select { background: var(--night-2); color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(244, 239, 230, .35); }
.field.field-dark select:focus { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 4px rgba(230, 182, 84, .18); }
.zone-result { min-height: 150px; padding: 20px 22px; border-radius: 16px; background: rgba(244, 239, 230, .05); box-shadow: inset 0 0 0 1px var(--line-night); color: var(--muted-night); }
.zone-name { font: 400 30px/1.1 var(--display); color: var(--cream); }
.zone-facts { margin: 10px 0 16px; padding: 0 0 0 18px; font-size: 15px; }
.zone-facts li::marker { color: var(--gold); }
.zone-legend { display: grid; gap: 6px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted-night); font-size: 14px; }
.zone-legend strong { color: var(--cream); margin-right: 6px; }
.zl { display: inline-block; width: 14px; height: 14px; margin-right: 10px; border-radius: 50%; vertical-align: -2px; }
.zl-1 { background: rgba(230, 182, 84, .55); }
.zl-2 { background: rgba(230, 182, 84, .3); }
.zl-3 { background: rgba(230, 182, 84, .14); box-shadow: inset 0 0 0 1px rgba(230, 182, 84, .5); }
.map { position: relative; margin: 0; }
.map-svg { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--line-night); }
.ring { stroke: rgba(230, 182, 84, .55); stroke-width: 1.2; stroke-dasharray: 3 5; }
.ring-1 { fill: rgba(230, 182, 84, .2); }
.ring-2 { fill: rgba(230, 182, 84, .1); }
.ring-3 { fill: rgba(230, 182, 84, .05); }
.river { stroke: #2E5A66; stroke-width: 14; stroke-linecap: round; opacity: .9; }
.map-river { font: 700 20px var(--hand); fill: #6FA2AE; }
.pin { cursor: pointer; outline: none; }
.pin-hit { fill: transparent; }
.pin-dot { fill: var(--night); stroke: var(--cream); stroke-width: 2; transition: fill .25s ease, r .25s var(--ease); }
.pin text { font: 600 11.5px var(--body); fill: var(--muted-night); paint-order: stroke; stroke: var(--night); stroke-width: 3px; stroke-linejoin: round; transition: fill .2s ease; }
.pin:hover .pin-dot, .pin:focus-visible .pin-dot { fill: var(--gold); }
.pin:hover text, .pin:focus-visible text { fill: var(--cream); }
.pin:focus-visible .pin-hit { stroke: var(--gold); stroke-width: 2; }
.pin.is-on .pin-dot { fill: var(--lacquer); stroke: #fff; r: 7; }
.pin.is-on text { fill: #fff; font-weight: 800; }
.kitchen circle { fill: var(--lacquer); stroke: #fff; stroke-width: 2; }
.kitchen text { font: 400 17px var(--display); fill: #fff; paint-order: stroke; stroke: var(--night); stroke-width: 4px; }
.rider-route { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.rider-route.is-drawn { animation: draw 1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.map-note { position: absolute; right: -8px; top: 18px; transform: rotate(6deg); padding: 4px 12px 6px; border-radius: 8px; background: var(--lacquer); color: #fff; font-size: 23px; }

/* ---------- Commander ---------- */
.order { padding: 110px 0; }
.order-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; margin-top: 44px; align-items: start; }
.panel { padding: 30px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.panel h3 { font-size: 30px; margin-bottom: 14px; }
.panel-cart { position: sticky; top: 96px; }
.cart { margin: 0; padding: 0; list-style: none; }
.cart li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  animation: appear .35s var(--ease) both;
}
.cart-mini { width: 44px; height: 44px; }
.cart-name { font-weight: 700; line-height: 1.3; }
.cart-sub { display: block; color: var(--muted); font-size: 13px; }
.qty { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.qty button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: 600 18px/1 var(--body); cursor: pointer; transition: background-color .15s ease; }
.qty button:hover { background: var(--paper); }
.qty output { min-width: 18px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.cart-empty { padding: 18px 0; color: var(--muted); }
.cart-empty a { color: var(--lacquer-ink); font-weight: 700; }
.cart-sums { margin: 14px 0 0; }
.cart-sums > div { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; color: var(--muted); font-size: 15px; }
.cart-sums > div[hidden] { display: none; }
.cart-sums dd { margin: 0; font-variant-numeric: tabular-nums; }
.cart-sums .cart-total { margin-top: 10px; padding-top: 14px; border-top: 2px solid var(--ink); color: var(--ink); font-weight: 700; font-size: 17px; }
.cart-total dd { font: 400 38px/1 var(--display); color: var(--lacquer-ink); }
.cart-hint { min-height: 1.4em; margin-top: 10px; color: var(--jade-ink); font-weight: 700; font-size: 14px; }

.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 22px; padding: 5px; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.mode label { position: relative; cursor: pointer; }
.mode input { position: absolute; opacity: 0; inset: 0; }
.mode span { display: block; padding: 11px 10px; border-radius: 999px; text-align: center; font-weight: 800; font-size: 15px; color: var(--muted); transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.mode input:checked + span { background: var(--ink); color: var(--cream); box-shadow: 0 6px 14px -8px rgba(30, 26, 23, .7); }
.mode input:focus-visible + span { outline: 3px solid var(--lacquer-deep); outline-offset: 2px; }

.field { display: block; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { display: block; margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.field small { font-weight: 500; }
.field input, .field select {
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px rgba(30, 26, 23, .32);
  color: var(--ink);
  font: 500 16px var(--body);
  transition: box-shadow .2s ease;
}
.field input:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lacquer-deep), 0 0 0 4px rgba(179, 38, 30, .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.address { padding: 18px 18px 2px; margin-bottom: 18px; border-radius: 14px; background: #F1ECE1; animation: appear .35s var(--ease) both; }
.address[hidden] { display: none; }
.address .field input, .address .field select { background: var(--card); }

.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 2px 8px;
  border: 0;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .2s ease, box-shadow .2s ease;
}
.day:hover:not(:disabled) { transform: var(--lift); box-shadow: inset 0 0 0 1.5px var(--ink); }
.day-name { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.day-num { font: 400 26px/1 var(--display); }
.day-state { min-height: 1.2em; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.day.is-sel { background: var(--ink); color: var(--cream); box-shadow: none; }
.day.is-sel .day-name { color: var(--gold); }
.day:disabled { cursor: not-allowed; opacity: .5; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-group { flex-basis: 100%; margin-top: 6px; font-size: 13px; font-weight: 800; color: var(--jade-ink); }
.slot-group:first-child { margin-top: 0; }
.slot {
  position: relative;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink);
  font: 700 14px/1 var(--body);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.slot:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.slot.is-low::after { content: ""; position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: #C77700; box-shadow: 0 0 0 2px var(--card); }
.slot[aria-pressed="true"] { background: var(--lacquer); color: #fff; box-shadow: none; }
.slot:disabled { color: var(--muted); text-decoration: line-through; cursor: not-allowed; opacity: .6; }
.slot-none { color: var(--muted); font-size: 15px; }
.slot-info { margin-top: 10px; color: var(--jade-ink); font-size: 14px; font-weight: 700; }
.slot-info:empty { display: none; }
.pay { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pay legend { width: 100%; }
.radio { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.radio input { width: 18px; height: 18px; accent-color: var(--lacquer); }
.form-error { min-height: 1.4em; margin-bottom: 10px; color: var(--lacquer-ink); font-weight: 700; font-size: 15px; }
.demo-note { margin-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }

/* ticket de commande — le moment « célébration » du site */
.ticket-wrap { grid-column: 1 / -1; display: grid; justify-items: center; padding: 10px 0 0; }
.ticket-wrap[hidden] { display: none; }
.ticket {
  position: relative;
  width: min(440px, 100%);
  padding: 34px 30px 30px;
  background: #FFFDF8;
  color: var(--ink);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 14px;
  box-shadow: 0 30px 50px -28px rgba(30, 26, 23, .6);
  -webkit-mask: radial-gradient(circle 7px at 50% 0, transparent 98%, #000) 50% 0 / 20px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 50% 100% / 20px 51% repeat-x;
  mask: radial-gradient(circle 7px at 50% 0, transparent 98%, #000) 50% 0 / 20px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 50% 100% / 20px 51% repeat-x;
}
.ticket.is-in { animation: print .9s var(--ease) both; }
.ticket:focus { outline: none; }
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-20px); } to { clip-path: inset(0 0 0 0); transform: none; } }
.ticket-brand { font: 400 34px/1 var(--display); text-align: center; color: var(--lacquer-ink); }
.ticket-no { margin-top: 8px; text-align: center; color: var(--muted); }
.track { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 0; padding: 0; list-style: none; font-family: var(--body); font-size: 12px; font-weight: 800; text-align: center; color: var(--muted); counter-reset: step; }
.track li { position: relative; padding-top: 22px; }
.track li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); }
.track li + li::after { content: ""; position: absolute; top: 9px; right: calc(50% + 10px); width: calc(100% - 20px); height: 2px; background: var(--line); }
.track .is-done { color: var(--jade-ink); }
.track .is-done::before { background: var(--jade); box-shadow: 0 0 0 4px rgba(47, 107, 90, .2); }
.ticket.is-in .track .is-done::before { animation: check .6s .8s var(--ease) both; }
@keyframes check { 0% { transform: scale(0); } 60% { transform: scale(1.4); } 100% { transform: scale(1); } }
.ticket-lines { margin: 22px 0 0; padding: 14px 0; list-style: none; border-block: 1.5px dashed var(--line); }
.ticket-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.ticket-total { display: flex; justify-content: space-between; margin-top: 12px; font-size: 17px; }
.ticket-when { margin-top: 18px; padding: 14px; border-radius: 10px; background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.45; text-align: center; }
.ticket-when strong { display: block; margin: 4px 0; font: 400 38px/1.05 var(--display); color: var(--lacquer-ink); }
.ticket-foot { margin: 18px 0 20px; text-align: center; color: var(--muted); }
.ticket .btn { width: 100%; font-family: var(--body); }
.order-grid.is-done .panel { display: none; }

/* ---------- Avis ---------- */
.reviews { padding: 20px 0 110px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; }
.review { padding: 26px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: transform .35s var(--ease); }
.review:hover { transform: var(--lift); }
.stars { color: #8F5A00; letter-spacing: .12em; }
.star-off { color: #D6CDBF; }
.review blockquote { margin: 12px 0 0; font: italic 400 22px/1.3 var(--display); }
.review-by { margin-top: 14px; color: var(--muted); font-size: 14px; font-weight: 700; }

/* ---------- Infos ---------- */
.infos { padding: 100px 0; background: #EDE6D9; }
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.addr { margin-top: 26px; font: 400 30px/1.2 var(--display); }
.addr-small { margin: 10px 0 24px; max-width: 30em; color: var(--muted); font-size: 15px; }
.hours { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); font-size: 15px; }
.hours th, .hours td { padding: 13px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 700; }
.hours td { color: var(--muted); font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours .is-today { background: var(--ink); }
.hours .is-today th, .hours .is-today td { color: var(--cream); }
.today-tag { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Pied de page ---------- */
.foot { padding: 60px 0; background: var(--night); color: var(--muted-night); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; }
.brand-name-foot { color: var(--cream); font-size: 34px; margin-bottom: 12px; }
.foot a { color: var(--cream); }
.foot-grid > div > p + p { margin-top: 6px; }
.foot-small { font-size: 13px; }
.foot-credit a { color: var(--gold); font-weight: 700; text-decoration: none; }
.foot-credit a:hover { text-decoration: underline; }

/* ---------- Barre de commande mobile + toast ---------- */
.sticky-order { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: none; animation: appear .35s var(--ease) both; }
.sticky-order .btn { box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55); }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity .25s ease, transform .35s var(--ease);
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .cart-link { margin-left: auto; }
  .hero-grid, .events-grid, .delivery-grid, .infos-grid { grid-template-columns: 1fr; }
  .steamer { width: min(100%, 380px); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .order-grid { grid-template-columns: 1fr; }
  .panel-cart { position: static; }
  .review-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .platter-card { margin-top: 70px; }
  .sticky-order:not([hidden]) { display: block; }
  .toast { bottom: 84px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .demo-long { display: none; }
  .brand-name { font-size: 24px; }
  .brand-seal { width: 38px; height: 38px; }
  .cart-link span:first-child { display: none; }
  .cart-link { padding: 10px 14px; }
  .hero { padding: 40px 0 80px; }
  .hand-hero { font-size: 20px; right: 0; top: 10%; }
  .menu, .events, .delivery, .order, .infos { padding: 80px 0; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dish { padding: 14px 14px 12px; }
  .dish h3 { font-size: 22px; }
  .dish-desc, .allerg { display: none; }
  .price { font-size: 24px; }
  .add { width: 40px; height: 40px; }
  .formulas { grid-template-columns: 1fr; }
  .panel { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .days { gap: 4px; }
  .day-num { font-size: 22px; }
  .day-state { font-size: 9.5px; }
  .ticket { padding: 30px 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker p[aria-hidden] { display: none; }
  .wisp { opacity: .5; animation: none; }
  .lid { animation: none; }
  .rider-route { stroke-dashoffset: 0; }
}
