/* Lá Sen — v1 */

:root {
  --vert: #1E4F3C;
  --vert-nuit: #1A4134;
  --papier: #F4ECDF;
  --papier-2: #EBE0CC;
  --creme: #FBF7F0;
  --rose: #DC897F;
  --rose-pale: #F1CFC8;
  --laiton: #B8894A;
  --laiton-texte: #86602E;
  --encre: #1C1B18;
  --encre-2: rgba(28, 27, 24, .74);
  --erreur: #A6392D;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Be Vietnam Pro", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.32, .72, 0, 1);
  --r-xl: 32px;
  --r-lg: 26px;
  --scallop-h: clamp(56px, 9vw, 140px);
  --hdr-h: 96px;
  --fab-gap: clamp(12px, 2vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after { /* grain papier, sans mode de fusion (trop coûteux au défilement) */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
svg { flex: none; }
section[id] { scroll-margin-top: var(--hdr-h); }
:focus-visible { outline: 2px solid var(--laiton-texte); outline-offset: 3px; border-radius: 8px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 12px 20px; border-radius: 99px;
  background: var(--encre); color: var(--papier); text-decoration: none;
  transition: top .4s var(--ease);
}
.skip:focus { top: 16px; }

/* ---------- Étiquette surligneur ---------- */
.tag {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 13px 8px;
  border-radius: 9px;
  background: var(--rose);
  color: var(--encre);
  font: italic 400 1.15rem/1 var(--serif);
  rotate: -2.5deg;
}

/* ---------- Pilules (bouton + rond) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 0; border: 0; background: none;
  font: 500 .95rem/1 var(--sans);
  text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.pill-txt, .pill-ic {
  background: var(--pill-bg); color: var(--pill-fg);
  transition: transform .6s var(--spring), background-color .4s var(--ease), color .4s var(--ease);
}
.pill-txt { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 99px; white-space: nowrap; }
.pill-ic { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; }
.pill-ic svg { width: 18px; height: 18px; }
.pill:hover .pill-ic { transform: translateX(3px); }
.pill:active .pill-txt, .pill:active .pill-ic { transform: scale(.96); }
.pill:disabled { cursor: not-allowed; opacity: .45; }
.pill:disabled .pill-ic { transform: none; }
.pill--dark { --pill-bg: var(--vert); --pill-fg: var(--papier); }
.pill--soft { --pill-bg: var(--rose-pale); --pill-fg: var(--vert-nuit); }
.pill--rose { --pill-bg: var(--rose); --pill-fg: var(--encre); }
.pill--line { --pill-bg: transparent; --pill-fg: var(--papier); }
.pill--line .pill-txt { box-shadow: inset 0 0 0 1.5px rgba(244, 236, 223, .55); }
.pill--line:hover .pill-txt { box-shadow: inset 0 0 0 1.5px var(--papier); }

/* ---------- En-tête ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: flex-start; gap: 24px;
  padding: 22px clamp(14px, 3vw, 40px);
  pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--vert); text-decoration: none; border-radius: 99px; }
.brand-badge {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.brand-mark { width: 42px; height: 42px; color: var(--vert); }
.brand-word { font: 500 1.75rem/1 var(--serif); letter-spacing: -.02em; transition: opacity .4s var(--ease), translate .6s var(--spring); }
.hdr-intro {
  max-width: 36ch; margin-left: clamp(24px, 7vw, 120px); padding-top: 6px;
  color: var(--vert); font-size: .9rem; line-height: 1.5;
  transition: opacity .4s var(--ease), translate .6s var(--spring);
}
.hdr-actions { display: flex; gap: 10px; margin-left: auto; }
.hdr.is-compact .brand-word, .hdr.is-compact .hdr-intro { opacity: 0; translate: 0 -10px; pointer-events: none; }
.hdr.is-compact .brand-badge { background: var(--papier); box-shadow: 0 10px 30px -12px rgba(26, 65, 52, .35); }
.hdr .pill-txt, .hdr .pill-ic { box-shadow: 0 10px 30px -14px rgba(26, 65, 52, .4); }
.hdr .pill--dark .pill-txt, .hdr .pill--dark .pill-ic { box-shadow: inset 0 0 0 1px rgba(244, 236, 223, .3), 0 10px 30px -14px rgba(26, 65, 52, .4); }

.burger i {
  position: absolute; top: 50%; left: 50%;
  width: 16px; height: 1.6px; margin: -.8px 0 0 -8px;
  border-radius: 2px; background: currentColor;
  transition: transform .55s var(--spring);
}
.burger i:first-child { transform: translateY(-3.5px); }
.burger i:last-child { transform: translateY(3.5px); }
[aria-expanded="true"] .burger i:first-child { transform: rotate(45deg); }
[aria-expanded="true"] .burger i:last-child { transform: rotate(-45deg); }
[aria-expanded="true"].pill--soft { --pill-bg: var(--vert); --pill-fg: var(--papier); }

/* ---------- Menu latéral ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 30;
  background: rgba(26, 65, 52, .32);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease), visibility .6s;
}
.drawer {
  position: fixed; z-index: 40; top: 12px; right: 12px; bottom: 12px;
  width: min(520px, calc(100% - 24px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 120px clamp(28px, 5vw, 56px) 36px;
  border-radius: var(--r-xl);
  background: var(--rose-pale); color: var(--vert-nuit);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(calc(100% + 24px));
  transition: transform .85s var(--spring);
}
body.menu-open .scrim { opacity: 1; visibility: visible; }
body.menu-open .drawer { transform: none; }
.drawer-links a {
  display: inline-block;
  font: 400 clamp(2.3rem, 5vw, 3.3rem)/1.12 var(--serif);
  text-decoration: none;
  opacity: 0; transform: translateY(40px);
  transition: transform .9s var(--spring), opacity .5s var(--ease);
}
.drawer-links a:hover { font-style: italic; }
body.menu-open .drawer-links a { opacity: 1; transform: none; }
.drawer-links li:nth-child(1) a { transition-delay: .12s; }
.drawer-links li:nth-child(2) a { transition-delay: .17s; }
.drawer-links li:nth-child(3) a { transition-delay: .22s; }
.drawer-links li:nth-child(4) a { transition-delay: .27s; }
.drawer-links li:nth-child(5) a { transition-delay: .32s; }
.drawer-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: .95rem; }
.drawer-meta h2 { margin-bottom: 8px; font: 600 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.drawer-meta a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.drawer-meta .status { grid-column: 1 / -1; justify-self: start; }

/* ---------- Statut ouvert / fermé ---------- */
.status {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border-radius: 99px;
  background: rgba(30, 79, 60, .09); color: var(--vert);
  font-size: .88rem; font-weight: 500;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--laiton); }
.status.is-open::before { background: #2F8A55; }
.status.is-closed::before { background: var(--rose); }

/* ---------- Bord festonné (feuille de lotus) ---------- */
.scallop { display: block; width: 100%; height: var(--scallop-h); fill: currentColor; }

/* ---------- Hero ---------- */
.hero { --hero-h: min(86vh, 860px); position: relative; padding-top: 104px; }
.hero-media {
  position: relative; overflow: hidden;
  height: var(--hero-h); min-height: 480px;
  margin-inline: clamp(10px, 1.6vw, 24px);
  border-radius: var(--r-xl);
  background: var(--papier-2);
}
.hero-media img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 40%; }
.hero-panel { position: relative; z-index: 1; margin-top: calc(var(--hero-h) * -.4); color: var(--papier); }
.hero-panel .scallop { color: var(--vert); margin-bottom: -1px; }
.hero-inner {
  padding: clamp(0px, 1vw, 12px) 24px clamp(150px, 16vw, 210px);
  background: var(--vert); text-align: center;
}
.hero-title { max-width: 1200px; margin-inline: auto; font-size: clamp(2.5rem, 6.1vw, 6.2rem); line-height: 1; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.04em; }
.line > span { display: inline-block; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.portrait {
  position: relative; z-index: 2;
  width: clamp(170px, 18vw, 240px); aspect-ratio: 5 / 7;
  margin: calc(clamp(120px, 12vw, 168px) * -1) auto 0;
  border-radius: 999px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(26, 65, 52, .55), 0 0 0 6px var(--papier);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 76% 35%; }

/* ---------- Histoire ---------- */
.story { position: relative; padding: clamp(72px, 9vw, 130px) 0 clamp(90px, 10vw, 150px); }
.story-lead {
  width: min(1040px, 100% - 48px); margin-inline: auto;
  color: var(--vert); text-align: center;
  font: 400 clamp(1.75rem, 3.6vw, 3.2rem)/1.2 var(--serif);
  text-wrap: pretty;
}
.story-lead.is-split .w { opacity: .14; }
.floaters { position: relative; height: clamp(300px, 38vw, 560px); margin-top: clamp(24px, 4vw, 56px); }
.floater { position: absolute; aspect-ratio: 1; clip-path: url(#lotus); will-change: transform; }
.floater img { width: 100%; height: 100%; object-fit: cover; }
.f1 { left: 5%; top: 4%; width: clamp(140px, 22vw, 330px); rotate: -22deg; }
.f2 { left: 50%; top: 20%; width: clamp(180px, 28vw, 410px); margin-left: calc(clamp(180px, 28vw, 410px) / -2); rotate: 8deg; }
.f3 { right: 5%; top: 0; width: clamp(130px, 20vw, 300px); rotate: 26deg; }

.chapters { display: grid; gap: clamp(28px, 5vh, 64px); width: min(1100px, 100% - 32px); margin: clamp(40px, 6vw, 90px) auto 0; }
.chapter {
  position: sticky; top: calc(var(--hdr-h) + var(--i) * 16px);
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(24px, 4vw, 56px);
  min-height: min(66vh, 540px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-xl);
  transform-origin: 50% 0;
  box-shadow: 0 -20px 60px -40px rgba(26, 65, 52, .5);
}
.chapter--1 { background: var(--papier-2); }
.chapter--2 { background: var(--rose-pale); }
.chapter--3 { background: var(--vert); color: var(--papier); }
.chapter--4 { background: var(--creme); }
.chapter-when { font: italic 400 1.2rem/1.2 var(--serif); color: var(--vert); }
.chapter--3 .chapter-when { color: var(--rose-pale); }
.chapter h3 { margin: 14px 0 20px; font-size: clamp(2rem, 4vw, 3.4rem); color: var(--vert); }
.chapter--3 h3 { color: var(--papier); }
.chapter-text p:last-child { max-width: 46ch; }
.chapter-num { place-self: center; font: italic 400 clamp(6rem, 15vw, 13rem)/.8 var(--serif); color: var(--vert); letter-spacing: -.04em; }
.chapter-visual { align-self: stretch; min-height: 280px; border-radius: var(--r-lg); overflow: hidden; }
.chapter-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Bandeau engagements ---------- */
.promise { position: relative; z-index: 2; padding: clamp(10px, 3vw, 30px) 0; }
.marquee {
  margin-inline: -4vw; padding: clamp(22px, 3vw, 36px) 0;
  background: var(--vert-nuit); color: var(--papier);
  rotate: -2deg; overflow: hidden;
}
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; will-change: transform; }
.marquee-track span { display: flex; align-items: center; gap: .45em; padding-right: .45em; font: italic 400 clamp(2rem, 5vw, 4.2rem)/1 var(--serif); white-space: nowrap; }
.marquee-track svg { width: .7em; height: .7em; color: var(--papier); }
.promise:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Carte ---------- */
.carte { padding: clamp(100px, 12vw, 180px) 0 clamp(120px, 14vw, 200px); }
.carte-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.carte-aside { position: sticky; top: calc(var(--hdr-h) + 8px); }
.carte h2 { max-width: 11ch; font-size: clamp(2.5rem, 4.8vw, 4.4rem); color: var(--vert); }
.carte-note { max-width: 40ch; margin-top: 18px; color: var(--encre-2); font-size: .95rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tab {
  min-height: 46px; padding: 0 20px; border: 0; border-radius: 99px;
  background: rgba(30, 79, 60, .08); color: var(--vert);
  font-weight: 500; cursor: pointer;
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .5s var(--spring);
}
.tab:hover { background: rgba(30, 79, 60, .15); }
.tab:active { transform: scale(.96); }
.tab[aria-selected="true"] { background: var(--vert); color: var(--papier); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 20px; color: var(--encre-2); font-size: .82rem; }
.legend .b { margin-left: 0; }
.carte-visual { position: relative; width: min(340px, 80%); aspect-ratio: 1; margin-top: 36px; clip-path: url(#lotus); rotate: -10deg; }
.carte-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.carte-visual img.is-on { opacity: 1; transform: none; }

.panel:focus-visible { outline-offset: 8px; }
.js .panel:not([hidden]) { animation: panel-in .8s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px); } }
.group + .group { margin-top: 56px; }
.group h3 {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(184, 137, 74, .55);
  font: 600 .78rem/1.3 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--laiton-texte);
}
.group h3 small { font: italic 400 1rem/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--encre-2); }
.group-note { margin-top: 16px; color: var(--encre-2); font-size: .92rem; }
.dish { padding: 20px 0 19px; border-bottom: 1px dashed rgba(184, 137, 74, .5); }
.dish-head { display: flex; align-items: baseline; gap: 16px; }
.dish-name { font: 500 clamp(1.3rem, 2vw, 1.6rem)/1.25 var(--serif); color: var(--vert); }
.dish-price { margin-left: auto; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish-desc { max-width: 56ch; margin-top: 5px; color: var(--encre-2); font-size: .97rem; }
.dish--sig .dish-name { font-style: italic; }
.b {
  display: inline-block; margin-left: 4px; padding: 5px 8px 4px;
  border-radius: 99px; vertical-align: .25em;
  background: rgba(30, 79, 60, .1); color: var(--vert);
  font: 500 .7rem/1 var(--sans); font-style: normal; letter-spacing: .03em;
}
.b--hot { background: rgba(220, 137, 127, .32); color: var(--encre); }
.b--sig { background: var(--rose); color: var(--encre); }

/* ---------- Galerie ---------- */
.gallery { position: relative; background: var(--vert-nuit); color: var(--papier); }
.gallery > .scallop, .infos > .scallop, .ftr > .scallop { position: absolute; left: 0; bottom: calc(100% - 1px); }
.gallery > .scallop { color: var(--vert-nuit); }
.gallery-pin { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding: 110px 0 90px; overflow: hidden; }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; width: min(1240px, 100% - 48px); margin: 0 auto 44px; }
.gallery-head h2 { max-width: 12ch; font-size: clamp(2.5rem, 5vw, 4.6rem); }
.gallery-head p { max-width: 32ch; color: rgba(244, 236, 223, .8); }
.gallery-track { display: flex; align-items: flex-start; gap: clamp(20px, 3vw, 48px); width: max-content; padding-inline: max(24px, calc((100vw - 1240px) / 2)); will-change: transform; }
.g-item { flex: none; }
.g-item:nth-child(even) { margin-top: 70px; }
.g-item:nth-child(3n) { margin-top: 24px; }
.g-shape { overflow: hidden; border-radius: var(--r-xl); background: rgba(244, 236, 223, .06); }
.g-shape img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item:hover .g-shape img { transform: scale(1.05); }
.g-wide .g-shape { width: clamp(300px, 40vw, 600px); aspect-ratio: 16 / 10; }
.g-tall .g-shape { width: clamp(220px, 24vw, 360px); aspect-ratio: 4 / 5; }
.g-oval .g-shape { width: clamp(200px, 21vw, 320px); aspect-ratio: 3 / 4.4; border-radius: 999px; }
.g-lotus .g-shape { width: clamp(230px, 27vw, 400px); aspect-ratio: 1; border-radius: 0; clip-path: url(#lotus); }
.g-lotus:nth-of-type(2) .g-shape { rotate: -14deg; }
.g-lotus:nth-of-type(6) .g-shape { rotate: 18deg; }
.g-item figcaption { margin-top: 16px; font: italic 400 1.1rem/1.3 var(--serif); color: rgba(244, 236, 223, .82); }

/* ---------- Infos (bento) ---------- */
.infos { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(150px, 16vw, 230px); }
.infos > .scallop { color: var(--papier); }
.infos-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.infos-head h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); color: var(--vert); }
.infos-head p { max-width: 32ch; color: var(--encre-2); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; }
.shell { padding: 6px; border-radius: var(--r-xl); background: rgba(30, 79, 60, .06); box-shadow: inset 0 0 0 1px rgba(30, 79, 60, .07); }
.core {
  position: relative; height: 100%; overflow: hidden;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--r-lg);
  background: var(--creme);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.core h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: var(--vert); }
.core p + p { margin-top: 10px; }
.core-note { margin-top: 18px; color: var(--encre-2); font-size: .9rem; }
.core-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.b-hours { grid-column: span 5; grid-row: span 2; }
.b-place { grid-column: span 7; }
.b-seats { grid-column: span 3; }
.b-togo { grid-column: span 4; }
.b-private { grid-column: span 8; }
.b-dates { grid-column: span 4; }

.hours { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid rgba(30, 79, 60, .12); font-weight: 400; text-align: left; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours td + td { padding-left: 16px; }
.hours tr:last-child > * { border-bottom: 0; }
.hours .is-today > * { color: var(--vert); font-weight: 600; }
.hours .is-today th::after { content: " · aujourd'hui"; font-weight: 400; font-size: .85em; color: var(--encre-2); }

.core--photo { min-height: 300px; padding: 0; display: flex; align-items: flex-end; background: var(--vert-nuit); color: var(--papier); }
.core--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.shell:hover .core--photo img { transform: scale(1.04); }
.core--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 65, 52, .92) 8%, rgba(26, 65, 52, .15) 60%, transparent); }
.place-text { position: relative; z-index: 1; padding: clamp(24px, 3vw, 38px); }
.place-text h3 { color: var(--papier); }
.place-text p { margin-top: 8px; font-size: .95rem; }
.place-text a { text-underline-offset: 3px; }
.core--rose { background: var(--rose-pale); }
.core--paper { background: var(--papier-2); }
.big-num { font: italic 400 clamp(4.5rem, 7vw, 6.5rem)/.85 var(--serif); color: var(--vert); letter-spacing: -.04em; }
.b-seats h3 { margin: 6px 0 12px; font-size: 1.5rem; }
.b-togo h3 { margin-bottom: 12px; }
.core--split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 3vw, 36px); align-items: center; padding: 10px; }
.split-img { align-self: stretch; min-height: 260px; overflow: hidden; border-radius: 20px; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text { padding: clamp(10px, 2vw, 24px) clamp(10px, 2vw, 24px) clamp(10px, 2vw, 24px) 0; }
.split-text p { margin: 14px 0 24px; }
.core--green { background: var(--vert); color: var(--papier); }
.core--green h3 { color: var(--papier); }
.dates { margin-top: 18px; display: grid; gap: 12px; font-size: .93rem; }
.dates strong { display: block; font: italic 500 1.15rem/1.2 var(--serif); color: var(--rose-pale); }

/* ---------- Pied de page ---------- */
.ftr { position: relative; padding: clamp(8px, 2vw, 28px) 0 32px; background: var(--rose); color: var(--encre); }
.ftr > .scallop { color: var(--rose); }
.ftr-word { text-align: center; font: 500 clamp(6rem, 25vw, 23rem)/.78 var(--serif); letter-spacing: -.045em; color: var(--encre); }
.ftr-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin-top: 56px; }
.ftr-nav a { font-weight: 500; text-decoration: none; background: linear-gradient(currentColor 0 0) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.ftr-nav a:hover { background-size: 100% 1px; }
.ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(28, 27, 24, .18); }
.ftr-cols h2 { margin-bottom: 10px; font: 600 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.ftr-cols a { text-underline-offset: 3px; }
.ftr-legal { margin-top: 44px; text-align: center; font-size: .85rem; }

/* ---------- Réservation : bouton flottant + fenêtre ---------- */
.book-fab {
  position: fixed; right: var(--fab-gap); bottom: var(--fab-gap); z-index: 35;
  --pill-bg: var(--vert); --pill-fg: var(--papier);
  transition: opacity .4s var(--ease);
}
.book-fab .pill-txt { min-height: 54px; padding: 0 24px; font-size: 1rem; }
.book-fab .pill-ic { width: 54px; height: 54px; }
.book-fab .pill-txt, .book-fab .pill-ic { box-shadow: inset 0 0 0 1px rgba(244, 236, 223, .25), 0 18px 40px -16px rgba(26, 65, 52, .65); }
.book-fab:hover .pill-ic { transform: rotate(-8deg); }
.book-fab .ic-close, .book-fab[aria-expanded="true"] .ic-cal { display: none; }
.book-fab[aria-expanded="true"] .ic-close { display: block; }
body.menu-open .book-fab { opacity: 0; pointer-events: none; }

.book {
  position: fixed; z-index: 45;
  right: var(--fab-gap); bottom: calc(var(--fab-gap) + 66px);
  width: min(440px, calc(100vw - 24px)); height: min(700px, calc(100dvh - var(--fab-gap) - 172px)); /* reste sous l'en-tête */
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; background: var(--creme); color: var(--encre);
  box-shadow: 0 40px 90px -30px rgba(26, 65, 52, .6), 0 0 0 1px rgba(30, 79, 60, .1);
  transform-origin: 100% 100%;
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.94);
  transition: opacity .25s var(--ease), transform .45s var(--spring), visibility 0s .45s;
}
body.book-open .book { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .7s var(--spring), visibility 0s; }
.book-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 20px 18px 22px; background: var(--vert); color: var(--papier); }
.book-title { font-size: 1.75rem; }
.book-title:focus { outline: none; }
.book-desc { margin-top: 6px; font-size: .8rem; color: rgba(244, 236, 223, .86); }
.book-close {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(244, 236, 223, .14); color: var(--papier); cursor: pointer;
  transition: background-color .3s var(--ease), transform .5s var(--spring);
}
.book-close:hover { background: rgba(244, 236, 223, .26); }
.book-close:active { transform: scale(.92); }
.book-close svg { width: 18px; height: 18px; }
.book-sum { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 20px 0; }
.book-sum span { padding: 6px 11px; border-radius: 99px; background: rgba(30, 79, 60, .08); color: var(--vert); font-size: .8rem; font-weight: 500; }
.book-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 0; }

.steps { display: flex; gap: 4px; margin: 16px 20px 0; padding: 4px; border-radius: 99px; background: rgba(30, 79, 60, .08); }
.steps li {
  flex: 1; padding: 9px 4px; border-radius: 99px; text-align: center;
  font: 600 .66rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--vert);
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.steps li[aria-current="step"] { background: var(--vert); color: var(--papier); }
.step-title { display: block; margin-bottom: 16px; padding: 0; font: 400 1.55rem/1.1 var(--serif); color: var(--vert); }
.step-title:focus { outline: none; }
.field-label { margin-bottom: 10px; font-weight: 600; font-size: .9rem; color: var(--vert); }
.guests { display: flex; flex-wrap: wrap; gap: 6px; }
.guests label { position: relative; cursor: pointer; }
.guests input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.guests span {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(30, 79, 60, .08); font-weight: 500;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--spring);
}
.guests label:hover span { background: rgba(30, 79, 60, .16); }
.guests input:checked + span { background: var(--vert); color: var(--papier); transform: scale(1.06); }
.guests input:focus-visible + span { outline: 2px solid var(--laiton-texte); outline-offset: 3px; }
.guests + .hint { margin-top: 10px; }

.cal { margin-top: 24px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-title { font: 500 1.3rem/1 var(--serif); color: var(--vert); text-transform: capitalize; }
.cal-nav {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(30, 79, 60, .08); color: var(--vert); cursor: pointer;
  transition: background-color .4s var(--ease), transform .5s var(--spring);
}
.cal-nav svg { width: 18px; height: 18px; }
.cal-nav--next svg { rotate: 180deg; }
.cal-nav:hover:not(:disabled) { background: rgba(30, 79, 60, .16); }
.cal-nav:active:not(:disabled) { transform: scale(.94); }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.cal-dow, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal-dow span { padding: 6px 0; text-align: center; font: 600 .68rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); }
.day {
  aspect-ratio: 1.12; min-height: 38px; border: 0; border-radius: 12px;
  background: rgba(30, 79, 60, .08); color: var(--encre);
  font-weight: 500; font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .5s var(--spring);
}
.day:hover:not(:disabled) { background: rgba(30, 79, 60, .18); }
.day:active:not(:disabled) { transform: scale(.92); }
.day:disabled { background: transparent; color: rgba(28, 27, 24, .32); cursor: not-allowed; }
.day.is-today { box-shadow: inset 0 0 0 1.5px var(--rose); }
.day[aria-pressed="true"] { background: var(--vert); color: var(--papier); }

.slots { margin-top: 24px; min-height: 40px; }
.slot-group + .slot-group { margin-top: 18px; }
.slot-title { font-weight: 600; font-size: .9rem; color: var(--vert); }
.slot-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.slot {
  min-width: 70px; min-height: 42px; padding: 0 12px; border: 0; border-radius: 99px;
  background: rgba(30, 79, 60, .08); font-weight: 500; font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .5s var(--spring);
}
.slot:hover:not(:disabled) { background: rgba(30, 79, 60, .18); }
.slot:active:not(:disabled) { transform: scale(.94); }
.slot[aria-pressed="true"] { background: var(--vert); color: var(--papier); }
.slot:disabled { background: transparent; box-shadow: inset 0 0 0 1px rgba(28, 27, 24, .16); color: rgba(28, 27, 24, .5); text-decoration: line-through; cursor: not-allowed; }
.hint { color: var(--encre-2); font-size: .86rem; }
.hint a { text-underline-offset: 3px; }

.step-actions {
  position: sticky; bottom: 0; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  margin: 20px -20px 0; padding: 16px 20px 20px;
  background: linear-gradient(to top, var(--creme) 72%, rgba(251, 247, 240, 0));
}
.step-actions > :last-child { margin-left: auto; }
.step-actions--center { position: static; justify-content: center; background: none; }
.step-actions--center > :last-child { margin-right: auto; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.f { display: flex; flex-direction: column; gap: 7px; }
.f--full { grid-column: 1 / -1; }
.f label { font-weight: 600; font-size: .88rem; color: var(--vert); }
.opt { font-weight: 400; color: var(--encre-2); }
.f input, .f textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid rgba(30, 79, 60, .24); border-radius: 14px;
  background: #fff; color: var(--encre); font: inherit; font-size: 1rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.f textarea { resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 4px rgba(30, 79, 60, .15); }
.f [aria-invalid="true"] { border-color: var(--erreur); }
.f [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(166, 57, 45, .15); }
.err { min-height: 1.35em; color: var(--erreur); font-size: .82rem; }
.fgrid + .hint { margin-top: 6px; }
.pill.is-loading .pill-ic svg { display: none; }
.pill.is-loading .pill-ic::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.step--done { padding: 24px 0 8px; text-align: center; }
.done-ic { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--vert); color: var(--papier); }
.done-ic svg { width: 32px; height: 32px; }
.step--done .step-title { margin-bottom: 10px; }
.done-recap { font-size: 1.05rem; }
.done-ref { margin: 8px 0 12px; color: var(--encre-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hdr-intro { display: none; }
}
@media (max-width: 1000px) {
  .b-hours, .b-place, .b-private, .b-dates { grid-column: span 12; grid-row: auto; }
  .b-seats { grid-column: span 5; }
  .b-togo { grid-column: span 7; }
}
@media (max-width: 900px) {
  .carte-grid { grid-template-columns: 1fr; }
  .carte-aside { position: relative; top: auto; }
  .carte-visual { display: none; }
  .gallery-pin { min-height: 0; }
  .gallery-head { flex-direction: column; align-items: start; }
  .gallery-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: none; will-change: auto; }
  .gallery-track::-webkit-scrollbar { display: none; }
  .g-item { scroll-snap-align: center; }
  .g-item:nth-child(n) { margin-top: 0; }
  .g-wide .g-shape { width: 82vw; }
  .g-tall .g-shape, .g-oval .g-shape, .g-lotus .g-shape { width: 64vw; }
}
@media (max-width: 820px) {
  .chapter { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
  .chapter-num { display: none; }
  .infos-head { flex-direction: column; align-items: start; }
  .core--split { grid-template-columns: 1fr; }
  .split-text { padding: 6px 14px 18px; }
  .ftr-cols { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 640px) {
  :root { --hdr-h: 84px; }
  .hdr { padding-top: 16px; }
  .hdr-book { display: none; }
  .brand-word { font-size: 1.5rem; }
  .hero { padding-top: 88px; }
  .hero-media { min-height: 420px; height: 72vh; }
  .hero-panel { margin-top: -34vh; }
  .b-seats, .b-togo { grid-column: span 12; }
  .drawer-meta { grid-template-columns: 1fr; }
  .book { inset: 8px; width: auto; height: auto; border-radius: 24px; transform-origin: 50% 100%; }
  body.book-open .book-fab { opacity: 0; pointer-events: none; }
  .book-fab .pill-txt { min-height: 50px; padding: 0 20px; }
  .book-fab .pill-ic { width: 50px; height: 50px; }
  .fgrid { grid-template-columns: 1fr; }
  .ftr { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
}
