/*
Theme Name: La Baronnie
Theme URI: https://www.facebook.com/ChezellesGrandcourt
Author: Gîte Manoir la Baronnie
Description: Thème bloc sur mesure du Gîte Manoir la Baronnie, à Grandcourt. Tout le contenu est en blocs natifs, modifiable dans l'éditeur.
Version: 1.0.27
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: la-baronnie
Tags: block-theme, full-site-editing, one-column
*/

/* Mise en page relevée sur nike.com, typographies sur chateaudelarnagol.fr,
   palette beige / orange / ocre choisie par la cliente.
   Règle de conversion : chaque bloc porte la classe du composant de la maquette
   (className). Le CSS d'un bloc étant imprimé APRÈS cette feuille, toute règle
   qui contredit un style de bloc doit être plus spécifique (voir blocs-gutenberg.md). */

:root {
  --fond: #ffffff;
  --sable: #f5eee4;
  --surface: #ece1d1;
  --surface-2: #e3d3bc;
  --encre: #2f2419;
  --texte-doux: #76644f;
  --filet: #e0d2be;
  --champ: #cdbba3;
  --orange: #f2922e;
  --orange-texte: #a85e14;
  --ocre: #c8963e;
  --ocre-fonce: #8c5f18;
  --clair: #fbf7f1;
  --sur-sombre: #cbbba5;
  --filet-sombre: #4a3a2b;

  --titre: Urbanist, 'Helvetica Neue', Arial, sans-serif;
  --texte: Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --marge: 48px;
  --gouttiere: 12px;
  --entete: 68px;
  --utilitaire: 36px;

  --fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --chevron-g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E");
  --chevron-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
  --coeur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.1 5.3 3 1.7-1.9 3.2-3 5.3-3 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E");
  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}

/* ——— Base ——— */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; } /* height:auto obligatoire : sinon l'attribut height des blocs image l'emporte sur aspect-ratio */
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote { margin: 0; }
p { text-wrap: pretty; }
button, input, textarea, select { font: inherit; color: inherit; }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* Neutralisation de l'espacement automatique, à spécificité nulle (blockGap est déjà à 0 dans theme.json) */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-block-quote { margin: 0; padding: 0; border: 0; }

/* ——— Typographie de titre ——— */
.display {
  font-family: var(--titre);
  font-weight: 300;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: 0;
  hyphens: none;
  text-wrap: balance;
}
.centre { text-align: center; }
.libelle, :is(h1, h2) > em {
  font-family: var(--titre);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ocre-fonce);
}
/* Le petit libellé placé dans un H1 / H2 est un <em> nu (format natif, donc valide dans l'éditeur) */
:is(h1, h2) > em { display: block; margin-bottom: 18px; }
.visuellement-cache {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.lien-souligne, .lien-souligne a { border-bottom: 1px solid currentColor; transition: color .2s; }
.lien-souligne:hover, .lien-souligne a:hover { color: var(--orange-texte); }

/* ——— Boutons : pilules (blocs core/button, et .btn pour les formulaires) ——— */
.btn,
.wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  min-height: 44px;
  border: 0;
  border-radius: 30px;
  font-family: var(--titre);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
/* Texte brun sur orange (contraste 6,4:1 ; le blanc ne faisait que 2,4:1) : choix de Sandrine, audit SEO du 27/11/2026 */
.btn.btn-plein, .wp-block-button.btn-plein .wp-block-button__link { background: var(--orange); color: var(--encre); font-weight: 700; }
.btn.btn-plein:hover, .wp-block-button.btn-plein .wp-block-button__link:hover { background: var(--encre); color: var(--orange); }
.btn.btn-sombre, .wp-block-button.btn-sombre .wp-block-button__link { background: var(--encre); color: var(--clair); }
.btn.btn-sombre:hover, .wp-block-button.btn-sombre .wp-block-button__link:hover { background: #4a3a2b; }
.btn.btn-clair, .wp-block-button.btn-clair .wp-block-button__link { background: var(--clair); color: var(--encre); }
.btn.btn-clair:hover, .wp-block-button.btn-clair .wp-block-button__link:hover { background: var(--surface-2); }
.btn.btn-grand, .wp-block-button.btn-grand .wp-block-button__link { min-height: 56px; padding: 16px 36px; }

.wp-block-buttons.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.wp-block-buttons.actions.centre { justify-content: center; }

/* ——— En-tête : la partie de modèle entière colle en haut, la barre utilitaire sort de l'écran ——— */
header.wp-block-template-part {
  position: sticky;
  top: calc(var(--utilitaire) * -1);
  z-index: 50;
  transition: transform .35s ease;
}
.admin-bar header.wp-block-template-part { top: calc(32px - var(--utilitaire)); }
header.wp-block-template-part.cache { transform: translateY(-100%); }

.utilitaire {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--utilitaire);
  padding: 0 var(--marge);
  background: var(--encre);
  color: var(--clair);
  font-family: var(--titre);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.wp-block-list.utilitaire-liens { display: flex; list-style: none; margin: 0; padding: 0; }
.utilitaire-liens li + li::before { content: '|'; margin: 0 14px; color: #6b5845; }
.utilitaire-liens a:hover { color: var(--orange); }

.entete {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--entete);
  padding: 0 var(--marge);
  background: var(--fond);
}
.logo { display: inline-flex; flex-direction: column; justify-self: start; }
.logo-sur {
  font-family: var(--titre);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ocre-fonce);
  margin-bottom: 5px;
}
.logo-nom {
  font-family: var(--titre);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
.entete-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }

/* Menu : core/navigation */
.wp-block-navigation.nav { gap: 26px; font-family: var(--titre); }
.wp-block-navigation.nav .wp-block-navigation-item__content {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.wp-block-navigation.nav .wp-block-navigation-item__content:hover { border-color: var(--orange); color: var(--orange-texte); }
.wp-block-navigation.nav .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation.nav .wp-block-navigation-item__content[aria-current="page"] { border-color: var(--orange); }
.wp-block-navigation.nav .wp-block-navigation__responsive-container-open,
.wp-block-navigation.nav .wp-block-navigation__responsive-container-close { color: var(--encre); }
/* Panneau mobile : sans ceci il s'ouvre blanc sur blanc (le CSS du bloc est imprimé après cette feuille) */
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--encre) !important;
  color: var(--clair) !important;
  padding: 32px var(--marge) !important;
}
.wp-block-navigation.nav .is-menu-open .wp-block-navigation__responsive-container-close { color: var(--clair); }
.wp-block-navigation.nav .is-menu-open .wp-block-navigation__container { gap: 6px; }
.wp-block-navigation.nav .is-menu-open .wp-block-navigation-item__content {
  font-size: 34px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
  border: 0;
}
.wp-block-navigation.nav .is-menu-open .wp-block-navigation-item__content:hover { color: var(--orange); }

/* ——— Héros : diaporama bord à bord (fondu, zoom glissé, barres de progression créées par le script) ——— */
.heros { position: relative; overflow: hidden; background: var(--encre); }
.heros-diapos { position: relative; height: min(84vh, 800px); min-height: 420px; will-change: transform; }
.wp-block-image.diapo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.wp-block-image.diapo.active { opacity: 1; z-index: 2; }
.wp-block-image.diapo.sortie { opacity: 0; z-index: 1; }
.wp-block-image.diapo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.14);
}
.wp-block-image.diapo:first-child img { object-position: 50% 15%; }
/* Cadrage d'une photo de têtière, réglable dans l'éditeur : bloc Image > Avancé > Classes CSS « cadrage-haut » ou « cadrage-bas » */
.heros .wp-block-image.diapo.cadrage-haut img { object-position: 50% 15%; }
.heros .wp-block-image.diapo.cadrage-bas img { object-position: 50% 65%; }
.diapo:nth-child(4n+1) { --dx: 2%; --dy: 1%; }
.diapo:nth-child(4n+2) { --dx: -2.5%; --dy: 0%; }
.diapo:nth-child(4n+3) { --dx: 2%; --dy: -1.5%; }
.diapo:nth-child(4n) { --dx: -1.5%; --dy: 1.5%; }
.wp-block-image.diapo.active img, .wp-block-image.diapo.sortie img { animation: zoom-glisse 7.6s cubic-bezier(.25,.6,.35,1) forwards; }
@keyframes zoom-glisse {
  from { transform: scale(1.14) translate(var(--dx, 0), var(--dy, 0)); }
  to   { transform: scale(1.02) translate(0, 0); }
}
.heros::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  z-index: 3;
  background: linear-gradient(to top, rgba(47,36,25,.55), rgba(47,36,25,0));
  pointer-events: none;
}
.wp-block-image.diapo figcaption {
  position: absolute;
  left: var(--marge);
  bottom: 44px;
  z-index: 4;
  margin: 0;
  color: var(--clair);
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  text-align: left;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s ease .5s, transform .8s ease .5s;
}
.wp-block-image.diapo.active figcaption { opacity: 1; transform: none; }
.heros-barres { position: absolute; right: var(--marge); bottom: 48px; z-index: 5; display: flex; gap: 8px; }
.heros-barre { width: 56px; height: 20px; padding: 9px 0; border: 0; background: none; cursor: pointer; }
.heros-barre i { position: relative; display: block; height: 2px; background: rgba(251,247,241,.4); overflow: hidden; }
.heros-barre i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}
.heros-barre.active i::after { animation: progression var(--duree, 6s) linear forwards; }
.heros-barre.vue i::after { transform: scaleX(1); background: var(--clair); }
@keyframes progression { to { transform: scaleX(1); } }

.intro { padding: 56px var(--marge) 96px; text-align: center; }
.intro-texte { max-width: 640px; margin: 24px auto 0; font-size: 18px; color: var(--texte-doux); }

/* ——— Cartes par deux ——— */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gouttiere);
  padding: 0 var(--marge);
  margin-bottom: var(--gouttiere);
}
.carte { position: relative; overflow: hidden; color: var(--clair); }
.wp-block-image.carte-photo { aspect-ratio: 1 / 1.08; overflow: hidden; background: var(--surface); }
.wp-block-image.carte-photo a { display: block; height: 100%; }
.wp-block-image.carte-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.carte:hover .wp-block-image.carte-photo img { transform: scale(1.05); }
.wp-block-image.carte-photo.cadre-bas img { object-position: 50% 85%; }
.carte::after {
  content: '';
  position: absolute;
  inset: 40% 0 0 0;
  background: linear-gradient(to top, rgba(47,36,25,.7), rgba(47,36,25,0));
  pointer-events: none;
}
/* le texte laisse passer le clic vers la photo liée, sauf le bouton */
.carte-texte { position: absolute; left: 48px; right: 48px; bottom: 48px; z-index: 1; pointer-events: none; }
.carte-texte .wp-block-button__link { pointer-events: auto; }
.carte-label {
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.carte-titre {
  font-family: var(--titre);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0;
  margin-bottom: 24px;
}

/* ——— Bandeau pleine largeur ——— */
.bandeau { position: relative; margin-top: 96px; color: var(--clair); overflow: hidden; }
.wp-block-image.bandeau-photo { height: 760px; overflow: hidden; }
.wp-block-image.bandeau-photo img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.bandeau::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(47,36,25,.72) 0%, rgba(47,36,25,.18) 55%, rgba(47,36,25,0) 100%);
  pointer-events: none;
}
.bandeau-texte { position: absolute; left: var(--marge); right: var(--marge); bottom: 56px; z-index: 1; }
.bandeau .display { color: var(--clair); }
.bandeau-texte > p { margin-top: 18px; font-size: 18px; max-width: 560px; }

/* ——— Sections sombres ——— */
.sombre { background: var(--encre); color: var(--clair); }
.sombre .display { color: var(--clair); }
.sombre .libelle, .sombre :is(h1, h2) > em { color: var(--orange); }
.sombre .section-texte { color: var(--sur-sombre); }

/* ——— Rails (chambres, avis) : les flèches sont ajoutées par le script ——— */
.chambres { padding: 112px 0 96px; background: var(--sable); }
.rail-tete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px var(--marge) 20px;
}
.rail-tete p { font-family: var(--titre); font-size: 20px; font-weight: 400; }
.fleches { display: flex; gap: 12px; flex-shrink: 0; }
.fleche {
  width: 48px;
  height: 48px;
  border: 1px solid var(--champ);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.fleche::before {
  content: '';
  width: 22px;
  height: 22px;
  background: var(--encre);
  -webkit-mask: var(--chevron-d) center / contain no-repeat;
  mask: var(--chevron-d) center / contain no-repeat;
}
.fleche.prec::before { -webkit-mask-image: var(--chevron-g); mask-image: var(--chevron-g); }
.fleche:hover { background: var(--orange); border-color: var(--orange); }
.fleche:hover::before { background: #ffffff; }
.fleche:disabled { opacity: .35; cursor: default; background: transparent; border-color: var(--champ); }
.fleche:disabled::before { background: var(--encre); }

/* Bouton « haut de page » (créé par app.js) : rond orange fixé en bas à droite, visible après un écran de défilement */
.haut-de-page {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 6px 18px rgba(47,36,25,.25);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, background-color .2s;
}
.haut-de-page.visible { opacity: 1; visibility: visible; transform: none; }
.haut-de-page::before {
  content: '';
  width: 22px;
  height: 22px;
  background: #ffffff;
  -webkit-mask: var(--chevron-g) center / contain no-repeat;
  mask: var(--chevron-g) center / contain no-repeat;
  transform: rotate(90deg);
  transition: transform .2s;
}
.haut-de-page:hover { background: var(--encre); }
.haut-de-page:hover::before { background: var(--orange); transform: rotate(90deg) translateX(-2px); }
@media (max-width: 680px) {
  .haut-de-page { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; }
}
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--marge) - 2 * var(--gouttiere)) / 2.6);
  gap: var(--gouttiere);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--marge);
  padding: 0 var(--marge) 24px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.wp-block-image.produit-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); margin-bottom: 18px; }
.wp-block-image.produit-photo a { display: block; height: 100%; }
.wp-block-image.produit-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.produit:hover .wp-block-image.produit-photo img { transform: scale(1.05); }
.produit-nom { font-family: var(--titre); font-size: 22px; font-weight: 400; line-height: 1.3; letter-spacing: 0; }
.produit-detail { color: var(--texte-doux); }

/* ——— Équipements ——— */
.equipements { padding: 120px var(--marge) 120px; }
.section-texte { max-width: 620px; margin: 20px auto 0; font-size: 18px; color: var(--texte-doux); }
.vignettes { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gouttiere); margin-top: 56px; }
.wp-block-image.vignette { overflow: hidden; }
.wp-block-image.vignette img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.wp-block-image.vignette:hover img { transform: scale(1.06); }
.wp-block-image.vignette figcaption {
  margin: 14px 0 0;
  color: inherit;
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-align: center;
}
.et-aussi { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 56px; }
.et-aussi .wp-block-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.et-aussi li { padding: 6px 16px; border: 1px solid var(--filet-sombre); border-radius: 30px; font-size: 15px; transition: border-color .2s, color .2s; }
.et-aussi li:hover { border-color: var(--orange); color: var(--orange); }

/* ——— Tarifs ——— */
.tarifs { padding: 128px var(--marge) 128px; }
.tarifs-corps { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: stretch; margin-top: 64px; }
.wp-block-image.tarifs-photo { overflow: hidden; min-height: 640px; }
.wp-block-image.tarifs-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.tarifs-droite { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.liste-tarifs { width: 100%; border-top: 1px solid var(--encre); }
.ligne-tarif {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 28px;
  align-items: center;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--filet);
  transition: background-color .25s, padding .25s;
}
.ligne-tarif::after {
  content: '';
  width: 24px;
  height: 24px;
  background: var(--encre);
  -webkit-mask: var(--fleche) center / contain no-repeat;
  mask: var(--fleche) center / contain no-repeat;
  transition: transform .25s, background-color .25s;
}
.ligne-tarif:hover::after { transform: translateX(6px); background: var(--orange-texte); }
@media (hover: hover) and (min-width: 681px) {
  .ligne-tarif:hover { background: var(--surface); padding-left: 20px; }
}
.ligne-nom { display: flex; flex-direction: column; }
.tarif-periode { font-family: var(--titre); font-size: 28px; font-weight: 300; line-height: 1.25; letter-spacing: 0; }
.tarif-periode a::after { content: ''; position: absolute; inset: 0; } /* toute la ligne est cliquable */
.tarif-detail { color: var(--texte-doux); }
.tarif-prix {
  font-family: var(--titre);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-texte);
  white-space: nowrap;
}
.inclus { margin: 40px 0 32px; }
.inclus .libelle { margin-bottom: 14px; }
.inclus .wp-block-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.inclus li { padding: 6px 16px; border: 1px solid var(--champ); border-radius: 30px; font-size: 15px; }
.inclus-note { color: var(--texte-doux); margin-top: 16px; }
.tarifs-droite .wp-block-buttons { margin-top: 0; }

/* ——— Avis ——— */
.avis { padding: 112px 0 96px; background: var(--surface); }
.avis-tete { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; padding: 0 var(--marge); }
.avis-note {
  font-family: var(--titre);
  font-weight: 300;
  font-size: 168px;
  line-height: .9;
  letter-spacing: 0;
  margin-top: 20px;
}
.etoiles { color: var(--ocre); font-size: 20px; line-height: 1; letter-spacing: 4px; }
.avis-score .etoiles { margin: 18px 0 12px; font-size: 28px; }
.avis-sous { font-size: 18px; color: var(--texte-doux); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 18px 8px 10px;
  border-radius: 30px;
  background: var(--clair);
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.badge::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--orange);
  -webkit-mask: var(--coeur) center / contain no-repeat;
  mask: var(--coeur) center / contain no-repeat;
}
.criteres { display: grid; gap: 16px; }
.critere { display: grid; grid-template-columns: 140px 1fr 40px; align-items: center; gap: 18px; }
.critere-nom {
  grid-area: 1 / 1;
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.critere-note { grid-area: 1 / 3; font-family: var(--titre); font-size: 20px; font-weight: 500; text-align: right; }
/* La jauge est dessinée en CSS : le script lit la note et règle --v */
.critere::before {
  content: '';
  grid-area: 1 / 2;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--orange) calc(var(--v, 1) * 100%), var(--surface-2) 0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1) .2s;
}
.criteres.vu .critere::before { transform: scaleX(1); }

.avis .rail-tete { padding-top: 72px; }
.temoignage { display: flex; flex-direction: column; background: var(--clair); }
.wp-block-image.temoignage-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.wp-block-image.temoignage-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.temoignage:hover .wp-block-image.temoignage-photo img { transform: scale(1.05); }
.temoignage-corps { display: flex; flex-direction: column; flex: 1; padding: 32px 36px 36px; }
.temoignage-texte {
  margin: 18px 0 28px;
  font-family: var(--titre);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}
.temoignage-auteur { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  font-family: var(--titre);
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}
.temoignage:nth-child(3n+2) .avatar { background: var(--ocre-fonce); color: var(--clair); }
.temoignage:nth-child(3n) .avatar { background: var(--encre); color: var(--orange); }
.auteur-nom { font-family: var(--titre); font-size: 17px; font-weight: 600; line-height: 1.2; }
.auteur-info { font-size: 14px; line-height: 1.7rem; color: var(--texte-doux); }
.temoignage .etoiles { line-height: 22px; }

/* ——— Région ——— */
.region { padding: 120px var(--marge) 120px; }
.region.sombre .trio-carte p { color: var(--sur-sombre); }
.region-titre { font-family: var(--titre); font-size: 40px; font-weight: 300; line-height: 1.15; letter-spacing: 0; margin-bottom: 28px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gouttiere); }
.wp-block-image.trio-photo { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 18px; }
.wp-block-image.trio-photo a { display: block; height: 100%; }
.wp-block-image.trio-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.trio-carte:hover .wp-block-image.trio-photo img { transform: scale(1.05); }
.trio-carte h3 { font-family: var(--titre); font-size: 24px; font-weight: 400; line-height: 1.3; }
.trio-carte p { color: var(--texte-doux); max-width: 420px; }

/* ——— Situation : carte (chargée au clic, RGPD) et itinéraire ——— */
.situation { padding: 128px var(--marge) 128px; }
.situation-cadre { display: grid; grid-template-columns: minmax(360px, 460px) minmax(0, 1fr); min-height: 640px; }
.situation-cadre > * { min-width: 0; }
.carte-geo { position: relative; display: block; width: 100%; height: 100%; min-height: 640px; border: 0; background: var(--surface); }
.carte-geo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.carte-consentement {
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--encre) var(--fond-carte, none) center / cover no-repeat;
  text-align: center;
}
.carte-consentement::before { content: ''; position: absolute; inset: 0; background: rgba(47,36,25,.62); }
.carte-consentement-contenu { position: relative; max-width: 420px; color: var(--clair); }
.carte-consentement-contenu p + p { margin-top: 10px; }
.carte-consentement .libelle { color: var(--orange); }
.carte-consentement .btn { margin-top: 22px; }
.carte-consentement-contenu .lien-souligne { display: inline-block; margin-top: 16px; font-size: 14px; }
.situation-panneau { order: -1; display: flex; flex-direction: column; justify-content: center; padding: 56px 48px; background: var(--sable); }
.situation-panneau .display { font-size: 48px; margin: 0 0 18px; }
.situation-adresse { color: var(--texte-doux); }
.itineraire { margin-top: 28px; }
.itineraire label { display: block; margin-bottom: 8px; }
.itineraire-ligne { display: flex; gap: 8px; }
.itineraire-ligne input {
  flex: 1;
  min-width: 0;
  padding: 12px 20px;
  border: 1px solid var(--champ);
  border-radius: 30px;
  background: var(--clair);
}
.itineraire-ligne input:focus { outline: none; border-color: var(--orange); }
.raccourcis { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
.raccourcis a {
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--champ);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.raccourcis a:hover { color: var(--orange-texte); border-color: var(--orange); }

/* ——— Contact ——— */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; padding: 128px var(--marge) 128px; background: var(--sable); }
.contact-infos > p { margin-top: 24px; font-size: 18px; max-width: 460px; color: var(--texte-doux); }
.coordonnees { margin: 40px 0 0; display: grid; gap: 22px; }
.coord-terme {
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ocre-fonce);
}
.coord-valeur { margin-top: 4px; }
.coord-valeur a { border-bottom: 1px solid var(--encre); }
.coord-valeur a:hover { color: var(--orange-texte); border-color: var(--orange); }

/* Formulaire Contact Form 7 : le gabarit du formulaire porte les classes .champ / .champ-large */
/* (le paragraphe automatique de CF7 est désactivé dans functions.php : le gabarit garde ses div.champ) */
.formulaire, .wpcf7-form.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ-large { grid-column: 1 / -1; }
.champ label {
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.wpcf7-form-control-wrap { display: block; }
.champ input, .champ textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--champ);
  border-radius: 8px;
  background: var(--clair);
  font: inherit;
  color: var(--encre);
  transition: border-color .2s;
}
.champ textarea { resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--orange); }
.formulaire-note { font-size: 14px; color: var(--texte-doux); }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: var(--orange-texte); }
.wpcf7 form .wpcf7-response-output { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border: 1px solid var(--champ); border-radius: 8px; font-family: var(--titre); }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--orange); }
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7-spinner { display: none; }
/* Anti-spam : champ piège hors de l'écran (inc/antispam.php), widget Turnstile sur toute la largeur */
.pot-de-miel { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.wpcf7-turnstile { grid-column: 1 / -1; }

/* ——— Pied de page ——— */
.pied { background: var(--encre); color: var(--clair); padding: 72px var(--marge) 32px; border-top: 1px solid var(--filet-sombre); }
.pied-haut { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.logo-pied { align-self: start; }
.logo-pied .logo-nom { font-size: 52px; }
.logo-pied .logo-sur { color: var(--orange); font-size: 11px; }
.pied-titre {
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.wp-block-list.pied-liens { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pied-liens a { color: #bfae98; transition: color .2s; }
.pied-liens a:hover { color: var(--orange); }
.pied-bas {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 72px;
  padding-top: 24px;
  padding-right: 64px; /* place du bouton « haut de page » */
  border-top: 1px solid #4a3a2b;
  font-size: 13px;
  color: #bfae98;
}
.pied-bas a:hover { color: var(--orange); }

/* ================================================================
   Pages intérieures
   ================================================================ */
.section-tete { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-tete .section-texte { margin-top: 20px; }

.heros-page .heros-diapos { height: min(66vh, 640px); min-height: 400px; }
.heros-page::after { height: 70%; background: linear-gradient(to top, rgba(47,36,25,.75), rgba(47,36,25,0)); }
.heros-titre { position: absolute; left: var(--marge); right: var(--marge); bottom: 56px; z-index: 5; color: var(--clair); }
.heros-titre .display { color: var(--clair); font-size: 72px; max-width: 920px; }
.heros-titre :is(h1, h2) > em { color: var(--orange); }
.ariane {
  margin-bottom: 20px;
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.ariane a { opacity: .8; margin-right: 10px; transition: opacity .2s, color .2s; }
.ariane a::after { content: '›'; margin-left: 10px; }
.ariane a:hover { opacity: 1; color: var(--orange); }

.chapeau { display: grid; grid-template-columns: 1.35fr 1fr; gap: 80px; align-items: end; padding: 104px var(--marge); }
.chapeau-texte { font-family: var(--titre); font-size: 30px; font-weight: 300; line-height: 1.4; letter-spacing: 0; }
.chapeau-texte + p { margin-top: 20px; color: var(--texte-doux); }
.chiffres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
.chiffres > .wp-block-group { border-top: 1px solid var(--encre); padding-top: 16px; }
.chiffre-valeur { font-family: var(--titre); font-size: 60px; font-weight: 300; line-height: 1; letter-spacing: 0; }
.chiffres.mots .chiffre-valeur { font-size: 38px; letter-spacing: 0; }
.chiffre-libelle {
  margin-top: 10px;
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ocre-fonce);
}

.recit { display: grid; gap: 136px; padding: 24px var(--marge) 128px; }
.recit-ligne { display: grid; grid-template-columns: 1.15fr 1fr; gap: 88px; align-items: center; scroll-margin-top: 100px; }
.recit-ligne:nth-child(even) .recit-photos { order: 2; }
.recit-photos { position: relative; }
.recit-photos > .wp-block-image:first-child img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wp-block-image.photo-encart {
  position: absolute;
  right: -32px;
  bottom: -64px;
  width: 44%;
  border: 10px solid var(--fond);
  box-shadow: 0 24px 50px rgba(47,36,25,.22);
}
.wp-block-image.photo-encart img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.recit-ligne:nth-child(even) .wp-block-image.photo-encart { right: auto; left: -32px; }
/* Calendrier des disponibilités ([baronnie_disponibilites]) : nuits libres sur fond sable, réservées barrées */
.dispo { max-width: 940px; margin: 0 auto; }
.dispo-tete { display: flex; justify-content: flex-end; gap: 12px; margin-bottom: 8px; }
.dispo-mois-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.dispo-mois { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.dispo-mois[hidden] { display: none; }
.dispo-mois caption { padding: 0 4px 14px; font-family: var(--titre); font-size: 26px; font-weight: 300; text-align: left; }
.dispo-mois th { padding: 4px 0 8px; font-family: var(--titre); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--texte-doux); }
.dispo-mois abbr { text-decoration: none; }
.dispo-mois td { height: 46px; border-radius: 6px; text-align: center; font-size: 15px; }
.dispo-mois td.libre { background: var(--sable); color: var(--encre); }
.dispo-mois td.pris { background: var(--surface-2); color: var(--texte-doux); text-decoration: line-through; }
.dispo-mois td.passe { color: var(--champ); }
.dispo-mois td.aujourdhui { box-shadow: inset 0 0 0 2px var(--orange); }
.dispo-legende { display: flex; justify-content: center; gap: 28px; margin-top: 32px; font-size: 14px; color: var(--texte-doux); }
.dispo-legende span::before { content: ''; display: inline-block; width: 16px; height: 16px; margin-right: 8px; border-radius: 4px; vertical-align: -3px; }
.dispo-legende .libre::before { background: var(--sable); }
.dispo-legende .pris::before { background: var(--surface-2); }
.dispo-note { margin-top: 10px; text-align: center; font-size: 14px; color: var(--texte-doux); }
.disponibilites .wp-block-buttons { margin-top: 40px; }
@media (max-width: 680px) {
  .dispo-mois-liste { grid-template-columns: minmax(0, 1fr); }
  .dispo-mois { border-spacing: 3px; }
  .dispo-mois td { height: 40px; font-size: 14px; }
}

/* Deux photos côte à côte sous le texte d'une partie (groupe « photos-texte »), quand la grande photo ne doit pas être masquée */
.photos-texte { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.photos-texte > .wp-block-image { margin: 0; overflow: hidden; }
.photos-texte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 1080px) {
  .recit .recit-photos:not(:has(.photo-encart)) { margin-right: 0; } /* pas de petite photo : pas de place à lui réserver */
}
@media (max-width: 680px) {
  .photos-texte { gap: 10px; margin-top: 24px; }
}
.recit-texte .display { font-size: 48px; margin-bottom: 22px; }
.recit-texte > .libelle { margin-bottom: 18px; }
.recit-texte p + p { margin-top: 14px; }
.recit-texte > p:not(.libelle):not(.encart) { color: var(--texte-doux); }
.wp-block-list.points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 28px; }
.points li::before { content: ''; position: absolute; left: 0; top: .85em; width: 16px; height: 2px; background: var(--orange); }
.fiche { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 28px 0 0; }
.fiche > .wp-block-group { padding: 14px 0; border-top: 1px solid var(--filet); }
.fiche-terme {
  font-family: var(--titre);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ocre-fonce);
}
.recit-texte .fiche-valeur { margin-top: 4px; color: var(--encre); }
.recit-texte .wp-block-buttons.actions { margin-top: 32px; }

.encart { margin-top: 28px; padding: 20px 24px; background: var(--sable); border-left: 3px solid var(--orange); }
.encart strong { display: block; font-family: var(--titre); font-weight: 600; margin-bottom: 4px; }
.sombre .encart { background: rgba(251,247,241,.06); }

.bloc { padding: 120px var(--marge); }
.bloc.clair { background: var(--sable); }
.cartes-trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gouttiere); }
.carte-info { padding: 36px 32px 40px; background: var(--sable); }
.bloc.clair .carte-info { background: var(--fond); }
.sombre .carte-info { background: rgba(251,247,241,.06); }
.carte-info h3 { font-family: var(--titre); font-size: 26px; font-weight: 400; line-height: 1.25; margin: 14px 0 10px; }
.carte-info p:not(.libelle) { color: var(--texte-doux); }
.sombre .carte-info p:not(.libelle) { color: var(--sur-sombre); }
.occasions { max-width: 760px; margin: 72px auto 0; text-align: center; }
.occasions .libelle { margin-bottom: 18px; }
.wp-block-list.pastilles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pastilles li { padding: 8px 18px; border: 1px solid var(--champ); border-radius: 30px; }
.sombre .pastilles li { border-color: var(--filet-sombre); }

/* Galerie : groupe d'images liées au fichier, ouvertes en plein écran par le script */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: var(--gouttiere); }
.galerie > .wp-block-image { position: relative; overflow: hidden; background: var(--surface); }
.galerie > .wp-block-image:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.galerie > .wp-block-image a { display: block; height: 100%; }
.galerie > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.galerie > .wp-block-image:hover img { transform: scale(1.06); }
/* Galerie de 5 photos sur tablette (3 colonnes) : la dernière s'élargit pour ne pas laisser de case vide */
@media (min-width: 681px) and (max-width: 1080px) {
  .galerie > .wp-block-image:nth-child(5):last-child { grid-column: span 2; }
}
.galerie > .wp-block-image a::after {
  content: '';
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .25s, transform .25s;
}
.galerie > .wp-block-image a::before {
  content: '';
  position: absolute;
  right: 25px;
  bottom: 25px;
  z-index: 1;
  width: 18px;
  height: 18px;
  background: #ffffff;
  -webkit-mask: var(--plus) center / contain no-repeat;
  mask: var(--plus) center / contain no-repeat;
  opacity: 0;
  transition: opacity .25s;
}
.galerie > .wp-block-image a:hover::after, .galerie > .wp-block-image a:focus-visible::after { opacity: 1; transform: none; }
.galerie > .wp-block-image a:hover::before, .galerie > .wp-block-image a:focus-visible::before { opacity: 1; }

.visionneuse {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 72px 96px;
  background: rgba(30,22,15,.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.visionneuse.ouverte { opacity: 1; visibility: visible; }
.visionneuse figure { margin: 0; text-align: center; }
.visionneuse img { max-width: 100%; max-height: calc(100vh - 190px); object-fit: contain; margin: 0 auto; }
.visionneuse figcaption {
  margin-top: 18px;
  color: var(--clair);
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.visionneuse button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(251,247,241,.35);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.visionneuse button::before {
  content: '';
  width: 22px;
  height: 22px;
  background: var(--clair);
  -webkit-mask: var(--chevron-d) center / contain no-repeat;
  mask: var(--chevron-d) center / contain no-repeat;
}
.visionneuse .v-prec::before { -webkit-mask-image: var(--chevron-g); mask-image: var(--chevron-g); }
.visionneuse .v-fermer::before { -webkit-mask-image: var(--plus); mask-image: var(--plus); transform: rotate(45deg); }
.visionneuse button:hover { background: var(--orange); border-color: var(--orange); }
.visionneuse .v-fermer { top: 20px; right: 20px; }
.visionneuse .v-prec { left: 24px; top: 50%; margin-top: -26px; }
.visionneuse .v-suiv { right: 24px; top: 50%; margin-top: -26px; }
.visionneuse .v-compteur { position: absolute; top: 34px; left: 28px; color: var(--sur-sombre); font-size: 14px; }

/* Étapes de réservation */
.etapes { counter-reset: etape; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gouttiere); }
.etapes > .wp-block-group { padding: 36px 32px 40px; background: var(--fond); }
.etapes > .wp-block-group::before {
  counter-increment: etape;
  content: counter(etape, decimal-leading-zero);
  display: block;
  font-family: var(--titre);
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  color: var(--orange);
}
.etapes h3 { font-family: var(--titre); font-size: 24px; font-weight: 400; margin: 18px 0 8px; }
.etapes p { color: var(--texte-doux); }

/* Conditions */
.conditions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.conditions > .wp-block-group { padding-top: 16px; border-top: 1px solid var(--filet-sombre); }
.cond-terme {
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--orange);
}
.cond-valeur { margin-top: 8px; font-family: var(--titre); font-size: 30px; font-weight: 300; color: var(--clair); line-height: 1.2; }
.cond-texte { margin-top: 4px; color: var(--sur-sombre); }

/* Questions fréquentes : core/details */
.faq { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--encre); }
.faq .wp-block-details { border-bottom: 1px solid var(--filet); }
.faq .wp-block-details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 4px;
  font-family: var(--titre);
  font-size: 22px;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
}
.faq .wp-block-details summary::-webkit-details-marker { display: none; }
.faq .wp-block-details summary::after { content: '+'; flex-shrink: 0; font-size: 30px; font-weight: 300; line-height: 1; color: var(--orange-texte); transition: transform .3s; }
.faq .wp-block-details[open] summary::after { transform: rotate(45deg); }
.faq .wp-block-details p { max-width: 720px; padding: 0 4px 26px; color: var(--texte-doux); }

/* Bande d'appel finale */
.appel { padding: 120px var(--marge); text-align: center; }
.appel .display { max-width: 820px; margin: 0 auto; }
.appel > p { max-width: 560px; margin: 20px auto 0; color: var(--texte-doux); font-size: 18px; }
.appel.sombre > p { color: var(--sur-sombre); }

/* Page simple (mentions légales, 404) */
.page-simple { padding: 88px var(--marge) 72px; background: var(--sable); }
.page-simple .ariane { color: var(--texte-doux); }
.texte-legal { max-width: 860px; margin: 0 auto; padding: 88px var(--marge) 128px; }
.texte-legal h2 { font-family: var(--titre); font-size: 30px; font-weight: 400; letter-spacing: 0; margin: 56px 0 14px; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p + p { margin-top: 12px; }
.texte-legal a { border-bottom: 1px solid currentColor; }
/* Champs à compléter : format « code » natif (valide dans l'éditeur), surligné */
.texte-legal code { padding: 1px 8px; border-radius: 4px; background: #fde8d1; color: var(--orange-texte); font-family: inherit; font-size: inherit; font-weight: 500; }

/* ——— Apparition au défilement : le script pose .rv puis .vu ——— */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.vu { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wp-block-image.diapo.active img, .wp-block-image.diapo.sortie img { animation: none; transform: none; }
  .heros-barre.active i::after { animation: none; transform: scaleX(1); }
  .rv { opacity: 1; transform: none; transition: none; }
  .critere::before { transform: none; transition: none; }
}

/* ——— Tablette ——— */
@media (max-width: 1080px) {
  :root { --marge: 32px; }
  .entete { grid-template-columns: 1fr auto auto; gap: 16px; }
  /* le menu passe en panneau dès 1080 px (le bloc le fait à 600 px seulement) */
  .wp-block-navigation.nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .wp-block-navigation.nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .wp-block-navigation.nav { order: 3; }
  .vignettes { grid-template-columns: repeat(3, 1fr); }
  .tarifs-corps { grid-template-columns: 1fr; gap: 40px; }
  .wp-block-image.tarifs-photo { min-height: 0; aspect-ratio: 3 / 2; }
  .avis-tete { grid-template-columns: 1fr; gap: 48px; }
  .situation-cadre { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .situation-panneau { order: 1; }
  .carte-geo { min-height: 460px; height: 460px; }
  .rail { grid-auto-columns: calc((100% - 2 * var(--marge) - var(--gouttiere)) / 1.6); }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .pied-haut { grid-template-columns: 1fr 1fr 1fr; }
  .logo-pied { grid-column: 1 / -1; }
  .chapeau { grid-template-columns: 1fr; gap: 48px; }
  .recit-ligne { grid-template-columns: 1fr; gap: 72px; }
  .recit-ligne:nth-child(even) .recit-photos { order: 0; }
  .recit-photos { margin-right: 32px; }
  .recit-ligne:nth-child(even) .wp-block-image.photo-encart { left: auto; right: -32px; }
  .cartes-trois, .etapes { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: repeat(3, 1fr); }
  .conditions { grid-template-columns: repeat(2, 1fr); }
}

/* ——— Téléphone ——— */
@media (max-width: 782px) {
  .admin-bar header.wp-block-template-part { top: calc(46px - var(--utilitaire)); }
}
@media (max-width: 680px) {
  :root { --marge: 16px; --entete: 60px; }
  .display { font-size: 44px; }
  .logo-nom { font-size: 24px; }
  .utilitaire-gauche { display: none; }
  .utilitaire { justify-content: center; font-size: 10px; letter-spacing: .12em; }
  .utilitaire-liens li { white-space: nowrap; }
  .utilitaire-liens li + li::before { margin: 0 9px; }
  .entete-actions .wp-block-button .wp-block-button__link { padding: 8px 16px; min-height: 40px; }
  .heros-diapos { height: 62vh; min-height: 380px; }
  .wp-block-image.diapo figcaption { bottom: 52px; font-size: 11px; letter-spacing: .24em; }
  .heros-barres { left: var(--marge); right: auto; bottom: 22px; }
  .heros-barre { width: 40px; }
  .intro { padding: 36px var(--marge) 64px; }
  .intro-texte { font-size: 16px; }
  .duo { grid-template-columns: 1fr; }
  .wp-block-image.carte-photo { aspect-ratio: 4 / 5; }
  .carte-texte { left: 24px; right: 24px; bottom: 24px; }
  .carte-titre { font-size: 28px; }
  .bandeau { margin-top: 72px; }
  .wp-block-image.bandeau-photo { height: 620px; }
  .bandeau-texte { bottom: 32px; }
  .rail-tete { padding-top: 28px; }
  .rail-tete p { font-size: 17px; }
  .fleches { display: none; }
  .rail { grid-auto-columns: 84%; }
  .chambres { padding: 80px 0 64px; }
  .equipements, .tarifs, .region, .situation { padding-top: 80px; padding-bottom: 80px; }
  .vignettes { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .et-aussi { margin-top: 40px; }
  .tarifs-corps { margin-top: 40px; }
  .wp-block-image.tarifs-photo { aspect-ratio: 4 / 3; }
  .ligne-tarif { grid-template-columns: 1fr 24px; gap: 4px 16px; padding: 20px 4px; }
  .ligne-tarif .tarif-prix { grid-row: 2; }
  .ligne-tarif::after { grid-row: 1 / 3; grid-column: 2; }
  .tarif-periode { font-size: 24px; }
  .tarifs-droite .wp-block-buttons, .tarifs-droite .wp-block-button { width: 100%; }
  .tarifs-droite .wp-block-button.btn-grand .wp-block-button__link { width: 100%; white-space: normal; text-align: center; }
  .avis { padding: 80px 0 64px; }
  .avis-note { font-size: 120px; }
  .critere { grid-template-columns: 110px 1fr 34px; gap: 12px; }
  .critere-nom { font-size: 11px; letter-spacing: .14em; }
  .avis .rail-tete { padding-top: 48px; }
  .temoignage-corps { padding: 24px; }
  .temoignage-texte { font-size: 20px; }
  .trio { grid-template-columns: 1fr; gap: 32px; }
  .wp-block-image.trio-photo { aspect-ratio: 4 / 3; }
  .region-titre { font-size: 32px; }
  .carte-geo { min-height: 380px; height: 380px; }
  .situation-panneau { padding: 32px 20px; }
  .situation-panneau .display { font-size: 40px; }
  .contact { padding: 80px var(--marge); }
  .formulaire, .wpcf7-form.formulaire { grid-template-columns: 1fr; }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .logo-pied .logo-nom { font-size: 40px; }
  .pied-bas { flex-direction: column; padding-right: 0; }
  .heros-page .heros-diapos { height: 56vh; min-height: 360px; }
  .heros-titre { bottom: 32px; }
  .heros-titre .display { font-size: 40px; }
  .ariane { font-size: 10px; letter-spacing: .18em; margin-bottom: 12px; }
  .chapeau { padding: 64px var(--marge); }
  .chapeau-texte { font-size: 22px; }
  .chiffre-valeur { font-size: 44px; }
  .recit { gap: 96px; padding-bottom: 88px; }
  .recit-ligne { gap: 56px; }
  .recit-photos { margin-right: 16px; }
  .wp-block-image.photo-encart, .recit-ligne:nth-child(even) .wp-block-image.photo-encart { right: -16px; bottom: -40px; border-width: 6px; }
  .recit-texte .display { font-size: 36px; }
  .fiche { grid-template-columns: 1fr; }
  .bloc, .appel { padding: 80px var(--marge); }
  .galerie { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .galerie > .wp-block-image:nth-child(7n+1) { grid-row: span 1; }
  .galerie > .wp-block-image a::after, .galerie > .wp-block-image a::before { opacity: 1; transform: none; }
  .galerie > .wp-block-image a::after { width: 32px; height: 32px; right: 8px; bottom: 8px; }
  .galerie > .wp-block-image a::before { width: 14px; height: 14px; right: 17px; bottom: 17px; }
  .visionneuse { padding: 64px 12px; }
  .visionneuse .v-prec, .visionneuse .v-suiv { top: auto; bottom: 18px; margin: 0; }
  .visionneuse .v-prec { left: calc(50% - 64px); }
  .visionneuse .v-suiv { right: calc(50% - 64px); }
  .conditions { grid-template-columns: 1fr; }
  .faq .wp-block-details summary { font-size: 19px; }
  .page-simple { padding: 56px var(--marge) 48px; }
  .texte-legal { padding: 56px var(--marge) 88px; }
}
@media (max-width: 600px) {
  .admin-bar header.wp-block-template-part { top: calc(var(--utilitaire) * -1); }
}
