/* Kiosque del Papa — style trattoria italienne */
:root {
  --verde: #1f6b3a;
  --verde-dark: #134a27;
  --rosso: #c8102e;
  --rosso-dark: #8c0b1f;
  --crema: #fbf4e4;
  --crema-2: #f2e5c8;
  --paper: #f7efde;
  --ink: #2a180e;
  --muted: #6d5646;
  --chalk: #241d19;
  --radius: 18px;
  --display: 'Anton', Impact, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --script: 'Yellowtail', cursive;
  --hand: 'Caveat', cursive;
  --body: 'Nunito', system-ui, sans-serif;
  --flag: linear-gradient(90deg, var(--verde) 0 33.33%, #fff 33.33% 66.66%, var(--rosso) 66.66%);
  --gingham:
    linear-gradient(90deg, rgba(200,16,46,.55) 50%, transparent 50%) 0 0 / 22px 22px,
    linear-gradient(rgba(200,16,46,.55) 50%, transparent 50%) 0 0 / 22px 22px,
    #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 110px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ---------- En-tête avec badge centré ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 72px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: var(--crema);
  box-shadow: 0 6px 20px rgba(42,24,14,.10);
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 5px; background: var(--flag);
}
.topbar-left { display: flex; align-items: center; gap: 14px; }
.nav { display: flex; gap: 28px; }
.nav a[aria-current] { color: var(--rosso); }
.nav a[aria-current]::after { right: 0; }
.nav a, .nav-link {
  text-decoration: none; font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: 17px; color: var(--ink); position: relative; padding: 4px 0;
}
.nav a::after, .nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--rosso);
  transition: right .25s;
}
.nav a:hover::after, .nav-link:hover::after { right: 0; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.nav-right .nav-link { margin-right: 10px; }

.badge {
  position: relative; display: block; width: 240px; height: 72px; text-decoration: none;
  z-index: 2;
}
.badge-circle {
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 112px; height: 112px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #fffaf0 0%, var(--crema-2) 75%);
  border: 4px solid var(--verde);
  box-shadow: 0 0 0 4px var(--crema), 0 0 0 7px var(--rosso), 0 12px 26px rgba(42,24,14,.28);
  transition: width .3s, height .3s, top .3s;
}
.badge-circle img { position: absolute; width: 88%; max-width: none; left: 4%; top: 6%; }
.badge-ribbon {
  position: absolute; left: 50%; top: 104px; transform: translateX(-50%);
  white-space: nowrap;
  background: linear-gradient(180deg, #d81a36, var(--rosso) 60%, #a50d25);
  color: #fff;
  font-family: var(--script); font-size: 27px; line-height: 1;
  padding: 7px 26px 9px;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: top .3s, font-size .3s;
}
.badge-ribbon::before, .badge-ribbon::after {
  content: ""; position: absolute; top: 8px; width: 22px; height: 100%;
  background: var(--rosso-dark); z-index: -1;
}
.badge-ribbon::before { left: -14px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); }
.badge-ribbon::after { right: -14px; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }
.badge-ribbon span { text-shadow: 0 2px 0 rgba(0,0,0,.25); }

.topbar.is-scrolled .badge-circle { width: 64px; height: 64px; top: 4px; }
.topbar.is-scrolled .badge-ribbon { top: 52px; font-size: 19px; padding: 4px 18px 6px; }
.topbar.is-scrolled .badge-ribbon::before, .topbar.is-scrolled .badge-ribbon::after { top: 5px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; border: 0;
  font-weight: 900; text-decoration: none; white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-call { background: var(--verde); color: var(--crema); box-shadow: 0 3px 0 var(--verde-dark); }
.btn-red { background: var(--rosso); color: #fff; box-shadow: 0 4px 0 var(--rosso-dark); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------- Banderole ---------- */
.hero {
  position: relative;
  aspect-ratio: 1920 / 452; /* proportions exactes de la vidéo : rien n'est rogné */
  min-height: 250px;
  overflow: hidden;
  background: #120c09;
  user-select: none;
}
.hero-slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility 0s .9s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 2; }
.slide-scene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
.slide-product {
  position: absolute; inset: 0; width: 100%; height: 100%;
  isolation: isolate;
  overflow: hidden;
  clip-path: inset(0 0 0 54%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 54%, #000 64%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 54%, #000 64%);
}
.slide-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 100% 50%;
}
.slide-pizza .slide-bg {
  transform-origin: right center;
  transform: translateX(6%) scale(1.24);
}
.slide:not(.is-revealed) .slide-logo,
.slide:not(.is-revealed) .ardoise,
.slide:not(.is-revealed) .tag { opacity: 0; }
.slide:not(.is-revealed) .slide-shade { opacity: 0; }
.slide-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.1) 30%, rgba(0,0,0,0) 56%);
  transition: opacity .6s;
}
.slide-info {
  position: absolute; z-index: 2;
  left: 2.5%;
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: row; align-items: center;
  gap: 2.5%;
  width: 56%;
}
.slide-logo { font-size: clamp(22px, 3.2vw, 60px); flex: 0 0 auto; }
.slide-pizza .slide-info { flex-direction: column; align-items: flex-start; gap: 16px; }
.slide-pizza .slide-logo { width: clamp(190px, 26vw, 400px); max-width: 100%; }
.pizza-name-logo { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.slide-row { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 28px); }

@media (min-width: 761px) {
  .slide-pizza .slide-info {
    display: grid;
    grid-template-columns: .9fr .75fr 1.45fr;
    width: 61%; gap: clamp(12px, 1.6vw, 28px);
    align-items: center;
  }
  .slide-pizza .slide-logo { width: 100%; grid-column: 3; grid-row: 1; }
  .slide-pizza .slide-row { display: contents; }
  .slide-pizza .ardoise { width: 100%; min-width: 0; padding: .9vw 1vw; grid-column: 1; grid-row: 1; }
  .slide-pizza .slide-prices { justify-self: center; grid-column: 2; grid-row: 1; }
}

/* Étiquette italienne des produits */
.logo {
  display: inline-flex; flex-direction: column; align-items: center;
  line-height: 1; white-space: nowrap;
  background: var(--crema);
  padding: .22em .55em .3em;
  border-radius: .22em;
  border: .06em solid var(--verde);
  box-shadow: 0 0 0 .06em var(--crema), 0 .12em .3em rgba(0,0,0,.4);
  transform: rotate(-3deg);
}
.logo small {
  font-family: var(--body); font-weight: 900; font-size: .26em;
  letter-spacing: .3em; text-transform: uppercase; color: var(--verde);
  margin-bottom: .2em; padding-left: .3em;
}
.logo b { font-family: var(--serif); font-style: italic; font-weight: 900; font-size: 1em; color: var(--rosso); }
.logo-flag { display: block; width: 70%; height: .1em; margin-top: .2em; background: var(--flag); border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }

/* Ardoise */
.ardoise {
  position: relative;
  background: radial-gradient(120% 90% at 30% 20%, #3a312b 0%, var(--chalk) 60%, #17120f 100%);
  color: #f6f1e7;
  border: 9px solid #6e3d1c;
  border-image: linear-gradient(135deg, #8a5228, #5b2f12 40%, #8a5228 70%, #4c260d) 1;
  padding: .9vw 1.3vw;
  box-shadow: 0 10px 24px rgba(0,0,0,.45), inset 0 0 30px rgba(0,0,0,.6);
  min-width: 11vw;
  transform-origin: 50% 0;
}
.ardoise::before {
  content: ""; position: absolute; left: 50%; top: -26px; width: 70px; height: 18px;
  transform: translateX(-50%);
  border: 6px solid #6e3d1c; border-bottom: 0; border-radius: 40px 40px 0 0;
}
.ardoise ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.ardoise li { font-family: var(--hand); font-size: clamp(14px, 1.4vw, 24px); line-height: 1.15; font-weight: 700; }
.ardoise li:not(:last-child)::after { content: ","; }

/* Étiquettes prix */
.slide-prices { display: flex; flex-direction: column; gap: clamp(6px, .8vw, 14px); }
.tag { display: inline-flex; align-items: center; gap: 10px; }
.tag-val {
  font-family: var(--display);
  font-size: clamp(20px, 2.6vw, 48px); line-height: 1;
  color: #fff;
  background: linear-gradient(180deg, #e3253f 0%, var(--rosso) 55%, #a50d25 100%);
  padding: .14em .3em .1em;
  border: 3px solid var(--crema);
  border-radius: 10px;
  transform: rotate(-3deg);
  box-shadow: 0 6px 0 var(--rosso-dark), 0 10px 18px rgba(0,0,0,.35);
  text-shadow: 0 2px 0 rgba(0,0,0,.35);
  letter-spacing: .5px;
}
.tag-val small { font-size: .8em; }
.tag-val sup { font-size: .42em; vertical-align: .9em; margin-left: 2px; }
.tag-lbl {
  font-family: var(--serif); font-style: italic;
  font-weight: 900; font-size: clamp(11px, 1.15vw, 20px); color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.7);
}

/* Entrées animées */
.slide.is-active.is-revealed .slide-logo { animation: logoIn .9s .05s both cubic-bezier(.34,1.56,.64,1); }
.slide.is-active.is-revealed .ardoise { animation: boardIn 1.1s .35s both; }
.slide.is-active.is-revealed .tag { animation: tagIn .6s both cubic-bezier(.34,1.8,.64,1); animation-delay: calc(.8s + var(--i) * .2s); }
@keyframes logoIn {
  from { opacity: 0; transform: translateX(-80px) rotate(-14deg) scale(.5); }
  to   { opacity: 1; transform: none; }
}
@keyframes boardIn {
  0%   { opacity: 0; transform: translateY(-140%) rotate(-8deg); }
  45%  { opacity: 1; transform: translateY(0) rotate(5deg); }
  65%  { transform: rotate(-3deg); }
  82%  { transform: rotate(1.5deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes tagIn {
  from { opacity: 0; transform: scale(0) rotate(-25deg); }
  to   { opacity: 1; transform: none; }
}

/* Contrôles */
.hero-controls {
  position: absolute; z-index: 5; right: clamp(10px, 2vw, 32px); bottom: 12px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(20,12,8,.5); backdrop-filter: blur(6px);
  padding: 6px 8px; border-radius: 999px;
}
.hero-arrow {
  width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: var(--crema); color: var(--verde); font-size: 22px; line-height: 1; font-weight: 900;
  display: grid; place-items: center; padding-bottom: 3px;
}
.hero-dots { display: flex; gap: 6px; }
.dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); transition: width .3s, background .3s; }
.dot[aria-selected="true"] { width: 26px; border-radius: 6px; background: var(--flag); }
.hero-progress { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0,0,0,.3); }
.hero-progress span { display: block; height: 100%; background: var(--flag); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Bandes défilantes ---------- */
.ticker {
  overflow: hidden; white-space: nowrap;
  position: relative; z-index: 3;
}
.ticker-top { background: var(--verde); }
.ticker-bottom { background: var(--rosso); }
.ticker::before, .ticker::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: rgba(251,244,228,.55); }
.ticker::before { top: 4px; } .ticker::after { bottom: 4px; }
.ticker-track { display: inline-flex; animation: scroll 40s linear infinite; }
.ticker-bottom .ticker-track { animation-duration: 46s; }
.tk-half { display: inline-flex; }
.tk-item {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 13px 26px;
  font-family: var(--serif); font-style: italic; font-weight: 900;
  font-size: clamp(16px, 1.6vw, 22px); letter-spacing: 1.5px;
  color: var(--crema);
}
.tk-star { width: 28px; height: 9px; border-radius: 2px; background: var(--flag); box-shadow: 0 0 0 1.5px var(--crema); }
.tk-logo { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.2em; letter-spacing: 0; color: #fff; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Titres de section ---------- */
.kicker { font-family: var(--script); font-size: 34px; color: var(--rosso); margin: 0 0 4px; line-height: 1; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--verde); margin: 14px 0; font-size: 14px; }
.ornament span { width: 70px; height: 2px; background: currentColor; opacity: .5; }
.ornament span:last-child { background: var(--rosso); }

/* ---------- Carte ---------- */
.menu {
  position: relative;
  padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 80px);
  background:
    radial-gradient(1200px 400px at 50% 0%, rgba(255,255,255,.7), transparent 70%),
    var(--paper);
}
.menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px;
  background: var(--gingham);
  opacity: .9;
}
.menu-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.menu-head h1 {
  margin: 0; font-family: var(--serif); font-weight: 900;
  font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; color: var(--ink);
}
.menu-head .sub { margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.tabs { display: inline-flex; gap: 4px; background: #fff; padding: 5px; border-radius: 999px; box-shadow: 0 4px 16px rgba(42,24,14,.08), inset 0 0 0 1px rgba(42,24,14,.08); }
.tab { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 800; color: var(--muted); transition: background .2s, color .2s; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--verde); color: var(--crema); }

.grid {
  max-width: 1320px; margin: 0 auto;
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(42,24,14,.06), 0 14px 34px rgba(42,24,14,.10);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 1px 0 rgba(42,24,14,.06), 0 22px 44px rgba(42,24,14,.18); }
.card-btn {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  padding: 0; border: 0; background: #222; overflow: hidden;
}
.card-photo, .card-photo video { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-photo video { object-fit: cover; object-position: 100% 50%; transition: transform .6s; }
.card:hover .card-photo video { transform: scale(1.05); }
.card-chip {
  position: absolute; left: 14px; top: 14px;
  background: var(--crema); color: var(--verde);
  font-weight: 900; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 10px 6px 12px; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.card-play {
  position: absolute; right: 14px; bottom: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; padding-left: 3px;
  background: rgba(251,244,228,.92); color: var(--rosso); font-size: 13px;
  opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s;
}
.card:hover .card-play { opacity: 1; transform: none; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 6px; font-family: var(--serif); font-style: italic; font-weight: 900; font-size: 26px; color: var(--ink); }
.card-body p { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.card-prices { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px dashed rgba(42,24,14,.18); display: grid; gap: 6px; }
.card-prices li { display: flex; align-items: baseline; gap: 8px; }
.card-prices span { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 16px; }
.card-prices i { flex: 1; border-bottom: 2px dotted rgba(42,24,14,.3); transform: translateY(-4px); }
.card-prices b { font-family: var(--serif); font-weight: 900; font-size: 20px; color: var(--rosso); }
.menu-note { max-width: max-content; margin: 30px auto 0; text-align: center; font-weight: 700; font-size: 14px; color: var(--muted); }

/* ---------- Le Papa ---------- */
.papa-wrap { background: var(--crema-2); }
.papa {
  display: grid; grid-template-columns: minmax(220px, 380px) 1fr; align-items: center;
  gap: clamp(24px, 5vw, 72px);
  max-width: 1200px; margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px);
}
.papa-img { position: relative; display: grid; place-items: center; }
.papa-img::before {
  content: ""; position: absolute; inset: 8% 0 0;
  border-radius: 50% 50% 18px 18px;
  background: radial-gradient(circle at 50% 30%, #fffaf0, var(--crema-2) 80%);
  border: 4px solid var(--verde);
  box-shadow: 0 0 0 6px var(--crema), 0 0 0 9px var(--rosso), 0 24px 50px rgba(42,24,14,.18);
}
.papa-img img { position: relative; width: 100%; max-height: 520px; object-fit: contain; }
.papa-txt h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; margin: 0 0 16px; }
.papa-txt > p:not(.kicker):not(.signature) { font-size: 17px; line-height: 1.65; color: #4f3d31; margin: 0 0 22px; max-width: 58ch; }
.papa-points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.papa-points li { background: #fff; border-radius: 14px; padding: 14px 14px 12px; box-shadow: 0 6px 18px rgba(42,24,14,.08); border-bottom: 4px solid var(--verde); }
.papa-points li:nth-child(2) { border-bottom-color: #e8dcc2; }
.papa-points li:nth-child(3) { border-bottom-color: var(--rosso); }
.papa-points b { display: block; font-family: var(--serif); font-weight: 900; font-size: 30px; color: var(--verde); }
.papa-points li:nth-child(3) b { color: var(--rosso); }
.papa-points span { font-size: 13px; font-weight: 700; color: var(--muted); }
.signature { font-family: var(--script); font-size: 40px; color: var(--verde); margin: 0; transform: rotate(-4deg); display: inline-block; }

/* ---------- Infos ---------- */
.infos {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  max-width: 1320px; margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px);
}
.info-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 14px 34px rgba(42,24,14,.08); }
.info-card h2 { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-weight: 900; font-size: 28px; }
.info-card p { margin: 0 0 10px; line-height: 1.55; color: #4f3d31; }
.info-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ardoise-card {
  background: radial-gradient(120% 90% at 30% 20%, #3a312b 0%, var(--chalk) 60%, #17120f 100%);
  color: #f6f1e7;
  border: 10px solid #6e3d1c;
}
.ardoise-card h2 { color: var(--crema); font-family: var(--script); font-style: normal; font-weight: 400; font-size: 40px; }
.hours { list-style: none; margin: 0; padding: 0; font-family: var(--hand); font-size: 21px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,.2); font-weight: 700; }
.hours li:last-child { border-bottom: 0; }
.hours li span:last-child { text-align: right; }
.address { font-size: 20px; font-weight: 900; color: var(--ink) !important; }
.pay { font-size: 14px; font-weight: 800; color: var(--verde) !important; }

.footer {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 26px clamp(16px, 4vw, 48px);
  background: var(--verde-dark); color: rgba(251,244,228,.7); font-size: 13px;
}
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--flag); }
.footer p { margin: 0; }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--crema); }
.foot-brand .badge-circle { position: relative; left: auto; top: auto; transform: none; width: 50px; height: 50px; border-width: 3px; box-shadow: 0 0 0 2px var(--crema); }
.foot-brand b { font-family: var(--serif); font-weight: 900; font-size: 20px; }
.foot-brand i { font-family: var(--script); font-style: normal; font-size: 22px; color: #ff8a9a; }


/* ---------- Boutons communs ---------- */
.btn-green { background: var(--verde); color: var(--crema); box-shadow: 0 4px 0 var(--verde-dark); }
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn-block { display: flex; justify-content: center; width: 100%; }
.btn:focus-visible, .add-btn:focus-visible, .tab:focus-visible, .catnav-pills a:focus-visible { outline: 3px solid #f3b33d; outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kicker.light { color: #ffd36b; }

.nav-toggle {
  display: none; place-items: center;
  width: 42px; height: 42px; border: 0; border-radius: 12px; background: transparent; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }

.cart-btn {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--rosso); color: #fff; box-shadow: 0 3px 0 var(--rosso-dark);
}
.cart-btn svg { width: 21px; height: 21px; fill: currentColor; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 999px; background: var(--verde); color: #fff; border: 2px solid var(--crema);
  font-size: 11.5px; font-weight: 900; line-height: 17px; text-align: center;
}
.cart-btn.bump { animation: bump .45s; }
@keyframes bump { 30% { transform: scale(1.22); } 60% { transform: scale(.94); } }

/* Boutons d'ajout au panier (taille / prix / +) */
.add-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.add-btn {
  flex: 1 1 100%; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 6px 6px 6px 14px; border-radius: 12px;
  border: 1.5px solid rgba(42,24,14,.14); background: var(--crema);
  color: var(--ink); text-align: left; transition: border-color .15s, background .15s, transform .15s;
}
.add-btn span { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 15px; }
.add-btn b { margin-left: auto; font-family: var(--serif); font-weight: 900; font-size: 17px; color: var(--rosso); }
.add-btn i {
  font-style: normal; width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center; background: var(--verde); color: #fff; font-weight: 900; font-size: 19px;
}
.add-btn:hover { border-color: var(--verde); background: #fff; }
.add-btn:active { transform: scale(.97); }
.card-body .add-row { border-top: 1px dashed rgba(42,24,14,.18); padding-top: 14px; }

/* ---------- Bandeau de commande (accueil) ---------- */
.order-strip {
  position: relative; z-index: 4;
  max-width: 1200px; margin: -1px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: 10px 22px;
  padding: 22px clamp(18px, 3vw, 34px);
  background: #fff; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 18px 40px rgba(42,24,14,.12);
}
.os-item { display: flex; align-items: center; gap: 12px; }
.os-item p { margin: 0; display: flex; flex-direction: column; line-height: 1.25; }
.os-item b { font-family: var(--serif); font-weight: 900; font-size: 17px; }
.os-item span:not(.os-ico):not(.os-dot) { font-size: 13.5px; color: var(--muted); font-weight: 700; }
.os-ico { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--crema-2); font-size: 21px; }
.os-dot { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--crema-2); position: relative; }
.os-dot::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #bbb; }
.os-item:has(.is-open) .os-dot::after { background: #2fae5b; box-shadow: 0 0 0 0 rgba(47,174,91,.6); animation: pulse 1.8s infinite; }
[data-open-state].is-open { color: var(--verde); }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(47,174,91,0); } }

.menu-cta { max-width: 760px; margin: 38px auto 0; text-align: center; }
.menu-cta p { color: var(--muted); font-weight: 700; margin: 0 0 16px; }

/* ---------- Menus ---------- */
.menus-home {
  position: relative;
  padding: clamp(52px, 7vw, 96px) clamp(16px, 4vw, 48px);
  background: linear-gradient(rgba(19,74,39,.9), rgba(19,74,39,.94)), url("../img/wood.jpg") center / 320px;
  color: var(--crema);
}
.menus-home h2 { margin: 0 0 8px; font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 4vw, 50px); color: #fff; }
.menus-home .sub { color: rgba(251,244,228,.8); }
.menu-cards {
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.menu-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--crema); color: var(--ink);
  border-radius: var(--radius); padding: 30px 22px 22px;
  box-shadow: 0 18px 36px rgba(0,0,0,.22);
  border-top: 6px solid transparent; border-image: var(--flag) 1;
}
.mc-badge {
  position: absolute; top: -14px; right: 18px;
  background: var(--rosso); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.mc-it { margin: 0; font-family: var(--script); font-size: 26px; color: var(--verde); line-height: 1; }
.menu-card h3 { margin: 2px 0 8px; font-family: var(--serif); font-weight: 900; font-size: 27px; }
.mc-desc { margin: 0 0 16px; color: var(--muted); font-size: 15px; line-height: 1.5; flex: 1; }
.mc-price { margin: 0 0 14px; font-family: var(--display); font-size: 38px; color: var(--rosso); line-height: 1; }

/* ---------- Étapes ---------- */
.steps { padding: clamp(52px, 7vw, 90px) clamp(16px, 4vw, 48px); }
.steps h2 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 4vw, 48px); }
.steps-list { list-style: none; padding: 0; margin: 0 auto; max-width: 1100px; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); counter-reset: s; }
.steps-list li { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 12px 30px rgba(42,24,14,.08); }
.steps-list span {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--verde); color: #fff; font-family: var(--display); font-size: 24px; margin-bottom: 12px;
}
.steps-list li:nth-child(2) span { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--crema-2); }
.steps-list li:nth-child(3) span { background: var(--rosso); }
.steps-list b { font-family: var(--serif); font-style: italic; font-size: 24px; }
.steps-list p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }

.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-nav a { color: var(--crema); text-decoration: none; font-weight: 800; }
.foot-nav a:hover { text-decoration: underline; }

/* Boutons flottants mobiles */
.fab {
  display: none; position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 14px;
  align-items: center; justify-content: center; gap: 8px;
  border: 0; background: var(--rosso); color: #fff; text-decoration: none; font-weight: 900; font-size: 16px;
  padding: 15px 20px; border-radius: 999px;
  box-shadow: 0 4px 0 var(--rosso-dark), 0 10px 24px rgba(0,0,0,.3);
  transition: opacity .3s, transform .3s;
}
.fab svg { width: 19px; height: 19px; fill: currentColor; }

/* ---------- Calques : tiroir, fenêtres, menu mobile ---------- */
.layer { position: fixed; inset: 0; z-index: 100; }
.layer[hidden] { display: none; }
.layer-bg { position: absolute; inset: 0; background: rgba(20,12,8,.55); opacity: 0; transition: opacity .28s; }
.layer.is-open .layer-bg { opacity: 1; }
body.no-scroll { overflow: hidden; }
.modal-x {
  width: 40px; height: 40px; border-radius: 50%; border: 0; flex: none;
  background: var(--crema-2); color: var(--ink); font-size: 26px; line-height: 1; padding-bottom: 3px;
}
.modal-x:hover { background: #e9d7b3; }

.drawer-box {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: var(--paper); box-shadow: -20px 0 50px rgba(0,0,0,.25);
  transform: translateX(100%); transition: transform .28s cubic-bezier(.3,.8,.3,1);
}
.layer.is-open .drawer-box { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 5px solid transparent; border-image: var(--flag) 1; background: var(--crema); }
.drawer-head h2 { margin: 0; font-family: var(--script); font-weight: 400; font-size: 36px; color: var(--rosso); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; }

.cart-empty { margin: auto; text-align: center; color: var(--muted); padding: 30px 0; }
.cart-empty img { margin: 0 auto 10px; opacity: .85; width: 120px; height: auto; }
.cart-empty b { color: var(--ink); font-family: var(--serif); font-size: 19px; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 13px 0; border-bottom: 1px dashed rgba(42,24,14,.16); }
.cl-main b { font-family: var(--serif); font-size: 17px; }
.cl-var { font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--verde); font-size: 15px; }
.cl-main small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 3px; }
.cl-price { grid-column: 2; grid-row: 1; font-family: var(--serif); font-weight: 900; font-size: 17px; color: var(--rosso); white-space: nowrap; }
.cl-qty { grid-column: 1; display: inline-flex; align-items: center; gap: 4px; background: #fff; border-radius: 999px; padding: 3px; width: max-content; box-shadow: inset 0 0 0 1px rgba(42,24,14,.12); }
.cl-qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--crema-2); font-weight: 900; font-size: 16px; color: var(--ink); line-height: 1; }
.cl-qty button:hover { background: #e9d7b3; }
.cl-qty span { min-width: 22px; text-align: center; font-weight: 900; }

.cart-sugg { margin: 16px 0 4px; }
.cart-sugg p { margin: 0 0 8px; font-family: var(--script); font-size: 24px; color: var(--verde); }
.sugg {
  display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 6px;
  padding: 8px 12px; border-radius: 12px; border: 1.5px dashed rgba(31,107,58,.4); background: transparent; text-align: left;
}
.sugg svg { width: 22px; height: 22px; color: var(--verde); flex: none; }
.sugg span { font-weight: 800; }
.sugg b { margin-left: auto; color: var(--verde); font-size: 14px; }
.sugg:hover { background: #fff; border-style: solid; }

.cart-foot { margin-top: auto; padding-top: 16px; }
.cart-free { position: relative; margin: 0 0 14px; font-size: 13.5px; font-weight: 700; color: var(--muted); padding-bottom: 10px; }
.cart-free.ok { color: var(--verde); }
.cart-free span { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; border-radius: 3px; background: var(--crema-2); overflow: hidden; }
.cart-free span::after { content: ""; position: absolute; inset: 0; background: var(--verde); transform-origin: 0 50%; transform: scaleX(var(--p)); transition: transform .4s; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; }
.cart-total span { font-weight: 800; }
.cart-total b { font-family: var(--serif); font-weight: 900; font-size: 26px; }
.cart-pay { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }

.modal { display: grid; place-items: center; padding: 16px; overflow-y: auto; overflow-x: hidden; }
.modal-box {
  position: relative; width: min(480px, 100%); margin: auto;
  background: var(--paper); border-radius: 22px; padding: 30px 28px 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  border-top: 6px solid transparent; border-image: var(--flag) 1;
  transform: translateY(24px) scale(.97); opacity: 0; transition: transform .28s, opacity .28s;
}
.modal-wide { width: min(640px, 100%); }
.layer.is-open .modal-box { transform: none; opacity: 1; }
.modal-box > .modal-x { position: absolute; top: 14px; right: 14px; }
.modal-box h2 { margin: 0 0 6px; font-family: var(--serif); font-weight: 900; font-size: 30px; line-height: 1.1; padding-right: 40px; }
.modal-sub { margin: 0 0 18px; color: var(--muted); }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-weight: 800; font-size: 14px; }
.field i { font-style: normal; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(42,24,14,.18); background: #fff; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(31,107,58,.18); }
.field .invalid, .field input.invalid { border-color: var(--rosso); box-shadow: 0 0 0 3px rgba(200,16,46,.15); }
.composer-fixed { margin: 0 0 16px; font-weight: 700; color: var(--verde); }

.mode-switch { border: 0; padding: 0; margin: 14px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode-switch label, .pay-choice label { cursor: pointer; }
.mode-switch input, .pay-choice input { position: absolute; opacity: 0; }
.mode-switch label > span {
  display: flex; flex-direction: column; padding: 14px 16px; border-radius: 14px;
  border: 2px solid rgba(42,24,14,.14); background: #fff; transition: border-color .15s, background .15s;
}
.mode-switch b { font-family: var(--serif); font-size: 18px; }
.mode-switch small { color: var(--muted); font-weight: 700; font-size: 13px; }
.mode-switch input:checked + span { border-color: var(--verde); background: #eef6f0; box-shadow: inset 0 0 0 1px var(--verde); }
.mode-switch input:focus-visible + span, .pay-choice input:focus-visible + span { outline: 3px solid #f3b33d; outline-offset: 2px; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.co-grid .field:first-child:nth-last-child(4), .co-grid .field:nth-child(4):last-child { grid-column: 1 / -1; }
.co-grid[hidden] { display: none; }
.span2 { grid-column: 1 / -1; }
.pay-choice { border: 0; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-choice legend { font-weight: 800; font-size: 14px; margin-bottom: 8px; padding: 0; }
.pay-when { color: var(--verde); }
.pay-choice label > span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid rgba(42,24,14,.18); background: #fff; font-weight: 800; font-size: 14px; }
.pay-choice label > input:checked + span { background: var(--verde); border-color: var(--verde); color: #fff; }
.pay-choice .disabled { opacity: .5; cursor: not-allowed; }
.pay-choice small { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.co-summary { background: #fff; border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.co-summary p { display: flex; justify-content: space-between; margin: 0 0 6px; }
.co-summary p[hidden] { display: none; }
.co-total { margin: 8px 0 0 !important; padding-top: 8px; border-top: 1px dashed rgba(42,24,14,.2); font-weight: 900; }
.co-total b { font-family: var(--serif); font-size: 24px; color: var(--rosso); }
.co-error { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #fde8eb; color: var(--rosso-dark); font-weight: 800; font-size: 14px; }
.co-legal { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

.confirm { text-align: center; }
.confirm img { margin: 0 auto 6px; width: 130px; height: auto; }
.confirm h2 { padding: 0 !important; }
.confirm-when { font-weight: 700; color: var(--ink); }
.confirm-lines { list-style: none; padding: 14px 16px; margin: 16px 0; background: #fff; border-radius: 14px; text-align: left; }
.confirm-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.confirm-lines .ct { border-top: 1px dashed rgba(42,24,14,.2); margin-top: 6px; padding-top: 10px; font-weight: 900; }
.confirm-help { font-size: 14px; color: var(--muted); }
.confirm-help a { color: var(--verde); font-weight: 900; }
.demo-note { font-size: 12.5px; background: #fff6d6; border-radius: 10px; padding: 8px 12px; color: #7a5a00; font-weight: 700; }

.mnav-box {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(330px, 88%);
  display: flex; flex-direction: column; gap: 4px; padding: 20px; overflow-y: auto;
  background: var(--crema); box-shadow: 20px 0 50px rgba(0,0,0,.25);
  transform: translateX(-100%); transition: transform .28s cubic-bezier(.3,.8,.3,1);
}
.layer.is-open .mnav-box { transform: none; }
.mnav-box > .modal-x { align-self: flex-end; }
.mnav-box > a:not(.btn):not(.mnav-brand) {
  text-decoration: none; padding: 13px 4px; border-bottom: 1px dashed rgba(42,24,14,.16);
  font-family: var(--serif); font-style: italic; font-weight: 900; font-size: 22px;
}
.mnav-box .btn { margin-top: 10px; }
.mnav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 10px; }
.mnav-brand img { width: 62px; height: 62px; border-radius: 50%; background: #fff; border: 3px solid var(--verde); object-fit: contain; padding: 4px 4px 0; }
.mnav-brand span { font-family: var(--serif); font-weight: 900; font-size: 22px; }
.mnav-brand i { font-family: var(--script); font-style: normal; font-weight: 400; color: var(--rosso); }
.mnav-open { margin: 14px 0 0; text-align: center; font-weight: 800; color: var(--muted); }

.toast {
  position: fixed; z-index: 120; left: 50%; bottom: 22px;
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
  padding: 10px 10px 10px 14px; border-radius: 16px;
  background: var(--ink); color: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.3);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .3s, opacity .3s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast-check { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--verde); font-weight: 900; flex: none; }
.toast span:nth-child(2) { font-weight: 700; font-size: 14px; }
.toast button { border: 0; border-radius: 10px; padding: 8px 12px; background: var(--crema); color: var(--ink); font-weight: 900; white-space: nowrap; }

/* ---------- Page carte ---------- */
.carte-hero {
  position: relative; text-align: center; color: #fff;
  padding: clamp(70px, 8vw, 110px) 16px clamp(34px, 5vw, 56px);
  background: linear-gradient(rgba(20,12,8,.78), rgba(20,12,8,.86)), url("../img/wood.jpg") center / 320px;
}
.carte-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: var(--gingham); opacity: .9; }
.carte-hero h1 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: clamp(38px, 6vw, 72px); line-height: 1; }
.carte-hero-sub { max-width: 560px; margin: 14px auto 20px; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.5; }
.chips { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-weight: 800; font-size: 14px; }
.chip-state.is-open { background: rgba(47,174,91,.25); border-color: rgba(47,174,91,.6); color: #b9f5cb; }

.catnav-wrap { position: sticky; top: 72px; z-index: 40; background: rgba(247,239,222,.94); backdrop-filter: blur(8px); box-shadow: 0 8px 18px rgba(42,24,14,.07); }
.catnav { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 18px clamp(16px, 4vw, 48px) 12px; }
.catnav-pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px; }
.catnav-pills::-webkit-scrollbar { display: none; }
.catnav-pills a {
  flex: none; text-decoration: none; padding: 9px 16px; border-radius: 999px;
  font-weight: 800; font-size: 14.5px; color: var(--muted); background: #fff;
  box-shadow: inset 0 0 0 1px rgba(42,24,14,.1); transition: background .2s, color .2s;
}
.catnav-pills a:hover { color: var(--ink); }
.catnav-pills a.is-active { background: var(--verde); color: var(--crema); box-shadow: none; }
.search { position: relative; flex: 0 0 300px; }
.search svg { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: var(--muted); }
.search input { width: 100%; font: inherit; font-size: 15px; padding: 10px 14px 10px 40px; border-radius: 999px; border: 1.5px solid rgba(42,24,14,.14); background: #fff; color: var(--ink); }
.search input:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(31,107,58,.15); }

.carte-layout {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: start;
  padding: 26px clamp(16px, 4vw, 48px) 70px;
}
.carte-side { position: sticky; top: 158px; }
.side-box { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: 0 14px 34px rgba(42,24,14,.10); max-height: calc(100vh - 180px); overflow-y: auto; display: flex; flex-direction: column; border-top: 6px solid transparent; border-image: var(--flag) 1; }
.side-box h2 { margin: 0 0 4px; font-family: var(--script); font-weight: 400; font-size: 34px; color: var(--rosso); }
.side-box .cart-empty { padding: 20px 0; }
.side-box .cart-empty img { width: 90px; }
.side-box .cl-qty { background: var(--paper); }

.cat { scroll-margin-top: 170px; margin-bottom: 44px; }
.cat[hidden] { display: none; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cat-ico { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--verde); color: var(--crema); box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--rosso); }
.cat-ico svg { width: 28px; height: 28px; }
.cat-it { margin: 0; font-family: var(--script); font-size: 24px; color: var(--rosso); line-height: 1; }
.cat-head h2 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.cat-note { margin: 3px 0 0; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.menu-cards.compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 16px; margin-top: 26px; }
.menu-cards.compact .menu-card { box-shadow: 0 10px 26px rgba(42,24,14,.10); background: #fff; }

.dishes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.dish {
  display: grid; grid-template-columns: 112px 1fr; gap: 16px;
  background: #fff; border-radius: var(--radius); padding: 14px;
  box-shadow: 0 1px 0 rgba(42,24,14,.05), 0 8px 22px rgba(42,24,14,.07);
  transition: box-shadow .2s;
}
.dish[hidden] { display: none; }
.dish:hover { box-shadow: 0 1px 0 rgba(42,24,14,.05), 0 14px 30px rgba(42,24,14,.13); }
.dish-thumb {
  position: relative; width: 112px; height: 112px; border-radius: 14px; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #fffaf0, var(--crema-2) 85%);
  color: var(--verde);
}
.dish-thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--flag); }
.dish-thumb svg { width: 50px; height: 50px; opacity: .85; }
.dish-thumb.has-img { background: #141210; }
.dish-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 97% 50%; transform: scale(1.12); }
.dish-info { display: flex; flex-direction: column; min-width: 0; }
.dish-info h3 { margin: 0 0 4px; font-family: var(--serif); font-style: italic; font-weight: 900; font-size: 21px; line-height: 1.2; }
.dish-info p { margin: 0 0 12px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.dtag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 8px; border-radius: 999px; font-family: var(--body); font-style: normal; font-weight: 900; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.tag-spe { background: var(--rosso); color: #fff; }
.tag-hot { background: #ffe3d6; color: #b33a00; }
.tag-veg { background: #e1f3e6; color: var(--verde-dark); }
.tag-new { background: #fff1c2; color: #7a5a00; }
.dish .add-btn { min-height: 40px; }
.dish .add-row { gap: 6px; }
.dish .add-btn span { font-size: 14px; }
.dish .add-btn b { font-size: 16px; }
.dish .add-btn i { width: 28px; height: 28px; }

.no-result { text-align: center; padding: 50px 0; color: var(--muted); font-weight: 700; }
.link-btn { border: 0; background: none; color: var(--verde); font-weight: 900; text-decoration: underline; padding: 0; }

.cart-bar {
  display: none; position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 14px;
  align-items: center; gap: 12px; border: 0; border-radius: 999px;
  padding: 12px 20px 12px 12px; background: var(--rosso); color: #fff; font-weight: 900; font-size: 16px;
  box-shadow: 0 4px 0 var(--rosso-dark), 0 12px 26px rgba(0,0,0,.3);
}
.cb-count { min-width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); }
.cart-bar b { margin-left: auto; font-family: var(--serif); font-size: 18px; }

@media (max-width: 1100px) {
  .carte-layout { grid-template-columns: minmax(0, 1fr); }
  .carte-side { display: none; }
  body.has-cart .cart-bar { display: flex; }
  body.has-cart[data-page="commander"] .footer { padding-bottom: 96px; }
  .order-strip { grid-template-columns: repeat(3, 1fr); }
  .order-strip .btn { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 860px) {
  .catnav { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 12px; }
  .search { flex: none; order: -1; }
  .steps-list { grid-template-columns: 1fr; }
}


/* ---------- Traduction française à côté de l italien ---------- */
.tr {
  display: inline-block; margin-left: .4em; vertical-align: middle;
  font-family: var(--body); font-style: italic; font-weight: 600; font-size: max(10.5px, .3em);
  letter-spacing: 0; text-transform: none; line-height: 1.2; white-space: nowrap;
  color: #000; opacity: 1;
}
.tr::before { content: "("; }
.tr::after { content: ")"; }
/* Sur fond sombre, le noir serait illisible */
.menus-home .tr, .carte-hero .tr, .ardoise-card .tr, .gz-breaking-label .tr, .gz-supp .tr { color: #fff; }
.menus-home .menu-card .tr { color: #000; }
.tr-inline { font-size: .75em; margin-left: .1em; vertical-align: baseline; }
.tk-tr { font-family: var(--body); font-style: italic; font-weight: 600; font-size: .55em; letter-spacing: 0; text-transform: none; color: #000; }
.tk-tr::before { content: "("; }
.tk-tr::after { content: ")"; }
.signature .tr { transform: rotate(4deg); }

/* ---------- Page Commander : cartes produit verticales, 3 par ligne ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pcard {
  display: flex; flex-direction: column; min-width: 0;
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(42,24,14,.05), 0 12px 30px rgba(42,24,14,.10);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.pcard[hidden] { display: none; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(42,24,14,.05), 0 22px 44px rgba(42,24,14,.18); }
.pcard-img {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  display: grid; place-items: center; background: #151311; color: var(--crema);
}
.pcard-img::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.45)); pointer-events: none; }
.pcard-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.pcard:hover .pcard-img img { transform: scale(1.07); }
/* Anciennes images larges : on cadre le produit, placé à droite de l'image */
.pcard-img.wide img { inset: auto; right: -2%; top: 50%; width: 283%; height: auto; max-width: none; object-fit: initial; transform: translateY(-50%); transform-origin: 85% 50%; }
.pcard:hover .pcard-img.wide img { transform: translateY(-50%) scale(1.06); }
.pcard-img > svg { width: 40%; height: 40%; opacity: .7; }
.pcard-img.brand-photo {
  background: radial-gradient(ellipse at center, #735137, #211911 75%);
}
.pcard-img.brand-photo img {
  object-fit: contain;
  object-position: center;
  padding: 18px;
}
.mc-ph img[src*="img/brands/"]:not(.wide),
.cat-ico.photo img[src*="img/brands/"]:not(.wide),
.ctile-img img[src*="img/brands/"]:not(.wide) {
  object-fit: contain;
  object-position: center;
  padding: 5px;
  background: radial-gradient(ellipse at center, #735137, #211911 75%);
}
.pcard-tags { position: absolute; z-index: 2; top: 12px; left: 12px; right: 70px; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-tags .dtag { margin: 0; box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.pcard-stamp {
  position: absolute; z-index: 2; top: 12px; right: 12px;
  padding: 5px 9px 4px; background: var(--crema); color: var(--rosso);
  font-family: var(--display); font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  transform: rotate(6deg); box-shadow: 0 4px 10px rgba(0,0,0,.3);
}
.pcard-from {
  position: absolute; z-index: 2; left: 12px; bottom: 12px;
  padding: 4px 10px 3px; border-radius: 10px; border: 2px solid var(--crema);
  background: linear-gradient(180deg, #e3253f, var(--rosso) 60%, #a50d25); color: #fff;
  font-family: var(--display); font-size: 21px; letter-spacing: .02em;
  transform: rotate(-3deg); box-shadow: 0 4px 0 var(--rosso-dark), 0 8px 16px rgba(0,0,0,.35);
}
.pcard-body { flex: 1; display: flex; flex-direction: column; padding: 16px 18px 18px; }
.pcard-body h3 { margin: 0 0 6px; font-family: var(--serif); font-style: italic; font-weight: 900; font-size: 23px; line-height: 1.15; }
.pcard-body p {
  margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard .add-row { gap: 6px; }
.pcard .add-btn { min-height: 42px; }
@media (max-width: 760px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard { border-radius: 16px; }
  .pcard-body { padding: 12px; }
  .pcard-body h3 { font-size: 18px; }
  .pcard-body p { font-size: 12.5px; -webkit-line-clamp: 2; margin-bottom: 10px; }
  .pcard-from { font-size: 16px; left: 8px; bottom: 8px; }
  .pcard-tags { top: 8px; left: 8px; right: 8px; }
  .pcard-tags .dtag { font-size: 9px; padding: 2px 6px; }
  .pcard-stamp { display: none; }
  .pcard .add-btn { min-height: 38px; padding: 4px 4px 4px 9px; gap: 4px; }
  .pcard .add-btn span { font-size: 12.5px; }
  .pcard .add-btn b { font-size: 13.5px; }
  .pcard .add-btn i { width: 24px; height: 24px; font-size: 16px; }
}

/* ---------- Photos communes ---------- */
/* Image large de la banderole recadrée sur le produit (placé à droite) */
img.wide { position: absolute; right: -2%; top: 50%; width: 283%; height: auto; max-width: none; object-fit: initial; transform: translateY(-50%); }
.ph-emoji { display: grid; place-items: center; width: 100%; height: 100%; font-size: 44px; background: radial-gradient(circle at 50% 35%, #fffaf0, var(--crema-2) 85%); }

/* Montage photo en tête des cartes menus */
.menu-card .mc-badge { z-index: 3; }
.mc-photos {
  position: relative; display: flex; justify-content: center; align-items: center;
  margin: -30px -22px 18px; padding: 26px 12px 22px; min-height: 150px;
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
  background: radial-gradient(120% 100% at 50% 0%, #3a2a20, #151311 75%);
}
.mc-ph {
  position: relative; flex: none; width: min(112px, calc(122% / var(--n))); aspect-ratio: 1; margin-left: -12%;
  border-radius: 50%; overflow: hidden; background: #151311;
  border: 3px solid var(--crema); box-shadow: 0 8px 18px rgba(0,0,0,.45);
  transform: rotate(calc((var(--i) - 1) * 7deg)); z-index: calc(10 - var(--i));
  transition: transform .45s cubic-bezier(.3,1.4,.5,1);
}
.mc-ph:first-child { margin-left: 0; }
.mc-ph img:not(.wide) { width: 100%; height: 100%; object-fit: cover; }
.mc-ph .ph-emoji { font-size: 30px; }
.menu-card:hover .mc-ph { transform: translateY(-6px) rotate(calc((var(--i) - 1) * -5deg)) scale(1.05); }

/* Visuel fourni pour un menu (remplace le montage) */
.mc-photos.has-cover { padding: 0; min-height: 0; aspect-ratio: 1; overflow: hidden; }
.mc-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.menu-card:hover .mc-cover { transform: scale(1.05); }
.mc-logo { position: absolute; left: 50%; bottom: 8px; width: 62%; max-height: 45%; object-fit: contain; transform: translateX(-50%); filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }

/* Photo ronde dans les titres de rubrique */
.cat-ico.photo { position: relative; overflow: hidden; background: #151311; }
.cat-ico.photo img:not(.wide) { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Composer un menu : vignettes photo ---------- */
#composer .modal-box { width: min(720px, 100%); }
.cslot { border: 0; margin: 0; padding: 14px 0 6px; border-bottom: 1px dashed rgba(42,24,14,.18); min-width: 0; }
.cslot legend { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0; margin-bottom: 10px; }
.cslot-n { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--crema); font-weight: 900; font-size: 14px; transition: background .2s; }
.cslot legend b { font-family: var(--serif); font-size: 19px; }
.cslot-pick { margin-left: auto; font-size: 14px; color: var(--muted); font-weight: 700; text-align: right; }
.cslot.is-done .cslot-n { background: var(--verde); }
.cslot.is-done .cslot-pick { color: var(--verde); font-style: normal; font-weight: 900; }
.cslot.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

.ctiles { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 12px; scrollbar-width: thin; }
.ctile { flex: 0 0 112px; scroll-snap-align: start; cursor: pointer; text-align: center; }
.ctile input { position: absolute; opacity: 0; pointer-events: none; }
.ctile-img {
  position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden;
  background: #151311; border: 3px solid transparent;
  box-shadow: 0 6px 14px rgba(42,24,14,.15);
  transition: border-color .2s, transform .25s cubic-bezier(.3,1.5,.5,1), box-shadow .2s;
}
.ctile-img img:not(.wide) { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ctile:hover .ctile-img { transform: translateY(-3px); }
.ctile:hover .ctile-img img:not(.wide) { transform: scale(1.06); }
.ctile-check {
  position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--verde); color: #fff; font-weight: 900; font-size: 14px;
  transform: scale(0); transition: transform .3s cubic-bezier(.3,1.8,.5,1);
}
.ctile-name { display: block; margin-top: 7px; font-weight: 800; font-size: 13px; line-height: 1.25; }
.ctile input:checked + .ctile-img { border-color: var(--verde); transform: scale(1.04); box-shadow: 0 0 0 3px rgba(31,107,58,.25), 0 10px 20px rgba(42,24,14,.2); }
.ctile input:checked + .ctile-img .ctile-check { transform: scale(1); }
.ctile input:checked ~ .ctile-name { color: var(--verde); }
.ctile input:focus-visible + .ctile-img { outline: 3px solid #f3b33d; outline-offset: 2px; }

.cfixed { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 0 4px; }
.cfixed p { margin: 0; width: 100%; font-weight: 800; font-size: 14px; color: var(--verde); }
.cfixed-item { display: inline-flex; align-items: center; gap: 10px; }
.cfixed-item img, .cfixed-item .ph-emoji { position: relative; width: 54px; height: 54px; border-radius: 14px; object-fit: cover; background: #fff; font-size: 26px; }
.cfixed-item img[src$=".png"] { object-fit: contain; padding: 4px; border: 2px solid var(--crema-2); }
.cfixed-item b { font-family: var(--serif); font-size: 16px; }

.composer-form .co-error { margin-top: 12px; }
.composer-foot {
  position: sticky; bottom: -26px; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  margin: 10px -28px -26px; padding: 14px 28px 22px;
  background: linear-gradient(rgba(247,239,222,.85), var(--paper) 30%);
  border-top: 1px solid rgba(42,24,14,.1);
}
.composer-count { font-weight: 800; color: var(--muted); }
@media (max-width: 760px) {
  .ctile { flex-basis: 94px; }
  .ctile-name { font-size: 12px; }
  .composer-foot { bottom: -22px; margin: 10px -18px -22px; padding: 12px 18px 18px; }
  .composer-foot .btn { flex: 1; justify-content: center; }
  .cslot legend b { font-size: 17px; }
}

/* ---------- Bandeau « site de démonstration » ---------- */
.demo-bar {
  position: relative; z-index: 55;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px;
  padding: 7px 16px; background: repeating-linear-gradient(45deg, #ffd84d 0 14px, #ffcd1f 14px 28px);
  color: #2a1d00; font-size: 13px; line-height: 1.35; text-align: center;
}
.demo-bar b { text-transform: uppercase; letter-spacing: .06em; font-weight: 900; }
.demo-bar a { color: inherit; font-weight: 900; }
@media (max-width: 720px) { .demo-bar { gap: 2px 10px; padding: 6px 12px; font-size: 12px; } }
.test-badge {
  display: inline-block; vertical-align: middle; margin-left: 4px; padding: 2px 7px; border-radius: 6px;
  background: #ffd84d; color: #2a1d00; font-family: var(--body); font-style: normal; font-weight: 900;
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
}
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; width: 100%; order: 3; }
.foot-legal a { color: rgba(251,244,228,.75); font-size: 12.5px; }

/* ---------- Paiement en ligne ---------- */
.pay-title { margin: 6px 0 0; font-weight: 800; font-size: 14px; }
.pay-switch { margin: 8px 0 14px; }
.card-pay { margin-bottom: 16px; padding: 18px; background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(42,24,14,.1); }
.card-pay[hidden], .later-only[hidden] { display: none; }
.card-visual {
  position: relative; width: min(320px, 100%); aspect-ratio: 1.586; margin: 0 auto 16px; padding: 18px 20px;
  border-radius: 16px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--verde) 0%, #134a27 45%, #3d0a14 75%, var(--rosso) 100%);
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
  display: grid; grid-template-rows: auto auto 1fr auto; font-family: 'Courier New', monospace;
  transition: transform .5s;
}
.card-visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% -10%, rgba(255,255,255,.25), transparent 50%); pointer-events: none; }
.card-visual.flip { transform: rotateY(12deg) scale(.97); }
.cv-brand { justify-self: end; font-family: var(--body); font-weight: 900; font-style: italic; letter-spacing: .06em; font-size: 15px; }
.cv-chip { display: block; width: 42px; height: 31px; border-radius: 6px; background: linear-gradient(135deg, #f5d27a, #c9a14a); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.cv-num { align-self: center; font-size: clamp(16px, 4.6vw, 21px); letter-spacing: .08em; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.cv-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.cv-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-fields input { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.secure { margin: 2px 0 0; font-weight: 800; font-size: 13px; color: var(--verde); }
.secure span { display: block; margin-top: 4px; font-weight: 600; color: var(--muted); }

.paying { text-align: center; padding: 30px 0 20px; }
.paying-card {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: 14px; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--verde), #3d0a14 70%, var(--rosso)); color: #fff;
  font-family: 'Courier New', monospace; font-size: 18px; letter-spacing: .08em; box-shadow: 0 12px 26px rgba(0,0,0,.25);
}
.paying-spin { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; border: 5px solid var(--crema-2); border-top-color: var(--verde); animation: spin .8s linear infinite; }
.paying.ok .paying-spin { animation: none; border-color: var(--verde); background: var(--verde); position: relative; }
.paying.ok .paying-spin::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 28px; font-weight: 900; }
.paying h2 { padding: 0 !important; }
.paying-step { font-weight: 800; color: var(--muted); }
.paying.ok .paying-step { color: var(--verde); }
@keyframes spin { to { transform: rotate(360deg); } }
.confirm-lines .paid span { color: var(--verde); }

/* ---------- Page légale ---------- */
.legal { max-width: 860px; margin: 0 auto; padding: 100px 20px 70px; line-height: 1.65; }
.legal-head h1 { margin: 0 0 14px; font-family: var(--serif); font-weight: 900; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; }
.legal-warn { padding: 14px 16px; border-radius: 14px; background: #fff6d6; border: 2px dashed #e0b400; color: #5a4400; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 10px; }
.legal-toc a { padding: 8px 14px; border-radius: 999px; background: #fff; text-decoration: none; font-weight: 800; font-size: 14px; box-shadow: inset 0 0 0 1px rgba(42,24,14,.12); }
.legal-toc a:hover { background: var(--verde); color: #fff; }
.legal section { margin-top: 36px; padding: 26px 28px; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 26px rgba(42,24,14,.07); }
.legal h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 900; font-size: 28px; color: var(--rosso); }
.legal h3 { margin: 20px 0 4px; font-size: 17px; font-weight: 900; }
.legal p { margin: 0 0 10px; color: #4f3d31; }
.legal-list { padding-left: 20px; color: #4f3d31; }
.legal-list li { margin-bottom: 6px; }
.ph { background: #fff1b8; border-radius: 4px; padding: 0 4px; font-weight: 700; color: #6b5200; }
.legal-update { font-size: 13px; color: var(--muted) !important; }

/* ---------- Menus : 3 cartes puis le menu Famille en largeur ---------- */
.menu-cards, .menu-cards.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.menu-card.is-wide {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  column-gap: 26px; align-content: center; padding: 22px 24px 22px 0;
}
.menu-card.is-wide > * { grid-column: 2; }
.menu-card.is-wide .mc-photos {
  grid-column: 1; grid-row: 1 / span 6; margin: -22px 0 -22px 0; min-height: 100%;
  border-radius: calc(var(--radius) - 2px) 0 0 calc(var(--radius) - 2px);
}
.menu-card.is-wide .mc-desc { flex: none; }
.menu-card.is-wide .mc-photos.has-cover { aspect-ratio: 1; min-height: 0; align-self: center; }
.menu-card.is-wide .btn { width: auto; justify-self: start; padding-left: 28px; padding-right: 28px; }
@media (max-width: 700px) {
  .menu-cards, .menu-cards.compact { grid-template-columns: minmax(0, 1fr); }
  .menu-card.is-wide { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); column-gap: 14px; padding: 16px 14px 16px 0; }
  .menu-card.is-wide .mc-photos { margin: -16px 0; padding: 14px 6px; }
  .menu-card.is-wide h3 { font-size: 22px; }
  .menu-card.is-wide .mc-desc { font-size: 13px; margin-bottom: 8px; }
  .menu-card.is-wide .mc-price { font-size: 30px; margin-bottom: 10px; }
  .menu-card.is-wide .btn { width: 100%; justify-self: stretch; padding-left: 12px; padding-right: 12px; }
}

/* ---------- Paiement en ligne bloqué : panneau « site de démonstration » ---------- */
.card-pay { position: relative; overflow: hidden; }
.demo-lock {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 24px; text-align: center; color: #fff;
  background: rgba(22,18,15,.84); backdrop-filter: blur(3px);
  border: 8px solid transparent; border-radius: 16px;
  border-image: repeating-linear-gradient(45deg, #ffd84d 0 14px, #16120f 14px 28px) 8;
}
.demo-lock b {
  font-family: var(--display); font-weight: 400; font-size: clamp(30px, 6vw, 46px); line-height: 1;
  letter-spacing: .04em; text-transform: uppercase; color: #ffd84d;
}
.demo-lock > span { font-weight: 700; font-size: 16px; max-width: 320px; }
.demo-lock-btn {
  margin-top: 6px; padding: 12px 20px; border: 0; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 900; font-size: 15px;
}
.demo-lock-btn:hover { background: #ffd84d; }
.demo-lock-btn .pay-when { all: unset; }
.card-pay input:disabled { background: #f1ece2; }
.co-submit:disabled { background: #9b8f84; box-shadow: none; cursor: not-allowed; transform: none; white-space: normal; text-align: center; }

/* ---------- Tablette ---------- */
@media (max-width: 1000px) {
  .nav-link { display: none; }
  .nav { gap: 18px; }
}
@media (max-width: 900px) {
  .papa { grid-template-columns: 1fr; text-align: center; }
  .papa-img { max-width: 300px; margin: 0 auto; }
  .papa-txt > p:not(.kicker):not(.signature) { margin-left: auto; margin-right: auto; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .topbar { height: 62px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .nav-right { gap: 10px; }
  .cart-btn { width: 42px; height: 42px; }
  .fab { display: flex; }
  body.hero-visible .fab, body.no-scroll .fab { opacity: 0; transform: translateY(20px); pointer-events: none; }
  .fab-cart, body.has-cart .fab-order { display: none; }
  body.has-cart .fab-cart { display: flex; }
  .catnav-wrap { top: 62px; }
  .order-strip { grid-template-columns: 1fr; border-radius: 0; gap: 14px; }
  .dishes { grid-template-columns: minmax(0, 1fr); }
  .dish { grid-template-columns: 88px 1fr; gap: 12px; padding: 12px; }
  .dish-thumb { width: 88px; height: 88px; }
  .dish-thumb svg { width: 40px; height: 40px; }
  .dish-info h3 { font-size: 19px; }
  .modal { padding: 0; place-items: end center; }
  .modal-box { border-radius: 22px 22px 0 0; padding: 26px 18px 22px; margin: auto 0 0; max-height: 94vh; overflow-y: auto; }
  .co-grid { grid-template-columns: 1fr; }
  .toast { bottom: 84px; }
  .toast span:nth-child(2) { font-size: 13px; }
  .btn-call span { display: none; }
  .btn-call { padding: 11px; }
  .badge { width: 190px; height: 62px; }
  .badge-circle { width: 84px; height: 84px; top: 6px; }
  .badge-ribbon { top: 78px; font-size: 21px; padding: 5px 18px 7px; }
  .topbar.is-scrolled .badge-circle { width: 54px; height: 54px; }
  .topbar.is-scrolled .badge-ribbon { top: 44px; font-size: 16px; }

  .hero { aspect-ratio: auto; height: 530px; }
  .slide { background: radial-gradient(120% 80% at 50% 0%, #24563a, #0f2a1a 75%); }
  .slide-scene { object-position: 24% 50%; }
  .slide-product {
    height: 210px;
    clip-path: inset(0);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%), linear-gradient(180deg, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 28%), linear-gradient(180deg, #000 95%, transparent);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
  .slide-bg { object-position: 92% 50%; }
  .slide-pizza .slide-bg { transform: translateX(3%) scale(1.12); }
  .slide-shade { display: block; background: linear-gradient(180deg, transparent 30%, rgba(10,8,5,.38) 60%, rgba(10,8,5,.65)); }
  .slide-info {
    top: 228px; bottom: 60px; left: 16px; right: 16px; width: auto; transform: none;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr;
    column-gap: 12px; row-gap: 12px; align-items: start;
  }
  .slide-logo { font-size: 26px; grid-column: 1; justify-self: start; min-width: 0; }
  .slide-pizza .slide-info { gap: 12px; }
  .slide-pizza .slide-logo { width: 250px; max-width: 100%; }
  .slide-row { display: contents; }
  .ardoise { grid-column: 1; justify-self: start; min-width: 0; padding: 8px 12px; border-width: 6px; }
  .ardoise::before { display: none; }
  .ardoise li { font-size: 15px; line-height: 1.15; }
  .slide-prices { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .slide-prices .tag-val { font-size: 24px; }
  .slide-prices .tag-lbl { font-size: 12px; }
  .hero-controls { left: 50%; right: auto; transform: translateX(-50%); bottom: 12px; }

  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 9px 8px; font-size: 13px; }
  .grid { grid-template-columns: 1fr; }
  .papa-points { grid-template-columns: 1fr; }
  .footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Téléphone : version compacte de l'accueil et des menus ---------- */
@media (max-width: 700px) {
  /* Spécialités : carrousel horizontal à faire glisser */
  #menuGrid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 -16px; padding: 6px 16px 18px; scrollbar-width: none;
  }
  #menuGrid::-webkit-scrollbar { display: none; }
  #menuGrid .card { flex: 0 0 80%; scroll-snap-align: center; }
  #menuGrid .card[hidden] { display: none; }
  #menuGrid .card:hover { transform: none; }
  .menu-cta { margin-top: 14px; }

  /* Toutes les cartes menus en horizontal : image à gauche, texte à droite */
  .menu-card, .menu-card.is-wide {
    display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    column-gap: 14px; align-content: center; padding: 16px 14px 16px 0;
  }
  .menu-card > * { grid-column: 2; }
  .menu-card .mc-photos, .menu-card.is-wide .mc-photos {
    grid-column: 1; grid-row: 1 / span 6; margin: -16px 0; padding: 14px 6px; min-height: 100%;
    border-radius: calc(var(--radius) - 2px) 0 0 calc(var(--radius) - 2px);
  }
  .menu-card .mc-photos.has-cover { padding: 0; aspect-ratio: 1; min-height: 0; align-self: center; }
  .menu-card h3 { font-size: 22px; }
  .menu-card .mc-it { font-size: 20px; }
  .menu-card .mc-desc { flex: none; font-size: 13px; margin-bottom: 8px; }
  .menu-card .mc-price { font-size: 30px; margin-bottom: 10px; }
  .menu-card .btn { width: 100%; padding: 10px 12px; font-size: 14px; }
  .menu-cards, .menu-cards.compact { gap: 22px; }

  /* Bloc du Papa plus court */
  .papa { gap: 18px; }
  .papa-img { max-width: 190px; }
  .papa-txt > p:not(.kicker):not(.signature) { font-size: 15.5px; margin-bottom: 16px; }
  .papa-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .papa-points li { padding: 10px 6px 8px; }
  .papa-points b { font-size: 22px; }
  .papa-points span { font-size: 11px; line-height: 1.25; display: block; }

  /* Étapes de commande en lignes compactes */
  .steps-list { gap: 12px; }
  .steps-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .steps-list span { grid-row: 1 / span 2; width: 44px; height: 44px; font-size: 20px; margin: 0; }
  .steps-list b { font-size: 20px; }
  .steps-list p { margin-top: 2px; font-size: 14px; }
}

/* ---------- Téléphone : diapo d'accueil recadrée (produit centré, sans fond noir) ---------- */
@media (max-width: 760px) {
  .hero { height: 560px; }
  .slide-product {
    top: 44px; height: 220px;
    clip-path: none;
    /* masque ovale : le fond noir de la vidéo disparaît, seul le produit reste visible */
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
    -webkit-mask-composite: source-over; mask-composite: add;
  }
  .slide-bg, .slide-pizza .slide-bg { object-fit: cover; object-position: 100% 50%; transform: none; }
  .slide-pizza .slide-bg { transform: scale(.94); transform-origin: 55% 50%; }
  .slide-info { top: 262px; bottom: 62px; }
}

/* ---------- Téléphone : diapo raccourcie, produit au centre en arrière-plan ---------- */
@media (max-width: 760px) {
  .hero { height: 410px; }
  .slide-product {
    top: 52px; bottom: 44px; height: auto; z-index: 1;
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
  }
  .slide-bg, .slide-pizza .slide-bg { inset: 0 -12% 0 auto; width: 124%; object-position: 100% 50%; transform: scale(.7); transform-origin: 50% 50%; }
  .slide-shade { z-index: 1; background: linear-gradient(180deg, rgba(10,8,5,.15), transparent 30%, transparent 62%, rgba(10,8,5,.55)); }
  .slide-info {
    z-index: 2; top: 60px; bottom: 56px; left: 14px; right: 14px;
    grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto;
  }
  .slide-logo { grid-column: 1; grid-row: 1; font-size: 22px; }
  .slide-pizza .slide-logo { width: 175px; }
  .ardoise { grid-column: 1; grid-row: 3; align-self: end; padding: 6px 10px; border-width: 5px; }
  .ardoise li { font-size: 13.5px; }
  .slide-prices { grid-column: 2; grid-row: 3; align-self: end; }
  .slide-prices .tag-val { font-size: 22px; }
}

/* Le centre des pizzas est à 81 % du fichier vidéo panoramique.
   Un cadrage constant permet de masquer le fond au plus près de la croûte. */
@media (max-width: 760px) {
  .slide-pizza .slide-product {
    -webkit-mask-image: radial-gradient(ellipse 142px 84px at 50% 50%, #000 89%, transparent 100%);
    mask-image: radial-gradient(ellipse 142px 84px at 50% 50%, #000 89%, transparent 100%);
  }
  .slide-pizza .slide-bg {
    inset: auto;
    left: 50%; top: 50%;
    width: auto; height: 220px; max-width: none;
    aspect-ratio: 1920 / 452;
    object-fit: fill;
    transform: translate(-80.9%, -50%) scale(.94);
    transform-origin: 80.9% 50%;
  }
}

/* ---------- Diapo : produits détourés (fond transparent, img/cutouts + video/cutouts) ---------- */
.slide-product, .slide-pizza .slide-product { clip-path: none; -webkit-mask-image: none; mask-image: none; }
.product-media {
  position: absolute; right: 3%; top: 50%; height: 94%; aspect-ratio: 760 / 452;
  transform: translateY(-50%); filter: drop-shadow(0 18px 24px rgba(0,0,0,.45));
}
.product-poster, .product-motion {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain;
}
.product-motion { opacity: 0; }
.product-media.is-playing .product-motion { opacity: 1; }
.product-media.is-playing .product-poster { opacity: 0; }
.slide.is-active .product-media { animation: productIn .9s cubic-bezier(.2,.9,.3,1.1) both; }
@keyframes productIn { from { opacity: 0; transform: translate(12%, -50%) scale(.92); } to { opacity: 1; transform: translateY(-50%); } }

/* Téléphone : produit collé au bord droit, derrière le nom, l ardoise et les prix */
@media (max-width: 760px) {
  .slide-product { top: 52px; bottom: 44px; height: auto; }
  .product-media { right: -34px; height: 215px; max-height: 100%; filter: drop-shadow(0 12px 16px rgba(0,0,0,.5)); }
  .slide-pizza .product-media { right: -22px; height: 200px; }
}
