/* ==========================================================================
   Éléments ajoutés suite aux retours des propriétaires (octobre 2026) :
   mosaïque d'accueil, choix de la saison, tout inclus, règles, Airbnb,
   pages événements, carte des sorties et restaurants.
   S'appuie sur les variables de style.css / events.css.
   ========================================================================== */

/* ---------- Accueil : slogan + les trois maisons sur un seul écran ---------- */
.home-intro { padding: clamp(14px, 2.4vw, 28px) 0 0; }
.home-intro-head { text-align: center; margin-bottom: clamp(12px, 1.8vw, 20px); }
.home-intro-head .eyebrow { margin-bottom: 6px; }
.home-intro-head .eyebrow::after { margin-left: auto; margin-right: auto; background-position: center; }
.home-intro-head h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin: 0 0 .2em; }
.home-intro-head h1 em { font-style: italic; color: var(--accent); }
.home-intro-head .lead { margin: 0 auto; font-size: 1rem; }

/* hauteur calée sur l'écran : bandeau + menu + saisons + slogan ≈ 400 px */
.home-collage {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 58fr 42fr;
  width: min(1240px, calc(100% - 2 * clamp(16px, 4vw, 48px))); height: clamp(340px, calc(100svh - 410px), 600px);
  gap: 0; margin: 0 auto; background: var(--bg); overflow: hidden;
}
.home-house { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: var(--soft); min-height: 0; }
.home-house img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.home-house:hover img, .home-house:focus-visible img { transform: scale(1.04); filter: brightness(1.04); }
.home-house::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 8, .62) 100%); pointer-events: none; }
.home-house--0 { grid-column: 1 / -1; }
/* séparations en biais, comme sur la maquette */
.home-house--1 { clip-path: polygon(0 4%, 100% 0, 96% 100%, 0 100%); margin-top: -1.6%; }
.home-house--2 { clip-path: polygon(4% 0, 100% 6%, 100% 100%, 0 100%); margin-top: -.8%; margin-left: -2%; }
.home-house-label { position: absolute; z-index: 2; left: clamp(16px, 2.4vw, 32px); bottom: clamp(12px, 2vw, 24px); display: grid; gap: 3px; text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.home-house-label strong { font: 500 clamp(1.6rem, 2.6vw, 2.4rem)/1 var(--serif); }
.home-house-label span { font: 400 .72rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.home-house--2 .home-house-label { left: auto; right: clamp(16px, 2.4vw, 32px); text-align: right; }

/* descriptif : au survol (ordinateur) ou au premier toucher (smartphone) */
.home-house { cursor: pointer; }
.home-house:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.home-house-more {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; gap: 10px;
  padding: clamp(12px, 1.8vw, 26px) clamp(16px, 2.4vw, 32px); overflow: auto; color: #fff;
  background: linear-gradient(180deg, rgba(14, 13, 11, .35) 0%, rgba(14, 13, 11, .86) 55%, rgba(14, 13, 11, .92) 100%);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; cursor: default;
}
.home-house--1 .home-house-more { padding-top: clamp(20px, 3vw, 36px); }
.home-house--2 .home-house-more { padding-left: clamp(24px, 4vw, 52px); }
.home-house.is-open .home-house-more, .home-house:focus-visible .home-house-more, .home-house:has(:focus-visible) .home-house-more { opacity: 1; visibility: visible; transition: opacity .35s ease; }
@media (hover: hover) { .home-house:hover .home-house-more { opacity: 1; visibility: visible; transition: opacity .35s ease; } }
.home-house.is-open .home-house-label, .home-house:focus-visible .home-house-label, .home-house:has(:focus-visible) .home-house-label { opacity: 0; }
@media (hover: hover) { .home-house:hover .home-house-label { opacity: 0; } }
.home-house-label { transition: opacity .3s; }
.home-house-main { margin-top: auto; display: grid; gap: 6px; }  /* calé en bas, défilable si trop long */
.home-house-side { display: grid; gap: 10px; }
.home-house-more h2 { margin: 0; color: #fff; font: 500 clamp(1.4rem, 2.2vw, 2rem)/1 var(--serif); }
.home-house-more .stats { margin: 0; color: rgba(255, 255, 255, .88); gap: 4px 14px; font-size: .78rem; }
.home-house-more .stats svg { color: #fff; }
.home-house-more p { margin: 0; max-width: 62ch; font-size: .9rem; line-height: 1.4; color: rgba(255, 255, 255, .9); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-house-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; font-size: .84rem; line-height: 1.35; color: rgba(255, 255, 255, .85); }
.home-house-points li::before { content: "— "; color: var(--accent); }
.home-house-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.home-house-actions .btn { padding: 9px 14px; font-size: .68rem; }
.home-house-actions .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .7); background: transparent; }
.home-house-actions .btn.ghost:hover { background: #fff; color: #1d1b18; }
/* grande vignette : deux colonnes (présentation | points forts + boutons) */
@media (min-width: 761px) {
  .home-house--0 .home-house-more { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; column-gap: clamp(20px, 4vw, 56px); }
  .home-house--0 .home-house-main { margin-top: 0; }
}
/* petites vignettes du bas : nom, capacité, boutons */
.home-house--1 .home-house-points, .home-house--2 .home-house-points,
.home-house--1 .home-house-more p, .home-house--2 .home-house-more p,
.home-house--1 .stats li:nth-child(n+3), .home-house--2 .stats li:nth-child(n+3) { display: none; }
.lead-touch { display: none; }
@media (hover: none) { .lead-hover { display: none; } .lead-touch { display: inline; } }

@media (max-width: 760px) {
  .home-intro-head .eyebrow { font-size: .62rem; }
  .home-intro-head h1 { font-size: 1.75rem; line-height: 1.12; }
  .home-intro-head h1 em { display: block; }
  .home-intro-head .lead { font-size: .9rem; line-height: 1.4; }
  .home-collage { width: calc(100% - 24px); height: clamp(330px, calc(100svh - 330px), 520px); grid-template-rows: 58fr 42fr; }
  /* mêmes séparations en biais que sur ordinateur, angles adaptés aux vignettes étroites */
  .home-house--1 { clip-path: polygon(0 6%, 100% 0, 90% 100%, 0 100%); margin-top: -4%; }
  .home-house--2 { clip-path: polygon(10% 0, 100% 8%, 100% 100%, 0 100%); margin-top: -2%; margin-left: -5%; }
  .home-house-label { left: 12px; bottom: 10px; }
  .home-house--2 .home-house-label { left: auto; right: 12px; text-align: right; }
  .home-house--1 .home-house-label strong, .home-house--2 .home-house-label strong { font-size: clamp(1.05rem, 5.4vw, 1.35rem); }
  .home-house--1 .home-house-label span, .home-house--2 .home-house-label span { font-size: .54rem; letter-spacing: .08em; }
  .home-house--1 .home-house-more { padding-right: 22px; }
  .home-house--2 .home-house-more { padding-left: 24px; }
  .home-house-label strong { font-size: 1.35rem; }
  .home-house--0 .home-house-label strong { font-size: 1.7rem; }
  .home-house-label span { font-size: .58rem; letter-spacing: .12em; }
  .home-house-more { padding: 12px; gap: 6px; }
  .home-house-more h2 { font-size: 1.35rem; }
  .home-house-more .stats { font-size: .7rem; gap: 2px 10px; }
  .home-house-more .stats li:nth-child(n+3) { display: none; }
  .home-house-more p { font-size: .8rem; }
  .home-house-points { display: none; }
  .home-house-actions .btn { padding: 9px 12px; font-size: .62rem; }
  .home-house--1 .home-house-actions .btn.ghost, .home-house--2 .home-house-actions .btn.ghost { display: none; }
}

.home-promises { display: grid; gap: 16px; padding-top: clamp(24px, 4vw, 40px); padding-bottom: clamp(8px, 2vw, 16px); }

/* ---------- Bandeau « prix tout inclus » ---------- */
.allinc {
  display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center;
  background: var(--accent-2); color: var(--accent-ink); padding: 14px 20px; margin: 16px 0;
  font: 500 .82rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.allinc svg { width: 20px; height: 20px; flex: 0 0 auto; }
.home-promises .allinc { margin: 0; }

/* ---------- Règles mises en avant ---------- */
.house-rules { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.house-rules li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid #b4473c; background: color-mix(in srgb, #b4473c 7%, var(--card)); }
.house-rules svg { width: 26px; height: 26px; color: #b4473c; flex: 0 0 auto; }
.house-rules strong { display: block; font: 500 .82rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #9b3a30; }
.house-rules span { display: block; margin-top: 4px; font-size: .95rem; color: var(--ink); }
html[data-theme^="halloween"] .house-rules strong { color: #e0857a; }
.aside-allinc { display: flex; gap: 8px; align-items: center; font: 500 .74rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin: 4px 0 12px; }
.aside-allinc svg { width: 18px; height: 18px; }
.aside-rules { list-style: none; padding: 14px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.aside-rules li { display: flex; gap: 8px; align-items: center; font: 500 .74rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #9b3a30; }
.aside-rules svg { width: 18px; height: 18px; color: #b4473c; flex: 0 0 auto; }
html[data-theme^="halloween"] .aside-rules li { color: #e0857a; }

/* ---------- Bouton Airbnb ---------- */
.btn.airbnb { background: #ff385c; border-color: #ff385c; color: #fff; gap: 10px; }
.btn.airbnb:hover { background: #e31c5f; border-color: #e31c5f; color: #fff; }
.btn.airbnb svg { width: 18px; height: 18px; }
.aside .btn.airbnb { width: 100%; margin-top: 10px; }

/* ---------- Choix de la saison ---------- */
.season-dialog { position: fixed; inset: 0; z-index: 200; background: rgba(16, 14, 12, .72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.season-dialog[hidden] { display: none; }
.season-dialog-box { position: relative; width: min(1080px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--bg); color: var(--ink); padding: clamp(22px, 4vw, 44px); box-shadow: 0 24px 70px rgba(0, 0, 0, .35); }
.season-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; font: 300 2rem/1 var(--sans); color: var(--muted); cursor: pointer; }
.season-panel { text-align: center; }
.season-panel .eyebrow::after { margin-left: auto; margin-right: auto; background-position: center; }
.season-panel h2 em { display: block; font-style: italic; color: var(--accent); }
.season-panel .lead { margin: 0 auto 24px; }
.season-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .season-tiles { grid-template-columns: 1fr 1fr; gap: 10px; } }
.season-tile { display: block; text-decoration: none; color: var(--ink); }
.season-tile-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.season-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.season-tile-img .season-tile-decor { position: absolute; right: -6%; bottom: -8%; width: 58%; height: auto; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.season-tile:hover .season-tile-img img:first-child, .season-tile:focus-visible .season-tile-img img:first-child { transform: scale(1.05); }
.season-tile-name { display: block; padding: 10px 0 2px; font: 500 1.35rem/1.1 var(--serif); }
.season-skip { display: inline-block; margin-top: 22px; font: 400 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Pages EVJF / séminaires ---------- */
.event-hero { padding: clamp(32px, 6vw, 80px) 0 clamp(16px, 3vw, 32px); }
.event-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.event-hero-in img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 880px) { .event-hero-in { grid-template-columns: 1fr; } }
.event-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.event-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.event-grid .highlights { grid-template-columns: 1fr; }
.event-grid h2 em { font-style: italic; color: var(--accent); }
@media (max-width: 880px) { .event-grid { grid-template-columns: 1fr; } }
.event-rules .house-rules { grid-template-columns: 1fr; }
.group-links, .region-action { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Cartes (sorties, restaurants, autour de la maison) ---------- */
.view-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.view-switch .interest-count { margin: 0; }
.places-map { margin-top: 22px; }
.map-canvas { height: clamp(360px, 58vh, 520px); border: 1px solid var(--line); background: var(--soft); }
.map-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 10px 0 0; font: 400 .8rem/1.4 var(--sans); color: var(--muted); }
.map-note .map-key:not(:first-child) { margin-left: 10px; }
.map-key { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 600 .62rem/1 var(--sans); color: #fff; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }
.map-key--sortie { background: var(--map-sortie); }
.map-key--restaurant { background: var(--map-resto); }
.map-key--house { border-radius: 4px; background: #2f6b46 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.2 12 4l9 7.2V20a1 1 0 0 1-1 1h-5.2v-5.6H9.2V21H4a1 1 0 0 1-1-1z' fill='%23fff'/%3E%3C/svg%3E") center / 14px no-repeat; }
.map-key--current { background-color: #b5552b; }
.map-approx { flex-basis: 100%; font-size: .72rem; }
:root { --map-sortie: #9a7148; --map-resto: #2d5a7b; }

/* pastilles numérotées : activités et restaurants */
.map-pin span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); font: 600 .78rem/1 var(--sans, sans-serif); color: #fff; }
.map-pin--sortie span { background: var(--map-sortie); }
.map-pin--restaurant span { background: var(--map-resto); }
/* gîtes : icône maison dans un repère */
.map-house { display: grid; place-items: center; background: #2f6b46; color: #fff; border: 2px solid #fff; border-radius: 10px; box-shadow: 0 3px 10px rgba(0, 0, 0, .4); }
.map-house::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -6px; border: 6px solid transparent; border-top-color: #fff; border-bottom: 0; }
.map-house svg { width: 64%; height: 64%; }
.map-house--current { background: #b5552b; }
.map-house-label { font: 600 .74rem/1 var(--sans, sans-serif); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #2f6b46; border: 0; padding: 6px 9px; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.map-house-label::before { border-top-color: #2f6b46 !important; }
.house-page .map-house-label { background: #b5552b; }
.house-page .map-house-label::before { border-top-color: #b5552b !important; }

/* numéros des fiches, assortis aux pastilles */
.activity-num { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: var(--map-sortie); color: #fff; font: 600 .72rem/1 var(--sans); letter-spacing: 0; vertical-align: middle; }
.activities--restaurant .activity-num { background: var(--map-resto); }
.activity.is-focus { outline: 2px solid var(--accent); outline-offset: -2px; }

/* autour de la maison */
.around .center { margin-bottom: 8px; }
.around h2 em { font-style: italic; color: var(--accent); }
.around-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

.activities[hidden] { display: none; }
.leaflet-popup-content { font: 400 .9rem/1.4 var(--sans); }
.leaflet-popup-content strong { display: block; font: 500 1.15rem/1.15 var(--serif); margin-bottom: 2px; }

/* ---------- Sorties et restaurants : bascule Carte / Liste (barre collée sous l'en-tête) ---------- */
.places-map { position: relative; z-index: 0; isolation: isolate; }   /* la carte ne passe jamais devant l'en-tête */
.places-bar { position: sticky; top: var(--header-h, 72px); z-index: 40; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; padding: 10px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.places-bar .interest-count { flex: 1; margin: 0; }
.view-toggle { display: inline-flex; padding: 3px; gap: 3px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--card); }
.view-toggle button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--radius); background: transparent; color: var(--accent); font: 500 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.view-toggle button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.view-toggle svg { width: 18px; height: 18px; flex-shrink: 0; }
.places-filter-btn { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); font: 500 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.places-bar:not(.is-stuck) .places-filter-btn { display: none; }
.places-body { margin-top: 18px; }
.places-body .places-map { margin-top: 0; }
.places-body[data-view-mode="liste"] .places-map { display: none; }
.places-body .activities { margin-top: 0; }
@media (max-width: 999px) {
  .places-body[data-view-mode="carte"] .places-list { display: none; }
  .places-body .map-canvas { height: clamp(320px, calc(100svh - var(--header-h, 72px) - 190px), 560px); }
}
@media (min-width: 1000px) {
  .places-body[data-view-mode="carte"] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 28px; align-items: start; }
  .places-body[data-view-mode="carte"] .places-map { order: 2; position: sticky; top: calc(var(--header-h, 72px) + 82px); }
  .places-body[data-view-mode="carte"] .map-canvas { height: clamp(380px, calc(100vh - var(--header-h, 72px) - 150px), 760px); }
  .places-body[data-view-mode="carte"] .activities { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 760px) {
  .places-bar { gap: 8px; margin-left: -16px; margin-right: -16px; padding: 8px 16px; }
  .places-bar .interest-count { order: 3; flex-basis: 100%; font-size: .85rem; margin: 0; }
  .view-toggle { flex: 1; }
  .view-toggle button { flex: 1; justify-content: center; min-height: 44px; padding: 0 10px; font-size: .78rem; }
  .places-filter-btn { min-height: 50px; }
  .places-body { margin-top: 12px; }
}

/* fiches : liens d'action */
.activity-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: 16px; }
.activity-actions .activity-link { margin-top: 0; }
.activity-onmap { padding: 0; border: 0; background: none; color: var(--accent); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.map-popup-link { margin-top: 4px; padding: 0; border: 0; background: none; color: #2d5a7b; font: 500 .9rem/1.4 var(--sans); text-decoration: underline; cursor: pointer; }

/* carte dans une page, sur écran tactile : consigne « deux doigts » */
.map-canvas .map-hint { position: absolute; inset: 0; z-index: 1000; display: grid; place-items: center; margin: 0; padding: 24px; background: rgba(20, 18, 15, .5); color: #fff; font: 500 1rem/1.4 var(--sans); text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.map-canvas .map-hint.on { opacity: 1; }

/* ---------- En-tête : bandeau coloré (couleur sombre du thème), menu bien lisible ---------- */
html:root, html[data-theme] { --header-bg: var(--feature-bg); --header-ink: var(--feature-ink); --header-soft: var(--feature-muted); }
html .site-header { background: var(--header-bg); color: var(--header-ink); border-bottom: 0; box-shadow: 0 2px 16px rgba(0, 0, 0, .2); }
html .site-header .logo, html .site-header .logo-name { color: var(--header-ink); }
html .site-header .logo-name small { color: var(--header-soft); }
html .site-header .logo-emblem { border-color: var(--header-soft); color: var(--header-ink); }
html .site-header .nav a:not(.btn) { position: relative; color: var(--header-ink); font: 500 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
html .site-header .nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; background: var(--header-soft); transform: scaleX(0); transition: transform .2s; }
html .site-header .nav a:not(.btn):hover, html .site-header .nav a[aria-current] { color: var(--header-ink); opacity: 1; }
html .site-header .nav a:not(.btn):hover::after, html .site-header .nav a[aria-current]::after { transform: scaleX(1); }
html .site-header .nav .btn { background: var(--header-ink); border-color: var(--header-ink); color: var(--header-bg); font-weight: 600; }
html .site-header .nav .btn:hover { background: transparent; color: var(--header-ink); }
html .site-header :focus-visible { outline-color: var(--header-ink); }
@media (max-width: 1100px) and (min-width: 901px) { html .site-header .nav a:not(.btn) { font-size: .68rem; letter-spacing: .08em; } }

/* téléphone et tablette : bouton « Menu » encadré, panneau de liens larges */
@media (max-width: 900px) {
  html .site-header .nav-toggle { color: var(--header-ink); border: 1px solid color-mix(in srgb, var(--header-ink) 55%, transparent); border-radius: var(--radius); padding: 8px 12px; gap: 8px; }
  html .site-header .nav-toggle[aria-expanded="true"] { background: var(--header-ink); color: var(--header-bg); }
  html .site-header .nav-toggle span { font-weight: 600; letter-spacing: .04em; }
  html .site-header .nav { background: var(--header-bg); border-top: 1px solid color-mix(in srgb, var(--header-ink) 18%, transparent); box-shadow: 0 16px 28px rgba(0, 0, 0, .28); }
  html .site-header .nav a:not(.btn) { min-height: 54px; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--header-ink) 14%, transparent); font: 500 1.35rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; opacity: 1; }
  html .site-header .nav a:not(.btn)::after { left: -20px; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; transform: scaleY(0); }
  html .site-header .nav a[aria-current]::after { transform: scaleY(1); }
  html .site-header .nav a:not(.btn):hover::after { transform: scaleY(0); }
  html .site-header .nav a[aria-current] { color: var(--header-soft); }
  html .site-header .nav .btn { margin-top: 18px; min-height: 52px; font-size: .95rem; }
}

/* encart piscine : accueil (descriptif au survol) et pages maison */
.pool-note, .aside-pool, .home-house-pool { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.pool-note svg, .aside-pool svg, .home-house-pool svg { width: 22px; height: 22px; flex-shrink: 0; }
.pool-note strong, .aside-pool strong, .home-house-pool strong { font-weight: 600; }
.pool-extra { display: block; font-size: .88em; opacity: .85; }
.pool-note { margin-top: 14px; padding: 12px 16px; max-width: 560px; background: color-mix(in srgb, var(--map-resto) 10%, var(--card)); border-left: 3px solid var(--map-resto); font: 400 .95rem/1.45 var(--sans); color: var(--ink); }
.pool-note svg { color: var(--map-resto); }
html[data-theme^="halloween"] .pool-note { background: var(--soft); border-left-color: var(--accent); }
html[data-theme^="halloween"] .pool-note svg { color: var(--accent); }
.aside-pool { margin: 6px 0 10px; font: 400 .9rem/1.4 var(--sans); color: var(--ink); }
.aside-pool svg { color: var(--accent-2); }
.home-house-more p.home-house-pool { display: flex; color: #fff; font: 400 .82rem/1.35 var(--sans); }
.home-house-pool svg { width: 18px; height: 18px; color: #9fd3e6; }
@media (max-width: 760px) {
  .home-house-more p.home-house-pool { font-size: .72rem; gap: 6px; }
  .home-house--1 .pool-extra, .home-house--2 .pool-extra { display: none; }
  .pool-note { font-size: .9rem; padding: 10px 12px; }
}

/* ---------- Page maison : haut de page compact, les photos visibles sans défiler ---------- */
.house-page .gite-top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding: 16px 0 14px; }
.house-page .gite-top .crumb { margin: 0 0 4px; }
.house-page .gite-head h1 { font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1.05; margin: 0 0 8px; }
.house-page .gite-head .stats { margin: 0; padding: 0; border: 0; }
.gite-badges { display: flex; flex-direction: column; gap: 6px; width: min(100%, 440px); }
.gite-badges .pool-note { margin: 0; max-width: none; padding: 8px 12px; font-size: .86rem; line-height: 1.35; }
.gite-badges .pool-note svg { width: 20px; height: 20px; }
.gite-badges .pool-extra { display: inline; }
.gite-badges .pool-extra::before { content: " · "; }
.gite-badges .allinc { margin: 0; padding: 8px 12px; justify-content: flex-start; text-align: left; font-size: .7rem; letter-spacing: .1em; }
.gite-badges .allinc svg { width: 18px; height: 18px; }
.house-page .mosaic { margin-top: 0; height: clamp(340px, calc(100vh - 330px), 620px); }
@media (max-width: 760px) {
  .house-page .gite-top { display: block; padding: 10px 0; }
  .house-page .gite-top .crumb { margin: 0; }
  .house-page .gite-top .crumb a { min-height: 28px; font-size: .78rem; }
  .house-page .gite-head h1 { font-size: 1.95rem; margin: 0 0 6px; }
  .house-page .gite-head .stats { gap: 2px 14px; }
  .house-page .gite-head .stats li { background: none; padding: 0; font-size: .82rem; }
  .gite-badges { width: 100%; margin-top: 10px; }
  .gite-badges .pool-note { padding: 7px 10px; font-size: .8rem; gap: 8px; }
  .gite-badges .allinc { padding: 7px 10px; font-size: .66rem; letter-spacing: .06em; }
  .house-page .mosaic { margin-top: 0; height: auto; }
  .house-page .mosaic button:first-child { aspect-ratio: auto; height: clamp(240px, 72vw, 340px); }
  .house-page .house-rules { margin: 12px 0; gap: 8px; }
  .house-page .house-rules li { padding: 10px 12px; gap: 10px; }
  .house-page .house-rules svg { width: 20px; height: 20px; }
  .house-page .house-rules strong { font-size: .74rem; }
  .house-page .house-rules span { font-size: .86rem; line-height: 1.4; margin-top: 2px; }
}

/* ---------- Fiche maison : rubriques courtes et nettes ---------- */
.gd { margin-top: 28px; }
.gd-main { min-width: 0; }
.gd-intro { margin: 0 0 4px; font: 500 clamp(1.3rem, 2vw, 1.6rem)/1.3 var(--serif); font-style: italic; color: var(--ink); }
.gd-sec { padding: 26px 0; border-bottom: 1px solid var(--line); }
.gd-sec:last-child { border-bottom: 0; }
.gd-sec h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.gd-sub { margin: -10px 0 16px; color: var(--muted); font-size: .92rem; }
/* points forts */
.gd-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.gd-feats li { display: flex; gap: 14px; align-items: flex-start; }
.gd-feats svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--accent-2); margin-top: 2px; }
.gd-feats strong { display: block; font-weight: 500; font-size: 1rem; line-height: 1.3; }
.gd-feats span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; }
/* chambres */
.gd-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.gd-room h3 { margin: 10px 0 2px; font: 500 1rem/1.3 var(--sans); }
.gd-room p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.gd-room small { display: block; margin-top: 3px; font-size: .78rem; line-height: 1.35; color: var(--accent-2); }
.gd-room-img { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; background: var(--soft); cursor: zoom-in; border-radius: var(--radius); }
.gd-room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gd-room-img:hover img { transform: scale(1.04); }
.gd-room-img--empty { display: grid; place-items: center; cursor: default; color: var(--muted); }
.gd-room-img--empty svg { width: 36px; height: 36px; }
/* équipements */
.gd-amen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.gd-amen li { display: flex; align-items: center; gap: 14px; font-size: .98rem; }
.gd-amen svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--ink); }
.gd-all { margin-top: 20px; }
.gd-all > summary { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--ink); border-radius: var(--radius); font: 500 .85rem/1 var(--sans); letter-spacing: .04em; cursor: pointer; list-style: none; }
.gd-all > summary::-webkit-details-marker { display: none; }
.gd-all[open] > summary { margin-bottom: 18px; }
.gd-all[open] > summary::before { content: "Masquer · "; }
.gd-equip { columns: 3 220px; column-gap: 28px; }
.gd-equip-group { break-inside: avoid; margin-bottom: 18px; }
.gd-equip-group h3 { margin: 0 0 6px; font: 500 .8rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.gd-equip-group ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .9rem; line-height: 1.5; }
/* bon à savoir */
.gd-know { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gd-know h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 500 1rem/1.3 var(--sans); }
.gd-know h3 svg { width: 20px; height: 20px; color: var(--accent-2); }
.gd-know ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.gd-know strong { display: block; font-weight: 500; color: var(--ink); }
/* description complète, repliée */
.gd-desc > summary { cursor: pointer; font: 500 .95rem/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.gd-desc > summary::-webkit-details-marker { display: none; }
.gd-desc .prose { margin-top: 16px; font-size: .95rem; color: var(--muted); }
@media (max-width: 980px) { .gd-know { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .gd { margin-top: 8px; }
  .gd-intro { font-size: 1.2rem; }
  .gd-sec { padding: 20px 0; }
  .gd-sec h2 { font-size: 1.55rem; margin-bottom: 12px; }
  .gd-feats { grid-template-columns: 1fr; gap: 12px; }
  .gd-feats svg { width: 24px; height: 24px; }
  /* chambres : défilement horizontal */
  .gd-rooms { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .gd-rooms::-webkit-scrollbar { display: none; }
  .gd-room { flex: 0 0 62%; scroll-snap-align: start; }
  .gd-amen { gap: 10px 14px; }
  .gd-amen li { font-size: .9rem; gap: 10px; }
  .gd-amen svg { width: 22px; height: 22px; }
  .gd-all > summary { width: 100%; justify-content: center; }
  .gd-equip { columns: 1; }
  .gd-know { grid-template-columns: 1fr; gap: 18px; }
  .gd-know ul { gap: 5px; }
  .gd-know strong { display: inline; margin-right: 5px; }
}

/* ---------- Accueil : bandeau de réservation (remplace le grand pavé) ---------- */
.book-band { background: var(--soft); border-top: 1px solid var(--line); }
.book-band-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 32px; padding-top: 26px; padding-bottom: 26px; }
.book-band p { margin: 0; display: grid; gap: 2px; }
.book-band strong { font: 500 clamp(1.4rem, 2.2vw, 1.8rem)/1.2 var(--serif); color: var(--ink); }
.book-band span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .book-band-in { padding-top: 20px; padding-bottom: 20px; }
  .book-band .btn { width: 100%; }
}

/* page Disponibilités */
.dispo { padding-top: clamp(24px, 4vw, 48px); }
.dispo-head { margin-bottom: 20px; }
.dispo-head h1 { margin-bottom: 8px; font-size: clamp(2.2rem, 3.6vw, 3rem); }
.dispo-head .lead { margin: 0; }
.dispo-houses { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.dispo-houses span { color: var(--muted); font-size: .9rem; margin-right: 4px; }

/* ---------- Pied de page compact : une ligne sur ordinateur ---------- */
html .site-footer { padding: 26px 0 calc(22px + env(safe-area-inset-bottom)); }
.foot-compact { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 36px; }
.foot-id { display: grid; gap: 2px; }
.foot-id strong { font: 500 1.3rem/1.15 var(--serif); color: #f6efe3; }
.foot-id span { font-size: .85rem; opacity: .85; }
.foot-contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
html .site-footer .foot-contact .foot-tel { font: 500 1.3rem/1 var(--serif); }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: .85rem; }
.foot-links span { opacity: .7; }
@media (max-width: 760px) {
  .foot-compact { display: grid; gap: 12px; }
  .foot-links { gap: 6px 14px; font-size: .82rem; }
}

/* ---------- Accueil page par page : chaque rubrique occupe un écran ---------- */
html:has(body.home-page) { scroll-snap-type: y mandatory; }
@media (max-height: 540px) { html:has(body.home-page) { scroll-snap-type: y proximity; } }   /* téléphone à l'horizontale */
.home-page .home-screen { scroll-snap-align: start; scroll-margin-top: var(--header-h, 80px); min-height: calc(100dvh - var(--header-h, 80px)); }
.home-page .home-intro { scroll-margin-top: 100vh; min-height: 0; }   /* premier écran : le haut de la page */
.home-page .home-screen:not(.home-intro):not(#groupes) { display: flex; flex-direction: column; justify-content: center; }

/* écran 2 : l'essentiel */
.home-essentials { padding: clamp(28px, 5vh, 64px) 0; background: var(--bg); }
.home-essentials h2 { margin-bottom: clamp(18px, 4vh, 40px); }
.home-essentials h2 em { font-style: italic; color: var(--accent); }
.home-essentials .stay-facts { padding: 0 0 clamp(18px, 3vh, 30px); border-bottom: 1px solid var(--line); background: none; }
.home-essentials .home-promises { padding: clamp(18px, 3vh, 30px) 0 0; }
.home-essentials .house-rules { margin: 0; }

/* écran 3 : grands groupes, photo pleine hauteur */
.home-page #groupes .split { min-height: calc(100dvh - var(--header-h, 80px)); }
.home-page #groupes .split img { min-height: 0; height: 100%; }

/* écran 4 : la Normandie */
.home-page #region { padding-top: clamp(24px, 5vh, 64px); padding-bottom: clamp(24px, 5vh, 64px); }

/* écran 5 : réservation + pied de page */
.home-page #reserver.book-band { min-height: calc(100dvh - var(--header-h, 80px) - var(--footer-h, 100px)); border-top: 0; background: var(--feature-bg); color: var(--feature-ink); }
.home-page .book-band-in { flex-direction: column; justify-content: center; text-align: center; gap: 22px; }
.home-page .book-band p { justify-items: center; }
.home-page .book-band strong { color: var(--feature-ink); font-size: clamp(2rem, 4vw, 3.2rem); }
.home-page .book-band span { color: var(--feature-muted); font-size: 1.05rem; }
.home-page .book-band .btn { background: var(--feature-ink); border-color: var(--feature-ink); color: var(--feature-bg); padding: 18px 34px; }
.home-page .book-band .btn:hover { background: transparent; color: var(--feature-ink); }

/* points de navigation entre les écrans (ordinateur) */
.screen-dots { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 45; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.screen-dots a { position: relative; display: block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--accent-2); background: color-mix(in srgb, var(--bg) 70%, transparent); }
.screen-dots a[aria-current] { background: var(--accent-2); }
.screen-dots a span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 4px 10px; background: var(--accent-2); color: var(--accent-ink); font: 500 .72rem/1.2 var(--sans); letter-spacing: .06em; opacity: 0; pointer-events: none; transition: opacity .2s; }
.screen-dots a:hover span, .screen-dots a:focus-visible span { opacity: 1; }
@media (max-width: 899px) { .screen-dots { display: none; } }

@media (max-width: 760px) {
  /* smartphone : chaque rubrique tient exactement dans l'écran, la photo prend la place restante */
  .home-page #groupes, .home-page #region { height: calc(100dvh - var(--header-h, 68px)); min-height: 0; padding: 0; overflow: hidden; }
  .home-page #groupes .split { height: 100%; min-height: 0; display: flex; flex-direction: column; }
  .home-page #groupes .split img { flex: 1 1 0; min-height: 90px; height: auto; }
  .home-page #groupes .split > div { flex: 0 0 auto; padding: 16px 20px 18px; }
  .home-page #groupes .eyebrow { margin-bottom: 6px; }
  .home-page #groupes h2 { font-size: 1.6rem; margin-bottom: 4px; }
  .home-page #groupes .big-num { font-size: 2.2rem; margin: 2px 0 8px; padding-bottom: 8px; }
  .home-page #groupes p:not(.big-num) { font-size: .88rem; line-height: 1.45; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .home-page #groupes .group-links { gap: 8px; margin: 0; }
  .home-page #groupes .group-links .btn { flex: 1; min-height: 42px; padding: 8px 10px; }
  .home-page #groupes .rules-compact { margin-top: 12px; gap: 4px; }
  .home-page #groupes .rules-compact li { font-size: .8rem; }
  .home-page #region .region-layout { height: 100%; display: flex; flex-direction: column; gap: 0; padding: 0; }
  .home-page #region .region-image { flex: 1 1 0; min-height: 90px; width: auto; margin: 0 -20px; }
  .home-page #region .region-image figure, .home-page #region .region-image img { height: 100%; }
  .home-page #region .region-image img { aspect-ratio: auto; }
  .home-page #region .region-image figcaption { bottom: 10px; left: 20px; padding: 6px 10px; font-size: .95rem; }
  .home-page #region .region-copy { flex: 0 0 auto; padding: 14px 0 16px; }
  .home-page #region .region-intro .eyebrow { margin-bottom: 4px; }
  .home-page #region h2 { font-size: 1.6rem; margin-bottom: 4px; }
  .home-page #region .lead { font-size: .88rem; line-height: 1.45; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .home-page #region .places { grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
  .home-page #region .places { gap: 6px; }
  .home-page #region .places li { min-height: 0; padding: 6px 4px; gap: 2px; }
  .home-page #region .places strong { font-size: 1rem; }
  .home-page #region .places span { font-size: .6rem; }
  .home-page #region .region-action { margin: 10px 0 0; gap: 8px; }
  .home-page #region .region-action .btn { flex: 1; min-height: 42px; padding: 8px 10px; }
  .home-page .book-band { min-height: calc(100dvh - var(--header-h, 68px) - var(--footer-h, 190px)); }
  .home-page .book-band strong { font-size: 1.9rem; }
}

/* écran 1 : la mosaïque s'arrête juste sous le bandeau « tout inclus » */
.home-page .home-collage { height: clamp(320px, calc(100svh - 380px), 620px); }
.home-allinc .allinc { margin: 12px 0 0; padding: 11px 16px; }
@media (max-width: 760px) {
  .home-page .home-collage { height: clamp(300px, calc(100svh - 400px), 500px); }
  .home-allinc { padding-left: 12px; padding-right: 12px; }
  .home-allinc .allinc { margin-top: 8px; padding: 9px 12px; font-size: .68rem; letter-spacing: .06em; }
}

/* règles en version compacte (écran « grands groupes ») */
.rules-compact { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.rules-compact li { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: .9rem; line-height: 1.3; }
.rules-compact svg { width: 18px; height: 18px; flex-shrink: 0; color: #b4473c; }
.rules-compact strong { font-weight: 500; color: #9b3a30; }
.rules-compact span { color: var(--muted); }
html[data-theme^="halloween"] .rules-compact strong { color: #e0857a; }
html[data-theme^="halloween"] .rules-compact svg { color: #e0857a; }
@media (min-width: 761px) {
  .home-page #groupes .split > div { padding-top: clamp(28px, 5vh, 56px); padding-bottom: clamp(28px, 5vh, 56px); }
  .home-page #groupes .big-num { margin: 10px 0; }
}
/* règles sur fond foncé (écran « grands groupes ») : rouge éclairci pour rester lisible */
.section.alt .rules-compact strong, .section.alt .rules-compact svg { color: #f2a196; }
.section.alt .rules-compact span { color: var(--feature-muted); }

/* premier écran : remplit exactement la fenêtre, la rubrique suivante n'apparaît pas */
.home-page .home-intro { display: flex; flex-direction: column; height: calc(100dvh - var(--intro-top, 170px)); min-height: 420px; padding-bottom: 12px; }
.home-page .home-intro-head { flex: 0 0 auto; }
.home-page .home-collage { flex: 1 1 auto; height: auto; min-height: 220px; max-height: 680px; }
.home-page .home-allinc { flex: 0 0 auto; width: 100%; }
@media (max-width: 760px) { .home-page .home-intro { min-height: 380px; padding-bottom: 8px; } }

/* iPhone : la barre de Safari se réduit au défilement ; les écrans suivent la hauteur visible (dvh)
   et gardent une marge au-dessus de la barre d'accueil */
@media (max-width: 760px) {
  .home-page .home-intro { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .home-page .home-collage { max-height: none; }
  .home-page #groupes .split > div { padding-bottom: max(18px, calc(env(safe-area-inset-bottom) + 8px)); }
  .home-page #region .region-copy { padding-bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px)); }
}

/* ---------- Smartphone : l'accueil est un « classeur à pages » ----------
   La page elle-même ne défile plus (la barre de Safari garde donc sa taille) :
   c'est le corps de page qui défile, rubrique par rubrique, avec un saut net entre chaque. */
@media (max-width: 760px) {
  html:has(body.home-page) { height: 100%; overflow: hidden; scroll-snap-type: none; }
  body.home-page { height: 100dvh; overflow-y: auto; overscroll-behavior-y: none; scroll-snap-type: y mandatory; scroll-behavior: smooth; }
  .home-page .home-screen { scroll-snap-stop: always; }   /* un geste = une rubrique, jamais deux */
}
@media (max-width: 760px) and (max-height: 540px) { body.home-page { scroll-snap-type: y proximity; } }

/* premier écran : le cran d'arrêt est le tout haut de la page (bandeau des saisons visible) */
.home-page #maisons.home-intro { scroll-margin-top: var(--intro-top, 100vh); }

/* ---------- « Voir les 3 maisons sur la carte » (écran « venir à plusieurs ») ---------- */
.group-map { margin: 0 0 14px; }
.map-open { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit; font: 500 .92rem/1.3 var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.map-open svg { width: 20px; height: 20px; flex-shrink: 0; }
.section.alt .map-open { color: var(--feature-ink); }
.houses-map-dialog { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(15, 14, 12, .62); }
.houses-map-dialog[hidden] { display: none; }
.houses-map-box { position: relative; width: min(860px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 22px 22px 14px; background: var(--bg); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.houses-map-box h2 { margin: 0 44px 12px 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.houses-map-box h2 em { font-style: italic; color: var(--accent); }
.houses-map-box .places-map { margin: 0; }
.houses-map-box .map-canvas { height: min(62dvh, 520px); }
.houses-map-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); font-size: 2rem; line-height: 1; cursor: pointer; }
@media (max-width: 760px) {
  .houses-map-dialog { padding: 10px; }
  .houses-map-box { padding: 16px 14px 10px; }
  .houses-map-box .map-canvas { height: min(68dvh, 560px); }
  .home-page #groupes .group-map { margin-bottom: 10px; }
  .home-page #groupes .map-open { font-size: .85rem; }
}
@media (min-width: 761px) {
  .home-page #groupes p:not(.big-num) { line-height: 1.7; }
  .home-page #groupes .group-map { margin-bottom: 10px; }
}

/* ---------- Diapos sur toutes les pages : un geste = un écran (comme l'accueil) ---------- */
html:has(body.slides) { scroll-snap-type: y mandatory; }
@media (max-height: 540px) { html:has(body.slides) { scroll-snap-type: y proximity; } }
.slides .slide { scroll-snap-align: start; scroll-snap-stop: always; scroll-margin-top: var(--header-h, 80px); min-height: calc(100dvh - var(--header-h, 80px) - var(--bar-h, 0px)); display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
.slides .slide--first { scroll-margin-top: var(--intro-top, 100vh); min-height: calc(100dvh - var(--intro-top, 170px) - var(--bar-h, 0px)); }
.slides .slide--last { min-height: calc(100dvh - var(--header-h, 80px) - var(--footer-h, 100px) - var(--bar-h, 0px)); }
.slides .slide--first.slide--last { min-height: calc(100dvh - var(--intro-top, 170px) - var(--footer-h, 100px) - var(--bar-h, 0px)); }
.slides .site-footer { scroll-snap-align: end; }   /* le pied de page reste toujours accessible */
@media (max-width: 760px) {
  html:has(body.slides) { height: 100%; overflow: hidden; scroll-snap-type: none; }
  body.slides { height: 100dvh; overflow-y: auto; overscroll-behavior-y: none; scroll-snap-type: y mandatory; scroll-behavior: smooth; }
  body.slides.has-mobile-book { --bar-h: 76px; }
}
@media (max-width: 760px) and (max-height: 540px) { body.slides { scroll-snap-type: y proximity; } }

/* fiche maison : la photo remplit le premier écran */
.house-page .gite-hero { justify-content: flex-start; padding-bottom: 14px; }
.house-page .gite-hero .mosaic { flex: 1 1 auto; height: auto; min-height: 260px; max-height: 760px; }
.house-page .gite-hero .rules-compact { flex: 0 0 auto; margin-top: 12px; }
.house-page .gd-sec.slide { border-bottom: 0; padding: clamp(20px, 4vh, 44px) 0; }
.house-page .gd-sec.slide + .gd-sec.slide { border-top: 1px solid var(--line); }
.house-page #reserver.slide, .house-page #photos.slide, .house-page #autres-maisons.slide { padding-top: clamp(24px, 5vh, 56px); padding-bottom: clamp(24px, 5vh, 56px); }
.house-page #photos.slide { justify-content: flex-start; }
@media (max-width: 760px) {
  .house-page .gite-hero { padding-bottom: 10px; }
  .house-page .gite-hero .mosaic { display: flex; flex-direction: column; min-height: 200px; }
  .house-page .gite-hero .mosaic button:first-child { flex: 1 1 auto; height: auto; aspect-ratio: auto; min-height: 0; }
  .house-page .gite-hero .mosaic button:first-child img { height: 100%; }
  .house-page .gd-sec.slide { padding: 18px 0; }
}

/* EVJF / séminaires */
.event-page .event-hero.slide { padding-top: clamp(16px, 4vh, 56px); padding-bottom: 12px; }
.event-page .event-hero-in img { max-height: calc(100dvh - var(--header-h, 80px) - 220px); }
.event-page .event-allinc { margin-top: clamp(14px, 3vh, 32px); }
@media (max-width: 880px) {
  .event-page .event-hero.slide { justify-content: flex-start; }
  .event-page .event-hero-in { display: flex; flex-direction: column; gap: 16px; flex: 1 1 auto; }
  .event-page .event-hero-in > div { flex: 0 0 auto; }
  .event-page .event-hero-in img { flex: 1 1 0; min-height: 140px; max-height: none; aspect-ratio: auto; height: auto; }
  .event-page .event-hero .lead { font-size: .95rem; line-height: 1.5; margin-bottom: 12px; }
  .event-page .event-actions { margin: 0; }
}

/* sorties et restaurants : 1er écran = les envies, 2e écran = la carte (ou la liste) */
.places-page .interests.slide { justify-content: center; }
.places-next { display: inline-flex; align-self: center; margin: 22px auto 0; font: 500 .82rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); text-decoration: none; padding: 14px 18px; border: 1px solid var(--accent); border-radius: var(--radius); }
.places-page .interests .wrap:last-child { display: flex; flex-direction: column; }
.places-slide.slide { justify-content: flex-start; padding-bottom: 18px; }
.places-slide .places-bar { margin-top: 0; }
@media (max-width: 999px) {
  .places-slide:has([data-view-mode="carte"]) { height: calc(100dvh - var(--header-h, 72px)); padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .places-slide:has([data-view-mode="carte"]) > .wrap { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
  .places-slide [data-view-mode="carte"] { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
  .places-slide [data-view-mode="carte"] .places-map { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
  .places-slide [data-view-mode="carte"] .map-canvas { flex: 1 1 auto; height: auto; min-height: 240px; }
}
@media (min-width: 1000px) {
  .places-slide [data-view-mode="carte"] .places-map { top: calc(var(--header-h, 72px) + 70px); }
  .places-slide [data-view-mode="carte"] .map-canvas { height: calc(100dvh - var(--header-h, 72px) - 130px); }
}
@media (max-width: 760px) {
  .house-page .gd-sec.slide { justify-content: flex-start; padding-top: 26px; }
  .house-page #couchage .gd-rooms { flex: 1 1 auto; max-height: 520px; }
  .house-page #couchage .gd-room { display: flex; flex-direction: column; }
  .house-page #couchage .gd-room-img { flex: 1 1 auto; min-height: 160px; aspect-ratio: auto; }
  .house-page #couchage .gd-room-img img { height: 100%; aspect-ratio: auto; }
}
@media (max-width: 760px) {
  .event-page #pourquoi { padding: 20px 0; }
  .event-page #pourquoi .event-grid { gap: 18px; }
  .event-page #pourquoi h2 { font-size: 1.5rem; margin-bottom: 8px; }
  .event-page #pourquoi .highlights li { padding-top: 6px; padding-bottom: 6px; font-size: .9rem; }
  .event-page #maisons-evenement { padding: 22px 0; }
  .event-page #maisons-evenement .cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 6px; scroll-padding: 0 20px; scrollbar-width: none; }
  .event-page #maisons-evenement .cards::-webkit-scrollbar { display: none; }
  .event-page #maisons-evenement .card { flex: 0 0 82%; scroll-snap-align: start; }
}
@media (min-width: 761px) {
  .event-page #pourquoi, .event-page #maisons-evenement { padding-top: clamp(24px, 5vh, 56px); padding-bottom: clamp(24px, 5vh, 56px); }
  .event-page #maisons-evenement .card-img img { height: clamp(160px, 30vh, 300px); aspect-ratio: auto; }
  .event-page #maisons-evenement .collection-heading { margin-bottom: 16px; }
}
@media (min-width: 761px) {
  .event-page .event-hero h1 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
  .event-page .event-hero .lead { margin-bottom: 18px; }
  .event-page .event-allinc { margin-top: 12px; }
  .event-page #maisons-evenement .card-img img { height: clamp(150px, 24vh, 280px); }
}
@media (min-width: 761px) {
  .event-page #maisons-evenement .card-img { aspect-ratio: auto; height: clamp(140px, 22vh, 260px); }
  .event-page #maisons-evenement .card-img img { height: 100%; }
}

/* ---------- Ambiance Automne – Hiver : tons chauds, coin du feu, sans décor de fête ---------- */
html[data-theme="automne-hiver"] {
 --bg:#f5eee4; --card:#fbf6ee; --ink:#3b2b24; --muted:#76655a; --line:#e0d3c3; --soft:#ece2d4;
 --accent:#8a3b2e; --accent-ink:#fff7ec; --accent-2:#6b4a32;
 --hero-bg:#4a2f26; --hero-ink:#fbeedd; --hero-muted:#dcc6b3; --hero-accent:#e0b07a;
 --feature-bg:#4a2f26; --feature-ink:#fbeedd; --feature-muted:#dcc8b6;
 --banner-bg:#8a3b2e; --banner-ink:#fff4e6; --footer:#2f1e18;
 --season-word:'La collection d’automne et d’hiver';
}
html[data-theme="automne-hiver"] .season-nav .theme-variant[aria-pressed="true"] { background: var(--accent); }

/* barre des ambiances : les fêtes forment un petit groupe à part */
.season-nav button:not(.theme-variant) + .theme-variant { margin-left: 10px; }
.season-nav .theme-variant + button:not(.theme-variant) { margin-left: 6px; }
/* fenêtre « dans quelle saison » : petite étiquette sur les fêtes */
.season-tile-name small { display: block; font: 500 .62rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-bottom: 2px; }

/* ---------- Décors de fête : jamais sur le menu ni sur un texte ---------- */
html[data-theme$="-2"] .season-nav-label { position: relative; }
html[data-theme$="-2"] .season-art--bar { background-image: var(--event-sprig); width: 120px; height: 36px; left: calc(100% + 16px); top: 50%; transform: translateY(-50%); }
@media (min-width: 761px) { html[data-theme$="-2"] .season-art--header { display: none; } }   /* ordinateur : le brin passe dans la barre des ambiances, loin du menu */
html[data-theme$="-2"] .season-art--region-heading { top: auto; bottom: calc(100% + 4px); right: 0; }
html[data-theme$="-2"] .season-art--footer { top: -46px; }
html[data-theme$="-2"] .season-art--intro { top: auto; bottom: 0; right: 0; }
html[data-theme$="-2"] .places-page .interests .section-heading { position: relative; padding-right: 160px; }
@media (max-width: 760px) { html[data-theme$="-2"] .places-page .interests .section-heading { padding-right: 0; padding-top: 70px; } html[data-theme$="-2"] .season-art--intro { bottom: auto; top: 0; width: 64px; height: 64px; } }
/* tablette : barre des ambiances trop serrée -> le brin reste près du logo (menu replié) */
@media (min-width: 761px) and (max-width: 1099px) { html[data-theme$="-2"] .season-art--bar { display: none; } }
@media (min-width: 761px) and (max-width: 900px) { html[data-theme$="-2"] .season-art--header { display: block; } }   /* seulement quand le menu est replié */
/* réservation : petit médaillon posé sur le coin du cadre, plus de colonne à côté du texte */
@media (max-width: 1099px) {
  html[data-theme$="-2"] .booking-placeholder { position: relative; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  html[data-theme$="-2"] .season-art--booking-side { display: block; position: relative; grid-column: 1; grid-row: auto; top: auto; right: auto; bottom: auto; justify-self: center; width: 64px; height: 64px; margin-top: 2px; padding: 0; border: 0; }
}
/* sorties et restaurants : la guirlande du pied de page se pose sur le coin droit du pied de page */
html[data-theme$="-2"] .places-page .season-art--footer { top: -18px; left: auto; right: 0; transform: none; width: 150px; height: 34px; }

/* ---------- Décors renforcés (5 ambiances décorées) ---------- */
/* 1. Guirlande drapée sous la barre des ambiances, sur toutes les pages */
html[data-theme$="-2"] .season-nav { position: relative; z-index: 6; }
html[data-theme$="-2"] .season-art--drape { left: 0; right: 0; bottom: -17px; height: 32px; background: var(--event-garland) repeat-x center / auto 32px; z-index: 6; }
/* 2. Brins de part et d'autre des grands titres d'ouverture */
html[data-theme$="-2"] .home-intro-head .eyebrow { position: relative; }
html[data-theme$="-2"] .season-art--title-l,
html[data-theme$="-2"] .season-art--title-r { background-image: var(--event-sprig); width: 170px; height: 30px; top: 50%; }
html[data-theme$="-2"] .season-art--title-l { right: calc(50% + 196px); transform: translateY(-50%) scaleX(-1); }
html[data-theme$="-2"] .season-art--title-r { left: calc(50% + 196px); transform: translateY(-50%); }
/* 3. Grandes compositions dans les coins des écrans qui ont de la place */
html[data-theme$="-2"] .home-page #reserver { position: relative; overflow: clip; }
html[data-theme$="-2"] .season-art--corner-r,
html[data-theme$="-2"] .season-art--corner-l { height: min(300px, 24vw, calc(50% - 40px)); width: auto; aspect-ratio: 1; bottom: 0; z-index: 1; }
html[data-theme$="-2"] .season-art--corner-r { right: 0; background-position: right bottom; }
html[data-theme$="-2"] .season-art--corner-l { left: 0; background-position: right bottom; transform: scaleX(-1); }
html[data-theme$="-2"] .home-page .book-band-in { position: relative; z-index: 2; }
html[data-theme$="-2"] #groupes .split { position: relative; }
/* 4. Ornements existants plus généreux */
html[data-theme$="-2"] .season-art--hero { width: 440px; height: 440px; }
html[data-theme$="-2"] .season-art--collection { flex-basis: 260px; width: 260px; height: 84px; }
html[data-theme$="-2"] .season-art--groups { width: 240px; height: 56px; top: 14px; bottom: auto; }
html[data-theme$="-2"] .season-art--section-heading { width: 160px; height: 56px; }
html[data-theme$="-2"] .house-page .section > h2 { padding-right: 170px; }
html[data-theme$="-2"] .season-art--activity { width: 46px; height: 46px; top: 1px; }
html[data-theme$="-2"] .season-art--footer { width: 380px; height: 60px; top: -62px; }
html[data-theme$="-2"] .season-art--bar { width: 170px; height: 48px; }
html[data-theme$="-2"] .season-art--region-heading { width: 190px; height: 60px; }
html[data-theme$="-2"] #region .region-intro .eyebrow { min-height: 0; }
@media (max-width: 760px) {
  html[data-theme$="-2"] .season-art--drape { height: 24px; bottom: -13px; background-size: auto 24px; }
  html[data-theme$="-2"] .season-art--title-l, html[data-theme$="-2"] .season-art--title-r { display: none; }
  html[data-theme$="-2"] .season-art--corner-r, html[data-theme$="-2"] .season-art--corner-l { height: min(150px, calc(50% - 90px)); }
  html[data-theme$="-2"] .season-art--hero { width: 200px; height: 200px; }
  html[data-theme$="-2"] .season-art--collection { flex-basis: clamp(110px, 30vw, 150px); width: clamp(110px, 30vw, 150px); height: 52px; }
  html[data-theme$="-2"] .season-art--region-heading { width: clamp(70px, calc(50vw - 90px), 130px); height: 40px; }
  html[data-theme$="-2"] .season-art--bar { display: none; }
}
/* ajustements après contrôle : rien sur les points de navigation, le bouton Menu ni le choix d'ambiance */
@media (min-width: 761px) {
  html[data-theme$="-2"] .places-page .season-art--intro { right: 44px; }
  html[data-theme$="-2"] .places-page .interests .section-heading { padding-right: 200px; }
}
@media (max-width: 1099px) { html[data-theme$="-2"] .season-art--groups { width: 196px; height: 46px; top: 18px; bottom: auto; } }
@media (max-width: 760px) { html[data-theme$="-2"] .season-art--drape { bottom: -22px; height: 20px; background-size: auto 20px; } html[data-theme$="-2"] .gite-head .crumb { padding-top: 16px; } }
@media (max-width: 400px) { html[data-theme$="-2"] .season-art--header { display: none; } }

/* ---------- Variété : chaque emplacement a son propre motif ---------- */
/* motifs posés dans le fil du titre, juste après le texte (jamais par-dessus) */
html[data-theme$="-2"] .gd-sec h2,
html[data-theme$="-2"] .gite-head h1,
html[data-theme$="-2"] .dispo-head h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; }
html[data-theme$="-2"] .season-art--gd,
html[data-theme$="-2"] .season-art--name,
html[data-theme$="-2"] .season-art--divider { position: relative; flex: none; }
html[data-theme$="-2"] .season-art--name { background-image: var(--event-sprig); width: 150px; height: 44px; }
html[data-theme$="-2"] .season-art--gd { width: 120px; height: 40px; }
html[data-theme$="-2"] #presentation .season-art--gd { background-image: var(--event-sprig); }
html[data-theme$="-2"] #couchage .season-art--gd { background-image: var(--event-token); width: 46px; height: 52px; }
html[data-theme$="-2"] #equipements .season-art--gd { background-image: var(--event-garland); width: 150px; height: 30px; }
html[data-theme$="-2"] #a-savoir .season-art--gd { background-image: var(--event-art); width: 54px; height: 54px; }
html[data-theme$="-2"] .season-art--divider { background-image: var(--event-garland); width: min(320px, 80%); height: 34px; margin-top: 22px; }
/* fiches sorties / restaurants : une carte sur deux porte un brin plutôt qu'un médaillon */
html[data-theme$="-2"] .activity:nth-child(even) .season-art--activity { background-image: var(--event-sprig); width: 84px; height: 40px; top: 4px; }
/* pied de page : la guirlande pour l'accueil, un brin ailleurs */
html[data-theme$="-2"] .slides .season-art--footer { background-image: var(--event-sprig); width: 260px; height: 56px; top: -60px; }
html[data-theme$="-2"] .places-page .season-art--footer { background-image: var(--event-garland); top: -18px; width: 150px; height: 34px; }
/* accueil, écran « Réserver » : la composition à droite, le petit ornement à gauche */
html[data-theme$="-2"] .season-art--corner-l { background-image: var(--event-token); transform: none; left: 7%; height: min(210px, 16vw, calc(50% - 40px)); background-position: center bottom; }
html[data-theme="noel-2"] .season-art--corner-l,
html[data-theme="paques-2"] .season-art--corner-l { top: 0; bottom: auto; background-position: center top; }   /* boules et œufs suspendus */
@media (max-width: 760px) {
  html[data-theme$="-2"] .season-art--name { width: 96px; height: 32px; }
  html[data-theme$="-2"] .season-art--gd { width: 84px; height: 30px; }
  html[data-theme$="-2"] #couchage .season-art--gd, html[data-theme$="-2"] #a-savoir .season-art--gd { width: 36px; height: 40px; }
  html[data-theme$="-2"] #equipements .season-art--gd { width: 110px; height: 24px; }
  html[data-theme$="-2"] .season-art--divider { height: 26px; margin-top: 14px; }
  html[data-theme$="-2"] .season-art--corner-l { left: 4%; height: min(120px, calc(50% - 90px)); }
}

/* fiche maison : points forts et équipements sur le même écran */
.gd-sec--duo .gd-part + .gd-part { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.gd-sec--duo .gd-feats { gap: 14px 28px; }
@media (max-width: 760px) {
  .gd-sec--duo .gd-part + .gd-part { margin-top: 18px; padding-top: 16px; }
  .gd-sec--duo .gd-feats { gap: 10px; }
  .gd-sec--duo .gd-feats span { font-size: .84rem; }
}

/* fiche maison : « Bon à savoir » et la réservation sur le même écran */
.house-page .resa-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.house-page .resa-duo .resa-know { padding: 0; border: 0; }
.house-page .resa-duo .resa-book h2 { margin: 6px 0 16px; }
@media (max-width: 900px) {
  .house-page .resa-duo { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .house-page .resa-duo .resa-book { padding-top: 18px; border-top: 1px solid var(--line); }
}

/* ---------- Écrans longs : arrêts intermédiaires et arrêt en fin de rubrique (posés par site.js) ---------- */
[data-screen] { position: relative; }
.snap-mark { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; scroll-snap-align: start; scroll-margin-top: var(--header-h, 80px); }
.snap-mark--end { top: auto; bottom: 0; scroll-snap-align: end; scroll-margin-top: 0; scroll-margin-bottom: var(--bar-h, 0px); }
/* un peu de marge sous le contenu de chaque rubrique, avant la suivante */
.slides .slide:not(.slide--first) { padding-bottom: max(32px, 4vh); }
@media (max-width: 760px) { .slides .slide:not(.slide--first) { padding-bottom: 36px; } }

/* ---------- Téléphone : reprise générale (défilement souple, rien ne dépasse, rien n'est coupé) ---------- */
@media (max-width: 760px) {
  /* on s'arrête sur une rubrique quand on en est proche, sans être ramené de force en arrière */
  body.home-page, body.slides { scroll-snap-type: y proximity; }
  .home-page .home-screen, .slides .slide { scroll-snap-stop: normal; }
  /* « Venir à plusieurs » : la rubrique grandit avec son texte au lieu de le couper sur les petits écrans */
  .home-page #groupes { height: auto; min-height: calc(100dvh - var(--header-h, 68px)); overflow: visible; }
  .home-page #groupes .split { height: auto; min-height: calc(100dvh - var(--header-h, 68px)); }
  .home-page #groupes .split img { flex: 1 1 110px; min-height: 110px; }
  .home-page #groupes p:not(.big-num) { display: block; -webkit-line-clamp: unset; overflow: visible; }
  /* pages en diapos : le contenu occupe toute la largeur (les cartes EVJF / séminaires ne sortent plus de l'écran) */
  .slides .slide > .wrap { width: 100%; box-sizing: border-box; }
  /* fiche maison, premier écran : la photo peut se resserrer et son bouton reste toujours visible au-dessus de la barre du bas */
  /* la photo prend la place qui reste dans l'écran (au lieu de sa hauteur naturelle) : le premier écran tient en entier et le page par page reste actif */
  .house-page .gite-hero .mosaic { flex: 1 1 0; min-height: 150px; }
  .house-page .gite-hero .mosaic button:first-child { flex: 1 1 0; }
  .house-page .gite-hero .mosaic .btn.all { top: 12px; bottom: auto; }
}
@media (max-width: 340px) { .gd-rooms, .event-page #maisons-evenement .cards { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scroll-padding: 0 16px; } }

/* ---------- Fêtes (Noël, Pâques, Halloween) : des décors qui se voient et qui disent la fête ---------- */
html[data-theme="noel-2"] { --event-vignette: var(--event-token); }
html[data-theme="paques-2"], html[data-theme="halloween-2"] { --event-vignette: var(--event-art); }
/* région : le brin se range à droite du surtitre, plus jamais sur la légende de la photo */
@media (max-width: 760px) {
  html[data-theme$="-2"] .season-art--region-heading { top: 4px; bottom: auto; right: 10px; width: clamp(50px, 17vw, 78px); height: 26px; }
}
@media (max-width: 760px) {
  /* accueil : une vignette de fête au-dessus du titre (composition au centre, un brin de chaque côté) */
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .home-intro-head::before { content: ""; display: block; height: 62px; margin: 2px 0 6px; background: var(--event-vignette) center / contain no-repeat; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .season-art--title-l,
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .season-art--title-r { display: block; top: auto; bottom: calc(100% + 22px); width: min(104px, 27vw); height: 28px; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .season-art--title-l { right: calc(50% + 40px); transform: scaleX(-1); }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .season-art--title-r { left: calc(50% + 40px); transform: none; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .home-intro-head .lead { display: none; }
  /* fiche maison : la composition de la fête dans le coin de l'en-tête, à la place du petit brin */
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .house-page .gite-head { position: relative; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .house-page .gite-head::before { content: ""; position: absolute; top: 4px; right: 12px; width: 66px; height: 66px; background: var(--event-art) right top / contain no-repeat; pointer-events: none; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .house-page .season-art--name { display: none; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .house-page .gite-head h1 { padding-right: 76px; }
  /* titres de rubrique : chaque motif un peu plus grand */
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) #presentation .season-art--gd { width: 104px; height: 34px; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) #couchage .season-art--gd { width: 44px; height: 52px; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) #equipements .season-art--gd { width: 132px; height: 28px; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) #a-savoir .season-art--gd { width: 62px; height: 62px; }
}
@media (max-width: 340px) {
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .house-page .gite-head::before { width: 60px; height: 60px; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .house-page .gite-head h1 { padding-right: 62px; }
}

/* ---------- Tableau de fête (téléphone) : la composition en grand, le message écrit dans l'espace libre le long de l'illustration ---------- */
/* Les petits emplacements gardent les motifs simples (brin, ornement suspendu, guirlande), lisibles en petit. */
.fete-tableau { display: none; }
@media (max-width: 760px) {
  /* contour de chaque composition : où elle touche le bord haut (--tab-h) et le bord gauche (--tab-g) de son carré */
  html[data-theme="noel-2"] { --tab-h: 70%; --tab-g: 66%; --event-art-grand: url("decor/noel-2-768.webp"); }
  html[data-theme="paques-2"] { --tab-h: 66%; --tab-g: 70%; --event-art-grand: url("decor/paques-2-768.webp"); }
  html[data-theme="halloween-2"] { --tab-h: 72%; --tab-g: 60%; --event-art-grand: url("decor/halloween-2-768.webp"); }
  html[data-theme="ete-2"] { --tab-h: 54%; --tab-g: 72%; --event-art-grand: url("decor/ete-2-768.webp"); }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"]) .fete-tableau { display: flow-root; width: 100%; margin: 10px 0 0; text-align: left; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"]) .fete-tableau span { font: 500 italic 1.25rem/1.3 var(--serif); color: var(--accent); }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"]) .home-page .book-band .fete-tableau span { color: var(--feature-ink); }
  html[data-theme$="-2"] .house-page .resa-book .fete-tableau { margin-top: 26px; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"]) .fete-tableau::before { content: ""; float: right; width: min(76%, 300px); aspect-ratio: 1; margin-left: 4px; background: var(--event-art-grand) right bottom / contain no-repeat; shape-outside: polygon(var(--tab-h) 0, 100% 0, 100% 100%, 0 100%, 0 var(--tab-g)); shape-margin: 12px; pointer-events: none; }
  /* accueil : le tableau remplace les deux coins de l'écran « Réserver » ; la vignette du titre est l'ornement suspendu pour les trois fêtes */
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"]) .home-page .season-art--corner-r, html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"]) .home-page .season-art--corner-l { display: none; }
  html[data-theme="paques-2"], html[data-theme="halloween-2"] { --event-vignette: var(--event-token); }
  /* fiche maison : le brin revient près du nom ; la composition n'est plus montrée en vignette */
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .house-page .gite-head::before { display: none; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .house-page .season-art--name { display: block; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .house-page .gite-head h1 { padding-right: 0; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) #a-savoir .season-art--gd { background-image: var(--event-sprig); width: 104px; height: 34px; }
}
@media (max-width: 340px) { html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"]) .house-page .gite-head h1 { padding-right: 0; } }

/* ---------- Ambiances photographiques de saison (ambiances.py) : lumières de Noël, lueurs de bougies, verger flou, eau de piscine, feuillages d'automne. Jamais de motif derrière les textes. ---------- */
html[data-theme="noel-2"] { --amb: url("decor/amb-noel.webp"); }
html[data-theme="paques-2"] { --amb: url("decor/amb-paques.webp"); }
html[data-theme="halloween-2"] { --amb: url("decor/amb-halloween.webp"); }
html[data-theme="ete-2"] { --amb: url("decor/amb-ete.webp"); }
html[data-theme="automne-hiver"] { --amb: url("decor/amb-automne.webp"); }
@media (max-width: 760px) {
  html[data-theme="noel-2"] { --amb: url("decor/amb-noel-700.webp"); }
  html[data-theme="paques-2"] { --amb: url("decor/amb-paques-700.webp"); }
  html[data-theme="halloween-2"] { --amb: url("decor/amb-halloween-700.webp"); }
  html[data-theme="ete-2"] { --amb: url("decor/amb-ete-700.webp"); }
  html[data-theme="automne-hiver"] { --amb: url("decor/amb-automne-700.webp"); }
}
html[data-theme="automne-hiver"] { --event-garland: url("decor/halloween-2-sprig-640.webp"); }
/* la frise de la période (feuillage réel sur fond de lumières) au-dessus du pied de page, sur toutes les pages */
html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .site-footer::before { content: ""; display: block; height: clamp(84px, 9vw, 130px); margin: -26px 0 22px; background: var(--event-garland) center / auto 58% repeat-x, var(--amb) center / cover; border-bottom: 1px solid #ffffff2e; }
html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .season-art--footer { display: none; }
/* accueil, écran « Réserver » : les lumières de la période en fond, sous un voile sombre pour garder le texte net */
html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .home-page #reserver.book-band { background: linear-gradient(rgba(10, 12, 12, .5), rgba(10, 12, 12, .64)), var(--amb) center / cover; color: #fff8ea; }
html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .home-page #reserver.book-band strong, html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .home-page #reserver.book-band .fete-tableau span { color: #fff8ea; }
html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .home-page #reserver.book-band span { color: #f1e6d0; }
@media (max-width: 760px) {
  /* accueil : la frise ouvre la page, à la place de la petite vignette */
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .home-intro-head::before { content: ""; display: block; height: 76px; margin: 0 calc(50% - 50vw) 10px; background: var(--event-garland) center / auto 60% repeat-x, var(--amb) center / cover; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .home-intro-head .lead { display: none; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .home-page .season-art--title-l, html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .home-page .season-art--title-r, html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .home-page .season-art--drape { display: none; }
  /* Noël : le tableau montre le sapin illuminé */
  html[data-theme="noel-2"] { --tab-h: 36%; --tab-g: 97%; }
  html[data-theme="noel-2"] .fete-tableau::before { aspect-ratio: 3 / 4; width: min(52%, 30vh); background-image: url("decor/sapin.webp"); background-position: center bottom; }
}

/* ---------- Accueil sur téléphone : la maison touchée s'ouvre en grand panneau, pour que son descriptif et ses boutons soient entièrement visibles ---------- */
@media (max-width: 760px) {
  /* panneau fixe sous l'en-tête : il a toujours la hauteur de l'écran pour lui, même sur un petit téléphone */
  .home-house.is-open { position: fixed; inset: calc(var(--header-h, 68px) + 10px) 10px calc(10px + env(safe-area-inset-bottom)); z-index: 60; clip-path: none; margin: 0; border-radius: 6px; box-shadow: 0 0 0 100vmax rgba(10, 10, 8, .6); }
  .home-house.is-open::after { background: linear-gradient(180deg, rgba(10, 10, 8, .18) 0, rgba(10, 10, 8, .5) 38%, rgba(10, 10, 8, .86) 100%); }
  .home-house.is-open::before { content: "×"; position: absolute; z-index: 6; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .75); border-radius: 50%; background: rgba(10, 10, 8, .4); color: #fff; font: 300 1.5rem/1 var(--sans); pointer-events: none; }
  .home-house.is-open .home-house-more { padding: 16px 16px 18px; gap: 12px; background: none; }
  .home-house.is-open .home-house-main { gap: 8px; }
  .home-house.is-open .home-house-more h2 { font-size: 1.9rem; }
  .home-house.is-open .home-house-more .stats { font-size: .78rem; gap: 4px 14px; }
  .home-house.is-open .home-house-more .stats li:nth-child(n+3) { display: flex; }
  .home-house.is-open .home-house-more p { display: -webkit-box; font-size: .92rem; -webkit-line-clamp: 3; }
  .home-house.is-open .home-house-more p.home-house-pool { display: flex; font-size: .82rem; }
  .home-house.is-open .pool-extra { display: inline; }
  .home-house.is-open .pool-extra::before { content: " · "; }
  .home-house.is-open .home-house-points { display: grid; font-size: .86rem; }
  .home-house.is-open .home-house-actions .btn, .home-house.is-open .home-house-actions .btn.ghost { display: inline-flex; justify-content: center; flex: 1 1 0; padding: 13px 10px; font-size: .68rem; }
}

/* ---------- Noël : un thème chaleureux et lumineux (guirlande électrique, bandeau de fête avec sapins, écrans sombres baignés de lumières) ---------- */
/* fond de nuit de Noël : vert sapin profond, textes ivoire, touches d'or ; le rouge reste pour l'en-tête et les écrans forts */
html[data-theme="noel-2"] { color-scheme: dark;
  --bg: #0d231b; --card: #17382c; --ink: #f8efdc; --muted: #cdcab4; --line: #456050; --soft: #143024;
  --accent: #e7bd6a; --accent-ink: #14261d; --accent-2: #f0c98a;
  --header-bg: #6d1226; --header-ink: #fff2d4;
  --hero-bg: #123025; --hero-ink: #fff2d0; --hero-muted: #d7d7bc; --hero-accent: #e7bd6a;
  --feature-bg: #6a1626; --feature-ink: #fff0d4; --feature-muted: #ead0c4;
  --banner-bg: #8a1d31; --banner-ink: #ffe4b6; --footer: #081812; --event-metal: #c9a55a; }
/* les lumières de Noël en haut de page, sous un voile sombre, puis un fond uni : rien ne gêne la lecture */
html[data-theme="noel-2"] body { background-image: linear-gradient(rgba(13, 35, 27, .74), #0d231b 480px), var(--amb); background-size: auto, 100% auto; background-position: 0 0, center top; background-repeat: no-repeat; }
/* la guirlande de sapin décorée (ambiances.py), accrochée sous la barre des ambiances, sur toutes les pages ; elle a sa propre bande, sans rien recouvrir */
html[data-theme="noel-2"] .season-art--drape, html[data-theme="noel-2"] .home-page .season-art--drape { display: none; }
html[data-theme="noel-2"] .season-nav { position: relative; margin-bottom: clamp(54px, 7vw, 92px); }
html[data-theme="noel-2"] .season-nav::after { content: ""; position: absolute; left: calc(50% - 50vw); right: calc(50% - 50vw); top: calc(100% - 8px); height: clamp(64px, 7vw + 10px, 104px); z-index: 6; pointer-events: none;
  background: url("decor/guirlande-noel.webp") center top / auto 100% repeat-x; }
/* fiche maison : un sapin illuminé près du nom, à la place du petit brin */
html[data-theme="noel-2"] .house-page .gite-head { position: relative; }
html[data-theme="noel-2"] .house-page .gite-head .crumb { padding-top: 4px; }
html[data-theme="noel-2"] .house-page .gite-head::before { content: ""; display: block; position: absolute; right: 4px; top: 0; width: 72px; height: 96px; background: url("decor/sapin.webp") center / contain no-repeat; pointer-events: none; }
html[data-theme="noel-2"] .house-page .gite-head h1, html[data-theme="noel-2"] .house-page .gite-head .stats { padding-right: 84px; }
html[data-theme="noel-2"] .house-page .season-art--name { display: none; }
@keyframes noel-scintille { from { opacity: .62; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html[data-theme="noel-2"] .season-nav::after { animation: none; } }
/* accueil : le titre dans un bandeau de nuit de Noël, un sapin illuminé de chaque côté */
html[data-theme="noel-2"] .home-intro-head { position: relative; z-index: 0; padding: 26px 0 22px; margin-bottom: 14px; }
html[data-theme="noel-2"] .home-intro-head::before { content: ""; display: block; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); height: auto; margin: 0; border: 0;
  background: url("decor/sapin.webp") left max(3vw, calc(50vw - 610px)) bottom -4px / auto 112% no-repeat, url("decor/sapin.webp") right max(3vw, calc(50vw - 610px)) bottom -4px / auto 112% no-repeat,
    linear-gradient(rgba(8, 26, 20, .28), rgba(8, 26, 20, .5)), var(--amb) center / cover; }
html[data-theme="noel-2"] .home-intro-head h1 { color: #fff6e2; }
html[data-theme="noel-2"] .home-intro-head h1 em, html[data-theme="noel-2"] .home-intro-head .eyebrow { color: #f3cf86; }
html[data-theme="noel-2"] .home-intro-head .lead { color: #efe6d0; }
html[data-theme="noel-2"] .home-page .season-art--title-l, html[data-theme="noel-2"] .home-page .season-art--title-r { display: none; }
/* « Venir à plusieurs » : les lumières derrière le rouge de Noël */
html[data-theme="noel-2"] .home-page #groupes { background: linear-gradient(rgba(104, 18, 38, .80), rgba(66, 10, 24, .90)), var(--amb) center / cover; }
/* écran « Réserver » sur ordinateur : le sapin à droite */
html[data-theme="noel-2"] .season-art--corner-r { background-image: url("decor/sapin.webp"); aspect-ratio: 3 / 4; }
@media (max-width: 760px) {
  html[data-theme="noel-2"] .home-intro-head { padding: 84px 0 16px; margin-bottom: 10px; }
  html[data-theme="noel-2"] .home-intro-head::before { height: auto; margin: 0; background: url("decor/sapin.webp") center top 8px / auto 74px no-repeat, linear-gradient(rgba(8, 26, 20, .28), rgba(8, 26, 20, .5)), var(--amb) center / cover; }
}
/* Noël, fond sombre : les mentions d'interdiction en corail clair pour rester lisibles */
html[data-theme="noel-2"] .house-rules strong, html[data-theme="noel-2"] .rules-compact strong, html[data-theme="noel-2"] .gite-rules strong { color: #ff9f93; }
html[data-theme="noel-2"] .house-rules svg, html[data-theme="noel-2"] .rules-compact svg, html[data-theme="noel-2"] .gite-rules svg { color: #ff8f82; }
html[data-theme="noel-2"] .house-rules li { border-color: #c2675c; }

/* ================= Accueil sur téléphone : page par page strict =================
   site.js pose .pages-strict quand chaque rubrique tient dans l'écran : on ne peut alors plus s'arrêter entre deux rubriques. */
@media (max-width: 760px) and (min-height: 541px) {
  body.home-page.pages-strict, body.slides.pages-strict { scroll-snap-type: y mandatory; }
  .home-page.pages-strict .home-screen, .slides.pages-strict .slide { scroll-snap-stop: always; }
}
/* autres pages sur téléphone : les rubriques trop longues pour un écran sont découpées en plusieurs écrans, chacun centré */
@media (max-width: 760px) and (min-height: 541px) {
  body.slides #reserver.resa-duo, body.slides.event-page #pourquoi, body.slides.house-page #presentation { display: block; min-height: 0; padding: 0; scroll-snap-align: none; }
  body.slides.event-page #pourquoi .event-grid { display: block; }
  body.slides #reserver.resa-duo > :is(.resa-know, .resa-book), body.slides.event-page #pourquoi .event-grid > div, body.slides.house-page #presentation > .gd-part { min-height: calc(100dvh - var(--header-h, 68px) - var(--bar-h, 0px)); box-sizing: border-box; padding-top: 16px; padding-bottom: 16px; display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; scroll-snap-stop: always; scroll-margin-top: var(--header-h, 68px); }
  body.slides.house-page #presentation > .gd-intro { margin: 0; padding-top: 18px; scroll-snap-align: start; scroll-snap-stop: always; scroll-margin-top: var(--header-h, 68px); }
  body.slides.house-page #presentation > .gd-part:first-of-type { scroll-snap-align: none; min-height: calc(100dvh - var(--header-h, 68px) - var(--bar-h, 0px) - 84px); }
  body.slides.event-page #intro { padding-top: 18px; }
  /* photos par pièce : la liste des pièces sur deux colonnes pour tenir sur un écran */
  body.slides.house-page #photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 10px; align-content: center; padding-top: 18px; padding-bottom: 18px; }
  body.slides.house-page #photos > :not(details), body.slides.house-page #photos > details[open] { grid-column: 1 / -1; }
  body.slides.house-page #photos > .room-select { display: none; }   /* la liste sur deux colonnes suffit */
  body.slides.house-page #photos > details.room summary h3 { font-size: 1.02rem; }
  /* réserver : le message de fête sans son image, pour que l'écran tienne */
  body.slides.house-page .resa-book .fete-tableau::before { display: none; }
  body.slides.house-page .resa-book .fete-tableau { margin-top: 14px; }
}
/* premier écran de l'accueil sur téléphone : les photos des maisons d'abord, plus de bandeau décoratif au-dessus du titre (tous les thèmes) */
@media (max-width: 760px) {
  html[data-theme] .home-page .home-intro-head::before { display: none; }
  html[data-theme] .home-page .home-intro-head { padding: 6px 0 8px; margin-bottom: 8px; }
}

/* ================= Noël : de vraies photographies à la place des dessins (crédits dans les mentions légales) ================= */
html[data-theme="noel-2"] { --amb: url("decor/noel-photo-or.webp"); --tab-h: 0%; --tab-g: 0%; }
@media (max-width: 760px) { html[data-theme="noel-2"] { --amb: url("decor/noel-photo-or-700.webp"); } }
/* plus de guirlande dessinée sous le menu */
html[data-theme="noel-2"] .season-nav { margin-bottom: 0; }
html[data-theme="noel-2"] .season-nav::after { content: none; }
html[data-theme="noel-2"] body { background-image: linear-gradient(rgba(13, 35, 27, .80), #0d231b 420px), var(--amb); }
/* accueil sur ordinateur : le titre sur la photo, sans sapins */
html[data-theme="noel-2"] .home-intro-head::before { background: linear-gradient(rgba(8, 20, 16, .42), rgba(8, 20, 16, .62)), url("decor/noel-photo-rouge.webp") center 38% / cover; }
/* fiche maison : un médaillon photographié près du nom */
html[data-theme="noel-2"] .house-page .gite-head::before { top: 4px; width: 78px; height: 78px; border-radius: 50%; border: 1px solid var(--accent); box-shadow: 0 0 0 4px rgba(231, 189, 106, .16); background: url("decor/noel-photo-or-700.webp") 58% 58% / 250% auto no-repeat; }
html[data-theme="noel-2"] .house-page .gite-head h1, html[data-theme="noel-2"] .house-page .gite-head .stats { padding-right: 92px; }
/* message de fête : la photo dans une arche */
@media (max-width: 900px) {
  html[data-theme="noel-2"] .fete-tableau::before { aspect-ratio: 4 / 5; width: min(46%, 28vh); margin-left: 14px; border-radius: 999px 999px 10px 10px; border: 1px solid var(--accent); background: url("decor/noel-photo-sapin-700.webp") center 30% / cover no-repeat; }
}
html[data-theme="noel-2"] .season-art--corner-r { background: url("decor/noel-photo-sapin-700.webp") center 30% / cover no-repeat; aspect-ratio: 4 / 5; border-radius: 999px 999px 10px 10px; border: 1px solid var(--accent); }

/* fiche maison sur téléphone : liste des pièces resserrée pour que l'écran « Photos » tienne en entier (le page par page reste actif) */
@media (max-width: 760px) and (min-height: 541px) {
  body.slides.house-page #photos { padding-top: 12px; padding-bottom: 12px; }
  body.slides.house-page #photos > h2 { margin-bottom: 4px; }
  body.slides.house-page #photos > details.room:not([open]) > summary { min-height: 42px; padding-top: 5px; padding-bottom: 5px; gap: 6px; }
  body.slides.house-page #photos > details.room:not([open]) > summary h3 { font-size: .96rem; line-height: 1.12; }
  body.slides.house-page #photos > details.room:not([open]) > summary span { font-size: .7rem; }
}
/* petits téléphones : les règles de la maison quittent le premier écran (elles restent dans « Bon à savoir ») pour qu'il tienne en entier */
@media (max-width: 760px) and (min-height: 541px) and (max-height: 600px) { .house-page .gite-hero .rules-compact { display: none; } }

/* ================= Téléphone : photos à faire glisser du doigt, écrans mieux remplis ================= */
@media (max-width: 760px) {
  /* fiche maison, premier écran : on passe d'une photo à la suivante en glissant vers la gauche ; la suivante dépasse à droite.
     Le bouton « Voir les N photos » reste accroché en haut à droite pendant le glissement. */
  .house-page .gite-hero .mosaic { flex-direction: row; gap: 6px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .house-page .gite-hero .mosaic::-webkit-scrollbar { display: none; }
  .house-page .gite-hero .mosaic > button[data-lb],
  .house-page .gite-hero .mosaic > button[data-lb]:first-child { display: block; flex: 0 0 90%; width: auto; height: auto; min-height: 0; aspect-ratio: auto; scroll-snap-align: start; }
  .house-page .gite-hero .mosaic > button[data-lb]:last-of-type { scroll-snap-align: end; }
  .house-page .gite-hero .mosaic > button[data-lb] img { width: 100%; height: 100%; object-fit: cover; }
  .house-page .gite-hero .mosaic .btn.all { position: sticky; right: 12px; top: 12px; bottom: auto; align-self: flex-start; flex: 0 0 auto; box-sizing: border-box; width: 172px; margin: 12px 12px 0 -190px; justify-content: center; white-space: nowrap; z-index: 3; }
}
@media (max-width: 760px) and (min-height: 541px) {
  /* points forts : chaque atout sur sa ligne, répartis sur toute la hauteur de l'écran */
  body.slides.house-page #presentation > .gd-part .gd-feats { flex: 1 1 auto; max-height: 520px; align-content: space-evenly; gap: 0; margin-top: 8px; }
  body.slides.house-page #presentation > .gd-part .gd-feats li { align-items: center; gap: 16px; padding: 5px 0; border-bottom: 1px solid var(--line); }
  body.slides.house-page #presentation > .gd-part .gd-feats li:last-child { border-bottom: 0; }
  body.slides.house-page #presentation > .gd-part .gd-feats svg { width: 28px; height: 28px; margin-top: 0; }
  body.slides.house-page #presentation > .gd-part .gd-feats strong { font-size: 1.04rem; line-height: 1.25; }
  body.slides.house-page #presentation > .gd-part .gd-feats span { font-size: .88rem; line-height: 1.3; }
  /* équipements : des pastilles encadrées sur deux colonnes, réparties sur la hauteur */
  body.slides.house-page #equipements .gd-amen { flex: 1 1 auto; max-height: 420px; align-content: space-evenly; gap: 8px 10px; margin: 12px 0 14px; }
  body.slides.house-page #equipements .gd-amen li { min-height: 52px; padding: 8px 12px; border: 1px solid var(--line); background: var(--card); font-size: .95rem; line-height: 1.25; }
  body.slides.house-page #equipements .gd-all summary { min-height: 52px; }
  /* réserver : la carte de contact occupe l'écran, en plus grand */
  body.slides.house-page .resa-book .booking { flex: 1 1 auto; max-height: 440px; display: flex; }
  body.slides.house-page .resa-book .booking-placeholder { flex: 1; align-content: center; }
  body.slides.house-page .resa-book .booking-placeholder h3 { font-size: 1.7rem; }
  body.slides.house-page .resa-book .booking-placeholder .lead { font-size: 1.05rem; line-height: 1.6; }
  body.slides.house-page .resa-book .booking-placeholder .btn { min-height: 56px; }
  /* toutes les photos : les lignes de pièces se partagent la hauteur disponible */
  body.slides.house-page #photos:not(:has(details[open])) { height: calc(100dvh - var(--header-h, 68px) - var(--bar-h, 0px)); box-sizing: border-box; grid-template-rows: auto; grid-auto-rows: minmax(42px, 1fr); align-content: stretch; }
  body.slides.house-page #photos > details.room:not([open]) { display: grid; }
  body.slides.house-page #photos > details.room:not([open]) > summary { height: 100%; box-sizing: border-box; }
  /* EVJF / séminaires : la photo d'ouverture, la liste des atouts et les règles occupent leur écran */
  body.slides.event-page #intro .event-hero-in { flex: 1 1 auto; display: flex; flex-direction: column; }
  body.slides.event-page #intro .event-hero-in > img { flex: 1 1 90px; min-height: 90px; height: auto; object-fit: cover; }
  body.slides.event-page #pourquoi .event-grid > div :is(.highlights, .house-rules) { flex: 1 1 auto; max-height: 480px; display: flex; flex-direction: column; justify-content: space-evenly; gap: 10px; margin-bottom: 0; }
  body.slides.event-page #pourquoi .highlights li { font-size: 1.02rem; line-height: 1.45; }
  body.slides.event-page #pourquoi .house-rules li { flex: 1 1 auto; display: flex; align-items: center; }
  /* cartes des maisons (EVJF / séminaires) : texte sombre sur carte claire (il était clair sur clair, donc illisible) */
  body.slides.event-page #maisons-evenement .card, body.slides.event-page #maisons-evenement .card h3 { color: var(--ink); }
  body.slides.event-page #maisons-evenement .card p, body.slides.event-page #maisons-evenement .card li { color: var(--muted); }
  /* accueil, « venir à plusieurs » : la photo cède de la place au texte pour que l'écran tienne en entier */
  .home-page #groupes .split img { flex: 1 1 60px; min-height: 60px; }
  /* sorties / restaurants : l'ouverture en plus grand, répartie sur l'écran */
  body.slides.places-page .slide--first { justify-content: space-evenly; }
  body.slides.places-page .slide--first .section-heading h1 { font-size: 2.3rem; }
  body.slides.places-page .slide--first .section-heading .lead { font-size: 1.06rem; line-height: 1.6; }
  body.slides.places-page .slide--first .places-next { min-height: 54px; }
}

/* ================= Pages événement (EVJF…) : les activités étiquetées pour l'événement ================= */
.ev-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ev-act { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--accent); color: var(--ink); }
.ev-act-time { font: 500 .68rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.ev-act h3 { margin: 0; font-size: 1.45rem; line-height: 1.15; }
.ev-act-place { margin: 0; font-size: .86rem; color: var(--muted); }
.ev-act-txt { margin: 6px 0 0; font-size: .95rem; line-height: 1.55; }
.ev-act .activity-link { margin-top: auto; padding-top: 8px; }
.ev-acts-plus { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
#activites-evenement .collection-copy .lead { margin: 8px 0 0; }
@media (max-width: 760px) {
  /* téléphone : une activité par geste, la suivante dépasse à droite */
  .ev-acts { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 6px; scroll-padding: 0 20px; scrollbar-width: none; }
  .ev-acts::-webkit-scrollbar { display: none; }
  .ev-act { flex: 0 0 82%; scroll-snap-align: start; padding: 20px 18px 18px; min-height: max(220px, calc(100dvh - 340px)); box-sizing: border-box; justify-content: center; }
  .ev-act .activity-link { margin-top: 10px; }
  .ev-act h3 { font-size: 1.3rem; }
  .ev-act-txt { font-size: .92rem; line-height: 1.5; }
  .ev-acts-plus { margin-top: 14px; }
  .ev-acts-plus .btn { flex: 1; min-height: 46px; padding: 8px 10px; }
  #activites-evenement { padding-top: 18px; padding-bottom: 18px; }
}


/* ================= Fiche maison, premier écran : titre et chiffres, puis les photos, puis piscine, prix tout inclus et interdictions réunis ================= */
.house-page .gite-infos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; margin-top: 14px; }
.house-page .gite-infos .gite-badges { flex: 1 1 520px; flex-direction: row; flex-wrap: wrap; width: auto; gap: 8px; }
.house-page .gite-infos .gite-badges > * { flex: 1 1 250px; }
.house-page .gite-infos .rules-compact { margin: 0; }
@media (max-width: 760px) {
  .house-page .gite-infos { display: block; margin-top: 10px; }
  .house-page .gite-infos .gite-badges { display: flex; flex-direction: column; gap: 6px; margin-top: 0; }
  .house-page .gite-infos .gite-badges > * { flex: none; }
  .house-page .gite-infos .rules-compact { margin-top: 8px; }
  .house-page .gite-top { padding-bottom: 8px; }
}
/* pages événement sur ordinateur : les activités sur trois colonnes */
@media (min-width: 900px) { .ev-acts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ================= Noël, haut des fiches maison : « Nos maisons » et le nom écrits dans un bandeau photo en dégradé =================
   Le bandeau ne couvre que ces deux lignes ; les chiffres (voyageurs, chambres…) restent seuls en dessous, sur le fond uni.
   La photo (gros plan rouge et or) apparaît progressivement vers la droite. Remplace le médaillon rond. */
html[data-theme="noel-2"] .house-page .gite-titre { padding: 14px 20px 12px; margin-bottom: 12px; border-bottom: 1px solid var(--accent); text-shadow: 0 1px 10px rgba(8, 20, 16, .75);
  background: linear-gradient(90deg, #0d231b 0%, #0d231b 30%, rgba(13, 35, 27, .72) 52%, rgba(13, 35, 27, .22) 78%, rgba(13, 35, 27, 0) 100%), url("decor/noel-photo-detail.webp") right 50% / max(58%, 520px) auto no-repeat, #0d231b; }
html[data-theme="noel-2"] .house-page .gite-titre h1 { margin-bottom: 0; }
html[data-theme="noel-2"] .house-page .gite-head::before { content: none; display: none; }
html[data-theme="noel-2"] .house-page .gite-head h1, html[data-theme="noel-2"] .house-page .gite-head .stats { padding-right: 0; }
html[data-theme="noel-2"] .house-page .gite-head { width: 100%; }
@media (max-width: 760px) {
  html[data-theme="noel-2"] .house-page .gite-titre { margin: 0 -20px 10px; padding: 10px 20px 10px;
    background: linear-gradient(90deg, #0d231b 0%, #0d231b 34%, rgba(13, 35, 27, .70) 56%, rgba(13, 35, 27, .18) 82%, rgba(13, 35, 27, 0) 100%), url("decor/noel-photo-detail-700.webp") right 44% / 72% auto no-repeat, #0d231b; }   /* la photo part du bord droit de l'écran */
  html[data-theme="noel-2"] .house-page .gite-top { padding-top: 0; }
}
/* thèmes avec message de fête sous la carte : la carte de contact reprend sa taille normale, sinon l'écran « Réserver » dépasse et le page par page se coupe */
@media (max-width: 760px) and (min-height: 541px) {
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"]) body.slides.house-page .resa-book .booking { flex: 0 0 auto; max-height: none; display: block; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"]) body.slides.house-page .resa-book .booking-placeholder h3 { font-size: 1.35rem; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"]) body.slides.house-page .resa-book .booking-placeholder .lead { font-size: .95rem; line-height: 1.5; }
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"]) body.slides.house-page .resa-book .booking-placeholder .btn { min-height: 48px; }
  /* le petit ornement de la carte est retiré sur téléphone : le message de fête juste en dessous porte déjà le thème, et l'écran tient en entier */
  html[data-theme$="-2"] body.slides.house-page .resa-book .season-art--booking-side { display: none; }
}

/* ================= Choix d'ambiance rangé dans le menu (provisoire, pour passer vite d'un thème à l'autre) ================= */
.nav-ambiance { display: inline-flex; align-items: center; gap: 8px; color: var(--header-ink, var(--ink)); font: 400 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.nav-ambiance span { display: none; }
.nav-ambiance select { min-height: 34px; max-width: 116px; padding: 4px 6px; border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit; font: 400 .78rem/1.2 var(--sans); cursor: pointer; }
.nav-ambiance select option, .nav-ambiance select optgroup { color: #24211d; background: #fff; }
@media (min-width: 901px) { .nav:has(.nav-ambiance) { gap: 18px; } .nav:has(.nav-ambiance) a { white-space: nowrap; } }
@media (min-width: 901px) { .site-header:has(.nav-ambiance) .logo-name { white-space: nowrap; } }
@media (min-width: 901px) and (max-width: 1480px) { .nav:has(.nav-ambiance) { gap: 12px; } .nav:has(.nav-ambiance) a:not(.btn) { font-size: .62rem; letter-spacing: .06em; } .nav-ambiance select { max-width: 96px; } }
@media (max-width: 900px) {
  .nav-ambiance { grid-column: 1 / -1; width: 100%; box-sizing: border-box; display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1rem; letter-spacing: 0; text-transform: none; }
  .nav-ambiance span { display: inline; }
  .nav-ambiance select { min-height: 44px; max-width: none; flex: 0 1 60%; font-size: 1rem; }
}

/* ================= Fiche maison, premier écran allégé : la piscine sans cadre, le diaporama détaché du reste ================= */
.house-page .gite-infos .pool-note { padding: 0; background: none; border: 0; }
.house-page .gite-hero .mosaic { margin-top: 6px; box-shadow: 0 12px 30px rgba(0, 0, 0, .22); }
.house-page .gite-infos { margin-top: 20px; }
@media (max-width: 760px) {
  .house-page .gite-hero .mosaic { margin-top: 10px; margin-bottom: 4px; }
  .house-page .gite-infos { margin-top: 14px; }
  .house-page .gite-infos .gite-badges { gap: 10px; }
  .house-page .gite-infos .pool-note { padding: 0 2px; }
}

/* ================= Fiche maison sur téléphone : une seule photo à l'écran, des points de repère, plus de bouton sur la photo ================= */
.mosaic-points { display: none; }
@media (max-width: 760px) {
  .house-page .gite-hero .mosaic { gap: 0; }
  .house-page .gite-hero .mosaic > button[data-lb],
  .house-page .gite-hero .mosaic > button[data-lb]:first-child { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
  /* le bouton « Voir les N photos » est retiré : un toucher sur la photo l'agrandit, et la rubrique « Toutes les photos » est plus bas */
  .house-page .gite-hero .mosaic .btn.all { display: none; }
  .mosaic-points { display: flex; justify-content: center; gap: 7px; padding: 9px 0 0; }
  .mosaic-points i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .28; transition: opacity .3s, transform .3s; }
  .mosaic-points i.on { opacity: .95; transform: scale(1.3); }
  .house-page .gite-infos { margin-top: 10px; }
}
/* Noël, pied de page : le dessin de houx est retiré, le bandeau photo (boules et lumières) reste seul */
html[data-theme="noel-2"] .season-art--footer { display: none; }
html[data-theme="noel-2"] .site-footer::before { background: var(--amb) center / cover; }   /* plus de guirlande dessinée par-dessus la photo */

/* ================= Dernière photo du premier écran (téléphone) : « Voir toutes les photos » apparaît en bas à droite ================= */
.mosaic-toutes { display: none; }
@media (max-width: 760px) {
  .mosaic-toutes { display: block; position: relative; z-index: 3; align-self: flex-end; height: 38px; margin: -50px 12px 12px 0; padding: 0 14px; border: 0; border-radius: 3px;
    background: rgba(255, 253, 249, .94); color: #24211d; font: 500 .8rem/38px var(--sans); letter-spacing: .02em; cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .3s, transform .3s, visibility 0s .3s; }
  .mosaic-toutes.on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
}

/* ================= Choix d'ambiance du menu : toujours lisible, quel que soit le thème ================= */
.nav-ambiance select { background: #fffdf9; color: #24211d; border-color: rgba(36, 33, 29, .35); }
@media (max-width: 900px) { .nav-ambiance { color: var(--header-ink, var(--ink)); } }

/* ================= Halloween et Pâques : le même bandeau que Noël en haut des fiches =================
   « Nos maisons » et le nom sur le fond uni à gauche ; à droite, la composition de la fête (citrouilles et lanterne, lapin en chocolat et œufs)
   posée sur la photo d'ambiance floue du thème, et qui apparaît en dégradé. Les chiffres restent seuls en dessous. */
html:is([data-theme="halloween-2"], [data-theme="paques-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .house-page .gite-titre { padding: 14px 20px 12px; margin-bottom: 12px; border-bottom: 1px solid var(--accent);
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 30%, color-mix(in srgb, var(--bg) 72%, transparent) 50%, color-mix(in srgb, var(--bg) 18%, transparent) 74%, transparent 100%),
    var(--bandeau-art) right var(--bandeau-y, 80%) / auto var(--bandeau-h, 300%) no-repeat, var(--amb) center / cover no-repeat, var(--bg); }
html[data-theme="halloween-2"] { --bandeau-art: url("decor/halloween-2-768.webp"); --bandeau-y: 82%; --bandeau-h: 290%; }
html[data-theme="paques-2"] { --bandeau-art: url("decor/paques-2-768.webp"); --bandeau-y: 86%; --bandeau-h: 300%; }
/* essai pour les deux saisons : des fleurs (hortensias) au printemps-été, des feuilles de chêne aux couleurs d'automne en automne-hiver */
html[data-theme="ete-2"] { --bandeau-art: url("decor/ete-2-768.webp"); --bandeau-y: 62%; --bandeau-h: 300%; }
html[data-theme="automne-hiver"] { --bandeau-art: url("decor/halloween-2-sprig-640.webp"); --bandeau-y: 50%; --bandeau-h: 135%; --bandeau-h-tel: 125%; }
html:is([data-theme="halloween-2"], [data-theme="paques-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .house-page .gite-titre h1 { margin-bottom: 0; }
html:is([data-theme="halloween-2"], [data-theme="paques-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .house-page .gite-titre .season-art--name { display: none; }
html:is([data-theme="halloween-2"], [data-theme="paques-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .house-page .gite-head::before { content: none; display: none; }
html:is([data-theme="halloween-2"], [data-theme="paques-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .house-page .gite-head { width: 100%; }
html:is([data-theme="halloween-2"], [data-theme="paques-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .house-page .gite-head h1 { padding-right: 0; }
@media (max-width: 760px) {
  html:is([data-theme="halloween-2"], [data-theme="paques-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .house-page .gite-titre { margin: 0 -20px 10px; padding: 10px 20px 10px;
    background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 34%, color-mix(in srgb, var(--bg) 70%, transparent) 54%, color-mix(in srgb, var(--bg) 14%, transparent) 80%, transparent 100%),
      var(--bandeau-art) right var(--bandeau-y, 80%) / auto var(--bandeau-h-tel, 250%) no-repeat, var(--amb) right center / 72% auto no-repeat, var(--bg); }
  html:is([data-theme="halloween-2"], [data-theme="paques-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) .house-page .gite-top { padding-top: 0; }
}


/* ================= Pages événement : les activités viennent juste après « Pourquoi chez nous » =================
   Téléphone : l'écran des activités suit celui des atouts, avant les règles. Ordinateur : atouts et règles côte à côte, les activités en pleine largeur dessous. */
.event-acts h2 { margin: 0 0 6px; }
.event-acts .lead { margin: 0 0 16px; }
@media (min-width: 761px) { .event-grid > .event-acts { grid-column: 1 / -1; order: 3; margin-top: clamp(28px, 4vw, 56px); } }
@media (max-width: 760px) { .event-acts .lead { margin-bottom: 12px; font-size: .95rem; } }

/* sélecteur de vitrine du menu (provisoire) : sur ordinateur, les deux listes sont resserrées pour tenir sur la ligne */
@media (min-width: 901px) { .nav:has(.nav-vitrine) .nav-ambiance select { max-width: 104px; font-size: .72rem; } .nav:has(.nav-vitrine) { gap: 10px; } .nav:has(.nav-vitrine) a:not(.btn) { font-size: .62rem; letter-spacing: .05em; } }
@media (min-width: 901px) and (max-width: 1240px) { .nav:has(.nav-vitrine) .nav-ambiance select { max-width: 78px; } .nav:has(.nav-vitrine) a:not(.btn) { font-size: .56rem; letter-spacing: 0; } }

/* ================= Rubriques des fiches : plus de petit dessin à côté des titres, l'arrière-plan décoratif ressort à la place ================= */
html[data-theme$="-2"] .house-page .season-art--gd { display: none; }
@media (max-width: 760px) and (min-height: 541px) {
  /* points forts, équipements, bon à savoir : la photo d'ambiance du thème derrière la rubrique, sous un voile de la couleur du fond pour garder le texte lisible */
  html:is([data-theme="noel-2"], [data-theme="paques-2"], [data-theme="halloween-2"], [data-theme="ete-2"], [data-theme="automne-hiver"]) body.slides.house-page :is(#presentation > .gd-part, #reserver > .resa-know) {
    margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px;
    background: linear-gradient(color-mix(in srgb, var(--bg) 62%, transparent), color-mix(in srgb, var(--bg) 84%, transparent) 55%, color-mix(in srgb, var(--bg) 92%, transparent)), var(--amb) center top / cover no-repeat; }
  /* bon à savoir : les trois blocs se répartissent sur toute la hauteur de l'écran, séparés par un filet */
  body.slides.house-page #reserver > .resa-know .gd-know { flex: 1 1 auto; max-height: 460px; display: flex; flex-direction: column; justify-content: space-evenly; gap: 0; margin-top: 6px; }
  body.slides.house-page #reserver > .resa-know .gd-know > div { padding: 10px 0; border-top: 1px solid var(--line); }
  body.slides.house-page #reserver > .resa-know .gd-know > div:first-child { border-top: 0; }
  body.slides.house-page #reserver > .resa-know .gd-know h3 { font-size: 1.08rem; }
}
@media (max-width: 760px) and (min-height: 541px) and (max-height: 655px) {   /* petits écrans : filets sans marge, pour que « Bon à savoir » tienne en entier */
  body.slides.house-page #reserver > .resa-know .gd-know > div { padding: 3px 0; }
  body.slides.house-page #reserver > .resa-know .gd-know h3 { font-size: 1rem; margin-bottom: 6px; }
  body.slides.house-page #reserver > .resa-know .gd-know { margin-top: 0; }
}

/* ================= Prestation de vos hôtes : la décoration de fête (Noël, Pâques, Halloween) =================
   Cartes écrites par build.py à partir de version-b/periodes.json, affichées par site.js pendant l'ambiance de la fête. Elles remplacent alors le message de fête. */
.opt-fete { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 14px; align-items: center; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--accent); text-align: left; }
.opt-fete[hidden] { display: none; }
.opt-fete > * { grid-column: 1; margin: 0; }
.opt-fete small { font: 500 .66rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.opt-fete strong { font: 500 1.3rem/1.15 var(--serif); }
.opt-fete span { font-size: .9rem; line-height: 1.4; opacity: .88; }
.opt-fete em { font: 500 italic 1rem/1.3 var(--serif); color: var(--accent); }
.opt-fete a { justify-self: start; margin-top: 4px; font-size: .86rem; font-weight: 500; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.opt-fete::after { content: ""; grid-column: 2; grid-row: 1 / span 5; width: clamp(78px, 24vw, 116px); aspect-ratio: 4 / 5; background: var(--event-art-grand, none) center / contain no-repeat; }
html[data-theme="noel-2"] .opt-fete::after { border: 1px solid var(--accent); border-radius: 999px 999px 8px 8px; background: url("decor/noel-photo-sapin-700.webp") center 30% / cover no-repeat; }
html[data-theme] .a-opt-fete .fete-tableau { display: none !important; }
.home-page .book-band .opt-fete { max-width: 560px; margin-left: auto; margin-right: auto; border-color: currentColor; }
.home-page .book-band .opt-fete :is(small, em) { color: inherit; }

/* ================= Téléphone : le dernier écran occupe toute la fenêtre =================
   Avant, sa hauteur dépendait de la hauteur mesurée du pied de page : au moindre écart, un morceau de la rubrique précédente restait visible.
   Le pied de page vient ensuite, avec son propre arrêt en bas de page. */
@media (max-width: 760px) and (min-height: 541px) {
  .home-page #reserver.book-band { min-height: calc(100dvh - var(--header-h, 68px)); }
  .slides .slide--last:not(.slide--first) { min-height: calc(100dvh - var(--header-h, 68px) - var(--bar-h, 0px)); }
  .home-page .site-footer, .slides .site-footer { scroll-snap-align: end; }
}

/* ================= Accueil, écran « Réservez en direct » : le numéro des hôtes et les annonces Airbnb sont dans l'écran lui-même ================= */
.home-page .book-contact { display: grid; gap: 12px; justify-items: center; width: min(100%, 520px); margin: 0 auto; }
.home-page .book-contact .btn { width: 100%; justify-content: center; }
.home-page .book-band .btn.book-tel { background: transparent; color: inherit; border-color: currentColor; }
.home-page .book-band .btn.book-tel:hover { background: var(--feature-ink); color: var(--feature-bg); }
.home-page .book-band .book-airbnb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin: 6px 0 0; }
.home-page .book-band .book-airbnb span { flex: 1 1 100%; font: 500 .7rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: inherit; opacity: .85; }
.home-page .book-band .book-airbnb a { padding: 9px 14px; border: 1px solid currentColor; border-radius: 999px; color: inherit; font: 400 .9rem/1.2 var(--sans); text-decoration: none; }
.home-page .book-band .book-airbnb a:hover { background: var(--feature-ink); color: var(--feature-bg); }
@media (max-width: 760px) {
  .home-page .book-band-in { gap: 16px; }
  .home-page .book-contact { gap: 10px; }
  .home-page .book-contact .btn { min-height: 52px; padding-top: 12px; padding-bottom: 12px; }
  .home-page .book-band .book-airbnb a { padding: 8px 12px; font-size: .86rem; }
}
/* accueil sur téléphone, thèmes de fête : la carte de la prestation de fête est resserrée (titre, mention et lien ; le détail reste sur les fiches)
   pour que le numéro et les annonces Airbnb tiennent dans le même écran */
@media (max-width: 760px) {
  .home-page .book-band .opt-fete { margin-top: 6px; padding-top: 14px; padding-bottom: 12px; row-gap: 3px; }
  .home-page .book-band .opt-fete > span { display: none; }
  .home-page .book-band .opt-fete::before { min-height: 62px; margin-top: -14px; }
  html[data-theme$="-2"] .home-page .book-band p > span { font-size: .95rem; }
}

/* ================= « Où vous dormirez » sur téléphone : photos de chambre au format paysage (4/3), plus larges que hautes =================
   Elles étaient étirées en hauteur pour remplir l'écran, ce qui rognait la pièce. On garde le défilement de droite à gauche. */
@media (max-width: 760px) {
  body.slides.house-page #couchage { justify-content: center; }   /* bloc centré dans l'écran */
  .house-page #couchage .gd-rooms { flex: 0 0 auto; max-height: none; align-items: flex-start; }
  .house-page #couchage .gd-room { flex: 0 0 84%; display: block; }
  .house-page #couchage .gd-room-img { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .house-page #couchage .gd-room-img img { height: 100%; aspect-ratio: auto; }
  .house-page #couchage .gd-room h3 { margin-top: 12px; font-size: 1.15rem; }
  .house-page #couchage .gd-room p { font-size: .95rem; }
}
/* accueil sur téléphone : la phrase d’accroche ne touche plus les bords de l'écran */
@media (max-width: 760px) { .home-page .home-intro-head .lead { padding: 0 14px; } }

/* ================= Téléphones autres qu'iPhone (Android) : défilement classique =================
   Les rubriques gardent leur mise en page d'un écran, mais on ne s'arrête plus automatiquement sur chacune. Posé par site.js (classe « sans-pages »). */
@media (max-width: 760px) {
  html.sans-pages body.home-page, html.sans-pages body.slides,
  html.sans-pages body.home-page.pages-strict, html.sans-pages body.slides.pages-strict { scroll-snap-type: none; scroll-behavior: auto; }
  html.sans-pages .snap-mark { display: none; }
}
