/* Polices hébergées sur le site (pas d'appel à Google Fonts) */
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/marcellus-400.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("../fonts/jost-variable.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-italic-500.woff2") format("woff2"); }

/* Mise en page : maison de prestige à l'esprit familial. Barre fine au logo centré, grandes photos pleine largeur,
   textes courts alignés à gauche, une section rouge centrée. Une seule identité : le rouge et le beige du logo. */
:root {
  color-scheme: light;
  --beige: #ffe8c3;       /* fond du logo */
  --bg: #fcf1de;          /* beige clair des pages */
  --red: #b21218;         /* rouge du logo */
  --red-deep: #8f0d12;
  --ink: #3b1f19;         /* brun très foncé pour le texte */
  --muted: #7d5c4f;
  --line: #e9cfa8;
  --font-title: "Marcellus", "Trajan Pro", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-quote: "Cormorant Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 72px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-weight: 300; font-size: 1.05rem; line-height: 1.75;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
strong { font-weight: 500; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.wrap {
  max-width: 76rem; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 52rem; }
.kicker { font-size: .74rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { font-family: var(--font-title); font-weight: 400; margin: 0; line-height: 1.12; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: .03em; color: var(--red); }
h3 { font-size: 1.25rem; letter-spacing: .06em; color: var(--red); }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; margin-top: 1.6rem; }
.link {
  font-size: .82rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: .3rem; transition: color .2s, border-color .2s;
}
.link:hover { color: var(--red); }

/* ---------- Barre du haut ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding-block: .55rem; }
.menu-btn {
  justify-self: start; display: inline-flex; align-items: center; gap: .7rem; background: none; border: 0; padding: .4rem 0;
  font: 400 .78rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--red); cursor: pointer;
}
.menu-btn i { display: grid; gap: 5px; }
.menu-btn i::before, .menu-btn i::after { content: ""; display: block; width: 22px; height: 1.5px; background: currentColor; }
.top .logo img { height: 52px; width: auto; }
.top-right { justify-self: end; display: flex; align-items: center; gap: 1.2rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.top-right a { text-decoration: none; color: var(--red); }
.top-right .tel { color: var(--ink); letter-spacing: .06em; }
@media (max-width: 720px) {
  .top-right .tel, .menu-btn span { display: none; }
  .top .logo img { height: 40px; }
}

/* Menu plein écran */
.overlay {
  position: fixed; inset: 0; z-index: 40; background: var(--red); color: var(--beige);
  display: grid; align-content: center; justify-items: center; gap: 2rem;
  padding: calc(env(safe-area-inset-top, 0px) + 5rem) max(20px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 3rem) max(20px, env(safe-area-inset-left, 0px));
  overflow-y: auto;
}
.overlay nav { display: grid; gap: 1.1rem; text-align: center; }
.overlay nav a { font-family: var(--font-title); font-size: clamp(1.8rem, 6vw, 3rem); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.overlay nav a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.overlay .close {
  position: absolute; top: calc(env(safe-area-inset-top, 0px) + 1rem); right: max(20px, env(safe-area-inset-right, 0px));
  background: none; border: 1px solid var(--beige); color: var(--beige); border-radius: 50%;
  width: 44px; height: 44px; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.overlay p { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; text-align: center; }
.overlay img { width: min(260px, 70vw); }

/* ---------- Ouverture ---------- */
.hero { position: relative; height: clamp(26rem, 78vh, 46rem); overflow: hidden; background: var(--ink); }
.hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,14,10,.15) 0%, rgba(40,14,10,.25) 45%, rgba(40,14,10,.68) 100%); }
.hero-inner { position: absolute; inset: auto 0 0; z-index: 1; display: grid; justify-items: center; text-align: center; gap: .9rem; padding-bottom: clamp(2rem, 6vh, 4rem); color: var(--beige); }
.hero-inner img { width: min(560px, 82vw); }
.hero-inner p { font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; }

/* ---------- Bandeaux de texte ---------- */
.intro { padding-block: clamp(3.5rem, 8vw, 6rem); }
.intro .wrap { display: grid; gap: 1.1rem; }
.intro h2 { margin-top: .2rem; margin-bottom: .6rem; }
.intro p { max-width: 44rem; }

.band { height: clamp(18rem, 55vw, 36rem); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Section rouge ---------- */
.rouge { background: var(--red); color: var(--beige); padding-block: clamp(3.5rem, 8vw, 6rem); }
.rouge .head { display: grid; justify-items: center; text-align: center; gap: .7rem; max-width: 46rem; margin-inline: auto; }
.rouge .head img { width: 170px; margin-bottom: .4rem; }
.rouge h2 { color: var(--beige); }
.rouge .sub { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.rouge .head p.txt { margin-top: .8rem; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 54rem; align-items: start; }
.duo figure { margin: 0; display: grid; gap: .7rem; }
.duo figure:nth-child(2) { margin-top: clamp(0rem, 6vw, 5rem); }
.duo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.duo figcaption { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.rouge .cta { align-items: center; margin-top: 2.5rem; }
.rouge .link:hover { color: #fff; }
@media (max-width: 560px) { .duo { grid-template-columns: 1fr; } .duo figure:nth-child(2) { margin-top: 0; } }

/* ---------- Citation + texte/photo ---------- */
.split { padding-block: clamp(3.5rem, 8vw, 6rem); }
.quote { font-family: var(--font-quote); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.15rem); line-height: 1.3; color: var(--ink); max-width: 50rem; margin: 0 0 clamp(2rem, 5vw, 3rem); }
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-grid.rev .media { order: -1; }
.split-grid .text { display: grid; gap: 1rem; min-width: 0; }
.split-grid .media img { width: 100%; max-width: 30rem; aspect-ratio: 4 / 5; object-fit: cover; margin-inline: auto; }
@media (max-width: 820px) { .split-grid { grid-template-columns: 1fr; } .split-grid.rev .media { order: 0; } }

/* Menu du jour */
.menu-jour { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 1.2rem; margin-block: .6rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.menu-jour span:first-child { font-family: var(--font-title); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; }
.menu-jour .prix { font-family: var(--font-title); font-size: 2.2rem; color: var(--red); font-variant-numeric: tabular-nums; line-height: 1; }
.menu-jour small { display: block; font-family: var(--font-body); font-size: .8rem; letter-spacing: .08em; text-transform: none; color: var(--muted); margin-top: .3rem; }
.hero-inner .badge { margin-top: .4rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; border: 1px solid var(--beige); padding: .5rem .9rem; }

/* ---------- Gault&Millau ---------- */
.gm { padding-block: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
.gm .wrap { display: grid; justify-items: center; text-align: center; gap: 1rem; max-width: 48rem; }
.gm h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 560px) { .galerie { grid-template-columns: 1fr; } }

/* ---------- Infos pratiques ---------- */
.infos { padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--beige); }
.infos .head { display: grid; justify-items: center; text-align: center; gap: .6rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.infos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.infos-grid > div { display: grid; gap: .8rem; align-content: start; min-width: 0; border-top: 1px solid var(--red); padding-top: 1.2rem; }
@media (max-width: 820px) { .infos-grid { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: .3rem 0; border-bottom: 1px dotted var(--line); }
.hours td:last-child { text-align: right; }
.hours tr.closed td { color: var(--muted); }
.phone { font-family: var(--font-title); font-size: 1.7rem; color: var(--red); letter-spacing: .04em; user-select: all; }
.copy { justify-self: start; background: none; border: 1px solid var(--red); color: var(--red); font: 400 .74rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: .6rem .9rem; cursor: pointer; }
.copy:hover { background: var(--red); color: var(--beige); }
.services { color: var(--muted); font-size: .95rem; }

/* ---------- Pied de page ---------- */
footer { background: var(--red); color: var(--beige); }
footer .wrap { display: grid; justify-items: center; text-align: center; gap: 1.2rem; padding-block: 3rem 2.5rem; }
footer img { width: min(320px, 70vw); }
footer .social { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; }
footer .social a { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
footer .social a span { border-bottom: 1px solid transparent; padding-bottom: 2px; }
footer .social a:hover span { border-bottom-color: currentColor; }
footer .social svg, .social-icons svg { width: 26px; height: 26px; flex: none; }
.social-icons { display: flex; gap: 1.4rem; }
.social-icons a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--beige); border-radius: 50%; color: var(--beige); }
.social-icons a:hover { background: var(--beige); color: var(--red); }
footer small { font-size: .78rem; opacity: .8; letter-spacing: .06em; }

/* Titre principal lu par Google et les lecteurs d'écran, invisible à l'écran */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#cave { padding-top: 0; }
.infos-grid .link { justify-self: start; }

footer address { font-style: normal; font-size: .95rem; opacity: .9; }

/* Page 404 */
.page-404 { min-height: 100vh; display: grid; align-content: center; padding-block: 4rem; }
.page-404 .wrap { display: grid; gap: 1rem; justify-items: start; }
.page-404 img { width: min(280px, 70vw); margin-bottom: 1rem; }
.page-404 h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--red); letter-spacing: .03em; }

/* Mentions légales */
.legal-top { grid-template-columns: 1fr auto 1fr; }
.legal-top > .link { justify-self: start; font-size: .72rem; color: var(--red); }
@media (max-width: 720px) { .legal-top > .link { font-size: 0; } .legal-top > .link::before { content: "←"; font-size: 1.2rem; } }
.legal { padding-block: clamp(3rem, 7vw, 5rem); }
.legal .wrap { display: grid; gap: 2.2rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); color: var(--red); letter-spacing: .03em; margin-top: -1.6rem; }
.legal section { display: grid; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.legal h2 { font-size: 1.3rem; letter-spacing: .06em; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.5rem; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: .5rem; } }
.legal a { color: var(--red); }
footer .legal-link { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; text-underline-offset: 5px; opacity: .85; }
