/* ==========================================================================
   Chalet Nature — feuille de style commune
   Design system « Chalet Nature » : vert forêt, beiges naturels, blanc cassé,
   Playfair Display (titres) + Inter (texte).
   ========================================================================== */

/* Polices auto-hébergées */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-600italic.woff2') format('woff2');
}

:root {
  /* Couleurs */
  --vert: #162316;
  --vert-hover: #306d5d;
  --vert-pale: #DAF0EA;
  --vert-pale2: #E8F5F1;
  --beige: #F4EFE6;
  --beige-fonce: #E8DFD0;
  --blanc: #FEFDF9;
  --footer-bg: #162316;
  --texte: #1C1C1C;
  --texte-doux: #4A4A4A;
  --texte-leger: #6B6B6B;
  --danger: #b83030;
  --danger-pale: #FEE2E2;

  /* Typographie */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  /* Tailles de texte */
  --fs-2xs: 0.72rem;
  --fs-xs: 0.8rem;
  --fs-sm: 0.88rem;
  --fs-md: 0.95rem;

  /* Formes */
  --radius-xs: 5px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 40px;

  /* Ombres */
  --shadow-sm: 0 1px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.11);
  --shadow-vert: 0 4px 20px rgba(48, 109, 93, 0.22);

  /* Mouvement : arrivée qui décélère (entrées), sortie qui accélère (fermetures, plus courtes) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  /* Spacing (base 8 px) */
  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 40px;
  --sp-xl: 56px;
  --sp-2xl: 80px;
  --sp-section: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--texte);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--vert); }
a:hover { color: var(--vert-hover); }
.section--vert a:hover, .deposit a:hover { color: var(--vert-pale); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--vert-hover);
  outline-offset: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; top: -100%; left: 12px; z-index: 1000;
  padding: 8px 16px; border-radius: var(--radius-sm);
  background: var(--vert); color: var(--blanc);
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page > main { flex: 1; }

/* ---------- Mise en page ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; }
.container--760 { max-width: 760px; }
.container--680 { max-width: 680px; }
.container--640 { max-width: 640px; }
.section { padding: var(--sp-section) var(--sp-md); }
.section--beige { background: var(--beige); }
/* Mobile : 96 px de marge verticale, c'est un écran entier de vide entre deux sections */
@media (max-width: 640px) {
  .section { padding: 64px 20px; }
  .lead { line-height: 1.7; }
}
.section--vert { background: var(--vert); color: var(--blanc); }
.stack { display: flex; flex-direction: column; }
.center { text-align: center; }

/* ---------- Typographie ---------- */
.h1, .h2, .h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; text-wrap: balance; }
.h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1.13; }
.h1--md { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.15; }
.h1--sm { font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.15; }
.h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); line-height: 1.2; }
.h2--sm { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; }
.h3 { font-size: clamp(1.6rem, 2.5vw, 2rem); line-height: 1.2; }
.accent { color: var(--vert); }
.soft { color: var(--texte-doux); }
.on-dark .accent, .on-dark em { color: var(--vert-pale); }
/* ESSAI 13/11 : fins de titres sans italique. Supprimer cette règle pour revenir à l'italique. */
:is(h1, h2, h3, .h1, .h2, .h3, .detail__eric-title) em { font-style: normal; }
.lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.82;
  font-weight: 300;
  color: var(--texte-doux);
}
.eyebrow {
  font-size: var(--fs-2xs); font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--vert);
}
.caption { margin: 0; font-size: var(--fs-xs); line-height: 1.6; color: var(--texte-leger); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  font-family: inherit; font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.07em;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn--sm { min-height: 44px; padding: 0 18px; font-size: var(--fs-xs); }
.btn--lg { min-height: 54px; padding: 0 36px; font-size: 0.92rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--vert); color: var(--blanc); }
.btn--primary:hover { background: var(--vert-hover); color: var(--blanc); box-shadow: var(--shadow-vert); }
.btn--light { background: var(--blanc); color: var(--vert); }
.btn--light:hover { color: var(--vert-hover); }
.btn--outline { background: transparent; color: var(--vert); border-color: var(--vert); }
.btn--outline:hover { background: var(--vert-pale2); }
.btn--outline-light { background: transparent; color: var(--blanc); border-color: var(--blanc); }
.btn--outline-light:hover { background: rgba(254, 253, 249, 0.1); color: var(--blanc); }
.btn--ghost { background: transparent; color: var(--vert); border-color: var(--beige-fonce); }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--beige-fonce); color: var(--texte-leger);
  cursor: not-allowed; box-shadow: none;
}
.btn--shadow { box-shadow: var(--shadow-vert); }

.icon-btn {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill); border: 1px solid var(--beige-fonce);
  background: var(--blanc); color: var(--vert); cursor: pointer;
}
.icon-btn:disabled { color: var(--beige-fonce); cursor: default; }
.icon-btn--sm { width: 44px; height: 44px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: var(--fs-md); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--vert);
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--blanc); border-bottom: 1px solid var(--beige-fonce);
}
.site-header__inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
}
.logo {
  font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600;
  color: var(--texte); text-decoration: none;
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 0.9rem; }
.nav__link { color: var(--texte-doux); text-decoration: none; }
.nav__link:hover { color: var(--vert); }
.nav__link[aria-current="page"] { color: var(--vert); font-weight: 600; }
.nav .btn { min-height: 44px; padding: 0 22px; font-size: 0.85rem; }

/* En-tête transparent de l'accueil (devient opaque au défilement) */
.site-header--overlay {
  background: transparent; border-bottom: none;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header--overlay .site-header__inner { min-height: 80px; padding: 12px 24px; }
.site-header--overlay .logo,
.site-header--overlay .nav__link { color: var(--blanc); transition: color 0.3s; }
.site-header--overlay .nav .btn { border-color: transparent; }
.site-header--overlay.is-scrolled { background: var(--blanc); box-shadow: var(--shadow-sm); }
.site-header--overlay.is-scrolled .logo { color: var(--vert); }
.site-header--overlay.is-scrolled .nav__link { color: var(--texte-doux); }
.site-header--overlay:not(.is-scrolled) .logo:hover,
.site-header--overlay:not(.is-scrolled) .nav__link:hover { color: var(--vert-pale); }

/* ---------- Photos (emplacements à remplacer) ---------- */
.photo {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 8px; background: var(--beige-fonce); color: var(--texte-doux);
  font-size: 0.85rem; border-radius: var(--radius-md); overflow: hidden;
  position: relative;
}
.photo--light, .photo--white { color: var(--texte-leger); font-size: 0.78rem; border-radius: var(--radius-sm); }
.photo--light { background: var(--beige); }
.photo--white { background: var(--blanc); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--interactive::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0); transition: background 0.2s ease;
  pointer-events: none;
}
.photo--interactive:hover { cursor: pointer; }
.photo--interactive:hover::after { background: rgba(0,0,0,0.18); }

/* ---------- Héros plein écran (accueil) ---------- */
.hero {
  position: relative; margin-top: -80px; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 140px var(--sp-md) var(--sp-section); background: var(--vert); color: var(--blanc);
}
.hero__content { max-width: 780px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero__text { margin: 0; max-width: 600px; font-size: 1.05rem; line-height: 1.82; font-weight: 300; color: var(--vert-pale2); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.hero__actions .btn { min-height: 52px; padding: 0 32px; }

/* ---------- Bloc « split » photo + texte ---------- */
.split {
  max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap;
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg);
}
.split__media { flex: 1 1 420px; min-height: 520px; border-radius: 0; padding: 0; }
.split__body {
  flex: 1 1 420px; background: var(--beige); padding: var(--sp-xl);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px;
}
/* Tablette / mobile (photo au-dessus du texte) : photo au format paysage, marges réduites */
@media (max-width: 900px) {
  .split__media { min-height: 0; aspect-ratio: 4 / 3; flex-basis: 100%; }
  .split__body { flex-basis: 100%; padding: var(--sp-lg); }
}
@media (max-width: 640px) {
  .split__media { aspect-ratio: 5 / 4; }
  .split__body { padding: 28px 20px 32px; gap: 16px; }
  .split__body .btn { align-self: stretch; }
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 7px 14px; border-radius: var(--radius-pill); background: var(--blanc); font-size: 0.84rem; color: var(--texte-doux); }
.pill--accent { background: var(--vert); color: var(--blanc); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.prix-depuis { margin: 0; font-size: var(--fs-sm); color: var(--texte-leger); }
.prix-depuis strong { color: var(--texte); font-weight: 600; }

/* ---------- Highlights activités (typo éditoriale) ---------- */
.highlights {
  display: flex; justify-content: center;
  max-width: 1100px; margin: var(--sp-xl) auto 0;
}
.highlight {
  flex: 1; padding: var(--sp-md) var(--sp-lg);
  text-align: center; border-right: 1px solid var(--beige-fonce);
}
.highlight:last-child { border-right: none; }
.highlight__name {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.9rem); line-height: 1.3;
}
/* Mobile : grille 2 × 2 nette (traits entre colonnes et entre rangées) */
@media (max-width: 600px) {
  .highlights { display: grid; grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .highlight { padding: 18px 8px; display: flex; align-items: center; justify-content: center; }
  .highlight:nth-child(2n) { border-right: none; }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--beige-fonce); }
  .highlight__name { font-size: 1.15rem; }
}

/* ---------- Bande photo plein écran ---------- */
.band {
  position: relative; min-height: 520px; padding: var(--sp-section) var(--sp-md);
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--vert); color: var(--blanc);
}

/* ---------- Formulaires ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label,
.equip-group h3 {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--texte-doux);
}
.field__label small { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: inherit; color: var(--texte-leger); }
.field__input {
  width: 100%; min-height: 46px; padding: 0 14px;
  border: 1px solid var(--beige-fonce); border-radius: var(--radius-sm);
  background: var(--blanc); font-family: inherit; font-size: var(--fs-md); color: var(--texte);
}
.field__input--lg { min-height: 48px; }
textarea.field__input { padding: 12px 14px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.span-all { grid-column: 1 / -1; }
.alert {
  margin: 0; padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--danger-pale); color: var(--danger); font-size: var(--fs-sm);
}
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; line-height: 1.6; color: var(--texte-doux); cursor: pointer; }
.pay-method input {
  width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--vert);
}
fieldset { margin: 0; padding: 0; border: none; display: flex; flex-direction: column; }
legend { padding: 0; margin-bottom: 16px; font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.4rem, 2.5vw, 1.6rem); }

/* Carte de formulaire */
.card {
  background: var(--blanc); border: 1px solid var(--beige-fonce);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 32px;
}
.success { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.success--center { align-items: center; text-align: center; }
.success__icon {
  width: 52px; height: 52px; border-radius: var(--radius-pill);
  background: var(--vert-pale); color: var(--vert);
  display: flex; align-items: center; justify-content: center;
}
/* Accusé de réception : se joue dès que le bloc succès devient visible (hidden retiré) */
.success__icon { animation: successPop 0.3s var(--ease-out) both; }
.success__icon path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: drawCheck 0.4s var(--ease-out) 0.15s forwards; }
.success > :not(.success__icon) { animation: riseIn 0.3s var(--ease-out) 0.1s both; }
@keyframes successPop { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Compteur − / + */
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper__btn {
  width: 40px; height: 40px; flex: none; border-radius: var(--radius-pill);
  border: none; background: none; color: var(--vert);
  font-family: inherit; font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.stepper__btn:disabled { color: var(--beige-fonce); cursor: default; }
.stepper__input {
  width: 52px; min-height: 40px; padding: 0 4px;
  border: 1px solid var(--beige-fonce); border-radius: var(--radius-sm); background: var(--blanc);
  font-family: inherit; font-size: var(--fs-md); font-weight: 600; text-align: center; color: var(--texte);
}

/* Listes d'options (lignes bordées) */
.option-list { border: 1px solid var(--beige-fonce); border-radius: var(--radius-md); overflow: hidden; }
.option-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  min-height: 64px; padding: 8px 12px 8px 20px; border-bottom: 1px solid var(--beige-fonce);
  touch-action: manipulation;
}
.option-row:last-child { border-bottom: none; }
.option-row__label { order: 1; flex: 1; min-width: 140px; display: flex; flex-direction: column; }
.option-row__price { order: 2; color: var(--texte-doux); font-size: 0.9rem; }
.option-row__sub { font-size: var(--fs-xs); color: var(--texte-leger); }
label.option-row { cursor: pointer; }
/* La commande (compteur ou case) toujours à droite, dans une colonne de même largeur */
.option-row > .stepper, .option-row > input[type="checkbox"] { order: 3; }
.option-row > .stepper { width: 144px; justify-content: space-between; }
.option-row > input[type="checkbox"] { margin: 0 58px; } /* centrée sous le chiffre des compteurs */

/* Case à cocher redessinée : options + conditions de réservation */
.option-row > input[type="checkbox"], .check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none; cursor: pointer;
  width: 28px; height: 28px; border-radius: 7px;
  border: 1.5px solid #958C7E; /* beige-gris : contraste 3:1 sur blanc (WCAG 1.4.11) */
  background: var(--blanc) center / 19px no-repeat;
  transition: background-color 0.15s, border-color 0.15s;
}
.option-row > input[type="checkbox"]:hover, .check input[type="checkbox"]:hover { border-color: var(--vert-hover); }
.option-row > input[type="checkbox"]:checked, .check input[type="checkbox"]:checked {
  background-color: var(--vert); border-color: var(--vert);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FEFDF9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.option-row > input[type="checkbox"]:focus-visible, .check input[type="checkbox"]:focus-visible { outline: 2px solid var(--vert-hover); outline-offset: 2px; }
.check input[type="checkbox"] { margin: 0; }
/* La coche grandit depuis le centre quand on coche */
.option-row > input[type="checkbox"]:checked, .check input[type="checkbox"]:checked { animation: checkIn 0.18s var(--ease-out); }
@keyframes checkIn { from { background-size: 6px; } to { background-size: 19px; } }
@media (prefers-reduced-motion: reduce) {
  .option-row > input[type="checkbox"]:checked, .check input[type="checkbox"]:checked { animation: none; }
}

/* Mobile : le prix passe sous le libellé, la commande reste à droite */
@media (max-width: 560px) {
  .option-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 8px 10px 16px; }
  .option-row__label, .option-row__price { grid-column: 1; min-width: 0; }
  .option-row__price { font-size: var(--fs-xs); }
  .option-row > .stepper, .option-row > input[type="checkbox"] { grid-column: 2; grid-row: 1 / span 2; }
  .option-row > input[type="checkbox"] { margin: 0 6px 0 0; justify-self: end; } /* alignée sur le « + » */
}

/* ---------- Newsletter + pied de page ---------- */
.newsletter { background: var(--beige-fonce); padding: var(--sp-section) var(--sp-md); text-align: center; }
.newsletter__inner { max-width: 540px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.newsletter__form { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 10px; }
.newsletter__row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.newsletter__field { flex: 1 1 240px; display: flex; }
.newsletter__input {
  flex: 1; min-width: 0; min-height: 50px; padding: 0 20px;
  border: 1px solid var(--beige-fonce); border-radius: var(--radius-pill);
  background: var(--blanc); font-family: inherit; font-size: 0.92rem; color: var(--texte);
}
.newsletter .btn { min-height: 50px; padding: 0 28px; font-size: 0.85rem; }
.newsletter__error { margin: 0; font-size: 0.85rem; color: var(--danger); }
.status-ok { margin: 0; padding: 14px 20px; border-radius: var(--radius-sm); background: var(--vert-pale); color: var(--vert); font-size: var(--fs-md); }

.footer { background: var(--footer-bg); color: var(--vert-pale); padding: var(--sp-2xl) var(--sp-md) 32px; }
.footer__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--sp-xl); }
.footer__cta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
  padding-bottom: var(--sp-xl); border-bottom: 1px solid var(--vert-hover);
}
.footer__cta .h2 { color: var(--blanc); }
.footer__cta p { margin: 0; font-size: 1rem; color: var(--vert-pale); }
.footer__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-lg) var(--sp-xl); }
.footer__brand { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--blanc); }
.footer__text { margin: 0; font-size: var(--fs-sm); line-height: 1.75; }
.footer__title { font-size: 0.73rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blanc); }
.footer__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-sm); }
.footer a { color: var(--vert-pale); text-decoration: none; }
.footer a:hover { color: var(--blanc); }
.footer .btn--light { color: var(--vert); }
.footer .btn--light:hover { color: var(--vert-hover); }
.footer .btn--outline-light { color: var(--blanc); }
.footer__list .is-underlined { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-top: 24px; border-top: 1px solid var(--vert-hover); font-size: 0.78rem;
}
.footer__bottom a { text-decoration: underline; }
.footer__bottom a:hover { color: var(--blanc); }

/* ==========================================================================
   Page « Chalet du Poli »
   ========================================================================== */
@media (min-width: 701px) {
  .chalet-hero { min-height: calc(100dvh - 72px); display: flex; flex-direction: column; }
  .chalet-hero > .container { flex: 1; min-height: 0; padding-bottom: 96px; }
  .chalet-hero .gallery { flex: 1; min-height: 0; grid-template-rows: 1fr 1fr; }
}
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: clamp(140px, 28vw, 220px) clamp(140px, 28vw, 220px); gap: 8px; }
.gallery__main { grid-column: span 2; grid-row: span 2; }
.gallery__more { position: relative; }
.gallery__more .btn { position: absolute; right: 12px; bottom: 12px; z-index: 1; min-height: 44px; padding: 0 16px; font-size: var(--fs-xs); letter-spacing: 0; background: var(--blanc); border-color: var(--beige-fonce); color: var(--vert); transition: background 0.18s, border-color 0.18s, color 0.18s; }
.gallery__more .btn:hover { background: var(--vert); border-color: var(--vert); color: var(--blanc); }
.gallery .photo, .tab-panel .photo { background: none; padding: 0; }
.tab-photos .photo[role="button"] { cursor: pointer; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: clamp(140px, 40vw, 220px) clamp(90px, 28vw, 140px) clamp(90px, 28vw, 140px); }
  .chalet-hero { min-height: calc(100dvh - 52px); display: flex; flex-direction: column; }
  .chalet-hero > .container { flex: 1; min-height: 0; padding-bottom: 96px; }
  .chalet-hero .gallery { flex: 1; min-height: 0; grid-template-rows: 1fr 1fr 1fr; }
  .chalet-hero .h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .chalet-main { padding-top: 0 !important; }
}

.quote-section { padding: 0 24px 96px; }

.hero-quote {
  margin: 0; border: none; padding: 0;
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem); line-height: 1.45; color: var(--texte);
  position: relative; padding-left: 28px; text-wrap: balance;
}
.hero-quote::before {
  content: '\201C';
  position: absolute; left: 0; top: -0.1em;
  font-size: 3.5rem; line-height: 1; color: var(--vert-hover); font-style: normal;
}
.hero-quote p { margin: 0; }
.hero-quote cite {
  display: block; margin-top: 10px;
  font-size: 0.82rem; font-style: normal; font-family: var(--font-sans);
  font-weight: 500; letter-spacing: 0.05em; color: var(--texte-leger);
}

.cta-band { background: var(--vert); padding: var(--sp-section) var(--sp-md); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.chalet-body { display: flex; flex-direction: column; gap: 64px; }
.block { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 96px; }

/* Onglets des espaces */
.tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-height: 88px; padding: 18px 20px; border-radius: var(--radius-md);
  border: 1px solid var(--beige-fonce); background: var(--blanc); color: var(--texte);
  font-family: inherit; text-align: center; cursor: pointer; touch-action: manipulation;
  transition: background 0.18s, border-color 0.18s;
}
.tab__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.tab__sub { font-size: 0.78rem; color: var(--texte-leger); }
.tab:not([aria-selected="true"]):hover { background: var(--vert-pale2); border-color: var(--vert-pale); }
.tab[aria-selected="true"] { background: var(--vert); border-color: var(--vert); color: var(--blanc); }
.tab[aria-selected="true"] .tab__sub { color: var(--vert-pale); }
.tab__badge { padding: 2px 10px; border-radius: var(--radius-pill); background: var(--vert-pale); color: var(--vert); font-size: 0.72rem; font-weight: 600; line-height: 1.5; }
.tab-panel { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius-md); background: var(--beige); }
@media (max-width: 640px) {
  .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; min-width: 120px; }
}
.tab-panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.tab-panel__head h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.6rem; line-height: 1.25; }
.tab-panel__head p { margin: 0; font-size: 0.9rem; line-height: 1.7; color: var(--texte-doux); }
/* Cases au format des photos (paysage 4:3) : on voit la pièce entière, pas une tranche.
   Desktop : grande photo à gauche, deux petites empilées à droite.
   Tablette et mobile : grande photo pleine largeur, deux petites côte à côte dessous. */
.tab-photos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; }
.tab-photos .photo { aspect-ratio: 4 / 3; }
/* La grande photo prend la hauteur des deux petites empilées (presque 4:3 elle aussi) */
.tab-photos .photo:first-child { grid-row: span 2; aspect-ratio: auto; border-radius: var(--radius-sm); }
@media (max-width: 900px) {
  .tab-photos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tab-photos .photo:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .tab-panel { padding: 16px; }
}

/* Tablette + desktop : pièces en slider vertical (4 visibles) à gauche, photos à droite */
.espaces { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 641px) {
  .espaces { display: grid; grid-template-columns: clamp(180px, 24%, 240px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
  .espaces .tabs {
    display: flex; flex-direction: column; gap: 12px;
    contain: size; /* la colonne prend la hauteur du visualiseur, pas celle des 8 boutons */
    overflow-y: auto; overscroll-behavior: contain;
    scroll-snap-type: y mandatory; scrollbar-width: thin; scrollbar-color: var(--beige-fonce) transparent;
    padding-right: 4px;
  }
  .espaces .tab { flex: 0 0 calc((100% - 36px) / 4); min-height: 0; justify-content: center; scroll-snap-align: start; }
}

/* Repère vert qui glisse d'une pièce à l'autre (ajouté par chalet.js, sinon fond vert classique) */
.tabs { position: relative; }
.tabs__indicator {
  position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none;
  border-radius: var(--radius-md); background: var(--vert);
  transition: transform 0.4s ease-in-out, width 0.4s ease-in-out, height 0.4s ease-in-out;
}
.tabs__indicator.is-instant { transition: none; }
.tabs--indicator .tab { position: relative; z-index: 1; background: transparent; transition: background 0.18s, border-color 0.18s, color 0.2s; }
.tabs--indicator .tab[aria-selected="true"] { background: transparent; border-color: transparent; }
.tabs--indicator .tab .tab__sub { transition: color 0.2s; }
/* Photos : toujours en position absolue, la nouvelle se pose par-dessus l'ancienne pendant le fondu
   (aucun changement de mise en page à la fin du fondu) */
.tab-photos .photo img { position: absolute; inset: 0; }

/* Équipements */
.equip-box { display: flex; flex-direction: column; gap: 32px; padding: 32px; border-radius: var(--radius-md); background: var(--beige); }
.equip-group { display: flex; flex-direction: column; gap: 14px; }
.equip-group h3 { margin: 0; }
.equip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.equip {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px;
  border-radius: var(--radius-md); background: var(--blanc); border: 1px solid var(--beige-fonce);
  font-size: 0.9rem; font-weight: 600; line-height: 1.4; text-align: center;
}
.equip__icon {
  color: var(--vert);
  display: flex; align-items: center; justify-content: center;
}
.equip__icon svg { width: 28px; height: 28px; }
@media (max-width: 600px) {
  .equip-box { padding: 20px 16px; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Ce qui est compris / en option (page chalet) */
.inclus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.inclus__col { border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.inclus__col h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem; line-height: 1.25; }
.inclus__col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.inclus small { display: block; margin-top: 2px; font-size: 0.78rem; font-weight: 400; line-height: 1.5; }
.inclus__price { font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; line-height: 1.3; color: var(--vert); font-variant-numeric: lining-nums; white-space: nowrap; text-align: right; }
.inclus__unit { font-family: var(--font-sans); font-weight: 400; font-size: 0.8rem; color: var(--texte-leger); }
/* Colonne verte : liste à coches + frais de séjour en pied */
.inclus__col--in { background: var(--vert); color: var(--blanc); }
.inclus__checks { gap: 14px; font-size: var(--fs-md); }
.inclus__checks li { position: relative; padding-left: 30px; line-height: 1.5; }
.inclus__checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--vert-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23162316' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.inclus__checks small { color: var(--vert-pale); }
.inclus__fee {
  margin: auto 0 0; padding-top: 18px; border-top: 1px solid rgba(254, 253, 249, 0.18);
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-size: var(--fs-sm); color: var(--vert-pale);
}
.inclus__fee .inclus__price { color: var(--blanc); font-size: 1.35rem; }
/* Colonne beige : options avec icône, libellé et prix aligné à droite */
.inclus__col--opt { background: var(--beige); }
.inclus__options li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--beige-fonce);
}
.inclus__options li:first-child { padding-top: 0; }
.inclus__options li:last-child { padding-bottom: 0; border-bottom: none; }
.inclus__icon { width: 26px; height: 26px; color: var(--vert); }
.inclus__name { font-size: var(--fs-md); font-weight: 500; line-height: 1.4; }
.inclus__options small { color: var(--texte-leger); }
@media (max-width: 860px) { .inclus { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .inclus__col { padding: 24px 20px; }
  /* Le prix passe sous le libellé : le descriptif garde toute la largeur */
  .inclus__options li { grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; }
  .inclus__options .inclus__icon { grid-row: span 2; }
  .inclus__options .inclus__price { text-align: left; font-size: 1.1rem; }
}

/* Carte */
.address { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 1rem; line-height: 1.6; }
.map { width: 100%; min-height: 420px; border-radius: var(--radius-md); background: var(--beige-fonce); display: flex; align-items: center; justify-content: center; color: var(--texte-doux); font-size: 0.85rem; text-align: center; padding: 16px; }
/* Carte Leaflet : contenue dans son propre empilement (ses calques ne passent pas au-dessus de l'en-tête ni des modales) */
.map--live { display: block; padding: 0; height: 420px; position: relative; z-index: 0; isolation: isolate; overflow: hidden; font-family: var(--font-sans); }
@media (max-width: 640px) { .map--live { height: 320px; min-height: 0; } }
/* Fond OSM adouci vers les tons du site (moins saturé, légèrement chaud) */
.map--live .leaflet-tile-pane { filter: saturate(0.55) sepia(0.12) brightness(1.02); }
.map--live .leaflet-control-zoom { border: none; box-shadow: var(--shadow-md); border-radius: var(--radius-sm); overflow: hidden; }
.map--live .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; color: var(--vert); background: var(--blanc); }
.map--live .leaflet-control-zoom a:hover { background: var(--vert-pale2); }
.map--live .leaflet-control-attribution { font-size: 0.7rem; background: rgba(254, 253, 249, 0.85); }
/* Message « Ctrl + molette pour zoomer » : voile sombre au centre, se fond en 0,2 s */
.carte-astuce {
  position: absolute; inset: 0; z-index: 1000; pointer-events: none;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(22, 35, 22, 0.62); color: var(--blanc);
  font-size: 1.05rem; font-weight: 600; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  opacity: 0; transition: opacity 0.2s ease;
}
.carte-astuce.is-visible { opacity: 1; }
.carte-pin { background: none; border: none; filter: drop-shadow(0 3px 4px rgba(22, 35, 22, 0.35)); }
.map--live .leaflet-popup-content-wrapper { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.map--live .leaflet-popup-content { margin: 14px 18px; display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-sm); line-height: 1.5; }
.carte-popup__nom { font-family: var(--font-serif); font-size: 1.1rem; color: var(--vert); }
.carte-popup__adr { color: var(--texte-doux); }
.map--live .carte-popup__lien { margin-top: 4px; font-weight: 600; color: var(--vert-hover); }
.map--live .carte-popup__lien:hover { color: var(--vert); }
.map--live .leaflet-control-attribution a { color: var(--vert-hover); }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--beige-fonce); }
.faq__item { border-bottom: 1px solid var(--beige-fonce); }
.faq__q {
  width: 100%; min-height: 64px; padding: 16px 0; border: none; background: transparent;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: inherit; font-size: 1.02rem; font-weight: 600; color: var(--texte); text-align: left; cursor: pointer;
  touch-action: manipulation; transition: color 0.15s;
}
.faq__q:hover { color: var(--texte-doux); }
.faq__icon {
  flex: none; width: 32px; height: 32px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  background: var(--beige); color: var(--texte-doux); transition: transform 0.25s ease, background 0.15s, color 0.15s;
}
.faq__q[aria-expanded="true"] .faq__icon { background: var(--vert-pale); color: var(--vert); transform: rotate(180deg); }
.faq__body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq__item:has(.faq__q[aria-expanded="true"]) .faq__body { grid-template-rows: 1fr; }
.faq__a {
  overflow: hidden; min-height: 0;
  margin: 0; padding: 0 48px 0 0; font-size: var(--fs-md); line-height: 1.8; color: var(--texte-doux);
  transition: padding-bottom 0.35s ease;
}
.faq__item:has(.faq__q[aria-expanded="true"]) .faq__a { padding-bottom: 20px; }

/* Autour du chalet */

/* Devis */
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-md); color: var(--texte-doux); }
.checklist li { display: flex; gap: 10px; align-items: center; }

/* Bouton collé en bas d'écran */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: center; padding: 16px 16px calc(24px + env(safe-area-inset-bottom, 0px)); pointer-events: none; transition: opacity 0.25s, visibility 0.25s; }
.sticky-cta.is-hidden { opacity: 0; visibility: hidden; }
.sticky-cta .btn { pointer-events: auto; min-height: 56px; padding: 0 32px; font-size: 0.92rem; box-shadow: var(--shadow-vert), var(--shadow-lg); }
.sticky-cta__card { display: flex; align-items: center; gap: 20px; background: rgba(254,253,249,0.94); backdrop-filter: blur(12px); border-radius: var(--radius-pill); padding: 8px 8px 8px 24px; pointer-events: auto; }
.sticky-cta__card .btn { box-shadow: var(--shadow-vert); }
.sticky-cta__prix { font-size: var(--fs-sm); color: var(--texte-leger); white-space: nowrap; line-height: 1.3; }
.sticky-cta__prix strong { display: block; font-size: 1rem; font-weight: 600; color: var(--texte); }
@media (max-width: 700px) {
  .sticky-cta .btn { min-height: 44px; padding: 0 20px; font-size: var(--fs-sm); }
  .sticky-cta__card { gap: 12px; padding: 6px 6px 6px 16px; }
  .sticky-cta__prix strong { font-size: var(--fs-sm); }
}

/* ==========================================================================
   Page « Activités »
   ========================================================================== */
.activities { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
@media (max-width: 400px) { .activities { grid-template-columns: 1fr; } }
.activity { display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; min-height: 340px; position: relative; }
.activity__photo { flex: 1; display: flex; flex-direction: column; background-color: var(--beige-fonce); background-size: cover; background-position: center; }
.activity__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; padding: 24px 24px 16px; background: rgba(10,18,10,0.55); }
.activity__tag {
  padding: 4px 12px; border-radius: var(--radius-xs); border: 1px solid rgba(255,255,255,0.45); color: var(--blanc);
  font-size: var(--fs-2xs); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
}
.activity__title { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.45rem; line-height: 1.25; color: var(--blanc); }
.activity__title em { font-style: normal; color: inherit; }
.activity__desc { margin: 0; flex: 1; font-size: 0.92rem; line-height: 1.75; color: var(--blanc); }
.activity__link {
  display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  background-color: var(--blanc); color: var(--texte);
  background-image: linear-gradient(to bottom, var(--vert) 0%, var(--vert) 80%, rgba(22,35,22,0) 100%);
  background-size: 100% 0%;
  background-repeat: no-repeat;
  background-position: top center;
  text-decoration: none;
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.07em;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: background-size 0.3s ease, background-color 0.3s ease;
}
.activity__link::after { content: ''; position: absolute; inset: 0; }
.activity:hover .activity__link,
.activity__link:hover {
  background-size: 100% 100%;
  background-color: rgba(22,35,22,0);
  color: var(--blanc);
}

/* ==========================================================================
   Page « Détail d'une activité » (activite.html)
   ========================================================================== */
.back-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 0.9rem; font-weight: 600; color: var(--vert); text-decoration: none; }
.back-link:hover { color: var(--vert-hover); }
.detail-hero { padding: var(--sp-lg) var(--sp-md) 0; }
.detail-hero__photo { height: 460px; border-radius: var(--radius-md); font-size: 0.85rem; }
.detail { padding: var(--sp-xl) var(--sp-md) var(--sp-section); }
.detail__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--sp-xl); }
.detail__main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.detail__content { display: flex; flex-direction: column; gap: 24px; }
.detail__content p, .detail__content ul, .detail__content ol { margin: 0; font-size: 0.98rem; line-height: 1.85; color: var(--texte-doux); }
.detail__content a { color: var(--vert); text-decoration: underline; }
.detail-hero__photo--empty { background: var(--beige-fonce); display: flex; align-items: center; justify-content: center; color: var(--texte-leger); }
.detail__h2 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.6rem; line-height: 1.25; }
.detail__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.detail__list li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-md); line-height: 1.7; color: var(--texte-doux); }
.detail__list svg { flex: none; margin-top: 3px; color: var(--vert); }
.detail__eric { margin-top: 8px; padding: 28px 32px; border-radius: var(--radius-md); background: var(--beige); display: flex; flex-direction: column; gap: 10px; }
.detail__eric-title { font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; }
.detail__eric p { margin: 0; font-size: var(--fs-md); line-height: 1.8; color: var(--texte-doux); }
@media (max-width: 760px) {
  .detail-hero__photo { height: 280px; }
}
.detail__aside { flex: 0 1 300px; min-width: 260px; }
.infos-card { padding: 24px 28px; border-radius: var(--radius-md); background: var(--beige); display: flex; flex-direction: column; gap: 0; position: sticky; top: calc(72px + 24px); }
.infos-card__title { font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; margin: 0 0 16px; color: var(--texte); }
.infos-row { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--beige-fonce); }
.infos-row:last-child { border-bottom: none; padding-bottom: 0; }
.infos-row__label { font-size: var(--fs-2xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--vert); }
.infos-row__value { font-size: 0.92rem; line-height: 1.55; color: var(--texte-doux); }
.infos-row__value a { color: var(--vert); text-decoration: underline; }
@media (max-width: 760px) {
  .detail__aside { width: 100%; }
  .infos-card { position: static; }
}

/* ==========================================================================
   Page « Réservation »
   ========================================================================== */
.booking { flex: 1; display: flex; flex-direction: column; padding: var(--sp-lg) var(--sp-md) var(--sp-section); min-height: 100dvh; }
.booking__inner { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.booking__screen { display: flex; flex-direction: column; gap: 32px; }
.booking__screen--centered { max-width: 760px; width: 100%; margin: auto; padding: 24px 0; }

/* Étapes */
.steps-bar { display: flex; align-items: center; gap: 16px; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.85rem; }
.step { display: flex; align-items: center; gap: 10px; color: var(--texte-leger); }
.step__dot {
  width: 28px; height: 28px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: var(--fs-xs); background: var(--beige); color: var(--texte-leger);
}
.step.is-done .step__dot { background: var(--vert-pale); color: var(--vert); }
.step.is-current { color: var(--texte); font-weight: 600; }
.step.is-current .step__dot { background: var(--vert); color: var(--blanc); }

/* Écran 1 : dates */
.dates-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 260px)); justify-content: center; gap: 16px 24px; }
.dates-fields .field__label { text-align: center; }

/* Écran 2 : titre + action */
.title-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.title-row .h1 { flex: 1 1 420px; min-width: 0; }
.title-row .h1 em { display: block; margin-top: 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; color: var(--texte-doux); }
.signature { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--vert); }

/* Calendrier */
.two-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.two-cols--top { gap: 32px; align-items: flex-start; }
.col-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.calendar { flex: 999 1 560px; min-width: 0; border: 1px solid var(--beige-fonce); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.calendar__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: var(--fs-md); }
.calendar__months { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }
.month { display: flex; flex-direction: column; gap: 10px; }
.month h2 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; text-transform: capitalize; }
.month__days, .month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.month__days { font-size: var(--fs-2xs); font-weight: 600; color: var(--texte-leger); text-align: center; }
.day {
  width: 100%; aspect-ratio: 1; min-height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 0.85rem;
  border: 1px solid var(--beige-fonce); background: var(--blanc); color: var(--texte); cursor: pointer;
}
.day.is-past { border: none; background: transparent; color: var(--texte-leger); opacity: 0.5; cursor: default; }
.day.is-booked { border: none; background: var(--danger-pale); color: var(--danger); text-decoration: line-through; cursor: not-allowed; }
.day.is-arrival {
  border-color: var(--vert); background: var(--vert); color: var(--blanc); font-weight: 700;
  outline: 2px solid var(--vert-hover); outline-offset: 2px;
}
.day.is-hover { border-color: var(--vert-pale); background: var(--vert); color: var(--blanc); font-weight: 600; }
.day.is-selected { border-color: transparent; background: var(--vert-pale); color: var(--vert); font-weight: 600; }
.day.is-preview { border-color: transparent; background: var(--vert-pale2); color: var(--texte-doux); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-xs); color: var(--texte-doux); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: var(--radius-xs); display: inline-block; }
.legend .free { border: 1px solid var(--beige-fonce); background: var(--blanc); }
.legend .booked { background: var(--danger-pale); }
.legend .sel { background: var(--vert); }

/* Choix des dates (js/sejour.js) : champs + calendrier qui s'ouvre sous les champs */
.sejour { display: flex; flex-direction: column; gap: 12px; }
.sejour__champ {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  text-align: left; cursor: pointer; transition: border-color 0.18s, box-shadow 0.18s;
}
.dates-fields .sejour__champ { justify-content: center; }
.sejour__champ svg { flex: none; color: var(--vert); }
.sejour__champ:hover { border-color: var(--vert-hover); }
.sejour__champ[aria-expanded="true"] { border-color: var(--vert); box-shadow: 0 0 0 3px var(--vert-pale); }
.sejour__champ.is-vide { color: var(--texte-leger); }
.sejour__panneau {
  display: flex; flex-direction: column; gap: 14px; padding: 16px;
  border: 1px solid var(--beige-fonce); border-radius: var(--radius-md);
  background: var(--blanc); box-shadow: var(--shadow-md); text-align: left;
}
.sejour__panneau[hidden] { display: none; }
.sejour__panneau .calendar__nav { font-size: var(--fs-sm); text-transform: capitalize; }
.sejour__mois { display: grid; grid-template-columns: repeat(var(--nb-mois, 1), minmax(0, 1fr)); gap: 24px; }
.month__titre { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; text-transform: capitalize; }
/* Un mois : son nom dans la navigation. Deux mois : un titre par grille, navigation lue seulement par les lecteurs d'écran. */
.sejour__panneau:not(.is-deux-mois) .month__titre { display: none; }
.sejour__panneau .sejour__titre { font-family: var(--font-serif); font-size: 1.1rem; }
.sejour__panneau.is-deux-mois .sejour__titre {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.sejour__panneau .day { min-height: 38px; font-size: 0.82rem; }
.sejour__panneau .day:not(:disabled):not(.is-arrival):not(.is-hover):hover { border-color: var(--vert); }
.day:focus-visible { outline: 2px solid var(--vert-hover); outline-offset: 2px; }
.day.is-off { border-color: transparent; background: transparent; color: var(--texte-leger); opacity: 0.4; cursor: default; }
.sejour__pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.sejour__aide { margin: 0; font-size: var(--fs-sm); color: var(--texte-doux); }
.side-form {
  flex: 1 1 300px; min-width: 0; border-radius: var(--radius-md); background: var(--beige); padding: 24px;
  display: flex; flex-direction: column; gap: 16px; justify-content: space-between;
}
.side-form h2,
.recap h2 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem; line-height: 1.25; }

/* Récapitulatif */
.recap {
  position: sticky; top: 96px; align-self: flex-start; flex: 1 1 300px; min-width: 0;
  border-radius: var(--radius-md); padding: 36px 32px; display: flex; flex-direction: column; gap: 24px; background: var(--blanc);
}
.recap--beige { background: var(--beige); }
.recap dl { margin: 0; display: flex; flex-direction: column; font-size: 0.92rem; }
.recap__row { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--beige-fonce); }
.recap__row dt { color: var(--texte-doux); }
.recap__row dd { margin: 0; font-weight: 600; text-align: right; }
.recap__row--total { align-items: baseline; border-bottom: none; padding-bottom: 0; }
.recap__row--total dt { color: var(--texte); font-weight: 600; }
.recap__row--total dd { font-family: var(--font-serif); font-size: 1.6rem; color: var(--vert); border-radius: 6px; }
.recap__row--plain { border-bottom: none; }
.recap__help { margin: 0 0 20px; font-size: var(--fs-xs); color: var(--texte-leger); }
.recap__help a { color: var(--texte-leger); }
.recap__help a:hover { color: var(--vert); }
.deposit { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--vert); color: var(--blanc); }
.deposit__label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--vert-pale); }
.deposit__amount { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 600; line-height: 1.1; }
.deposit__note { font-size: var(--fs-xs); line-height: 1.6; color: var(--vert-pale); }

/* Paiement */
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pay-method {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 18px;
  border-radius: var(--radius-md); border: 1px solid var(--beige-fonce); background: var(--blanc); color: var(--texte); cursor: pointer;
}
.pay-method:has(input:checked) { border-color: var(--vert); background: var(--vert-pale); color: var(--vert); }
.pay-method__text { display: flex; flex-direction: column; }
.pay-method__text strong { font-weight: 600; }
.pay-method__text small { font-size: var(--fs-xs); color: var(--texte-leger); }
.info-box { margin: 0; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--beige); font-size: var(--fs-sm); line-height: 1.7; color: var(--texte-doux); }
.secure { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--texte-leger); }
.actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

@media (max-width: 860px) {
  .recap { order: -1; position: static; }
}

/* ---------- Navigation mobile ---------- */
.nav-toggle {
  display: none;
  background: transparent; border: none; padding: 8px; margin: -8px;
  cursor: pointer; color: var(--vert); line-height: 0;
}
.site-header--overlay .nav-toggle { color: var(--blanc); transition: color 0.3s; }
.site-header--overlay.is-scrolled .nav-toggle { color: var(--vert); }

@media (max-width: 640px) {
  .nav { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
}

/* ---------- Modale ---------- */
/* Fermée = invisible (et hors de portée du clavier) une fois la sortie terminée */
.modal {
  display: flex; visibility: hidden; pointer-events: none;
  position: fixed; inset: 0; z-index: 300;
  align-items: flex-end; justify-content: center;
  transition: visibility 0s linear 0.18s;
}
.modal.is-open { visibility: visible; pointer-events: auto; transition: none; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(22,35,22,0.55);
  opacity: 0; transition: opacity 0.18s var(--ease-in);
}
.modal.is-open .modal__backdrop { opacity: 1; transition: opacity 0.2s ease-out; }
.modal__panel {
  position: relative; z-index: 1;
  background: var(--blanc); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%; max-width: 640px; max-height: 92dvh;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  /* Mobile : panneau ancré en bas, il monte depuis le bord de l'écran */
  transform: translateY(100%);
  transition: transform 0.18s var(--ease-in);
}
.modal.is-open .modal__panel { transform: none; transition: transform 0.32s var(--ease-out); }
@media (min-width: 701px) {
  .modal { align-items: center; }
  .modal__panel {
    border-radius: var(--radius-lg); max-height: 88dvh;
    opacity: 0; transform: translateY(12px);
    transition: transform 0.18s var(--ease-in), opacity 0.18s var(--ease-in);
  }
  .modal.is-open .modal__panel { opacity: 1; transform: none; transition: transform 0.28s var(--ease-out), opacity 0.28s var(--ease-out); }
}
.modal__head {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid var(--beige-fonce);
}
.modal__head .h2 { margin: 0; font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
.modal__close {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--beige); border: none; cursor: pointer; color: var(--texte);
  transition: background 0.15s;
}
.modal__close:hover { background: var(--beige-fonce); }
.modal__body {
  flex: 1; min-height: 0; overflow-y: auto;
  padding: 24px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.nav-drawer {
  position: fixed; inset: 0; z-index: 200;
  display: none;
}
.nav-drawer.is-open { display: block; }
.nav-drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(22, 35, 22, 0.55);
  animation: fadeIn 0.25s ease;
}
/* Panneau qui descend du haut de l'écran (hauteur du contenu ; 80 % au plus, pour deux boutons sur petit téléphone) */
.nav-drawer__panel {
  position: absolute; top: 0; left: 0; right: 0;
  min-height: 33dvh; max-height: 80dvh; overflow-y: auto;
  background: var(--blanc); padding: 14px 24px 24px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.32s var(--ease-out);
  overscroll-behavior: contain;
}
/* Sortie : plus rapide que l'entrée, main.js retire .is-open à la fin */
.nav-drawer.is-closing .nav-drawer__backdrop { animation: fadeOut 0.2s var(--ease-in) forwards; }
.nav-drawer.is-closing .nav-drawer__panel { animation: slideUp 0.2s var(--ease-in) forwards; }
/* Même hauteur et alignement que l'en-tête : le logo ne bouge pas à l'ouverture */
.nav-drawer__head {
  display: flex; justify-content: space-between; align-items: center; min-height: 40px;
}
.nav-drawer__close {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: transparent;
  border: 1px solid var(--beige-fonce); border-radius: var(--radius-pill);
  cursor: pointer; color: var(--texte);
}
.nav-drawer__links {
  flex: none; list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.nav-drawer__links a {
  display: flex; align-items: center; min-height: 56px; padding: 0 4px;
  font-size: 1.05rem; font-weight: 600; color: var(--texte); text-decoration: none;
  border-bottom: 1px solid var(--beige-fonce);
}
.nav-drawer__links a:hover { color: var(--vert); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes slideUp { from { transform: none; } to { transform: translateY(-100%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .tab,
  .activity__link,
  .site-header--overlay,
  .site-header--overlay .logo,
  .site-header--overlay .nav__link,
  .site-header--overlay .nav-toggle,
  .faq__icon,
  .photo--interactive::after,
  .sticky-cta,
  .modal__close,
  .faq__q,
  .faq__body,
  .faq__a,
  .tabs__indicator { transition: none; }
  .nav-drawer__backdrop,
  .nav-drawer__panel { animation: none; }
  /* Modale : simple fondu, sans déplacement */
  .modal__panel,
  .modal.is-open .modal__panel { transform: none; transition: opacity 0.15s ease; }
  .modal__panel { opacity: 0; }
  .modal.is-open .modal__panel { opacity: 1; }
  /* Confirmations : coche affichée directement, texte en fondu */
  .success__icon { animation: fadeIn 0.15s ease both; }
  .success__icon path { animation: none; stroke-dashoffset: 0; }
  .success > :not(.success__icon) { animation: fadeIn 0.15s ease both; }
}

/* ==========================================================================
   Lightbox galerie
   ========================================================================== */
#gallery-lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; }
#gallery-lightbox[hidden] { display: none; }
.glb__backdrop { position: absolute; inset: 0; background: rgba(22, 35, 22, 0.93); }
.glb__frame {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  width: 100%; max-width: min(96vw, 1200px);
  padding: 56px 16px 24px;
}
.glb__close {
  position: absolute; top: 12px; right: 12px;
  background: rgba(254,253,249,0.15); border-color: transparent; color: var(--blanc);
}
.glb__close:hover { background: rgba(254,253,249,0.28); color: var(--blanc); }
.glb__body { display: flex; align-items: center; gap: 12px; width: 100%; }
.glb__img-wrap { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; }
.glb__img { max-width: 100%; max-height: calc(100dvh - 180px); object-fit: contain; border-radius: var(--radius-md); display: block; }
.glb__nav { background: rgba(254,253,249,0.15); border-color: transparent; color: var(--blanc); flex: none; }
.glb__nav:hover { background: rgba(254,253,249,0.28); color: var(--blanc); }
.glb__footer { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.glb__caption { color: var(--vert-pale); font-size: var(--fs-sm); margin: 0; }
.glb__counter { color: rgba(254,253,249,0.5); font-size: var(--fs-xs); }
@media (max-width: 640px) {
  .glb__nav { display: none; }
  .glb__frame { padding: 48px 8px 20px; }
  .glb__img { max-height: calc(100dvh - 150px); }
}
@media (prefers-reduced-motion: reduce) {
  .glb__img { transition: none; }
}
