/* ==========================================================================
   Pizza World Cagnes-sur-Mer
   Mise en page inspirée de la référence « Limón » (grands titres espacés,
   aplats francs, aucun arrondi, aucune ombre, aucun dégradé), aux couleurs
   du logo All Over Pizza World : bleu roi, rouge, jaune et blanc.
   ========================================================================== */

/* ---------- Jetons ---------- */
:root {
  /* Couleurs du logo */
  --blue: #013ec5;        /* bleu roi : fond principal (identique au fond du logo) */
  --red: #e10a0a;         /* rouge : accents, pastilles, panneaux */
  --yellow: #fce303;      /* jaune : boutons d'action, grands titres sur bleu */
  --white: #ffffff;

  /* Dérivés */
  --blue-deep: #0b1f5c;   /* bleu nuit : texte sur fond clair */
  --cream: #fcf9f0;       /* crème : sections claires */
  --blue-mist: #c7d4f2;   /* texte secondaire sur bleu */
  --ink-muted: #475581;   /* texte secondaire sur crème */
  --line-dark: rgba(255, 255, 255, 0.22); /* filet sur fond bleu */
  --line-light: #d3daea;                  /* filet sur fond crème */

  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 120px);
  --radius: 1px;
  --topbar-h: 34px;       /* bandeau d'infos défilantes (ordinateur) */
  --header-row-h: 88px;   /* ligne logo + menu */
  --header-h: calc(var(--topbar-h) + var(--header-row-h));
  --catnav-h: 60px;
}

@media (max-width: 1079px) {
  :root { --topbar-h: 0px; --header-row-h: 68px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
html.has-cat-nav { scroll-padding-top: calc(var(--header-h) + var(--catnav-h) + 16px); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
sup { font-size: 0.65em; line-height: 0; }
svg.icon { width: 16px; height: 16px; flex: none; }

::selection { background: var(--yellow); color: var(--blue-deep); }

:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--blue); }
.light .dark :focus-visible { outline-color: var(--yellow); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Utilitaires ---------- */
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -200px; z-index: 100;
  padding: 12px 16px;
  background: var(--yellow); color: var(--blue-deep);
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.dark { background: var(--blue); color: var(--white); }
.light { background: var(--cream); color: var(--blue-deep); }
.section { padding-block: var(--section-y); }

/* ---------- Typographie ---------- */
.eyebrow {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dark .eyebrow { color: var(--blue-mist); }
.light .eyebrow { color: var(--red); }
.light .dark .eyebrow { color: var(--white); }

.display {
  font-size: clamp(50px, 7.4vw, 75px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
}
.heading-lg {
  font-size: clamp(34px, 4.2vw, 46px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.heading {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.03em;
}
.heading-sm {
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.03em;
}
.light .heading-lg, .light .heading, .light .heading-sm { color: var(--blue); }
.light .dark .heading-sm { color: var(--white); }

.lead {
  font-size: clamp(18px, 1.7vw, 20px);
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.text {
  max-width: 640px;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.small { font-size: 14px; line-height: 1.5; letter-spacing: 0.04em; }
.footnote { font-size: 13px; line-height: 1.45; letter-spacing: 0.04em; }
.dark .footnote, .dark .muted { color: var(--blue-mist); }
.light .footnote, .light .muted { color: var(--ink-muted); }
.light .dark .footnote, .light .dark .muted { color: var(--white); }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 14px 20px;
  background: var(--yellow); color: var(--blue-deep);
  border: 1px solid var(--yellow);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--white); border-color: var(--white); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-sm { min-height: 40px; padding: 10px 14px; font-size: 14px; }
.btn-sm svg { width: 14px; height: 14px; }

.btn-outline { background: transparent; color: inherit; border-color: currentColor; }
.dark .btn-outline:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.light .btn-outline:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding-block: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.link-arrow svg { width: 14px; height: 14px; flex: none; transition: transform 0.2s ease; }
.link-arrow:hover { text-decoration-line: underline; }
.link-arrow:hover svg:last-child { transform: translateX(3px); }
.dark .link-arrow svg { color: var(--yellow); }
.light .link-arrow svg { color: var(--red); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: var(--topbar-h) var(--header-row-h);
  grid-template-areas:
    "tick tick tick"
    "navl logo navr";
  align-items: center;
  column-gap: 24px;
}
.nav-left { grid-area: navl; }
.nav-right { grid-area: navr; }
.nav-toggle { grid-area: toggle; }

/* Bandeau d'infos défilantes : au-dessus du menu sur ordinateur, à côté du logo sur mobile */
.header-ticker {
  grid-area: tick;
  align-self: stretch;
  display: flex; align-items: center;
  min-width: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-ticker-track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.header-ticker:hover .header-ticker-track { animation-play-state: paused; }
.header-ticker ul { display: flex; flex: none; }
.header-ticker li { display: inline-flex; align-items: center; }
.header-ticker li::after { content: ""; width: 5px; height: 5px; margin-inline: 22px; background: var(--red); }
.header-ticker [data-open-status]:not(.is-open) { color: var(--blue-mist); }
.header-ticker .is-promo { color: var(--white); }   /* promos de assets/js/promos.js */
@keyframes ticker { to { transform: translateX(-50%); } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-right { justify-content: flex-end; gap: 12px; }

.nav-link {
  display: inline-block;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-link:hover { color: var(--yellow); }
.nav-link[aria-current="page"] { border-color: var(--white); }
.nav .nav-link { white-space: nowrap; }
/* Écrans moyens : menu un peu plus serré pour tenir à côté du logo */
@media (min-width: 1080px) and (max-width: 1279px) {
  .nav-left { gap: 0; }
  .nav .nav-link { padding-inline: 7px; font-size: clamp(13px, 1.2vw, 15px); letter-spacing: 0.05em; }
}

.nav-icon {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  transition: color 0.2s ease;
}
.nav-icon:hover { color: var(--yellow); }
.nav-icon svg { width: 20px; height: 20px; }

.social-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-underline-offset: 5px;
}
.social-link svg { width: 20px; height: 20px; flex: none; color: var(--yellow); }
.social-link:hover { text-decoration: underline; }

/* Logo : posé sur le bleu du logo, il déborde de l'en-tête en haut de page
   puis se réduit au défilement (classe is-scrolled ajoutée par main.js). */
.brand {
  grid-area: logo;
  position: relative; z-index: 2;
  display: block;
  align-self: start;
  margin-top: 10px;
  line-height: 0;
}
.brand img { width: auto; height: 116px; transition: height 0.3s ease; }
.site-header.is-scrolled .brand img { height: 68px; }

.nav-toggle { display: none; }
.nav-toggle-bars { position: relative; display: block; width: 26px; height: 12px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 10.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 5.25px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 5.25px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border-top: 1px solid var(--line-dark);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-nav-links a svg { width: 16px; height: 16px; color: var(--yellow); }
.mobile-nav-links a[aria-current="page"] { color: var(--yellow); }
.mobile-nav-foot { display: grid; gap: 18px; justify-items: start; margin-top: auto; padding-top: 40px; }

@media (max-width: 1079px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: var(--header-row-h);
    grid-template-areas: "logo tick toggle";
    column-gap: 14px;
  }
  .header-ticker { align-self: center; height: 32px; border-bottom: 0; font-size: 11px; letter-spacing: 0.12em; }
  .header-ticker li::after { margin-inline: 16px; }
  .nav-left, .nav-right { display: none; }
  .brand { align-self: center; justify-self: start; margin-top: 0; }
  .brand img, .site-header.is-scrolled .brand img { height: 56px; }
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 48px; height: 48px;
    margin-right: -12px;
    background: none; border: 0;
    cursor: pointer;
  }
}
@media (min-width: 1080px) {
  .mobile-nav { display: none !important; }
}

/* ---------- Héros (accueil) ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 600px) minmax(0, 600px) minmax(var(--gutter), 1fr);
}
/* « Pâte & sauce / maison » : deux lignes, sans coupure */
.hero-title { font-size: clamp(40px, 4.9vw, 70px); }
.display-line { display: block; white-space: nowrap; }
@media (max-width: 899px) {
  .hero-title { font-size: clamp(32px, 11vw, 64px); }
}
.hero-copy {
  grid-column: 2; grid-row: 1;
  align-self: center;
  padding: clamp(56px, 8vw, 104px) clamp(24px, 4vw, 56px) clamp(56px, 8vw, 104px) 0;
}
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero-copy h1 { margin-bottom: 28px; }
.hero-sub { max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.hero-meta { display: grid; gap: 10px; justify-items: start; margin-top: 28px; }

/* Pizza 3D (main.js) : photo vue du dessus détourée en disque ; la pizza pivote
   et change de recette à chaque tour. Des disques empilés donnent l'épaisseur de la pâte. */
.hero-media {
  grid-column: 3 / 5; grid-row: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
  min-height: clamp(540px, calc(100vh - var(--header-h)), 760px);
  min-height: clamp(540px, calc(100svh - var(--header-h)), 760px);
  padding: 56px var(--gutter);
}
.hero-spin { --crust: #d9a865; --crust-dark: #b9834a; --plate: #0236b0; }
.spin-stage { position: relative; width: min(470px, 78%); aspect-ratio: 1 / 1; perspective: 1500px; }
.spin-stage::before {
  content: "";
  position: absolute; inset: -8%;
  border-radius: 50%;
  background: var(--plate);
}
.spin-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(12deg); }
.spin-disc { position: absolute; inset: 0; transform-style: preserve-3d; }
.spin-face {
  position: absolute; inset: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--crust);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.spin-front { transform: translateZ(var(--half, 8px)); }
.spin-back { transform: rotateY(180deg) translateZ(var(--half, 8px)); }
.spin-face img { width: 100%; height: 100%; object-fit: cover; }
/* Anciennes photos prises de biais (en attendant les photos vues du dessus) :
   zoom sur la pizza et croûte dessinée autour */
.spin-disc.is-angled .spin-face { border: clamp(8px, 1.4vw, 14px) solid var(--crust); }
.spin-disc.is-angled .spin-face img { transform: scale(1.5); transform-origin: 50% 80%; }
.spin-layer { position: absolute; inset: 0; border-radius: 50%; background: var(--crust-dark); }
.spin-layer:nth-child(even) { background: var(--crust); }

.spin-caption {
  position: relative; z-index: 1;
  display: grid; justify-items: center; gap: 4px;
  margin-top: clamp(26px, 3vw, 36px);   /* sous l'assiette bleue qui déborde du disque */
  text-align: center;
  transition: opacity 0.2s ease;
}
.spin-caption.is-changing { opacity: 0; }
.spin-kicker { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.spin-name { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: 0.06em; text-transform: uppercase; }
.spin-price { font-size: 19px; color: var(--blue-mist); font-variant-numeric: tabular-nums; }
.spin-caption .choice-picker { justify-content: center; margin-top: 8px; }
.hero-spin .choice-picker .chip { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.hero-spin .choice-picker .chip.is-on { background: var(--yellow); border-color: var(--yellow); color: var(--blue-deep); }
.hero-spin .choice-label { color: var(--yellow); }
.spin-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.spin-actions[hidden] { display: none; }
.hero-spin .add-btn { min-height: 44px; padding: 0 18px; background: var(--yellow); color: var(--blue-deep); }
.hero-spin .add-btn:hover { background: var(--white); }
.hero-spin .add-btn.is-added { background: var(--white); color: var(--blue); }
.sc-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.sc-btn:hover { background: var(--white); color: var(--blue); }
.sc-btn svg { width: 16px; height: 16px; }

@media (max-width: 899px) {
  .hero { grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter); }
  .hero-media { grid-column: 1 / -1; grid-row: 1; min-height: 0; padding: 40px var(--gutter) 4px; gap: 18px; }
  .spin-stage { width: min(300px, 70vw); }
  .hero-copy { grid-column: 2; grid-row: 2; padding: 32px 0 52px; }
  .hero-copy .eyebrow, .hero-copy h1 { margin-bottom: 22px; }
  .hero-actions { margin-top: 28px; }
}
/* ---------- Savoir-faire ---------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.story-copy > * + * { margin-top: 20px; }
.story-copy .heading { max-width: 14em; }
.story-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.story-copy .facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--blue-deep);
  border-bottom: 1px solid var(--line-light);
}
.facts > div { padding: 20px 16px 20px 0; }
.facts > div + div { padding-left: 16px; border-left: 1px solid var(--line-light); }
.facts dt {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--blue);
}
.facts dd {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.story-copy .link-arrow { margin-top: 28px; }

@media (max-width: 899px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { order: -1; }
}
@media (max-width: 520px) {
  .story-copy .facts { grid-template-columns: 1fr; }
  .facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; }
  .facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .facts dd { margin-top: 0; text-align: right; }
}

/* ---------- En-têtes de section ---------- */
.section-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 20px 64px;
}
.section-head--split > div { display: grid; gap: 16px; }
.section-foot { margin-top: clamp(40px, 5vw, 56px); }
@media (max-width: 899px) {
  .section-head--split { grid-template-columns: 1fr; }
}

/* ---------- Cartes de plats ---------- */

.food-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 30px;
}
.food-card { display: flex; flex-direction: column; }
.food-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--line-light);
}
.food-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding-top: 24px; }
.food-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.food-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.food-title h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.food-desc { font-size: 16px; line-height: 1.45; letter-spacing: 0.02em; color: var(--ink-muted); }
.food-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
}
.food-foot .link-arrow { padding-block: 4px; font-size: 15px; }
.price {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.light .price { color: var(--blue); }

/* Vignette typographique, en attendant la photo */
.food-media--type {
  position: relative;
  display: grid; place-items: center;
  padding: 28px;
  background: var(--red);
  color: var(--white);
  text-align: center;
}
.food-media--type::before {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.tile-name {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tile-mark {
  position: absolute; left: 0; right: 0; bottom: 26px;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--yellow);
}

.badge {
  display: inline-flex; align-items: center;
  padding: 5px 7px 4px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--new { background: var(--red); border-color: var(--red); color: var(--white); }

@media (max-width: 899px) {
  .food-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 18px; }
}
@media (max-width: 599px) {
  /* Accueil : carrousel horizontal */
  .food-grid--carousel {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 16px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .food-grid--carousel::-webkit-scrollbar { display: none; }
  .food-grid--carousel > * { scroll-snap-align: start; }

  /* Carte : deux colonnes compactes */
  .food-grid--menu { gap: 32px 14px; }
  .food-grid--menu .food-body { gap: 6px; padding-top: 14px; }
  .food-grid--menu .food-title { gap: 6px; }
  .food-grid--menu .food-title h3 { font-size: 15px; letter-spacing: 0.04em; }
  .food-grid--menu .food-desc { font-size: 13.5px; line-height: 1.4; }
  .food-grid--menu .food-foot { padding-top: 10px; }
  .food-grid--menu .price { font-size: 16px; }
  .food-grid--menu .badge { padding: 4px 5px 3px; font-size: 9.5px; letter-spacing: 0.1em; }
  .food-grid--menu .food-media--type { padding: 16px; }
  .food-grid--menu .food-media--type::before { inset: 8px; }
  .food-grid--menu .tile-name { font-size: 17px; letter-spacing: 0.06em; }
  .food-grid--menu .tile-mark { bottom: 16px; font-size: 8px; }
}

/* ---------- Index de la carte (accueil) ---------- */
.menu-index-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: start;
}
.menu-index-head {
  position: sticky; top: calc(var(--header-h) + 40px);
  display: grid; gap: 20px; justify-items: start;
}
.menu-index-actions, .page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.menu-index-actions { margin-top: 12px; }
.menu-index-list { border-top: 1px solid var(--line-dark); }
.menu-index-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 6px 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
}
.mi-name {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.mi-meta {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
  color: var(--blue-mist);
}
.mi-arrow { width: 18px; height: 18px; color: var(--yellow); transition: transform 0.2s ease; }
.menu-index-list a:hover .mi-name { color: var(--yellow); }
.menu-index-list a:hover .mi-arrow { transform: translateX(4px); }

@media (max-width: 899px) {
  .menu-index-grid { grid-template-columns: 1fr; }
  .menu-index-head { position: static; }
  .menu-index-list a { grid-template-columns: minmax(0, 1fr) 18px; padding: 20px 0; }
  .mi-meta { grid-column: 1; grid-row: 2; text-align: left; }
  .mi-arrow { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- Fidélité et avis ---------- */
.perks { padding-block: 0; }   /* entre la sélection et le savoir-faire */
.perks-panel.dark {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--red);
}
.perk { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: clamp(32px, 5vw, 64px); }
.perk + .perk { border-left: 1px solid rgba(255, 255, 255, 0.35); }
.perk p { max-width: 34em; }
.perk-figure {
  font-size: clamp(56px, 7vw, 75px);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--white);
}
.perk-figure small { margin-left: 4px; font-size: 0.42em; letter-spacing: 0.06em; }
.coupons { display: grid; grid-template-columns: repeat(5, 30px); gap: 8px; padding-block: 7px; }
.coupons span { aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, 0.6); }
.coupons span:last-child { background: var(--yellow); border-color: var(--yellow); }

@media (max-width: 899px) {
  .perks-panel.dark { grid-template-columns: 1fr; }
  .perk + .perk { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.35); }
}

/* ---------- Promotions (liste dans assets/js/promos.js) ----------
   Chaque promo est un bon jaune, détachable : pointillés entre l'offre et « Commander ». */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 16px;
}
.promo-item { container-type: inline-size; }
.promo {
  display: grid;
  height: 100%;
  background: var(--yellow);
  color: var(--blue-deep);
  border-radius: var(--radius);
}
.promo-main {
  display: grid; align-content: start; justify-items: start; gap: 14px;
  padding: clamp(24px, 4vw, 44px);
}
.promo-tag {
  display: inline-block;
  padding: 6px 9px 5px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.promo-when { font-size: 14px; font-weight: 500; line-height: 1.45; letter-spacing: 0.1em; text-transform: uppercase; }
.promo-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--blue);
}
.promo-details { max-width: 36em; font-size: 17px; line-height: 1.5; }
.promo-stub {
  display: grid; align-content: center; justify-items: start; gap: 4px;
  padding: 18px clamp(24px, 4vw, 44px) clamp(22px, 3vw, 30px);
  border-top: 2px dashed rgba(11, 31, 92, 0.35);
}
.promo-stub .link-arrow { padding-block: 4px; }
.promo-phone { font-size: 14px; letter-spacing: 0.04em; text-decoration: none; text-underline-offset: 3px; }
.promo-phone:hover { text-decoration: underline; }
@container (min-width: 640px) {
  .promo { grid-template-columns: minmax(0, 1fr) auto; }
  .promo-stub {
    min-width: 230px;
    padding: clamp(24px, 4vw, 44px);
    border-top: 0;
    border-left: 2px dashed rgba(11, 31, 92, 0.35);
  }
}

/* Rappel des promos en haut de la carte */
.promo-strip {
  margin-bottom: clamp(28px, 4vw, 40px);
  background: var(--yellow);
  color: var(--blue-deep);
  border-radius: var(--radius);
}
.promo-strip-item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px 20px; }
.promo-strip-item + .promo-strip-item { border-top: 2px dashed rgba(11, 31, 92, 0.35); }
.promo-strip-title { font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue); }
.promo-strip-when { font-size: 14px; line-height: 1.4; letter-spacing: 0.03em; }

/* ---------- Qui sommes-nous ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "head copy" "facts facts";
  gap: 40px clamp(40px, 6vw, 88px);
}
.about-head { grid-area: head; display: grid; align-content: start; gap: 20px; }
.about-head .heading-lg { max-width: 11em; }
.about-copy { grid-area: copy; display: grid; gap: 20px; }
.about-copy .text { color: var(--blue-mist); }
.about-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; margin-top: 4px; }
.about-facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(8px, 2vw, 24px);
  border-top: 1px solid var(--white);
  border-bottom: 1px solid var(--line-dark);
}
.about-facts > div { padding: 28px 20px 28px 0; }
.about-facts > div + div { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.about-facts dt {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--yellow);
}
.about-facts dd {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mist);
}
@media (max-width: 899px) {
  .about-grid { grid-template-columns: 1fr; grid-template-areas: "head" "copy" "facts"; gap: 28px; }
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
  .about-facts > div { padding: 22px 14px 22px 0; }
  .about-facts > div + div { padding-left: 14px; }
  .about-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .about-facts > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

/* ---------- Livraison ---------- */
.zones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--blue-deep);
  border-bottom: 1px solid var(--blue-deep);
}
.zones li {
  padding: 26px 24px 26px 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
}
.zones li + li { padding-left: 24px; border-left: 1px solid var(--line-light); }
.zones-note { margin-top: 14px; }

.conditions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: clamp(48px, 6vw, 72px);
}
.condition { display: grid; align-content: start; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.condition h3 { font-size: 18px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.condition p { font-size: 16px; line-height: 1.5; color: var(--ink-muted); }
.delay-note { max-width: 760px; margin-top: 40px; font-size: 16px; line-height: 1.5; color: var(--ink-muted); }

@media (max-width: 899px) {
  .zones { grid-template-columns: 1fr; }
  .zones li, .zones li + li { padding: 18px 0; border-left: 0; }
  .zones li + li { border-top: 1px solid var(--line-light); }
  .conditions { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Pied de page ---------- */
.site-footer { padding-top: var(--section-y); border-top: 1px solid var(--line-dark); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px clamp(32px, 5vw, 72px);
}
.footer-col { display: grid; align-content: start; justify-items: start; gap: 18px; }
.footer-col .heading-sm { margin-bottom: 4px; }
.footer-col address { font-size: 18px; line-height: 1.5; }

.hours { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--line-dark); text-align: left; font-weight: 400; }
.hours thead th {
  padding-top: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mist);
}
.hours td, .hours thead th + th { padding-left: 16px; text-align: right; white-space: nowrap; }
.hours .closed { color: var(--blue-mist); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--yellow); }
.hours tr.is-today th::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 10px;
  vertical-align: 3px;
  background: currentColor;
}

.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mist);
}
.status::before { content: ""; flex: none; width: 8px; height: 8px; background: currentColor; }
.status.is-open { color: var(--yellow); }
.status[hidden] { display: none; }

.phone-big {
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.phone-big:hover { color: var(--yellow); }

.footer-sign { display: flex; justify-content: center; padding-block: clamp(56px, 8vw, 96px) clamp(32px, 4vw, 48px); }
.footer-logo { width: clamp(150px, 16vw, 200px); height: auto; }

.footer-bottom {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px 32px;
  font-size: 14px;
  color: var(--blue-mist);
}
.footer-bottom::before {
  content: "";
  position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  border-top: 1px solid var(--line-dark);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { text-decoration: none; text-underline-offset: 4px; }
.footer-bottom a:hover { color: var(--white); text-decoration: underline; }

@media (min-width: 900px) and (max-width: 1079px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col:first-child { grid-row: span 2; }
}
@media (max-width: 899px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hours { font-size: 15px; }
  .hours td, .hours thead th + th { padding-left: 10px; }
}

/* ---------- Retour en haut, barre d'appel mobile ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 40px;
  background: var(--red);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 16px; height: 16px; }

.callbar { display: none; }
@media (max-width: 767px) {
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-dark);
  }
  .callbar--single { grid-template-columns: 1fr; }
  body { padding-bottom: calc(69px + env(safe-area-inset-bottom)); }
  .to-top { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* Très petits écrans (320 px) */
@media (max-width: 359px) {
  .btn { gap: 8px; padding-inline: 14px; font-size: 14px; letter-spacing: 0.03em; }
  .hours { font-size: 14px; letter-spacing: 0.01em; }
  .hours td, .hours thead th + th { padding-left: 8px; }
  .hours tr.is-today th::before { margin-right: 6px; }
}

/* ---------- Page « La carte » ---------- */
.page-hero { padding-block: clamp(64px, 9vw, 112px) clamp(48px, 6vw, 80px); }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px 64px;
}
.page-hero .eyebrow { margin-bottom: 26px; }
.page-hero-aside { display: grid; justify-items: start; gap: 24px; }
@media (max-width: 899px) {
  .page-hero-grid { grid-template-columns: 1fr; }
}

.cat-nav {
  position: sticky; top: var(--header-h); z-index: 30;
  border-bottom: 1px solid var(--line-dark);
}
.cat-nav-inner { display: flex; align-items: center; gap: 16px; min-height: var(--catnav-h); }
.cat-nav ul {
  position: relative;
  display: flex; flex: 1; gap: 4px;
  min-width: 0;
  padding-block: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav ul a {
  display: block;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--blue-mist);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cat-nav ul a:hover { color: var(--white); }
.cat-nav ul a.is-active { color: var(--white); border-color: var(--white); }
@media (max-width: 767px) {
  .cat-nav-inner { padding-inline: 0; }
  .cat-nav ul { padding-inline: calc(var(--gutter) - 10px); }
}

.options-wrap { padding-top: clamp(48px, 6vw, 72px); }
.options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--blue-deep);
  border-bottom: 1px solid var(--blue-deep);
}
.option { display: grid; align-content: start; gap: 6px; padding: 20px 20px 22px 0; }
.option + .option { padding-left: 20px; border-left: 1px solid var(--line-light); }
.option h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.option p { font-size: 16px; line-height: 1.4; }
@media (max-width: 899px) {
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .option:nth-child(3) { padding-left: 0; border-left: 0; }
  .option:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
}
@media (max-width: 479px) {
  .options { grid-template-columns: 1fr; }
  .option, .option + .option, .option:nth-child(3) { padding: 16px 0; border-left: 0; }
  .option + .option { border-top: 1px solid var(--line-light); }
}

.menu-section { padding-block: clamp(56px, 7vw, 96px); }
.menu-section + .menu-section { border-top: 1px solid var(--line-light); }
.menu-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.menu-head-text { display: grid; gap: 12px; max-width: 640px; }
.menu-head-text p { font-size: 17px; line-height: 1.5; color: var(--ink-muted); }
.menu-head-meta {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Listes façon ardoise (Tex-Mex, desserts) */
.menu-list {
  columns: 2;
  column-gap: clamp(32px, 5vw, 72px);
  border-top: 1px solid var(--blue-deep);
}
.menu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
  break-inside: avoid;
}
.menu-row h3 { font-size: 18px; font-weight: 500; line-height: 1.25; letter-spacing: 0.06em; text-transform: uppercase; }
.menu-row > p { grid-column: 1; font-size: 15px; line-height: 1.45; color: var(--ink-muted); }
.menu-prices { grid-column: 2; grid-row: 1 / span 2; align-self: start; display: grid; justify-items: end; gap: 6px; }
.menu-prices li { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.menu-prices .size { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.menu-prices .price, .drink-group .price { font-size: 18px; }
@media (max-width: 767px) {
  .menu-list { columns: 1; }
}

.drinks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px clamp(32px, 4vw, 56px);
}
.drink-group h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--blue-deep);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.drink-group li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-light);
}
.drink-name { font-size: 17px; letter-spacing: 0.03em; }
.drink-name small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-muted); }
.legal-alcohol { margin-top: 36px; }
@media (max-width: 899px) {
  .drinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .drinks { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Pages de texte (mentions légales) ---------- */
.prose-wrap { padding-block: clamp(48px, 7vw, 96px); }
.prose { max-width: 760px; }
.prose h2 {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--blue-deep);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 14px; font-size: 17px; line-height: 1.6; }
.prose dl { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 12px 24px; margin-top: 18px; }
.prose dt { padding-top: 3px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.prose dd { font-size: 17px; line-height: 1.5; }
.prose a { text-underline-offset: 3px; }
.todo { padding: 1px 6px; background: var(--yellow); color: var(--blue-deep); }
.prose ul { display: grid; gap: 8px; margin-top: 14px; }
.prose li { position: relative; padding-left: 20px; font-size: 17px; line-height: 1.55; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; background: var(--red); }
.prose h3 { margin-top: 28px; font-size: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.prose-toc { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 40px; }
@media (max-width: 599px) {
  .prose dl { grid-template-columns: 1fr; gap: 2px; }
  .prose dd { margin-bottom: 12px; }
}

/* ---------- Tableau des allergènes (carte, données dans assets/js/allergenes.js) ---------- */
.allergens-draft {
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-size: 15px;
  line-height: 1.45;
}
.allergens-draft a, .allergens .menu-head-text a { color: inherit; text-underline-offset: 3px; }
/* position: relative : les textes réservés aux lecteurs d'écran restent dans la zone qui défile */
.allergens-scroll { position: relative; overflow-x: auto; border-top: 1px solid var(--blue-deep); }
.allergens-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.allergens-fallback { padding: 16px 0; }
.allergens-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.allergens-table thead th {
  padding: 14px 0 10px;
  vertical-align: bottom;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.allergens-table thead th span { display: inline-block; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.allergens-table thead .allergens-dish { text-align: left; }
.allergens-table th[scope="row"], .allergens-table .allergens-dish {
  position: sticky; left: 0; z-index: 1;
  min-width: 150px;
  background: var(--cream);
  text-align: left;
}
.allergens-table th[scope="row"] { padding: 8px 14px 8px 0; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; }
.allergens-table tbody tr { border-bottom: 1px solid var(--line-light); }
.allergens-table td { width: 42px; padding: 8px 0; text-align: center; border-left: 1px solid var(--line-light); }
.allergens-table .is-yes { color: var(--red); font-size: 13px; }
.allergens-table .is-maybe { background: rgba(252, 227, 3, 0.45); color: var(--blue-deep); font-weight: 600; }
.allergens-group th { padding: 24px 0 8px; text-align: left; }
.allergens-group th span {
  position: sticky; left: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.allergens-table .allergens-missing { padding-left: 12px; text-align: left; font-size: 13px; color: var(--ink-muted); }
.allergens-note { margin-top: 14px; }

/* ---------- Page introuvable (404.html) ---------- */
.notfound {
  display: grid; align-content: center; justify-items: start; gap: 24px;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  max-width: calc(760px + 2 * var(--gutter));
  margin-inline: auto;
  padding: 48px var(--gutter);
}
.notfound-logo img { width: auto; height: 96px; }
.notfound .display { font-size: clamp(38px, 11vw, 75px); }
.notfound .lead { max-width: 30em; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Animations
   ========================================================================== */

/* Survol d'une pizza : la photo zoome et tourne légèrement, un filet jaune
   balaie le bas de l'image, le nom passe au rouge. */
.food-frame { position: relative; overflow: hidden; background: var(--line-light); }
.food-frame .food-media { transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.food-frame::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 5px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.food-media--type::before { transition: inset 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tile-name { transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.food-title h3 { transition: color 0.25s ease; }

@media (hover: hover) and (pointer: fine) {
  .food-card:hover img.food-media { transform: scale(1.08) rotate(-2.5deg); }
  .food-card:hover .food-frame::after { transform: scaleX(1); }
  .food-card:hover .food-media--type::before { inset: 20px; }
  .food-card:hover .tile-name { transform: scale(1.07); }
  .food-card:hover .food-title h3 { color: var(--red); }
  .menu-row, .drink-group li { transition: background-color 0.2s ease; }
}

/* Apparition au défilement (ajoutée par main.js aux éléments hors écran) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

@keyframes bump {
  30% { transform: scale(1.08); }
  60% { transform: scale(0.97); }
  100% { transform: none; }
}

/* ==========================================================================
   Commande WhatsApp
   ========================================================================== */

/* Étapes (page La carte) */
.steps { margin-bottom: clamp(32px, 4vw, 48px); }
.steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--blue-deep);
  border-bottom: 1px solid var(--blue-deep);
}
.steps li { display: flex; align-items: flex-start; gap: 16px; padding: 22px 20px 22px 0; }
.steps li + li { padding-left: 20px; border-left: 1px solid var(--line-light); }
.step-num {
  flex: none;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--red); color: var(--white);
  font-size: 20px;
  font-weight: 600;
}
.steps p { font-size: 16px; line-height: 1.45; }
.steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
}
@media (max-width: 767px) {
  .steps ol { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 16px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line-light); }
}

/* Boutons « Ajouter » */
.add-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex: none;
  min-width: 44px; height: 44px;
  padding: 0 14px;
  background: var(--blue); color: var(--white);
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.add-btn svg { width: 16px; height: 16px; flex: none; }
.add-btn:hover { background: var(--red); }
.add-btn:active { transform: scale(0.92); }
.add-btn.is-added { background: var(--yellow); color: var(--blue-deep); }
.add-btn--sm { min-width: 36px; width: 36px; height: 36px; padding: 0; }
.line-end { display: inline-flex; align-items: center; gap: 12px; }
.menu-prices li .add-btn { margin-left: 4px; }

@media (max-width: 599px) {
  .food-grid--menu .add-btn { min-width: 40px; width: 40px; height: 40px; padding: 0; }
  .food-grid--menu .add-btn .add-label { display: none; }
}

/* Bouton panier flottant (ordinateur) et dans la barre mobile */
.cart-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 44;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px;
  padding: 0 20px;
  background: var(--red); color: var(--white);
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(160%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s ease;
}
.cart-fab:hover { background: var(--blue-deep); }
.cart-fab.is-visible { transform: none; }
.cart-fab svg { width: 20px; height: 20px; }
.cart-count {
  display: inline-grid; place-items: center;
  min-width: 26px; height: 26px;
  padding: 0 6px;
  background: var(--yellow); color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
}
.bump { animation: bump 0.45s ease; }
body.has-cart .to-top { bottom: 96px; }

.callbar-cart { display: none; }
.callbar-cart .cart-count { background: var(--red); color: var(--white); }
@media (max-width: 767px) {
  .cart-fab { display: none; }
  body.has-cart .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .callbar.has-cart { grid-template-columns: 1fr; }
  .callbar.has-cart > :not(.callbar-cart) { display: none; }
  .callbar.has-cart .callbar-cart { display: inline-flex; justify-content: space-between; }
}

/* Panneau de commande */
body.cart-open { overflow: hidden; }
.cart-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11, 31, 92, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.cart-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91;
  display: flex; flex-direction: column;
  width: min(480px, 100%);
  background: var(--cream);
  color: var(--blue-deep);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.4s;
}
.cart-drawer.is-open { transform: none; visibility: visible; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s; }

.cart-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 24px;
  background: var(--blue);
  color: var(--white);
}
.cart-head h2 { font-size: 22px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.cart-close {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-right: -6px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  color: inherit;
  cursor: pointer;
}
.cart-close:hover { background: var(--white); color: var(--blue); }
.cart-close svg { width: 18px; height: 18px; }

.cart-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px 28px; }
.cart-notice {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  background: var(--white);
  font-size: 14px;
  line-height: 1.45;
}
.cart-notice[hidden] { display: none; }

.cart-empty { display: grid; justify-items: center; gap: 16px; padding: 56px 0 24px; text-align: center; }
.cart-empty p { max-width: 26em; color: var(--ink-muted); }
.cart-empty[hidden] { display: none; }

.cart-line { display: grid; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.cart-line-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 4px 16px; }
.cart-line-name { font-size: 16px; font-weight: 500; line-height: 1.25; letter-spacing: 0.04em; text-transform: uppercase; }
.cart-line-unit { font-size: 13px; color: var(--ink-muted); }
.cart-line-total { font-size: 17px; font-weight: 500; color: var(--blue); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cart-line-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--blue-deep); border-radius: var(--radius); }
.qty button {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: none;
  border: 0;
  color: var(--blue-deep);
  cursor: pointer;
}
.qty button:hover { background: var(--blue); color: var(--white); }
.qty button svg { width: 14px; height: 14px; }
.qty-value { min-width: 34px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.cart-remove {
  padding: 6px 0;
  background: none;
  border: 0;
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cart-remove:hover { color: var(--red); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 36px;
  padding: 6px 11px;
  border: 1px solid var(--blue-deep);
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.chip-select {
  min-height: 36px;
  padding: 6px 30px 6px 10px;
  border: 1px solid var(--blue-deep);
  border-radius: var(--radius);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5l4-4' fill='none' stroke='%230b1f5c' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center / 12px;
  color: var(--blue-deep);
  font-family: var(--font);
  font-size: 13px;
  appearance: none;
  cursor: pointer;
}

/* Garniture au choix (ex. lardons ou poulet) */
.choice-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.choice-label {
  margin-right: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.food-card .choice-picker { margin-top: 2px; }
@media (max-width: 599px) {
  .food-grid--menu .choice-picker { gap: 6px; }
  .food-grid--menu .choice-picker .chip { min-height: 32px; padding: 4px 9px; font-size: 12.5px; }
  .food-grid--menu .choice-label { width: 100%; font-size: 10.5px; }
}

/* Suppléments dans le panier : menu déroulant par pizza, suppléments choisis retirables */
.supps { display: grid; gap: 8px; }
.supp-select {
  width: 100%;
  min-height: 40px;
  padding: 8px 36px 8px 12px;
  border: 1px solid var(--blue-deep);
  border-radius: var(--radius);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5l4-4' fill='none' stroke='%230b1f5c' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center / 12px;
  color: var(--blue-deep);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  appearance: none;
  cursor: pointer;
}
.supp-select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.supp-chosen { display: flex; flex-wrap: wrap; gap: 6px; }
.supp-chosen li {
  display: inline-flex; align-items: center; gap: 2px;
  min-height: 34px;
  padding: 3px 3px 3px 11px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: 0.03em;
}
.supp-chosen small { margin-left: 4px; font-size: 12px; color: var(--yellow); }
.supp-remove {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.supp-remove svg { width: 11px; height: 11px; }
.supp-remove:hover { color: var(--yellow); }
.supp-note { font-size: 12.5px; color: var(--ink-muted); }
.cart-totals .grand small { margin-left: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-muted); }
/* Sur téléphone, 16 px minimum : sinon l'iPhone zoome en ouvrant le menu */
@media (pointer: coarse) {
  .supp-select, .chip-select, .line-note { font-size: 16px; }
}

/* Liste dépliable des suppléments, sur la carte */
.supps-list {
  margin-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--blue-deep);
  border-bottom: 1px solid var(--line-light);
}
.supps-list summary {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  padding: 18px 44px 18px 0;
  list-style: none;
  cursor: pointer;
}
.supps-list summary::-webkit-details-marker { display: none; }
.supps-list summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  line-height: 1;
  color: var(--red);
}
.supps-list[open] summary::after { content: "−"; }
.supps-list-title { font-size: 15px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.supps-list summary:hover .supps-list-title { text-decoration: underline; text-underline-offset: 4px; }
.supps-list-meta { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.supps-list-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 28px 40px;
  padding: 6px 0 32px;
}
.supps-group h3 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--blue-deep);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.supps-group li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 15px;
}
.supps-group .price { font-size: 15px; }

.cart-totals { display: grid; gap: 6px; margin-top: 18px; font-variant-numeric: tabular-nums; }
.cart-totals > div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.cart-totals .grand { padding-top: 10px; border-top: 1px solid var(--blue-deep); font-size: 20px; font-weight: 600; color: var(--blue); }
.cart-totals .discount { color: var(--red); }
.cart-totals-note { font-size: 13px; color: var(--ink-muted); }
.cart-alcohol { margin-top: 16px; padding: 10px 12px; border: 1px solid var(--line-light); border-left: 3px solid var(--red); font-size: 13px; line-height: 1.45; color: var(--ink-muted); }
.cart-foot .footnote a { color: inherit; text-underline-offset: 2px; }

/* Formulaire */
.cart-form { display: grid; gap: 18px; margin-top: 32px; }
.cart-form h3 {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--blue-deep);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
.field-label { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.field-label small { font-size: 12px; text-transform: none; letter-spacing: 0.02em; }
.field-input {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--blue-deep);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue-deep);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.field-input:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field-input[aria-invalid="true"] { border-color: var(--red); outline-color: var(--red); }
select.field-input {
  padding-right: 36px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5l4-4' fill='none' stroke='%230b1f5c' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center / 12px;
  appearance: none;
}
textarea.field-input { min-height: 88px; resize: vertical; }
.line-note { min-height: 40px; padding: 8px 10px; font-size: 15px; }
.field-note { font-size: 13px; color: var(--ink-muted); }
.field-error { font-size: 13px; color: var(--red); }
.field-error[hidden] { display: none; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--blue-deep); border-radius: var(--radius); }
.segmented label {
  position: relative;
  display: grid; place-items: center;
  min-height: 46px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.segmented label + label { border-left: 1px solid var(--blue-deep); }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented label.is-on { background: var(--blue); color: var(--white); }
.segmented label:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.4; cursor: pointer; }
.check[hidden] { display: none; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.check small { display: block; font-size: 13px; color: var(--ink-muted); }

/* Coordonnées mémorisées sur l'appareil du client */
.check-remember { padding-top: 18px; border-top: 1px solid var(--line-light); }
.cart-remembered {
  padding: 12px 14px;
  border-left: 4px solid var(--blue);
  background: var(--white);
  font-size: 14px;
  line-height: 1.45;
}
.cart-remembered[hidden] { display: none; }
.btn-reorder { max-width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
.link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: var(--red); }

/* Pied du panneau */
.cart-foot {
  display: grid; gap: 10px;
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-light);
  background: var(--cream);
}
.cart-foot[hidden] { display: none; }
.cart-foot-total { display: flex; align-items: baseline; justify-content: space-between; font-size: 15px; }
.cart-foot-total strong { font-size: 20px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.btn-send { width: 100%; min-height: 54px; background: var(--red); border-color: var(--red); color: var(--white); font-size: 16px; }
.btn-send:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.btn-send svg { width: 20px; height: 20px; }
.cart-foot .footnote { color: var(--ink-muted); text-align: center; }

.cart-done { display: grid; justify-items: center; gap: 16px; padding: 56px 0 24px; text-align: center; }
.cart-done[hidden] { display: none; }
.cart-done-icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  background: var(--blue); color: var(--yellow);
}
.cart-done-icon svg { width: 30px; height: 30px; }
.cart-done h3 { font-size: 22px; font-weight: 500; letter-spacing: 0.04em; color: var(--blue); }
.cart-done p { max-width: 28em; color: var(--ink-muted); }
.cart-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-blue { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.btn-ghost-dark { background: transparent; border-color: var(--blue-deep); color: var(--blue-deep); }
.btn-ghost-dark:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }

@media (max-width: 480px) {
  .cart-head { padding: 12px 16px; }
  .cart-body { padding: 0 16px 24px; }
  .cart-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
}
