/* Maison Sève — site de démonstration (entreprise fictive).
   Identité propre au concept : sauge sombre, crème, terre cuite, feuille ;
   Instrument Serif pour les titres, Instrument Sans pour le texte. */

@font-face {
  font-family: "Instrument Serif";
  src: url("../../_shared/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../../_shared/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../../_shared/fonts/instrument-sans-latin-standard-normal.woff2") format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}

:root {
  /* Palette du concept (copy deck) */
  --sage: #2F3B2C;
  --cream: #FAF5EA;
  --terra: #B5532F;
  --leaf: #8A9A6B;
  /* Nuances dérivées */
  --sage-deep: #222B20;
  --terra-dark: #95401F;
  --paper: #FFFCF5;
  --ink-soft: #565F51;          /* 6,1:1 sur crème */
  --rule: rgba(47, 59, 44, .16);
  --rule-strong: rgba(47, 59, 44, .34);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4.4vw, 64px);
  --max: 1360px;
  --banner-h: 40px;
  --header-h: 80px;
  --section-pad: clamp(72px, 9vw, 144px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus: var(--sage);
}
html[data-embed] { --banner-h: 0px; }

/* ---------- 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(--banner-h) + var(--header-h) + 12px);
  background: var(--cream);
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--sage);
  font: 400 17.5px/1.55 var(--sans);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--leaf); color: var(--sage-deep); }

.skip {
  position: absolute; left: 12px; top: -200px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--sage); color: var(--cream); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Bandeau Studio Nonante : identique sur les trois démos ----------
   Geist (Studio Nonante), réduite aux caractères latins ; une seule ligne, 40 px, à toutes les tailles. */
@font-face {
  font-family: 'Geist';
  src: url(geist-banner.woff2) format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
.demo-banner {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 40px;
  padding: 0 clamp(16px, 2.5vw, 32px);
  background: #171714; color: #fff;
  font: 500 13px/1 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  letter-spacing: 0; white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}
.demo-banner p { margin: 0; white-space: nowrap; } /* text-wrap des démos réactiverait le retour à la ligne */
.demo-banner__label::before {
  content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px;
  border-radius: 50%; background: #8b8b8a; vertical-align: .1em;
}
.demo-banner__links { display: flex; gap: 24px; }
.demo-banner a {
  display: inline-block; line-height: 40px; padding: 0 4px; margin: 0 -4px;
  color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em;
}
.demo-banner a:hover { color: #f2db38; text-decoration-thickness: 2px; }
.demo-banner a:focus-visible { outline: 2px solid #fff; outline-offset: -6px; border-radius: 6px; }
.demo-banner__arrow { display: inline-block; margin-right: 6px; text-decoration: none; }
.demo-banner__short { display: none; }
@media (max-width: 767px) {
  .demo-banner { font-size: 12px; }
  .demo-banner__wide { display: none; }
  .demo-banner__short { display: inline; }
  .demo-banner__links { gap: 16px; }
}
@media (max-width: 379px) {
  .demo-banner { gap: 12px; padding: 0 12px; }
  .demo-banner__label::before { display: none; }
  .demo-banner__links { gap: 12px; }
}
@media (max-width: 339px) {
  .demo-banner { font-size: 11px; padding: 0 10px; }
  .demo-banner__arrow { display: none; }
}
html[data-embed] .demo-banner { display: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: var(--banner-h); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
  padding: 0 max(var(--gutter), (100% - var(--max)) / 2); /* aligné sur la colonne de contenu sur grand écran */
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.brand {
  font: 400 32px/1 var(--serif); letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 44px;
}
.brand span { font-style: italic; margin-left: .18em; }
.site-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px); }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 4px; border-radius: 6px;
  font-weight: 500; font-size: 15.5px; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 4px calc(50% + .85em) / 0 1px no-repeat;
  transition: background-size .32s var(--ease);
}
.site-nav a:hover { background-size: calc(100% - 8px) 1px; }
.site-nav .nav-book {
  padding: 0 22px; border: 1.5px solid var(--sage); border-radius: 999px;
  background: none; transition: background-color .2s, color .2s;
}
.site-nav .nav-book:hover { background: var(--sage); color: var(--cream); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 600 16.5px/1.1 var(--sans); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--terra); color: var(--cream); }
.btn-primary:hover { background: var(--terra-dark); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px var(--sage); color: var(--sage); }
.btn-ghost:hover { background: var(--sage); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--sage); }
.btn-cream:hover { background: var(--paper); }

/* ---------- Petits libellés ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 500 15px/1.3 var(--sans); letter-spacing: .01em;
}
.eyebrow::before { content: ""; width: 32px; height: 1.5px; background: var(--leaf); flex: none; }

.fiction-note { font: italic 400 19px/1.3 var(--serif); color: var(--terra); }

/* ---------- Grille éditoriale (débords jusqu'au bord de l'écran) ---------- */
.grid {
  --edge: max(calc(var(--gutter) - 24px), calc((100% - var(--max)) / 2 - 24px));
  display: grid;
  grid-template-columns: [full-start] var(--edge) [content-start] repeat(12, minmax(0, 1fr)) [content-end] var(--edge) [full-end];
  column-gap: 24px;
}

/* ---------- Ouverture ---------- */
.hero {
  display: flex; flex-direction: column;
  height: calc(100svh - var(--banner-h) - var(--header-h));
  min-height: 560px;
}
.hero-media {
  order: -1; flex: 1 1 auto; min-height: 240px; position: relative; overflow: hidden;
  background: #5b4330;
  container-type: size;
}
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 68%;
  /* Photo 3:2 : le haut du cadre reste calé sur le haut de la garniture (36 % de l'image),
     quelle que soit la hauteur du bandeau ; seul le bas de l'assiette se recadre. */
  object-position: 50% min(0px, max(-24cqw, 100cqh - 66.667cqw));
}
.hero-body {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  align-items: end;
  width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(24px, 4.2svh, 48px) var(--gutter) clamp(28px, 5svh, 60px);
}
.hero h1 {
  grid-column: 1 / span 7; width: fit-content;
  font-size: clamp(64px, min(11vw, 18svh), 184px);
  line-height: .87; letter-spacing: -.02em;
}
.hero h1 .l1, .hero h1 .l2 { display: block; white-space: nowrap; }
.hero h1 .l2 { font-style: italic; color: var(--terra); padding-left: .64em; letter-spacing: -.01em; }
.hero-content {
  grid-column: 8 / span 5; align-self: end;
  padding-left: clamp(20px, 2.6vw, 40px);
  border-left: 1px solid var(--rule-strong);
}
.hero-content .lead {
  margin-top: 16px; max-width: 30ch;
  font-size: clamp(18px, .55vw + 11px, 21px); line-height: 1.45;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3svh, 30px); }
.hero-hours { display: none; }

/* ---------- La cuisine ---------- */
.cuisine { padding-block: var(--section-pad); row-gap: 48px; align-items: start; }
.cuisine-main { grid-column: full-start / 9; grid-row: 1 / span 2; position: relative; }
.cuisine-main img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; object-position: 50% 55%; }
.cuisine-text { grid-column: 10 / content-end; grid-row: 1; align-self: start; padding-top: clamp(8px, 3vw, 48px); }
.cuisine-text h2, .horaires h2, .reserver h2, .menu-head h2 {
  font-size: clamp(46px, 6.2vw, 96px); line-height: .94; letter-spacing: -.015em;
}
.cuisine-text h2 { margin-top: 24px; }
.cuisine-text p:not(.eyebrow) { margin-top: 28px; max-width: 34ch; font-size: clamp(18px, .4vw + 13px, 20px); }
.cuisine-detail { grid-column: 10 / content-end; grid-row: 2; align-self: end; }
/* La saison en toutes lettres : la photo de tomates est déjà celle de l'ouverture. */
.season {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  aspect-ratio: 5 / 4;
  padding: clamp(24px, 2.6vw, 40px);
  background: var(--terra); color: var(--cream);
  outline: 1px solid rgba(250, 245, 234, .38); outline-offset: -12px;
}
.season-head { font: 500 15px/1.3 var(--sans); letter-spacing: .01em; }
.season-list li {
  padding: 10px 0;
  border-bottom: 1.5px dotted rgba(250, 245, 234, .45);
  font: italic 400 clamp(28px, 2.7vw, 42px)/1.05 var(--serif);
}
.season-list li:last-child { border-bottom: 0; padding-bottom: 0; }
figcaption {
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  font: italic 400 22px/1 var(--serif);
}
figcaption::before { content: ""; width: 24px; height: 1.5px; background: var(--leaf); }
.cuisine-main figcaption { padding-left: var(--gutter); }

/* ---------- La carte ---------- */
.carte {
  padding: var(--section-pad) var(--gutter);
  background: var(--sage);
  --focus: var(--cream);
}
.menu-sheet {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(36px, 6vw, 96px) clamp(24px, 6vw, 96px) clamp(36px, 5vw, 72px);
  background: var(--cream); color: var(--sage);
  outline: 1px solid var(--rule-strong); outline-offset: -14px;
  border-radius: 4px;
  --focus: var(--sage);
}
.menu-head { text-align: center; }
.menu-mark { font: 400 22px/1 var(--serif); margin-bottom: 22px; }
.menu-mark span { font-style: italic; }
.menu-head .fiction-note { margin-top: 16px; }
.menu-head::after {
  content: ""; display: block; width: 72px; height: 10px; margin: 28px auto 0;
  background: radial-gradient(circle, var(--leaf) 2.5px, transparent 3px) 0 50% / 18px 10px repeat-x;
}
.menu-courses {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 72px);
}
.course { padding: 0 clamp(20px, 2.6vw, 40px); }
.course + .course { border-left: 1px solid var(--rule); }
.course:first-child { padding-left: 0; }
.course:last-child { padding-right: 0; }
.course h3 { font: italic 400 clamp(28px, 2.4vw, 36px)/1 var(--serif); color: var(--terra); }
.dishes { margin-top: 22px; }
.dishes li {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px;
  padding: 16px 0;
  border-bottom: 1.5px dotted var(--rule-strong);
}
.dishes li:last-child { border-bottom: 0; }
.dish { font-size: 17px; line-height: 1.4; }
.price { font: 400 26px/1 var(--serif); white-space: nowrap; }
/* Mentions de démonstration : de simples légendes, jamais un encadré de maquette. */
.menu-note {
  margin-top: clamp(28px, 3.4vw, 48px);
  text-align: center; font-size: 14px; color: var(--ink-soft);
}

/* ---------- Horaires et accès ---------- */
.horaires { padding-block: var(--section-pad); row-gap: 56px; }
.horaires-head { grid-column: content-start / span 5; }
.horaires h2 { margin-top: 24px; }
.demo-note {
  display: flex; align-items: baseline; gap: 12px;
  margin-top: clamp(28px, 3.4vw, 48px); max-width: 38ch;
  font-size: 14px; line-height: 1.5; color: var(--ink-soft);
}
.demo-note::before { content: ""; flex: none; width: 24px; height: 1.5px; background: var(--leaf); transform: translateY(-.3em); }
.horaires-body { grid-column: 7 / content-end; align-self: end; }
.hours li {
  display: grid; grid-template-columns: minmax(0, 13.5em) minmax(0, 1fr); gap: 8px 32px; align-items: baseline;
  padding: 22px 0; border-bottom: 1.5px dotted var(--rule-strong);
}
.hours li:first-child { border-top: 1px solid var(--sage); }
.hours .day { font: italic 400 28px/1.1 var(--serif); }
.hours .time { font-size: 18px; font-variant-numeric: lining-nums; }

.week {
  display: grid; grid-template-columns: 52px repeat(7, minmax(0, 1fr)); gap: 8px;
  margin-top: 40px; align-items: center;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.week .wd { text-align: center; }
.week .slot-label { font-weight: 500; color: var(--ink-soft); }
.slot { display: block; height: 30px; border-radius: 999px; border: 1.5px dashed var(--rule-strong); }
.slot.is-open { border: 0; background: var(--sage); }
.week .closed { text-align: center; font: italic 400 16px/1 var(--serif); color: var(--ink-soft); }

/* ---------- Réserver ---------- */
.reserver {
  padding-block: var(--section-pad); row-gap: 48px; align-items: end;
  background: var(--terra); color: var(--cream);
  --focus: var(--cream);
}
.reserver-head { grid-column: content-start / span 6; }
.reserver-head .eyebrow::before { background: var(--cream); }
.reserver h2 { margin-top: 24px; }
.reserver-head p:not(.eyebrow) { margin-top: 24px; font-size: clamp(18px, .4vw + 13px, 20px); max-width: 32ch; }
.table-form {
  grid-column: 8 / content-end;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-weight: 600; font-size: 15px; }
.field select {
  appearance: none; -webkit-appearance: none;
  width: 100%; min-height: 58px; padding: 0 44px 0 22px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%232F3B2C' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 20px center;
  color: var(--sage); font-size: 16.5px; font-weight: 500;
}
.field select:hover { background-color: var(--paper); }
.table-form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; min-height: 58px; padding: 0 34px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--sage); color: var(--cream); --focus: var(--cream); }
.foot-inner {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(40px, 5vw, 64px);
  display: grid; gap: 12px; font-size: 15px;
}
.foot-brand { margin-bottom: 12px; line-height: 1.2; }
.foot-name { display: block; font: italic 400 clamp(40px, 4.4vw, 64px)/1 var(--serif); }
/* Le « · » reste lu par les lecteurs d'écran ; à l'écran, le nom et la ligne descriptive s'empilent. */
.foot-sep {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.foot-meta { display: block; margin-top: 14px; font-size: 16px; }
.foot-small { color: rgba(250, 245, 234, .78); font-size: 14px; }

/* ---------- Boîte de démonstration ---------- */
.demo-dialog {
  width: min(460px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 28px;
  background: var(--cream); color: var(--sage);
  box-shadow: 0 30px 80px -30px rgba(20, 26, 19, .6);
}
.demo-dialog::backdrop { background: rgba(34, 43, 32, .62); }
.dialog-inner { display: grid; gap: 22px; padding: 36px 34px 34px; }
.dialog-mark { font: 400 26px/1 var(--serif); }
.dialog-mark span { font-style: italic; }
.dialog-mark::after { content: ""; display: block; width: 32px; height: 1.5px; margin-top: 18px; background: var(--leaf); }
.dialog-inner p:not(.dialog-mark) { font-size: 18px; line-height: 1.5; }
.dialog-inner .btn { justify-self: start; }
.demo-dialog[open] { animation: dialog-in .32s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---------- Apparitions légères (activées par demo.js) ---------- */
html.reveal-on [data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.reveal-on [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); }

/* ---------- Tablette ---------- */
@media (max-width: 1023px) and (min-width: 720px) {
  .site-nav .nav-book { padding: 0 16px; }
  .hero h1 { grid-column: 1 / span 6; font-size: max(64px, min(13.5vw, 18svh)); }
  .hero-content { grid-column: 7 / span 6; }
  .cuisine-text { grid-column: 9 / content-end; }
  .cuisine-detail { grid-column: 10 / content-end; }
  .horaires-head { grid-column: content-start / content-end; }
  .horaires-body { grid-column: content-start / content-end; }
  .reserver-head, .table-form { grid-column: content-start / content-end; }
  .menu-courses { grid-template-columns: 1fr; row-gap: 44px; }
  .course, .course:first-child, .course:last-child { padding: 0; }
  .course + .course { border-left: 0; }
}

/* Petit ordinateur : trois menus de 140 px coupaient « 2 personnes » ; le jour passe sur sa propre ligne. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .table-form { grid-template-columns: 1fr 1fr; }
  .field:first-child { grid-column: 1 / -1; }
}

/* ---------- Téléphone : une composition à part ---------- */
@media (max-width: 719px) {
  :root { --header-h: 0px; --section-pad: 72px; }
  html { scroll-padding-top: 88px; }
  body { font-size: 17px; }
  /* Sans suivi par demo.js, le bouton fixe ne s'efface jamais : le pied de page lui laisse la place. */
  html:not(.book-tracked) .site-footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

  /* En-tête : la marque, puis les quatre entrées sur une ligne */
  .site-header {
    position: relative; top: 0; height: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 16px 0;
  }
  .brand { font-size: 28px; min-height: 44px; }
  .site-nav ul { justify-content: space-between; gap: 6px; }
  .site-nav a { font-size: 14.5px; min-height: 44px; padding: 0; }
  .site-nav .nav-book { padding: 0; border: 0; border-radius: 0; text-decoration: underline; text-underline-offset: .3em; }
  .site-nav .nav-book:hover { background: none; color: inherit; }

  /* Ouverture : le titre et les horaires passent avant la photo */
  .hero { display: block; height: auto; min-height: 0; }
  .hero-body { display: block; padding: 18px 16px 0; }
  .hero h1 { font-size: clamp(48px, 15vw, 76px); line-height: .9; }
  .hero h1 .l2 { padding-left: .62em; }
  .hero-content { border-left: 0; padding-left: 0; margin-top: 16px; }
  .hero-content .eyebrow { font-size: 14px; }
  .hero-content .lead { font-size: 16.5px; margin-top: 8px; max-width: 34ch; }
  .actions { margin-top: 16px; }
  .actions .btn-ghost { min-height: 46px; padding: 0 22px; font-size: 15.5px; }

  /* La demande de table reste à portée de pouce */
  .hero-book {
    position: fixed; z-index: 40;
    left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    min-height: 58px; font-size: 17px;
    box-shadow: 0 0 0 4px rgba(250, 245, 234, .9), 0 18px 34px -14px rgba(34, 43, 32, .55);
    transition: transform .32s var(--ease), opacity .32s var(--ease), visibility 0s linear 0s;
  }
  html.hide-book .hero-book {
    transform: translateY(140%); opacity: 0; visibility: hidden;
    transition: transform .32s var(--ease), opacity .32s var(--ease), visibility 0s linear .32s;
  }

  .hero-hours {
    display: block; margin: 18px 16px 0; padding: 14px 18px 4px;
    border-radius: 20px; background: var(--sage); color: var(--cream);
  }
  .hero-hours-title { display: flex; align-items: center; gap: 12px; font: italic 400 22px/1 var(--serif); }
  .hero-hours-title::after { content: ""; flex: 1; height: 1px; background: rgba(250, 245, 234, .28); }
  .hero-hours .hours { margin-top: 4px; }
  .hero-hours .hours li {
    grid-template-columns: 9.4em minmax(0, 1fr); gap: 0 12px; padding: 9px 0;
    border-top: 0; border-bottom: 1px dotted rgba(250, 245, 234, .34);
  }
  .hero-hours .hours li:last-child { border-bottom: 0; }
  .hero-hours .hours .day { font: 600 14px/1.35 var(--sans); }
  .hero-hours .hours .time { font-size: 14.5px; line-height: 1.35; }

  .hero-media { order: 0; margin-top: 16px; height: auto; min-height: 0; container-type: normal; }
  .hero-media img { position: static; width: 100%; aspect-ratio: 9 / 4; height: auto; object-position: 50% 80%; }

  /* La cuisine */
  .grid { display: block; }
  .cuisine { display: flex; flex-direction: column; row-gap: 0; padding-top: 100px; padding-bottom: 72px; }
  .cuisine-text { order: -1; }
  .cuisine-text { padding: 0 16px; }
  .cuisine-text h2, .horaires h2, .reserver h2, .menu-head h2 { font-size: clamp(42px, 12.4vw, 56px); }
  .cuisine-text h2 { margin-top: 18px; }
  .cuisine-text p:not(.eyebrow) { margin-top: 18px; font-size: 17.5px; }
  .cuisine-main { margin-top: 32px; }
  .cuisine-main img { aspect-ratio: 1 / 1; object-position: 50% 62%; }
  .cuisine-main figcaption { padding-left: 16px; }
  .cuisine-detail { display: none; }

  /* La carte, plat par plat */
  .carte { padding: 56px 10px; }
  .menu-sheet { padding: 44px 22px 36px; outline-offset: -8px; }
  .menu-courses { grid-template-columns: 1fr; gap: 36px; margin-top: 36px; }
  .course, .course:first-child, .course:last-child { padding: 0; }
  .course + .course { border-left: 0; }
  .course h3 { display: flex; align-items: center; gap: 14px; font-size: 28px; }
  .course h3::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
  .dishes { margin-top: 10px; }
  .dishes li { gap: 14px; padding: 15px 0; }
  .dish { font-size: 16.5px; }
  .price { font-size: 24px; }

  /* Horaires et accès */
  .horaires { display: flex; flex-direction: column; row-gap: 0; }
  .horaires-body, .cuisine-text, .cuisine-main { align-self: stretch; }
  .horaires-head { display: contents; }
  .horaires-head > *, .horaires-body { padding-inline: 16px; }
  .horaires-body { order: 1; margin-top: 32px; }
  .horaires .demo-note { order: 2; margin-top: 28px; }
  .hours li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .hours .day { font-size: 25px; }
  .hours .time { font-size: 17px; }
  .week { grid-template-columns: 40px repeat(7, minmax(0, 1fr)); gap: 6px; font-size: 12px; margin-top: 32px; }
  .slot { height: 26px; }
  .week .closed { font-size: 14px; }

  /* Réserver */
  .reserver { padding: 64px 16px 72px; }
  .reserver-head h2 { margin-top: 18px; }
  .reserver-head p:not(.eyebrow) { font-size: 17.5px; margin-top: 18px; }
  .table-form { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
  .field:first-child { grid-column: 1 / -1; }
  .table-form .btn { justify-self: stretch; }

  .foot-meta { margin-top: 10px; }
  .foot-inner { padding: 48px 16px calc(40px + env(safe-area-inset-bottom)); }
}

/* Petits téléphones */
@media (max-width: 400px) {
  .field select { padding: 0 38px 0 18px; background-position: right 16px center; }
}

@media (max-width: 359px) {
  .site-nav a { font-size: 13.5px; }
  .hero h1 .l1, .hero h1 .l2 { white-space: normal; }
}

/* ---------- Mode capture et mouvement réduit ---------- */
html[data-embed] { scrollbar-width: none; }
html[data-embed]::-webkit-scrollbar { display: none; }
html[data-embed] *, html[data-embed] *::before, html[data-embed] *::after { animation: none !important; transition: none !important; }

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