/* ==========================================================================
   La Cave du Bistronome — feuille de style
   Charte reprise du site WordPress/Divi : Playfair Display (titres),
   Montserrat (texte), or #c39d63, anthracite #1f1f1f.
   ========================================================================== */

/* ---------- Polices auto-hébergées (OFL) ---------- */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
}

/* ---------- Variables ---------- */
:root {
  --gold: #c39d63;          /* couleur d'accent Divi */
  --gold-600: #ad8750;      /* survol */
  --gold-ink: #8a6833;      /* or lisible sur fond clair */
  --ink: #1f1f1f;           /* anthracite Divi */
  --ink-900: #141414;
  --text: #6e6e6e;          /* gris texte (proche du #939393 d'origine, plus lisible) */
  --muted: #939393;
  --soft: #bfbfbf;
  --line: #e8e2d8;
  --cream: #f7f2ea;
  --paper: #ffffff;

  --ff-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --header-h: 88px;
  --header-h-solid: 72px;
  --ease: cubic-bezier(.2, .65, .25, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-ink); text-decoration: none; transition: color .25s; }
a:hover { color: var(--ink); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; color: var(--ink); }
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
}
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: #fff; }
[id] { scroll-margin-top: calc(var(--header-h-solid) + 8px); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(900px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.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-link {
  position: fixed; top: -100px; left: 1rem; z-index: 100;
  background: var(--gold); color: #fff; padding: .75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Boutons (style Divi : carrés, capitales, espacés) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  padding: 1.05em 2.1em;
  font: 600 .8125rem/1.2 var(--ff-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-600); border-color: var(--gold-600); color: #fff; }
.btn--light { border-color: #fff; color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--dark:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-row--center { justify-content: center; }

/* ---------- Titres de section ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  margin-bottom: 1.1rem;
  font: 700 .75rem/1.3 var(--ff-sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.eyebrow--center::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

.title {
  font-size: clamp(2rem, 4.3vw, 3rem);   /* 48px Divi */
  line-height: 1.25;
  margin-bottom: .6em;
}
.title em { font-style: italic; color: var(--gold-ink); }
.lead { font-size: 1.0625rem; line-height: 1.85; }
.center { text-align: center; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center .lead { max-width: 900px; margin-inline: auto; }

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3.5rem, 6vw, 5rem); }
.section--cream { background: var(--cream); }
.section--flush-top { padding-top: 0; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff;
  transition: background-color .4s, box-shadow .4s, color .4s;
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transition: height .4s var(--ease);
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .97);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 12px 30px -18px rgba(0, 0, 0, .35);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-solid { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); }
}
.site-header.is-solid .site-header__inner { height: var(--header-h-solid); }

.brand { display: flex; align-items: center; gap: .85rem; color: inherit; position: relative; z-index: 2; }
.brand:hover { color: inherit; }
.brand__logo { width: 54px; height: 54px; border-radius: 50%; transition: width .4s var(--ease), height .4s var(--ease); }
.is-solid .brand__logo { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--ff-serif); font-size: 1.2rem; letter-spacing: .01em; }
.brand__tag { font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; opacity: .75; margin-top: .3rem; }

.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); list-style: none; }
.nav__link {
  position: relative; display: inline-block; padding: .5rem 0;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: inherit;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.is-active, .nav__link.is-current { color: var(--gold); }
.is-solid .nav__link:hover, .is-solid .nav__link.is-active, .is-solid .nav__link.is-current { color: var(--gold-ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.1rem;
  border: 2px solid var(--gold);
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; white-space: nowrap;
  color: inherit;
  transition: background-color .3s, color .3s;
}
.nav__cta:hover { background: var(--gold); color: #fff; }
.nav__cta .icon { color: var(--gold); transition: color .3s; }
.nav__cta:hover .icon { color: #fff; }

.header-actions { display: none; align-items: center; gap: .5rem; position: relative; z-index: 2; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 0; color: inherit; cursor: pointer; padding: 0;
}
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn--gold { background: var(--gold); color: #fff; }
.icon-btn--gold:hover { color: #fff; background: var(--gold-600); }
.burger { position: relative; }
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor;
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
}
.burger::before { top: 15px; }
.burger span { top: 21px; }
.burger::after { top: 27px; }
.nav-open .burger::before { top: 21px; transform: rotate(45deg); }
.nav-open .burger span { opacity: 0; }
.nav-open .burger::after { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  .header-actions { display: flex; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 6rem var(--gutter) 3rem;
    background: var(--ink-900);
    color: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-2%);
    transition: opacity .4s, visibility .4s, transform .4s var(--ease);
    overflow-y: auto;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: .4rem; text-align: center; }
  .nav__link { font-family: var(--ff-serif); font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 400; letter-spacing: 0; text-transform: none; }
  .nav__link::after { display: none; }
  .is-solid .nav__link:hover, .is-solid .nav__link.is-active, .is-solid .nav__link.is-current { color: var(--gold); }
  .nav__item--cta { margin-top: 1.5rem; }
  .nav__cta { font-size: .9rem; padding: 1rem 1.5rem; }
  .nav-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-open body { overflow: hidden; }
}
@media (max-width: 520px) {
  :root { --header-h: 76px; --header-h-solid: 66px; }
  .site-header__inner { gap: .5rem; }
  .brand { gap: .6rem; }
  .header-actions { gap: .25rem; }
  .brand__tag { display: none; }
  .brand__name { font-size: 1rem; }
  .eyebrow { letter-spacing: .2em; }
  .eyebrow--center::before, .eyebrow--center::after { display: none; }
  .brand__logo { width: 46px; height: 46px; }
  .is-solid .brand__logo { width: 40px; height: 40px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 7rem;
  color: #fff; background: var(--ink);
  text-align: center;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; animation: hero-zoom 2.2s var(--ease) both; }
.hero__media img {
  position: absolute; left: 0; top: -8%; width: 100%; height: 116%;
  object-fit: cover; object-position: center 55%;
  will-change: transform;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(31, 31, 31, .55) 0%, rgba(31, 31, 31, .78) 70%),
    linear-gradient(180deg, rgba(20, 20, 20, .55) 0%, rgba(20, 20, 20, 0) 30%, rgba(20, 20, 20, .6) 100%);
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__inner { max-width: 880px; margin-inline: auto; }
.hero__title {
  color: #fff;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.08;
  letter-spacing: -.005em;
  margin-bottom: .45em;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__text { max-width: 740px; margin: 0 auto 2.5rem; color: #cfcfcf; font-size: clamp(.98rem, 1.6vw, 1.08rem); line-height: 1.85; }
.hero__text strong { color: #fff; font-weight: 600; }
.hero__text p { margin-bottom: .7em; }
.hero__meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .78rem; letter-spacing: .08em; color: #d6d6d6;
}
.hero__meta .container { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.25rem; padding-block: 1.1rem; }
.hero__meta span, .hero__meta a { display: inline-flex; align-items: center; gap: .55rem; color: inherit; }
.hero__meta a:hover { color: var(--gold); }
.hero__meta .icon { color: var(--gold); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 4.6rem; transform: translateX(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; color: #fff;
  animation: bob 2.4s ease-in-out infinite;
}
.hero__scroll .icon { width: 32px; height: 32px; stroke-width: 1.5; }
.hero__scroll:hover { color: var(--gold); }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (max-width: 720px) {
  .hero { padding-bottom: 9.5rem; }
  .hero__meta .container { flex-direction: column; align-items: center; gap: .35rem; }
  .hero__scroll { display: none; }
  .hero .btn-row { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; }
}

/* ==========================================================================
   Univers (3 cartes)
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.card { display: flex; flex-direction: column; color: inherit; }
.card:hover { color: inherit; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--cream); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__num {
  position: absolute; left: 1rem; top: .75rem;
  font: italic 400 1.6rem/1 var(--ff-serif); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.card__body { padding-top: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.65rem; margin-bottom: 0; }
.rule { width: 48px; height: 2px; background: var(--gold); border: 0; margin: 1rem 0 1.15rem; }
.rule--center { margin-inline: auto; }
.card__text { flex: 1; }
.card__link {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.25rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink);
}
.card__link .icon { transition: transform .35s var(--ease); }
.card:hover .card__link .icon { transform: translateX(6px); }

/* Chiffres clés */
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3.5rem, 7vw, 5rem);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.fact { padding: 2rem 1.5rem; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__num { display: block; font: 400 clamp(2.4rem, 5vw, 3.25rem)/1 var(--ff-serif); color: var(--gold); margin-bottom: .6rem; }
.fact__num small { font-size: .45em; letter-spacing: .02em; }
.fact__label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }

/* ==========================================================================
   Bandeaux pleine largeur (parallaxe)
   ========================================================================== */
.banner {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(7rem, 15vw, 11rem);
  background: var(--ink);
  color: #e9e9e9; text-align: center;
}
.banner__bg {
  position: absolute; left: 0; top: -15%; z-index: -2;
  width: 100%; height: 130%; object-fit: cover;
  will-change: transform;
}
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 15, 15, .3); }
.banner--deep::after { background: linear-gradient(180deg, rgba(20, 20, 20, .72), rgba(20, 20, 20, .62)); }
.banner__title { color: #fff; font-weight: 600; font-size: clamp(2.3rem, 5vw, 2.875rem); margin: 0; }  /* 46px Divi */
.banner__text { max-width: 760px; margin: 0 auto; font-size: clamp(1rem, 1.5vw, 1.0625rem); line-height: 1.85; }
.banner__text strong { color: #fff; }
.banner .rule { margin: 1.4rem auto 1.6rem; }

/* ==========================================================================
   Mises en page 2 colonnes
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split--top { align-items: start; }
.split--5-7 { grid-template-columns: 5fr 7fr; }
.split--7-5 { grid-template-columns: 7fr 5fr; }
.sticky { position: sticky; top: calc(var(--header-h-solid) + 2rem); }

/* Image avec cadre or décalé (rappel des colonnes or du site d'origine) */
.frame { position: relative; z-index: 0; margin: 0 1.25rem 1.25rem 0; }
.frame::before {
  content: ""; position: absolute; z-index: -1;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  background: var(--gold);
}
.frame--outline::before { background: transparent; border: 2px solid var(--gold); }
.frame img { width: 100%; }

.photo { margin: 3rem 0 0; overflow: hidden; }
.photo img { width: 100%; transition: transform 1.1s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.btn-row--spaced { margin-top: 2rem; }

.prose p { font-size: 1.0625rem; }

/* Listes */
.list-cols {
  list-style: none; columns: 2; column-gap: 2rem;
  margin: 1.5rem 0 2.25rem;
}
.list-cols li {
  break-inside: avoid; position: relative;
  padding: .55rem 0 .55rem 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: .975rem;
}
.list-cols li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem;
  width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg);
}
.section--cream .list-cols li { border-color: #e4dccd; }

.producers { list-style: none; margin: 0 0 1.75rem; }
.producer { display: grid; gap: .15rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.producer:first-child { padding-top: 0; }
.producer__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; }
.producer__name { font: 400 1.18rem/1.35 var(--ff-serif); color: var(--ink); }
.producer__place {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink);
}
.producer__desc { margin: 0; font-size: .95rem; line-height: 1.7; }
.note { font-family: var(--ff-serif); font-style: italic; font-size: 1.15rem; color: var(--ink); }

/* Galeries d'images */
.gallery { display: grid; gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery--2 { grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; overflow: hidden; background: var(--cream); }
.gallery--3 figure { aspect-ratio: 3 / 2; }
.gallery--2 figure { aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

/* Encadré (restaurant) */
.callout {
  position: relative; background: var(--cream); padding: clamp(2rem, 4vw, 3rem);
  border-top: 3px solid var(--gold);
}
.callout__title { font-size: 1.6rem; }

/* ==========================================================================
   Avis clients
   ========================================================================== */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.review {
  position: relative; display: flex; flex-direction: column; margin: 0;
  background: #fff; padding: 2.25rem 1.75rem 2rem;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(31, 31, 31, .45); }
.review::before {
  content: "\201C"; position: absolute; right: 1.25rem; top: .25rem;
  font: 400 5.5rem/1 var(--ff-serif); color: var(--gold); opacity: .22;
}
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 1.25rem; }
.stars .icon { width: 17px; height: 17px; }
.review__title { font-size: 1.5rem; margin-bottom: .75rem; }  /* 24px Divi */
.review__quote { margin: 0; flex: 1; font-size: .98rem; line-height: 1.75; }
.review__author {
  display: block; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-style: normal; font-weight: 600; color: var(--ink); font-size: .9rem; letter-spacing: .04em;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { position: relative; isolation: isolate; padding-block: clamp(4rem, 9vw, 6.25rem); background: var(--ink-900); }
.contact__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .75); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px; width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.panel {
  background: var(--ink); color: #fff; text-align: center;
  padding: clamp(3rem, 7vw, 6.25rem) clamp(1.5rem, 5%, 4rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.panel__title { color: #fff; font-size: clamp(1.6rem, 3vw, 1.875rem); margin-bottom: 1.2rem; }  /* 30px Divi */
.panel__block + .panel__block { margin-top: 2.75rem; }
.panel p, .panel dd, .panel address { font-size: .9375rem; letter-spacing: .06em; line-height: 1.9; color: #e9e9e9; font-style: normal; }
.panel strong { color: #fff; }
.panel a:not(.btn) { color: #fff; border-bottom: 1px solid rgba(195, 157, 99, .6); overflow-wrap: anywhere; }
.panel a:not(.btn):hover { color: var(--gold); }
.hours { margin: 0; }
.hours dt { font-weight: 600; color: #fff; font-size: .9375rem; letter-spacing: .06em; }
.hours dd { margin: 0 0 .6rem; }
.panel .btn { margin-top: 2rem; }
.panel .btn + .btn { margin-top: 1rem; }
.panel__actions { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; margin-top: 2rem; width: min(100%, 380px); }
.panel__actions .btn { margin: 0; }
.panel__icon { color: var(--gold); width: 28px; height: 28px; margin: 0 auto 1rem; stroke-width: 1.4; }

/* Carte */
.map { position: relative; height: clamp(320px, 42vw, 440px); background: #e9e6e1; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); transition: filter .5s; }
.map:hover iframe { filter: none; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { background: var(--ink-900); color: #a8a8a8; font-size: .9rem; line-height: 1.75; }
.footer__top {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(3.5rem, 7vw, 5rem);
}
.footer__brand .brand { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 1.6rem; color: #fff; }
.footer__brand .brand__logo { width: 64px; height: 64px; }
.footer__brand .brand__name { font-size: 1.3rem; }
.footer__brand address { font-style: normal; }
.footer__brand a { color: #e6e6e6; }
.footer__brand a:hover { color: var(--gold); }
.footer__line { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .55rem; }
.footer__line .icon { color: var(--gold); margin-top: .35em; }
.widget__title { color: #fff; font-size: 1.15rem; margin-bottom: .9rem; }
.widget__title::after { content: ""; display: block; width: 32px; height: 2px; background: var(--gold); margin-top: .8rem; }
.widget p { margin: 0; }
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid #3a3a3a; color: #fff; transition: background-color .3s, border-color .3s;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.socials .icon { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid #2b2b2b; }
.footer__bottom .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  padding-block: 1.4rem; font-size: .8rem; color: #8d8d8d;
}
.footer__bottom a { color: #cfcfcf; }
.footer__bottom a:hover { color: var(--gold); }

/* Retour en haut (option Divi « back to top ») */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: grid; place-items: center; width: 48px; height: 48px;
  background: var(--gold); color: #fff; border: 0; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s, visibility .35s, transform .35s var(--ease), background-color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-600); }
.to-top .icon { width: 20px; height: 20px; }

/* ==========================================================================
   Pages simples (mentions, 404)
   ========================================================================== */
.page-hero {
  padding: calc(var(--header-h) + 4.5rem) 0 4rem;
  background: var(--ink); color: #cfcfcf; text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.25rem); margin: 0; }
.legal { max-width: 860px; margin-inline: auto; }
.legal h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin: 2.6em 0 .7em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.25rem; margin: 1.8em 0 .6em; }
.legal ul { padding-left: 1.25rem; margin: 0 0 1.1em; }
.legal li { margin-bottom: .5em; }
.legal a { overflow-wrap: anywhere; }
/* ---------- Modale (mentions légales) ---------- */
.modal {
  width: min(880px, 100% - 2rem);
  max-width: none; max-height: min(88vh, 1000px);
  padding: 0; border: 0; border-radius: 0;
  background: var(--paper); color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  overflow: hidden;
}
.modal[open] { display: flex; animation: modal-in .45s var(--ease); }
.modal::backdrop { background: rgba(15, 15, 15, .72); backdrop-filter: blur(4px); }
.modal[open]::backdrop { animation: fade-in .35s ease; }
.modal__box { display: flex; flex-direction: column; width: 100%; max-height: inherit; }
.modal__head {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem clamp(1.25rem, 4vw, 2.5rem);
  background: var(--ink); color: #fff;
  border-bottom: 3px solid var(--gold);
}
.modal__title { margin: 0; color: #fff; font-size: clamp(1.4rem, 3vw, 1.75rem); }
.modal__close {
  position: relative; flex: none; width: 44px; height: 44px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #fff; cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.modal__close:hover { background: var(--gold); border-color: var(--gold); }
.modal__close span::before, .modal__close span::after {
  content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px;
  background: currentColor; transform: rotate(45deg);
}
.modal__close span::after { transform: rotate(-45deg); }
.modal__body {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.75rem);
  font-size: .95rem;
}
.modal__body:focus { outline: none; }
.modal__body.legal { max-width: none; }
.modal__body.legal h2 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); }
.modal__loading { text-align: center; color: var(--muted); padding: 3rem 0; }
.modal-open { overflow: hidden; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 600px) {
  .modal { width: 100%; max-height: 100%; height: 100%; margin: 0; }
  .modal__box { max-height: 100%; height: 100%; }
}

.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; }

/* ==========================================================================
   Animations d'apparition (Divi : slide / zoom / fold)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal--zoom { transform: scale(.96); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .12s; }
.js .reveal.d2 { transition-delay: .24s; }
.js .reveal.d3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .split, .split--5-7, .split--7-5 { grid-template-columns: 1fr; }
  .split .order-first-mobile { order: -1; }
  .sticky { position: static; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .frame { max-width: 520px; margin-inline: auto 1.25rem; }
}
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  /* Galeries : carrousel horizontal à balayage sur mobile */
  .gallery--3, .gallery--2 {
    display: flex; gap: .75rem;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .gallery--3::-webkit-scrollbar, .gallery--2::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 84%; scroll-snap-align: center; }
  .list-cols { columns: 1; }
  .reviews { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom .container { flex-direction: column; text-align: center; align-items: center; }
}
