/* Pizza du Port — 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: "Fraunces"; src: url("/exemples/pizza-du-port/fonts/fraunces-soft.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/exemples/pizza-du-port/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/exemples/pizza-du-port/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/exemples/pizza-du-port/fonts/caveat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Contrastes mesurés (WCAG) : ink/paper 14.6 · muted/paper 5.6 · tomato-ink/paper 5.5 ·
   blanc/tomato 5.5 · ember/night 8.7 · cream/night 15.4 · muted-night/night 8.4 */
:root {
  --paper: #F5ECDC;
  --card: #FFFBF3;
  --ink: #221A15;
  --muted: #6A5A4E;
  --night: #1C1512;
  --night-2: #2A1E19;
  --cream: #F5ECDC;
  --muted-night: #BFAE9C;
  --tomato: #C0391F;
  --tomato-ink: #B0301C;
  --tomato-deep: #8E2414;
  --basil: #2F5B37;
  --ember: #F4A340;
  --sea: #9DC3C1;
  --line: rgba(34, 26, 21, 0.14);
  --line-night: rgba(245, 236, 220, 0.14);
  --radius: 18px;
  --shadow: 0 1px 0 rgba(34, 26, 21, 0.06), 0 18px 40px -22px rgba(34, 26, 21, 0.35);
  /* Lift de carte : même valeur pour les plats, les jours et les panneaux */
  --lift: translateY(-4px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Fraunces", Georgia, serif;
  --body: "Bricolage", 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 farine */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .22;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .18 0 0 0 .55 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-variation-settings: "SOFT" 100; margin: 0; line-height: 1; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--tomato-deep); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .top :focus-visible, .private :focus-visible, .foot :focus-visible, .tour :focus-visible { outline-color: var(--ember); }

/* ---------- 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: #0E0B09;
  color: var(--muted-night);
  font-size: 13px;
  text-align: center;
}
.demo-bar strong { color: var(--cream); font-weight: 600; }
.demo-bar a { color: var(--ember); 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: 600 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-fire {
  background: var(--tomato);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(192, 57, 31, .9), inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.btn-fire:hover { background: #D1431F; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(209, 67, 31, .95), inset 0 -3px 0 rgba(0, 0, 0, .18); }
.btn-ghost { color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(245, 236, 220, .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(28, 21, 18, .82);
  -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-stamp { width: 48px; height: 48px; transition: transform .6s var(--ease); }
.brand:hover .brand-stamp { transform: rotate(-24deg); }
.stamp-text { font: 700 8.2px var(--body); letter-spacing: .12em; fill: var(--cream); }
.brand-name { font: 700 23px/1 var(--display); font-variation-settings: "SOFT" 100; }
.brand-name em { font-style: italic; font-weight: 500; color: var(--ember); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; color: var(--muted-night); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--ember); 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(--tomato-deep);
  font-size: 14px;
  font-weight: 700;
}
.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(60% 70% at 78% 62%, rgba(244, 110, 40, .30), transparent 70%),
    radial-gradient(50% 60% at 10% 0%, rgba(157, 195, 193, .10), transparent 70%),
    var(--night);
  color: var(--cream);
  padding: 64px 0 88px;
}
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(245, 236, 220, .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: 600; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-night); flex: none; }
.live.is-open .live-dot { background: #7BD88F; box-shadow: 0 0 0 0 rgba(123, 216, 143, .6); animation: ping 2s ease-out infinite; }
.live.is-soon .live-dot { background: var(--ember); }
@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(52px, 8.2vw, 112px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -0.025em;
}
.hero h1 em {
  display: block;
  color: var(--ember);
  background: linear-gradient(92deg, #FFD37A 0%, var(--ember) 40%, #FF7A3D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: .18em;
  margin-bottom: -.1em;
}
.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 28px; 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: 700 30px/1.1 var(--display); font-variation-settings: "SOFT" 100; }

/* le four */
.oven { position: relative; width: min(100%, 470px); margin-inline: auto; padding-bottom: 40px; }
.oven-glow {
  position: absolute;
  left: 18%; right: 18%; top: 42%; bottom: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 140, 50, .55), transparent);
  filter: blur(20px);
  animation: glow 3.2s ease-in-out infinite alternate;
}
@keyframes glow { from { opacity: .7; transform: scale(.96); } to { opacity: 1; transform: scale(1.06); } }
.oven-svg { position: relative; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.flame { transform-box: fill-box; transform-origin: 50% 100%; }
.flame-a { animation: flick 1.3s ease-in-out infinite alternate; }
.flame-b { animation: flick 0.9s ease-in-out infinite alternate-reverse; }
.flame-c { animation: flick 0.7s ease-in-out infinite alternate; }
@keyframes flick {
  0% { transform: scale(1, 1) skewX(0deg); }
  30% { transform: scale(.94, 1.08) skewX(-3deg); }
  60% { transform: scale(1.04, .94) skewX(2deg); }
  100% { transform: scale(.98, 1.12) skewX(-1deg); }
}
.peel { position: absolute; left: -8%; right: 6%; bottom: 0; height: 40%; pointer-events: none; }
.peel-handle { position: absolute; left: 0; bottom: 21%; width: 58%; transform: rotate(-4deg); transform-origin: right center; }
.hero-pizza {
  position: absolute;
  right: 0; bottom: 0;
  width: 58%;
  height: auto;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .55));
  animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.thermo {
  position: absolute;
  top: 6%; right: -2%;
  display: grid;
  place-items: center;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 0 0 5px var(--night), 0 0 0 7px rgba(244, 163, 64, .7), 0 20px 30px -10px rgba(0, 0, 0, .6);
  transform: rotate(8deg);
  text-align: center;
}
.thermo-label { align-self: end; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.thermo-val { align-self: start; font: 800 24px/1.1 var(--display); font-variation-settings: "SOFT" 100; color: var(--tomato-ink); font-variant-numeric: tabular-nums; }
.chalk { font: 700 24px/1.05 var(--hand); color: var(--ember); }
.chalk-hero { position: absolute; left: -4%; top: 10%; transform: rotate(-9deg); }
.chalk-hero::after {
  content: "";
  display: block;
  width: 54px; height: 36px;
  margin: 6px 0 0 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 36' fill='none' stroke='%23F4A340' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M3 3c14 2 32 10 44 28'/%3E%3Cpath d='M38 27l9 5 1-10'/%3E%3C/svg%3E") no-repeat;
}

/* ---------- Bandeau défilant ---------- */
.ticker {
  position: relative;
  z-index: 2;
  margin: -34px -20px 0;
  padding: 16px 0;
  background: var(--tomato);
  color: #fff;
  transform: rotate(-2deg);
  box-shadow: 0 16px 30px -18px rgba(142, 36, 20, .9);
  overflow: hidden;
}
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker p { flex: none; padding-right: 26px; font: 700 26px/1 var(--display); font-variation-settings: "SOFT" 100; white-space: nowrap; }
.ticker span { display: inline-block; margin: 0 16px; color: #FFD37A; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Sections ---------- */
.section-head { max-width: 640px; }
.order .section-head { max-width: 860px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--tomato-ink); }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.kicker-light { color: var(--ember); }
.section-head h2, .private h2 { margin-top: 14px; font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; letter-spacing: -0.02em; }
.section-head h2 em { color: var(--tomato-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; gap: 10px; margin-top: 36px; }
.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: 600 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; }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 30px 0 0; padding: 0; list-style: none; }
.dish {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .3s ease;
}
.dish:hover { transform: var(--lift); box-shadow: 0 1px 0 rgba(34, 26, 21, .06), 0 28px 50px -24px rgba(34, 26, 21, .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-pizza {
  width: 74%;
  margin: -4px auto 16px;
  filter: drop-shadow(0 12px 12px rgba(34, 26, 21, .28));
  transition: transform .8s var(--ease);
}
.dish:hover .dish-pizza { transform: rotate(40deg) scale(1.04); }
.dish-body { flex: 1; }
.dish h3 { font-size: 28px; font-weight: 700; }
.dish-body p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.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: 700; letter-spacing: .04em; }
.tag-vege { background: #E3ECD9; color: var(--basil); }
.tag-hot { background: #F8DCD2; color: var(--tomato-deep); }
.tag-bzh { background: var(--ink); color: var(--cream); }
.tag-new { background: #FBE2B8; color: #7A4410; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1.5px dashed var(--line); }
.price { font: 800 26px/1 var(--display); font-variation-settings: "SOFT" 100; color: var(--tomato-ink); }
.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(--tomato); transform: rotate(90deg); }
.add.is-added { animation: pop .7s var(--ease); }
@keyframes pop { 0% { transform: scale(1); background: var(--basil); } 40% { transform: scale(1.25); background: var(--basil); } 75% { transform: scale(1); background: var(--basil); } }
.dish-star { box-shadow: 0 0 0 2px var(--ink), var(--shadow); }
.chalk-star { position: absolute; top: -18px; right: 14px; padding: 2px 10px 4px; border-radius: 6px; background: var(--ink); color: var(--ember); font-size: 22px; transform: rotate(3deg); }
.menu-note { margin-top: 32px; max-width: 60em; color: var(--muted); font-size: 15px; }

/* pizza volante (ajout au panier) */
.flyer { position: fixed; z-index: 90; pointer-events: none; }

/* ---------- La tournée ---------- */
.tour {
  padding: 110px 0;
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(244, 163, 64, .12), transparent 70%),
    var(--night);
  color: var(--cream);
}
.tour .kicker { color: var(--ember); }
.tour .section-head h2 em { color: var(--ember); }
.tour .section-lead { color: var(--muted-night); }
.tour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.days { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.day {
  width: 100%;
  display: grid;
  grid-template-columns: 104px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  background: rgba(245, 236, 220, .04);
  box-shadow: inset 0 0 0 1px var(--line-night);
  color: var(--cream);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .25s ease, box-shadow .25s ease, transform .35s var(--ease);
}
.day:hover:not(:disabled) { transform: translateX(6px); background: rgba(245, 236, 220, .08); }
.day-name { font: 700 20px/1 var(--display); font-variation-settings: "SOFT" 100; }
.day-place { color: var(--muted-night); font-size: 15px; }
.day-place small { color: var(--ember); font-size: 13px; }
.day-state { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ember); }
.day.is-sel { background: rgba(244, 163, 64, .12); box-shadow: inset 0 0 0 1.5px var(--ember); }
.day-off { cursor: default; opacity: .55; }

.map { position: relative; margin: 0; }
.map-svg { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); transform: rotate(1.5deg); }
.map-sea { font: 700 20px var(--hand); fill: #4E7E7B; }
.map-river { font: 700 20px var(--hand); fill: #4E7E7B; }
.map-ref circle { fill: #8B7A6B; }
.map-ref text { font: 500 12px var(--body); fill: #6A5A4E; letter-spacing: .04em; }
.route { stroke: var(--tomato); stroke-width: 2.5; stroke-dasharray: 2 8; stroke-linecap: round; animation: march 1.6s linear infinite; }
@keyframes march { to { stroke-dashoffset: -20; } }
.stop circle:first-child { fill: var(--card); stroke: var(--ink); stroke-width: 2; transition: fill .3s ease; }
.stop .stop-core { fill: var(--ink); }
.stop text { font: 600 13.5px var(--body); fill: var(--ink); }
.stop.is-on circle:first-child { fill: var(--ember); }
.truck { transition: transform 1.1s var(--ease); }
.truck-body { animation: bob .9s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translate(-30px, -61.5px); } }
.smoke circle { fill: #CFC3B1; opacity: 0; animation: smoke 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.smoke circle:nth-child(2) { animation-delay: .8s; }
.smoke circle:nth-child(3) { animation-delay: 1.6s; }
@keyframes smoke { 0% { opacity: 0; transform: translateY(6px) scale(.6); } 30% { opacity: .8; } 100% { opacity: 0; transform: translateY(-14px) scale(1.4); } }
.map-note { position: absolute; left: -10px; bottom: 18px; transform: rotate(-6deg); padding: 4px 12px 6px; border-radius: 8px; background: var(--ink); font-size: 24px; }

/* ---------- 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: 26px; font-weight: 700; margin-bottom: 18px; }
.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: 600; }
.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: 700; font-variant-numeric: tabular-nums; }
.cart-empty { padding: 18px 0; color: var(--muted); }
.cart-empty a { color: var(--tomato-ink); font-weight: 600; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--ink); font-weight: 600; }
.cart-total strong { font: 800 32px/1 var(--display); font-variation-settings: "SOFT" 100; color: var(--tomato-ink); font-variant-numeric: tabular-nums; }

.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: 600; color: var(--muted); }
.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(34, 26, 21, .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(--tomato-deep), 0 0 0 4px rgba(192, 57, 31, .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-group { flex-basis: 100%; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--basil); }
.slot-group:first-child { margin-top: 0; }
.slot {
  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: 600 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[aria-pressed="true"] { background: var(--tomato); color: #fff; box-shadow: none; }
.slot:disabled { color: var(--muted); text-decoration: line-through; cursor: not-allowed; opacity: .6; }
.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(--tomato); }
.form-error { min-height: 1.4em; margin-bottom: 10px; color: var(--tomato-ink); font-weight: 600; 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(420px, 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(34, 26, 21, .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;
  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: 800 30px/1 var(--display); font-variation-settings: "SOFT" 100; text-align: center; color: var(--tomato-ink); }
.ticket-no { margin-top: 8px; text-align: center; color: var(--muted); }
.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; font: 800 34px/1.1 var(--display); font-variation-settings: "SOFT" 100; color: var(--tomato-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; }

/* ---------- Privatiser ---------- */
.private {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--tomato-deep), var(--tomato) 55%, #D95A26);
  color: #fff;
}
.private::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: radial-gradient(circle at 1px 1px, #fff 1.2px, transparent 1.3px);
  background-size: 22px 22px;
}
.private-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.private .kicker { color: #FFE0B0; }
.private h2 em { color: #FFE0B0; }
.private .section-lead { color: #FFF1E4; margin-bottom: 30px; }
.private .btn-fire { background: var(--night); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .8); }
.private .btn-fire:hover { background: #000; }
.private :focus-visible { outline-color: #fff; }
.private-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.private-list li { display: grid; grid-template-columns: 128px 1fr; align-items: baseline; gap: 12px; padding: 18px 22px; border-radius: 16px; background: rgba(0, 0, 0, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.private-list strong { font: 800 38px/1 var(--display); font-variation-settings: "SOFT" 100; }
.private-list span { color: #FFF1E4; }

/* ---------- 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: 30px; 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(--ember); font-weight: 600; 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;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 15px;
  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;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .tour-grid, .private-grid { grid-template-columns: 1fr; }
  .oven { width: min(88%, 420px); margin-top: 20px; }
  .order-grid { grid-template-columns: 1fr; }
  .panel-cart { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-credit { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .top-inner { gap: 12px; min-height: 62px; justify-content: space-between; }
  .brand-stamp { width: 40px; height: 40px; }
  .brand-name { font-size: 20px; }
  .demo-long { display: none; }
  .hero { padding: 36px 0 76px; }
  .hero-lead { font-size: 17px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; font-size: 13px; line-height: 1.35; }
  .hero-facts strong { font-size: 24px; margin-bottom: 4px; }
  .thermo { width: 78px; height: 78px; }
  .thermo-val { font-size: 19px; }
  .chalk-hero { font-size: 20px; left: -2%; top: 2%; }
  .ticker p { font-size: 20px; }
  .menu { padding-top: 96px; }
  .menu-grid { grid-template-columns: 1fr; gap: 16px; }
  .dish { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; padding: 18px; }
  .dish-pizza { grid-row: 1 / 3; width: 96px; margin: 0; align-self: start; }
  .dish-foot { grid-column: 2; margin-top: 12px; padding-top: 12px; }
  .dish h3 { font-size: 23px; }
  .dish-body p { font-size: 14.5px; }
  .price { font-size: 22px; }
  .add { width: 42px; height: 42px; }
  .chalk-star { font-size: 19px; top: -16px; }
  .tour, .order, .private { padding: 80px 0; }
  .day { grid-template-columns: 1fr auto; row-gap: 2px; padding: 12px 16px; }
  .day-name { grid-column: 1; }
  .day-place { grid-column: 1 / -1; grid-row: 2; }
  .day-state { grid-column: 2; grid-row: 1; }
  .panel { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .private-list li { grid-template-columns: 96px 1fr; }
  .private-list strong { font-size: 30px; }
  .foot { padding-bottom: 110px; }
  .foot-grid { grid-template-columns: 1fr; }
  .sticky-order:not([hidden]) { display: block; }
  .toast { bottom: 84px; }
  .map-note { font-size: 20px; }
}

/* ---------- Mouvement réduit : l'information reste, le mouvement part ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
  .embers { display: none; }
  .live.is-open .live-dot { box-shadow: 0 0 0 4px rgba(123, 216, 143, .3); }
}
