/* ============================================================
   Démo « restaurant » — la table du soir, au coin du feu
   Polices auto-hébergées (sous-ensemble latin) : Gloock (titres),
   Karla (texte). Aucune requête externe.
   Effets : transform/opacity seulement, pilotés par le défilement quand le
   navigateur le permet ; sinon (ou « réduire les animations »), tout est
   affiché dans son état final.
   ============================================================ */

@font-face {
  font-family: "Gloock";
  src: url("../fonts/gloock-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* Palette chaude : chocolat, acajou, crème, beurre, ambre, terre cuite.
   Sections brunes et sections claires alternent.
   Contrastes mesurés (WCAG 2) — sur chocolat #22150e : crème 15,3:1 · texte doux 10,7:1 ·
   ambre 8,2:1 · vert « ouvert » 8,6:1 · chocolat sur ambre 8,2:1.
   Sur acajou #3a2116 : crème 12,9:1 · texte doux 9,0:1 · ambre 6,9:1.
   Sur crème #f6ecda : encre 14,2:1 · encre douce 6,6:1 · terre cuite 5,6:1 · vert 5,5:1.
   Sur beurre #f1dfbb : encre 12,7:1 · encre douce 5,9:1 · terre cuite 5,0:1. */
:root {
  --bg:      #22150e;
  --bg-2:    #2e1c13;
  --bg-3:    #3d271b;
  --acajou:  #3a2116;
  --cream:   #f7eddc;
  --muted:   #d9c6ad;
  --ember:   #e8a15f;
  --on-ember:#22150e;
  --open:    #7fc48a;
  --line:    rgba(247, 237, 220, .16);
  --paper:   #f6ecda;
  --butter:  #f1dfbb;
  --ink:     #2b1a12;
  --ink-soft:#6b4c39;
  --rust:    #9b4319;
  --display: "Gloock", Georgia, "Times New Roman", serif;
  --text:    "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter:  clamp(1rem, 5vw, 4rem);
  --nav-h:   4.25rem;
  --ease:    cubic-bezier(.16, 1, .3, 1);
}
/* Sections claires : les mêmes composants, retournés en encre sur crème. */
.light {
  --cream: var(--ink); --muted: var(--ink-soft); --ember: var(--rust); --on-ember: var(--paper);
  --open: #2f6b3a; --line: rgba(43, 26, 18, .18);
  background: var(--paper); color: var(--ink);
}
.light--butter { background: var(--butter); }
@media (min-width: 721px) { :root { --nav-h: 5.5rem; } }

@view-transition { navigation: auto; }

/* ── Socle ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--bg-3) var(--bg); background: var(--bg); }
body {
  background: var(--bg); color: var(--cream);
  font: 400 1.0625rem/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--ember);
  overflow-x: clip;
}
::selection { background: var(--ember); color: var(--on-ember); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 400; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
.display { font-family: var(--display); font-size: clamp(2.1rem, 4.6vw, 3.7rem); letter-spacing: -.015em; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1.1rem; background: var(--cream); color: var(--bg); font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.no-scroll { overflow: hidden; }

/* ── Boutons et liens ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem;
  padding: .8rem 1.6rem; border: 1px solid var(--ember); border-radius: 2px;
  background: var(--ember); color: var(--on-ember);
  font-weight: 600; letter-spacing: .01em;
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--cream); border-color: var(--cream); }
.btn:active { transform: translateY(1px); }
.btn--line { background: transparent; color: var(--cream); border-color: rgba(244, 234, 217, .55); }
.btn--line:hover { background: var(--cream); color: var(--bg); }
.link {
  display: inline-flex; align-items: center; min-height: 44px; gap: .5rem;
  color: var(--ember); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em;
}
.link:hover { color: var(--cream); }

/* ── Statut « Ouvert maintenant » ─────────────────────────── */
.status { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; color: var(--muted); }
.status__dot {
  position: relative; flex: none; width: .7rem; height: .7rem; border-radius: 50%;
  border: 2px solid var(--muted);
}
.status--open { color: var(--open); }
.status--open .status__dot { border-color: var(--open); background: var(--open); }
/* Trois ondes à l'affichage, puis le point se tient tranquille. */
.status--open .status__dot::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid var(--open); opacity: 0;
  animation: ping 1.8s var(--ease) .9s 3;
}
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.status--big { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.status--big .status__dot { width: .95rem; height: .95rem; }

/* ── Navigation : transparente sur la photo, marque au centre ─
   Collante sous le bandeau éventuel ; au défilement, elle prend un fond
   plein (classe posée par site.js). Sa hauteur ne change jamais : rien ne
   bouge dans la page. */
.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav-h); color: var(--cream);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 0 var(--gutter);
  background: linear-gradient(rgba(34, 21, 14, .6), rgba(34, 21, 14, 0));
  transition: background-color .4s, box-shadow .4s;
}
.nav.is-stuck { background-color: var(--bg); box-shadow: 0 1px 0 var(--line); }
main { margin-top: calc(-1 * var(--nav-h)); }
.brand {
  grid-column: 2; grid-row: 1;
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--display); font-size: clamp(1.15rem, 2.2vw, 1.65rem); white-space: nowrap;
  transition: transform .4s var(--ease);
}
.nav.is-stuck .brand { transform: scale(.9); }
.nav__cta {
  grid-column: 3; grid-row: 1; justify-self: end;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem;
  border: 1px solid rgba(244, 234, 217, .5); border-radius: 2px; font-weight: 600; font-size: .95rem;
  transition: background-color .25s, color .25s, border-color .25s;
}
.nav__cta:hover { background: var(--ember); border-color: var(--ember); color: var(--on-ember); }
.nav__links { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 500;
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: .5em; text-decoration-thickness: 1px;
  transition: text-decoration-color .25s, color .25s;
}
.nav__link:hover { color: var(--ember); }
.nav__link.is-active { text-decoration-color: var(--ember); }
.nav__burger { display: none; }
.nav__extra { display: none; }

@media (min-width: 721px) {
  .nav__menu { grid-column: 1; grid-row: 1; }
}

/* Menu mobile : panneau plein écran, grands titres. La barre n'a pas de
   backdrop-filter (il ferait du panneau fixe un enfant de la barre). */
@media (max-width: 720px) {
  .nav__burger {
    grid-column: 1; grid-row: 1; justify-self: start; z-index: 1;
    display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 .25rem;
    background: none; border: 0; color: inherit; font: 600 .95rem var(--text); cursor: pointer;
  }
  .nav__burger-icon { position: relative; width: 1.4rem; height: .8rem; }
  .nav__burger-icon span {
    position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
    transition: transform .35s var(--ease);
  }
  .nav__burger-icon span:first-child { top: 0; }
  .nav__burger-icon span:last-child { bottom: 0; }
  .nav.is-open .nav__burger-icon span:first-child { transform: translateY(5.5px) rotate(45deg); }
  .nav.is-open .nav__burger-icon span:last-child { transform: translateY(-5.5px) rotate(-45deg); }
  .brand { z-index: 1; font-size: 1.2rem; }
  /* Sur téléphone, « Appeler » est dans la barre du bas : pas de doublon ici. */
  .nav__cta { display: none; }
  .nav__menu {
    position: fixed; inset: 0; z-index: 0;
    display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
    padding: calc(var(--nav-h) + 5rem) var(--gutter) 2.5rem;
    background: var(--bg); overflow-y: auto;
    visibility: hidden; opacity: 0;
    transition: opacity .35s, visibility 0s .35s;
  }
  .nav.is-open .nav__menu { visibility: visible; opacity: 1; transition: opacity .35s; }
  .nav.is-open { background-color: var(--bg); }
  .nav__links { flex-direction: column; gap: .25rem; }
  .nav__link { font-family: var(--display); font-size: clamp(2.4rem, 12vw, 3.4rem); line-height: 1.15; }
  /* Page en cours : un filet devant le lien, pas seulement la couleur. */
  .nav__link.is-active { color: var(--ember); text-decoration-color: transparent; }
  .nav__link.is-active::before { content: ""; width: 1.75rem; height: 1px; margin-right: .9rem; background: currentColor; }
  .nav__links li { transform: translateY(1.2rem); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
  .nav.is-open .nav__links li { transform: none; opacity: 1; }
  .nav.is-open .nav__links li:nth-child(2) { transition-delay: .06s; }
  .nav.is-open .nav__links li:nth-child(3) { transition-delay: .12s; }
  .nav__extra { display: grid; gap: .6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); }
  .nav__phone { font-family: var(--display); font-size: 1.6rem; color: var(--cream); min-height: 44px; display: inline-flex; align-items: center; }
}
/* Sans JavaScript, pas de panneau : les liens restent visibles, en ligne. */
@media (max-width: 720px) {
  html:not(.js) .nav { grid-template-columns: 1fr; height: auto; padding-block: .5rem; }
  html:not(.js) .nav__burger, html:not(.js) .nav__extra { display: none; }
  html:not(.js) .nav__menu { position: static; visibility: visible; opacity: 1; padding: 0; background: none; }
  html:not(.js) .nav__links { flex-direction: row; gap: 1.25rem; }
  html:not(.js) .nav__link.is-active::before { display: none; }
  html:not(.js) .brand { order: -1; }
  html:not(.js) .nav__links li { transform: none; opacity: 1; }
  html:not(.js) .nav__link { font: 500 1rem var(--text); }
  html:not(.js) .brand, html:not(.js) .nav__cta { grid-column: 1; grid-row: auto; justify-self: start; }
  html:not(.js) main { margin-top: 0; }
}

/* ── Premier écran ────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; align-content: end;
  padding: calc(var(--nav-h) + 4rem) var(--gutter) clamp(2rem, 7vh, 4.5rem);
}
.hero picture { position: absolute; inset: 0; z-index: -2; }
.hero__photo {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
  animation: settle 2.6s var(--ease) both;
}
@keyframes settle { from { transform: scale(1.12); } }
/* Voile : réchauffe la photo et assombrit le bas, où se lit le texte ;
   le haut reste clair, la lumière des lampes passe. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(34, 21, 14, .5) 0%, rgba(34, 21, 14, 0) 26%, rgba(34, 21, 14, .45) 60%, rgba(34, 21, 14, .92) 100%),
    linear-gradient(90deg, rgba(34, 21, 14, .72), rgba(34, 21, 14, .25) 55%, rgba(34, 21, 14, 0) 75%),
    rgba(150, 78, 26, .12);
}
/* Lueur ambre derrière le titre : elle s'allume doucement, une fois. */
.hero__inner { position: relative; display: grid; gap: 1.5rem; max-width: 72rem; }
.hero__inner::before {
  content: ""; position: absolute; z-index: -1; left: -12%; top: -25%; width: 80%; height: 120%;
  background: radial-gradient(closest-side, rgba(232, 161, 95, .28), rgba(232, 161, 95, 0));
  animation: glow 2.4s ease-out .3s both;
}
@keyframes glow { from { opacity: 0; } }
/* Ornement : un filet, un losange, un filet. */
.ornament { display: flex; align-items: center; gap: .7rem; width: 9rem; color: var(--ember); }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; transform-origin: right; animation: rule 1.4s var(--ease) .2s both; }
.ornament::after { transform-origin: left; }
.ornament i { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }
@keyframes rule { from { transform: scaleX(0); } }
/* Bas du premier écran : statut, service du jour, adresse. */
.hero__info {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 0; margin-top: clamp(2rem, 5vh, 3.25rem); padding-top: 1.1rem;
  border-top: 1px solid rgba(247, 237, 220, .28); color: var(--cream); font-size: .95rem;
  animation: fade .9s var(--ease) both .9s;
}
.hero__info li { display: inline-flex; align-items: center; min-height: 44px; }
.hero__info li + li::before { content: ""; width: 5px; height: 5px; margin: 0 1.1rem; background: var(--ember); transform: rotate(45deg); }
.hero__info .status { min-height: 44px; }
.hero__info .status:hover { text-decoration: underline; text-underline-offset: .3em; }
.hero__title { font-family: var(--display); font-size: clamp(2.6rem, 6.4vw, 5.25rem); line-height: .98; letter-spacing: -.02em; }
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: inline-block; animation: rise 1.2s var(--ease) both; animation-delay: calc(.2s + var(--i) * .13s); }
@keyframes rise { from { transform: translateY(108%); } }
.hero__lead { max-width: 38rem; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--cream); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__lead, .hero__actions { animation: fade 1s var(--ease) both .7s; }
@keyframes fade { from { opacity: 0; transform: translateY(.75rem); } }
@media (max-width: 720px) {
  /* La barre d'actions occupe le bas de l'écran : le premier écran s'arrête au-dessus. */
  .hero { min-height: calc(100svh - 4rem); padding-bottom: 1.5rem; }
  /* Bandeau de démonstration affiché (jamais sur un site livré) : il pousse la
     photo vers le bas, le premier écran se raccourcit d'autant (≈ 3 lignes). */
  body:has(> .pc-demo:not([hidden])) .hero { min-height: calc(100svh - 4rem - 5.6rem); }
  .hero__inner { gap: 1rem; }
  .hero__title { font-size: clamp(2rem, 9.4vw, 3rem); }
  /* Boutons du premier écran : pleine largeur, empilés. */
  .hero__actions, .booking__actions { display: grid; grid-template-columns: 1fr; }
  .hero__actions .btn, .booking__actions .btn { width: 100%; }
  .hero__info { margin-top: 1rem; padding-top: .5rem; font-size: .92rem; }
  .hero__info .hero__info-where, .hero__info .hero__info-hours { display: none; }
  /* La lampe remonte au-dessus du titre. */
  .hero picture { inset: -14% 0 0; }
  /* Sur téléphone, la lampe est au-dessus du texte : le voile s'épaissit plus tôt. */
  .hero::before {
    background:
      linear-gradient(180deg, rgba(34, 21, 14, .45) 0%, rgba(34, 21, 14, .2) 18%, rgba(34, 21, 14, .78) 42%, rgba(34, 21, 14, .95) 100%),
      rgba(150, 78, 26, .12);
  }
}

/* ── Histoire ─────────────────────────────────────────────── */
.story {
  display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
  padding: clamp(5rem, 12vw, 9rem) max(var(--gutter), calc((100vw - 82rem) / 2 + var(--gutter)));
}
.story__text { display: grid; gap: 1.25rem; max-width: 36rem; }
.story__text p { color: var(--muted); }
.facts { display: grid; gap: 1.1rem; margin-top: 1rem; }
.facts div { display: grid; gap: .2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-size: 1.3rem; color: var(--ember); }
.facts dd { color: var(--muted); font-size: .98rem; }
.story__photos { position: relative; padding-bottom: 18%; }
.story__photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story__photo--a { width: 88%; margin-left: auto; }
.story__photo--b {
  position: absolute; left: 0; bottom: 0; width: 58%;
  border: .5rem solid var(--paper); box-shadow: 0 30px 50px -25px rgba(43, 26, 18, .55);
}
@media (min-width: 901px) { .story { grid-template-columns: 1fr 1.1fr; } }

/* ── Plats signature : rail horizontal aimanté ───────────── */
.signatures { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--bg); }
.signatures__head {
  display: grid; gap: 1rem; align-items: end;
  padding: 0 var(--gutter) 2.5rem; max-width: 82rem; margin: 0 auto;
}
.signatures__head p { color: var(--muted); max-width: 34rem; }
@media (min-width: 901px) { .signatures__head { grid-template-columns: auto 1fr auto; gap: 3rem; } }
.rail-nav { display: flex; gap: .5rem; }
.rail-btn {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
  border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--cream); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, opacity .25s;
}
.rail-btn:hover { background: var(--ember); border-color: var(--ember); color: var(--on-ember); }
.rail-btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }
html:not(.js) .rail-nav { display: none; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 26rem); gap: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 1.5rem; scrollbar-width: thin;
}
@media (min-width: 1440px) { .rail { padding-left: calc((100vw - 82rem) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - 82rem) / 2 + var(--gutter)); } }
.plate { scroll-snap-align: start; display: grid; gap: 1.1rem; align-content: start; }
.plate__frame { overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.plate__photo { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.plate:hover .plate__photo { transform: scale(1.04); }
.plate__body { display: grid; gap: .45rem; }
.plate h3 { font-family: var(--display); font-size: 1.6rem; }
.plate p { color: var(--muted); font-size: .98rem; }
.plate .plate__price { color: var(--ember); font-family: var(--display); font-size: 1.35rem; }
.signatures__foot { padding: 1rem var(--gutter) 0; max-width: 82rem; margin: 0 auto; }

/* ── Avis (emplacement) ───────────────────────────────────── */
.voice { padding: clamp(5rem, 12vw, 9rem) var(--gutter); }
.voice figure { max-width: 56rem; margin: 0 auto; text-align: center; display: grid; gap: 2rem; justify-items: center; }
.voice blockquote p {
  font-family: var(--display); font-size: clamp(1.7rem, 3.8vw, 3rem); line-height: 1.2;
  quotes: "«\00a0" "\00a0»";
}
.voice blockquote p::before { content: open-quote; color: var(--ember); }
.voice blockquote p::after { content: close-quote; color: var(--ember); }
.voice figcaption { color: var(--muted); }
.voice figure::after { content: ""; width: 6rem; height: 1px; background: var(--ember); order: -1; }
.voice figure::before { content: ""; width: 7px; height: 7px; background: var(--ember); transform: rotate(45deg); order: -2; margin-bottom: -1.4rem; }

/* ── Horaires vivants ─────────────────────────────────────── */
.tonight {
  display: grid; gap: 3rem; padding: clamp(4rem, 9vw, 7rem) max(var(--gutter), calc((100vw - 82rem) / 2 + var(--gutter)));
  background: var(--acajou);
}
.tonight__status { display: grid; gap: 1.4rem; align-content: start; max-width: 36rem; }
.tonight__status > p:not(.status) { color: var(--muted); }
.tonight__where { margin-top: 1rem; }
@media (min-width: 901px) { .tonight { grid-template-columns: 1.1fr 1fr; gap: 6rem; } }

.service { display: grid; gap: .6rem; margin-top: .5rem; }
.service__day { font-weight: 600; }
.service__track { position: relative; height: .6rem; border-radius: 1rem; background: var(--bg-3); }
.service__slot {
  position: absolute; top: 0; bottom: 0; left: var(--a); width: calc(var(--b) - var(--a));
  border-radius: 1rem; background: var(--ember); transform-origin: left;
}
.service__now {
  position: absolute; top: -.45rem; bottom: -.45rem; left: var(--now); width: 2px; margin-left: -1px;
  background: var(--cream);
}
/* Repères placés à leur heure exacte sur la plage 10 h – minuit. */
.service__scale { position: relative; height: 1.3rem; color: var(--muted); font-size: .85rem; }
.service__scale span { position: absolute; top: 0; transform: translateX(-50%); }
.service__scale span:nth-child(1) { left: 0; transform: none; }
.service__scale span:nth-child(2) { left: 28.57%; }
.service__scale span:nth-child(3) { left: 57.14%; }
.service__scale span:nth-child(4) { left: 85.71%; }
.service__text { color: var(--muted); font-size: .95rem; font-variant-numeric: tabular-nums; }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .95rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.hours th { font-weight: 500; padding-right: 1rem; }
.hours td { text-align: right; color: var(--muted); }
.hours .is-closed { color: var(--muted); }
.hours .is-today th, .hours .is-today td { color: var(--cream); }
.hours__today {
  display: inline-block; margin-left: .5rem; padding: .05rem .5rem;
  border: 1px solid var(--ember); border-radius: 2px; color: var(--ember); font-size: .8rem; font-weight: 600;
}

/* ── Dernier écran ────────────────────────────────────────── */
.finale {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  min-height: min(80svh, 46rem); padding: 5rem var(--gutter);
}
.finale__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.finale::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 60%, rgba(150, 78, 26, .35), rgba(34, 21, 14, 0) 70%), rgba(34, 21, 14, .74); }
.finale__inner { display: grid; gap: 1.25rem; justify-items: center; max-width: 40rem; }
.finale__inner p { color: var(--cream); }
.finale__phone {
  font-family: var(--display); font-size: clamp(2.2rem, 7vw, 4.8rem); color: var(--ember);
  font-variant-numeric: lining-nums; white-space: nowrap;
  transition: color .25s;
}
.finale__phone:hover { color: var(--cream); }

/* ── Bandeaux de page (carte) ─────────────────────────────── */
.head {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(72svh, 40rem); display: grid; align-items: end;
  padding: calc(var(--nav-h) + 4rem) var(--gutter) clamp(7rem, 14vw, 10rem);
}
.head__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: settle 2.6s var(--ease) both; }
.head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(34, 21, 14, .7), rgba(34, 21, 14, .45) 40%, rgba(34, 21, 14, .95)), rgba(150, 78, 26, .1);
}
.head__inner { display: grid; gap: 1rem; max-width: 82rem; width: 100%; margin: 0 auto; }
.head h1 { font-size: clamp(3.2rem, 10vw, 7rem); }
.head p { max-width: 38rem; }

/* Onglets des catégories : en tête de la feuille, collés sous la barre. */
.tabs {
  position: sticky; top: var(--nav-h); z-index: 2;
  margin: calc(-1 * clamp(2rem, 6vw, 4.5rem)) calc(-1 * clamp(1.25rem, 6vw, 4.5rem)) 2.5rem;
  background: var(--paper); border-bottom: 1px solid rgba(42, 29, 20, .3);
}
.tabs ul { display: flex; justify-content: safe center; overflow-x: auto; padding: .4rem .5rem; scrollbar-width: none; }
.tabs a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 clamp(.55rem, 2vw, 1rem); white-space: nowrap;
  color: var(--ink-soft); font-weight: 600; border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s;
}
.tabs a:hover, .tabs a.is-current { color: var(--ink); border-color: var(--rust); }

/* ── La carte, comme imprimée ─────────────────────────────── */
.paper {
  position: relative; max-width: 50rem; margin: clamp(-6rem, -8vw, -3rem) auto 0;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 6vw, 4.5rem);
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 80px -40px #000;
  outline: 1px solid rgba(42, 29, 20, .3); outline-offset: -.8rem;
}
@media (max-width: 720px) { .paper { margin-inline: .75rem; } }
.page-carte main > .paper { z-index: 1; }
.paper ::selection { background: var(--rust); color: var(--paper); }
.paper :focus-visible { outline-color: var(--rust); }
.formula {
  display: grid; gap: .5rem; justify-items: center; text-align: center;
  padding: 1.5rem 1.25rem; margin-bottom: 3rem; border: 1px solid var(--rust);
}
.formula h2 { font-family: var(--display); font-size: 1.7rem; }
.formula p { color: var(--ink-soft); max-width: 32rem; }
.formula .formula__price { font-family: var(--display); font-size: 2rem; color: var(--rust); }
.course { padding-top: 1rem; scroll-margin-top: calc(var(--nav-h) + 4.5rem); }
.course + .course { margin-top: 2.75rem; }
.course__title {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--rust); text-align: center;
}
.course__title::before, .course__title::after { content: ""; flex: 1; height: 1px; background: rgba(42, 29, 20, .3); }
.dishes { display: grid; gap: 1.4rem; margin-top: 1.75rem; }
.dish__line { display: flex; align-items: baseline; gap: .6rem; }
.dish__name { font-family: var(--display); font-size: clamp(1.15rem, 2.4vw, 1.35rem); line-height: 1.25; }
.dish__dots { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted rgba(42, 29, 20, .45); transform: translateY(-.3em); }
.dish__price { font-family: var(--display); font-size: 1.2rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish__desc { color: var(--ink-soft); font-size: .97rem; margin-top: .2rem; max-width: 34rem; }
.paper__note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(42, 29, 20, .3); color: var(--ink-soft); font-size: .95rem; }
.paper__foot { margin-top: .5rem; color: var(--ink-soft); font-size: .9rem; }

.after { display: grid; gap: 1.2rem; justify-items: center; text-align: center; padding: clamp(4.5rem, 10vw, 7rem) var(--gutter); }
.after p { max-width: 34rem; color: var(--muted); }

/* ── Réserver (contact) ───────────────────────────────────── */
.booking {
  display: grid; gap: 3rem; align-items: end;
  padding: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)) var(--gutter) clamp(3rem, 7vw, 5rem);
  max-width: 82rem; margin: 0 auto;
}
.booking h1 { font-size: clamp(2.6rem, 8.5vw, 6rem); }
.booking__intro { display: grid; gap: 1.25rem; }
.booking__intro p { color: var(--muted); max-width: 34rem; }
.booking__live {
  display: grid; gap: 1.4rem; padding: clamp(1.1rem, 4vw, 2.75rem);
  background: var(--bg-2); border: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.booking__phone {
  font-family: var(--display); font-size: clamp(1.7rem, 8.4vw, 3.6rem); line-height: 1; white-space: nowrap;
  color: var(--ember); transition: color .25s;
}
.booking__phone:hover { color: var(--cream); }
.booking__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 901px) { .booking { grid-template-columns: 1.15fr 1fr; gap: 5rem; } }

.where {
  display: grid; gap: 3rem;
  padding: clamp(3.5rem, 8vw, 6rem) max(var(--gutter), calc((100vw - 82rem) / 2 + var(--gutter)));
}
.where__col { display: grid; gap: 1.5rem; align-content: start; }
.where .display, .practical .display { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
@media (min-width: 901px) { .where { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.contact-list { display: grid; }
.contact-list div { display: grid; gap: .15rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: .9rem; }
.contact-list a { display: inline-flex; min-height: 44px; align-items: center; font-size: 1.1rem; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--ember); }

.practical { max-width: 82rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) var(--gutter) clamp(4rem, 9vw, 7rem); }
.practical__list { display: grid; gap: 2rem 4rem; margin-top: 2rem; }
.practical__list div { display: grid; gap: .4rem; }
.practical__list dt { font-family: var(--display); font-size: 1.35rem; color: var(--ember); }
.practical__list dd { color: var(--muted); }
@media (min-width: 721px) { .practical__list { grid-template-columns: 1fr 1fr; } }

/* ── Pied de page ─────────────────────────────────────────── */
.foot {
  display: grid; gap: 2.5rem; justify-items: center; text-align: center;
  padding: clamp(4rem, 9vw, 6rem) var(--gutter) 2rem;
  background: #1a100a; border-top: 1px solid var(--line);
}
.foot__brand { font-family: var(--display); font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1; }
.foot__tagline { color: var(--muted); margin-top: -1.5rem; max-width: 30rem; }
.foot__cols { display: grid; gap: 2rem; width: 100%; max-width: 60rem; }
.foot__cols > div { display: grid; gap: .3rem; justify-items: center; }
.foot__title { font: 600 .95rem var(--text); color: var(--ember); margin-bottom: .25rem; }
.foot__cols a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.foot__cols a:hover, .foot__nav a:hover { color: var(--ember); }
@media (min-width: 721px) { .foot__cols { grid-template-columns: repeat(3, 1fr); } }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__nav a[aria-current] { text-decoration: underline; text-underline-offset: .4em; text-decoration-color: var(--ember); }
.foot__bar { width: 100%; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot__bar a { text-decoration: underline; text-underline-offset: .25em; display: inline-block; padding: .7rem 0; }

/* ── Barre d'actions mobile ───────────────────────────────── */
.actionbar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
  .actionbar {
    position: fixed; inset: auto 0 0; z-index: 35;
    display: grid; grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: #1a100a; border-top: 1px solid var(--line);
  }
  .actionbar__btn {
    display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 4rem;
    font-weight: 600;
  }
  .actionbar__btn--main { background: var(--ember); color: var(--on-ember); }
}

/* ── Effets pilotés par le défilement (si le navigateur sait faire) ── */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .story__photo--a { animation: drift-a linear both; animation-timeline: view(); animation-range: cover; }
    .story__photo--b { animation: drift-b linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes drift-a { from { transform: translateY(2.5rem); } to { transform: translateY(-2.5rem); } }
    @keyframes drift-b { from { transform: translateY(6rem); } to { transform: translateY(-4rem); } }

    .plate__photo { animation: plate linear both; animation-timeline: view(inline); animation-range: cover; }
    @keyframes plate { 0%, 100% { transform: scale(1.14); } 50% { transform: scale(1); } }

    .voice figure::after { animation: grow linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    .voice blockquote { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes grow { from { transform: scaleX(0); } }
    @keyframes lift { from { transform: translateY(2.5rem) scale(.96); } }

    .tonight .service__slot { animation: fill linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
    @keyframes fill { from { transform: scaleX(0); } }

    .finale__photo { animation: push linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes push { from { transform: scale(1.18); } to { transform: scale(1); } }

    .paper { animation: sheet linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes sheet { from { transform: translateY(5rem) scale(.97); } }
    .dish { animation: ink linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    @keyframes ink { from { transform: translateY(1.2rem); } }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
