/* Brasserie Marcel — v1 (direction : récit à média fixe, arche de miroir) */

:root {
  --bordeaux: #7A1F2B;
  --bordeaux-nuit: #4E1119;
  --creme: #F6EEDF;
  --creme-2: #EFE1C4;
  --ivoire: #FBF7EF;
  --or: #B8892E;
  --or-texte: #8C6620;
  --or-sombre: #6E4F14;
  --vert: #2C4B37;
  --encre: #241813;
  --encre-2: rgba(36, 24, 19, .74);
  --filet: rgba(184, 137, 46, .45);
  --erreur: #96271C;

  --serif: "Brygada 1918", Georgia, serif;
  --sans: "Archivo", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.32, .72, 0, 1);
  --hdr-h: 84px;
  --gutter: clamp(20px, 4vw, 56px);
  --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(--creme);
  color: var(--encre);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after { /* grain, opacité simple (pas de mode de fusion : trop coûteux au défilement) */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: .04;
  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: 500; margin: 0; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
p, figure, blockquote, dl, dd { 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(--or-texte); outline-offset: 3px; border-radius: 6px; }
.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(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }

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

/* ---------- Surtitre : capitales étroites + filet ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 20px;
  font: 600 .78rem/1.2 var(--sans); font-stretch: 78%;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--or-texte);
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.label--light { color: rgba(246, 238, 223, .82); }

/* ---------- Boutons : bulle de texte + puce d'icône ---------- */
.btn {
  --b-bg: var(--bordeaux); --b-fg: var(--creme); --b-sh: 0 10px 24px -12px rgba(78, 17, 25, .5);
  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;
}
.btn-txt, .btn-ic {
  background: var(--b-bg); color: var(--b-fg); box-shadow: var(--b-sh);
  transition: transform .5s var(--spring), background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-txt { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 99px; white-space: nowrap; }
.btn-ic { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; }
.btn-ic svg { width: 17px; height: 17px; }
.btn:hover { --b-bg: var(--bordeaux-nuit); }
.btn:hover .btn-ic { transform: translateX(3px); }
.btn:active .btn-txt, .btn:active .btn-ic { transform: scale(.96); }
.btn:disabled { cursor: not-allowed; opacity: .45; }
.btn:disabled .btn-ic { transform: none; }
.btn--or { --b-bg: var(--or); --b-fg: var(--encre); --b-sh: 0 10px 24px -12px rgba(36, 24, 19, .45); }
.btn--or:hover { --b-bg: var(--or-texte); --b-fg: var(--creme); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--bordeaux); --b-sh: inset 0 0 0 1.5px var(--bordeaux); }
.btn--ghost:hover { --b-bg: var(--bordeaux); --b-fg: var(--creme); }
.btn--line { --b-bg: transparent; --b-fg: var(--creme); --b-sh: inset 0 0 0 1.5px rgba(246, 238, 223, .7); }
.btn--line:hover { --b-bg: var(--creme); --b-fg: var(--bordeaux); --b-sh: none; }
.btn--soft { --b-bg: var(--creme-2); --b-fg: var(--bordeaux-nuit); --b-sh: none; }
.btn--soft:hover { --b-bg: #E7D6B4; --b-fg: var(--bordeaux-nuit); }
.btn--sm .btn-txt { min-height: 44px; padding: 0 18px; }
.btn--sm .btn-ic { width: 44px; height: 44px; }

/* ---------- Statut ouvert / fermé ---------- */
.status {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border-radius: 99px;
  background: rgba(122, 31, 43, .08); color: var(--bordeaux);
  font-size: .88rem; font-weight: 500;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--or); }
.status.is-open::before { background: #2F8A55; }
.status.is-closed::before { background: #C0564A; }
.status--dark { background: rgba(246, 238, 223, .12); color: var(--creme); }
.status--dark.is-open::before { background: #5FD08C; }

/* ---------- En-tête : transparent sur le hero, plein ensuite, se cache en descendant ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hdr-h);
  display: flex; align-items: center; gap: clamp(20px, 3vw, 48px);
  padding: 0 var(--gutter);
  color: var(--bordeaux); background: var(--creme);
  box-shadow: 0 1px 0 var(--filet);
  transition: transform .6s var(--ease), background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.js .hdr:not(.is-solid) { background: transparent; color: var(--creme); box-shadow: 0 1px 0 transparent; }
.hdr.is-hidden:not(:focus-within) { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; border-radius: 99px; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font: 600 1.35rem/1 var(--serif); white-space: nowrap; }
.hdr-nav { display: flex; gap: clamp(18px, 2.4vw, 36px); margin-left: auto; }
.hdr-nav a {
  font-weight: 500; font-size: .95rem; text-decoration: none; padding: 8px 0;
  background: linear-gradient(currentColor 0 0) 0 calc(100% - 4px) / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.hdr-nav a:hover { background-size: 100% 1px; }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px 0 20px; border: 0; border-radius: 99px;
  background: transparent; box-shadow: inset 0 0 0 1.5px currentColor;
  font-weight: 500; cursor: pointer;
}
.burger { position: relative; width: 18px; height: 12px; }
.burger i {
  position: absolute; left: 0; width: 18px; height: 1.6px; border-radius: 2px; background: currentColor;
  transition: transform .55s var(--spring), top .55s var(--spring);
}
.burger i:first-child { top: 2px; }
.burger i:last-child { top: 8px; }
[aria-expanded="true"] .burger i:first-child { top: 5px; transform: rotate(45deg); }
[aria-expanded="true"] .burger i:last-child { top: 5px; transform: rotate(-45deg); }

/* ---------- Menu plein écran (mobile) : ouverture en cercle depuis le bouton ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--hdr-h) + 32px) var(--gutter) 36px;
  background: var(--bordeaux-nuit); color: var(--creme);
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0 at calc(100% - 60px) 42px);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 60px) 42px); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
body.menu-open .hdr { background: transparent; color: var(--creme); box-shadow: none; transform: none; }
.menu-links { display: grid; gap: 6px; }
.menu-links a {
  display: flex; align-items: baseline; gap: 16px;
  font: 500 clamp(2.2rem, 9vw, 3.4rem)/1.15 var(--serif); text-decoration: none;
  opacity: 0; translate: 0 32px;
  transition: opacity .5s var(--ease), translate .9s var(--spring);
}
.menu-links .num { font: 600 .78rem/1 var(--sans); font-stretch: 78%; letter-spacing: .18em; color: var(--or); }
body.menu-open .menu-links a { opacity: 1; translate: 0 0; }
.menu-links li:nth-child(1) a { transition-delay: .15s; }
.menu-links li:nth-child(2) a { transition-delay: .2s; }
.menu-links li:nth-child(3) a { transition-delay: .25s; }
.menu-links li:nth-child(4) a { transition-delay: .3s; }
.menu-links li:nth-child(5) a { transition-delay: .35s; }
.menu-meta { display: grid; gap: 18px; font-size: .95rem; color: rgba(246, 238, 223, .85); }
.menu-meta a { text-underline-offset: 3px; }
.menu-meta .status { justify-self: start; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; color: var(--creme); background: var(--creme); overflow: hidden; }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--bordeaux-nuit); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.js .hero-media img { animation: kenburns 2.8s var(--ease) both; }
@keyframes kenburns { from { scale: 1.14; } to { scale: 1; } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(36, 24, 19, .62) 0%, rgba(36, 24, 19, .3) 45%, rgba(36, 24, 19, 0) 75%),
    linear-gradient(180deg, rgba(36, 24, 19, .55) 0%, rgba(36, 24, 19, .06) 26%, rgba(36, 24, 19, .18) 52%, rgba(36, 24, 19, .86) 100%);
}
.hero-content { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(36px, 7vh, 84px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.hero-title { font-size: clamp(2.1rem, 6.4vw, 6rem); line-height: 1.04; letter-spacing: -.02em; }
.hero-title em { font-style: italic; color: #E2B865; }
.ln { display: block; }
.ln > span { display: inline-block; padding: 0 .08em .08em 0; }
.hero-sub { max-width: 44ch; margin-top: 26px; font-size: 1.08rem; color: rgba(246, 238, 223, .9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* État de départ de l'intro, jouée par script.js (la classe tombe au plus tard après 4 s) */
.intro .ln > span { clip-path: polygon(-10% -10%, -10% -10%, -24% 120%, -24% 120%); transform: translateY(14%); }
.intro .hero-sub, .intro .hero-ctas, .intro .hero-card-in { opacity: 0; transform: translateY(24px); }
.hero-card { width: 290px; margin-bottom: 96px; }
.hero-card-in {
  padding: 24px 26px 26px; border-radius: 16px;
  background: rgba(78, 17, 25, .9); box-shadow: inset 0 0 0 1px rgba(184, 137, 46, .5);
}
.hero-card .label { margin-bottom: 14px; }
.hero-card-addr { margin-top: 16px; font-size: .92rem; line-height: 1.5; color: rgba(246, 238, 223, .85); }

/* ---------- Manifeste + chiffres ---------- */
.manifesto { padding: clamp(110px, 15vw, 210px) 0 clamp(90px, 11vw, 150px); }
.manifesto-text {
  max-width: 1120px;
  font: 450 clamp(1.7rem, 3.8vw, 3.5rem)/1.2 var(--serif);
  color: var(--bordeaux); text-indent: clamp(0px, 12vw, 190px);
  text-wrap: pretty;
}
.manifesto-text em { font-style: italic; color: var(--or-texte); }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; text-indent: 0; }
.w > span { display: inline-block; }
.hl {
  font-style: italic;
  background: linear-gradient(var(--or), var(--or)) 0 94% / 100% 2px no-repeat;
  transition: background-size 1.3s var(--ease);
}
.motion .hl:not(.is-drawn) { background-size: 0% 2px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--filet); }
.stats li { padding: 30px 24px 0 0; }
.stats li + li { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid var(--filet); }
.stat-num { display: block; font: 500 clamp(3.2rem, 7vw, 6rem)/.9 var(--serif); color: var(--bordeaux); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
.stat-lbl { display: block; margin-top: 14px; font-weight: 500; color: var(--encre-2); }

/* ---------- Histoire : miroir en arche collé, chapitres qui défilent ---------- */
.story { padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 11vw, 150px); }
.story-head { margin-bottom: clamp(40px, 6vw, 80px); }
.story-head h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); color: var(--bordeaux); max-width: 16ch; }
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); }
.mirror {
  position: sticky; top: calc(var(--hdr-h) + 20px); align-self: start;
  height: min(calc(100svh - var(--hdr-h) - 40px), 780px);
  display: flex; flex-direction: column;
}
.mirror-frame { position: relative; flex: 1; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--creme-2); isolation: isolate; }
.mirror-frame::after {
  content: ""; position: absolute; inset: 12px; z-index: 3; pointer-events: none;
  border: 1px solid rgba(246, 238, 223, .75); border-radius: 999px 999px 0 0;
}
.mirror-frame img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0); scale: 1.12;
  transition: clip-path 1.2s var(--ease), scale 1.8s var(--ease);
}
.mirror-frame img.is-prev { z-index: 1; clip-path: inset(0); scale: 1; transition: none; }
.mirror-frame img.is-on { z-index: 2; clip-path: inset(0); scale: 1; }
.mirror-count {
  display: flex; justify-content: space-between; margin-top: 16px;
  font: 600 .78rem/1 var(--sans); font-stretch: 78%; letter-spacing: .2em; color: var(--or-texte);
}
.chapter { min-height: 76svh; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; border-top: 1px solid var(--filet); }
.chapter h3 { margin-bottom: 14px; color: var(--bordeaux); }
.chapter-year {
  display: block; margin-bottom: 22px;
  font: italic 500 clamp(4rem, 8vw, 6rem)/.9 var(--serif); letter-spacing: -.02em;
  color: var(--or-texte); -webkit-text-stroke: 1px var(--or-texte);
  transition: color .9s var(--ease);
}
.story-live .chapter:not(.is-active) .chapter-year { color: transparent; }
.chapter-title { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.chapter p { max-width: 46ch; color: var(--encre-2); }
.chapter-img { display: none; }

/* ---------- Engagements : bandeau bordeaux, trait doré dessiné ---------- */
.promise { padding: clamp(90px, 11vw, 160px) 0; background: var(--bordeaux); color: var(--creme); }
.promise-head h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 14ch; }
.promise-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); margin-top: clamp(48px, 6vw, 88px); }
.promise-line { display: block; width: 100%; height: 14px; overflow: visible; }
.promise-line path { fill: none; stroke: var(--or); stroke-width: 2; stroke-linecap: round; }
.promise-item h3 { margin-top: 26px; font-size: clamp(1.4rem, 1.8vw, 1.65rem); line-height: 1.15; }
.promise-item p { margin-top: 12px; font-size: .98rem; color: rgba(246, 238, 223, .84); }

/* ---------- Carte : menu de brasserie, points de conduite ---------- */
.carte { padding: clamp(100px, 12vw, 180px) 0; }
.carte-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: end; }
.carte-head h2 { font-size: clamp(2.6rem, 5.4vw, 5rem); color: var(--bordeaux); max-width: 12ch; }
.carte-note { max-width: 44ch; justify-self: end; color: var(--encre-2); }
.tabs {
  position: relative; display: flex; gap: clamp(22px, 3.4vw, 52px);
  margin-top: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--filet);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 14px 0 18px; border: 0; background: none; cursor: pointer;
  font: 500 clamp(1.25rem, 1.9vw, 1.55rem)/1 var(--serif); color: var(--encre-2);
  transition: color .4s var(--ease);
}
.tab:hover { color: var(--bordeaux); }
.tab[aria-selected="true"] { color: var(--bordeaux); font-style: italic; }
.tab:focus-visible { outline-offset: -2px; }
.tabs-ink {
  position: absolute; left: 0; bottom: 0; width: 100px; height: 3px;
  background: var(--or); transform-origin: 0 50%; transform: scaleX(0);
  transition: transform .7s var(--spring);
}
.panels { margin-top: clamp(36px, 4vw, 56px); }
.panel:focus-visible { outline-offset: 8px; }
.dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 100px); }
.dishes--one { grid-template-columns: 1fr; }
.dish { padding: 16px 0 18px; }
.dish-line { display: flex; align-items: baseline; gap: 12px; }
.dish-name { min-width: 0; font: 600 clamp(1.15rem, 1.6vw, 1.35rem)/1.25 var(--serif); color: var(--bordeaux); transition: color .3s var(--ease); }
.dish-dots { flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(140, 102, 32, .55); translate: 0 -.28em; }
.dish-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish-desc { margin-top: 6px; max-width: 48ch; font-size: .95rem; color: var(--encre-2); }
.dish[data-peek] .dish-name { cursor: default; }
.dish[data-peek]:hover .dish-name { font-style: italic; }
.tag-sig, .tag-veg {
  display: inline-block; margin-right: 6px; padding: 4px 9px 3px; border-radius: 99px; vertical-align: .1em;
  font: 600 .72rem/1.2 var(--sans); font-stretch: 85%; letter-spacing: .06em; text-transform: uppercase;
}
.tag-sig { background: rgba(184, 137, 46, .2); color: var(--or-sombre); }
.tag-veg { background: rgba(44, 75, 55, .12); color: var(--vert); }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(40px, 6vw, 100px); }
.group h3 {
  display: flex; align-items: baseline; gap: 12px; margin-top: 8px; padding-bottom: 10px;
  font: 600 .8rem/1.3 var(--sans); font-stretch: 78%; letter-spacing: .18em; text-transform: uppercase; color: var(--or-texte);
}
.group h3 small { font: italic 400 1rem/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--encre-2); }
.group .dishes + h3 { margin-top: 36px; }

/* Formules : tickets à encoches */
.tickets { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.ticket {
  position: relative; padding: clamp(28px, 4vw, 48px);
  background: var(--ivoire); box-shadow: inset 0 0 0 1px var(--filet);
  -webkit-mask: radial-gradient(circle 14px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 14px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
}
.ticket h3 { font-size: clamp(2rem, 3.4vw, 3rem); color: var(--bordeaux); }
.ticket-rows { margin-top: 26px; border-top: 1.5px dashed var(--filet); }
.ticket-rows div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1.5px dashed var(--filet); }
.ticket-rows dt { font: 600 1.15rem/1.3 var(--serif); color: var(--bordeaux); }
.ticket-rows dd { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket-note { margin-top: 20px; color: var(--encre-2); font-size: .95rem; }
.ticket--dark { background: var(--bordeaux); color: var(--creme); box-shadow: none; display: flex; flex-direction: column; }
.ticket--dark h3 { color: var(--creme); font-style: italic; }
.ticket--dark p:not(.label) { margin-top: 16px; color: rgba(246, 238, 223, .86); }
.ticket-price { margin-top: auto !important; padding-top: 24px; font: 500 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif); color: #E2B865 !important; }

/* Photo qui suit le curseur au survol d'un plat */
.peek {
  position: fixed; left: 0; top: 0; z-index: 30;
  width: 210px; aspect-ratio: 4 / 5; margin: -170px 0 0 30px;
  border-radius: 999px 999px 0 0; overflow: hidden; pointer-events: none;
  background: var(--creme-2);
  box-shadow: 0 30px 60px -28px rgba(78, 17, 25, .6);
  opacity: 0; scale: .7; rotate: -5deg;
  transition: opacity .35s var(--ease), scale .55s var(--spring);
}
.peek.is-on { opacity: 1; scale: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Galerie : défilement natif (mobile), épinglée et pilotée par la molette (grand écran) ---------- */
.gallery { --or-texte: var(--or-sombre); padding: clamp(90px, 11vw, 160px) 0 clamp(80px, 10vw, 140px); background: var(--creme-2); overflow: clip; }
.gallery-head { margin-bottom: clamp(32px, 4vw, 56px); }
.gallery-head h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); color: var(--bordeaux); max-width: 12ch; }
.gallery-track {
  --pad: max(var(--gutter), calc((100vw - 1280px) / 2));
  display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 28px);
  padding: 8px var(--pad) 24px; scroll-padding-inline: var(--pad);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline-offset: -6px; }
.g { flex: none; width: min-content; margin: 0; scroll-snap-align: start; }
/* Épinglée : la section tient dans l'écran, les formes se calent sur la hauteur, la photo glisse dans son cadre */
.gallery.is-pinned { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding: 48px 0 32px; }
.is-pinned .gallery-head { margin-bottom: clamp(24px, 3vh, 40px); }
.is-pinned .gallery-head h2 { max-width: 20ch; }
.is-pinned .gallery-track { overflow: visible; scroll-snap-type: none; }
.is-pinned .g-shape { width: auto !important; }
.is-pinned .g--wide .g-shape { height: min(36vh, 400px); }
.is-pinned .g--arch .g-shape { height: min(46vh, 500px); }
.is-pinned .g--tall .g-shape { height: min(42vh, 460px); }
.is-pinned .g--round .g-shape { height: min(28vh, 320px); }
.is-pinned .g img { width: 116%; max-width: none; margin-left: -8%; }
.g-shape { overflow: hidden; background: rgba(122, 31, 43, .08); }
.g img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; transition: scale 1.2s var(--ease); }
.g:hover img { scale: 1.05; }
.g--wide .g-shape { width: clamp(300px, 40vw, 620px); aspect-ratio: 3 / 2; border-radius: 6px; }
.g--arch .g-shape { width: clamp(240px, 26vw, 380px); aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; }
.g--tall .g-shape { width: clamp(210px, 22vw, 320px); aspect-ratio: 3 / 4.4; border-radius: 6px; }
.g--round .g-shape { width: clamp(210px, 22vw, 320px); aspect-ratio: 1; border-radius: 50%; }
.g figcaption { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; font: italic 400 1.05rem/1.3 var(--serif); color: var(--bordeaux); }
.g figcaption span { font: 600 .74rem/1 var(--sans); font-style: normal; font-stretch: 78%; letter-spacing: .16em; color: var(--or-texte); }
.gallery-progress { height: 2px; margin-top: 8px; background: rgba(122, 31, 43, .14); overflow: hidden; }
.gallery-progress span { display: block; height: 100%; background: var(--bordeaux); transform-origin: 0 50%; transform: scaleX(.1); }

/* ---------- Infos pratiques : à plat, filets dorés ---------- */
.infos { padding: clamp(100px, 12vw, 170px) 0 clamp(110px, 13vw, 180px); }
.infos-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.infos-photo { position: sticky; top: calc(var(--hdr-h) + 24px); }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--creme-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.infos-photo figcaption { margin-top: 14px; font: italic 400 1rem/1.4 var(--serif); color: var(--encre-2); }
.infos-body h2 { font-size: clamp(2.6rem, 5.4vw, 5rem); color: var(--bordeaux); }
.infos-body > .status { margin-top: 24px; }
.infos-block h3 {
  margin-bottom: 12px;
  font: 600 .8rem/1.3 var(--sans); font-stretch: 78%; letter-spacing: .18em; text-transform: uppercase; color: var(--or-texte);
}
.infos-body > .infos-block { margin-top: 44px; }
.infos-block a { text-underline-offset: 3px; }
.note { margin-top: 10px; font-size: .92rem; color: var(--encre-2); }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid rgba(122, 31, 43, .12); font-weight: 400; text-align: left; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours td + td { padding-left: 16px; }
.hours .is-today > * { color: var(--bordeaux); font-weight: 600; }
.hours .is-today th::after { content: " · aujourd'hui"; font-weight: 400; font-size: .85em; color: var(--encre-2); }
.infos-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--filet); }

.private {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  margin-top: clamp(80px, 10vw, 140px); overflow: hidden; border-radius: 4px;
  background: var(--bordeaux-nuit); color: var(--creme);
}
.private-media { min-height: 400px; overflow: hidden; }
.private-media img { width: 100%; height: 100%; object-fit: cover; }
.private-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 72px); }
.private-text h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.private-text p:not(.label) { margin-top: 18px; max-width: 42ch; color: rgba(246, 238, 223, .86); }
.private-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.dates { margin-top: clamp(64px, 8vw, 110px); }
.dates ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--filet); }
.dates li { padding: 26px 24px 0 0; color: var(--encre-2); font-size: .95rem; }
.dates li + li { padding-left: 24px; border-left: 1px solid var(--filet); }
.dates strong { display: block; margin-bottom: 8px; font: italic 500 1.35rem/1.2 var(--serif); color: var(--bordeaux); }

/* ---------- Pied de page ---------- */
.ftr { padding: clamp(90px, 11vw, 150px) 0 32px; background: var(--bordeaux-nuit); color: var(--creme); overflow: hidden; }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.ftr-quote p { max-width: 24ch; font: italic 500 clamp(1.8rem, 3.6vw, 3.2rem)/1.2 var(--serif); }
.ftr-quote cite { display: flex; align-items: center; gap: 12px; margin-top: 22px; font: italic 400 1.05rem/1.4 var(--serif); color: rgba(246, 238, 223, .78); }
.ftr-quote cite::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.coaster {
  width: clamp(150px, 17vw, 230px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--creme); box-shadow: 0 0 0 10px rgba(246, 238, 223, .07), 0 30px 60px -20px rgba(0, 0, 0, .55);
  transition: rotate 1s var(--spring);
}
.coaster:hover { rotate: -14deg; }
.coaster img { width: 100%; height: 100%; object-fit: cover; scale: 1.28; }
.ftr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(64px, 8vw, 110px); padding-top: 36px; border-top: 1px solid rgba(246, 238, 223, .18); }
.ftr-grid h2 {
  margin-bottom: 14px; font: 600 .78rem/1.2 var(--sans); font-stretch: 78%;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 238, 223, .72);
}
.ftr-grid ul { display: grid; }
.ftr-grid a { text-underline-offset: 3px; }
.ftr-grid nav a {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  background: linear-gradient(currentColor 0 0) 0 calc(100% - 10px) / 0 1px no-repeat; transition: background-size .5s var(--ease);
}
.ftr-grid nav a:hover { background-size: 100% 1px; }
.ftr-legal { margin-top: 56px; font-size: .85rem; color: rgba(246, 238, 223, .72); }

/* ---------- Réservation : bouton flottant + fenêtre (mécanique reprise telle quelle) ---------- */
.book-fab { position: fixed; right: var(--fab-gap); bottom: var(--fab-gap); z-index: 35; display: none; transition: opacity .4s var(--ease); }
.js .book-fab { display: inline-flex; }
.book-fab .btn-txt { min-height: 54px; padding: 0 24px; font-size: 1rem; }
.book-fab .btn-ic { width: 54px; height: 54px; }
.book-fab .btn-txt, .book-fab .btn-ic { box-shadow: inset 0 0 0 1px rgba(246, 238, 223, .25), 0 18px 40px -16px rgba(78, 17, 25, .65); }
.book-fab:hover .btn-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: 46;
  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: 24px; background: var(--ivoire); color: var(--encre);
  box-shadow: 0 40px 90px -30px rgba(78, 17, 25, .6), 0 0 0 1px rgba(122, 31, 43, .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(--bordeaux); color: var(--creme); }
.book-title { font-size: 1.75rem; }
.book-title:focus { outline: none; }
.book-desc { margin-top: 6px; font-size: .8rem; color: rgba(246, 238, 223, .86); }
.book-close {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(246, 238, 223, .14); color: var(--creme); cursor: pointer;
  transition: background-color .3s var(--ease), transform .5s var(--spring);
}
.book-close:hover { background: rgba(246, 238, 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(122, 31, 43, .08); color: var(--bordeaux); 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(122, 31, 43, .08); }
.steps li {
  flex: 1; padding: 9px 4px; border-radius: 99px; text-align: center;
  font: 600 .7rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--bordeaux);
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.steps li[aria-current="step"] { background: var(--bordeaux); color: var(--creme); }
.step-title { display: block; margin-bottom: 16px; padding: 0; font: 500 1.5rem/1.15 var(--serif); color: var(--bordeaux); }
.step-title:focus { outline: none; }
.field-label { margin-bottom: 10px; font-weight: 600; font-size: .9rem; color: var(--bordeaux); }
.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(122, 31, 43, .08); font-weight: 500;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--spring);
}
.guests label:hover span { background: rgba(122, 31, 43, .16); }
.guests input:checked + span { background: var(--bordeaux); color: var(--creme); transform: scale(1.06); }
.guests input:focus-visible + span { outline: 2px solid var(--or-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: 600 1.25rem/1 var(--serif); color: var(--bordeaux); text-transform: capitalize; }
.cal-nav {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(122, 31, 43, .08); color: var(--bordeaux); 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(122, 31, 43, .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 .7rem/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(122, 31, 43, .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(122, 31, 43, .18); }
.day:active:not(:disabled) { transform: scale(.92); }
.day:disabled { background: transparent; color: rgba(36, 24, 19, .32); cursor: not-allowed; }
.day.is-today { box-shadow: inset 0 0 0 1.5px var(--or); }
.day[aria-pressed="true"] { background: var(--bordeaux); color: var(--creme); }
.slots { margin-top: 24px; min-height: 40px; }
.slot-group + .slot-group { margin-top: 18px; }
.slot-title { font-weight: 600; font-size: .9rem; color: var(--bordeaux); }
.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(122, 31, 43, .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(122, 31, 43, .18); }
.slot:active:not(:disabled) { transform: scale(.94); }
.slot[aria-pressed="true"] { background: var(--bordeaux); color: var(--creme); }
.slot:disabled { background: transparent; box-shadow: inset 0 0 0 1px rgba(36, 24, 19, .16); color: rgba(36, 24, 19, .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(--ivoire) 72%, rgba(251, 247, 239, 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(--bordeaux); }
.opt { font-weight: 400; color: var(--encre-2); }
.f input, .f textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid rgba(122, 31, 43, .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(--bordeaux); box-shadow: 0 0 0 4px rgba(122, 31, 43, .15); }
.f [aria-invalid="true"] { border-color: var(--erreur); }
.f [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(150, 39, 28, .15); }
.err { min-height: 1.35em; color: var(--erreur); font-size: .82rem; }
.fgrid + .hint { margin-top: 6px; }
.btn.is-loading .btn-ic svg { display: none; }
.btn.is-loading .btn-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(--bordeaux); color: var(--creme); }
.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); }

/* ---------- Pointeurs tactiles : pas de curseur ni d'aperçu flottant ---------- */
@media (hover: none), (pointer: coarse) {
  .peek { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
}
@media (max-width: 960px) {
  .hdr-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .carte-head { grid-template-columns: 1fr; }
  .carte-note { justify-self: start; }
  .dishes, .groups, .tickets { grid-template-columns: 1fr; }
  .infos-grid { grid-template-columns: 1fr; }
  .infos-photo { position: relative; top: auto; max-width: 440px; }
  .dates ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .dates li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 820px) {
  .story-grid { grid-template-columns: 1fr; }
  .mirror { display: none; }
  .chapter { min-height: 0; padding: 40px 0 48px; }
  .chapter-year { color: var(--or-texte) !important; }
  .chapter-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 28px; border-radius: 999px 999px 0 0; }
  .private { grid-template-columns: 1fr; }
  .private-media { min-height: 240px; aspect-ratio: 16 / 10; }
  .ftr-top { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --hdr-h: 72px; }
  .brand-word { font-size: 1.2rem; }
  .hdr-book { display: none; }
  .hero-content { padding-bottom: 104px; }
  .hero-ctas .btn-txt { padding: 0 18px; }
  .stats { grid-template-columns: 1fr; }
  .stats li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--filet); }
  .stats li { padding: 22px 0; }
  .promise-grid { grid-template-columns: 1fr; }
  .gallery-track { align-items: flex-start; }
  .g--wide .g-shape { width: 82vw; }
  .g--arch .g-shape, .g--tall .g-shape, .g--round .g-shape { width: 62vw; }
  .infos-cols { grid-template-columns: 1fr; }
  .dates ul { grid-template-columns: 1fr; }
  .dates li, .dates li + li { padding: 20px 0 0; border-left: 0; }
  .ftr-grid { 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 .btn-txt { min-height: 50px; padding: 0 20px; }
  .book-fab .btn-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; }
}