/* ═══════════════════════════════════════════════════════════════
   LA ROCAILLE — ANDUZE · « La braise et la pierre, depuis 1972 »
   Palette : bordeaux façade · crème pierre · encre · laiton
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bordeaux: #6E1120;
  --bordeaux-dark: #470A15;
  --bordeaux-deep: #2E060D;
  --laiton: #B98F4E;
  --laiton-light: #D8B87E;
  --creme: #F2ECDF;
  --creme-dark: #E7DECB;
  --encre: #241A15;
  --text: #33261F;
  --text-light: #7A6A5E;
  --ombre: rgba(70, 10, 21, 0.18);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 10px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--creme);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
::selection { background: var(--bordeaux); color: var(--creme); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--creme-dark); }
::-webkit-scrollbar-thumb { background: var(--bordeaux); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--bordeaux-dark); }

/* Grain cinéma */
body::after {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px; opacity: 0.035; pointer-events: none; z-index: 9999;
}

/* ── Typo utilitaires ──────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--encre); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h2 em, h1 em { font-style: italic; color: var(--bordeaux); }
.label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--laiton);
}
.label::after {
  content: ''; display: inline-block; vertical-align: middle;
  width: 42px; height: 1px; background: var(--laiton); margin-left: 0.7em; opacity: 0.6;
}

/* ── Boutons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.75em 1.6em;
  font-family: var(--font-body); font-weight: 500; font-size: 0.86rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px;
  position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-smooth), background-color 0.25s, color 0.25s;
}
.btn--lg { padding: 0.95em 2.1em; font-size: 0.92rem; }
.btn--primary {
  background: var(--bordeaux); color: var(--creme);
  box-shadow: 0 4px 18px var(--ombre);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px var(--ombre); background: var(--bordeaux-dark); }
.btn--outline {
  border: 1px solid currentColor; color: var(--encre); background: transparent;
}
.hero .btn--outline { color: var(--creme); }
.btn--outline:hover { transform: translateY(-2px); background: rgba(255,255,255,0.08); }
.btn--glow::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120px circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.25), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.btn--glow:hover::before { opacity: 1; }
.btn:active { transform: translateY(0) scale(0.98); }

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

/* ═══════════════════════ NAVIGATION ═══════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color 0.4s var(--ease-smooth), box-shadow 0.4s, backdrop-filter 0.4s;
  color: var(--creme);
}
.nav--scrolled {
  background: rgba(36, 26, 21, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.nav__inner {
  max-width: 1220px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  padding: 0.8rem 1.4rem;
}
.nav__logo {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--creme);
}
.nav__logo-text {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.05;
  display: flex; flex-direction: column;
}
.nav__logo-text em {
  font-family: var(--font-body); font-style: normal; font-weight: 400;
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75;
}
.nav__links { display: flex; gap: 1.7rem; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-size: 0.83rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; padding: 0.3em 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--laiton-light);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out-expo);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px; padding: 6px; z-index: 110;
}
.nav__burger span {
  width: 24px; height: 2px; background: currentColor; display: block;
  transition: transform 0.35s var(--ease-out-expo), opacity 0.25s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════ HERO ═══════════════════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--creme);
  overflow: hidden;
}
.hero__photo {
  position: absolute; inset: -8% 0;
  background-size: cover; background-position: center 65%;
  will-change: transform;
}
/* MODIFIÉ : filtre bordeaux profond qui voile largement la photo de fond */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(110,17,32,0.30), transparent 65%),
    linear-gradient(180deg, rgba(70,10,21,0.78) 0%, rgba(110,17,32,0.72) 45%, rgba(46,6,13,0.92) 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__content {
  position: relative; z-index: 2;
  max-width: 780px; padding: 7rem 1.4rem 5rem;
}
.hero__engraving {
  width: min(150px, 34vw); margin: 0 auto 1.4rem;
  color: var(--laiton-light);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}
/* MODIFIÉ : le logo script « La Rocaille » se forme (balayage d'écriture) */
.hero__title { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.hero__logo-script {
  width: min(520px, 84vw); height: auto;
  filter: drop-shadow(0 4px 22px rgba(0,0,0,0.4));
  clip-path: inset(0 100% 0 0);
  animation: logoWrite 1.7s var(--ease-out-expo) 1.5s forwards;
}
@keyframes logoWrite { to { clip-path: inset(0 -8% 0 0); } }
.hero__depuis {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  color: var(--laiton-light); letter-spacing: 0.14em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
  opacity: 0; transform: translateY(14px);
  animation: heroIn 0.9s var(--ease-out-expo) 2.7s forwards;
}
.hero__subtitle {
  max-width: 560px; margin: 1.3rem auto 0;
  font-size: clamp(0.98rem, 1.6vw, 1.12rem); font-weight: 300;
  color: rgba(242,236,223,0.92);
}
.hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.hero__note { margin-top: 1.4rem; font-size: 0.85rem; font-style: italic; opacity: 0.8; font-family: var(--font-display); font-size: 1.05rem; }

/* Cascade d'entrée */
.hero__label, .hero__title, .hero__subtitle, .hero__ctas, .hero__note {
  opacity: 0; transform: translateY(26px);
  animation: heroIn 1s var(--ease-out-expo) forwards;
  animation-delay: calc(0.35s + var(--i, 0) * 0.14s);
}
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--creme); opacity: 0.75;
  animation: scrollBounce 2.2s var(--ease-smooth) infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ── Gravures : tracé au burin ─────────────────────────────── */
.engraving path {
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.engraving.drawn path {
  animation: draw 1.6s var(--ease-out-expo) forwards;
  animation-delay: calc(var(--i, 0) * 0.18s);
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ═══════════════════════ BANDEAU ═══════════════════════ */
.ribbon {
  background: var(--bordeaux); color: var(--creme);
  text-align: center; padding: 0.85rem 1.2rem;
  font-size: 0.86rem; letter-spacing: 0.05em;
}
.ribbon strong { font-weight: 500; color: var(--laiton-light); }

/* ═══════════════════════ SECTIONS ═══════════════════════ */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section__inner { max-width: 1160px; margin: 0 auto; padding: 0 1.4rem; }
.section__head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__head h2 { margin-top: 0.6rem; }
.section__lead { margin-top: 1rem; color: var(--text-light); font-size: 1.02rem; }

/* ── Histoire ──────────────────────────────────────────────── */
.section--histoire { background: var(--creme); overflow: hidden; }
.grid-2 {
  display: grid; grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.histoire__media { position: relative; }
.frame {
  border: 1px solid var(--laiton); padding: 10px; background: var(--creme);
  box-shadow: 0 14px 40px rgba(36,26,21,0.16);
}
.frame img { filter: saturate(0.94); }
.frame figcaption {
  font-family: var(--font-display); font-style: italic;
  font-size: 0.9rem; color: var(--text-light);
  padding: 0.6rem 0.2rem 0.1rem; text-align: center;
}
.frame--offset {
  position: absolute; width: 46%; right: -6%; bottom: -14%;
  transform: rotate(2.5deg);
  transition: transform 0.4s var(--ease-out-expo);
}
.frame--offset:hover { transform: rotate(0deg) scale(1.03); }
.histoire__text h2 { margin: 0.6rem 0 1.2rem; }
.histoire__text p + p { margin-top: 1rem; }
.histoire__vase {
  display: flex; align-items: center; gap: 1.2rem; margin: 1.8rem 0;
}
.engraving--vase {
  width: 86px; flex-shrink: 0; color: var(--bordeaux);
  cursor: pointer; transition: transform 0.3s var(--ease-elastic);
}
.engraving--vase:hover { transform: translateY(-3px) rotate(-2deg); }
.engraving--vase:active { transform: scale(0.95); }
.histoire__vase-caption {
  font-family: var(--font-display); font-style: italic;
  color: var(--text-light); font-size: 0.95rem;
}
.badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.badge {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--laiton); color: var(--bordeaux-dark);
  padding: 0.45em 1em; border-radius: 2px;
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease-out-expo), box-shadow 0.25s;
}
.badge:hover { background: var(--bordeaux); color: var(--creme); border-color: var(--bordeaux); transform: translateY(-2px); }
.badge.active {
  background: var(--bordeaux); color: var(--creme); border-color: var(--bordeaux);
  box-shadow: 0 6px 16px var(--ombre);
}
.badge--static { cursor: default; }

/* ── Interrupteur type iPhone + photos permutables (avant/après, int/ext) ── */
/* MODIFIÉ : composant partagé par « La maison » et « Le restaurant » */
.switch-row {
  display: flex; align-items: center; gap: 0.9rem;
  margin-top: 1.1rem;
}
.switch-row--center { justify-content: center; margin: 0 0 1.8rem; }
.switch-row__label {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 1.05rem; color: var(--text-light);
  transition: color 0.3s, transform 0.3s var(--ease-out-expo);
}
.switch-row__label.is-active { color: var(--bordeaux); transform: scale(1.06); }
.ios-switch {
  position: relative; width: 58px; height: 32px; flex-shrink: 0;
  border-radius: 16px; background: var(--bordeaux);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.28);
  transition: background-color 0.3s var(--ease-smooth);
}
.ios-switch__knob {
  position: absolute; top: 3px; left: 3px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--creme);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.35s var(--ease-out-expo);
}
.ios-switch[aria-checked="true"] .ios-switch__knob { transform: translateX(26px); }
.ios-switch:hover .ios-switch__knob { box-shadow: 0 3px 10px rgba(0,0,0,0.35); }

.swap-photos { position: relative; overflow: hidden; }
.swap-photos__img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 0.55s var(--ease-smooth), transform 0.9s var(--ease-out-expo);
}
.swap-photos__img.is-visible { opacity: 1; transform: none; }
.swap-photos__img:not(:first-child) { position: absolute; inset: 0; }

/* ── Carte — style maquette imprimée (crème + cadres bordeaux) ── */
/* MODIFIÉ : la carte reprend le dessin de la carte papier de la maison */
.section--carte {
  background:
    repeating-linear-gradient(0deg, rgba(110,17,32,0.025) 0 1px, transparent 1px 5px),
    var(--creme);
  color: var(--text);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.section--carte .section__head { margin-inline: auto; text-align: center; }
.section--carte .section__head .section__lead { margin-inline: auto; max-width: 560px; }
.carte__masthead {
  text-align: center; max-width: 720px; margin: 0 auto clamp(1.8rem, 4vw, 2.8rem);
  border: 2px solid var(--bordeaux); outline: 1px solid var(--bordeaux); outline-offset: 4px;
  background: #FCF9F1; padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: 0 14px 40px rgba(70,10,21,0.10);
}
.carte__resto-grill {
  display: block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--bordeaux);
}
.carte__script {
  font-family: "Dancing Script", "Brush Script MT", cursive;
  font-weight: 700; color: var(--bordeaux);
  font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1.05;
  margin-top: 0.2rem;
}
.carte__script--sub { font-size: clamp(1.9rem, 4.2vw, 2.6rem); }
.carte__depuis {
  display: inline-block; margin-top: 0.15rem;
  font-family: var(--font-display); font-style: italic;
  color: var(--text-light); letter-spacing: 0.12em; font-size: 0.95rem;
}
.carte__lead { margin: 0.9rem auto 0; max-width: 560px; }
.carte__lead strong { color: var(--bordeaux); font-weight: 500; }

/* bandeau frites sans gluten */
.carte__gluten {
  display: flex; align-items: center; justify-content: center; gap: 0.9rem;
  max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3rem);
  background: var(--bordeaux); color: var(--creme);
  padding: 0.85rem 1.4rem; border-radius: 3px;
  box-shadow: 0 10px 30px var(--ombre);
}
.carte__gluten p { font-size: 0.95rem; }
.carte__gluten strong { color: var(--laiton-light); font-weight: 500; letter-spacing: 0.03em; }
.gluten-icon { flex-shrink: 0; color: var(--laiton-light); }

/* panneaux de menus — en premier, comme demandé */
.carte__menus {
  display: grid; grid-template-columns: 1.1fr 0.9fr 1.1fr; gap: 1.3rem;
  align-items: stretch;
}

/* ── Onglets : tout sur une seule carte ── */
/* MODIFIÉ : petits boutons en haut, une seule planche qui change de section */
.carte__tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem;
  max-width: 880px; margin: 0 auto 1.6rem;
}
.carte__tab {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.55em 1.25em; border-radius: 2px;
  border: 1px solid var(--bordeaux); color: var(--bordeaux);
  background: transparent;
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease-out-expo), box-shadow 0.25s;
}
.carte__tab:hover { transform: translateY(-2px); box-shadow: 0 6px 16px var(--ombre); }
.carte__tab.is-active {
  background: var(--bordeaux); color: var(--creme);
  box-shadow: 0 8px 20px var(--ombre);
}
.carte__board { max-width: 880px; margin: 0 auto; }
.carte__board:hover { transform: none; }
.carte__panel[hidden] { display: none; }
.carte__panel.is-active { animation: panelIn 0.55s var(--ease-out-expo); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
/* listes longues : deux colonnes sur grand écran */
.dish-list--cols { columns: 2; column-gap: 2.2rem; }
.dish-list--cols li { break-inside: avoid; }
.menu-panel {
  background: var(--bordeaux); color: var(--creme);
  border: 1px solid var(--bordeaux-dark);
  outline: 1px solid rgba(242,236,223,0.55); outline-offset: -7px;
  padding: 1.7rem 1.5rem 1.6rem; position: relative;
  box-shadow: 0 16px 44px rgba(70,10,21,0.22);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}
.menu-panel:hover { transform: translateY(-5px); box-shadow: 0 24px 54px rgba(70,10,21,0.3); }
.menu-panel__head {
  display: flex; align-items: baseline; justify-content: center; gap: 0.7rem;
  border-bottom: 1px solid rgba(242,236,223,0.35); padding-bottom: 0.7rem; margin-bottom: 1rem;
}
.menu-panel__title {
  font-family: "Dancing Script", cursive; font-weight: 700;
  font-size: 1.9rem; color: var(--creme);
}
.menu-panel__price {
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  color: var(--laiton-light);
}
.menu-panel__note {
  text-align: center; font-style: italic; font-family: var(--font-display);
  margin: -0.5rem 0 0.8rem; opacity: 0.85; font-size: 0.95rem;
}
.menu-panel__courses { list-style: none; text-align: center; }
.menu-panel__courses li {
  padding: 0.55em 0; font-size: 0.97rem; font-weight: 400;
}
.menu-panel__courses li + li { border-top: 1px dotted rgba(242,236,223,0.28); }
.menu-panel__courses em {
  display: block; font-family: var(--font-display); font-style: italic;
  color: var(--laiton-light); font-size: 0.92rem; margin-bottom: 0.1em;
}
.menu-panel__courses span {
  display: block; font-size: 0.85rem; font-weight: 300;
  color: rgba(242,236,223,0.82); margin-top: 0.2em; line-height: 1.5;
}
.engraving--carte-fontaine {
  display: block; width: 86px; margin: 1.1rem auto 0;
  color: rgba(242,236,223,0.9);
}

/* ── Le livre de la carte : couverture, pages 3D, navigation ── */
/* MODIFIÉ : la carte se feuillette comme un vrai livre, page après page */
.book-wrap { max-width: 960px; margin: 0 auto; }
.book {
  position: relative; height: 700px;
  perspective: 2600px;
}
.book__base {
  position: absolute; inset: 8px -6px -10px;
  background: var(--bordeaux-deep);
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(70,10,21,0.35), inset 0 0 0 1px rgba(0,0,0,0.2);
}
/* pages de gauche « déjà lues » : fond papier sous les feuilles retournées */
.book__base::before {
  content: ''; position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px);
  background: #F4EEDF; border-radius: 6px 2px 2px 6px;
  box-shadow: inset -14px 0 22px -16px rgba(70,10,21,0.5);
  opacity: 0; transition: opacity 0.5s var(--ease-smooth);
}
.book.is-open .book__base::before { opacity: 1; }
.book__sheet {
  position: absolute; top: 0; left: 50%; width: 50%; height: 100%;
  transform-style: preserve-3d; transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.45, 0.05, 0.25, 1);
}
.book__sheet.flipped { transform: rotateY(-180deg); }
.book__face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(110,17,32,0.02) 0 1px, transparent 1px 5px),
    #FCF9F1;
  border: 1px solid rgba(110,17,32,0.25);
  padding: 1.5rem 1.4rem 1.2rem;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.book__face--front {
  border-radius: 2px 8px 8px 2px;
  box-shadow: inset 12px 0 24px -16px rgba(70,10,21,0.45);
}
.book__face--back {
  transform: rotateY(180deg);
  border-radius: 8px 2px 2px 8px;
  box-shadow: inset -12px 0 24px -16px rgba(70,10,21,0.45);
}
/* couverture bordeaux */
.book__face--cover {
  background: var(--bordeaux);
  border: 1px solid var(--bordeaux-dark);
  outline: 1px solid rgba(242,236,223,0.55); outline-offset: -9px;
  color: var(--creme);
  align-items: center; justify-content: center; text-align: center; gap: 0.6rem;
  cursor: pointer;
}
.book__cover-grill {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--laiton-light);
}
.book__cover-logo { width: min(300px, 80%); height: auto; }
.book__cover-depuis {
  font-family: var(--font-display); font-style: italic;
  letter-spacing: 0.14em; color: var(--laiton-light);
}
.book__cover-fontaine { width: 96px; margin-top: 0.8rem; color: rgba(242,236,223,0.9); }
.book__cover-open {
  margin-top: 1.2rem; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--laiton-light); color: var(--laiton-light);
  padding: 0.55em 1.3em; border-radius: 2px;
  transition: background-color 0.25s, color 0.25s;
}
.book__face--cover:hover .book__cover-open { background: var(--laiton-light); color: var(--bordeaux-dark); }
/* contenu des pages */
.carte__script--page {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.1; margin: 0 0 0.35rem;
}
.carte__script--page small {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.06em; color: var(--text-light); margin-left: 0.5em;
}
.book__intro { font-size: 0.94rem; color: var(--text); margin-bottom: 0.7rem; }
.book__intro strong { color: var(--bordeaux); font-weight: 500; }
.menu-panel--page { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.menu-panel--page:hover { transform: none; }
.book .dish-list { margin-top: 0.2rem; }
.book .dish-list li { padding: 0.34em 0.35em; font-size: 0.92rem; }
.book .dish-list__name small { font-size: 0.8rem; line-height: 1.35; }
.book .dish-list--compact li { padding: 0.26em 0.35em; }
.book .carte__sauces { margin-top: auto; }
.book .carte__card-foot { margin-top: 0.8rem; }
.carte__signature--page { margin: auto 0; }
/* navigation du livre */
.book__nav {
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  margin-top: 1.6rem;
}
.book__arrow {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--laiton); color: var(--bordeaux);
  background: var(--creme);
  transition: transform 0.25s var(--ease-out-expo), background-color 0.25s, color 0.25s, opacity 0.25s;
}
.book__arrow:hover:not(:disabled) { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--creme); transform: translateY(-2px); }
.book__arrow:disabled { opacity: 0.35; cursor: default; }
.book__status {
  min-width: 200px; text-align: center;
  font-family: var(--font-display); font-style: italic;
  color: var(--text-light); font-size: 1rem;
}
.book__hint {
  text-align: center; margin-top: 0.6rem;
  font-size: 0.84rem; color: var(--text-light);
}
@keyframes pageTurnIn {
  from { opacity: 0; transform: perspective(900px) rotateY(-26deg) translateX(16px); }
  to { opacity: 1; transform: none; }
}

/* variante livre d'or : plus petit, pages lignées manuscrites */
.book-wrap--or { max-width: 780px; }
.book--or { height: 460px; }
.book__cover-script {
  font-family: "Dancing Script", cursive; font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1.1;
  color: var(--creme);
  text-shadow: 0 3px 14px rgba(0,0,0,0.3);
}
.book--or .book__cover-fontaine { width: 74px; margin-top: 0.5rem; }
.book__face--or {
  background:
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(110,17,32,0.10) 30px 31px),
    #FCF8EE;
  justify-content: center; text-align: center;
  padding: 2rem 1.8rem;
}
.or-page__quote { margin: 0; }
.or-page__quote p, .or-page__text {
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.55; color: var(--encre);
}
.or-page__text--blank { opacity: 0.75; }
.or-page__author {
  margin-top: 1.2rem; font-family: "Caveat", cursive; font-weight: 600;
  font-size: 1.2rem; color: var(--bordeaux); text-align: right;
}
.book__face--or .or-page__author { text-align: center; }

/* ── La carte : grille maquette (menus + spécialités) ── */
.carte__subhead { text-align: center; margin-bottom: 1.6rem; }
.carte__mention { color: var(--text-light); font-size: 0.95rem; margin-top: 0.2rem; }
.carte__mention strong { color: var(--bordeaux); font-weight: 500; }
.carte__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem; max-width: 980px; margin: 0 auto;
}
.carte__card {
  background: #FCF9F1;
  border: 2px solid var(--bordeaux); outline: 1px solid var(--bordeaux); outline-offset: 4px;
  padding: 1.7rem 1.6rem; position: relative;
  box-shadow: 0 14px 40px rgba(70,10,21,0.10);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}
.carte__card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(70,10,21,0.16); }
.carte__card h4 {
  font-family: "Dancing Script", cursive; font-weight: 700;
  font-size: 1.6rem; color: var(--bordeaux); margin-bottom: 0.7rem;
}
.carte__card h4 small {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.06em; color: var(--text-light); margin-left: 0.5em;
}
.carte__card-note {
  font-size: 0.92rem; color: var(--text-light); margin: -0.3rem 0 0.6rem;
  font-family: var(--font-display); font-style: italic;
}
.carte__card-note strong { color: var(--bordeaux); font-style: normal; }
.carte__card-foot {
  margin-top: 0.7rem; font-size: 0.88rem; color: var(--text-light);
  font-family: var(--font-display); font-style: italic;
}
.dish-list { list-style: none; }
.dish-list li {
  display: flex; align-items: baseline; gap: 0.5em;
  padding: 0.5em 0.4em; margin: 0 -0.4em;
  font-weight: 400; font-size: 0.97rem; color: var(--text);
  cursor: pointer; border-radius: 2px;
  transition: background-color 0.25s, padding-left 0.3s var(--ease-out-expo);
}
.dish-list li:not([data-img]) { cursor: default; }
.dish-list li:hover, .dish-list li:focus-visible {
  background: rgba(110,17,32,0.06); padding-left: 0.8em;
}
.dish-list__name small {
  display: block; font-family: var(--font-display); font-style: italic;
  font-size: 0.88rem; color: var(--text-light);
}
.dish-list__dots {
  flex: 1; min-width: 24px;
  border-bottom: 1px dotted rgba(110,17,32,0.45);
  transform: translateY(-4px);
}
.dish-list__price {
  font-family: var(--font-display); font-weight: 700;
  color: var(--bordeaux); white-space: nowrap; font-size: 1.05rem;
}
.carte__sauces {
  margin-top: 1.4rem; padding: 0.9rem 1.1rem;
  background: rgba(110,17,32,0.05); border-left: 3px solid var(--bordeaux);
}
.carte__sauces h4 { font-size: 1.35rem; margin-bottom: 0.15rem; }
.carte__sauces p { font-size: 0.95rem; color: var(--text); letter-spacing: 0.03em; }
.carte__signature {
  text-align: center; margin-top: 1.6rem;
  font-family: "Dancing Script", cursive; font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 1.9rem); color: var(--bordeaux);
}

/* ── Bulle aperçu plat ─────────────────────────────────────── */
.dish-bubble {
  position: fixed; top: 0; left: 0; z-index: 500;
  pointer-events: none;
  opacity: 0; transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 0.22s var(--ease-smooth);
}
.dish-bubble.show { opacity: 1; }
.dish-bubble__frame {
  width: 235px;
  border: 1px solid var(--laiton); background: var(--creme); padding: 7px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  transform: scale(0.94); transform-origin: bottom left;
  transition: transform 0.25s var(--ease-out-expo);
}
.dish-bubble.show .dish-bubble__frame { transform: scale(1); }
.dish-bubble img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  filter: saturate(0.96);
}
.dish-bubble__placeholder {
  display: none;
  aspect-ratio: 4 / 3; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic;
  color: var(--text-light); font-size: 1rem; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(185,143,78,0.12) 0 1px, transparent 1px 7px),
    var(--creme-dark);
  border: 1px dashed var(--laiton);
}
.dish-bubble.no-img img { display: none; }
.dish-bubble.no-img .dish-bubble__placeholder { display: flex; }
.dish-bubble__caption {
  font-family: var(--font-display); font-style: italic; text-align: center;
  font-size: 0.94rem; color: var(--text); padding: 0.5rem 0.2rem 0.15rem;
}
.carte__note {
  text-align: center; margin-top: 2.2rem;
  font-size: 0.92rem; color: var(--text-light);
}
.carte__note strong { color: var(--bordeaux); font-weight: 500; }
.carte__cta { text-align: center; margin-top: 1.6rem; }

/* ── Galerie / carousel ────────────────────────────────────── */
.section--galerie { background: var(--creme-dark); padding-bottom: clamp(4rem, 9vw, 7rem); }
.carousel {
  overflow: hidden; cursor: grab; user-select: none;
  padding: 0.5rem 0 0;
}
.carousel:active { cursor: grabbing; }
.carousel__track {
  display: flex; gap: 1.2rem; padding: 0 max(1.4rem, calc((100vw - 1160px) / 2));
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 clamp(260px, 34vw, 420px);
  border: 1px solid var(--laiton); background: var(--creme); padding: 8px;
  box-shadow: 0 10px 30px rgba(36,26,21,0.12);
}
.carousel__slide img {
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  filter: saturate(0.95);
  transition: transform 0.5s var(--ease-out-expo);
  pointer-events: none;
}
.carousel__slide:hover img { transform: scale(1.02); }
.carousel__slide figcaption {
  font-family: var(--font-display); font-style: italic; text-align: center;
  font-size: 0.92rem; color: var(--text-light); padding: 0.55rem 0 0.15rem;
}
.carousel__dots {
  display: flex; gap: 0.55rem; justify-content: center; margin-top: 1.6rem;
}
.carousel__dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-light); opacity: 0.35;
  transition: opacity 0.25s, transform 0.25s var(--ease-elastic);
}
.carousel__dots button.active { opacity: 1; background: var(--bordeaux); transform: scale(1.35); }

/* ── Avis ──────────────────────────────────────────────────── */
.section--avis { background: var(--creme); }
.avis__score { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-top: 0.8rem; }
.avis__note {
  font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 600; color: var(--bordeaux); line-height: 1;
}
.avis__note em { font-size: 0.45em; font-style: normal; color: var(--text-light); }
.avis__stars { display: flex; gap: 0.15rem; color: var(--laiton); }
.star { width: 21px; height: 21px; fill: currentColor; }
.star--half { fill: none; }
.avis__count { font-size: 0.85rem; color: var(--text-light); letter-spacing: 0.04em; }
.avis__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.avis__card {
  border: 1px solid var(--creme-dark); border-left: 3px solid var(--laiton);
  background: #FAF6EC; padding: 1.7rem 1.5rem;
  box-shadow: 0 8px 26px rgba(36,26,21,0.07);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}
.avis__card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(36,26,21,0.12); }
.avis__card p {
  font-family: var(--font-display); font-size: 1.12rem; font-style: italic;
  color: var(--encre);
}
.avis__card footer { margin-top: 1rem; font-size: 0.8rem; color: var(--text-light); letter-spacing: 0.05em; }

/* ── Contact ───────────────────────────────────────────────── */
.section--contact { background: var(--creme-dark); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr 1.3fr; gap: clamp(1.5rem, 4vw, 3rem); }
.contact__col h3 {
  font-size: 1.3rem; margin-bottom: 0.5rem; margin-top: 1.3rem;
}
.contact__col h3:first-child { margin-top: 0; }
.contact__phone {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--bordeaux); padding: 0;
  border-bottom: 1px dashed var(--laiton);
  transition: color 0.25s;
}
.contact__phone:hover { color: var(--bordeaux-dark); }
.contact__hint { margin-top: 0.9rem; font-style: italic; font-family: var(--font-display); color: var(--text-light); }
.contact__hours { list-style: none; }
.contact__hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.42em 0; border-bottom: 1px dotted rgba(122,106,94,0.35);
  font-size: 0.93rem;
}
.contact__hours li.today { font-weight: 600; color: var(--bordeaux); }
.contact__hours li.today::after { content: '· aujourd\'hui'; font-size: 0.72rem; font-weight: 400; align-self: center; color: var(--laiton); }
.contact__map {
  border: 1px solid var(--laiton); padding: 8px; background: var(--creme);
  box-shadow: 0 12px 34px rgba(36,26,21,0.14); height: 100%;
}
.contact__map iframe {
  width: 100%; height: 100%; min-height: 320px; border: 0; display: block;
  filter: grayscale(1) sepia(0.12); transition: filter 0.5s var(--ease-smooth);
}
.contact__map:hover iframe { filter: grayscale(0); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--encre); color: rgba(242,236,223,0.65);
  font-size: 0.8rem; padding: 1.3rem 1.4rem;
}
.footer__inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer a { color: inherit; text-underline-offset: 3px; }
.footer a:hover { color: var(--laiton-light); }
.footer__social { display: inline-flex; opacity: 0.7; transition: opacity 0.25s, transform 0.25s; }
.footer__social:hover { opacity: 1; transform: translateY(-2px); }

/* ═══════════════════ OVERLAY TÉLÉPHONE ═══════════════════ */
/* z-index au-dessus de tout, grain compris : l'overlay recouvre le site entier */
.phone-overlay { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; }
body.no-scroll { overflow: hidden; }
.phone-overlay[hidden] { display: none; }
.phone-overlay__backdrop {
  position: absolute; inset: 0; background: rgba(36,26,21,0.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.3s var(--ease-smooth);
}
.phone-overlay__card {
  position: relative; background: var(--creme);
  border: 1px solid var(--laiton);
  padding: 2.6rem 2.4rem 2.2rem; max-width: 420px; width: calc(100% - 2.4rem);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: springIn 0.55s var(--ease-elastic);
}
@keyframes springIn {
  from { opacity: 0; transform: translateY(40px) scale(0.92); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } }
.phone-overlay__close {
  position: absolute; top: 0.5rem; right: 0.9rem;
  font-size: 1.7rem; color: var(--text-light); line-height: 1;
  transition: color 0.2s, transform 0.2s;
}
.phone-overlay__close:hover { color: var(--bordeaux); transform: rotate(90deg); }
.phone-overlay__title {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 600;
  color: var(--encre); margin: 0.4rem 0 1.2rem;
}
.phone-overlay__number { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.phone-overlay__digit {
  font-family: var(--font-display); font-size: 1.85rem; font-weight: 700;
  color: var(--bordeaux);
  opacity: 0; transform: translateY(14px);
  animation: digitIn 0.5s var(--ease-out-expo) forwards;
  animation-delay: calc(0.15s + var(--i) * 0.07s);
}
.phone-overlay__digit--gap { margin-left: 0.45em; }
@keyframes digitIn { to { opacity: 1; transform: none; } }
.phone-overlay__actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.phone-overlay__actions .btn--outline { color: var(--encre); }
.phone-overlay__hours { margin-top: 1.2rem; font-size: 0.8rem; color: var(--text-light); }
.phone-overlay__toast {
  position: absolute; left: 50%; bottom: -1.1rem; transform: translateX(-50%) translateY(8px);
  background: var(--encre); color: var(--creme);
  font-size: 0.8rem; padding: 0.45em 1.1em; border-radius: 3px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out-expo);
}
.phone-overlay__toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══════════════════ LIGHTBOX ═══════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(24,17,14,0.92);
  display: grid; place-items: center; padding: 2rem;
  animation: fadeIn 0.25s;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-height: 78vh; max-width: 100%;
  border: 6px solid var(--creme);
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
}
.lightbox__caption {
  color: var(--creme); font-family: var(--font-display); font-style: italic;
  margin-top: 1rem; font-size: 1.05rem;
}
.lightbox__close {
  position: absolute; top: 1rem; right: 1.6rem;
  font-size: 2.4rem; color: var(--creme); opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}
.lightbox__close:hover { opacity: 1; transform: rotate(90deg); }

/* ═══════════════════ EASTER EGG ═══════════════════ */
.egg-toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 220; text-align: center;
  background: var(--bordeaux-deep); color: var(--creme);
  border: 1px solid var(--laiton);
  padding: 1.4rem 2.4rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  opacity: 0; transition: opacity 0.5s, transform 0.5s var(--ease-out-expo);
}
.egg-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.egg-toast[hidden] { display: none; }
.egg-toast__year {
  display: block; font-family: var(--font-display); font-size: 2.2rem;
  font-weight: 700; color: var(--laiton-light); letter-spacing: 0.1em;
}
.egg-toast p { font-family: var(--font-display); font-style: italic; font-size: 1rem; }

/* ═══════════════════ REVEAL AU SCROLL ═══════════════════ */
.reveal, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  transition-delay: calc(var(--d, 0) * 0.12s);
}
.reveal { transform: translateY(34px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
  .frame--offset { position: relative; right: auto; bottom: auto; width: 60%; margin: -2.5rem 0 0 auto; }
  .carte__grid, .avis__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .contact__col--map { grid-column: 1 / -1; }
  .contact__map iframe { min-height: 280px; }
}
@media (max-width: 760px) {
  .nav__links {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(78%, 320px);
    background: rgba(36,26,21,0.96);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 1.8rem; padding: 3rem 2.4rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out-expo);
    box-shadow: -20px 0 60px rgba(0,0,0,0.35);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.05rem; }
  .nav__actions .btn { padding: 0.65em 1em; font-size: 0.78rem; }
  .nav__burger { display: flex; }
  .contact__grid { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .histoire__vase { gap: 0.9rem; }
}

/* ═══════════════════ ACCESSIBILITÉ ═══════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right,
  .hero__label, .hero__title, .hero__subtitle, .hero__ctas, .hero__note,
  .hero__depuis,
  .phone-overlay__digit { opacity: 1; transform: none; }
  .hero__logo-script { clip-path: inset(0 -8% 0 0); animation: none; }
  .engraving path { stroke-dashoffset: 0; }
  .hero__canvas { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   COMPOSANTS V2 — retours client (août 2026)
   ═══════════════════════════════════════════════════════════════ */

/* ── Nav : logo script de l'ancien site ────────────────────── */
.nav__logo-script { width: 132px; height: auto; }

/* ── Le restaurant : grilles intérieur / extérieur ─────────── */
.section--restaurant { background: var(--creme-dark); }
.section--restaurant .section__head { margin-inline: auto; text-align: center; }
.resto__panels { position: relative; }
.resto__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.55s var(--ease-smooth), transform 0.7s var(--ease-out-expo);
}
.resto__grid.is-visible { opacity: 1; transform: none; }
.resto__grid[hidden] { display: none; }
.resto__photo {
  border: 1px solid var(--laiton); background: var(--creme); padding: 8px;
  box-shadow: 0 10px 30px rgba(36,26,21,0.12); margin: 0;
  cursor: zoom-in;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s;
}
.resto__photo:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(36,26,21,0.18); }
.resto__photo--large { grid-row: span 2; }
.resto__photo img {
  width: 100%; object-fit: cover;
  aspect-ratio: 4 / 3; filter: saturate(0.95);
}
.resto__photo--large img { aspect-ratio: auto; height: calc(100% - 2.1rem); }
.resto__photo figcaption {
  font-family: var(--font-display); font-style: italic; text-align: center;
  font-size: 0.92rem; color: var(--text-light); padding: 0.55rem 0 0.1rem;
}

/* ── Livre d'or ────────────────────────────────────────────── */
.section--livredor {
  background: var(--creme);
  background-image: radial-gradient(ellipse at 85% 10%, rgba(185,143,78,0.12), transparent 55%);
}
.livredor__pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.livredor__page {
  position: relative;
  background:
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(110,17,32,0.10) 30px 31px),
    #FCF8EE;
  border: 1px solid var(--creme-dark);
  box-shadow: 0 14px 34px rgba(36,26,21,0.12), 0 2px 0 rgba(36,26,21,0.06);
  padding: 2rem 1.7rem 1.6rem;
  transform: rotate(var(--tilt, -1deg));
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s;
}
.livredor__page:nth-child(2) { --tilt: 0.8deg; }
.livredor__page:nth-child(3) { --tilt: -0.6deg; }
.livredor__page:hover { transform: rotate(0deg) translateY(-5px); box-shadow: 0 22px 46px rgba(36,26,21,0.18); }
.livredor__page::before {
  content: ''; position: absolute; top: -9px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 74px; height: 20px;
  background: rgba(185,143,78,0.35);
  border-left: 1px dashed rgba(255,255,255,0.5); border-right: 1px dashed rgba(255,255,255,0.5);
}
.livredor__page p {
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 1.42rem; line-height: 1.5; color: var(--encre);
}
.livredor__page footer {
  margin-top: 1rem; font-family: "Caveat", cursive; font-weight: 600;
  font-size: 1.15rem; color: var(--bordeaux); text-align: right;
}
.livredor__hint {
  text-align: center; margin-top: 2rem;
  font-family: var(--font-display); font-style: italic;
  color: var(--text-light); font-size: 1.05rem;
}

/* ── La galerie des anciens ────────────────────────────────── */
.section--anciens {
  background: var(--bordeaux-deep); color: var(--creme-dark);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(185,143,78,0.14), transparent 60%),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.12) 0 2px, transparent 2px 90px);
}
.section--anciens h2 { color: var(--creme); }
.section--anciens .section__lead { color: rgba(231,222,203,0.75); }
.anciens__wall {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
  align-items: start;
}
.anciens__frame {
  margin: 0; background: var(--creme); padding: 12px;
  border: 6px solid var(--laiton);
  outline: 1px solid var(--laiton-light); outline-offset: -10px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(0,0,0,0.12);
  transform: rotate(var(--tilt, 0.6deg));
  transition: transform 0.35s var(--ease-out-expo);
}
.anciens__frame:nth-child(2) { --tilt: -0.7deg; }
.anciens__frame:nth-child(3) { --tilt: 0.9deg; }
.anciens__frame:hover { transform: rotate(0deg) scale(1.02); }
.anciens__frame img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.anciens__frame figcaption {
  font-family: var(--font-display); font-style: italic; text-align: center;
  color: var(--text-light); font-size: 0.92rem; padding: 0.6rem 0.2rem 0.1rem;
}
.anciens__frame--placeholder .engraving {
  aspect-ratio: 4 / 3; width: 100%; color: var(--bordeaux);
  background:
    repeating-linear-gradient(45deg, rgba(185,143,78,0.10) 0 1px, transparent 1px 8px),
    var(--creme-dark);
}

/* ── Autour de la maison ───────────────────────────────────── */
.section--autour { background: var(--creme); }
.autour__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.autour__card {
  border: 1px solid var(--creme-dark); border-top: 3px solid var(--laiton);
  background: #FAF6EC; padding: 1.7rem 1.5rem;
  box-shadow: 0 8px 26px rgba(36,26,21,0.07);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}
.autour__card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(36,26,21,0.12); }
.autour__card h3 { font-size: 1.3rem; margin: 0.9rem 0 0.5rem; }
.autour__card p { font-size: 0.95rem; color: var(--text-light); }
.engraving--autour { width: 120px; color: var(--bordeaux); display: block; }
.autour__card--photo img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 20%;
  border: 1px solid var(--laiton); padding: 4px; background: var(--creme);
}

/* ── Réseaux sociaux mis en avant ──────────────────────────── */
.social-row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.6em 1.2em; text-decoration: none;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em;
  border: 1px solid var(--laiton); border-radius: 2px; color: var(--encre);
  background: var(--creme);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s, background-color 0.25s, color 0.25s, border-color 0.25s;
}
.social-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px var(--ombre); }
.social-btn--fb:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.social-btn--ig:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }

/* ── Section Facebook / réseaux — AVANT les infos pratiques ── */
.section--facebook {
  background: var(--creme);
  background-image: radial-gradient(ellipse at 15% 15%, rgba(185,143,78,0.12), transparent 55%);
}
.section--facebook .section__head { margin-inline: auto; text-align: center; }
.section--facebook .section__head .section__lead { margin-inline: auto; }
.social-row--center { justify-content: center; margin-bottom: 1.8rem; }

/* ── Widget Facebook ───────────────────────────────────────── */
.fb-widget { margin-top: 0; text-align: center; }
.fb-widget h3 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.fb-widget__frame + .fb-card { margin-top: 1.1rem; }
.fb-card {
  display: flex; align-items: center; gap: 1.1rem;
  max-width: 560px; margin: 0 auto; padding: 1.2rem 1.4rem;
  background: var(--creme); border: 1px solid var(--laiton);
  box-shadow: 0 12px 34px rgba(36,26,21,0.14);
  text-decoration: none; color: var(--encre); text-align: left;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s;
}
.fb-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(36,26,21,0.2); }
.fb-card__badge {
  flex-shrink: 0; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: #1877F2; color: #fff;
}
.fb-card__body { display: flex; flex-direction: column; gap: 0.15rem; }
.fb-card__body strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.fb-card__body span { font-size: 0.88rem; color: var(--text-light); }
.fb-card__cta {
  margin-left: auto; flex-shrink: 0;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--creme); background: var(--bordeaux);
  padding: 0.6em 1.1em; border-radius: 2px;
}
@media (max-width: 560px) {
  .fb-card { flex-wrap: wrap; }
  .fb-card__cta { margin-left: 0; }
}
.fb-widget__frame {
  display: flex; justify-content: center;
  border: 1px solid var(--laiton); background: var(--creme);
  padding: 8px; max-width: 520px; margin: 0 auto;
  box-shadow: 0 12px 34px rgba(36,26,21,0.14);
  overflow: hidden;
}
.fb-widget__frame iframe { max-width: 100%; }
.fb-widget__fallback { margin-top: 0.9rem; font-size: 0.88rem; color: var(--text-light); }
.fb-widget__fallback a { color: var(--bordeaux); }

/* ── Footer : icônes sociales ──────────────────────────────── */
.footer__socials { display: flex; gap: 0.9rem; align-items: center; }

/* ── Responsive V2 ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .carte__menus { grid-template-columns: 1fr 1fr; }
  .menu-panel--enfant { grid-column: 1 / -1; order: 3; }
  .carte__grid { grid-template-columns: 1fr; }
  .anciens__wall { grid-template-columns: 1fr 1fr; }
  .anciens__frame:first-child { grid-column: 1 / -1; }
  .autour__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .nav__logo-script { width: 108px; }
  .nav__logo-text { display: none; }
  .resto__grid { grid-template-columns: 1fr; }
  .resto__photo--large { grid-row: auto; }
  .resto__photo--large img { aspect-ratio: 4 / 3; height: auto; }
  .anciens__wall { grid-template-columns: 1fr; }
  .carte__menus { grid-template-columns: 1fr; }
  .menu-panel--enfant { grid-column: auto; order: 0; }
  .carte__card { padding: 1.4rem 1.1rem; }
  .dish-list--cols { columns: 1; }
  .carte__tab { font-size: 0.72rem; padding: 0.5em 0.9em; }
  .dish-list li { font-size: 0.93rem; }
  .dish-list__price { font-size: 1rem; }
  .switch-row { justify-content: center; }
  /* le livre : une page à la fois, tournée l'une après l'autre */
  .book { height: auto; perspective: none; }
  .book__base { display: none; }
  .book__sheet {
    position: relative; left: 0; width: 100%; height: auto;
    transform: none !important; transition: none;
    display: none;
  }
  .book__sheet.m-current { display: block; }
  .book__face {
    position: relative; inset: auto; transform: none;
    backface-visibility: visible; -webkit-backface-visibility: visible;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(70,10,21,0.16);
  }
  .book__face--back { margin-top: 1rem; }
  .book__face--cover { min-height: 420px; }
  .book--or .book__face--cover { min-height: 340px; }
  .book__sheet.m-current .book__face { animation: pageTurnIn 0.65s var(--ease-out-expo) both; }
  .book__sheet.m-current .book__face--back { animation-delay: 0.08s; }
  /* la publication intégrée garde sa largeur : elle défile dans son cadre */
  .fb-widget__frame { overflow-x: auto; justify-content: flex-start; }
  .fb-widget__frame iframe { max-width: none; }
}
