/* ═══════════════════════════════════════════════════════════════════════════
   Antico Caffè — feuille unique de la vitrine et socle d'Antico Regalo (regalo.css s'y appuie).
   Système visuel décrit dans DESIGN.md : palette et contrastes mesurés, composants, mouvement.

    1. Polices            5. Mise en page        9. Mouvement
    2. Jetons (:root)     6. En-tête             10. Pages de la vitrine (accueil)
    3. Tons clair/sombre  7. Pied de page        11. La carte (menu.html)
    4. Base               8. Composants          12. Pages légales
                                                 13. Préférences : mouvement réduit, impression

   Règle d'or : une couleur, une ombre, un rayon ou une durée passe par un jeton (var(--…)).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Polices auto-hébergées (assets/fonts/, licence OFL : assets/fonts/OFL.txt) ──
   Mêmes fichiers que Google Fonts (variables, sous-ensembles latin et latin-ext), servis par le
   site : aucune adresse IP de visiteur ne part plus chez Google. Les styles déclarés reproduisent
   l'ancienne feuille Google Fonts : Cormorant Garamond romain 400-700, italique 400 et 600
   seulement (un italique 500 demandé s'affiche en 400, comme avant), Plus Jakarta Sans 400-800. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-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;
}

/* ═══════════════════════════════════════════════════════════════════════════
   2. JETONS
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  color-scheme: light; /* thème clair assumé : pas de bascule sombre imposée par le système */

  /* ── 2a. Palette de la maison (valeurs brutes, à ne pas employer en direct quand un rôle existe) ──
     Espresso : l'enseigne noire et le café. Crema : la façade, le lait chaud. Verde : le store de la
     terrasse. Aperitivo : l'orange du spritz. Oro : les lettres dorées de l'enseigne. Pistacchio et
     vino : touches rares (succès doux, danger). Contrastes mesurés : DESIGN.md. */
  --espresso-950: #1c140f;
  --espresso-900: #241a14;
  --espresso-800: #3a2b21;
  --espresso-600: #6a5545;
  --crema-50:  #fffaf3;
  --crema-100: #faf4ea;
  --crema-200: #f3e9d8;
  --crema-300: #e7d8c0;
  --verde-900: #11352a;
  --verde-800: #174331;
  --verde-700: #1d5a40;
  --verde-100: #e2ede4;
  --aperitivo-700: #a8401a;
  --aperitivo-500: #e05d28;
  --aperitivo-300: #f5a57f;
  --aperitivo-100: #fce6da;
  --oro-700: #765823;
  --oro-500: #c39b51;
  --oro-300: #e6cb92;
  --pistacchio-500: #97b476;
  --pistacchio-100: #eaf1de;
  --vino-700: #7c2a31;
  --vino-100: #f7e3e1;

  /* ── 2b. Rôles (ton clair, par défaut) — redéfinis par les tons sombres (§ 3) ── */
  --bg: var(--crema-100);
  --bg-alt: var(--crema-200);
  --surface: rgba(255, 250, 243, 0.88);
  --surface-strong: var(--crema-50);
  --surface-sunken: rgba(58, 43, 33, 0.05);
  --text: var(--espresso-900);
  --text-soft: var(--espresso-800);
  --text-muted: var(--espresso-600);
  --heading: var(--espresso-900);
  --accent: var(--aperitivo-700);         /* accent LISIBLE : surtitres, italiques des titres */
  --accent-deco: var(--aperitivo-500);    /* accent décoratif : grands aplats, pastilles, filets */
  --accent-tint: var(--aperitivo-100);
  --accent-line: rgba(168, 64, 26, 0.32);
  --ornament: var(--oro-500);             /* ✦, filets dorés : jamais pour du texte sur clair */
  --label: var(--oro-700);                /* petites étiquettes dorées lisibles */
  --link: var(--verde-700);
  --link-hover: var(--aperitivo-700);
  --line: rgba(58, 43, 33, 0.14);
  --line-strong: rgba(58, 43, 33, 0.28);
  --primary: var(--verde-700);
  --primary-hover: var(--verde-800);
  --on-primary: var(--crema-50);
  --focus: var(--aperitivo-700);
  --focus-ring: rgba(224, 93, 40, 0.28);
  --input-bg: #fffdf9;
  --input-border: #8f7b6a;
  --ok: #276343;
  --ok-bg: #e2efe3;
  --ko: #9b2e27;
  --ko-bg: #f8e2de;
  --warn: #7f5410;
  --warn-bg: #f8ecd4;
  --info: var(--verde-700);
  --info-bg: var(--verde-100);

  /* ── 2c. Typographie : deux polices locales, échelle fluide ── */
  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-display: clamp(2.75rem, 1.55rem + 5vw, 5.75rem);
  --fs-h1: clamp(2.35rem, 1.7rem + 3vw, 4.25rem);
  --fs-h2: clamp(1.9rem, 1.45rem + 2vw, 3.1rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.78rem;
  --lh-tight: 1.05;
  --lh-body: 1.65;

  /* ── 2d. Espacements (échelle de 4 px), grille ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --gutter: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --grid-gap: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
  --container: min(1240px, calc(100% - 2 * var(--gutter)));
  --container-narrow: min(46rem, calc(100% - 2 * var(--gutter)));
  --header-height: 76px;

  /* ── 2e. Rayons ── */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* ── 2f. Ombres douces, chaudes (jamais de noir pur) ── */
  --shadow-xs: 0 1px 2px rgba(36, 26, 20, 0.06);
  --shadow-sm: 0 2px 4px rgba(36, 26, 20, 0.04), 0 10px 22px -12px rgba(36, 26, 20, 0.24);
  --shadow-md: 0 4px 10px rgba(36, 26, 20, 0.05), 0 24px 46px -22px rgba(36, 26, 20, 0.32);
  --shadow-lg: 0 8px 20px rgba(36, 26, 20, 0.06), 0 40px 80px -32px rgba(28, 20, 15, 0.42);
  --shadow-ring: inset 0 0 0 1px rgba(255, 250, 243, 0.55);

  /* ── 2g. Mouvement ── */
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.2, 0.9, 0.3, 1.25);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 650ms;
  --reveal-distance: 18px;

  /* ── 2h. Plans (z-index) ── */
  --z-sticky: 40;
  --z-header: 50;
  --z-float: 60;
  --z-overlay: 90;
  --z-modal: 95;

  /* ── 2i. Anciens noms, gardés comme ALIAS (pages existantes, regalo.css) — ne pas en créer de nouveaux ── */
  --paper: var(--crema-100);
  --paper-soft: var(--crema-50);
  --paper-deep: var(--crema-300);
  --cream: var(--crema-100);
  --ink: var(--espresso-900);       /* toujours foncé, même en ton sombre (texte sur or) */
  --ink-soft: var(--espresso-800);
  --muted: var(--espresso-600);
  --rule: rgba(58, 43, 33, 0.42);
  --olive: var(--verde-700);
  --olive-deep: var(--verde-900);
  --olive-soft: var(--verde-100);
  --wine: var(--vino-700);
  --terracotta: var(--aperitivo-700);
  --terracotta-soft: var(--aperitivo-300);
  --gold: var(--oro-500);
  --gold-soft: var(--oro-300);
  --shadow-soft: var(--shadow-sm);
  --shadow: var(--shadow-md);
  --shadow-strong: var(--shadow-lg);
  --t-display: var(--fs-display);
  --t-h1: var(--fs-h1);
  --t-h2: var(--fs-h2);
  --t-h3: var(--fs-h3);
  --t-lead: var(--fs-lead);
  --t-body: var(--fs-body);
  --t-small: var(--fs-small);
  --t-eyebrow: var(--fs-xs);
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   3. TONS — un conteneur sombre redéfinit les rôles : les composants s'adaptent seuls
   (boutons, cartes, badges, champs, notices…). Ajouter class="tone-dark" à tout bloc sombre.
   ═══════════════════════════════════════════════════════════════════════════ */
.tone-dark,
.section--ink,
.section--olive,
.section--verde,
.site-footer,
.page-note-card--dark,
.r-modal__box,
.r-toast {
  --bg: var(--espresso-950);
  --bg-alt: var(--espresso-900);
  --surface: rgba(255, 250, 243, 0.06);
  --surface-strong: rgba(255, 250, 243, 0.1);
  --surface-sunken: rgba(0, 0, 0, 0.24);
  --text: var(--crema-100);
  --text-soft: rgba(250, 244, 234, 0.88);
  --text-muted: rgba(250, 244, 234, 0.76);
  --heading: var(--crema-100);
  --accent: var(--oro-300);
  --accent-deco: var(--oro-500);
  --accent-tint: rgba(230, 203, 146, 0.16);
  --accent-line: rgba(230, 203, 146, 0.45);
  --ornament: var(--oro-500);
  --label: var(--oro-300);
  --link: var(--oro-300);
  --link-hover: var(--crema-50);
  --line: rgba(250, 244, 234, 0.14);
  --line-strong: rgba(250, 244, 234, 0.28);
  --primary: var(--oro-300);
  --primary-hover: #f0dcae;
  --on-primary: var(--espresso-950);
  --focus: var(--oro-300);
  --focus-ring: rgba(230, 203, 146, 0.3);
  --input-bg: rgba(0, 0, 0, 0.28);
  --input-border: rgba(250, 244, 234, 0.5);
  --ok: #9fd8b0;
  --ok-bg: rgba(159, 216, 176, 0.14);
  --ko: #f6b0a8;
  --ko-bg: rgba(246, 176, 168, 0.14);
  --warn: #f0d39a;
  --warn-bg: rgba(240, 211, 154, 0.14);
  --info: var(--oro-300);
  --info-bg: rgba(230, 203, 146, 0.12);
  --shadow-ring: inset 0 0 0 1px rgba(255, 250, 243, 0.04);
  color: var(--text);
}

/* Un îlot clair dans une zone sombre (carte crème posée sur l'espresso, par exemple). */
.tone-light {
  --surface: rgba(255, 250, 243, 0.88);
  --surface-strong: var(--crema-50);
  --surface-sunken: rgba(58, 43, 33, 0.05);
  --text: var(--espresso-900);
  --text-soft: var(--espresso-800);
  --text-muted: var(--espresso-600);
  --heading: var(--espresso-900);
  --accent: var(--aperitivo-700);
  --accent-deco: var(--aperitivo-500);
  --accent-tint: var(--aperitivo-100);
  --accent-line: rgba(168, 64, 26, 0.32);
  --label: var(--oro-700);
  --link: var(--verde-700);
  --link-hover: var(--aperitivo-700);
  --line: rgba(58, 43, 33, 0.14);
  --line-strong: rgba(58, 43, 33, 0.28);
  --primary: var(--verde-700);
  --primary-hover: var(--verde-800);
  --on-primary: var(--crema-50);
  --focus: var(--aperitivo-700);
  --focus-ring: rgba(224, 93, 40, 0.28);
  --input-bg: #fffdf9;
  --input-border: #8f7b6a;
  --ok: #276343;
  --ok-bg: #e2efe3;
  --ko: #9b2e27;
  --ko-bg: #f8e2de;
  --warn: #7f5410;
  --warn-bg: #f8ecd4;
  --info: var(--verde-700);
  --info-bg: var(--verde-100);
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════════════════
   4. 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-height) + 1rem);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--crema-100);
  /* Deux halos très doux (lumière du matin, reflet doré) : des dégradés, aucun filtre ni image. */
  background-image:
    radial-gradient(60rem 40rem at -10% -5%, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(40rem 30rem at 105% 0%, rgba(195, 155, 81, 0.14), transparent 65%);
  background-repeat: no-repeat;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: -0.012em;
  color: var(--heading);
  text-wrap: balance;
}

/* Cormorant dessine des chiffres elzéviriens (le « 1 » ressemble à un « I ») : pour un nombre qui
   porte une information (solde, prix, score), ajouter .num-lining. */
.num-lining {
  font-variant-numeric: lining-nums tabular-nums;
}

h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.3;
  color: var(--heading);
}

p,
li {
  text-wrap: pretty;
}

::selection {
  background: var(--verde-700);
  color: var(--crema-50);
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

:target {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

/* Cible du lien d'évitement : reçoit le focus sans cadre. */
main[tabindex="-1"]:focus {
  outline: none;
}

hr {
  height: 1px;
  margin: var(--space-6) 0;
  border: 0;
  background: var(--line);
}

code,
kbd {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Lien d'évitement : invisible jusqu'au premier Tab. */
.skip-link {
  position: absolute;
  top: -4rem;
  left: var(--gutter);
  z-index: calc(var(--z-header) + 1);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--espresso-900);
  color: var(--crema-50);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: top var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
  top: 0.75rem;
}

.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════════════════
   5. MISE EN PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.site-shell,
.page-shell {
  position: relative;
  overflow-x: clip; /* coupe les décors qui débordent, sans créer de zone de défilement (sticky intact) */
}

.container {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin-inline: auto;
}

.container--narrow {
  width: var(--container-narrow);
}

.section {
  position: relative;
  padding-block: var(--section-y);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

/* Fonds de section — clairs */
.section--paper {
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.9), rgba(250, 244, 234, 0.6));
}

.section--alt {
  background: var(--crema-200);
}

.section--accent {
  background:
    radial-gradient(50rem 30rem at 0% 0%, rgba(224, 93, 40, 0.08), transparent 60%),
    linear-gradient(180deg, var(--crema-200) 0%, var(--crema-100) 100%);
}

/* Fonds de section — sombres (le ton suit, § 3) */
.section--ink {
  background:
    radial-gradient(40rem 26rem at 8% 0%, rgba(195, 155, 81, 0.16), transparent 62%),
    radial-gradient(36rem 24rem at 100% 100%, rgba(224, 93, 40, 0.1), transparent 60%),
    linear-gradient(180deg, var(--espresso-900) 0%, var(--espresso-950) 100%);
}

.section--olive,
.section--verde {
  background:
    radial-gradient(40rem 26rem at 100% 0%, rgba(195, 155, 81, 0.16), transparent 62%),
    radial-gradient(36rem 24rem at 0% 100%, rgba(224, 93, 40, 0.08), transparent 60%),
    linear-gradient(180deg, var(--verde-800) 0%, var(--verde-900) 100%);
}

.section--contact {
  padding-block: clamp(4rem, 3rem + 4vw, 7rem);
}

/* Grilles utilitaires : colonnes qui se replient seules, sans requête média. */
.grid {
  display: grid;
  gap: var(--grid-gap);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); }

.stack > * + * {
  margin-top: var(--stack-gap, var(--space-4));
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cluster-gap, var(--space-3));
}

/* ═══════════════════════════════════════════════════════════════════════════
   6. EN-TÊTE (commun à la vitrine et à Regalo : includes/layout.php)
   ═══════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(250, 244, 234, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease-soft), border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
  view-transition-name: site-header; /* reste en place d'une page à l'autre (§ 9) */
}

.site-header.is-scrolled {
  background: rgba(250, 244, 234, 0.94);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  border-radius: var(--radius-sm);
}

.brand-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0.25rem;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--espresso-900);
  box-shadow: inset 0 0 0 1px rgba(195, 155, 81, 0.35), var(--shadow-xs);
  transition: transform var(--dur) var(--ease-spring);
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.03);
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.brand-copy strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-deco);
  transition: left var(--dur) var(--ease-out), right var(--dur) var(--ease-out);
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(58, 43, 33, 0.05);
}

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: var(--verde-700);
}

.site-nav a:hover::after,
.site-nav a.is-active::after,
.site-nav a[aria-current="page"]::after {
  left: 0.7rem;
  right: 0.7rem;
}

.header-cta {
  flex: none;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  position: relative;
  flex: none;
  width: 2.9rem;
  height: 2.9rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.menu-toggle:hover {
  border-color: var(--text-muted);
}

.menu-toggle span:not(.sr-only) {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.05rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out);
}

.menu-toggle span:nth-child(2) {
  transform: translate(-50%, -4px);
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, 3px);
}

body.nav-open .menu-toggle span:nth-child(2) {
  transform: translate(-50%, -0.5px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translate(-50%, -0.5px) rotate(-45deg);
}

/* Le bouton d'appel cède sa place quand la place manque ; le téléphone reste dans la page. */
@media (max-width: 1240px) {
  .site-header .header-cta {
    display: none;
  }
}

/* Menu mobile : panneau sous l'en-tête, grandes cibles (48 px), voile sur la page, Échap ferme (script.js). */
@media (max-width: 1100px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    display: grid;
    gap: 0.15rem;
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    margin: 0;
    padding: 0.6rem var(--gutter) 1.2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: var(--crema-50);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity var(--dur-fast) var(--ease-soft), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity var(--dur-fast) var(--ease-soft), transform var(--dur) var(--ease-out), visibility 0s;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a.is-active,
  .site-nav a[aria-current="page"] {
    background: var(--verde-100);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-header) - 1);
    background: rgba(28, 20, 15, 0.32);
    animation: fade-in var(--dur) var(--ease-soft) both;
  }
}

@media (max-width: 380px) {
  .brand-copy small {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   7. PIED DE PAGE (commun) — marque | liens, puis adresse et liens légaux sur toute la largeur
   ═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
  position: relative;
  padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 2rem;
  background:
    radial-gradient(40rem 20rem at 100% 0%, rgba(195, 155, 81, 0.1), transparent 60%),
    var(--espresso-950);
  color: var(--text);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--verde-700) 0 33%, var(--oro-500) 33% 67%, var(--aperitivo-500) 67% 100%);
  opacity: 0.85;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.brand--footer .brand-copy small {
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.35rem;
}

.footer-nav a {
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(250, 244, 234, 0.06);
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.7;
}

.footer-note a {
  color: var(--text-soft);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out);
}

.footer-note a:hover {
  color: var(--text);
  text-decoration-color: currentColor;
}

/* Liens « Mentions légales · Confidentialité · Règlement » (site et Regalo). */
.footer-legal {
  display: block;
  margin-top: 0.25rem;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
    margin-left: -0.65rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   8. COMPOSANTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 8a. Titres de section, surtitre, chapeau ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "✦";
  color: var(--ornament);
  font-size: 0.95em;
  letter-spacing: 0;
}

.section-heading {
  position: relative;
  max-width: 58rem;
}

.section-heading h2 {
  margin: 0;
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.section-heading h2 em,
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--light,
.section-heading--light h2 {
  color: var(--heading);
}

.lead {
  max-width: 41rem;
  margin: 1.4rem 0 0;
  color: var(--text-muted);
  font-size: var(--fs-lead);
  line-height: 1.75;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.4rem auto;
  color: var(--ornament);
  font-size: 0.9rem;
}

.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  max-width: 5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* ── 8b. Boutons — .button (principal : vert du store ; or sur fond sombre) et variantes ── */
.button {
  --btn-bg: var(--primary);
  --btn-fg: var(--on-primary);
  --btn-bd: transparent;
  --btn-bg-hover: var(--primary-hover);
  --btn-fg-hover: var(--btn-fg);
  --btn-bd-hover: var(--btn-bd);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.875rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

.button:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-fg-hover);
  border-color: var(--btn-bd-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

.button > svg {
  flex: none;
  width: 1.1em;
  height: 1.1em;
}

.button--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
  --btn-bg-hover: var(--text);
  --btn-fg-hover: var(--bg);
  --btn-bd-hover: var(--text);
}

.button--ghost {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  --btn-bd: var(--line);
  --btn-bg-hover: var(--surface-strong);
  --btn-bd-hover: var(--line-strong);
}

.button--accent {
  --btn-bg: var(--aperitivo-700);
  --btn-fg: var(--crema-50);
  --btn-bg-hover: #8f3514;
}

.button--gold {
  --btn-bg: linear-gradient(135deg, var(--oro-300), var(--oro-500));
  --btn-fg: var(--espresso-950);
  --btn-bg-hover: linear-gradient(135deg, #f0dcae, var(--oro-300));
}

.button--danger {
  --btn-bg: var(--vino-700);
  --btn-fg: var(--crema-50);
  --btn-bg-hover: #62202a;
}

.button--link {
  --btn-bg: transparent;
  --btn-fg: var(--link);
  --btn-bg-hover: transparent;
  --btn-fg-hover: var(--link-hover);
  min-height: 0;
  padding: 0.2rem 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.button--link:hover {
  box-shadow: none;
  transform: none;
}

.button--sm {
  min-height: 2.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.button--lg {
  min-height: 3.35rem;
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

.button--block {
  display: flex;
  width: 100%;
}

.button[disabled],
.button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.button[aria-busy="true"] {
  cursor: progress;
}

/* Groupe de boutons : en ligne, ou empilé sur téléphone. */
.button-row,
.hero-actions,
.events-actions,
.contact-actions,
.hours-actions,
.avis-actions,
.map-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions,
.events-actions,
.contact-actions {
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .button-row--stack > .button,
  .hero-actions > .button,
  .events-actions > .button,
  .contact-actions > .button,
  .hours-actions > .button,
  .avis-actions > .button {
    flex: 1 1 100%;
  }
}

/* Lien de texte (dans un paragraphe). */
.link,
.prose a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-out);
}

.link:hover,
.prose a:hover {
  color: var(--link-hover);
}

/* ── 8c. Cartes ── */
.card {
  position: relative;
  padding: clamp(1.2rem, 1rem + 0.8vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-ring), var(--shadow-xs);
}

.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

.card--raised {
  background: var(--surface-strong);
  box-shadow: var(--shadow-ring), var(--shadow-md);
}

.card--accent {
  border-color: var(--accent-line);
  background: linear-gradient(135deg, var(--accent-tint), transparent 70%), var(--surface);
}

.card--sunken {
  background: var(--surface-sunken);
  box-shadow: none;
}

.card__label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--label);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.12;
}

.card__text {
  margin: 0;
  color: var(--text-muted);
}

/* Image encadrée, légende posée dessus. */
.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-sunken);
}

.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__caption,
.media > figcaption {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(28, 20, 15, 0.72);
  color: var(--crema-50);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ── 8d. Badges et pastilles ── */
.badge {
  display: inline-flex;
  font-family: var(--font-sans);
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge--ok { background: var(--ok-bg); color: var(--ok); }
.badge--ko { background: var(--ko-bg); color: var(--ko); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--info { background: var(--info-bg); color: var(--info); }
.badge--neutral { background: var(--surface-sunken); color: var(--text-soft); }
.badge--outline { background: transparent; border-color: var(--line-strong); color: var(--text-soft); }

.badge--dot::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.chip-list li,
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Pastille d'état (ouvert / fermé) : point animé discret. */
.service-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-strong);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-pill::before,
.status-pill::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
}

.service-pill.is-open,
.status-pill.is-open {
  color: var(--ok);
}

.service-pill.is-closed,
.status-pill.is-closed {
  color: var(--ko);
}

.service-pill.is-open::before,
.status-pill.is-open::before {
  animation: pulse-dot 2.4s var(--ease-soft) infinite;
}

/* ── 8e. Notices (messages dans la page : succès, erreur, avertissement, information) ── */
.notice {
  --notice-c: var(--accent);
  --notice-bg: var(--surface);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--notice-c);
  border-radius: var(--radius-sm);
  background: var(--notice-bg);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.notice > :last-child { margin-bottom: 0; }
.notice__icon { flex: none; color: var(--notice-c); font-size: 1.1rem; line-height: 1.45; }
.notice__title { display: block; margin-bottom: 0.15rem; font-weight: 700; }
.notice--ok { --notice-c: var(--ok); --notice-bg: var(--ok-bg); }
.notice--ko { --notice-c: var(--ko); --notice-bg: var(--ko-bg); }
.notice--warn { --notice-c: var(--warn); --notice-bg: var(--warn-bg); }
.notice--info { --notice-c: var(--info); --notice-bg: var(--info-bg); }

/* ── 8f. Formulaires ── */
.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field > label,
.label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.input,
.select,
.textarea,
.field input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  color: var(--text);
  font-size: 1rem; /* 16 px au moins : iOS ne zoome pas au focus */
  line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.textarea,
.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder,
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.input:focus,
.select:focus,
.textarea:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.input[aria-invalid="true"],
.field [aria-invalid="true"] {
  border-color: var(--ko);
}

.help {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.field-error {
  margin: 0;
  color: var(--ko);
  font-size: var(--fs-small);
  font-weight: 600;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.check input,
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--primary);
}

.check input {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.2rem 0 0;
}

/* ── 8g. Tableaux ── */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
}

.table th,
.table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table thead th {
  background: var(--surface-sunken);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table tbody tr:last-child > * {
  border-bottom: 0;
}

.table--zebra tbody tr:nth-child(even) {
  background: var(--surface-sunken);
}

.table .num {
  text-align: right;
  white-space: nowrap;
}

/* ── 8h. Flottants : barre de progression de lecture, retour en haut ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: calc(var(--z-header) + 1);
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--aperitivo-500), var(--oro-500));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: var(--z-float);
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--crema-50);
  color: var(--espresso-900);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease-soft), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur), box-shadow var(--dur-fast) var(--ease-out);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--dur) var(--ease-soft), transform var(--dur) var(--ease-out), visibility 0s, box-shadow var(--dur-fast) var(--ease-out);
}

.back-to-top:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Restes d'anciennes versions (grain animé, curseur maison) : retirés pour la fluidité, rien à afficher. */
.grain,
.cursor-dot,
.cursor-ring {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   9. MOUVEMENT — discret, jamais bloquant, coupé par prefers-reduced-motion (§ 13)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Apparition au défilement : script.js pose html.js, montre tout de suite ce qui est déjà à l'écran,
   et ne révèle le reste qu'à l'approche (IntersectionObserver). Sans JS : tout est visible.
   Variantes : .reveal--fade (fondu seul), .reveal--zoom ; décalage : style="--stagger: 1" (×70 ms).
   Une fois l'apparition jouée, script.js ajoute .reveal-done : l'élément retrouve SES transitions
   (survol d'une carte, par exemple) sans hériter du délai d'apparition. */
.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
}

.js .reveal--fade:not(.is-visible) {
  transform: none;
}

.js .reveal--zoom:not(.is-visible) {
  transform: scale(0.97);
}

.js .reveal.is-visible:not(.reveal-done) {
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 70ms);
}

/* Survols */
.hover-lift {
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-ring), var(--shadow-md);
  border-color: var(--line-strong);
}

.hover-zoom {
  overflow: hidden;
}

.hover-zoom img {
  transition: transform 900ms var(--ease-out);
}

.hover-zoom:hover img {
  transform: scale(1.035);
}

.link-underline {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--dur) var(--ease-out);
}

.link-underline:hover {
  background-size: 100% 1px;
}

/* Transition de page légère (fondu enchaîné entre deux pages du site, navigateurs récents ;
   ailleurs, navigation normale). L'en-tête, nommé, reste en place. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: vt-out 180ms var(--ease-soft) both;
  }

  ::view-transition-new(root) {
    animation: vt-in 320ms var(--ease-out) both;
  }
}

@keyframes vt-out {
  to { opacity: 0; }
}

@keyframes vt-in {
  from { opacity: 0; transform: translateY(6px); }
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes fade-up-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; }
  60% { box-shadow: 0 0 0 6px transparent; }
}

@keyframes marquee-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes float-stamp {
  0%, 100% { transform: rotate(-9deg) translateY(0); }
  50% { transform: rotate(-7deg) translateY(-5px); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   10. PAGES DE LA VITRINE — accueil (index.html). Tout passe par les jetons et les rôles (§ 2-3) ;
   les seules valeurs en dur sont les teintes rgba() des halos et des ombres.
   Décalage d'apparition : classes .stagger-1 à .stagger-4 (la CSP du site interdit les style="").
   ═══════════════════════════════════════════════════════════════════════════ */
.stagger-1 { --stagger: 1; }
.stagger-2 { --stagger: 2; }
.stagger-3 { --stagger: 3; }
.stagger-4 { --stagger: 4; }

/* Accent italique des grands titres (le même partout : l'orange lisible, l'or sur fond sombre). */
:where(.home-hero, .home-intro, .home-menu, .home-events, .home-visit, .home-regalo, .menu-hero) h1 em,
:where(.home-hero, .home-intro, .home-menu, .home-events, .home-visit, .home-regalo, .menu-hero) h2 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

/* Cormorant dessine des chiffres elzéviriens (« 11 » se lit « ıı ») : chiffres alignés dans les titres de la vitrine. */
:where(.page-home, .page-menu, .page-legal) :is(h1, h2, h3, .menu-entry__title, .dish-card__name, .home-hero__facts strong, .carte-photo figcaption) {
  font-variant-numeric: lining-nums;
}

:where(.home-intro, .home-menu, .home-events, .home-visit, .home-regalo) h2 {
  margin: 0;
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

:where(.home-intro, .home-menu, .home-events, .home-visit, .home-regalo) .lead {
  margin-top: 1.1rem;
}

/* Petites lignes d'information (mentions, liens secondaires). */
.fine-print {
  margin: 1.25rem 0 0;
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}

.panel-label {
  display: block;
  color: var(--label);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Pastille « ferme bientôt » (le point vert devient ambre). */
.status-pill.is-soon,
.service-pill.is-soon {
  color: var(--warn);
}

/* ── 10a. Bandeau d'accueil : texte, statut, photo en arche ── */
.home-hero {
  position: relative;
  overflow: clip;
  padding: clamp(2rem, 1rem + 4vw, 4.75rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem);
  background:
    radial-gradient(46rem 30rem at 92% 6%, rgba(224, 93, 40, 0.13), transparent 62%),
    radial-gradient(40rem 30rem at -8% 96%, rgba(29, 90, 64, 0.1), transparent 60%),
    linear-gradient(180deg, var(--crema-50) 0%, var(--crema-100) 100%);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.home-hero h1 {
  margin: 0;
  font-size: var(--fs-display);
  line-height: 0.95;
  letter-spacing: -0.028em;
}

.home-hero h1 em {
  display: block;
}

.home-hero .lead {
  max-width: 36rem;
  margin-top: 1.4rem;
}

.home-hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.1rem;
  margin-top: 1.7rem;
}

.home-hero__status .status-pill {
  margin: 0;
  box-shadow: var(--shadow-xs);
}

/* Sous 900 px, la pastille et « Aujourd'hui » tiennent sur une ligne ou deux selon le texte posé par
   script.js / antico-scapante.js après l'affichage (« Ouvert 7 jours sur 7 » → « Fermé · ouvre demain
   à 10 h ») : toujours l'un sous l'autre, pour que la mise à jour ne décale pas la page (CLS). */
@media (max-width: 900px) {
  .home-hero__status {
    flex-direction: column;
    align-items: flex-start;
  }
}

.home-hero__today {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.home-hero__today strong {
  margin-left: 0.3rem;
  color: var(--text);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.home-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.home-hero__facts span {
  display: block;
  color: var(--label);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-hero__facts strong {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.2;
}

.home-hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 32.5rem);
}

/* L'arche : rappel des vitrines cintrées de la place, double filet doré. */
.home-hero__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 34% 34% var(--radius-lg) var(--radius-lg);
  background: var(--crema-300);
  box-shadow: var(--shadow-lg);
}

.home-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0.65rem;
  border: 1px solid rgba(230, 203, 146, 0.75);
  border-radius: inherit;
  pointer-events: none;
}

.home-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-settle 1.6s var(--ease-out) both;
}

.home-hero__sketch {
  position: absolute;
  bottom: 2.25rem;
  left: -2.4rem;
  width: clamp(6.5rem, 4rem + 6vw, 9.5rem);
  margin: 0;
  overflow: hidden;
  border: 5px solid var(--crema-50);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transform: rotate(-7deg);
  animation: float-in 900ms 350ms var(--ease-out) both;
}

.home-hero__sketch img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.home-hero__badge {
  position: absolute;
  top: 2.4rem;
  right: -1.2rem;
  max-width: 12rem;
  margin: 0;
  padding: 0.75rem 1.1rem 0.8rem;
  border-radius: var(--radius-md);
  background: var(--espresso-950);
  color: var(--crema-100);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.15;
  box-shadow: var(--shadow-md);
  transform: rotate(4deg);
  animation: float-in 900ms 550ms var(--ease-out) both;
}

.home-hero__badge span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--oro-300);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── 10b. Bandeau défilant (seule animation continue de la page, coupée par le mouvement réduit) ── */
.marquee-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0.85rem 0;
  border-block: 1px solid rgba(195, 155, 81, 0.35);
  background: var(--espresso-950);
  color: var(--oro-300);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-run 42s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-inner {
  display: flex;
  align-items: center;
}

.marquee-inner span {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 1.6rem;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.55rem);
  font-style: italic;
  white-space: nowrap;
}

.marquee-inner span::after {
  content: "✦";
  color: var(--oro-500);
  font-size: 0.6em;
  font-style: normal;
}

/* ── 10c. La maison : texte, façade, une journée en quatre temps ── */
.home-intro {
  background: linear-gradient(180deg, var(--crema-100) 0%, var(--crema-50) 100%);
}

.home-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.home-intro__copy > p:not(.eyebrow):not(.lead) {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.home-intro__photo {
  position: relative;
  justify-self: center;
  width: min(100%, 29rem);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.home-intro__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.home-intro__photo:hover img {
  transform: scale(1.035);
}

.home-intro__photo figcaption {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  left: 0.85rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(28, 20, 15, 0.78);
  color: var(--crema-50);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.day-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin: clamp(2.75rem, 2rem + 3vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
}

/* Le fil de la journée : de l'or du matin à l'orange de l'aperitivo. */
.day-line::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--oro-500), var(--aperitivo-500));
  opacity: 0.55;
}

.day-line__item {
  position: relative;
}

.day-line__time {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.3rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface-strong);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.day-line__item h3 {
  margin: 1rem 0 0.4rem;
  font-size: var(--fs-h3);
}

.day-line__item p {
  margin: 0;
  color: var(--text-muted);
}

/* ── 10d. La carte en aperçu : cinq photos ── */
.home-menu__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 1rem 3rem;
  align-items: end;
}

.home-menu__head .lead {
  margin: 0;
}

.dish-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.dish-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-xs);
  color: inherit;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.dish-card__link:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.dish-card__link:focus-visible {
  outline-offset: 4px;
}

.dish-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--crema-300);
}

.dish-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.dish-card__link:hover .dish-card__media img {
  transform: scale(1.045);
}

.dish-card__body {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem 1.05rem;
}

.dish-card__kicker {
  color: var(--label);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dish-card__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.12;
}

.dish-card__price {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
}

.home-menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
}

.home-menu__foot .fine-print {
  max-width: 44rem;
  margin: 0;
}

/* ── 10e. Évènements : texte, agenda (Scapante), polaroïds ── */
.home-events__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.home-events__agenda {
  margin: 1.8rem 0;
}

.events-empty {
  padding: 1.15rem 1.3rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.events-empty p {
  margin: 0;
  color: var(--text-soft);
}

.events-empty .events-empty__title {
  margin-bottom: 0.35rem;
  color: var(--label);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-events__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: start;
  padding-bottom: 2.5rem;
}

/* Un îlot clair dans la section sombre. */
.polaroid {
  --text: var(--espresso-900);
  margin: 0;
  padding: 0.65rem 0.65rem 0;
  border-radius: 6px;
  background: var(--crema-50);
  color: var(--text);
  box-shadow: 0 24px 48px -22px rgba(0, 0, 0, 0.7);
  transform: rotate(-3deg);
  transition: transform var(--dur) var(--ease-out);
}

.polaroid--tilt {
  transform: translateY(2.5rem) rotate(4deg);
}

.polaroid:hover {
  transform: translateY(-4px) rotate(0deg);
}

.polaroid--tilt:hover {
  transform: translateY(2.1rem) rotate(0deg);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
}

.polaroid figcaption {
  padding: 0.55rem 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  text-align: center;
}

/* Agenda rendu depuis le flux (antico-scapante.js). */
.event-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.event-card.is-now {
  border-color: var(--accent-line);
}

.event-card__media {
  grid-row: 1;
  grid-column: 3;
  width: 5.5rem;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.event-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.event-card__date {
  grid-row: 1;
  grid-column: 1;
  display: grid;
  place-items: center;
  width: 3.6rem;
  padding: 0.5rem 0 0.45rem;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  color: var(--accent);
  line-height: 1;
  text-align: center;
}

.event-card__day {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
}

.event-card__month {
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-card__body {
  grid-row: 1;
  grid-column: 2;
  min-width: 0;
}

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.65rem;
  margin: 0 0 0.3rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.event-card__category {
  color: var(--label);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-card__title {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.12;
}

.event-card__text,
.event-card__extra {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.event-card__extra {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.event-card__action {
  margin: 0.75rem 0 0;
}

.event-card.is-cancelled .event-card__title {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* ── 10f. Nous trouver : adresse, horaires, carte Google au clic ── */
.home-visit {
  background:
    radial-gradient(38rem 26rem at 100% 0%, rgba(195, 155, 81, 0.14), transparent 62%),
    var(--crema-100);
}

.home-visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(19rem, 0.9fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}

.detail-list {
  display: grid;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-soft);
}

.detail-list li::before {
  content: "✦";
  position: absolute;
  top: 0.05em;
  left: 0;
  color: var(--ornament);
  font-size: 0.85em;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.social-links a:hover {
  border-color: currentColor;
  background: var(--surface-strong);
  color: var(--link);
}

.social-links svg {
  flex: none;
}

.hours-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 1rem + 1.2vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
}

/* Filet aux couleurs de la maison : vert du store, or de l'enseigne, orange du spritz. */
.hours-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--verde-700) 0 33%, var(--oro-500) 33% 67%, var(--aperitivo-500) 67% 100%);
}

.hours-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-bottom: 0.9rem;
}

.hours-card__head h3 {
  margin: 0;
  font-size: 2rem;
}

.hours-card__head .status-pill {
  margin: 0;
  font-size: 0.85rem;
}

.hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  padding: 0.75rem 0.6rem;
  border-bottom: 1px dashed var(--line-strong);
  border-radius: var(--radius-xs);
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-list li span {
  color: var(--text-soft);
}

.hours-list li em {
  color: var(--text-muted);
}

.hours-list li strong {
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.hours-list li small {
  flex-basis: 100%;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.hours-list li.is-today {
  border-bottom-color: transparent;
  background: var(--info-bg);
}

.hours-list li.is-today span {
  color: var(--text);
  font-weight: 700;
}

.hours-list li.is-today span::after {
  content: "aujourd’hui";
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 0.1em;
}

.hours-list li.is-closed strong {
  color: var(--ko);
}

.hours-special__title {
  margin: 1.2rem 0 0.25rem;
  color: var(--label);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hours-note {
  margin: 0.9rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hours-card__contact {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.hours-card__contact a {
  color: var(--link);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hours-card__contact a:hover {
  color: var(--link-hover);
}

.map-block {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* Carte Google chargée au clic seulement (script.js) : d'ici là, un plan dessiné en dégradés — adresse,
   bouton, lien — sans aucune requête vers Google. Même hauteur que la carte : rien ne saute. */
.map-consent {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: clamp(1.5rem, 4vw, 2.5rem) 1.25rem;
  background:
    radial-gradient(circle at 50% 46%, rgba(224, 93, 40, 0.2) 0 0.55rem, transparent 0.6rem),
    linear-gradient(115deg, transparent 0 43%, rgba(255, 250, 243, 0.85) 43% 46%, transparent 46%),
    linear-gradient(28deg, transparent 0 58%, rgba(255, 250, 243, 0.7) 58% 60%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(58, 43, 33, 0.06) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(58, 43, 33, 0.06) 0 1px, transparent 1px 34px),
    var(--crema-300);
}

.map-consent.is-loaded {
  display: block;
  min-height: 0;
  padding: 0;
  background: none;
}

.map-consent__panel {
  max-width: 34rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.map-consent__address {
  margin: 0.6rem 0 0.8rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.map-consent__note {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.map-consent__note a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-consent__actions {
  justify-content: center;
}

/* ── 10g. Antico Regalo : appel à rejoindre, trois étapes ── */
.home-regalo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.home-regalo .fine-print a {
  font-weight: 700;
}

.regalo-steps {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: regalo-step;
}

.regalo-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 2.75rem 1.2rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  counter-increment: regalo-step;
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}

.regalo-step:hover {
  border-color: var(--line-strong);
  background: var(--surface-strong);
}

.regalo-step::after {
  content: counter(regalo-step, decimal-leading-zero);
  position: absolute;
  top: 0.85rem;
  right: 1.1rem;
  color: var(--ornament);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-variant-numeric: lining-nums;
}

.regalo-step__icon {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
}

.regalo-step h3 {
  margin: 0.15rem 0 0;
  font-size: 1.4rem;
}

.regalo-step p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pied de page : avertissement sanitaire (boissons alcoolisées sur la carte). */
.footer-health {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   11. LA CARTE (menu.html) — onglets collés sous l'en-tête, photos, groupes en cartes
   Classes lues aussi par l'outil de semis de Scapante et rendues par antico-scapante.js : ne pas
   renommer .carte-tab, .carte-panel, .menu-group*, .menu-entry*, .carte-price, .carte-note.
   ═══════════════════════════════════════════════════════════════════════════ */
.menu-hero {
  position: relative;
  overflow: clip;
  padding: clamp(2rem, 1rem + 3vw, 3.75rem) 0 clamp(1.25rem, 0.75rem + 2vw, 2.25rem);
  background:
    radial-gradient(40rem 26rem at 94% 0%, rgba(224, 93, 40, 0.12), transparent 60%),
    linear-gradient(180deg, var(--crema-50) 0%, var(--crema-100) 100%);
}

.menu-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 2rem;
  align-items: center;
}

.menu-hero h1 {
  margin: 0;
  font-size: var(--fs-h1);
  line-height: 0.98;
  letter-spacing: -0.024em;
}

.menu-hero .lead {
  margin-top: 1.1rem;
}

.menu-hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.menu-hero__notes > li {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-strong);
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.menu-hero__notes > li:first-child {
  padding: 0;
  border: 0;
  background: none;
}

.menu-hero__notes .status-pill {
  margin: 0;
  min-height: 2.6rem;
}

/* Même raison que .home-hero__status : sous 1 000 px, la pastille d'état a sa propre ligne, pour que
   son texte (posé après l'affichage) ne fasse pas passer les autres notes à la ligne. */
@media (max-width: 1000px) {
  .menu-hero__notes > li:first-child {
    flex-basis: 100%;
  }
}

.menu-hero__photos {
  position: relative;
  height: clamp(13rem, 6rem + 14vw, 17.5rem);
}

.menu-hero__photo {
  position: absolute;
  display: block;
  width: 44%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 4px solid var(--crema-50);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  animation: float-in 800ms var(--ease-out) both;
}

.menu-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-hero__photo--1 {
  top: 14%;
  left: 0;
  transform: rotate(-6deg);
  animation-delay: 150ms;
}

.menu-hero__photo--2 {
  top: 0;
  left: 28%;
  z-index: 1;
  transform: rotate(2deg);
  animation-delay: 280ms;
}

.menu-hero__photo--3 {
  top: 18%;
  right: 0;
  transform: rotate(7deg);
  animation-delay: 410ms;
}

.carte {
  padding-top: clamp(0.5rem, 0.25rem + 1vw, 1.25rem);
  background: var(--crema-100);
}

/* La barre d'onglets reste sous l'en-tête pendant la lecture ; elle défile seule sur téléphone. */
.carte-tabs {
  position: sticky;
  top: var(--header-height);
  z-index: var(--z-sticky);
  display: flex;
  gap: 0.4rem;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0.7rem var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  background: var(--crema-100);
}

.carte-tabs::-webkit-scrollbar {
  display: none;
}

.carte-tab {
  flex: none;
  min-height: 2.75rem;
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface-strong);
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: center;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.carte-tab:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.carte-tab.is-active,
.carte-tab[aria-selected="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 8px 18px -10px rgba(29, 90, 64, 0.7);
}

.carte-tab:focus-visible {
  outline-offset: 2px;
}

.carte-panels {
  margin-top: 1.4rem;
}

.carte-panel {
  animation: fade-up-in var(--dur) var(--ease-out) both;
}

.carte-panel[hidden] {
  display: none;
}

.carte-panel:focus-visible {
  outline-offset: 6px;
  border-radius: var(--radius-md);
}

/* Titre d'onglet : lu par les lecteurs d'écran ; affiché seulement sans JavaScript (tout se lit alors
   à la suite, onglets masqués). */
.carte-panel__title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (scripting: none) {
  .carte-tabs {
    display: none;
  }

  .carte-panel[hidden] {
    display: block;
  }

  .carte-panel + .carte-panel {
    margin-top: 3rem;
  }

  .carte-panel__title {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 1rem;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font-size: var(--fs-h2);
  }
}

.carte-panel__lead,
.carte-panel__footer,
.carte-panel__pdf {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.carte-panel__footer,
.carte-panel__pdf {
  margin: 1.25rem 0 0;
  text-align: center;
}

/* Bandeau de photos de l'onglet : défile au doigt sur téléphone. */
.carte-photos {
  display: flex;
  gap: var(--grid-gap);
  margin: 0 0 1.4rem;
  padding: 0.25rem 0 0.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.carte-photo {
  flex: 0 0 auto;
  width: clamp(9.25rem, 6rem + 12vw, 13rem);
  margin: 0;
  scroll-snap-align: start;
}

.carte-photo picture,
.carte-photo > img {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.carte-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--crema-300);
}

.carte-photo figcaption {
  margin-top: 0.45rem;
  color: var(--text-soft);
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.25;
}

.menu-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: start;
}

.menu-group {
  padding: clamp(1.15rem, 0.9rem + 1vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--dur) var(--ease-out);
}

.menu-group:hover {
  border-color: var(--line-strong);
}

.menu-group--wide {
  grid-column: 1 / -1;
}

.menu-group__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-style: italic;
}

.menu-group__kicker::before {
  content: "—";
  color: var(--ornament);
}

.menu-group__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.2rem 0 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.menu-group__header h3 {
  margin: 0;
  font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.85rem);
  line-height: 1.05;
}

.menu-group__header .carte-price {
  font-size: 1.1rem;
}

.menu-group__note,
.menu-variants {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.menu-callout__text {
  margin: 0 0 0.9rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent-deco);
  border-radius: var(--radius-xs);
  background: var(--accent-tint);
  color: var(--text-soft);
}

.menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-entry {
  padding: 0.7rem 0;
  border-top: 1px dotted var(--line-strong);
}

.menu-entry:first-child {
  padding-top: 0;
  border-top: 0;
}

.menu-entry:last-child {
  padding-bottom: 0;
}

/* Nom … pointillés … prix, sur la même ligne même sur téléphone. */
.menu-entry__head {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.menu-entry__title {
  display: flex;
  flex: 1 1 auto;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
  color: var(--heading);
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.2;
}

.menu-entry__title::after {
  content: "";
  flex: 1 1 1.25rem;
  min-width: 1.25rem;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-0.3em);
}

.carte-price {
  flex: none;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.carte-price--note {
  font-weight: 600;
  font-style: italic;
}

.menu-entry__desc {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.55;
}

.menu-entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.45rem 0 0;
}

.menu-entry__allergens,
.menu-entry__origin {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.menu-entry--soldout .menu-entry__title {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.menu-list--compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
}

.menu-list--compact .menu-entry:nth-child(2) {
  padding-top: 0;
  border-top: 0;
}

.carte-footer {
  margin: 1.75rem auto 0;
  max-width: 48rem;
  color: var(--text-soft);
  text-align: center;
}

.carte-note {
  max-width: 50rem;
  margin: 2.25rem auto 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-align: center;
  text-transform: uppercase;
}

.carte-cta {
  max-width: 46rem;
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto 0;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(24rem 12rem at 100% 0%, rgba(224, 93, 40, 0.1), transparent 60%),
    var(--surface-strong);
  text-align: center;
}

.carte-cta p {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.2;
}

.carte-cta .button-row {
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   12. PAGES LÉGALES (mentions-legales.html, confidentialite.html, reglement.html)
   Présentation seulement : le texte juridique n'a pas de classe propre hormis celles-ci.
   ═══════════════════════════════════════════════════════════════════════════ */
.legal-hero {
  position: relative;
  overflow: clip;
  padding: clamp(2rem, 1.25rem + 3vw, 3.75rem) 0 clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(36rem 22rem at 96% 0%, rgba(195, 155, 81, 0.18), transparent 62%),
    linear-gradient(180deg, var(--crema-50) 0%, var(--crema-100) 100%);
}

.legal-hero__copy {
  max-width: 52rem;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.legal-hero .lead {
  margin-top: 1rem;
}

.legal-updated {
  display: inline-flex;
  margin: 1.1rem 0 0;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-strong);
  color: var(--text-muted);
  font-size: var(--fs-small);
  font-weight: 600;
}

.legal-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.legal-pages a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.legal-pages a:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.legal-pages a[aria-current="page"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}

.section.legal {
  padding-top: clamp(1.75rem, 1rem + 2.5vw, 3.25rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 16rem) minmax(0, 46rem);
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* Sommaire collant ; la section lue est signalée (script.js). */
.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
  max-height: calc(100vh - var(--header-height) - 2.5rem);
  max-height: calc(100dvh - var(--header-height) - 2.5rem);
  padding: 1rem 0.75rem 1.1rem;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-xs);
  font-size: 0.9rem;
}

.legal-toc > p {
  margin: 0 0 0.5rem 0.55rem;
  color: var(--label);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-toc ol {
  position: relative;
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: legal-toc;
}

.legal-toc li {
  counter-increment: legal-toc;
}

.legal-toc a {
  display: flex;
  gap: 0.55rem;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-xs);
  color: var(--text-soft);
  line-height: 1.35;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.legal-toc a::before {
  content: counter(legal-toc);
  flex: none;
  min-width: 1.2rem;
  color: var(--label);
  font-size: 0.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.legal-toc a:hover {
  background: var(--surface-sunken);
  color: var(--text);
}

.legal-toc a.is-active {
  background: var(--info-bg);
  color: var(--link);
  font-weight: 700;
}

.legal-body {
  min-width: 0;
  overflow-wrap: break-word;
  font-size: 1.02rem;
  line-height: 1.75;
}

.legal-body > :first-child {
  margin-top: 0;
}

.legal-body h2 {
  margin: 2.75rem 0 0.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.65rem, 1.35rem + 1vw, 2.15rem);
  font-weight: 600;
  line-height: 1.1;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.legal-body h3 {
  margin: 1.8rem 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.legal-body p,
.legal-body ul,
.legal-body ol {
  margin: 0 0 1rem;
}

.legal-body ul,
.legal-body ol {
  padding-left: 1.3rem;
}

.legal-body li + li {
  margin-top: 0.35rem;
}

.legal-body li::marker {
  color: var(--ornament);
}

.legal-body a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-body a:hover {
  color: var(--link-hover);
}

.legal-body address {
  font-style: normal;
}

.legal-card {
  margin: 0 0 1.4rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: var(--shadow-xs);
}

.legal-card > :last-child {
  margin-bottom: 0;
}

.legal-card--accent {
  border-color: var(--accent-line);
  background: linear-gradient(135deg, var(--accent-tint), transparent 70%), var(--surface-strong);
}

.legal-card__label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--label);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-table {
  width: 100%;
  margin: 0 0 1.4rem;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.legal-table th,
.legal-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table thead th {
  border-bottom-color: var(--line-strong);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-table tbody th {
  font-weight: 700;
}

.legal-table code,
.legal-body code {
  padding: 0.05rem 0.3rem;
  border-radius: 6px;
  background: var(--surface-sunken);
  font-size: 0.88em;
}

/* Tableau de chiffres courts (reglement.html, chances de la roue) : reste une grille sur téléphone ;
   le conteneur ne défile que si l'écran est vraiment trop étroit. */
.legal-table-scroll {
  margin: 0 0 1.4rem;
  overflow-x: auto;
}

.legal-table-scroll .legal-table {
  margin: 0;
}

.legal-table--grid td {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — vitrine, carte et pages légales (téléphone d'abord vérifié à 390 px)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  /* Les cinq photos de la carte deviennent un carrousel au doigt. */
  .dish-row {
    grid-template-columns: none;
    grid-auto-columns: minmax(13.5rem, 31%);
    grid-auto-flow: column;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0.25rem var(--gutter) 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .dish-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 960px) {
  .home-intro__grid,
  .home-events__grid,
  .home-visit__grid,
  .home-regalo__grid,
  .home-menu__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-intro__photo {
    justify-self: start;
  }

  .day-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }

  .day-line::before {
    display: none;
  }

  .home-events__gallery {
    max-width: 34rem;
  }

  .menu-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
  }
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  /* Sommaire : une barre collée sous l'en-tête, qui défile au doigt. */
  .legal-toc {
    top: var(--header-height);
    z-index: var(--z-sticky);
    max-height: none;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0.55rem var(--gutter);
    overflow: visible;
    border-width: 0 0 1px;
    border-radius: 0;
    background: var(--crema-100);
    box-shadow: var(--shadow-xs);
  }

  .legal-toc > p {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .legal-toc ol {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .legal-toc ol::-webkit-scrollbar {
    display: none;
  }

  .legal-toc li {
    flex: none;
  }

  .legal-toc a {
    align-items: center;
    min-height: 2.5rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface-strong);
    white-space: nowrap;
  }

  .legal-body h2 {
    scroll-margin-top: calc(var(--header-height) + 4.25rem);
  }
}

@media (max-width: 760px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero h1 {
    max-width: none;
  }

  .home-hero__visual {
    justify-self: stretch;
    width: 100%;
    margin-top: 0.5rem;
  }

  .home-hero__photo {
    aspect-ratio: 3 / 2;
    border-radius: var(--radius-xl);
  }

  .home-hero__sketch {
    bottom: -1.25rem;
    left: -0.4rem;
    width: 5.75rem;
    border-width: 4px;
  }

  .home-hero__badge {
    top: auto;
    right: 0.6rem;
    bottom: -1.1rem;
    max-width: 11rem;
    font-size: 1.05rem;
  }

  .menu-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .menu-hero__photos {
    display: none;
  }

  .menu-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .menu-group--wide {
    grid-column: auto;
  }

  .menu-list--compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .menu-list--compact .menu-entry:nth-child(2) {
    padding-top: 0.7rem;
    border-top: 1px dotted var(--line-strong);
  }
}

@media (max-width: 640px) {
  .dish-row {
    grid-auto-columns: minmax(12.5rem, 64%);
  }

  .home-hero__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 0.5rem;
  }

  .home-hero__facts li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
  }

  .home-hero__facts li:last-child {
    border-bottom: 0;
  }

  .home-hero__facts strong {
    margin-top: 0;
    font-size: 1.12rem;
    text-align: right;
  }

  .day-line {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.6rem;
  }

  .home-events__gallery {
    padding-bottom: 2rem;
  }

  .polaroid--tilt {
    transform: translateY(1.5rem) rotate(4deg);
  }

  .event-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.9rem;
  }

  .event-card__media {
    display: none;
  }

  .regalo-step {
    padding-right: 1.2rem;
  }

  .regalo-step::after {
    display: none;
  }

  .carte-cta p {
    font-size: 1.25rem;
  }

  .hours-list li {
    padding-inline: 0.45rem;
  }

  /* Tableaux légaux empilés : chaque ligne devient une fiche, chaque cellule porte son intitulé. */
  .legal-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
  }

  .legal-table tr {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .legal-table th,
  .legal-table td {
    padding: 0.25rem 0;
    border: 0;
  }

  .legal-table td[data-label]::before {
    content: attr(data-label) " : ";
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
  }

  .legal-table.legal-table--grid {
    display: table;
    font-size: 0.86rem;
  }

  .legal-table--grid thead {
    position: static;
    display: table-header-group;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .legal-table--grid tbody {
    display: table-row-group;
  }

  .legal-table--grid tr {
    display: table-row;
    padding: 0;
    border-bottom: 0;
  }

  .legal-table--grid th,
  .legal-table--grid td {
    display: table-cell;
    padding: 0.45rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .legal-table--grid thead th {
    font-size: 0.66rem;
    letter-spacing: 0.02em;
  }

  .legal-table--grid td[data-label]::before {
    content: none;
  }
}

@media (max-width: 380px) {
  .home-hero__status {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu-entry__title {
    font-size: 1.14rem;
  }
}

/* Animations propres à la vitrine (toutes coupées par le mouvement réduit, § 13). */
@keyframes hero-settle {
  from { transform: scale(1.06); }
  to { transform: none; }
}

@keyframes float-in {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}

@media print {
  .carte-tabs,
  .carte-cta,
  .home-hero__visual,
  .home-events__gallery,
  .legal-toc,
  .legal-pages {
    display: none !important;
  }

  .carte-panel[hidden] {
    display: block;
  }

  .carte-panel__title {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    white-space: normal;
  }

  .legal-layout {
    display: block;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   13. PRÉFÉRENCES — mouvement réduit, impression
   ═══════════════════════════════════════════════════════════════════════════ */
@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;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .js .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}

@media print {
  .site-header,
  .scroll-progress,
  .back-to-top,
  .menu-toggle,
  .map-block,
  .marquee-wrapper {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .js .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .section {
    padding-block: 1.5rem;
  }

  .section--ink,
  .section--olive,
  .section--verde,
  .site-footer {
    background: #fff;
    --text: #000;
    --heading: #000;
    --text-muted: #333;
    --text-soft: #111;
    color: #000;
  }
}
