/* ═══════════════════════════════════════════════════════════════
   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;
}
/* MODIFIÉ : la fontaine du logo (or) monte depuis son bassin — signature du site */
.hero__fontaine {
  display: block; width: auto; height: min(220px, 26vh); margin: 0 auto 1rem;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
  clip-path: inset(100% 0 0 0);
  animation: fontaineRise 1.6s var(--ease-out-expo) 0.3s forwards;
}
@keyframes fontaineRise { to { clip-path: inset(-2% 0 0 0); } }
/* 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(380px, 74vw); 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; }
/* 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); }

/* ── 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); }
.book__intro { font-size: 0.94rem; color: var(--text); margin-bottom: 0.7rem; }
.book__intro strong { color: var(--bordeaux); font-weight: 500; }
/* 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; }

/* ── 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__logo { width: 64px; height: auto; opacity: 0.8; }
.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; }
  .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; }
  .hero__fontaine { clip-path: none; 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: 128px; 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) {
  .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: 104px; }
  .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; }
  .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; }
}

/* ═══════════════════════════════════════════════════════════════
   LA CARTE 2026 — la planche imprimée, reconstituée à l'identique
   MODIFIÉ : fond bordeaux, blocs crème encadrés comme sur la carte
   papier ; onglets pour isoler une partie ; survol = aperçu du plat,
   clic = photo en grand (cf. .dish-bubble et .lightbox)
   ═══════════════════════════════════════════════════════════════ */
.planche {
  max-width: 1080px; margin: 0 auto;
  background: var(--bordeaux);
  border: 1px solid var(--bordeaux-dark);
  box-shadow: 0 30px 70px rgba(70,10,21,0.28);
  color: var(--text);
}
.planche__tete { text-align: center; }
.planche__grill, .planche__depuis {
  color: #fff; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  font-size: clamp(0.8rem, 1.6vw, 0.98rem); padding: 0.6em 1rem 0.5em;
}
.planche__depuis { letter-spacing: 0.08em; text-transform: none; font-size: 0.95rem; padding: 0.35em 1rem 0.3em; }
.planche__logo { background: #FCF9F1; padding: 1rem 1rem 0.55rem; }
.planche__logo img { width: min(330px, 62%); height: auto; margin: 0 auto; }

/* onglets : pastilles crème sur le bordeaux */
.planche__onglets {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
  padding: 1.1rem clamp(0.8rem, 3vw, 2rem) 0.2rem;
}
.planche__onglet {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--creme); border: 1px solid rgba(242,236,223,0.55); border-radius: 999px;
  padding: 0.5em 1.05em;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease-out-expo);
}
.planche__onglet:hover { border-color: var(--creme); transform: translateY(-2px); }
.planche__onglet:focus-visible { outline: 2px solid var(--laiton-light); outline-offset: 3px; }
.planche__onglet.is-active { background: var(--creme); color: var(--bordeaux); border-color: var(--creme); }
.planche__compte {
  font-size: 0.66rem; letter-spacing: 0.04em; font-weight: 500;
  background: rgba(242,236,223,0.18); border-radius: 999px; padding: 0.1em 0.5em 0.15em;
}
.planche__onglet.is-active .planche__compte { background: var(--bordeaux); color: var(--creme); }

/* les deux pages : grille à trois colonnes, colonne centrale étroite (comme l'imprimé) */
.planche__pages { padding: clamp(0.9rem, 2.5vw, 1.4rem); }
.feuillet {
  display: grid; gap: clamp(0.7rem, 1.6vw, 1rem);
  grid-template-columns: 1.15fr 0.72fr 1.15fr;
}
.feuillet--1 {
  grid-template-areas:
    "m1   enf     m2"
    "spec centre1 sal";
}
.feuillet--2 { grid-template-areas: "gauche2 centre2 droite2"; }
/* la colonne centrale : petits blocs empilés, la fontaine occupe le bas (comme l'imprimé) */
.colonne { display: flex; flex-direction: column; gap: clamp(0.7rem, 1.6vw, 1rem); min-width: 0; }
.colonne .bloc--deco { flex: 1 1 auto; min-height: 150px; }
[data-zone="centre1"] { grid-area: centre1; } [data-zone="centre2"] { grid-area: centre2; }
[data-zone="gauche2"] { grid-area: gauche2; } [data-zone="droite2"] { grid-area: droite2; }
[data-zone="glaces"] { grid-area: glaces; } [data-zone="gateau"] { grid-area: gateau; }
[data-zone="cafe"] { grid-area: cafe; }     [data-zone="font2"] { grid-area: font2; }
/* le bloc cocktails remplit le bas de la colonne, icônes au milieu, prix en bas (comme l'imprimé) */
.colonne [data-zone="cock"] { flex: 1 1 auto; display: flex; flex-direction: column; }
.colonne [data-zone="cock"] .bloc__icone--large { margin: auto; }
.colonne [data-zone="cock"] .plats--duo { margin-top: auto; padding-top: 0.6rem; }
.feuillet + .feuillet {
  margin-top: clamp(0.9rem, 2vw, 1.3rem); padding-top: clamp(0.9rem, 2vw, 1.3rem);
  border-top: 1px dashed rgba(242,236,223,0.45);
}
[data-zone="m1"] { grid-area: m1; }         [data-zone="enf"] { grid-area: enf; }
[data-zone="m2"] { grid-area: m2; }         [data-zone="spec"] { grid-area: spec; }
[data-zone="sal"] { grid-area: sal; }       [data-zone="carte"] { grid-area: carte; }
[data-zone="boissons"] { grid-area: boissons; } [data-zone="dess"] { grid-area: dess; }
[data-zone="chaudes"] { grid-area: chaudes; } [data-zone="coupes"] { grid-area: coupes; }
[data-zone="cock"] { grid-area: cock; }     [data-zone="vins"] { grid-area: vins; }

/* un bloc = un cadre crème, comme sur la carte papier */
.bloc {
  background: #FCF9F1; border: 1.5px solid var(--bordeaux-dark);
  padding: 0.95rem 0.95rem 1.05rem; min-width: 0;
  box-shadow: 0 6px 18px rgba(46,6,13,0.18);
}
.bloc--centre { text-align: center; }
.bloc--seul { display: grid; align-content: center; }
.bloc--deco {
  background: transparent; border: 0; box-shadow: none; padding: 0;
  display: grid; place-items: center; color: rgba(242,236,223,0.92);
}
.fontaine-planche { width: auto; height: auto; max-width: min(96px, 55%); opacity: 0.95; }
.bloc__titre {
  font-family: "Dancing Script", "Brush Script MT", cursive; font-weight: 700; color: var(--bordeaux);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.08; text-align: center;
  margin-bottom: 0.6rem;
}
.bloc__titre small, .bloc__sur {
  display: block; font-family: var(--font-body); font-weight: 400; font-style: italic;
  font-size: 0.78rem; color: var(--text-light); letter-spacing: 0.02em; margin-top: 0.2rem;
}
.bloc__sur { font-style: normal; color: var(--bordeaux); font-weight: 500; margin: 0 0 0.1rem; }
.bloc__prix { display: block; font-size: 1.15em; margin-top: 0.1em; }
.bloc__note { font-size: 0.9rem; line-height: 1.5; color: var(--text); }
.bloc__note strong { color: var(--bordeaux); font-weight: 600; font-size: 1.05rem; }
.bloc__icone { display: block; width: 64px; height: auto; margin: 0.5rem auto; color: var(--bordeaux); }
.bloc__icone--large { width: 120px; }
.bloc__pied {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  margin-top: 0.9rem; padding-top: 0.6rem; border-top: 1px dotted rgba(110,17,32,0.35);
  font-size: 0.88rem; color: var(--text-light); line-height: 1.35;
}
.bloc__pied em { font-style: italic; }
.bloc__pied strong { color: var(--bordeaux); font-weight: 600; font-size: 1rem; margin-right: auto; }
.bloc__pied-icone { width: 48px; height: auto; color: var(--bordeaux); flex-shrink: 0; }
.liste-simple { list-style: none; font-size: 0.95rem; line-height: 1.5; margin-top: 0.5rem; }

/* les menus : une formule sur trois lignes séparées par un filet */
.menu { text-align: center; font-size: 0.93rem; line-height: 1.5; }
.menu__etape { padding: 0.55rem 0; }
.menu__etape + .menu__etape { border-top: 1px solid rgba(110,17,32,0.45); }
.menu__etape strong { display: block; font-weight: 600; color: var(--encre); }
.menu__etape small { font-size: 0.85em; color: var(--text-light); }
.menu__ou {
  display: block; font-family: var(--font-display); font-style: italic; font-weight: 600;
  color: var(--bordeaux); font-size: 1.02rem; margin: 0.15rem 0;
}
.menu__plus { font-weight: 500; color: var(--encre); margin-top: 0.4rem; line-height: 1.6; }
.menu--enfant .menu__etape { padding-top: 0.2rem; }

/* les plats : vignette + nom + conduite pointillée + prix */
.plats { list-style: none; display: grid; gap: 0.1rem; }
.plats--duo { grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.3rem; }
.plats--duo .plat__tete { flex-direction: column; align-items: center; gap: 0.1rem; }
.plats--duo .plat__conduit { display: none; }
.plat { min-width: 0; }
.plat__btn {
  display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 0.7rem;
  width: calc(100% + 0.9rem); margin: 0 -0.45rem; text-align: left;
  padding: 0.38rem 0.45rem; border-radius: 3px;
  transition: background-color 0.22s, transform 0.3s var(--ease-out-expo);
}
.plat__btn:hover, .plat__btn:focus-visible { background: rgba(110,17,32,0.07); transform: translateX(3px); }
.plat__btn:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 1px; }
.plat__vignette {
  display: block; width: 44px; height: 44px; overflow: hidden;
  border: 1px solid var(--laiton); border-radius: 3px; background: var(--creme-dark);
}
.plat__vignette img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease-out-expo); }
.plat__btn:hover .plat__vignette img { transform: scale(1.1); }
.plat__corps { display: block; min-width: 0; }
.plat__tete { display: flex; align-items: baseline; gap: 0.45rem; }
.plat__nom { font-weight: 500; color: var(--encre); font-size: 0.95rem; line-height: 1.3; }
.plat__nom small { font-weight: 300; font-size: 0.82rem; color: var(--text-light); white-space: nowrap; }
.plat__nom em { font-style: italic; font-weight: 300; }
.plat__conduit {
  flex: 1 1 auto; min-width: 0.8rem; height: 1px; margin-bottom: 0.3em;
  background-image: radial-gradient(circle, rgba(110,17,32,0.6) 1px, transparent 1.3px);
  background-size: 5px 2px; background-repeat: repeat-x; background-position: 0 100%;
}
.plat__prix {
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  color: var(--bordeaux); white-space: nowrap;
}
.plat__garn { display: block; font-size: 0.8rem; line-height: 1.4; color: var(--text-light); }
.plat__garn em { font-style: italic; }
.plat--txt { padding: 0.24rem 0; }
.plats--serre .plat--txt { padding: 0.14rem 0; }
.plats--serre .plat__btn { padding-block: 0.28rem; }
.bloc--seul .plat__btn { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0.5rem; padding: 0.6rem 0.4rem; }
.bloc--seul .plat__vignette { width: 64px; height: 64px; border-radius: 50%; }
.bloc--seul .plat__tete { flex-direction: column; align-items: center; gap: 0.15rem; }
.bloc--seul .plat__conduit { display: none; }
.bloc--seul .plat__nom { font-size: 1rem; }
.bloc--seul .plat__prix { font-size: 1.35rem; }

/* état filtré : les blocs de la partie choisie, centrés */
.bloc[hidden], .feuillet[hidden] { display: none !important; }
.planche.is-filtered .feuillet {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
}
.planche.is-filtered .bloc { flex: 1 1 300px; max-width: 560px; }
.planche.is-filtered .colonne { display: contents; }
.planche.is-filtered .feuillet + .feuillet { border-top: 0; margin-top: 0; padding-top: 0; }
.bloc.is-in { animation: blocIn 0.7s var(--ease-out-expo) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes blocIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* pied de carte, comme sur l'imprimé */
.planche__pied {
  text-align: center; padding: 1.1rem 1rem 1.3rem; color: var(--creme);
  border-top: 1px solid rgba(242,236,223,0.35);
}
.planche__signature {
  font-family: "Dancing Script", "Brush Script MT", cursive; font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.2;
}
.planche__legal { font-size: 0.72rem; line-height: 1.55; opacity: 0.88; max-width: 760px; margin: 0.5rem auto 0; }
.planche__legal em { font-style: italic; }

@media (max-width: 960px) {
  .feuillet { grid-template-columns: 1fr 1fr; }
  .feuillet--1 {
    grid-template-areas:
      "m1   m2"
      "enf  centre1"
      "spec sal";
  }
  .feuillet--2 {
    grid-template-areas:
      "carte  boissons"
      "dess   boissons"
      "coupes chaudes"
      "cock   chaudes"
      "glaces vins"
      "gateau vins"
      "cafe   font2";
  }
  .feuillet--2 .colonne { display: contents; }
  .colonne .bloc--deco { min-height: 120px; }
}
@media (max-width: 640px) {
  .feuillet { grid-template-columns: 1fr; }
  .feuillet--1 { grid-template-areas: "m1" "enf" "m2" "spec" "centre1" "sal"; }
  .feuillet--2 { grid-template-areas: "carte" "dess" "coupes" "glaces" "gateau" "cafe" "boissons" "chaudes" "vins" "cock"; }
  .colonne { display: contents; }
  .bloc--deco { display: none; }
  .planche__onglet { font-size: 0.68rem; padding: 0.45em 0.85em; }
  .planche__logo img { width: min(230px, 72%); }
}
@media (prefers-reduced-motion: reduce) {
  .plat__btn:hover .plat__vignette img { transform: none; }
  .plat__btn:hover, .planche__onglet:hover { transform: none; }
}
