/* Les terres rouges — feuille de style */

@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --ivoire: #fffcf5;
  --creme: #f6f1e4;
  --beige: #dddac6;
  --terre: #9a2e12;
  --terre-fonce: #7a220b;
  --encre: #1d1a17;
  --gris: #5e5850;
  --nuit: #231d19;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --gouttiere: clamp(16px, 4vw, 32px);
  --rayon: 4px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivoire);
  color: var(--encre);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terre); text-underline-offset: 3px; }
a:hover { color: var(--terre-fonce); }
:focus-visible { outline: 2px solid var(--terre); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--encre); }
h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

.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; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--terre); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gouttiere); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: .875rem; color: var(--gris); }
.lead { font-size: 1.2rem; color: var(--gris); }

.surtitre {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--terre);
  margin-bottom: .6em;
}

.ornement { display: block; width: 120px; height: 12px; margin: 8px auto 28px; color: var(--beige); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.5em;
  background: var(--terre); color: #fff;
  border: 1px solid var(--terre); border-radius: var(--rayon);
  font: 500 .95rem/1.2 var(--sans); letter-spacing: .04em;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--terre-fonce); border-color: var(--terre-fonce); color: #fff; }
.btn-ghost { background: transparent; color: var(--terre); }
.btn-ghost:hover { background: var(--terre); color: #fff; }
.lien { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.lien::after { content: " →"; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ivoire) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--beige); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); }
.brand img { width: 58px; }
.brand span { font-family: var(--sans); font-size: .82rem; letter-spacing: .3em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--encre); text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--terre); border-bottom-color: var(--terre); }
.btn-call { min-height: 42px; padding: .5em 1.1em; }

.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 12px; width: 24px; height: 2px; background: var(--encre); transition: transform .25s, opacity .2s;
}
.nav-toggle-bar { top: 23px; }
.nav-toggle-bar::before { content: ""; left: 0; top: -7px; }
.nav-toggle-bar::after { content: ""; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .brand span { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 24px;
    padding: 32px var(--gouttiere);
    background: var(--ivoire);
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-family: var(--serif); font-size: 1.7rem; border-bottom: 1px solid var(--beige); }
  body.nav-ouverte { overflow: hidden; }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(48px, 9vw, 110px) 0 clamp(56px, 10vw, 120px);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, var(--creme), transparent 70%),
    var(--ivoire);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  width: min(560px, 80%); height: 1px; background: var(--beige);
}
.hero-inner { position: relative; z-index: 1; }
.hero-logo { width: clamp(200px, 32vw, 320px); margin: 0 auto 24px; }
.hero-titre { font-size: clamp(1rem, 2vw, 1.15rem); font-family: var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gris); font-weight: 400; margin-bottom: 18px; }
.hero-accroche { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.35; max-width: 720px; margin: 0 auto 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero-photo { background: var(--nuit) var(--hero-img) center / cover no-repeat; color: var(--ivoire); }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(29,22,18,.55), rgba(29,22,18,.7)); }
.hero-photo::after { display: none; }
.hero-photo .hero-titre, .hero-photo .hero-accroche { color: var(--ivoire); }
.hero-photo .btn-ghost { color: var(--ivoire); border-color: var(--ivoire); }

/* Sections */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-alt { background: var(--creme); }
.section-sombre { background: var(--nuit); color: var(--ivoire); }
.section-sombre h2, .section-sombre h3 { color: var(--ivoire); }
.section-sombre .surtitre { color: #e0876a; }
.section-sombre .btn-ghost { color: var(--ivoire); border-color: var(--ivoire); }
.section-sombre .btn-ghost:hover { background: var(--ivoire); color: var(--nuit); }

.badge {
  display: inline-block; margin-top: 8px; padding: 6px 16px;
  border: 1px solid var(--terre); border-radius: 999px;
  color: var(--terre); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
}

/* Offres (accueil) */
.offres { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.offre { background: var(--ivoire); border: 1px solid var(--beige); border-radius: var(--rayon); padding: 32px 28px; }
.offre h2 { font-size: 2rem; }
.offre-prix { font-family: var(--serif); font-size: 2.6rem; color: var(--terre); line-height: 1; margin-bottom: 16px; }
.offre-liste { list-style: none; padding: 0; margin: 0; }
.offre-liste li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--beige); }
.offre-liste li:last-child { border-bottom: 0; }
.offre-liste .prix { color: var(--terre); font-weight: 500; white-space: nowrap; }
.annonce {
  margin-top: 32px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--terre);
}
@media (max-width: 900px) { .offres { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-inverse .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--rayon); }
.media-motif {
  aspect-ratio: 4 / 5; border-radius: var(--rayon);
  background: var(--creme);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.media-motif img { width: 58%; aspect-ratio: auto; opacity: .9; }
.media-motif-terre {
  background:
    radial-gradient(circle at 30% 30%, #b6441f 0, transparent 55%),
    radial-gradient(circle at 75% 70%, #7a220b 0, transparent 60%),
    var(--terre);
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split-inverse .split-media { order: 0; }
  .split-media img, .media-motif { aspect-ratio: 4 / 3; }
  .media-motif img { width: 40%; }
}

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.galerie figure { margin: 0; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); }
.galerie figcaption { font-size: .875rem; color: var(--gris); margin-top: 6px; }

/* Avis */
.avis { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.avis-carte { margin: 0; padding: 28px; background: var(--creme); border-radius: var(--rayon); }
.avis-carte blockquote { margin: 0 0 16px; font-family: var(--serif); font-size: 1.25rem; font-style: italic; line-height: 1.45; }
.avis-carte figcaption { font-size: .9rem; color: var(--gris); }
.etoiles { color: var(--terre); letter-spacing: .15em; margin-bottom: 8px; }

/* Infos pratiques */
.infos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.grande-adresse { font-style: normal; font-family: var(--serif); font-size: 1.6rem; line-height: 1.35; margin-bottom: 24px; }
.infos .hero-actions { justify-content: flex-start; }
@media (max-width: 800px) { .infos { grid-template-columns: 1fr; } }

/* Tableau des services */
.services { width: 100%; border-collapse: collapse; font-size: .95rem; }
.services th, .services td { padding: 8px 6px; text-align: left; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.services thead th { font-weight: 500; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.services tbody th { font-weight: 500; }
.services .ferme { opacity: .45; }
.services .ouvert::before { content: "● "; color: var(--terre); font-size: .7em; vertical-align: middle; }
.section-sombre .services .ouvert::before, .site-footer .services .ouvert::before { color: #e0876a; }

/* En-tête de page */
.page-entete { padding: clamp(48px, 8vw, 88px) 0 clamp(32px, 5vw, 56px); text-align: center; background: var(--creme); }
.page-entete .lead { max-width: 640px; margin-inline: auto; }
.sous-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.sous-nav a {
  padding: 8px 16px; border: 1px solid var(--beige); border-radius: 999px;
  background: var(--ivoire); color: var(--encre); text-decoration: none; font-size: .9rem;
}
.sous-nav a:hover { border-color: var(--terre); color: var(--terre); }

/* Carte */
.carte { padding-block: clamp(40px, 6vw, 72px); }
.carte-bloc { padding: clamp(32px, 5vw, 56px) 0; border-bottom: 1px solid var(--beige); }
.carte-bloc:last-of-type { border-bottom: 0; }
.carte-bloc > h2 { text-align: center; margin-bottom: 0; }
.carte-colonnes { columns: 2 420px; column-gap: clamp(32px, 6vw, 72px); }
.carte-section { break-inside: avoid; margin-bottom: 36px; }
.carte-titre { font-size: 1.7rem; color: var(--terre); margin-bottom: 4px; }
.carte-titre:empty { display: none; }
.carte-note { font-size: .9rem; color: var(--gris); font-style: italic; margin-bottom: 8px; }
.plats { list-style: none; margin: 0; padding: 0; }
.plat { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; }
.plat-texte { display: flex; flex-direction: column; min-width: 0; flex: 0 1 auto; }
.plat-nom { font-weight: 500; line-height: 1.35; }
.plat-desc { font-size: .9rem; color: var(--gris); line-height: 1.45; margin-top: 2px; }
.plat-fill { flex: 1 1 24px; border-bottom: 1px dotted #b9b3a1; transform: translateY(-5px); min-width: 24px; align-self: flex-start; margin-top: 1.1em; }
.plat-volume { font-size: .85rem; color: var(--gris); white-space: nowrap; }
.prix { font-weight: 500; color: var(--terre); white-space: nowrap; font-variant-numeric: tabular-nums; }
.prix-cols { display: grid; grid-template-columns: 5.2em 5.2em; text-align: right; gap: 4px; }
.plat-entete { padding-bottom: 0; }
.plat-entete span:first-child { flex: 1; }
.plat-entete .prix-cols span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }

.formule-bloc { max-width: 640px; margin-inline: auto; text-align: center; }
.formule-bloc .carte-section { text-align: left; margin-top: 16px; }

.menus { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.menu { border: 1px solid var(--beige); border-radius: var(--rayon); padding: clamp(24px, 4vw, 40px); text-align: center; background: var(--ivoire); }
.menu h3 { font-size: 2.2rem; margin-bottom: 0; }
.menu-prix { font-family: var(--serif); font-size: 2.4rem; color: var(--terre); line-height: 1.1; margin-bottom: 16px; }
.menu h4 { font-family: var(--sans); font-weight: 500; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--terre); margin: 24px 0 8px; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { padding: 6px 0; line-height: 1.45; }
.menu li + li::before { content: "ou"; display: block; font-family: var(--serif); font-style: italic; color: var(--gris); font-size: .95rem; margin-bottom: 6px; }

.carte-infos { margin-top: 24px; padding: 24px 28px; background: var(--creme); border-radius: var(--rayon); font-size: .95rem; }
.carte-infos p:last-child { margin-bottom: 0; }

@media (max-width: 520px) {
  .plat { gap: 8px; }
  .plat-texte { flex: 1 1 auto; }
  .plat-fill { display: none; }
  .prix-cols { grid-template-columns: 4.6em 4.6em; }
}

/* Contact / événements */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-carte { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--beige); border-radius: var(--rayon); }
.contact-carte h2 { font-size: 1.6rem; margin-top: 24px; }
.contact-carte h2:first-child { margin-top: 0; }
.grand-tel { font-family: var(--serif); font-size: 2.4rem; line-height: 1.1; margin-bottom: 8px; }
.grand-tel a { text-decoration: none; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.cta-duo { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* Réseaux */
.social { list-style: none; padding: 0; margin: 0; }
.social li { margin-bottom: 6px; }

/* Pied de page */
.site-footer { background: var(--nuit); color: #d9d2c3; padding-top: 64px; font-size: .95rem; }
.site-footer a { color: var(--ivoire); }
.site-footer address { font-style: normal; margin-bottom: 1em; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 150px; }
.footer-title { font-family: var(--sans); font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: #e0876a; margin-bottom: 16px; font-weight: 500; }
.site-footer .services { font-size: .85rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-bottom p { margin: 0; }
.footer-bottom .small { color: #a79f90; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Bouton d'appel flottant (mobile) */
.call-fab {
  display: none;
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 999px;
  background: var(--terre); color: #fff; text-decoration: none; font-weight: 500;
  box-shadow: 0 6px 20px rgba(60, 20, 5, .3);
}
.call-fab:hover { color: #fff; background: var(--terre-fonce); }
@media (max-width: 960px) {
  .call-fab { display: inline-flex; }
  .site-footer { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .site-footer, .call-fab, .sous-nav, .page-entete .lead { display: none; }
  .carte-colonnes { columns: 2; }
  body { font-size: 11pt; }
}

@media (max-width: 800px) { .galerie { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .galerie { grid-template-columns: 1fr; } }

.galerie-portrait img, .galerie-portrait video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--rayon); background: var(--nuit); display: block; }
