/* La Bonne Fourchette — feuille de style du site.
   Polices hebergees (aucune requete vers un tiers), palette reprise de
   l'identite du restaurant : vert foret, or, terracotta des fauteuils. */

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --forest: #121c17;
  --forest-2: #18261e;
  --moss: #2b3f33;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --ink: #17201b;
  --muted: #586354;
  --gold: #cfa95f;          /* sur fond sombre */
  --gold-ink: #7d5f24;      /* sur fond clair : contraste >= 4,5 */
  --terra: #b04f31;
  --terra-dark: #94412a;
  --line: rgba(23, 32, 27, .14);
  --line-d: rgba(245, 241, 232, .16);

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 76px;
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 50%; top: -60px; transform: translateX(-50%); z-index: 100;
  background: var(--cream); color: var(--ink); padding: .7rem 1.1rem;
  border-radius: 0 0 var(--r) var(--r); text-decoration: none; transition: top .2s;
}
.skip:focus { top: 0; }

.kicker {
  font: 600 .78rem/1.3 var(--sans);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-ink);
}
.on-dark .kicker, .hero .kicker, .page-head .kicker, .visit .kicker { color: var(--gold); }

.display { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; line-height: 1.05; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.7rem;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--terra); color: #fff; }
.btn-solid:hover { background: var(--terra-dark); }
.btn-line { border-color: rgba(245, 241, 232, .55); color: var(--cream); }
.btn-line:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.btn-dark { background: var(--forest); color: var(--cream); }
.btn-dark:hover { background: var(--moss); }
.btn-sm { min-height: 42px; padding: 0 1.2rem; font-size: .88rem; }

.link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link::after { content: "\2192"; transition: transform .25s var(--ease); }
.link:hover::after { transform: translateX(5px); }

/* ---------- Navigation ---------- */

.nav { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h); color: var(--cream); }
/* Deux calques qui se croisent : un voile sombre en degrade tant que la barre
   est transparente (le ciel clair d'une photo de jour rendait le texte creme
   illisible, 3:1 mesure), puis la barre pleine et floutee des qu'on defile. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(18, 28, 23, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .35s;
}
.nav::after {
  content: ""; position: absolute; inset: 0 0 -28px; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 28, 23, .78) 0%, rgba(18, 28, 23, .55) 62%, rgba(18, 28, 23, 0) 100%);
  transition: opacity .35s;
}
.nav.is-solid::before, body.menu-open .nav::before { opacity: 1; }
.nav.is-solid::after, body.menu-open .nav::after { opacity: 0; }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo svg { color: var(--gold); flex: none; }
.logo span { font: 600 1.28rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }

.nav-links { display: none; gap: 2.2rem; }
.nav-links a {
  position: relative; text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: .5rem 0; opacity: .88; transition: opacity .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: .8rem; }
.nav-cta { display: none; }

.burger {
  position: relative; width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid var(--line-d); border-radius: 50%;
  color: inherit; cursor: pointer;
}
.burger i {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger i:nth-child(2) { top: 18px; }
.burger i:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] i:nth-child(2) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.overlay {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: calc(var(--nav-h) + 1rem) var(--gutter) 3rem;
  background: var(--forest); color: var(--cream);
  visibility: hidden; opacity: 0;
  transition: opacity .35s, visibility 0s .35s;
}
body.menu-open .overlay { visibility: visible; opacity: 1; transition: opacity .35s, visibility 0s; }
.overlay nav { display: grid; gap: .2rem; }
.overlay nav a {
  font: 500 clamp(2rem, 9vw, 3.2rem)/1.25 var(--display);
  text-decoration: none; padding: .25rem 0;
  border-bottom: 1px solid var(--line-d);
}
.overlay-foot { color: rgba(245, 241, 232, .75); font-size: .95rem; }
.overlay-foot a { color: var(--gold); text-decoration: none; font-weight: 600; }

@media (min-width: 901px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .burger { display: none; }
  .overlay { display: none; }
}

/* ---------- Pastille « ouvert maintenant » ---------- */

.open-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1rem; border-radius: 999px;
  background: rgba(245, 241, 232, .1); border: 1px solid var(--line-d);
  font-size: .88rem; font-weight: 500;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.open-pill i { width: 9px; height: 9px; border-radius: 50%; background: #7ed08e; box-shadow: 0 0 0 0 rgba(126, 208, 142, .6); }
.open-pill.is-open i { animation: pulse 2.4s infinite; }
.open-pill.is-soon i { background: #e8b95a; }
.open-pill.is-closed i { background: #d98a5f; }
.open-pill.is-unknown i { background: #b9b39f; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(126, 208, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 208, 142, 0); } }
.on-light .open-pill { background: #fff; border-color: var(--line); color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; align-items: end;
  background: var(--forest); color: var(--cream);
}
.hero-img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; animation: hero-zoom 16s var(--ease) both;
}
@keyframes hero-zoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 28, 23, .6) 0%, rgba(18, 28, 23, .08) 34%, rgba(18, 28, 23, .55) 70%, rgba(18, 28, 23, .92) 100%);
}
.hero-body { padding-block: calc(var(--nav-h) + 3rem) clamp(7rem, 17vh, 10rem); }
.hero-title {
  margin: 1rem 0 1.4rem;
  font: 600 clamp(3.3rem, 11vw, 9rem)/.92 var(--display); letter-spacing: -.03em;
}
.hero-title em { display: block; font-style: italic; font-weight: 400; color: var(--gold); }
.hero-sub { max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(245, 241, 232, .88); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero .open-pill { margin-top: 1.6rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 46px; height: 46px; display: none; place-items: center;
  border: 1px solid var(--line-d); border-radius: 50%; text-decoration: none;
  animation: bob 2.6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 7px); } }
@media (min-width: 901px) { .scroll-cue { display: grid; } }

/* ---------- Lunch ---------- */

.lunch-wrap { position: relative; z-index: 3; margin-top: calc(-1 * clamp(4.5rem, 10vw, 7rem)); padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.lunch {
  display: grid; gap: 1.8rem;
  background: var(--paper); border-radius: var(--r-lg);
  padding: clamp(1.7rem, 4vw, 3.2rem);
  box-shadow: 0 40px 90px -35px rgba(0, 0, 0, .55);
}
.lunch-head h2 { margin-top: .7rem; font: 600 clamp(1.9rem, 3vw, 2.5rem)/1.1 var(--display); }
.lunch-list li {
  display: grid; grid-template-columns: 2.4rem 1fr; gap: .6rem; align-items: baseline;
  padding: .95rem 0; border-top: 1px solid var(--line);
  font: 500 clamp(1.1rem, 1.6vw, 1.3rem)/1.4 var(--display);
}
.lunch-list li:first-child { border-top: 0; padding-top: 0; }
.lunch-list .n { font: 600 .78rem var(--sans); letter-spacing: .12em; color: var(--gold-ink); }
.lunch-prices { display: grid; gap: 1rem; align-content: center; }
.lunch-prices .p { display: grid; gap: .2rem; }
.lunch-prices strong { font: 600 clamp(2.3rem, 4vw, 3rem)/1 var(--display); color: var(--terra); }
.lunch-prices span { color: var(--muted); font-size: .92rem; }
.lunch-note { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }

@media (min-width: 960px) {
  .lunch { grid-template-columns: minmax(220px, .85fr) 1.8fr minmax(200px, .75fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
  .lunch-list { padding-inline: clamp(1.8rem, 3.5vw, 3.2rem); border-inline: 1px solid var(--line); }
  .lunch-note { grid-column: 1 / -1; padding-top: 1.2rem; border-top: 1px solid var(--line); }
}

/* ---------- La maison ---------- */

.about { padding-block: clamp(3rem, 8vw, 7rem); }
.about-grid { display: grid; gap: clamp(2rem, 6vw, 6rem); }
.arch {
  border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 5; max-width: 540px; width: 100%;
}
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.arch:hover img { transform: scale(1.05); }
.about h2 { margin: 1rem 0 1.6rem; font: 600 clamp(2.3rem, 5vw, 4rem)/1.02 var(--display); letter-spacing: -.02em; }
.about .lead { font: 400 clamp(1.25rem, 2.2vw, 1.6rem)/1.5 var(--display); margin-bottom: 1.3rem; }
.about p + p { color: var(--muted); margin-top: 1rem; max-width: 56ch; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.8rem 0 2rem; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: .45rem .95rem; font-size: .85rem; color: var(--muted); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: .85fr 1.15fr; align-items: center; }
}

/* ---------- Espaces (grille de photos) ---------- */

.spaces { background: var(--forest); color: var(--cream); padding-block: clamp(4rem, 9vw, 8rem); }
.sec-head { display: grid; gap: 1.2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 60ch; }
.sec-head h2 { font: 600 clamp(2.3rem, 5vw, 4rem)/1.02 var(--display); letter-spacing: -.02em; }
.sec-head p { color: rgba(245, 241, 232, .78); font-size: 1.05rem; }

.bento { display: grid; gap: clamp(.6rem, 1.2vw, 1rem); grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(210px, 23vw, 320px); }
.tile {
  position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--r);
  background: var(--moss); color: var(--cream); text-align: left; cursor: zoom-in;
}
.tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(10, 16, 12, .88) 100%); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); }
.tile-meta { position: absolute; z-index: 1; inset: auto 0 0; display: grid; gap: .3rem; padding: 1.1rem 1.25rem 1.2rem; }
.tile-cap { font: 600 .75rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tile-title { font: 600 clamp(1.15rem, 1.7vw, 1.5rem)/1.2 var(--display); }
.tile-text {
  font-size: .9rem; color: rgba(245, 241, 232, .85);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s;
}
.tile:hover .tile-text, .tile:focus-visible .tile-text, .tile:nth-child(1) .tile-text { max-height: 8rem; opacity: 1; }

@media (max-width: 800px) {
  .bento {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .8rem;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .bento::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 82%; aspect-ratio: 4 / 5; scroll-snap-align: center; }
  .tile .tile-text { max-height: 8rem; opacity: 1; }
}

/* ---------- Galerie de plats ---------- */

.gallery { padding-block: clamp(4rem, 8vw, 7rem); }
.gallery .sec-head { margin-bottom: clamp(1.8rem, 3.5vw, 3rem); }
.gallery .sec-head p:not(.kicker) { color: var(--muted); }
/* Neuf photos : une grande (2x2) et huit petites forment trois rangees pleines
   sur quatre colonnes, sans trou. Sur mobile, la grande passe sur deux colonnes
   et les huit autres font quatre rangees de deux. */
.shots {
  display: grid; gap: clamp(.5rem, 1vw, .9rem);
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 19vw, 270px);
}
.shot {
  position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--r);
  background: var(--moss); cursor: zoom-in;
}
.shot:first-child { grid-column: span 2; grid-row: span 2; }
.shot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.shot:hover img, .shot:focus-visible img { transform: scale(1.06); }
.shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(23, 32, 27, .08); border-radius: inherit;
}
@media (max-width: 800px) {
  .shots { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .shot:first-child { grid-column: span 2; grid-row: span 1; }
}

/* ---------- Specialites ---------- */

.sig { padding-block: clamp(4rem, 8vw, 7rem); }
.sig-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.sig-head h2 { margin-top: .9rem; font: 600 clamp(2.2rem, 4.6vw, 3.6rem)/1.02 var(--display); letter-spacing: -.02em; }
.sig-list { display: grid; gap: 0 clamp(2rem, 5vw, 5rem); margin-top: 2.5rem; }
.sig-list li {
  display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: baseline;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.sig-name { font: 500 clamp(1.2rem, 1.8vw, 1.45rem)/1.3 var(--display); }
.sig-price { font: 600 1.15rem var(--display); color: var(--terra); white-space: nowrap; }
.sig-desc { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; }
@media (min-width: 800px) { .sig-list { grid-template-columns: 1fr 1fr; } }

/* ---------- Infos pratiques ---------- */

.visit { background: var(--forest-2); color: var(--cream); padding-block: clamp(4rem, 8vw, 7rem); }
.visit-grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); }
.visit h2 { margin: .9rem 0 1.4rem; font: 600 clamp(2.1rem, 4vw, 3.2rem)/1.05 var(--display); letter-spacing: -.02em; }
.visit-text { color: rgba(245, 241, 232, .8); max-width: 44ch; }
.big-phone {
  display: inline-block; margin: 1.6rem 0 .4rem;
  font: 600 clamp(2.4rem, 6vw, 4.4rem)/1.05 var(--display); letter-spacing: -.02em; text-decoration: none;
}
.big-phone:hover { color: var(--gold); }
.visit-lines { display: grid; gap: .2rem; margin-bottom: 1.8rem; }
.visit-lines a { text-decoration: none; color: rgba(245, 241, 232, .88); padding: .25rem 0; width: fit-content; border-bottom: 1px solid var(--line-d); }
.visit-lines a:hover { color: var(--gold); border-color: var(--gold); }
.hours { width: 100%; border-collapse: collapse; margin-top: 1.4rem; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: .85rem 0; border-bottom: 1px solid var(--line-d); }
.hours td { text-align: right; color: rgba(245, 241, 232, .8); font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--gold); font-weight: 600; }
.hours tr.today th::after { content: " \00b7  aujourd\2019hui"; font-size: .8rem; font-weight: 500; opacity: .85; }
.hours tr.off td { opacity: .6; }
.map-card { position: relative; display: block; margin-top: 1.8rem; border-radius: var(--r); overflow: hidden; line-height: 0; }
.map-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--ease); }
.map-card:hover img { transform: scale(1.04); }
.map-card span {
  position: absolute; left: 12px; bottom: 12px; line-height: 1;
  background: var(--terra); color: #fff; padding: .65rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Pied de page ---------- */

.footer { background: var(--forest); color: rgba(245, 241, 232, .75); padding: clamp(3rem, 6vw, 5rem) 0 1.6rem; font-size: .92rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand { font: 600 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--display); color: var(--cream); }
.footer-brand em { font-style: italic; font-weight: 400; color: var(--gold); }
.footer h3 { font: 600 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer a { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line-d); }
.footer a:hover { border-color: var(--gold); }
.footer-legal .credit { flex-basis: 100%; }
.footer-legal .credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal .credit a:hover { color: var(--gold); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid var(--line-d); font-size: .8rem; opacity: .75; }
.tag-note { color: var(--gold); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Barre d'actions mobile ---------- */

.dock {
  position: fixed; inset: auto 0 0; z-index: 40; display: none; gap: .6rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(18, 28, 23, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-d); transition: transform .35s var(--ease);
}
.dock a { flex: 1; }
.dock.is-hidden { transform: translateY(115%); }
@media (max-width: 760px) {
  .dock { display: flex; }
  .footer { padding-bottom: 6rem; }
}

/* ---------- Pages interieures ---------- */

.page-head {
  background: var(--forest); color: var(--cream);
  padding: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(2.5rem, 5vw, 4.5rem);
}
.page-head h1 { margin: 1rem 0 1.2rem; font: 600 clamp(3rem, 9vw, 7rem)/.95 var(--display); letter-spacing: -.03em; }
.page-head p { max-width: 62ch; color: rgba(245, 241, 232, .82); font-size: 1.08rem; }
.callout { margin-top: 1.6rem; padding: .9rem 1.2rem; border-left: 3px solid var(--gold); background: rgba(245, 241, 232, .07); border-radius: 0 var(--r) var(--r) 0; font-size: .92rem; max-width: 62ch; }

/* ---------- Carte ---------- */

.carte-layout { display: grid; gap: 2rem; padding-block: 2.5rem 5rem; }
.carte-nav { position: sticky; top: var(--nav-h); z-index: 20; margin-inline: calc(-1 * var(--gutter)); padding: .7rem var(--gutter); background: rgba(245, 241, 232, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.carte-nav ul { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; }
.carte-nav ul::-webkit-scrollbar { display: none; }
.carte-nav a { display: block; white-space: nowrap; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; text-decoration: none; background: var(--paper); transition: background-color .2s, color .2s, border-color .2s; }
.carte-nav a:hover { border-color: var(--ink); }
.carte-nav a[aria-current="true"] { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.filter { display: flex; align-items: center; gap: .7rem; margin-top: .9rem; font-size: .9rem; cursor: pointer; width: fit-content; }
.filter input { position: absolute; opacity: 0; }
.filter .sw { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #c9c4b4; transition: background-color .25s; flex: none; }
.filter .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.filter input:checked + .sw { background: #3f7a3a; }
.filter input:checked + .sw::after { transform: translateX(18px); }
.filter input:focus-visible + .sw { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.count { color: var(--muted); font-size: .85rem; margin-top: .4rem; }

.cat { scroll-margin-top: calc(var(--nav-h) + 80px); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.cat h2 { font: 600 clamp(2rem, 3.8vw, 3rem)/1.1 var(--display); letter-spacing: -.015em; }
.cat-note { margin: .5rem 0 0; color: var(--muted); font-style: italic; max-width: 62ch; }
.dishes { display: grid; gap: 0 clamp(2rem, 4vw, 4rem); margin-top: 1.4rem; border-top: 2px solid var(--ink); }
.dish { padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.dish-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.dish-name { font: 500 clamp(1.1rem, 1.5vw, 1.25rem)/1.3 var(--display); }
.dish-price { font: 600 1.05rem var(--display); color: var(--terra); white-space: nowrap; }
.dish-desc { margin-top: .2rem; color: var(--muted); font-size: .92rem; }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.badge { padding: .18rem .65rem; border-radius: 999px; font: 600 .75rem/1.4 var(--sans); }
.badge-veggie { background: #e1ecd9; color: #2c5528; }
.badge-signature { background: #f4e1d6; color: #8a3b22; }

@media (min-width: 960px) {
  .carte-layout { grid-template-columns: 250px 1fr; gap: clamp(3rem, 6vw, 6rem); padding-top: 4rem; }
  .carte-nav { top: calc(var(--nav-h) + 16px); align-self: start; margin: 0; padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .carte-nav ul { display: grid; gap: .1rem; overflow: visible; }
  .carte-nav a { border: 0; background: none; border-radius: 0; padding: .55rem 0 .55rem 1rem; border-left: 2px solid var(--line); font-size: .95rem; white-space: normal; }
  .carte-nav a:hover { border-left-color: var(--ink); }
  .carte-nav a[aria-current="true"] { background: none; color: var(--ink); font-weight: 600; border-left-color: var(--terra); }
}
@media (min-width: 1240px) { .dishes { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); padding-block: clamp(3rem, 7vw, 6rem); }
.contact-grid h2 { font: 600 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--display); margin: .8rem 0 1rem; }
.contact-grid .hours th, .contact-grid .hours td { border-color: var(--line); }
.contact-grid .hours td { color: var(--muted); }
.contact-grid .hours tr.today th, .contact-grid .hours tr.today td { color: var(--terra); }
.contact-grid .visit-lines a { color: var(--ink); border-color: var(--line); }
.contact-grid .visit-lines a:hover { color: var(--terra); border-color: var(--terra); }
.contact-grid .big-phone:hover { color: var(--terra); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }

/* ---------- Visionneuse ---------- */

.lightbox { width: min(96vw, 1180px); max-width: none; max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--forest); color: var(--cream); overflow: visible; }
.lightbox::backdrop { background: rgba(8, 14, 10, .9); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.lightbox figcaption { padding: 1rem 1.3rem; font: 500 1.15rem var(--display); text-align: center; }
.lightbox figcaption:empty { display: none; }
.lightbox-close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--terra); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: var(--terra-dark); }

/* ---------- Apparition au defilement ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-img, .scroll-cue, .open-pill.is-open i { animation: none; }
  .btn, .tile img, .arch img, .map-card img { transition: none; }
}

@media print {
  .nav, .overlay, .dock, .scroll-cue, .carte-nav { display: none !important; }
  .hero, .page-head, .spaces, .visit, .footer { background: #fff !important; color: #000 !important; }
}
