/* ==========================================================================
   Domaine de Janès · V3 « Nocturne et clairière »
   Layout : on arrive de nuit (hero sombre), on découvre le lieu au matin
   (chapitres crème), on retrouve la nuit pour les occasions et l'invitation.
   Deux bascules seulement, toujours opérées par une image pleine largeur.
   ========================================================================== */

:root {
  /* Charte, aucune autre couleur */
  --noir: #1A1A18;
  --terre: #2E2A22;
  --creme: #F5F0E8;
  --or: #C8A96E;
  --or-pale: #D4B97A;

  /* Dérivés par transparence des couleurs de charte */
  --creme-70: rgba(245, 240, 232, 0.72);
  --creme-45: rgba(245, 240, 232, 0.45);
  --creme-12: rgba(245, 240, 232, 0.14);
  --terre-70: rgba(46, 42, 34, 0.74);
  --terre-45: rgba(46, 42, 34, 0.5);
  --terre-15: rgba(46, 42, 34, 0.16);
  --terre-06: rgba(46, 42, 34, 0.06);
  --or-30: rgba(200, 169, 110, 0.32);

  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'Outfit', 'Helvetica Neue', Arial, sans-serif;

  --mesure: 62ch;
  --conteneur: 1200px;
  --large: 1440px;
  --gouttiere: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 11vw, 168px);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--creme);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.1; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; }

/* Chapitres ---------------------------------------------------------------- */
.sombre { background: var(--noir); color: var(--creme); }
.terre  { background: var(--terre); color: var(--creme); }
.clair  { background: var(--creme); color: var(--noir); color-scheme: light; }
.clair .secondaire, .clair .kicker { color: var(--terre-70); }
.sombre .secondaire, .terre .secondaire { color: var(--creme-70); }
.sombre .kicker, .terre .kicker { color: var(--or-pale); }

.conteneur { width: min(100% - 2 * var(--gouttiere), var(--conteneur)); margin-inline: auto; }
.large { width: min(100% - 2 * var(--gouttiere), var(--large)); margin-inline: auto; }
.section { padding-block: var(--section); }
.mesure { max-width: var(--mesure); }

/* Typographie -------------------------------------------------------------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
.h3 { font-size: clamp(1.45rem, 2.1vw, 1.9rem); font-weight: 600; }
.kicker {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  display: block;
  margin-bottom: 0.9rem;
}
.chiffre { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 3.2vw, 3.1rem); line-height: 1; font-variant-numeric: lining-nums; }
.petit { font-size: 0.9rem; line-height: 1.5; }
.corps p + p { margin-top: 1.1em; }
.titre-marge { margin-bottom: clamp(1.4rem, 2.5vw, 2.2rem); }

/* Liens et boutons --------------------------------------------------------- */
.lien {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  font-weight: 400;
}
.lien::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; opacity: 0.4; transition: opacity 0.3s ease, transform 0.4s ease;
  transform-origin: left; transform: scaleX(1);
}
.lien:hover::after { opacity: 1; }
.sombre .lien, .terre .lien { color: var(--or-pale); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1.05rem 2rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer; text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.btn-or { background: var(--or); color: var(--noir); border-color: var(--or); }
.btn-or:hover { background: var(--or-pale); border-color: var(--or-pale); transform: translateY(-1px); }
.btn-contour { background: transparent; color: var(--creme); border-color: var(--creme-45); }
.btn-contour:hover { border-color: var(--creme); }
.clair .btn-noir, .btn-noir { background: var(--noir); color: var(--creme); border-color: var(--noir); }
.btn-noir:hover { background: var(--terre); border-color: var(--terre); }
.clair .btn-contour { color: var(--noir); border-color: var(--terre-45); }
.clair .btn-contour:hover { border-color: var(--noir); }

/* Navigation --------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
  color: var(--creme);
}
.nav-int {
  width: min(100% - 2 * var(--gouttiere), var(--large)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  height: 76px;
}
.nav.compacte { background: rgba(26, 26, 24, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav.compacte.sur-clair { background: rgba(245, 240, 232, 0.94); color: var(--noir); }
.nav-marque { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.06em; }
.nav-liens { display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.4rem); }
.nav-liens a { font-size: 0.92rem; font-weight: 400; opacity: 0.82; transition: opacity 0.3s; }
.nav-liens a:hover, .nav-liens a[aria-current="page"] { opacity: 1; }
.nav-liens .btn { padding: 0.7rem 1.3rem; font-size: 0.82rem; opacity: 1; }
.nav.compacte.sur-clair .btn-contour { color: var(--noir); border-color: var(--terre-45); }
.nav-tel { font-size: 0.92rem; font-weight: 400; opacity: 0.82; }
.burger { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform 0.3s, opacity 0.3s; }
.menu-mobile { display: none; }

@media (max-width: 900px) {
  .nav-liens, .nav-tel { display: none; }
  .burger { display: block; }
  .menu-mobile {
    display: flex; flex-direction: column; justify-content: center; gap: 1.6rem;
    position: fixed; inset: 0; z-index: 40; padding: 100px var(--gouttiere) 120px;
    background: var(--creme); color: var(--noir);
    transform: translateY(-100%); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .menu-mobile.ouvert { transform: translateY(0); }
  .menu-mobile a { font-family: var(--serif); font-size: 2rem; font-weight: 500; }
  .menu-mobile .btn { font-family: var(--sans); font-size: 0.9rem; margin-top: 1rem; align-self: flex-start; }
  .menu-mobile .petit { color: var(--terre-70); margin-top: auto; }
  .nav.menu-actif { color: var(--noir); background: transparent; }
  .burger.ouvert span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger.ouvert span:nth-child(2) { opacity: 0; }
  .burger.ouvert span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--noir); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero-voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--noir) 0%, rgba(26, 26, 24, 0.82) 18%, rgba(26, 26, 24, 0.25) 48%, rgba(26, 26, 24, 0.12) 70%, rgba(26, 26, 24, 0.35) 100%);
}
.hero-contenu {
  position: relative; z-index: 2;
  width: min(100% - 2 * var(--gouttiere), var(--large)); margin-inline: auto;
  padding-bottom: clamp(56px, 9vh, 120px); padding-top: 140px;
  display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: 2rem; align-items: end;
}
.hero-marque { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.2rem); letter-spacing: 0.12em; color: var(--or-pale); margin-bottom: 1.4rem; }
.hero-signature { color: var(--creme); margin-bottom: 1.4rem; }
.hero-signature em { font-style: italic; font-weight: 500; }
.hero-ligne { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--creme-70); max-width: 34rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.hero-prix { text-align: right; color: var(--creme-70); font-size: 0.95rem; line-height: 1.5; }
.hero-prix strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 2.6vw, 2.6rem); color: var(--creme); line-height: 1.1; }
@media (max-width: 900px) {
  .hero-contenu { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-prix { text-align: left; order: -1; margin-bottom: 0.6rem; }
  .hero-img { object-position: 52% 60%; }
}

/* Bandeau de faits --------------------------------------------------------- */
.faits { border-top: 1px solid var(--creme-12); }
.faits-grille { display: grid; grid-template-columns: repeat(5, 1fr); }
.fait { padding: 2rem 1.6rem 2rem 0; border-right: 1px solid var(--creme-12); margin-right: 1.6rem; }
.fait:last-child { border-right: 0; margin-right: 0; }
.fait .chiffre { color: var(--or-pale); margin-bottom: 0.5rem; }
.fait p { color: var(--creme-70); font-size: 0.95rem; line-height: 1.45; }
.faits-acces { padding: 1.4rem 0 2.2rem; color: var(--creme-70); font-size: 0.95rem; border-top: 1px solid var(--creme-12); display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; }
.faits-acces span strong { color: var(--creme); font-weight: 400; }
@media (max-width: 1000px) {
  .faits-grille { grid-template-columns: repeat(3, 1fr); }
  .fait:nth-child(3) { border-right: 0; }
}
@media (max-width: 640px) {
  .faits-grille { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; padding-bottom: 4px; scrollbar-width: none; }
  .faits-grille::-webkit-scrollbar { display: none; }
  .fait { flex: 0 0 68%; scroll-snap-align: start; border-right: 1px solid var(--creme-12) !important; margin-right: 1.4rem; padding-right: 1.4rem; }
}

/* Bascules par image ------------------------------------------------------- */
.bascule { position: relative; height: clamp(320px, 52vw, 640px); overflow: hidden; }
.bascule img { width: 100%; height: 100%; object-fit: cover; }
.bascule-nuit { background: var(--noir); }
.bascule-nuit::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--creme) 0, transparent 14%, transparent 72%, var(--noir) 100%); }
.bascule-jour::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--noir) 0, transparent 22%, transparent 80%, var(--creme) 100%); }
.bascule figcaption { position: absolute; left: var(--gouttiere); bottom: 1.4rem; font-size: 0.85rem; color: var(--creme-70); z-index: 2; }
.bascule-jour figcaption { color: var(--terre-70); }

/* Grilles éditoriales ------------------------------------------------------ */
.deux-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.deux-col.inverse > :first-child { order: 2; }
.colle { position: sticky; top: 100px; }
.portrait { aspect-ratio: 4 / 5; overflow: hidden; }
.portrait img, .paysage img { width: 100%; height: 100%; object-fit: cover; }
.paysage { aspect-ratio: 3 / 2; overflow: hidden; }
.decale { margin-top: clamp(2rem, 8vw, 7rem); }
@media (max-width: 900px) {
  .deux-col { grid-template-columns: 1fr; }
  .deux-col.inverse > :first-child { order: 0; }
  .colle { position: static; }
  .decale { margin-top: 0; }
}

/* Liste de caractéristiques (Zôme) ----------------------------------------- */
.carac { border-top: 1px solid var(--terre-15); }
.carac li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--terre-15); }
.carac li h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.carac li p { color: var(--terre-70); font-size: 0.98rem; }
@media (max-width: 560px) { .carac li { grid-template-columns: 1fr; gap: 0.3rem; } }

/* Galerie ------------------------------------------------------------------ */
.galerie { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(2, clamp(180px, 24vw, 360px)); gap: 10px; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.galerie figure { margin: 0; overflow: hidden; position: relative; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s ease; }
.galerie figure:hover img { transform: scale(1.03); }
.galerie .g1 { grid-column: 1 / 6; grid-row: 1 / 3; }
.galerie .g2 { grid-column: 6 / 10; grid-row: 1; }
.galerie .g3 { grid-column: 10 / 13; grid-row: 1; }
.galerie .g4 { grid-column: 6 / 9; grid-row: 2; }
.galerie .g5 { grid-column: 9 / 13; grid-row: 2; }
@media (max-width: 760px) {
  .galerie { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; scrollbar-width: none; margin-inline: calc(-1 * var(--gouttiere)); padding-inline: var(--gouttiere); }
  .galerie::-webkit-scrollbar { display: none; }
  .galerie { grid-template-rows: none; }
  .galerie figure { flex: 0 0 78%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
}

/* Déroulé du séjour (séquence réelle, horaires vrais) ---------------------- */
.deroule { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--terre-15); margin-top: clamp(2.5rem, 5vw, 4rem); }
.temps { padding: 1.6rem 1.6rem 0 0; border-right: 1px solid var(--terre-15); margin-right: 1.6rem; position: relative; }
.temps:last-child { border-right: 0; margin-right: 0; }
.temps::before { content: ''; position: absolute; top: -1px; left: 0; width: 2.4rem; height: 1px; background: var(--or); }
.temps time { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1; margin-bottom: 0.9rem; font-variant-numeric: lining-nums; }
.temps h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.25; }
.temps p { color: var(--terre-70); font-size: 0.95rem; line-height: 1.5; }
.temps .option { display: inline-block; margin-top: 0.7rem; font-size: 0.82rem; color: var(--terre-70); border: 1px solid var(--terre-15); padding: 0.2rem 0.6rem; border-radius: 2px; }
@media (max-width: 1000px) { .deroule { grid-template-columns: repeat(3, 1fr); row-gap: 1.6rem; } .temps:nth-child(3) { border-right: 0; } }
@media (max-width: 600px) { .deroule { grid-template-columns: 1fr; border-top: 0; } .temps { border-right: 0; margin-right: 0; border-top: 1px solid var(--terre-15); padding-right: 0; } .temps::before { display: none; } }

/* Bloc tarifs et réservation ---------------------------------------------- */
.tarifs { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.prix-ligne { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin: 1.2rem 0 0.4rem; }
.prix-ligne .chiffre { font-size: clamp(3rem, 5vw, 4.6rem); }
.prix-ligne span { color: var(--terre-70); font-size: 1.05rem; }
.inclus { margin-top: 2rem; border-top: 1px solid var(--terre-15); }
.inclus li { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: 0.9rem; padding: 0.95rem 0; border-bottom: 1px solid var(--terre-15); }
.inclus li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--or); margin-top: 0.6rem; justify-self: center; }
.inclus strong { font-weight: 500; }
.inclus span { display: block; color: var(--terre-70); font-size: 0.95rem; }
.direct { margin-top: 2rem; padding: 1.4rem 1.6rem; border-left: 2px solid var(--or); background: var(--terre-06); }
.direct p { font-size: 0.98rem; }
.direct p + p { margin-top: 0.5rem; }
.reservation { background: var(--noir); color: var(--creme); padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 2px; position: sticky; top: 100px; }
.reservation h3 { color: var(--creme); margin-bottom: 0.6rem; }
.reservation .secondaire { color: var(--creme-70); }
.module { margin-top: 1.4rem; background: var(--creme); color: var(--noir); border-radius: 2px; min-height: 330px; padding: 1.4rem; color-scheme: light; }
.module-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 1rem; font-variant-numeric: tabular-nums; }
.module-grille span { aspect-ratio: 1; display: grid; place-items: center; font-size: 0.85rem; border-radius: 2px; }
.module-grille .j { background: rgba(26, 26, 24, 0.05); }
.module-grille .j.pris { background: rgba(46, 42, 34, 0.25); color: var(--terre-70); text-decoration: line-through; }
.module-grille .j.choisi { background: var(--noir); color: var(--creme); }
.module-grille .l { color: var(--terre-70); font-size: 0.75rem; aspect-ratio: auto; padding-bottom: 0.4rem; }
.module-note { font-size: 0.85rem; color: var(--terre-70); margin-top: 0.9rem; }
.reservation .btn { width: 100%; margin-top: 1.2rem; }
.reservation .petit { margin-top: 1rem; color: var(--creme-70); }
.conditions { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; border-top: 1px solid var(--terre-15); padding-top: 1.6rem; }
.conditions h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.3rem; }
.conditions p { color: var(--terre-70); font-size: 0.95rem; }
@media (max-width: 1000px) { .tarifs { grid-template-columns: 1fr; } .reservation { position: static; } .conditions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .conditions { grid-template-columns: 1fr; } }

/* Avis --------------------------------------------------------------------- */
.avis-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.note { display: flex; align-items: center; gap: 0.8rem; color: var(--terre-70); font-size: 0.98rem; }
.etoiles { color: var(--or); letter-spacing: 0.15em; font-size: 1rem; }
.avis-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.avis-grille blockquote { margin: 0; padding-top: 1.4rem; border-top: 1px solid var(--terre-15); }
.avis-grille blockquote p { font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.7rem); font-weight: 500; line-height: 1.35; }
.avis-grille footer { margin-top: 1.2rem; color: var(--terre-70); font-size: 0.95rem; }
@media (max-width: 700px) { .avis-grille { grid-template-columns: 1fr; } }

/* FAQ ---------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--terre-15); margin-top: clamp(2rem, 4vw, 3rem); }
.faq details { border-bottom: 1px solid var(--terre-15); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--terre-70); transition: transform 0.3s ease; flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .reponse { padding: 0 0 1.4rem; max-width: var(--mesure); color: var(--terre-70); }
.faq .reponse p + p { margin-top: 0.6rem; }

/* Cartes sombres (occasions, offrir) -------------------------------------- */
.cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.cartes.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.carte { display: flex; flex-direction: column; }
.carte .image { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 1.4rem; }
.carte .image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s ease; }
.carte:hover .image img { transform: scale(1.03); }
.carte h3 { margin-bottom: 0.6rem; }
.carte p { color: var(--creme-70); }
.carte .prix { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--creme); margin: 0.8rem 0 0.2rem; }
.carte .lien { margin-top: 1.1rem; align-self: flex-start; }
@media (max-width: 760px) { .cartes, .cartes.trois { grid-template-columns: 1fr; } }

/* Hôtes -------------------------------------------------------------------- */
.hotes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.hotes blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 500; line-height: 1.3; }
.hotes .signature { margin-top: 1.6rem; }
.hotes .signature span { display: block; }
.hotes .nom { font-family: var(--serif); font-size: 1.3rem; color: var(--or-pale); }
.embleme { margin-top: 2rem; display: inline-grid; place-items: center; gap: 0.2rem; }
.embleme b { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; letter-spacing: 0.2em; padding-left: 0.2em; }
.embleme small { font-size: 0.78rem; letter-spacing: 0.08em; color: var(--creme-70); }
@media (max-width: 900px) { .hotes { grid-template-columns: 1fr; } }

/* Alentours mini ----------------------------------------------------------- */
.alentours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin-top: clamp(2rem, 4vw, 3rem); }
.alentours li { border-top: 1px solid var(--terre-15); padding-top: 1rem; }
.alentours li .chiffre { font-size: 1.6rem; margin-bottom: 0.3rem; }
.alentours li p { color: var(--terre-70); font-size: 0.95rem; }
@media (max-width: 760px) { .alentours { grid-template-columns: repeat(2, 1fr); } }

/* Invitation finale -------------------------------------------------------- */
.invitation { position: relative; min-height: 80svh; display: flex; align-items: center; overflow: hidden; }
.invitation img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.invitation::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--noir) 0, rgba(26, 26, 24, 0.35) 30%, rgba(26, 26, 24, 0.55) 70%, var(--noir) 100%); }
.invitation .conteneur { position: relative; z-index: 2; text-align: center; padding-block: clamp(5rem, 10vw, 9rem); }
.invitation .display { margin-bottom: 1.2rem; }
.invitation .secondaire { max-width: 32rem; margin: 0 auto 2.2rem; }

/* Pied de page ------------------------------------------------------------- */
.pied { border-top: 1px solid var(--creme-12); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.pied h4 { font-family: var(--sans); font-weight: 500; font-size: 0.9rem; margin-bottom: 1rem; color: var(--creme); }
.pied li { margin-bottom: 0.55rem; }
.pied a, .pied p { color: var(--creme-70); font-size: 0.95rem; }
.pied a:hover { color: var(--creme); }
.pied .marque { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: 0.06em; color: var(--creme); margin-bottom: 0.8rem; }
.pied .signature-marque { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--creme-70); max-width: 20rem; }
.pied-bas { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--creme-12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem 2rem; font-size: 0.85rem; color: var(--creme-45); }
.pied-bas a { color: var(--creme-45); font-size: 0.85rem; }
@media (max-width: 900px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied-grille { grid-template-columns: 1fr; } }

/* Barre mobile ------------------------------------------------------------- */
.barre-mobile {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 0.8rem var(--gouttiere) calc(0.8rem + env(safe-area-inset-bottom, 0px));
  background: rgba(26, 26, 24, 0.94); color: var(--creme); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  align-items: center; justify-content: space-between; gap: 1rem;
  transform: translateY(110%); transition: transform 0.4s ease;
}
.barre-mobile.visible { transform: translateY(0); }
.barre-mobile strong { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; display: block; line-height: 1; }
.barre-mobile small { color: var(--creme-70); font-size: 0.8rem; }
.barre-mobile .btn { padding: 0.8rem 1.2rem; font-size: 0.82rem; }
@media (max-width: 900px) { .barre-mobile { display: flex; } body { padding-bottom: 0; } }

/* Pages intérieures : entête ---------------------------------------------- */
.entete { position: relative; min-height: 62svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--noir); }
.entete img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.entete::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--noir) 0%, rgba(26, 26, 24, 0.7) 25%, rgba(26, 26, 24, 0.15) 60%, rgba(26, 26, 24, 0.4) 100%); }
.entete .conteneur { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(3rem, 6vw, 5rem); }
.entete .fil { font-size: 0.9rem; color: var(--creme-70); margin-bottom: 1.2rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.entete .fil a:hover { color: var(--creme); }
.entete .h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: 1rem; }
.entete .secondaire { max-width: 36rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }

/* Cartes options (page tarifs) -------------------------------------------- */
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.option-carte { border-top: 1px solid var(--terre-15); padding-top: 1.2rem; display: flex; flex-direction: column; }
.option-carte .image { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 1.2rem; }
.option-carte .image img { width: 100%; height: 100%; object-fit: cover; }
.option-carte h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
.option-carte p { color: var(--terre-70); font-size: 0.95rem; }
.option-carte .prix { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-top: auto; padding-top: 1rem; color: var(--noir); }
.option-carte .prix small { font-family: var(--sans); font-weight: 300; font-size: 0.85rem; color: var(--terre-70); margin-left: 0.4rem; }
.option-carte .delai { font-size: 0.82rem; color: var(--terre-70); margin-top: 0.3rem; }
@media (max-width: 900px) { .options { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .options { grid-template-columns: 1fr; } }

/* Pour aller plus loin ----------------------------------------------------- */
.suite { border-top: 1px solid var(--creme-12); }
.suite .cartes { margin-top: 1.8rem; }

/* Apparition : état de repos visible, animation seulement si autorisée ------ */
@media (prefers-reduced-motion: no-preference) {
  .apparait { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .apparait.visible, .no-js .apparait { opacity: 1; transform: none; }
  .hero-contenu > * { animation: lever 1.1s ease both; }
  .hero-contenu > :nth-child(2) { animation-delay: 0.25s; }
  @keyframes lever { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Or de marque : nom du domaine et titres sur fond sombre ------------------- */
.nav-marque { color: var(--or); text-transform: uppercase; letter-spacing: 0.15em; font-size: 1.1rem; }
.nav.compacte.sur-clair { background: rgba(26, 26, 24, 0.92); color: var(--creme); }
.nav.compacte.sur-clair .btn-contour { color: var(--creme); border-color: var(--creme-45); }
.nav.menu-actif .nav-marque { color: var(--noir); }
.hero-marque { color: var(--or); text-transform: uppercase; letter-spacing: 0.22em; font-size: clamp(0.95rem, 1.3vw, 1.15rem); }
.sombre .h2, .terre .h2, .invitation .display, .entete .h2 { color: var(--or-pale); }
.sombre .carte .h3, .terre .carte .h3 { color: var(--creme); }
.pied .marque { color: var(--or); text-transform: uppercase; letter-spacing: 0.15em; font-size: 1.25rem; }
.reservation h3 { color: var(--or-pale); }
.entete::after { background: linear-gradient(to top, var(--noir) 0%, rgba(26, 26, 24, 0.86) 30%, rgba(26, 26, 24, 0.45) 62%, rgba(26, 26, 24, 0.5) 100%); }
.entete .h2, .invitation .display { text-shadow: 0 2px 18px rgba(26, 26, 24, 0.85); }
.option-carte .image + h3 { margin-top: 0; }
.barre-mobile small:first-child { display: block; margin-bottom: 2px; }

/* Hero mobile : la photo d'abord, le texte en dessous (9 oct. 2026) */
@media (max-width: 900px) {
  .hero { display: block; min-height: 0; }
  .hero-img { position: relative; display: block; height: min(64svh, 600px); object-position: 50% 64%; }
  .hero-voile { inset: 0 0 auto 0; height: min(64svh, 600px);
    background: linear-gradient(to bottom, rgba(26, 26, 24, 0.6) 0%, rgba(26, 26, 24, 0) 20%, rgba(26, 26, 24, 0) 72%, var(--noir) 100%); }
  .hero-contenu { padding-top: 0; margin-top: -2.2rem; padding-bottom: 52px; gap: 0; }
  .hero-marque { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero-signature { margin-bottom: 1rem; }
  .hero-ligne { margin-bottom: 1.6rem; }
  .hero-prix { order: 0; text-align: left; margin: 1.8rem 0 0; }
  .hero-prix strong { display: inline; font-size: 1.6rem; margin: 0 0.3rem; }
}

/* Entêtes des pages intérieures sur mobile : la photo d'abord (9 oct. 2026) */
@media (max-width: 900px) {
  .entete { display: block; min-height: 0; }
  .entete img { position: relative; display: block; height: min(46svh, 420px); }
  .entete::after { inset: 0 0 auto 0; height: min(46svh, 420px);
    background: linear-gradient(to bottom, rgba(26, 26, 24, 0.6) 0%, rgba(26, 26, 24, 0) 26%, rgba(26, 26, 24, 0) 70%, var(--noir) 100%); }
  .entete .conteneur { padding-top: 0.6rem; padding-bottom: 2.6rem; }
  .entete:not(:has(img)) .conteneur { padding-top: 120px; }
}
@media (max-width: 900px) {
  .hero-ligne { margin-top: 0.4rem; }
}

/* Le message de secours disparaît dès que le calendrier Sirvoy est chargé */
.module:has(> :not(.module-note):not(script)) .module-note { display: none; }
