/* ==========================================================================
   Pizzeria Gusto — Halanzy (Aubange)
   Feuille de styles principale
   Auteur : intégration sur mesure — HTML/CSS/JS natif, sans dépendance.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Polices auto-hébergées (RGPD : aucun appel vers un serveur tiers)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Jetons de design
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs */
  --ink:        #14110f;
  --ink-soft:   #1e1917;
  --ink-line:   #2c2523;
  --cream:      #faf6ee;
  --cream-2:    #f1e9db;
  --cream-3:    #e3d7c2;
  --rosso:      #a3121f;
  --rosso-dark: #7d0d18;
  --oro:        #d8a657;
  --basilico:   #5b7a4b;

  --txt:        #2a2320;
  --txt-soft:   #6b5f58;
  --txt-invert: #faf6ee;
  --txt-invert-soft: rgba(250, 246, 238, .68);

  /* Typographie */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Échelle fluide */
  --step--1: clamp(.82rem, .79rem + .12vw, .89rem);
  --step-0:  clamp(1rem, .96rem + .18vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.12rem + .38vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.34rem + .78vw, 2rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.45vw, 2.85rem);
  --step-4:  clamp(2.4rem, 1.82rem + 2.85vw, 4.4rem);

  /* Rythme */
  --gap:   clamp(1.1rem, .9rem + 1vw, 1.75rem);
  --pad-y: clamp(3.6rem, 2.4rem + 5vw, 7.5rem);
  --shell: 1220px;

  /* Divers */
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 1px 2px rgba(20,17,15,.05), 0 12px 32px -12px rgba(20,17,15,.18);
  --shadow-lg: 0 2px 4px rgba(20,17,15,.06), 0 30px 60px -24px rgba(20,17,15,.35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 82px;
}

/* --------------------------------------------------------------------------
   3. Réinitialisation
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--font-ui);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--txt);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

/* <picture> est un simple conteneur : il doit épouser la taille de son parent
   pour que l'`object-fit` de l'image à l'intérieur fonctionne réellement. */
.hero__media picture,
.page-hero__media picture,
.dish__media picture,
.split__media picture,
.gallery picture { display: block; width: 100%; height: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
}
p { text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }

:focus-visible {
  outline: 3px solid var(--rosso);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible {
  outline-color: var(--oro);
}

::selection { background: var(--rosso); color: var(--cream); }

/* --------------------------------------------------------------------------
   4. Utilitaires
   -------------------------------------------------------------------------- */
.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}
@media (max-width: 520px) { .shell { width: min(100% - 2rem, var(--shell)); } }

.section { padding-block: var(--pad-y); }
.section--tight { padding-block: calc(var(--pad-y) * .62); }
.section--dark { background: var(--ink); color: var(--txt-invert); }
.section--warm { background: var(--cream-2); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100%;
  z-index: 200;
  background: var(--rosso); color: var(--cream);
  padding: .7rem 1.2rem; border-radius: 0 0 8px 8px;
  font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* Sur-titre */
.eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .35rem .6rem;
  font-family: var(--font-ui);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rosso);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; flex: none; width: 28px; height: 1px; background: currentColor; opacity: .55;
}
.section--dark .eyebrow { color: var(--oro); }

.section-title { font-size: var(--step-3); }
.section-lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--txt-soft);
  max-width: 56ch;
  margin-top: 1rem;
}
.section--dark .section-lede { color: var(--txt-invert-soft); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 1.4rem + 2.5vw, 3.6rem); }
.section-head--split {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: var(--gap);
}
.section-head--split > div { max-width: 62ch; }

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--rosso);
  --btn-fg: var(--cream);
  --btn-bd: var(--rosso);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.7rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(163,18,31,.6); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--txt);
  --btn-bd: rgba(42,35,32,.28);
}
.btn--ghost:hover { --btn-bd: var(--txt); box-shadow: none; }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-bd: rgba(250,246,238,.4);
}
.btn--ghost-light:hover { --btn-bd: var(--cream); --btn-bg: rgba(250,246,238,.08); box-shadow: none; }

.btn--gold { --btn-bg: var(--oro); --btn-fg: var(--ink); --btn-bd: var(--oro); }
.btn--gold:hover { box-shadow: 0 10px 22px -10px rgba(216,166,87,.65); }

.btn--sm { padding: .62rem 1.15rem; font-size: var(--step--1); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* --------------------------------------------------------------------------
   6. Statut d'ouverture (calculé en direct)
   -------------------------------------------------------------------------- */
.status {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .42rem 1rem .42rem .8rem;
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .01em;
  background: rgba(250,246,238,.1);
  border: 1px solid rgba(250,246,238,.22);
  color: var(--cream);
  backdrop-filter: blur(6px);
}
.status__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--txt-soft); flex: none;
}
.status[data-state='open'] .status__dot {
  background: #63c07a;
  box-shadow: 0 0 0 0 rgba(99,192,122,.7);
  animation: pulse 2.4s infinite;
}
.status[data-state='soon'] .status__dot { background: var(--oro); }
.status[data-state='closed'] .status__dot { background: #d1584a; }
@keyframes pulse {
  70%  { box-shadow: 0 0 0 8px rgba(99,192,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(99,192,122,0); }
}
.status--light {
  background: rgba(20,17,15,.05);
  border-color: rgba(20,17,15,.12);
  color: var(--txt);
}

/* --------------------------------------------------------------------------
   7. En-tête
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  color: var(--cream);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
              color .3s var(--ease), height .3s var(--ease);
}
.site-header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,17,15,.72), rgba(20,17,15,0));
  opacity: 1; transition: opacity .3s var(--ease);
  pointer-events: none;
}
.site-header.is-stuck {
  background: rgba(20,17,15,.94);
  backdrop-filter: saturate(150%) blur(12px);
  box-shadow: 0 1px 0 rgba(250,246,238,.08), 0 12px 30px -18px rgba(0,0,0,.9);
  height: 66px;
}
.site-header.is-stuck::before { opacity: 0; }

/* Variante pour les pages sans grand visuel en tête */
.site-header--solid {
  background: rgba(20,17,15,.96);
  backdrop-filter: saturate(150%) blur(12px);
}
.site-header--solid::before { opacity: 0; }

.site-header .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap); width: min(100% - 2.5rem, var(--shell));
  position: relative;
}

.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; color: inherit;
  flex: none;
}
.brand__logo {
  height: 52px; width: auto;
  transition: height .3s var(--ease);
}
.site-header.is-stuck .brand__logo { height: 44px; }
.brand--full .brand__logo { height: 74px; }
@media (max-width: 520px) {
  .brand__logo { height: 40px; }
  .brand--full .brand__logo { height: 64px; }
}

.nav { display: flex; align-items: center; gap: clamp(1rem, .3rem + 1.4vw, 2rem); }
.nav__list {
  display: flex; align-items: center; gap: clamp(1rem, .3rem + 1.4vw, 2rem);
  list-style: none; padding: 0; margin: 0;
}
.nav__link {
  position: relative;
  text-decoration: none;
  font-size: .95rem; font-weight: 500;
  padding-block: .4rem;
  opacity: .88;
  transition: opacity .18s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--oro);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current='page']::after { transform: scaleX(1); }
.nav__link[aria-current='page'] { opacity: 1; }

.header-cta { display: inline-flex; align-items: center; gap: .7rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(250,246,238,.28);
  border-radius: 10px; color: inherit;
}
.nav-toggle__bars { position: relative; width: 19px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 1.6px;
  background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5.2px; }
.nav-toggle__bars span:nth-child(3) { top: 10.4px; }
[aria-expanded='true'] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
[aria-expanded='true'] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
[aria-expanded='true'] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: absolute; top: calc(100% + .6rem); right: 0;
    flex-direction: column; align-items: stretch;
    min-width: min(280px, 78vw);
    background: var(--ink-soft);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    padding: .6rem;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__link {
    display: block; padding: .85rem 1rem; border-radius: 10px; font-size: 1.02rem;
  }
  .nav__link:hover { background: rgba(250,246,238,.06); }
  .nav__link::after { display: none; }
  .nav__link[aria-current='page'] { color: var(--oro); }
  .nav .btn { margin: .5rem; }
}

/* --------------------------------------------------------------------------
   8. Barre d'action mobile
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: none;
  gap: .55rem;
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(20,17,15,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(250,246,238,.1);
}
.mobile-bar .btn { flex: 1; padding-inline: .8rem; font-size: .92rem; }
@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(100svh, 880px);
  display: grid; align-items: end;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(20,17,15,.94) 0%, rgba(20,17,15,.62) 38%, rgba(20,17,15,.28) 68%, rgba(20,17,15,.55) 100%),
    radial-gradient(120% 80% at 15% 100%, rgba(125,13,24,.34), transparent 62%);
}

/* Sur mobile, le cadrage de la photo est très resserré : on renforce le voile
   pour garantir le contraste du texte (WCAG AA). */
@media (max-width: 720px) {
  .hero::after {
    background:
      linear-gradient(to top, rgba(20,17,15,.95) 0%, rgba(20,17,15,.82) 45%, rgba(20,17,15,.6) 78%, rgba(20,17,15,.72) 100%),
      radial-gradient(120% 60% at 15% 100%, rgba(125,13,24,.34), transparent 62%);
  }
}

.hero__inner { max-width: 46rem; }
.hero__title {
  font-size: var(--step-4);
  font-weight: 600;
  letter-spacing: -.025em;
  margin-block: 1.1rem .9rem;
}
.hero__title em {
  font-style: italic;
  color: var(--oro);
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}
.hero__lede {
  font-size: var(--step-1);
  color: var(--txt-invert-soft);
  max-width: 40ch;
  margin-bottom: 2rem;
}
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.6rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(250,246,238,.16);
  font-size: var(--step--1);
  color: var(--txt-invert-soft);
}
.hero__meta strong { color: var(--cream); font-weight: 600; }
.hero__meta-item { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta-item svg { width: 1.05em; height: 1.05em; opacity: .7; flex: none; }

/* Bandeau défilant */
.ticker {
  background: var(--rosso);
  color: var(--cream);
  overflow: hidden;
  padding-block: .8rem;
  font-family: var(--font-display);
  font-size: clamp(.95rem, .88rem + .3vw, 1.15rem);
  letter-spacing: .02em;
  user-select: none;
}
.ticker__track {
  display: flex; width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker__group { display: flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; }
.ticker__group span { display: inline-flex; align-items: center; gap: 2.6rem; white-space: nowrap; }
.ticker__group span::after {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(250,246,238,.6);
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* --------------------------------------------------------------------------
   10. Atouts
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--cream-3);
  border: 1px solid var(--cream-3);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  background: var(--cream);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
  display: flex; flex-direction: column; gap: .55rem;
}
.pillar__icon,
.card__icon {
  display: block;
  width: 30px; height: 30px;
  color: var(--rosso);
  margin-bottom: .5rem;
}
.pillar__icon svg,
.card__icon svg { width: 100%; height: 100%; }
.pillar h3 { font-size: var(--step-1); }
.pillar p { font-size: var(--step--1); color: var(--txt-soft); line-height: 1.6; }

/* --------------------------------------------------------------------------
   11. Cartes plats (signatures)
   -------------------------------------------------------------------------- */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: var(--gap);
}
.dish {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--cream-3);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.section--dark .dish {
  background: var(--ink-soft);
  border-color: var(--ink-line);
}
.dish:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.dish__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.dish__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.dish:hover .dish__media img { transform: scale(1.055); }
.dish__body { padding: 1.35rem 1.4rem 1.55rem; display: flex; flex-direction: column; flex: 1; gap: .5rem; }
.dish__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.dish__name { font-size: var(--step-1); }
.dish__price {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--rosso);
  white-space: nowrap;
}
.section--dark .dish__price { color: var(--oro); }
.dish__desc { font-size: var(--step--1); color: var(--txt-soft); line-height: 1.6; }
.section--dark .dish__desc { color: var(--txt-invert-soft); }
.dish__badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--ink); color: var(--cream);
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .38rem .8rem; border-radius: 999px;
}
.section--dark .dish__badge { background: var(--oro); color: var(--ink); }

/* --------------------------------------------------------------------------
   12. Bloc éditorial deux colonnes
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }
@media (max-width: 780px) { .split--reverse > *:first-child { order: 0; } }

.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--radius);
  aspect-ratio: 4 / 5; object-fit: cover;
}
.split__media--tall img { aspect-ratio: 3 / 4; }
.split__stamp {
  position: absolute; right: -14px; bottom: -18px;
  background: var(--rosso); color: var(--cream);
  border-radius: var(--radius);
  padding: 1.05rem 1.35rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 190px;
}
.split__stamp strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem; line-height: 1; font-weight: 700;
}
.split__stamp span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }

.prose > * + * { margin-top: 1.1rem; }
.prose p { color: var(--txt-soft); }
.section--dark .prose p { color: var(--txt-invert-soft); }
.prose strong { color: var(--txt); font-weight: 600; }
.section--dark .prose strong { color: var(--cream); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1.4rem; margin-top: 2.2rem; }
.fact strong {
  display: block;
  font-family: var(--font-display); font-size: var(--step-2); font-weight: 700;
  color: var(--rosso); line-height: 1;
}
.section--dark .fact strong { color: var(--oro); }
.fact span { font-size: var(--step--1); color: var(--txt-soft); }
.section--dark .fact span { color: var(--txt-invert-soft); }

/* --------------------------------------------------------------------------
   13. Aperçu de carte / listes de prix
   -------------------------------------------------------------------------- */
.menu-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.6rem, 1rem + 2.5vw, 3.4rem);
}
.menu-col h3 {
  font-size: var(--step-1);
  padding-bottom: .8rem;
  margin-bottom: .4rem;
  border-bottom: 1.5px solid var(--rosso);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.menu-col h3 small {
  font-family: var(--font-ui); font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--txt-soft);
}
.section--dark .menu-col h3 { border-color: var(--oro); }
.section--dark .menu-col h3 small { color: var(--txt-invert-soft); }

.price-list { list-style: none; padding: 0; margin: 0; }
.price-item { padding-block: .85rem; border-bottom: 1px dashed var(--cream-3); }
.section--dark .price-item { border-color: var(--ink-line); }
.price-item:last-child { border-bottom: 0; }
.price-item__head {
  display: flex; align-items: baseline; gap: .7rem;
  font-weight: 600;
}
.price-item__name { font-size: var(--step-0); }
.price-item__dots {
  flex: 1;
  border-bottom: 1.5px dotted #d3c3a8;
  transform: translateY(-.28em);
  min-width: 1.5rem;
}
.section--dark .price-item__dots { border-color: rgba(250,246,238,.22); }
.price-item__price { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.price-item__desc {
  font-size: var(--step--1); color: var(--txt-soft);
  margin-top: .2rem; max-width: 62ch;
}
.section--dark .price-item__desc { color: var(--txt-invert-soft); }
.price-item__tags { display: inline-flex; gap: .35rem; margin-left: .1rem; }
/* Desserts : pas de prix affiché, le nom occupe toute la ligne. */
.price-item--noprice .price-item__head { gap: .5rem; }

.tag {
  display: inline-flex; align-items: center;
  font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .16rem .5rem; border-radius: 999px;
  border: 1px solid currentColor;
  vertical-align: .12em;
}
.tag--veggie   { color: #4e6a40; }
.tag--mer      { color: #3d6f8e; }
.tag--piquant  { color: var(--rosso); }
.tag--signature{ color: #7d5c1c; }
.tag--nouveau  { color: var(--ink); background: var(--oro); border-color: var(--oro); }
.section--dark .tag--signature { color: var(--oro); }
.section--dark .tag--mer { color: #7db6d6; }
.section--dark .tag--veggie { color: #8fbd77; }

/* --------------------------------------------------------------------------
   14. Page carte : navigation + filtres
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 5rem));
  padding-bottom: clamp(2.6rem, 2rem + 3vw, 4.5rem);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .48; }
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(20,17,15,.82), rgba(20,17,15,.94));
}
.page-hero h1 { font-size: var(--step-3); margin-bottom: .8rem; }
.page-hero p { color: var(--txt-invert-soft); max-width: 58ch; font-size: var(--step-1); }
.page-hero .status { font-size: var(--step--1); max-width: none; color: var(--cream); }

.breadcrumb { font-size: var(--step--1); color: var(--txt-invert-soft); margin-bottom: 1.4rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: .5rem; opacity: .5; }
.breadcrumb a { text-decoration: none; opacity: .85; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }

.menu-toolbar {
  position: sticky; top: 66px; z-index: 60;
  background: rgba(250,246,238,.94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--cream-3);
  padding-block: .85rem;
}
.menu-toolbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; }

.search {
  position: relative; flex: 1 1 230px; max-width: 340px;
}
.search svg {
  position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  width: 1.05rem; height: 1.05rem; color: var(--txt-soft); pointer-events: none;
}
.search input {
  width: 100%;
  padding: .68rem 1rem .68rem 2.55rem;
  border: 1.5px solid var(--cream-3);
  border-radius: 999px;
  background: var(--cream);
  font-size: var(--step--1);
}
.search input:focus { border-color: var(--rosso); outline: none; box-shadow: 0 0 0 3px rgba(163,18,31,.16); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  padding: .5rem 1rem;
  border: 1.5px solid var(--cream-3);
  border-radius: 999px;
  background: transparent;
  font-size: var(--step--1); font-weight: 600;
  color: var(--txt-soft);
  transition: all .18s var(--ease);
}
.chip:hover { border-color: var(--txt-soft); color: var(--txt); }
.chip[aria-pressed='true'] {
  background: var(--ink); border-color: var(--ink); color: var(--cream);
}

.menu-jump { display: flex; flex-wrap: wrap; gap: .4rem; margin-left: auto; }
.menu-jump a {
  font-size: var(--step--1); text-decoration: none; color: var(--txt-soft);
  padding: .5rem .8rem; border-radius: 999px;
}
.menu-jump a:hover { background: var(--cream-2); color: var(--txt); }
@media (max-width: 940px) { .menu-jump { display: none; } }

.menu-section { padding-block: clamp(2.4rem, 1.8rem + 2.5vw, 4rem); }
.menu-section + .menu-section { border-top: 1px solid var(--cream-3); }
.menu-section__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .8rem; margin-bottom: 1.8rem;
}
.menu-section__head h2 { font-size: var(--step-2); }
.menu-section__count { font-size: var(--step--1); color: var(--txt-soft); }
.menu-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 0 clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  list-style: none; padding: 0; margin: 0;
}
.menu-empty {
  display: none;
  text-align: center; padding: 4rem 1rem; color: var(--txt-soft);
}
.menu-empty.is-visible { display: block; }
[hidden] { display: none !important; }

.note {
  font-size: var(--step--1);
  color: var(--txt-soft);
  background: var(--cream-2);
  border-left: 3px solid var(--rosso);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.supp-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: .5rem 1.6rem; list-style: none; padding: 0; margin: 0;
}
.supp-grid li {
  display: flex; align-items: baseline; gap: .6rem;
  padding-block: .5rem; border-bottom: 1px dashed var(--cream-3);
  font-size: var(--step--1);
}
.supp-grid li span:first-child { flex: 1; }
.supp-grid li b { font-family: var(--font-display); white-space: nowrap; }

.zones { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.zones li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.2rem;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--rosso);
}
.zones__villages { font-weight: 500; }
.zones__prix {
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-1);
  color: var(--rosso); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   15. Horaires
   -------------------------------------------------------------------------- */
.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .72rem .9rem;
  border-radius: 8px;
  font-size: var(--step-0);
}
.hours li + li { margin-top: 2px; }
.hours__day { font-weight: 500; text-transform: capitalize; }
.hours__time { font-variant-numeric: tabular-nums; color: var(--txt-soft); }
.section--dark .hours__time, .site-footer .hours__time { color: var(--txt-invert-soft); }
.hours li.is-closed .hours__time { color: var(--rosso); }
.section--dark .hours li.is-closed .hours__time { color: #e58273; }
.hours li.is-today {
  background: rgba(163,18,31,.09);
  box-shadow: inset 0 0 0 1px rgba(163,18,31,.22);
  font-weight: 600;
}
.section--dark .hours li.is-today, .site-footer .hours li.is-today {
  background: rgba(216,166,87,.13);
  box-shadow: inset 0 0 0 1px rgba(216,166,87,.28);
}
.section--dark .hours li.is-today .hours__time { color: var(--oro); }

/* --------------------------------------------------------------------------
   16. Infos pratiques / carte
   -------------------------------------------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: var(--gap);
}
.card {
  background: var(--cream);
  border: 1px solid var(--cream-3);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
}
.section--dark .card { background: var(--ink-soft); border-color: var(--ink-line); }
.card h3 { font-size: var(--step-1); margin-bottom: 1rem; }
.card__icon { margin-bottom: .9rem; }
.section--dark .card__icon { color: var(--oro); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list svg { width: 1.15rem; height: 1.15rem; flex: none; margin-top: .28rem; color: var(--rosso); }
.section--dark .contact-list svg { color: var(--oro); }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; font-size: var(--step--1); color: var(--txt-soft); font-weight: 400; }
.section--dark .contact-list small { color: var(--txt-invert-soft); }

.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--cream-3);
  min-height: 340px;
  display: grid;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-consent {
  display: grid; place-content: center; justify-items: center; gap: .9rem;
  text-align: center; padding: 2.5rem 1.5rem;
  background:
    linear-gradient(rgba(250,246,238,.82), rgba(250,246,238,.82)),
    repeating-linear-gradient(45deg, var(--cream-2) 0 12px, var(--cream) 12px 24px);
}
.map-consent p { font-size: var(--step--1); color: var(--txt-soft); max-width: 40ch; }

/* --------------------------------------------------------------------------
   17. Avis / réputation
   -------------------------------------------------------------------------- */
.rating-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--gap);
}
.rating {
  text-align: center;
  padding: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem) 1.2rem;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
}
.rating__score {
  font-family: var(--font-display); font-size: var(--step-3); font-weight: 700;
  color: var(--oro); line-height: 1;
}
.rating__score sup { font-size: .42em; opacity: .6; font-weight: 600; }
.rating__stars { display: flex; justify-content: center; gap: .18rem; margin: .7rem 0 .5rem; }
.rating__stars svg { width: 1rem; height: 1rem; color: var(--oro); }
.rating__source { font-size: var(--step--1); color: var(--txt-invert-soft); }
.rating__source strong { display: block; color: var(--cream); font-weight: 600; font-size: var(--step-0); }

/* --------------------------------------------------------------------------
   18. Galerie
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: .8rem;
}
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream-2); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:nth-child(1) { grid-column: span 2; }
.gallery figure:nth-child(1) img { aspect-ratio: 2 / 1; }
@media (max-width: 620px) {
  .gallery figure:nth-child(1) { grid-column: span 1; }
  .gallery figure:nth-child(1) img { aspect-ratio: 1; }
}

/* --------------------------------------------------------------------------
   19. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: .7rem; max-width: 62rem; }
.faq details {
  background: var(--cream);
  border: 1px solid var(--cream-3);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq details[open] { border-color: var(--rosso); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 1.3rem; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--rosso); border-bottom: 2px solid var(--rosso);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq .faq__body { padding: 0 1.3rem 1.3rem; color: var(--txt-soft); font-size: var(--step-0); }
.faq .faq__body > * + * { margin-top: .7rem; }

/* --------------------------------------------------------------------------
   20. Formulaire
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--step--1); font-weight: 600; }
.field label .req { color: var(--rosso); }
.field input, .field textarea, .field select {
  padding: .8rem 1rem;
  border: 1.5px solid var(--cream-3);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: var(--step-0);
  width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--rosso); box-shadow: 0 0 0 3px rgba(163,18,31,.16);
}
.field__hint { font-size: .78rem; color: var(--txt-soft); }
.form__consent { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--step--1); color: var(--txt-soft); }
.form__consent input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; flex: none; accent-color: var(--rosso); }

/* --------------------------------------------------------------------------
   21. Appel à l'action final
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--rosso);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(2.4rem, 1.8rem + 3vw, 4.2rem) clamp(1.6rem, 1rem + 3vw, 3.6rem);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 130% at 92% 8%, rgba(216,166,87,.32), transparent 58%);
}
.cta-band h2 { font-size: var(--step-3); max-width: 20ch; }
.cta-band p { margin-top: 1rem; max-width: 48ch; color: rgba(250,246,238,.86); }
.cta-band .btn-row { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   22. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--txt-invert);
  padding-block: clamp(3rem, 2.2rem + 3vw, 5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
}
.footer-grid h2 {
  font-family: var(--font-ui);
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--oro); margin-bottom: 1.1rem;
}
.footer-grid p, .footer-grid li { color: var(--txt-invert-soft); font-size: var(--step--1); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--cream); text-decoration: underline; }
.footer-brand .brand { margin-bottom: 1.1rem; }
.footer-brand p { max-width: 34ch; }

.socials { display: flex; gap: .55rem; margin-top: 1.3rem; }
.socials a {
  width: 40px; height: 40px; display: grid; place-content: center;
  border: 1px solid rgba(250,246,238,.2); border-radius: 50%;
  transition: all .18s var(--ease);
}
.socials a:hover { background: var(--oro); border-color: var(--oro); color: var(--ink); }
.socials svg { width: 1.05rem; height: 1.05rem; }

.footer-bottom {
  margin-top: clamp(2.4rem, 2rem + 2vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(250,246,238,.12);
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  justify-content: space-between; align-items: center;
  font-size: .8rem; color: rgba(250,246,238,.5);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--cream); text-decoration: underline; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* --------------------------------------------------------------------------
   23. Apparition au défilement
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   24. Impression — la carte doit tenir proprement sur papier
   -------------------------------------------------------------------------- */
@media print {
  :root { --pad-y: 1rem; }
  .site-header, .mobile-bar, .menu-toolbar, .site-footer, .page-hero__media,
  .cta-band, .btn, .ticker, .map-wrap, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 10.5pt; padding: 0; }
  .page-hero { background: #fff; color: #000; padding: 0 0 1rem; }
  .page-hero::before {
    content: ''; display: block;
    width: 190px; height: 98px;
    margin-bottom: 1rem;
    background: url('../img/logo-print.png') no-repeat left center / contain;
  }
  .page-hero::after { display: none; }
  .menu-list { grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
  .menu-section { padding-block: .6rem; break-inside: avoid; }
  .price-item { padding-block: .3rem; break-inside: avoid; }
  .price-item__desc { font-size: 8.5pt; }
  a[href]::after { content: ''; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
