/* Le Nid de Sam — styles communs aux pages du site
   (index.html : présentation de la maison ; reservation.html : demande de
   réservation). Les couleurs et les polices sont regroupées dans :root. */

:root {
  /* Piste « Ardoise & chêne » : couleurs tirées de la maison elle-même
     (murs blancs, façades anthracite de la cuisine, chêne, tuile du toit) */
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #1e2225;
  --ink-soft: #585e63;
  --wood: #a0743f;          /* chêne */
  --wood-dark: #7a5629;
  --terra: #a8452a;         /* tuile du toit : bouton principal */
  --terra-dark: #8e3920;
  --night: #24282b;         /* anthracite : bandes sombres */
  --night-ink: #f1f0ed;
  --night-soft: #b9bcbd;
  --nuit-accent: #d1a36a;   /* chêne clair, lisible sur l'anthracite */
  --line: #e1e2df;
  --champ: #cfd2d0;         /* bordure des champs et boutons ronds */
  --teinte: #f3efe8;        /* fond d'un choix coché, de l'estimation */
  --radius: 6px;
  --police-titre: 'Newsreader', Georgia, serif;
  --police-texte: 'Hanken Grotesk', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
/* Un élément masqué le reste, même si son style lui donne un affichage (flex, grid…) */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--police-texte);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--police-titre); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  color: #fff;
}
header.nav.scrolled {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 28px;
}
.brand { font-family: var(--police-titre); font-size: 1.3rem; text-decoration: none; line-height: 1.2; }
.brand small { display: block; font-family: var(--police-texte); font-size: .8rem; opacity: .85; }
nav.links { display: flex; gap: 28px; margin-left: auto; }
nav.links a {
  text-decoration: none; font-size: .98rem; font-weight: 500;
  padding: 4px 0; border-bottom: 1.5px solid transparent;
  transition: border-color .2s;
}
nav.links a:hover, nav.links a:focus-visible { border-bottom-color: currentColor; }
@media (max-width: 760px) { nav.links { display: none; } }
/* Bouton « Réserver » de l'en-tête : hors du menu, il reste visible sur téléphone */
.nav-reserver {
  margin-left: 28px; text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: 8px 18px; border: 1.5px solid currentColor; border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s;
}
.nav-reserver:hover { background: rgba(255, 255, 255, .14); }
header.nav.scrolled .nav-reserver { background: var(--terra); border-color: var(--terra); color: #fff; }
header.nav.scrolled .nav-reserver:hover { background: var(--terra-dark); border-color: var(--terra-dark); }
.nav-reserver:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
@media (max-width: 760px) { .nav-reserver { margin-left: auto; padding: 7px 14px; font-size: .92rem; } }
/* Variante téléphone de l'en-tête (pages intérieures) : icône seule */
.nav-tel { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; }
.nav-tel svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .nav-tel { padding: 0; } }

/* ---------- Hero : la photo s'ouvre au défilement ---------- */
/* --p va de 0 (petite vignette) à 1 (plein écran). Valeur par défaut 1 :
   sans JavaScript, le hero s'affiche directement ouvert et lisible. */
/* padding: 0 indispensable — sinon le hero hérite du padding commun aux <section> */
.scroll-hero { position: relative; height: 260svh; padding: 0; }
.sh-stage {
  --p: 1;
  --w0: min(74vw, 330px);
  --h0: min(58svh, 440px);
  --ix: calc((100vw - var(--w0)) / 2 * (1 - var(--p)));
  --iy: calc((100svh - var(--h0)) / 2 * (1 - var(--p)));
  position: sticky; top: 0; height: 100svh;
  overflow: hidden; isolation: isolate; color: #fff;
}
/* Voile sombre en haut : garantit la lisibilité du menu à toutes les étapes */
.sh-stage::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 190px; z-index: 2;
  background: linear-gradient(to bottom, rgba(14, 16, 17, .58), transparent);
  pointer-events: none;
}
/* Fond d'accueil : vidéo du paysage (remplace l'ancien flou).
   S'efface au fil du défilement, comme le faisait le flou (opacity 1 - p). */
.sh-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: #121415 url('img/paysage-poster.jpg') center / cover no-repeat;
  /* L'assombrissement est posé ici, sur le conteneur : il s'applique donc de
     façon identique à l'image de repli (poster = 1re image de la vidéo) ET à
     la vidéo. Si la vidéo ne se lance pas, le repli est exactement cette
     première image, au même rendu que la vidéo. */
  filter: brightness(.6) saturate(.95);
  opacity: calc(1 - var(--p));
}
.sh-bg video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity .8s ease;
}
.sh-bg video.pret { opacity: 1; }
.sh-media {
  position: absolute; inset: 0; z-index: 1;
  clip-path: inset(var(--iy) var(--ix) var(--iy) var(--ix) round calc(26px * (1 - var(--p))));
  will-change: clip-path;
}
.sh-media img {
  /* --shift décale l'image quand elle est réduite, pour que la vignette
     cadre sur la porte d'entrée (vers 81 % de la largeur de maison.jpg).
     Il revient à 0 en s'ouvrant. Valeur négative = image poussée vers la
     gauche. -34 % centre la porte ; la limite au-delà de laquelle le bord
     droit de l'image entrerait dans la vignette est d'environ -37 % (à
     901 px de large). Sur petits écrans, c'est object-position qui cadre. */
  --shift: -34%;
  width: 100%; height: 100%; object-fit: cover; object-position: 34% 62%;
  transform: translateX(calc(var(--shift) * (1 - var(--p)))) scale(calc(1.12 - .12 * var(--p)));
}
/* Écrans étroits : l'image déborde en largeur, on cadre sur la porte
   d'entrée, dans la partie droite de la photo */
@media (max-width: 900px) { .sh-media img { --shift: 0%; object-position: 95% 62%; } }
.sh-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 18, 19, .86) 0%, rgba(16, 18, 19, .55) 30%, rgba(16, 18, 19, .12) 58%, rgba(16, 18, 19, .28) 100%);
  opacity: var(--p);
}
/* Le texte occupe plus de hauteur sur mobile : voile plus soutenu */
@media (max-width: 760px) {
  .sh-media::after {
    background: linear-gradient(to top, rgba(16, 18, 19, .9) 0%, rgba(16, 18, 19, .72) 40%, rgba(16, 18, 19, .25) 70%, rgba(16, 18, 19, .3) 100%);
  }
}
/* Le nom de la maison, scindé en deux moitiés qui s'écartent */
.sh-titles {
  --split: clamp(150px, 46vw, 660px);
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  gap: calc(14px + var(--split) * var(--p));
  opacity: clamp(0, calc(1 - (var(--p) - .58) * 2.6), 1);
}
.sh-titles span {
  font-family: var(--police-titre); font-weight: 500;
  font-size: clamp(2.1rem, 6.6vw, 5rem); line-height: 1; white-space: nowrap;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .5);
}
.sh-hint {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px; text-align: center;
  font-size: .92rem; color: #ebeae6; opacity: clamp(0, calc(1 - var(--p) * 3.4), 1);
}
.sh-hint svg { width: 18px; height: 18px; margin: 8px auto 0; animation: shBob 2.2s ease-in-out infinite; }
@keyframes shBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.sh-copy {
  --in: clamp(0, calc((var(--p) - .70) * 4), 1);
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  padding-bottom: clamp(40px, 8svh, 80px);
  opacity: var(--in);
  transform: translateY(calc(26px * (1 - var(--in))));
}
.sh-copy h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); max-width: 16ch; text-wrap: balance; }
.sh-copy p.lede { margin-top: 16px; max-width: 50ch; font-size: 1.08rem; color: #f1f0ed; }
@media (max-width: 760px) { .sh-copy p.lede { display: none; } }
/* Les points clés en une ligne de texte, séparés par des points médians */
.sh-facts { margin-top: 18px; font-size: 1rem; color: #ebeae6; display: flex; flex-wrap: wrap; row-gap: 2px; }
.sh-facts span { white-space: nowrap; }
/* Séparateur après chaque élément (sauf le dernier) : au retour à la ligne,
   il reste en fin de ligne plutôt que d'ouvrir la suivante */
.sh-facts span:not(:last-child)::after { content: "·"; margin: 0 .55em; opacity: .7; }
.sh-copy .cta-row { margin-top: 28px; display: flex; gap: 12px 14px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--police-texte); font-size: 1rem; font-weight: 700;
  text-decoration: none; border: none;
  padding: 15px 28px; min-height: 48px; border-radius: var(--radius); cursor: pointer;
  transition: background .2s ease;
}
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-dark); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
/* Sur la photo sombre de l'accueil, le contour de focus passe en blanc */
.sh-copy .btn:focus-visible, .sh-copy .link-light:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
/* Action secondaire : un simple lien, pour ne garder qu'un bouton par écran */
.link-light {
  color: #fff; font-weight: 600; text-decoration: underline;
  text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.link-light:hover { text-decoration-thickness: 2px; }
/* Bouton téléphone (icône seule), à côté de « Réserver » sur la photo de l'accueil */
.btn-tel {
  padding: 0; width: 56px; height: 56px; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .75); background: rgba(0, 0, 0, .18);
}
.btn-tel:hover { background: rgba(255, 255, 255, .14); }
.btn-tel svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 420px) { .sh-copy .cta-row .btn-primary { flex: 1 1 auto; } }

/* ---------- Sections ---------- */
section { padding: 104px 0; }
h2.title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); text-wrap: balance; }
.lead { color: var(--ink-soft); max-width: 60ch; }
/* Apparition douce : ne masque le contenu que si JavaScript tourne */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  /* Pas d'expansion : le hero est ouvert d'emblée, sur une hauteur d'écran normale */
  .scroll-hero { height: 100svh; }
  .sh-hint svg { animation: none; }
}

/* ---------- Logement ---------- */
.logement { padding-top: 128px; }
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
@media (min-width: 861px) { .intro h2, .contact-grid h2 { max-width: 12ch; } }
.intro p { color: var(--ink-soft); margin-bottom: 16px; max-width: 60ch; }
.intro p:first-child { font-size: 1.2rem; color: var(--ink); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; gap: 24px; } }

/* La maison pièce par pièce : une fiche en lignes, sans cartes */
.fiche { margin-top: 80px; border-top: 1px solid var(--ink); }
.fiche h3 { font-size: 1.05rem; font-family: var(--police-texte); font-weight: 700; padding: 18px 0 6px; }
.fiche dl { display: grid; grid-template-columns: 5fr 7fr; column-gap: 64px; }
.fiche dt, .fiche dd { padding: 20px 0; border-bottom: 1px solid var(--line); }
.fiche dt { font-family: var(--police-titre); font-size: 1.3rem; }
.fiche dd { color: var(--ink-soft); }
@media (max-width: 860px) {
  .fiche dl { grid-template-columns: 1fr; }
  .fiche dt { border-bottom: none; padding-bottom: 2px; }
  .fiche dd { padding-top: 0; }
}

/* ---------- Photos ---------- */
.photos { padding-top: 40px; }
.photos-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.photos-head p { color: var(--ink-soft); font-size: .95rem; max-width: 44ch; }
.gallery { display: grid; gap: 36px; }
/* flex-grow proportionnel au ratio de chaque photo, base 0 : toutes les
   photos d'une rangée ont exactement la même hauteur, sans recadrage */
.g-row { display: flex; gap: 16px; align-items: flex-start; }
.g-row .shot { flex: var(--r) 1 0; min-width: 0; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tile {
  display: block; width: 100%; aspect-ratio: var(--r); overflow: hidden; border-radius: var(--radius);
  border: none; padding: 0; cursor: zoom-in; background: var(--line);
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
.shot figcaption { font-size: .92rem; color: var(--ink-soft); }
/* Téléphone : grille à 2 colonnes, les photos en largeur occupent toute
   la ligne, les photos en hauteur se rangent par deux */
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 22px 12px; }
  .g-row { display: contents; }
  .shot.paysage { grid-column: 1 / -1; }
  .shot:not(.paysage) .tile { aspect-ratio: 3 / 4; }
}

/* ---------- Lightbox ---------- */
dialog.lightbox {
  border: none; background: rgba(14, 16, 17, .93); padding: 0;
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
}
dialog.lightbox::backdrop { background: rgba(14, 16, 17, .8); }
.lightbox figure {
  width: 100%; height: 100%; display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: center; padding: 64px 72px 24px;
}
.lightbox img { max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; border-radius: 4px; }
.lightbox figcaption { color: #e6e6e3; font-size: .95rem; text-align: center; }
.lightbox .close, .lightbox .nav-lb {
  position: absolute; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.6rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
}
.lightbox .close { top: 18px; right: 18px; }
.lightbox .nav-lb { top: 50%; transform: translateY(-50%); font-size: 2rem; padding-bottom: 4px; }
.lightbox .prev { left: 14px; }
.lightbox .next { right: 14px; }
.lightbox .nav-lb[hidden] { display: none; }
.lightbox .close:hover, .lightbox .nav-lb:hover { background: rgba(255, 255, 255, .25); }
@media (max-width: 640px) {
  .lightbox figure { padding: 64px 12px 84px; }
  .lightbox .nav-lb { top: auto; bottom: 18px; transform: none; }
  .lightbox .prev { left: calc(50% - 60px); }
  .lightbox .next { right: calc(50% - 60px); }
}

/* ---------- Coffrets : bande sombre, pour rompre le rythme ---------- */
.coffrets { background: var(--night); color: var(--night-ink); padding: 112px 0; }
.coffrets-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.coffret-photo { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.coffret-photo .tile { aspect-ratio: 3 / 4; }
.coffret-photo figcaption { font-size: .92rem; color: var(--night-soft); }
.coffrets-head p { color: var(--night-soft); max-width: 52ch; margin-top: 18px; }
.offres { margin-top: 44px; border-top: 1px solid rgba(241, 240, 237, .2); }
.offre { padding: 30px 0 30px; }
.offre + .offre { border-top: 1px solid rgba(241, 240, 237, .2); }
.offre-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.offre h3 { font-size: 1.75rem; }
.offre .price { font-family: var(--police-titre); font-size: 1.4rem; color: var(--nuit-accent); white-space: nowrap; }
.offre p { color: var(--night-soft); margin-top: 10px; }
.offre ul { margin-top: 18px; padding-left: 1.1em; color: var(--night-ink); }
.offre li { padding: 3px 0; }
.offre li::marker { color: var(--nuit-accent); }
.coffrets .note { margin-top: 8px; color: var(--night-soft); font-size: .95rem; }
.coffrets .note a { color: var(--night-ink); text-underline-offset: 4px; }
@media (max-width: 860px) {
  .coffrets-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Sur téléphone, la photo vient après le texte, près de l'offre qu'elle illustre */
  .coffret-photo { order: 2; }
  .coffret-photo .tile { aspect-ratio: 4 / 5; }
}

/* ---------- Autour : photo et liste côte à côte ---------- */
.autour { padding: 120px 0 104px; }
.around-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: start; }
.around-grid h2 { margin-bottom: 16px; }
.moselle { margin: 0; }
.moselle img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 60%; border-radius: var(--radius); }
.moselle figcaption { margin-top: 10px; font-size: .92rem; color: var(--ink-soft); }
ul.spots { list-style: none; margin-top: 36px; border-top: 1px solid var(--line); }
.spot { padding: 18px 0; border-bottom: 1px solid var(--line); }
.spot b { display: block; font-size: 1.05rem; }
.spot span { color: var(--ink-soft); }
@media (max-width: 860px) {
  .around-grid { grid-template-columns: 1fr; gap: 40px; }
  .around-grid .moselle { order: 2; }
  .moselle img { aspect-ratio: 4 / 3; }
}

/* ---------- Infos pratiques ---------- */
.infos { background: var(--surface); padding: 88px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; margin-top: 40px; }
@media (max-width: 960px) and (min-width: 761px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info b { display: block; font-size: .95rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 4px; }
.info span { font-family: var(--police-titre); font-size: 1.35rem; }
.info small { display: block; font-size: .95rem; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; gap: 24px; } }
.regles { display: flex; flex-wrap: wrap; gap: 12px 36px; list-style: none; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.regle { display: inline-flex; align-items: center; gap: 10px; }
.regle svg { width: 20px; height: 20px; color: var(--wood-dark); flex: none; }

/* ---------- Disponibilités ---------- */
.dispos { padding: 104px 0 0; }
.dispos-head .lead { margin-top: 14px; }
.cal { position: relative; margin-top: 40px; }
/* Flèches alignées sur la ligne des noms de mois */
.cal-nav { position: absolute; top: -6px; right: 0; display: flex; gap: 8px; }
.cal-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--champ);
  background: var(--surface); color: var(--ink); font-size: 1.5rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; padding-bottom: 3px;
}
.cal-btn:hover:not(:disabled) { border-color: var(--wood-dark); }
.cal-btn:disabled { opacity: .35; cursor: default; }
.cal-btn:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }
.cal-mois { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.mois { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mois caption {
  text-align: left; font-family: var(--police-titre); font-size: 1.35rem;
  padding: 0 0 16px; text-transform: capitalize;
}
.mois th { font-size: .85rem; font-weight: 600; color: var(--ink-soft); padding-bottom: 8px; }
.mois abbr { text-decoration: none; }
.mois td { padding: 2px; text-align: center; }
.case {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 52px; border-radius: 4px; line-height: 1.15;
  font-size: .98rem; font-variant-numeric: tabular-nums;
}
/* Prix de la nuit, sous la date (nuits libres uniquement) */
.case .prix { font-size: .74rem; color: var(--ink-soft); margin-top: 3px; white-space: nowrap; }
.case.libre { background: var(--surface); border: 1px solid var(--line); }
.case.pris {
  color: #6f7579; text-decoration: line-through; text-decoration-color: var(--terra);
  background: repeating-linear-gradient(135deg, #eeeeeb 0 5px, #e3e4e1 5px 10px);
}
.case.passe { color: #aeb2b4; }
.case.aujourdhui { box-shadow: inset 0 0 0 2px var(--wood-dark); font-weight: 700; }
.legende {
  margin-top: 20px; font-size: .92rem; color: var(--ink-soft);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px;
}
.cle { display: inline-flex; align-items: center; gap: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cle .case { width: 34px; height: 30px; font-size: .85rem; }
/* Page de réservation : dates cliquables dans le calendrier */
button.case { width: 100%; font: inherit; color: inherit; cursor: pointer; padding: 0; }
button.case.libre:hover { border-color: var(--ink); }
button.case:focus-visible { outline: 3px solid var(--terra); outline-offset: 1px; position: relative; z-index: 1; }
.case.entre { background: var(--teinte); border-color: #dfd3bf; }
.case.debut, .case.fin { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }
.case.debut .prix, .case.fin .prix { color: #c9ccce; }
.cal-choix { margin-top: 14px; min-height: 1.6em; font-weight: 600; }
.dispos-action { margin-top: 28px; }
@media (max-width: 760px) {
  .cal-mois { grid-template-columns: 1fr; }
  .mois:nth-child(2) { display: none; }
  .mois td { padding: 1.5px; }
  .case { height: 48px; font-size: .92rem; }
  .case .prix { font-size: .68rem; margin-top: 2px; }
}

/* ---------- Contact : texte à gauche, formulaire à droite ---------- */
.contact { padding: 112px 0 120px; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact-grid h2 { margin-bottom: 16px; }
.contact-grid .lead { margin-bottom: 18px; }
.contact .alt { font-size: .95rem; color: var(--ink-soft); }
.contact-autres { color: var(--ink-soft); margin-bottom: 14px; max-width: 52ch; }
.contact-autres a, .recap a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > .label { font-size: .95rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--terra-dark); }
/* Champs de saisie uniquement : les boutons radio et cases à cocher gardent leur taille */
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  font-family: var(--police-texte); font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--champ); border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:not([type="radio"]):not([type="checkbox"]):focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--wood-dark); box-shadow: 0 0 0 3px rgba(160, 116, 63, .22);
}
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 10px; cursor: pointer; flex: 1 1 auto;
  border: 1px solid var(--champ); border-radius: var(--radius); padding: 11px 16px; min-height: 48px;
  background: var(--bg);
  transition: border-color .2s, background .2s;
}
.choice:has(input:checked) { border-color: var(--wood-dark); background: var(--teinte); }
.choice input { accent-color: var(--wood-dark); width: 17px; height: 17px; cursor: pointer; }
.choice b { font-weight: 600; }
.choice small { color: var(--ink-soft); font-size: .92rem; }
.form-card .btn-primary { width: 100%; margin-top: 28px; }
.form-hint { margin-top: 12px; font-size: .92rem; color: var(--ink-soft); }
/* Estimation du séjour, sous les dates */
.estimation {
  grid-column: 1 / -1; margin-top: -4px; padding: 12px 14px;
  background: var(--teinte); border-radius: var(--radius); font-size: .98rem;
}
.estimation b { font-weight: 700; }
.estimation .alerte { display: block; margin-top: 4px; color: var(--terra-dark); font-weight: 600; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px 18px; } }

footer {
  background: var(--night); color: var(--night-soft);
  padding: 44px 24px; text-align: center; font-size: .95rem;
}
footer .brand-foot { font-family: var(--police-titre); font-size: 1.2rem; color: var(--night-ink); margin-bottom: 4px; }

/* ---------- Page de réservation ---------- */
.page-resa main { padding: 128px 0 104px; }
.retour { display: inline-block; color: var(--ink-soft); text-underline-offset: 3px; margin-bottom: 20px; }
.resa-tete h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.resa-tete .lead { margin-top: 14px; }
.resa-grille { display: grid; grid-template-columns: 7fr 4fr; gap: 56px; align-items: start; margin-top: 48px; }
@media (max-width: 960px) { .resa-grille { grid-template-columns: 1fr; gap: 40px; } }
.etape { border: none; border-top: 1px solid var(--ink); padding: 26px 0 36px; }
/* Titre d'étape posé sous le trait (et non à cheval dessus, comme le ferait un fieldset) */
.etape legend { float: left; width: 100%; padding: 0; font-family: var(--police-titre); font-size: 1.55rem; }
.etape legend + * { clear: both; }
.etape > p.aide { color: var(--ink-soft); margin: 4px 0 18px; }
.etape .form-grid { margin-top: 20px; }
.resa .cal { margin-top: 44px; }
.conditions {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; border: 1px solid var(--champ); border-radius: var(--radius); background: var(--surface);
}
.conditions input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--wood-dark); flex: none; cursor: pointer; }
.conditions label { cursor: pointer; font-weight: 600; }
.conditions ul { margin: 6px 0 0 1.1em; color: var(--ink-soft); }
.resa-form > .btn-primary { width: 100%; margin-top: 24px; }
/* Récapitulatif : suit le défilement sur grand écran */
.recap {
  position: sticky; top: 96px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.recap h2 { font-size: 1.45rem; margin-bottom: 16px; }
.recap dl, .recap-mobile dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 0; }
.recap dt, .recap-mobile dt { color: var(--ink-soft); }
.recap dd, .recap-mobile dd { text-align: right; padding-left: 16px; font-variant-numeric: tabular-nums; }
.recap .total, .recap-mobile .total { border-top: 1px solid var(--ink); padding-top: 12px; margin-top: 4px; font-weight: 700; color: var(--ink); }
.recap .vide, .recap-mobile .vide { color: var(--ink-soft); }
.recap .note-recap { margin-top: 18px; font-size: .92rem; color: var(--ink-soft); }
/* Téléphone et tablette : le récapitulatif s'affiche juste avant le bouton
   d'envoi ; l'encadré de droite ne garde que ses informations pratiques */
.recap-mobile { display: none; }
@media (max-width: 960px) {
  .recap { position: static; }
  .recap h2, .recap #recap-contenu { display: none; }
  .recap .note-recap:first-of-type { margin-top: 0; }
  .recap-mobile {
    display: block; margin-top: 24px; padding: 20px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  }
  .recap-mobile h3 { font-size: 1.25rem; margin-bottom: 12px; }
}

/* Champ piège anti-robot : hors de l'écran, ignoré par les lecteurs d'écran */
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.resa-form .conditions + .conditions { margin-top: 12px; }
.info-retour { margin-top: 18px; }
#bouton-envoi[disabled] { opacity: .6; cursor: wait; }

/* ---------- Page de confirmation (merci.html) ---------- */
.merci { max-width: 720px; }
.merci h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.merci .lead { margin-top: 14px; }
.merci-recap { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; margin: 32px 0 0; padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.merci-recap dt { color: var(--ink-soft); }
.merci-recap dd { font-variant-numeric: tabular-nums; }
.merci-note { margin-top: 16px; font-size: .95rem; color: var(--ink-soft); }
.merci-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; color: var(--ink-soft); }
.merci-actions a:not(.btn) { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Conditions générales de vente (cgv.html) ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.legal .lead { margin-top: 14px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal h3 { font-family: var(--police-texte); font-size: 1rem; font-weight: 700; margin: 18px 0 6px; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { margin-left: 1.2em; }
.legal li + li { margin-top: 6px; }

/* Liens légaux du pied de page */
.foot-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 14px; font-size: .88rem; }
.foot-liens a { color: var(--night-soft); text-underline-offset: 3px; }
.foot-liens a:hover { color: var(--night-ink); }
