/*
Theme Name: Casa Augusta
Theme URI: https://casa-augusta.fr
Author: Casa Augusta
Description: Thème bloc sur mesure pour Casa Augusta, chambres avec piscine à Riez (Verdon). Construit depuis la maquette validée, 100 % blocs natifs.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: casa-augusta
Tags: block-theme, full-site-editing, one-column
*/
/* Casa Augusta — maquette (phase 2)
   Registre : Riad Lumière (références 3 et 4). Couleurs prélevées sur l'image. */
/* Police des titres choisie par la cliente (fichier fourni). Elle n'a ni accents ni apostrophe :
   les titres sont écrits sans accents ; l'apostrophe et le trait d'union retombent sur Jost. */
/* Police du texte choisie par la cliente (fichier fourni, graisse Medium uniquement) :
   elle sert pour toutes les graisses du texte (300 à 500), sans graisse simulée. */
:root {
  --moka:   #A19D83;   /* fond de page : sauge (26/11/2026, échange avec les cartes ; avant lin #F1ECE2) */
  --nuit:   #5A5642;   /* cartes : olive (26/11/2026, échange avec le fond) */
  --nuit-2: #54503D;
  --fumee:  #6E6A54;   /* halo, reflets */
  --sable:  #A19D83;   /* bouton, clair */
  --sable-2:#8E8A70;   /* bouton, foncé */
  --pierre: #F1ECE2;   /* titres et textes */
  --encre:  #101010;   /* pilules */
  --pilule: #102018;
  --eteint: #44584B;

  --titre: "Jost", "Futura", sans-serif;
  --titre-deco: "Retrospective", "Jost", sans-serif;   /* titres h1, h2, h3, mot géant, noms des cartes */
  --texte: "Avenir", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --marge: clamp(14px, 3.2vw, 58px);     /* marge autour des cartes */
  --rayon: clamp(28px, 3.4vw, 56px);     /* rayon des cartes */
  --rayon-photo: clamp(22px, 2.8vw, 46px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--moka);
  color: var(--pierre);
  font: 300 17px/1.6 var(--texte);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ul { margin: 0; padding: 0; }
:root h1, :root h2, :root h3, :root p, :root figure, :root ul { margin: 0; }
ul { list-style: none; }
/* ---------- Carte sombre (l'objet de la référence) ---------- */
.carte {
  position: relative;
  margin: 0 var(--marge) var(--marge);
  border-radius: var(--rayon);
  background:
    linear-gradient(118deg, transparent 38%, rgba(255,255,255,.045) 50%, transparent 63%),
    radial-gradient(ellipse 60% 55% at 62% 48%, rgba(110, 106, 84,.85), transparent 70%),
    linear-gradient(165deg, var(--nuit-2), var(--nuit) 60%);
  box-shadow: 0 40px 80px -30px rgba(10, 18, 13, .55);
  overflow: hidden;
}
:root .carte { margin: 0 var(--marge) var(--marge); }
/* ---------- Typographie ---------- */
.titre-hero, .titre-xl, .titre-l, .mot-geant, .legende, .carte-photo__nom, .num, .chiffre {
  font-family: var(--titre);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.titre-hero, .titre-xl, .titre-l, .mot-geant { font-weight: 400; letter-spacing: -.025em; }
.titre-hero, .titre-xl, .titre-l, .mot-geant, .trio__titre, .panneau__titre, .carte-photo__nom {
  font-family: var(--titre-deco); font-weight: 400; letter-spacing: 0;
}
.titre-hero { font-size: clamp(44px, 5.6vw, 92px); line-height: 1.02; color: var(--pierre); }
.titre-xl { font-size: clamp(36px, 5vw, 84px);   line-height: 1.04; color: #F1ECE2; }
.titre-l { font-size: clamp(34px, 4vw, 66px);   line-height: 1.04; color: var(--pierre); }
.surtitre {
  font: 400 13px/1 var(--texte);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(241, 236, 226, .72);
  margin-bottom: 22px;
}
:root .surtitre { margin-bottom: 22px; }
.chapo { font-size: 18px; color: rgba(241, 236, 226, .82); max-width: 520px; }
.num { font-size: clamp(26px, 2.2vw, 36px); line-height: 1; color: rgba(255,255,255,.38); display: block; }
.legende { font-size: clamp(24px, 2.2vw, 38px); line-height: 1; color: #F1ECE2; display: block; }
/* ---------- Pilules et boutons ---------- */
.pilule > .wp-block-button__link {
  display: inline-flex; align-items: center;
  padding: 13px 26px;
  border-radius: 999px;
  background: rgba(16, 32, 24, .85);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.04);
  font: 400 14px/1 var(--texte);
  text-transform: uppercase;
  color: #E2DDD3;
  white-space: nowrap;
  transition: background .25s, color .25s;
}
.pilule > .wp-block-button__link:hover { background: #24382C; color: #fff; }
.pilule--encre > .wp-block-button__link { background: var(--encre); color: #fff; padding: 16px 30px; }
.pilule--encre > .wp-block-button__link:hover { background: #000; }
/* page Réserver : reste noir */
.pilule--contour > .wp-block-button__link { background: transparent; box-shadow: inset 0 0 0 1px rgba(241, 236, 226,.3); }
.bouton > .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 64px; padding: 0 44px;
  border: 0; border-radius: 999px;   /* essai : même effet que « Découvrir les chambres » (contour, rempli au survol) */
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(241, 236, 226, .45);
  font: 500 16px/1 var(--texte);
  text-transform: uppercase;
  color: #F1ECE2;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.bouton > .wp-block-button__link:hover { background: #F1ECE2; color: #25332B; }
/* ---------- En-tête ---------- */
/* Même grille que l'accueil (20 % / 80 %) : le logo reste dans la bande sombre,
   le menu commence sur la photo. */
/* Logo : la boîte a la hauteur des pilules (46 px), l'image déborde au-dessus et en dessous
   pour rester centrée sur la même ligne que le menu et « Réserver ». */
/* Le logo est livré en blanc pur : on l'adoucit pour qu'il prenne le blanc de la palette.
   En-tête : opacité .8 sur le fond sombre ≈ Pierre #EDE8DF, la couleur des titres. */
/* 7 boutons (Accueil compris) : plus serrés entre 1321 et 1480 px, pour ne pas toucher « Réserver » */
/* Sélecteur de langue : petit rond discret, même trait fin que les cercles de la référence */
/* ---------- Accueil : photo 80 %, texte posé dessus ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 4fr;
  height: min(980px, calc(100vh - var(--marge)));
  min-height: 640px;
  margin-top: var(--marge);
}
:root .hero { margin-top: var(--marge); }
.hero__photo {
  position: relative;
  margin: 10px 10px 10px 0;
  border-radius: var(--rayon-photo);
  overflow: hidden;
  background: #8F8B75;
}
:root .hero__photo { margin: 10px 10px 10px 0; }
.slide { display: none; }
.slide.is-active { display: block; }
.carte-split__photo { position: relative; }
/* la grille l'étire : pas de height 100 %, sinon les marges la font déborder */
.hero__photo .slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 1.4s ease; }
.hero__photo .slide.is-active { opacity: 1; }
.hero__photo .slide::after {      /* voile pour la lisibilité du texte posé dessus */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(8, 14, 10,.4), transparent 24%),
    linear-gradient(to top, rgba(8, 14, 10,.78) 0%, rgba(8, 14, 10,.35) 38%, transparent 62%),
    linear-gradient(to right, rgba(8, 14, 10,.45), transparent 55%);
}
.hero__photo .slide img { transform: scale(1.07); transition: transform 7s linear; }
.hero__photo .slide.is-active img { transform: scale(1); }
.hero__photo img, .carte-split__photo img { width: 100%; height: 100%; object-fit: cover; }
.carte-split__photo .legende-slide {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 120px 40px 40px;
  background: linear-gradient(to top, rgba(8, 14, 10,.72), transparent);
}
.hero__photo .legende-slide {
  position: absolute; z-index: 1; right: clamp(28px, 3vw, 52px); bottom: clamp(32px, 3.6vw, 64px);
  text-align: right;
}
.hero__texte {
  position: absolute; z-index: 2;
  left: clamp(28px, 4vw, 76px); bottom: clamp(32px, 3.6vw, 64px);
  max-width: 82%;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero .titre-hero { font-size: clamp(48px, 6.4vw, 104px); line-height: .98; color: #DEDEDE; }
.sous-titre { margin: 26px 0 40px; font-size: 20px; color: #E6E3DF; font-weight: 300; }
:root .sous-titre { margin: 26px 0 40px; }
/* ---------- Barre de réservation ---------- */
.barre {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  align-items: center;
  gap: 0;
  padding: 14px 14px 14px 20px;
  border-radius: 999px;
}
.champ { display: flex; flex-direction: column; gap: 6px; padding: 8px 34px; border-right: 1px solid rgba(241, 236, 226,.12); }
.champ:nth-child(3) { border-right: 0; }
.champ__nom { font: 400 12px/1 var(--texte); text-transform: uppercase; letter-spacing: .14em; color: rgba(241, 236, 226,.5); }
.champ input, .champ select {
  appearance: none; -webkit-appearance: none;
  border: 0; padding: 0; background: transparent;
  font: 300 22px/1.2 var(--titre); text-transform: uppercase; color: var(--pierre);
  color-scheme: dark; cursor: pointer;
}
.champ select option { background: var(--nuit); }
.barre .bouton > .wp-block-button__link { border-radius: 999px; min-height: 68px; }
/* ---------- Intro sur le moka ---------- */
.intro {
  padding: clamp(80px, 10vw, 170px) var(--marge) clamp(90px, 10vw, 170px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.intro__texte { max-width: 640px; margin: 40px 0 90px; font-size: 19px; color: rgba(255,255,255,.88); }
:root .intro__texte { margin: 40px 0 90px; }
.intro__texte:has(+ .intro__texte) { margin-bottom: 0; }
:root .intro__texte:has(+ .intro__texte) { margin-bottom: 0; }
/* deux paragraphes à la suite (accueil) : espace de paragraphe */
.intro__texte + .intro__texte { margin-top: 1em; }
:root .intro__texte + .intro__texte { margin-top: 1em; }
/* ---------- Partager : lien Instagram posé sur le fond, entre « L'état d'esprit » et le livre d'or (27/11/2026, demande) ---------- */
.insta-bande { display: flex; justify-content: center; padding: clamp(14px, 2vw, 26px) var(--marge) clamp(40px, 5vw, 64px); text-align: center; }
.insta-lien { margin: 0; font-size: 19px; }
:root .insta-lien { margin: 0; }
.insta-lien a { display: inline-flex; align-items: center; gap: 14px; color: #25332B; text-decoration: none; transition: opacity .25s; }
.insta-lien a::before { content: ""; flex: none; width: 30px; height: 30px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.2c3.2 0 3.6 0 4.8.1 3.3.1 4.8 1.7 4.9 4.9.1 1.3.1 1.6.1 4.8s0 3.6-.1 4.8c-.1 3.2-1.7 4.8-4.9 4.9-1.3.1-1.6.1-4.8.1s-3.6 0-4.8-.1c-3.3-.1-4.8-1.7-4.9-4.9C2.2 15.6 2.2 15.2 2.2 12s0-3.6.1-4.8C2.4 3.9 3.9 2.4 7.2 2.3 8.4 2.2 8.8 2.2 12 2.2zM12 0C8.7 0 8.3 0 7.1.1 2.7.3.3 2.7.1 7.1 0 8.3 0 8.7 0 12s0 3.7.1 4.9c.2 4.4 2.6 6.8 7 7 1.2.1 1.6.1 4.9.1s3.7 0 4.9-.1c4.4-.2 6.8-2.6 7-7 .1-1.2.1-1.6.1-4.9s0-3.7-.1-4.9c-.2-4.4-2.6-6.8-7-7C15.7 0 15.3 0 12 0zm0 5.8a6.2 6.2 0 1 0 0 12.4 6.2 6.2 0 0 0 0-12.4zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.4-11.8a1.4 1.4 0 1 0 0 2.9 1.4 1.4 0 0 0 0-2.9z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.2c3.2 0 3.6 0 4.8.1 3.3.1 4.8 1.7 4.9 4.9.1 1.3.1 1.6.1 4.8s0 3.6-.1 4.8c-.1 3.2-1.7 4.8-4.9 4.9-1.3.1-1.6.1-4.8.1s-3.6 0-4.8-.1c-3.3-.1-4.8-1.7-4.9-4.9C2.2 15.6 2.2 15.2 2.2 12s0-3.6.1-4.8C2.4 3.9 3.9 2.4 7.2 2.3 8.4 2.2 8.8 2.2 12 2.2zM12 0C8.7 0 8.3 0 7.1.1 2.7.3.3 2.7.1 7.1 0 8.3 0 8.7 0 12s0 3.7.1 4.9c.2 4.4 2.6 6.8 7 7 1.2.1 1.6.1 4.9.1s3.7 0 4.9-.1c4.4-.2 6.8-2.6 7-7 .1-1.2.1-1.6.1-4.9s0-3.7-.1-4.9c-.2-4.4-2.6-6.8-7-7C15.7 0 15.3 0 12 0zm0 5.8a6.2 6.2 0 1 0 0 12.4 6.2 6.2 0 0 0 0-12.4zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.4-11.8a1.4 1.4 0 1 0 0 2.9 1.4 1.4 0 0 0 0-2.9z'/></svg>") center / contain no-repeat; }
.insta-lien a:hover { opacity: .7; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 560px) {
.insta-lien { font-size: 17px; }
.insta-lien a { gap: 12px; }
}
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); width: min(1180px, 100%); }
.chiffres > .chiffre-item { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 20px; }
.chiffres > .chiffre-item + .chiffre-item { border-left: 1px solid rgba(255,255,255,.22); }
.chiffre { font-size: clamp(54px, 6.4vw, 108px); line-height: .9; color: #F1ECE2; }
.chiffre__txt { font: 400 13px/1.3 var(--texte); text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.72); }
/* ---------- Sections centrées + cartes photo (Chambres, Séjourner) ---------- */
.section-centree {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(70px, 8vw, 130px) clamp(16px, 2.4vw, 40px) clamp(60px, 6vw, 100px);
}
.section-centree .chapo { margin: 26px 0 70px; }
:root .section-centree .chapo { margin: 26px 0 70px; }
.grille-cartes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  width: 100%;
}
.carte-photo {
  position: relative; display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--rayon-photo);
  overflow: hidden;
}
.carte-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.carte-photo:hover img { transform: scale(1.05); }
.carte-photo__verre {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 22px 24px 24px;
  border-radius: calc(var(--rayon-photo) - 10px);
  background: rgba(10, 18, 13, .48);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  text-align: left;
}
.carte-photo__nom { font-size: clamp(22px, 1.8vw, 30px); line-height: 1; color: #fff; }
.carte-photo__info { font-size: 14px; color: rgba(255,255,255,.72); }
.carte-photo .num { font-size: 22px; }
/* Découvrir : étiquette deux fois plus haute, pour un vrai paragraphe sur chaque lieu */
.grille-cartes--detail .carte-photo { aspect-ratio: 3 / 4.4; }
/* toutes les étiquettes d'une rangée ont la même hauteur : elles commencent à la même ligne */
.grille-cartes--detail .carte-photo__verre { gap: 10px; padding: 26px 26px 28px; top: max(44%, calc(100% - 280px)); }
@media (max-width: 1240px) {
.grille-cartes--detail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
.grille-cartes--detail { grid-template-columns: 1fr; }
.grille-cartes--detail .carte-photo { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 560px) {
.grille-cartes--detail .carte-photo { aspect-ratio: 3 / 4.4; }
.grille-cartes--detail .carte-photo__verre { top: auto; }
}
.carte-photo__texte { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.8); }
.section-centree > .wp-block-buttons { margin-top: 48px; }
:root .section-centree > .wp-block-buttons { margin-top: 48px; }
/* ---------- Séjourner ---------- */
.sejour .chapo { margin-bottom: 44px; }
:root .sejour .chapo { margin-bottom: 44px; }
.sejour .titre-l { white-space: nowrap; }
/* titre sur une seule ligne */
/* Pastilles sur une seule ligne. Si l'écran est trop étroit (téléphone), la rangée défile au doigt
   au lieu de passer à la ligne ; « safe center » évite de couper la première pastille. */
.services {
  display: flex; flex-wrap: nowrap; justify-content: safe center; gap: 8px;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
  padding: 6px 4px 16px; margin-bottom: 54px;
}
:root .services { margin-bottom: 54px; }
.services::-webkit-scrollbar { display: none; }
.services li { flex: none; }
@media (max-width: 1320px) {
.services li { padding: 11px 18px; font-size: 13px; }
}
/* 7 pastilles (Séjourner) : plus compactes sous 1320 px, pour tenir sur une ligne */
.services li { cursor: default; }
/* ---------- Découvrir ---------- */
.decouvrir { height: min(1000px, 92vh); min-height: 700px; padding: 10px; }
.decouvrir__fond { position: relative; height: 100%; border-radius: var(--rayon-photo); overflow: hidden; }
.decouvrir__fond .slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 1.4s ease; }
.decouvrir__fond .slide.is-active { opacity: 1; }
.decouvrir__fond img { width: 100%; height: 100%; object-fit: cover; }
.decouvrir__fond .slide img { transform: scale(1.07); transition: transform 7s linear; }
.decouvrir__fond .slide.is-active img { transform: scale(1); }
.decouvrir__fond .slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 14, 10,.38), transparent 55%);
}
.mot-geant {
  position: absolute; z-index: 1; left: clamp(20px, 3vw, 56px); top: 50%;
  transform: translateY(-50%);
  font-size: clamp(120px, 17.5vw, 320px); line-height: .82; letter-spacing: -.02em;
  color: #DEDEDE;
}
/* ---------- Carte en deux colonnes : texte | photo (Accès, pages internes) ---------- */
.carte-split { display: grid; grid-template-columns: 1.25fr 1fr; min-height: max(620px, min(860px, 80vh)); }
.acces { min-height: max(700px, min(1000px, 92vh)); }
/* même hauteur que Découvrir ; ne grandit que si le texte ne tient pas */
.carte-split--inverse { grid-template-columns: 1fr 1.25fr; }
.carte-split--inverse .carte-split__photo { order: -1; margin: 10px 0 10px 10px; }
:root .carte-split--inverse .carte-split__photo { margin: 10px 0 10px 10px; }
.carte-split__texte {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(24px, 4.5vh, 90px) 8%;
}
.coordonnees { margin-top: 20px; font-style: normal; font-size: 20px; line-height: 1.5; color: var(--pierre); }
:root .coordonnees { margin-top: 20px; }
.liens-contact { display: flex; flex-direction: column; gap: 4px; margin: 14px 0 26px; font-size: 18px; }
:root .liens-contact { margin: 14px 0 26px; }
.liens-contact a { color: rgba(241, 236, 226,.82); border-bottom: 1px solid transparent; transition: border-color .25s; }
.liens-contact a:hover { border-color: rgba(241, 236, 226,.5); }
.trajets { width: min(420px, 100%); margin-bottom: 30px; }
:root .trajets { margin-bottom: 30px; }
.trajets li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 9px 0; border-top: 1px solid rgba(241, 236, 226,.12);
  font-size: 15px; color: rgba(241, 236, 226,.7);
}
.trajets li { font-family: var(--titre); font-size: 18px; color: var(--pierre); text-transform: uppercase; }
/* Diaporama manuel dans une carte (Partager > Histoire) : toutes les photos sont dans la page,
   les flèches basculent la classe is-active ; on peut aussi glisser au doigt. */
.carte-split__photo .slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .8s ease; }
.carte-split__photo .slide.is-active { opacity: 1; }
.carte-split__photo .fleches { position: absolute; z-index: 2; right: clamp(20px, 2.6vw, 40px); bottom: clamp(26px, 3vw, 40px); }
.fleches { display: flex; }
.fleche {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(10, 18, 13, .22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font: 300 18px/1 var(--texte);
  cursor: pointer; transition: background .25s;
}
.fleche + .fleche { margin-left: -1px; }
:root .fleche + .fleche { margin-left: -1px; }
.fleche:hover { background: rgba(255,255,255,.14); }
.fleche:focus-visible { outline: 1px solid var(--sable); outline-offset: 3px; }
.carte-split__photo.diaporama .legende-slide { padding-right: 160px; }
/* la légende ne passe jamais sous les flèches */
/* Diaporama automatique dans une carte (Accès) : pas de flèches, même fondu et léger zoom que l'accueil */
.carte-split__photo.diaporama--auto .legende-slide { padding-right: 40px; }
.carte-split__photo.diaporama--auto .slide { transition: opacity 1.4s ease; }
.carte-split__photo.diaporama--auto .slide img { transform: scale(1.07); transition: transform 7s linear; }
.carte-split__photo.diaporama--auto .slide.is-active img { transform: scale(1); }
@media (max-width: 560px) {
.fleche { width: 46px; height: 46px; font-size: 16px; }
.carte-split__photo.diaporama .legende-slide { padding-left: 24px; padding-right: 124px; }
}
.acces__reserver { margin-top: 12px; }
:root .acces__reserver { margin-top: 12px; }
/* même bouton que dans l'en-tête */
.carte-split__photo { margin: 10px 10px 10px 0; border-radius: var(--rayon-photo); overflow: hidden; }
:root .carte-split__photo { margin: 10px 10px 10px 0; }
/* =====================================================================
   PAGES INTERNES (phase 3) — mêmes jetons, mêmes cartes, aucun nouveau registre
   ===================================================================== */
/* En-tête de page : même composition que l'accueil (bande 20 % + photo 80 %), moins haut */
.hero--page { height: min(820px, calc(82vh - var(--marge))); min-height: 560px; }
.hero--page .titre-hero { font-size: clamp(46px, 6vw, 96px); }
.hero--page .sous-titre { max-width: 640px; }
/* Lien courant dans le menu du pied de page */
.pied__mentions a { color: inherit; }
/* Texte courant dans les cartes */
.texte-carte { max-width: 560px; font-size: 17px; color: rgba(241, 236, 226,.82); }
.texte-carte + .texte-carte { margin-top: 14px; }
:root .texte-carte + .texte-carte { margin-top: 14px; }
.carte-split__texte .titre-l { margin-bottom: 24px; }
:root .carte-split__texte .titre-l { margin-bottom: 24px; }
.carte-split__texte .trajets { margin-top: 30px; }
:root .carte-split__texte .trajets { margin-top: 30px; }
.carte-split__texte .bouton > .wp-block-button__link { margin-top: 6px; }
:root .carte-split__texte .bouton > .wp-block-button__link { margin-top: 6px; }
.carte-split .surtitre .num { display: inline; font-size: inherit; color: inherit; }
/* Bloc « trois colonnes » : chiffres ou mots sur fond sombre */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-top: 10px; text-align: center; }
:root .trio { margin-top: 10px; }
.trio__item { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px clamp(16px, 2.6vw, 44px); }
.trio__item + .trio__item { border-left: 1px solid rgba(241, 236, 226,.12); }
.trio--quatre { grid-template-columns: repeat(4, 1fr); }
/* Accès : voiture, train, avion, bus */
.trio__titre { font: 400 clamp(24px, 2.2vw, 34px)/1 var(--titre); text-transform: uppercase; letter-spacing: -.01em; color: #F1ECE2; }
.trio__texte { font-size: 16px; color: rgba(241, 236, 226,.75); max-width: 340px; }
.trio .num { font-size: 22px; }
/* mention sous le trio (page Réserver, 24/11/2026) : une ligne centrée, séparée par un filet */
.trio__mention { margin: 34px auto 0; padding-top: 26px; max-width: 640px; border-top: 1px solid rgba(241, 236, 226,.12); font-size: 16px; color: rgba(241, 236, 226,.75); text-align: center; text-wrap: balance; }
:root .trio__mention { margin: 34px auto 0; }
/* Intro sur le moka : variante avec des mots à la place des chiffres */
.chiffres--mots .chiffre { font-size: clamp(44px, 5.2vw, 88px); }
/* Galerie de photos des hôtes : carrés alignés */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; margin-bottom: 48px; }
:root .galerie { margin-bottom: 48px; }
.galerie figure { aspect-ratio: 1; border-radius: calc(var(--rayon-photo) - 14px); overflow: hidden; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.galerie figure:hover img { transform: scale(1.05); }
/* Carte galerie (Partager) : 10 carrés, toujours 5 par ligne (2 sur téléphone), même marge de 10 px que les photos des cartes */
.galerie-carte { padding: 10px; }
.galerie-carte .galerie { grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 0; }
:root .galerie-carte .galerie { margin: 0; }
.galerie-carte .galerie figure { border-radius: min(var(--rayon-photo), 16%); }
/* les petits carrés ne deviennent pas des ronds */
/* Formulaires (contact, livre d'or) — mêmes libellés que la barre de réservation */
.formulaire { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 28px; width: min(820px, 100%); text-align: left; }
.formulaire .champ { padding: 0; border: 0; gap: 10px; }
.formulaire .champ--large { grid-column: 1 / -1; }
.formulaire input, .formulaire select, .formulaire textarea {
  appearance: none; -webkit-appearance: none; width: 100%;
  border: 0; border-bottom: 1px solid rgba(241, 236, 226,.25); border-radius: 0;
  padding: 10px 0 12px; background: transparent;
  font: 300 18px/1.4 var(--texte); text-transform: none; color: var(--pierre); color-scheme: dark;
  transition: border-color .25s;
}
.formulaire textarea { resize: vertical; min-height: 150px; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: none; border-color: var(--sable); }
.formulaire ::placeholder { color: rgba(241, 236, 226,.35); }
.formulaire .consentement { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(241, 236, 226,.7); }
.formulaire .consentement input { width: 18px; height: 18px; flex: none; margin-top: 2px; padding: 0; border: 1px solid rgba(241, 236, 226,.4); border-radius: 4px; }
:root .formulaire .consentement input { margin-top: 2px; }
.formulaire .consentement input:checked { background: var(--sable); border-color: var(--sable); }
.formulaire__envoi { grid-column: 1 / -1; justify-self: center; margin-top: 8px; }
:root .formulaire__envoi { margin-top: 8px; }
.note { margin-top: 18px; font-size: 14px; color: rgba(241, 236, 226,.72); }
:root .note { margin-top: 18px; }
/* Livre d'or : état vide honnête (aucun avis inventé) */
.livre-vide {
  width: min(820px, 100%); margin-bottom: 54px; padding: 34px 28px;
  border: 1px dashed rgba(241, 236, 226,.22); border-radius: calc(var(--rayon-photo) - 14px);
  font: 400 clamp(20px, 1.8vw, 26px)/1.3 var(--titre); text-transform: uppercase; color: rgba(241, 236, 226,.6);
}
:root .livre-vide { margin-bottom: 54px; }
/* ---------- Réserver : étapes, calendrier, choix de chambre, récapitulatif ---------- */
.panneau {
  padding: clamp(22px, 2.6vw, 40px);
  border-radius: calc(var(--rayon-photo) - 10px);
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 0 0 1px rgba(241, 236, 226,.08);
}
.panneau__titre { font: 400 clamp(22px, 1.8vw, 28px)/1 var(--titre); text-transform: uppercase; color: #F1ECE2; margin-bottom: 22px; }
:root .panneau__titre { margin-bottom: 22px; }
/* ---------- Pied de page ---------- */
.pied {
  display: flex; flex-direction: column; align-items: center; gap: 34px;
  padding: clamp(50px, 6vw, 90px) var(--marge) 60px;
  text-align: center; color: #F1ECE2;
}
.logo--pied { height: auto; }
.logo--pied img { width: clamp(110px, 10vw, 150px); opacity: .86; }
/* même blanc que le menu du pied de page (#EEEBE9 sur le moka) */
.logo--pied:hover img { opacity: 1; }
.pied__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; font: 400 14px/1 var(--texte); text-transform: uppercase; }
.pied__mentions { font-size: 14px; color: rgba(255,255,255,.66); }
/* ---------- Responsive ---------- */
/* Le menu passe en bouton dès que ses 6 pilules ne tiennent plus à côté de « Réserver ». */
@media (max-width: 1320px) {
/* reste sur la ligne du logo */
}
@media (max-width: 1180px) {
.barre { grid-template-columns: repeat(3, 1fr); border-radius: var(--rayon); padding: 14px; }
.barre .bouton > .wp-block-button__link { grid-column: 1 / -1; margin-top: 10px; }
:root .barre .bouton > .wp-block-button__link { margin-top: 10px; }
}
@media (max-width: 860px) {
.hero, .carte-split, .carte-split--inverse { grid-template-columns: 1fr; min-height: 0; }
.carte-split { height: auto; }
.hero { height: calc(100svh - 2 * var(--marge)); min-height: 600px; max-height: 900px; }
.hero__photo { margin: 10px; }
:root .hero__photo { margin: 10px; }
.hero__photo .legende-slide { display: none; }
.hero__texte { left: 24px; right: 24px; bottom: 32px; max-width: none; }
.hero .titre-hero { font-size: min(80px, calc((100vw - 115px) / 7.6)); }
/* « CASA AUGUSTA » tient sur une ligne : titre sur 2 lignes */
.carte-split__photo { margin: 10px 10px 0; height: 60vh; min-height: 380px; }
:root .carte-split__photo { margin: 10px 10px 0; }
.carte-split__photo, .carte-split--inverse .carte-split__photo { order: 2; margin: 0 10px 10px; }
:root .carte-split__photo, :root .carte-split--inverse .carte-split__photo { margin: 0 10px 10px; }
.carte-split__texte { padding: 70px 24px; }
.sous-titre { margin: 18px 0 30px; font-size: 17px; }
:root .sous-titre { margin: 18px 0 30px; }
.barre { grid-template-columns: 1fr; }
.champ { border-right: 0; border-bottom: 1px solid rgba(241, 236, 226,.12); padding: 14px 18px; }
.grille-cartes { grid-template-columns: 1fr; }
.chiffres { grid-template-columns: 1fr; gap: 44px; }
.chiffres > .chiffre-item + .chiffre-item { border-left: 0; }
.decouvrir { height: 86vh; min-height: 620px; }
.mot-geant { font-size: 30vw; }
.sejour .titre-l { font-size: min(34px, calc((100vw - 75px) / 15.2)); }
/* reste sur une ligne sur téléphone */
.titre-xl { font-size: clamp(28px, 8vw, 60px); }
}
@media (prefers-reduced-motion: reduce) {
.carte-split__photo .slide { transition: none; }
.hero__photo .slide img, .decouvrir__fond .slide img, .carte-split__photo.diaporama--auto .slide img { transform: none; transition: none; }
}
@media (max-width: 560px) {
.pilule--encre > .wp-block-button__link { padding: 14px 22px; }
.bouton > .wp-block-button__link { padding: 0 28px; }
}
/* ---------- Pages internes : tablette et téléphone ---------- */
@media (max-width: 1180px) {
.trio--quatre { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
.trio--quatre .trio__item:nth-child(3) { border-left: 0; }
.galerie { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
.hero--page { height: calc(86svh - 2 * var(--marge)); min-height: 520px; }
.trio { grid-template-columns: 1fr; gap: 34px; }
.trio__item + .trio__item { border-left: 0; border-top: 1px solid rgba(241, 236, 226,.12); padding-top: 34px; }
.formulaire { grid-template-columns: 1fr; }
.galerie { grid-template-columns: repeat(2, 1fr); }
}
/* ---------- En-tête sur téléphone : logo + Menu + EN + Réserver doivent tenir dans la carte ---------- */
@media (max-width: 1180px) {
.galerie-carte .galerie { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 560px) {
.galerie-carte .galerie { grid-template-columns: repeat(2, 1fr); }
}
/* Titres h3 en Retrospective (la règle « font » de .trio__titre et .panneau__titre les remettait en Jost) */
.trio__titre, .panneau__titre, .carte-photo__nom { font-family: var(--titre-deco); }
/* ---------- Cadrage d'une photo recadrée (surtout sur téléphone, où le cadre devient vertical) ---------- */
/* garder le sujet visible quand il n'est pas au centre de la photo : classe posée sur la figure de la photo.
   Seulement sur écran étroit : sur ordinateur, le cadre est large et le cadrage centré convient. */
@media (max-width: 860px) {
.cadre-gauche img { object-position: 12% 50%; }
.cadre-droite img { object-position: 88% 50%; }
}
/* ---------- Légende des en-têtes (« 01/ La maison ») : ombre douce, lisible même sur un feuillage clair ---------- */
/* diaporamas des chambres (Nos chambres) : photos sans légende, seules les flèches restent (25/11/2026) */
:is(#village, #colonnes, #atelier) .carte-split__photo .legende-slide { display: none; }
/* … et leurs flèches de part et d'autre de la photo, à mi-hauteur : ← à gauche, → à droite (25/11/2026) */
:is(#village, #colonnes, #atelier) .carte-split__photo .fleches { left: clamp(12px, 1.6vw, 24px); right: clamp(12px, 1.6vw, 24px); top: 50%; bottom: auto; transform: translateY(-50%); justify-content: space-between; pointer-events: none; }
:is(#village, #colonnes, #atelier) .carte-split__photo .fleche { pointer-events: auto; margin-left: 0; }
:root :is(#village, :root #colonnes, :root #atelier) .carte-split__photo .fleche { margin-left: 0; }
.hero__photo .legende-slide, .hero__photo .legende-slide { text-shadow: 0 1px 2px rgba(0,0,0,.5), 0 0 22px rgba(0,0,0,.45); }
.hero__photo .legende-slide .num, .hero__photo .legende-slide .num { color: rgba(255,255,255,.62); }
/* ---------- Contact : photo des hôtes à gauche du formulaire (une colonne sur téléphone, la photo d'abord) ---------- */
.contact-duo {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4.4vw, 76px);
  align-items: stretch; width: min(1240px, 100%); text-align: left;
}
.contact-duo__photo { position: relative; min-height: 420px; margin: 0; border-radius: var(--rayon-photo); overflow: hidden; background: #8F8B75; }
:root .contact-duo__photo { margin: 0; }
.contact-duo__photo > * { margin: 0; }
:root .contact-duo__photo > * { margin: 0; }
.contact-duo__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
/* portrait : le visage reste entier quand le cadre devient carré (téléphone) */
.contact-duo .formulaire, .contact-duo .wpcf7 { width: 100%; }
@media (max-width: 860px) {
.contact-duo { grid-template-columns: 1fr; }
/* tablette : la photo ne repousse pas le formulaire trop bas. La hauteur vient de la photo elle-même (dans le flux) :
     un cadre qui ne tient sa hauteur que d'« aspect-ratio », avec une photo en position absolue, tombait à 0 px
     dans Safari sur iPhone (photo invisible, 26/11/2026). */
.contact-duo__photo { min-height: 0; }
.contact-duo__photo img { position: relative; inset: auto; display: block; height: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
.contact-duo__photo img { aspect-ratio: 1 / 1; }
}
/* ---------- Titre de l'accueil : « Verdon » deux fois plus petit que « Casa Augusta » (demande du 2026-11-20) ---------- */
/* <em> sans classe (valide dans l'éditeur) ; en bloc pour que l'interligne suive sa propre taille */
.hero .titre-hero em { display: block; font-size: .5em; font-style: normal; line-height: 1; margin-top: .12em; }
:root .hero .titre-hero em { margin-top: .12em; }
/* ---------- Séjourner : tour d'horizon en 9 cartes détaillées (3 par rangée) ---------- */
/* cartes plus hautes et étiquette plus grande que sur la grille de base : les textes font jusqu'à 5 lignes de plus.
   Toutes les étiquettes d'une rangée commencent à la même hauteur. */
.grille-cartes--trois .carte-photo { aspect-ratio: 3 / 5.3; }
.grille-cartes--trois .carte-photo__verre { top: max(40%, calc(100% - 372px)); }
/* entre 861 et 1240 px la grille passe à 2 colonnes : la dernière carte prend toute la largeur, en paysage, au lieu de rester seule */
@media (min-width: 861px) and (max-width: 1240px) {
.grille-cartes--trois .carte-photo:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.grille-cartes--trois .carte-photo:last-child img { object-position: 50% 30%; }
/* le chat de la maison : tête au-dessus de l'étiquette */
}
@media (min-width: 561px) and (max-width: 860px) {
/* tablette : une carte large par rangée, le texte tient en moins de lignes */
.grille-cartes--trois .carte-photo { aspect-ratio: 4 / 3.4; }
.grille-cartes--trois .carte-photo__verre { top: max(52%, calc(100% - 250px)); }
}
@media (max-width: 560px) {
/* téléphone : étiquette à hauteur du texte, carte plus haute pour garder la photo visible */
.grille-cartes--trois .carte-photo { aspect-ratio: 3 / 6; }
.grille-cartes--trois .carte-photo__verre { top: auto; }
}
/* étiquette plus opaque quand la photo est claire (dessin sur papier blanc) : le texte blanc reste lisible */
.carte-photo.verre-sombre .carte-photo__verre { background: rgba(10, 18, 13, .78); }
/* ---------- Nos chambres : « Dans chaque chambre » (titre, texte, services) entre l'en-tête et la chambre Village ---------- */
/* même écart que entre deux cartes, au-dessus et au-dessous des pastilles (16 px d'ombre déjà dans la liste) */
.services-zone {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(36px, 5vw, 80px) var(--marge) calc(var(--marge) - 10px);
}
.services-zone .intro__texte { margin: 28px 0 36px; }
:root .services-zone .intro__texte { margin: 28px 0 36px; }
/* titre « Dans chaque chambre », texte puis pastilles */
.services-zone .services { margin: 0; }
:root .services-zone .services { margin: 0; }
/* ---------- Séjourner (« Tout est prévu ») : pastilles plus claires, couleur sable des boutons — sur cette page seulement ---------- */
.sejour .services li, .sejour .services li:hover {
  background: linear-gradient(28deg, var(--sable) 0%, var(--sable-2) 70%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 8px 18px -10px rgba(0,0,0,.7);
}
/* ---------- Coordonnées : SMS, WhatsApp et appel en trois petites icônes sous le numéro (accueil, Accès, Contact) ---------- */
/* le numéro et l'e-mail gardent chacun leur ligne ; le texte des icônes reste lu par les lecteurs d'écran */
.liens-contact { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 10px; row-gap: 4px; }
.liens-contact a:first-child, .liens-contact a[href^="mailto:"] { flex-basis: 100%; }
.liens-contact a[href^="sms:"], .liens-contact a[href*="wa.me"], .liens-contact a[href^="tel:"]:not(:first-child) {
  display: grid; place-items: center; width: 38px; height: 38px; margin: 6px 0 10px;
  border: 1px solid rgba(241, 236, 226,.3); border-radius: 50%;
  font-size: 0; color: transparent; transition: background .25s, border-color .25s;
}
:root .liens-contact a[href^="sms:"], :root .liens-contact a[href*="wa.me"], :root .liens-contact a[href^="tel:"]:not(:first-child) { margin: 6px 0 10px; }
.liens-contact a[href^="sms:"]::before, .liens-contact a[href*="wa.me"]::before, .liens-contact a[href^="tel:"]:not(:first-child)::before {
  content: ""; width: 17px; height: 17px; background: var(--pierre);
  -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat;
}
.liens-contact a[href^="sms:"] { --icone: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z'/></svg>"); }
.liens-contact a[href*="wa.me"] { --icone: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/></svg>"); }
.liens-contact a[href^="tel:"]:not(:first-child) { --icone: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/></svg>"); }
.liens-contact a[href^="sms:"]:hover, .liens-contact a[href*="wa.me"]:hover, .liens-contact a[href^="tel:"]:not(:first-child):hover {
  background: rgba(241, 236, 226,.12); border-color: rgba(241, 236, 226,.6);
}
/* ---------- Nos chambres : bouton « Réserver » seul en bas de page (la rangée de pastilles a été retirée) ---------- */
.intro--reserver { padding-top: 0; padding-bottom: clamp(40px, 5vw, 70px); }
/* ---------- Cartes texte + photo : la photo remplit sa colonne sans en dicter la hauteur ---------- */
/* une photo en portrait (ex. Riez sur Découvrir) n'agrandit plus la carte : toutes gardent la même hauteur. Sur ordinateur seulement :
   sur téléphone, le cadre photo a sa propre hauteur (60vh). */
@media (min-width: 861px) {
.carte-split__photo > img, .carte-split__photo > .wp-block-image { position: absolute; inset: 0; margin: 0; }
:root .carte-split__photo > img, :root .carte-split__photo > .wp-block-image { margin: 0; }
}
/* icônes centrées dans leur cercle : le texte masqué (lu par les lecteurs d'écran) formait une 2e ligne qui remontait le pictogramme */
.liens-contact a[href^="sms:"], .liens-contact a[href*="wa.me"], .liens-contact a[href^="tel:"]:not(:first-child) { position: relative; }
.liens-contact a[href^="sms:"]::before, .liens-contact a[href*="wa.me"]::before, .liens-contact a[href^="tel:"]:not(:first-child)::before {
  position: absolute; inset: 0; margin: auto;
}
:root .liens-contact a[href^="sms:"]::before, :root .liens-contact a[href*="wa.me"]::before, :root .liens-contact a[href^="tel:"]:not(:first-child)::before { margin: auto; }
/* ---------- Sous-titres des en-têtes : lignes équilibrées (pas de mot seul sur la dernière ligne) ---------- */
.hero__texte .sous-titre { text-wrap: balance; }
/* grands titres : lignes équilibrées aussi (sur téléphone, plus de mot seul sur une ligne) */
.titre-xl, .titre-l { text-wrap: balance; }
/* textes d'introduction des sections : pas de mot seul sur la dernière ligne */
.chapo, .intro__texte { text-wrap: pretty; }
/* ---------- Accueil : bouton « Vidéo de la maison » à côté de « Réserver votre séjour » (bas gauche de l'en-tête) ---------- */
/* bouton posé sur la photo d'en-tête (ex. « Voir les disponibilités », Nos chambres) : contour blanc sur voile sombre,
   rempli de blanc au survol — le contour foncé des cartes sauge serait illisible sur une photo (25/11/2026) */
.hero__texte .bouton > .wp-block-button__link { color: #fff; background: rgba(8, 14, 10, .38); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__texte .bouton > .wp-block-button__link:hover { background: #fff; color: #F1ECE2; }
.hero__boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__boutons > * { margin: 0; }
:root .hero__boutons > * { margin: 0; }
.hero__texte .bouton--video > .wp-block-button__link {   /* transparent : seul le contour blanc se pose sur la photo (27/11/2026, demande) */
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  color: #fff;
}
.bouton--video > .wp-block-button__link::before {   /* triangle « lecture » dessiné en CSS */
  content: ""; flex: none; width: 0; height: 0; margin-right: 14px;
  border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor;
}
:root .bouton--video > .wp-block-button__link::before { margin-right: 14px; }
.hero__texte .bouton--video > .wp-block-button__link:hover { background: rgba(255, 255, 255, .14); color: #fff; filter: none; }
@media (max-width: 560px) {
.hero__boutons { gap: 10px; }
.bouton--video > .wp-block-button__link { min-height: 56px; }
}
/* ---------- Page « Vidéo maison » (hors menu) : lecteur OVHcloud en 16/9 ---------- */
.video-cadre {
  position: relative; width: 100%; max-width: 1180px; margin: 34px auto 44px; aspect-ratio: 16 / 9;
  border-radius: 18px; overflow: hidden; background: #0B140F; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8);
}
:root .video-cadre { margin: 34px auto 44px; }
.video-cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 560px) {
.video-cadre { border-radius: 12px; margin: 26px auto 34px; }
:root .video-cadre { margin: 26px auto 34px; }
}
/* lien de secours sous la vidéo : ouvre le lecteur OVHcloud seul (sur certains téléphones, la lecture intégrée ne démarre pas) */
.video-lien { margin: -22px 0 40px; font-size: 15px; }
:root .video-lien { margin: -22px 0 40px; }
.video-lien a { color: var(--pierre); text-decoration: underline; text-underline-offset: 4px; }
.video-lien a::after { content: " ↗"; }
.video-lien a:hover { color: #fff; }
/* cartes Colonnes et Atelier de l'accueil : cadrage décalé de 20 % vers la droite (70 % au lieu du centre à 50 %) */
.carte-photo.cadre-droite-20 img { object-position: 70% 50%; }
/* Nos chambres et Découvrir, sur téléphone et tablette : la photo (ou le diaporama) vient juste après le titre de la carte,
   avant le texte (et la fiche des chambres). Le bloc texte s'efface (display: contents) pour que ses éléments se rangent avec la photo. */
@media (max-width: 860px) {
.carte-split--photo-apres-titre { justify-items: center; text-align: center; padding-bottom: 60px; }
.carte-split--photo-apres-titre .carte-split__texte { display: contents; }
.carte-split--photo-apres-titre .carte-split__texte > * { order: 3; margin-left: 24px; margin-right: 24px; }
:root .carte-split--photo-apres-titre .carte-split__texte > * { margin-left: 24px; margin-right: 24px; }
.carte-split--photo-apres-titre .carte-split__texte > .surtitre { order: 1; margin-top: 64px; }
:root .carte-split--photo-apres-titre .carte-split__texte > .surtitre { margin-top: 64px; }
.carte-split--photo-apres-titre .carte-split__texte > .titre-l { order: 1; margin-bottom: 28px; }
:root .carte-split--photo-apres-titre .carte-split__texte > .titre-l { margin-bottom: 28px; }
.carte-split--photo-apres-titre .carte-split__photo, .carte-split--photo-apres-titre.carte-split--inverse .carte-split__photo { order: 2; justify-self: stretch; margin: 0 10px 34px; }
:root .carte-split--photo-apres-titre .carte-split__photo, :root .carte-split--photo-apres-titre.carte-split--inverse .carte-split__photo { margin: 0 10px 34px; }
.carte-split--photo-apres-titre .trajets { width: min(420px, calc(100% - 48px)); }
/* diaporamas des chambres (Nos chambres) : format paysage 4:3, comme les photos de la page Disponibilités (24/11/2026) */
:is(#village, #colonnes, #atelier) .carte-split__photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}
/* en-tête de Nos chambres : la façade et la loggia sont en bas à droite de la photo (carrée) : on garde le bas, et la droite sur téléphone */
.slide.cadre-bas-droite img { object-position: 80% 100%; }
.slide.cadre-gauche-max img { object-position: 0% 50%; }
/* photo calée tout à gauche (Partager, « Le chantier », 27/11/2026) */
/* en-tête de Séjourner (photo carrée de la terrasse) : image remontée de 30 % (demande de la cliente, 21/11) pour montrer le transat et la terrasse */
.slide.cadre-terrasse img { object-position: 50% 80%; }
/* Séjourner, carte Boissons : photo presque carrée du coin cuisine, cadrée sur la niche (à gauche) et ses étagères (en haut) */
.carte-photo.cadre-niche img { object-position: 30% 20%; }
/* étiquette floue à la hauteur de son texte, partout (demande de la cliente, 21/11) : collée au bas de la carte,
   elle ne descend plus d'une hauteur fixe ; les titres d'une même rangée ne sont donc plus forcément alignés */
.grille-cartes--detail .carte-photo__verre, .grille-cartes--trois .carte-photo__verre { top: auto; }
/* diaporama : image montrée en entier (dessin d'architecte très allongé), sur fond sombre, au lieu d'être recadrée */
.carte-split__photo .slide.cadre-entier img, .hero__photo .slide.cadre-entier img { object-fit: contain; background: #101C15; }
/* plus précis que la règle « cover » des blocs */
/* Partager, carte « L'état d'esprit » : selfie des hôtes (16:9) dans un cadre vertical ; un peu à droite pour garder les deux visages, surtout sur téléphone */
.carte-split__photo .slide.cadre-hotes img { object-position: 55% 50%; }
/* Découvrir, carte Riez : moutons devant les colonnes romaines, qui sont à gauche de la photo : on garde les colonnes (ordinateur et téléphone) */
.carte-split__photo.cadre-colonnes img { object-position: 25% 50%; }
/* ---------- Liseré noir fin autour des photos, contour sauge des cartes (demande du 2026-11-25) ---------- */
/* le liseré est dessiné par-dessus la photo (::after), il suit l'arrondi du cadre et ne bouge rien à la mise en page */
:is(.hero__photo, .carte-photo, .decouvrir__fond, .carte-split__photo, .contact-duo__photo)::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  border: 2px solid #6F6B54; border-radius: inherit; pointer-events: none;   /* même sauge foncé que le contour des cartes */
}
/* contour des cartes retiré le 2026-11-25 à la demande des propriétaires (il était : outline 3.5px #5A5642, offset -3.5px) */
/* ---------- Nos chambres, ordinateur : diaporamas au format des photos (4:3), comme sur téléphone (demande du 2026-11-25) ---------- */
/* avant : cadre vertical étiré à la hauteur de la carte → on ne voyait qu'une bande de chaque photo.
   Maintenant la colonne photo est plus large que le texte, le cadre garde le 4:3 des photos et se centre en hauteur. */
@media (min-width: 861px) {
:is(#village, #atelier).carte-split { grid-template-columns: 1fr 1.4fr; min-height: 0; align-items: center; }
#colonnes.carte-split { grid-template-columns: 1.4fr 1fr; min-height: 0; align-items: center; }
:is(#village, #colonnes, #atelier) .carte-split__photo { align-self: center; height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}

/* =====================================================================
   ADAPTATIONS AUX BLOCS NATIFS (phase 4)
   Le DOM de WordPress diffère de la maquette : figure.wp-block-image, div.wp-block-group,
   la classe d'un bouton sur son conteneur, core/navigation pour le menu.
   ===================================================================== */
img { height: auto; }   /* sinon l'attribut height des blocs image l'emporte sur aspect-ratio */
figure.wp-block-image { margin: 0; }
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
.wp-site-blocks { position: relative; }
:where(.wp-block-post-content) > :where(*) { margin-block-start: 0; }   /* spécificité nulle : la marge des cartes (.hero) l’emporte */

/* Pages sans en-tête photo (réservation MotoPress, mentions, 404) : on réserve la place de l'en-tête */
.wp-block-post-content > :first-child:not(.hero), main > .page-message { margin-top: calc(var(--marge) + 130px); }

/* ---- Images remplissant leur cadre */
.slide > .wp-block-image, .carte-split__photo > .wp-block-image, .carte-photo > .wp-block-image { height: 100%; }
.slide > .wp-block-image img, .carte-split__photo > .wp-block-image img, .carte-photo > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.slide { position: relative; }
/* Avant le script (ou sans lui) : la première photo de chaque diaporama est visible */
.diaporama:not(.est-pret) .slide:first-child { display: block; opacity: 1; }
/* Photo seule (en-têtes de pages internes, sans diaporama) : toujours visible */
.hero__photo:not(.diaporama) > .slide, .carte-split__photo:not(.diaporama) > .slide { display: block; opacity: 1; }
.hero__photo:not(.diaporama) > .slide img { transform: none; }
.slide .legende-slide .num, .slide .legende-slide .legende { margin: 0; }
.legende-slide { position: absolute; left: 0; right: 0; bottom: 0; }

/* ---- Accueil : plus de bande vide dans le contenu, la photo prend la colonne 2 */
.hero > .hero__photo { grid-column: 2; }
@media (max-width: 860px) { .hero > .hero__photo { grid-column: 1; } }

/* ---- Carte photo : un seul lien, étiré sur toute la carte */
.carte-photo__nom a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.carte-photo__verre > p { margin: 0; }

/* ---- Chiffres sur le moka */
.chiffres > .chiffre-item { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 20px; }

/* ---- Lignes libellé | valeur (fiches chambres, trajets) : <strong> = libellé, le reste = valeur */
.trajets li { font-family: var(--titre); font-size: 18px; color: var(--pierre); text-transform: uppercase; }
.trajets li strong { font: 300 15px/1.6 var(--texte); text-transform: none; color: rgba(241, 236, 226,.7); }

/* ---- Pastilles de services (liste native) */
.services li {
  flex: none; display: inline-flex; align-items: center; cursor: default;
  padding: 13px 26px; border-radius: 999px;
  background: rgba(16, 32, 24, .85);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.04);
  font: 400 14px/1 var(--texte); text-transform: uppercase; color: #E2DDD3; white-space: nowrap;
}
@media (max-width: 1320px) { .services li { padding: 11px 18px; font-size: 13px; } }   /* 7 pastilles sur Séjourner : compactes sous 1320 px */

/* ---- Boutons : le conteneur core/button est neutralisé, le lien porte le style */
.wp-block-button.bouton, .wp-block-button.pilule { display: inline-flex; background: none; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
.wp-block-button .wp-block-button__link { text-decoration: none; }
.wp-block-buttons { display: flex; flex-wrap: wrap; justify-content: inherit; }

/* ---- Flèches des diaporamas : paragraphes éditables, le script en fait des boutons */
p.fleche { display: grid; place-items: center; margin: 0; user-select: none; }

/* ---- En-tête WordPress (template part) posé sur la première carte */
.entete-zone { position: absolute; z-index: 5; top: var(--marge); left: var(--marge); right: var(--marge); }
.entete { display: flex; align-items: center; padding: clamp(26px, 3.2vw, 56px) 0 0; }   /* la marge droite est sur « Réserver » : le logo garde 20 % de la largeur totale */
.entete .logo { flex: none; width: 20%; height: 46px; margin: 0; display: flex; align-items: center; justify-content: center; }
.entete .logo a { display: block; }
.entete .logo img { width: clamp(80px, 6.4vw, 104px); height: auto; max-width: none; opacity: .8; transition: opacity .25s; }
.entete .logo a:hover img { opacity: .95; }
.entete nav.menu { flex: 1; min-width: 0; padding-left: clamp(20px, 2.4vw, 40px); }   /* nav seulement : la liste interne porte aussi la classe */
.entete .entete__actions { flex: none; margin-left: 8px; margin-right: clamp(32px, 3.4vw, 60px); }
.wp-block-navigation.menu .wp-block-navigation__container { gap: 6px; }
.wp-block-navigation.menu .wp-block-navigation-item__content { display: inline-flex; }
/* (le bouton « Menu » n'est affiché qu'en dessous de 1320 px : on laisse le bloc le masquer au-dessus) */
.wp-block-navigation.menu .wp-block-navigation-item__content,
.wp-block-navigation.menu .wp-block-navigation__responsive-container-open {
  align-items: center; padding: 12px 20px; border-radius: 999px;
  background: rgba(16, 32, 24, .85);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font: 400 13px/1 var(--texte); text-transform: uppercase; color: #E2DDD3; white-space: nowrap;
  transition: background .25s, color .25s;
}
/* 7 boutons (Accueil compris) : plus serrés entre 1321 et 1560 px, pour ne toucher ni la pastille de langue ni « Réserver »
   (mesuré le 24/11/2026 : 55 px d'écart à 1321 px ; au-delà de 1560 px, l'écart reste supérieur à 45 px) */
@media (min-width: 1321px) and (max-width: 1560px) {
  .wp-block-navigation.menu .wp-block-navigation-item__content { padding: 12px 11px; }
  .wp-block-navigation.menu .wp-block-navigation__container { gap: 4px; }
}
.wp-block-navigation.menu .wp-block-navigation-item__content:hover,
.wp-block-navigation.menu .current-menu-item > .wp-block-navigation-item__content { background: #24382C; color: #fff; }
.entete .wp-block-button__link { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
/* Bouton « Menu » : le bouton d'ouverture de core/navigation, habillé en pilule */
.wp-block-navigation.menu .wp-block-navigation__responsive-container-open { border: 0; cursor: pointer; font-size: 14px; padding: 13px 26px; }
.wp-block-navigation.menu .wp-block-navigation__responsive-container-open svg { display: none; }
.wp-block-navigation.menu .wp-block-navigation__responsive-container-open::after { content: "Menu"; }
/* Panneau ouvert : petit panneau vitré sous le bouton (le bloc l'ouvrirait blanc, plein écran),
   même habillage que la liste des langues (24/11/2026) : fond brun translucide flouté, lignes sans pastille */
.wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open {
  position: fixed; inset: calc(var(--marge) + 96px) calc(var(--marge) + 24px) auto auto;
  width: auto; height: auto; padding: 8px; border-radius: 22px;
  background-color: rgba(16, 32, 24, .78) !important; color: #fff !important;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); animation: none;
}
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__responsive-container-content { padding: 0; align-items: flex-end; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: stretch; gap: 2px; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation-item__content {
  justify-content: flex-end; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: 12px 18px; border-radius: 14px; font-size: 13px; color: #E9E6E1;
}
.wp-block-navigation.menu .is-menu-open .wp-block-navigation-item__content:hover,
.wp-block-navigation.menu .is-menu-open .current-menu-item > .wp-block-navigation-item__content { background: rgba(255,255,255,.1); color: #fff; }
/* pas de croix visible : le menu se referme seul (choix d'une page, toucher à côté, « Menu », Échap) ;
   elle reste présente pour les lecteurs d'écran et le clavier */
.wp-block-navigation.menu .wp-block-navigation__responsive-container-close {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1320px) {
  .entete { padding-top: clamp(34px, 3.2vw, 56px); }
  .entete .logo img { width: 76px; }
  .entete nav.menu { display: flex; justify-content: flex-end; }
  .wp-block-navigation.menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .wp-block-navigation.menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; }
}
@media (max-width: 860px) {
  .entete { padding: 32px 0 22px clamp(22px, 2.8vw, 50px); }
  .entete .entete__actions { margin-right: clamp(22px, 2.8vw, 50px); }
  .entete .logo { width: auto; justify-content: flex-start; }
  .entete .logo img { width: 72px; }
}
@media (max-width: 560px) {
  .entete { padding: 30px 0 20px 16px; }
  .entete .entete__actions { margin-left: 6px; margin-right: 16px; }
  .entete .logo img { width: 56px; }
  .wp-block-navigation.menu .wp-block-navigation__responsive-container-open,
  .entete .pilule--encre > .wp-block-button__link { height: 40px; padding: 0 16px; font-size: 12.5px; }
}
@media (max-width: 374px) {
  .entete .logo img { width: 46px; }
  .wp-block-navigation.menu .wp-block-navigation__responsive-container-open,
  .entete .pilule--encre > .wp-block-button__link { padding: 0 13px; }
}

/* ---- En-tête flottant (27/11/2026, demande) : dès qu'on fait défiler la page, le menu, le choix de la langue et
   « Réserver » restent en haut de l'écran, à la même place (le logo, lui, reste en haut de la page).
   La classe « entete-flottante » est posée sur <html> par assets/app.js. */
.entete-flottante .entete-zone { position: fixed; z-index: 50; top: 0; pointer-events: none; animation: entete-descend .3s ease-out; }
.entete-flottante .entete { padding-top: 14px; padding-bottom: 0; }
.entete-flottante .entete > * { pointer-events: auto; }
.entete-flottante .entete .logo { visibility: hidden; pointer-events: none; }
.entete-flottante .wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open { top: 72px; }
@keyframes entete-descend { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .entete-flottante .entete-zone { animation: none; } }
@media (max-width: 860px) { .entete-flottante .entete { padding-top: 12px; padding-bottom: 0; } }

/* ---- Bouton « haut de page » : flottant en bas à droite, il apparaît quand on arrive en bas de la page */
.haut-de-page-zone { margin: 0; }
/* la dernière ligne du pied de page (mentions, liens légaux) passe au-dessus du bouton : jamais recouverte */
.pied-zone .pied { padding-bottom: 112px; }
.wp-block-button.haut-de-page { position: fixed; right: clamp(16px, 2.4vw, 36px); bottom: clamp(24px, 3vw, 40px); z-index: 40; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility 0s linear .3s; }
.wp-block-button.haut-de-page.est-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
.haut-de-page .wp-block-button__link { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 50%;
  background: var(--encre); box-shadow: 0 10px 24px -10px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.1);
  font-size: 0; color: #fff; text-decoration: none; transition: background .25s; }
.haut-de-page .wp-block-button__link::before { content: "↑"; font: 400 20px/1 var(--texte); }   /* le texte « Haut de page » reste lu par les lecteurs d'écran */
.haut-de-page .wp-block-button__link:hover { background: #96927C; }
.haut-de-page .wp-block-button__link:focus-visible { outline: 1px solid var(--sable); outline-offset: 3px; }

/* ---- Bouton « Suivez-nous sur Instagram » : dans le pied de page de toutes les pages, en bas à gauche,
   face au bouton « haut de page » (dans la bande de 112 px laissée libre sous la dernière ligne du pied de page) */
.pied-zone { position: relative; }
.instagram-zone { position: absolute; left: clamp(16px, 2.4vw, 36px); bottom: clamp(24px, 3vw, 40px); margin: 0; z-index: 2; }
.instagram-zone .bouton > .wp-block-button__link {
  min-height: 52px; padding: 0 28px; font-size: 14px;
  background: linear-gradient(28deg, var(--fumee) 0%, var(--nuit) 72%); color: var(--pierre);   /* foncé : se détache du moka */
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 28px -14px rgba(0,0,0,.75);
}
.instagram-zone .bouton > .wp-block-button__link:hover { filter: brightness(1.3); }
/* bouton rond WhatsApp, à droite du bouton Instagram : même fond foncé, logo en masque (texte lu par les lecteurs d'écran) */
.instagram-zone { gap: 12px; align-items: center; flex-wrap: nowrap; }
.wp-block-button.whatsapp { margin: 0; }
.whatsapp .wp-block-button__link { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 50%;
  background: linear-gradient(28deg, var(--fumee) 0%, var(--nuit) 72%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 28px -14px rgba(0,0,0,.75);
  font-size: 0; color: transparent; text-decoration: none; transition: filter .25s; }
.whatsapp .wp-block-button__link::before { content: ""; width: 24px; height: 24px; background: var(--pierre);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/></svg>") center / contain no-repeat; }
.whatsapp .wp-block-button__link:hover { filter: brightness(1.3); }
/* pictogrammes centrés dans leur cercle (le texte masqué formait une 2e ligne de grille qui les remontait) */
.whatsapp .wp-block-button__link, .haut-de-page .wp-block-button__link { position: relative; }
.whatsapp .wp-block-button__link::before { position: absolute; inset: 0; margin: auto; }
.haut-de-page .wp-block-button__link::before { position: absolute; inset: 0; display: grid; place-items: center; }
.whatsapp .wp-block-button__link:focus-visible, .instagram-zone .bouton > .wp-block-button__link:focus-visible { outline: 1px solid var(--sable); outline-offset: 3px; }
@media (max-width: 560px) {   /* téléphone : plus compact, il ne touche jamais le bouton « haut de page » */
  .instagram-zone .bouton > .wp-block-button__link { min-height: 46px; padding: 0 16px; font-size: 12px; }
  .instagram-zone { gap: 10px; }
  .whatsapp .wp-block-button__link { width: 46px; height: 46px; }
  .whatsapp .wp-block-button__link::before { width: 22px; height: 22px; }
}

/* ---- Pied de page WordPress */
/* drapeau arc-en-ciel (LGBTQ+) sous la dernière ligne, suivi du texte « LGBTQ+ friendly » */
.pied .drapeau-fierte {
  margin: 0; display: inline-flex; align-items: center; gap: 12px;
  font: 400 13px/1 var(--texte); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.78);
}
.pied .drapeau-fierte::before {
  content: ""; display: inline-block; flex: none; width: 54px; height: 36px; border-radius: 4px; opacity: .95;
  background: linear-gradient(to bottom, #E40303 0 16.67%, #FF8C00 16.67% 33.33%, #FFED00 33.33% 50%, #008026 50% 66.67%, #24408E 66.67% 83.33%, #732982 83.33% 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
}
.pied .logo--pied { margin: 0; }
.pied .logo--pied img { width: clamp(110px, 10vw, 150px); height: auto; max-width: none; opacity: .86; }
.pied .logo--pied a:hover img { opacity: 1; }
.wp-block-navigation.pied__menu .wp-block-navigation__container { justify-content: center; flex-wrap: wrap; gap: 8px 34px; }
.wp-block-navigation.pied__menu .wp-block-navigation-item__content { font: 400 14px/1 var(--texte); text-transform: uppercase; color: #fff; opacity: .86; transition: opacity .2s; }
.wp-block-navigation.pied__menu .wp-block-navigation-item__content:hover { opacity: 1; }
.wp-block-navigation.pied__menu .current-menu-item > .wp-block-navigation-item__content { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---- Module de réservation MotoPress : habillé aux couleurs de la maquette (calendrier, champs, boutons) */
.reservation-module { display: grid; grid-template-columns: 1fr 1.35fr; gap: 12px; width: 100%; text-align: left; }
.calendrier-chambre + .calendrier-chambre { margin-top: 26px; }
.calendrier-chambre__nom { font: 400 18px/1.1 var(--titre-deco); text-transform: uppercase; color: #F1ECE2; margin-bottom: 12px; }
@media (max-width: 1180px) { .reservation-module { grid-template-columns: 1fr; } }
/* Calendrier commun des trois chambres (code court [casa_calendrier], 24/11/2026) : un mois, un point par chambre
   (plein = nuit libre), grandes flèches rondes. Mois en Jost : la police des titres n'a pas d'accents (février, août…) */
.cal-commun { width: 100%; }
.cal-commun__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cal-commun__mois { margin: 0; font: 400 20px/1 var(--titre); text-transform: uppercase; letter-spacing: .12em; color: #F1ECE2; text-align: center; }
.cal-commun__fleche {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(241, 236, 226,.35); border-radius: 50%;
  background: rgba(16, 32, 24, .85); cursor: pointer; transition: background .25s, border-color .25s, opacity .25s;
}
.cal-commun__fleche span { width: 11px; height: 11px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateX(2px) rotate(45deg); }
.cal-commun__fleche--suiv span { transform: translateX(-2px) rotate(-135deg); }
.cal-commun__fleche:hover:not(:disabled) { background: var(--sable); border-color: var(--sable); }
.cal-commun__fleche:disabled { opacity: .25; cursor: default; }
.cal-commun__legende { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 0 0 14px; padding: 0; list-style: none;
  font: 400 13px/1.2 var(--texte); text-transform: uppercase; letter-spacing: .08em; color: rgba(241, 236, 226,.75); }
.cal-commun__legende li { display: inline-flex; align-items: center; gap: 8px; }
.cal-commun__legende .cal-commun__legende-note { flex-basis: 100%; flex-direction: column; gap: 3px; text-transform: none; letter-spacing: 0; font-size: 15px; color: rgba(241, 236, 226,.5); }
/* le calendrier n'est pas traduit par GTranslate (classe notranslate) : la note a sa ligne anglaise, plus petite */
.cal-commun__legende .cal-commun__legende-note [lang="en"] { font-size: 13px; color: rgba(241, 236, 226,.42); }
.cal-commun__point { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; }
/* bleu, blanc, rouge (choix des propriétaires, 24/11/2026), éclaircis pour rester lisibles sur le fond sombre */
.cal-commun__point--village { background: #4F86E8; }
.cal-commun__point--colonnes { background: #F4F2EE; }
.cal-commun__point--atelier { background: #E0483F; }
.cal-commun__point.est-pris { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(241, 236, 226,.3); }
.cal-commun__grille { transition: opacity .2s; }
.cal-commun.est-charge .cal-commun__grille { opacity: .45; }
.cal-commun__ligne { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 4px; }
.cal-commun__ligne--jours span { padding: 6px 0; text-align: center; font: 400 12px/1 var(--texte); text-transform: uppercase; letter-spacing: .1em; color: rgba(241, 236, 226,.5); }
.cal-commun__jour { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 58px; border-radius: 12px; background: rgba(255,255,255,.04); }
.cal-commun__num { font: 400 16px/1 var(--texte); color: var(--pierre); }
.cal-commun__points { display: flex; gap: 5px; min-height: 12px; }
.cal-commun__jour.est-complet { background: transparent; }
.cal-commun__jour.est-complet .cal-commun__num { color: rgba(241, 236, 226,.38); text-decoration: line-through; }
.cal-commun__jour.est-passe { background: transparent; opacity: .3; }
@media (max-width: 560px) {
  .cal-commun__fleche { width: 40px; height: 40px; }
  .cal-commun__mois { font-size: 17px; letter-spacing: .08em; }
  .cal-commun__jour { min-height: 48px; gap: 6px; border-radius: 10px; }
  .cal-commun__num { font-size: 14px; }
  .cal-commun__points { gap: 3px; }
  .cal-commun__point { width: 9px; height: 9px; }
  .cal-commun__ligne { gap: 3px; }
}

/* Formulaires MotoPress (recherche, finalisation) : mêmes champs soulignés que la page Contact */
.mphb_sc_search-form { display: grid; gap: 22px; margin: 0; }
.mphb_sc_search-form p { margin: 0; }
.mphb_sc_search-form br, .mphb_sc_search-form > .mphb-required-fields-tip { display: none !important; }
:is(.mphb_sc_search-form, .mphb_sc_checkout-form) abbr { text-decoration: none; border: 0; color: var(--sable); }
:is(.mphb_sc_search-form, .mphb_sc_checkout-form) label { display: block; margin-bottom: 4px; font: 400 12px/1.3 var(--texte); text-transform: uppercase; letter-spacing: .14em; color: rgba(241, 236, 226,.5); }
:is(.mphb_sc_search-form, .mphb_sc_checkout-form) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea) {
  appearance: none; -webkit-appearance: none; width: 100%; box-sizing: border-box;
  border: 0; border-bottom: 1px solid rgba(241, 236, 226,.25); border-radius: 0; padding: 10px 0 12px; background: transparent;
  font: 300 18px/1.4 var(--texte); color: var(--pierre); color-scheme: dark; transition: border-color .25s; }
:is(.mphb_sc_search-form, .mphb_sc_checkout-form) :is(input, select, textarea):focus { outline: none; border-color: var(--sable); }
:is(.mphb_sc_search-form, .mphb_sc_checkout-form) select option { background: var(--nuit); }
/* menus de choix (voyageurs, pays) : une flèche discrète montre qu'on peut changer la valeur */
:is(.mphb_sc_search-form, .mphb_sc_checkout-form) select[name] {   /* [name] : passe devant la règle des champs (fond transparent) */
  padding-right: 26px !important; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23D0CECC' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center / 12px 8px; }
:is(.mphb_sc_search-form, .mphb_sc_checkout-form) ::placeholder { color: rgba(241, 236, 226,.35); }
.mphb_sc_search-submit-button-wrapper { margin-top: 6px !important; }

/* Boutons MotoPress = .bouton de la maquette */
:is(.mphb_sc_search-form, .mphb_sc_search_results-wrapper, .mphb_sc_checkout-wrapper, .mphb_sc_booking_confirmation, .mphb-reservation-cart) :is(input[type="submit"], button.button, a.button, .mphb-button) {
  display: inline-flex; align-items: center; justify-content: center; width: auto;
  min-height: 64px; padding: 0 44px; border: 0; border-radius: 4px;
  background: linear-gradient(28deg, var(--sable) 0%, var(--sable-2) 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 30px -14px rgba(0,0,0,.7);
  font: 500 16px/1 var(--texte); text-transform: uppercase; color: #fff; text-decoration: none; cursor: pointer; transition: filter .25s; }
:is(.mphb_sc_search-form, .mphb_sc_search_results-wrapper, .mphb_sc_checkout-wrapper, .mphb_sc_booking_confirmation, .mphb-reservation-cart) :is(input[type="submit"], button.button, a.button, .mphb-button):hover { filter: brightness(1.08); }

/* Barre de recherche de l'accueil (.barre) : le formulaire MotoPress reprend la barre de la maquette */
.barre > .mphb_sc_search-wrapper { grid-column: 1 / -1; }
.barre .mphb_sc_search-form { grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: 0; }
.barre .mphb_sc_search-form > p:not(.mphb_sc_search-submit-button-wrapper) { display: flex; flex-direction: column; gap: 6px; padding: 8px 34px; border-right: 1px solid rgba(241, 236, 226,.12); }
.barre .mphb_sc_search-form > .mphb_sc_search-adults { border-right: 0; }
.barre .mphb_sc_search-form label { margin: 0; }
.barre .mphb_sc_search-form abbr { display: none; }
.barre .mphb_sc_search-form :is(input[type="text"], select) { border: 0; padding: 0; font: 300 22px/1.2 var(--titre); text-transform: uppercase; cursor: pointer; }
.barre .mphb_sc_search-submit-button-wrapper { margin: 0 !important; }
.barre .mphb_sc_search-form input[type="submit"] { border-radius: 999px; min-height: 68px; }
@media (max-width: 1180px) {
  .barre .mphb_sc_search-form { grid-template-columns: repeat(3, 1fr); }
  .barre .mphb_sc_search-submit-button-wrapper { grid-column: 1 / -1; margin-top: 10px !important; }
  .barre .mphb_sc_search-form input[type="submit"] { width: 100%; }
}
@media (max-width: 860px) {
  .barre .mphb_sc_search-form { grid-template-columns: 1fr; }
  .barre .mphb_sc_search-form :is(input[type="text"], select) { min-height: 44px; }   /* zone à toucher confortable */
  .barre .mphb_sc_search-form > p:not(.mphb_sc_search-submit-button-wrapper) { border-right: 0; border-bottom: 1px solid rgba(241, 236, 226,.12); padding: 14px 18px; }
}

/* Calendriers (disponibilités affichées et sélecteur de dates) : jours ronds, nuits prises barrées, séjour en sable */
:is(.mphb-calendar, .mphb-datepick-popup) {
  --mphb-available-date-bg: transparent; --mphb-available-date-color: var(--pierre);
  --mphb-not-available-date-bg: transparent; --mphb-not-available-date-color: rgba(241, 236, 226,.28);
  --mphb-booked-date-bg: transparent; --mphb-booked-date-color: rgba(241, 236, 226,.28);
  --mphb-out-of-season-date-bg: transparent; --mphb-out-of-season-date-color: rgba(241, 236, 226,.28);
  --mphb-unselectable-date-color: rgba(241, 236, 226,.28);
  --mphb-selected-date-bg: var(--sable-2); --mphb-selected-date-color: #fff; }
/* le sélecteur de dates porte .mphb-datepick-popup sur l'élément .datepick lui-même */
.mphb-calendar .datepick { width: auto !important; }
:is(.mphb-calendar .datepick, .datepick.mphb-datepick-popup) { background: transparent; color: var(--pierre); border: 0; border-radius: 0; font: 300 14px/1 var(--texte); }
:is(.mphb-calendar, .mphb-datepick-popup) :is(.datepick-nav, .datepick-ctrl) { float: none; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0 4px 14px; background: transparent; color: var(--pierre); font: 400 11px/1 var(--texte); text-transform: uppercase; letter-spacing: .12em; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-cmd { float: none; width: auto; padding: 6px 4px; color: var(--pierre); opacity: .7; background: transparent; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-cmd:hover { opacity: 1; background: transparent; }
/* flèches « mois précédent / suivant » : ronds avec un chevron, comme le calendrier commun (25/11/2026) — le texte
   « <Préc / Suiv> » reste pour les lecteurs d'écran (title), il est seulement masqué */
:is(.mphb-calendar, .mphb-datepick-popup) :is(.datepick-cmd-prev, .datepick-cmd-next) {
  position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; overflow: hidden;
  border: 1px solid rgba(241, 236, 226, .45); border-radius: 50%; font-size: 0; color: transparent; opacity: 1; transition: background .25s, border-color .25s; }
:is(.mphb-calendar, .mphb-datepick-popup) :is(.datepick-cmd-prev, .datepick-cmd-next)::before {
  content: ""; width: 9px; height: 9px; border-left: 2px solid #F1ECE2; border-bottom: 2px solid #F1ECE2; transform: translateX(2px) rotate(45deg); }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-cmd-next::before { transform: translateX(-2px) rotate(-135deg); }
:is(.mphb-calendar, .mphb-datepick-popup) :is(.datepick-cmd-prev, .datepick-cmd-next):hover { background: #F1ECE2; border-color: #F1ECE2; }
:is(.mphb-calendar, .mphb-datepick-popup) :is(.datepick-cmd-prev, .datepick-cmd-next):hover::before { border-color: #25332B; }
:is(.mphb-calendar, .mphb-datepick-popup) :is(.datepick-cmd-prev, .datepick-cmd-next).datepick-disabled { opacity: .25; background: transparent; cursor: default; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month { border: 0; padding: 0 6px 6px; box-sizing: border-box; background: transparent; }
:is(.mphb-calendar, .mphb-datepick-popup) :is(.datepick-month-header, .datepick-month-header select) { background: transparent; color: var(--pierre); font: 400 15px/1 var(--titre); text-transform: uppercase; letter-spacing: .04em; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month-header { padding: 2px 0 14px; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month-header select { appearance: none; -webkit-appearance: none; border: 0; padding: 0 2px; cursor: pointer; color-scheme: dark; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month-header select option { background: var(--nuit); }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month thead { border: 0; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month :is(th, th a) { background: transparent; border: 0; padding: 0 0 8px; color: rgba(241, 236, 226,.45); font: 400 11px/1 var(--texte); text-transform: uppercase; letter-spacing: .08em; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month td { background: transparent; border: 0; padding: 2px; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month td :is(a, span) { display: grid; place-items: center; aspect-ratio: 1; height: auto; padding: 0; border-radius: 50%; background: transparent; color: var(--pierre); font-size: 14px; line-height: 1; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month td :is(.datepick-other-month, .mphb-extra-date) { visibility: hidden; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month td :is(.mphb-booked-date, .mphb-not-available-date, .mphb-out-of-season-date, .mphb-mark-as-unavailable, .mphb-earlier-min-date, .mphb-later-max-date):not(.mphb-selectable-date) { color: rgba(241, 236, 226,.28); text-decoration: line-through; opacity: 1; background: transparent; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month td .mphb-past-date { color: rgba(241, 236, 226,.2); opacity: 1; background: transparent; text-decoration: none; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month td .datepick-today { box-shadow: inset 0 0 0 1px rgba(241, 236, 226,.35); background: transparent; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month td a:hover { background: rgba(196, 105, 63,.3); color: #F1ECE2; }
:is(.mphb-calendar, .mphb-datepick-popup) .datepick-month td :is(.datepick-highlight, .datepick-selected, .mphb-selected-date, .mphb-check-in-date) { background: var(--sable-2); color: #F1ECE2; text-decoration: none; }
.mphb_sc_availability_calendar-wrapper .mphb-calendar .datepick-month-row { display: flex; gap: 0; }
.datepick-popup { z-index: 60; }
.datepick.mphb-datepick-popup { box-sizing: content-box; padding: 18px 14px 10px; border-radius: 22px; background: var(--nuit-2); box-shadow: inset 0 0 0 1px rgba(241, 236, 226,.12), 0 30px 60px -20px rgba(0,0,0,.75); }
/* aujourd'hui, jour survolé, jours choisis : les règles de MotoPress (0,4,2) l'emportaient, d'où le « body » */
body .datepick.mphb-datepick-popup .datepick-month td a.datepick-today { background: transparent; color: var(--pierre); box-shadow: inset 0 0 0 1px rgba(241, 236, 226,.35); }
body .datepick.mphb-datepick-popup .datepick-month td a.datepick-highlight { background: rgba(196, 105, 63,.35); color: #F1ECE2; box-shadow: none; }
body .datepick.mphb-datepick-popup .datepick-month td :is(a.datepick-selected, .mphb-selected-date, .mphb-check-in-date) { background: var(--sable-2); color: #F1ECE2; box-shadow: none; text-decoration: none; opacity: 1; }
/* téléphone : un seul mois (réglé par le thème), centré et en grand pour rester lisible */
@media (max-width: 640px) {
  .datepick-popup { left: 50% !important; transform: translateX(-50%); }
  .datepick.mphb-datepick-popup { width: min(340px, calc(100vw - 24px)) !important; box-sizing: border-box; }
  .datepick.mphb-datepick-popup .datepick-month { width: 100%; }
  .datepick.mphb-datepick-popup .datepick-month td :is(a, span) { font-size: 16px; }
}
@media (max-width: 560px) { .mphb_sc_availability_calendar-wrapper .mphb-calendar .datepick-month-row { flex-direction: column; } .mphb_sc_availability_calendar-wrapper .mphb-calendar .datepick-month { width: 100% !important; } }

/* Pages de réservation (résultats, finalisation, confirmation) : contenu MotoPress lisible sur la carte sombre */
.reservation-mphb > :is(.mphb_sc_search_results-wrapper, .mphb_sc_checkout-wrapper, .mphb_sc_booking_confirmation, .wp-block-shortcode) { width: min(980px, 100%); margin-inline: auto; text-align: left; }
.reservation-mphb :is(h2, h3, h4):not(.titre-l) { margin: 34px 0 14px; font: 400 clamp(20px, 1.8vw, 26px)/1.15 var(--titre); text-transform: uppercase; color: #F1ECE2; }
.reservation-mphb :is(p, li, td, th, dd, dt) { font-size: 16px; line-height: 1.6; color: var(--pierre); }
.reservation-mphb a:not(.button):not(.mphb-button) { color: #F1ECE2; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.reservation-mphb table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; }
.reservation-mphb :is(th, td) { padding: 12px 8px; border: 0; border-bottom: 1px solid rgba(241, 236, 226,.12); text-align: left; background: transparent; }
.reservation-mphb .mphb-price { color: #F1ECE2; }

/* Résultats de recherche : une carte par chambre, photo arrondie à gauche, détails en liste fine à droite (comme .trajets) */
.reservation-mphb .mphb_sc_search_results-info { margin: 0 0 30px; text-align: center; color: rgba(241, 236, 226,.7); }
.reservation-mphb .mphb-recommendation-title { margin-top: 0 !important; }
.reservation-mphb form.mphb-recommendation { display: grid; grid-template-columns: 1fr auto; gap: 14px 30px; align-items: center; margin: 0 0 40px;
  padding: clamp(22px, 2.6vw, 34px); border-radius: calc(var(--rayon-photo) - 10px); background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(241, 236, 226,.08); }
.reservation-mphb .mphb-recommendation-details-list { grid-column: 1 / -1; margin: 0; padding: 0; list-style: none; }
.reservation-mphb .mphb-recommendation-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; }
.reservation-mphb .mphb-recommendation-total { margin: 0; font-size: 18px; }
.reservation-mphb .mphb-recommendation-total .mphb-price { font: 400 26px/1 var(--titre); }
.reservation-mphb .mphb-room-type { display: grid; grid-template-columns: minmax(0, 42%) 1fr; column-gap: clamp(24px, 3.4vw, 54px); align-items: start;
  padding: 34px 0; border-top: 1px solid rgba(241, 236, 226,.12); }
.reservation-mphb .mphb-room-type > * { grid-column: 2; margin: 0 0 12px; }
.reservation-mphb .mphb-room-type > .mphb-loop-room-thumbnail { grid-column: 1; grid-row: 1 / span 12; margin: 0; }
.reservation-mphb .mphb-loop-room-thumbnail img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--rayon-photo) - 8px); }
.reservation-mphb .mphb-room-type > .mphb-room-type-title { margin: 4px 0 10px !important; font: 400 clamp(26px, 2.4vw, 36px)/1 var(--titre-deco) !important; }
/* ailleurs (finalisation : « Type d’hébergement : … ») le titre contient des accents : Jost, comme les autres titres MotoPress */
.reservation-mphb .mphb_sc_checkout-form .mphb-room-type-title { margin: 6px 0 14px; font: 400 20px/1.2 var(--titre); text-transform: none; color: #F1ECE2; }
.reservation-mphb .mphb-login-form-wrap { display: none; }
.reservation-mphb .mphb-attribute-value a { color: inherit !important; text-decoration: none !important; pointer-events: none; }
.reservation-mphb .mphb-required-fields-tip { font-size: 13px; color: rgba(241, 236, 226,.72); }
.reservation-mphb .mphb_sc_checkout-form p { margin: 0 0 22px; }
.reservation-mphb .mphb-errors-wrapper:empty { display: none; }
.reservation-mphb .mphb-total-price { font-size: 18px; }
.reservation-mphb .mphb-total-price output { font: 400 26px/1 var(--titre); color: #F1ECE2; }
/* Conditions de réservation (page MotoPress des conditions) : colonne de lecture, listes fines comme .trajets */
.conditions__corps { width: min(760px, 100%); margin: 10px auto 0; text-align: left; }
.conditions__corps .wp-block-list { margin: 0 0 10px; padding: 0; list-style: none; }
.conditions__corps .wp-block-list li { padding: 12px 0; border-top: 1px solid rgba(241, 236, 226,.12); }
/* case « J'ai lu et j'accepte les conditions » de la finalisation */
.reservation-mphb .mphb-terms-and-conditions-accept label { display: flex; gap: 12px; align-items: flex-start; font: 400 15px/1.5 var(--texte); text-transform: none; letter-spacing: 0; color: var(--pierre); cursor: pointer; }
.reservation-mphb .mphb-terms-and-conditions-accept input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--sable-2); }
.reservation-mphb .mphb-terms-and-conditions { max-height: 0; overflow: hidden; }
.reservation-mphb .mphb-room-type-title a { color: #F1ECE2 !important; text-decoration: none !important; }
.reservation-mphb .mphb-room-type-details-title { display: none; }
.reservation-mphb .mphb-loop-room-type-attributes { margin: 6px 0 18px; padding: 0; list-style: none; }
.reservation-mphb .mphb-loop-room-type-attributes li { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-top: 1px solid rgba(241, 236, 226,.12); font-size: 15px; }
.reservation-mphb .mphb-attribute-title { flex: none; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(241, 236, 226, .72); }
.reservation-mphb .mphb-attribute-value { text-align: right; color: var(--pierre); }
.reservation-mphb .mphb-regular-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.reservation-mphb .mphb-regular-price strong { font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(241, 236, 226, .72); }
.reservation-mphb .mphb-regular-price .mphb-price { font: 400 30px/1 var(--titre); }
.reservation-mphb .mphb-price-period { font-size: 14px; color: rgba(241, 236, 226,.7); }
.reservation-mphb .mphb-reserve-room-section { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.reservation-mphb .mphb-rooms-reservation-message-wrapper:empty, .reservation-mphb .mphb-rooms-reservation-message:empty { display: none; }
@media (max-width: 860px) {
  .reservation-mphb .mphb-room-type { grid-template-columns: 1fr; }
  .reservation-mphb .mphb-room-type > *, .reservation-mphb .mphb-room-type > .mphb-loop-room-thumbnail { grid-column: 1; grid-row: auto; }
  .reservation-mphb .mphb-loop-room-thumbnail { margin-bottom: 20px !important; }
  .reservation-mphb form.mphb-recommendation { grid-template-columns: 1fr; }
}

/* ---- Contact Form 7 : le gabarit du formulaire reprend les classes de la maquette (.formulaire, .champ…) */
.wpcf7 { width: min(820px, 100%); }
.wpcf7 .formulaire { width: 100%; }
/* ---- Numéro « 01/ » des surtitres : <em> sans classe dans le bloc paragraphe, même rendu que .num dans la maquette */
.carte-split .surtitre em { font-style: normal; font-family: var(--titre); font-weight: 300; letter-spacing: -.01em; }

.formulaire .wpcf7-form-control-wrap { display: block; width: 100%; }
/* dans l'enveloppe de CF7, le champ redevient un bloc : sinon la ligne de texte ajoute 8 px sous le textarea */
.formulaire .wpcf7-form-control-wrap > :is(input, select, textarea) { display: block; }
.formulaire .consentement .wpcf7-form-control-wrap, .formulaire .consentement .wpcf7-list-item { display: block; margin: 0; }
.formulaire .consentement label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.formulaire input[type="submit"] {
  width: auto; display: inline-flex; align-items: center; justify-content: center;
  min-height: 64px; padding: 0 44px; border: 0; border-radius: 4px;
  background: linear-gradient(28deg, var(--sable) 0%, var(--sable-2) 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 30px -14px rgba(0,0,0,.7);
  font: 500 16px/1 var(--texte); text-transform: uppercase; color: #fff; cursor: pointer; transition: filter .25s;
}
.formulaire input[type="submit"]:hover { filter: brightness(1.08); }
.wpcf7-spinner { display: none; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; color: #E8B4A0; }
.wpcf7 form .wpcf7-response-output { margin: 26px 0 0; padding: 14px 18px; border: 1px solid rgba(241, 236, 226,.3); border-radius: 14px; color: var(--pierre); text-align: center; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--sable); }
@media (max-width: 560px) { .formulaire input[type="submit"] { padding: 0 28px; } }

/* ---- Pages messages (404) */
.page-message .chapo { margin-bottom: 40px; }

/* étiquettes vitrées des cartes photo : textes blancs (posés sur la photo) */
.carte-photo__verre .carte-photo__nom, .carte-photo__verre .carte-photo__nom a { color: #fff; }
.carte-photo__verre .carte-photo__info { color: rgba(255, 255, 255, .78); }
/* boutons « contour » dans les cartes sauge : texte et filet foncés */
.carte .pilule--contour > .wp-block-button__link { color: #F1ECE2; border-color: rgba(241, 236, 226, .45); }
.carte .pilule--contour > .wp-block-button__link:hover { background: #F1ECE2; color: #25332B; }
/* boutons des formulaires (réservation MotoPress, contact) : même effet contour que les autres boutons */
:is(.mphb_sc_search-form, .mphb_sc_search_results-wrapper, .mphb_sc_checkout-wrapper, .mphb_sc_booking_confirmation, .mphb-reservation-cart) :is(input[type="submit"], button.button, a.button, .mphb-button),
.formulaire input[type="submit"] { background: transparent; box-shadow: inset 0 0 0 1px rgba(241, 236, 226, .45); border-radius: 999px; color: #F1ECE2; transition: background .25s, color .25s; }
:is(.mphb_sc_search-form, .mphb_sc_search_results-wrapper, .mphb_sc_checkout-wrapper, .mphb_sc_booking_confirmation, .mphb-reservation-cart) :is(input[type="submit"], button.button, a.button, .mphb-button):hover,
.formulaire input[type="submit"]:hover { background: #F1ECE2; color: #25332B; filter: none; }
/* numéros « 01/ » des blocs à trois colonnes, sur la carte sauge */
.trio .num { color: rgba(241, 236, 226, .72); }
/* formulaires sur la carte sauge : intitulés et traits sous les champs plus foncés (25/11/2026, demande des propriétaires) */
.champ__nom, :is(.mphb_sc_search-form, .mphb_sc_checkout-form) label { color: rgba(241, 236, 226, .82); }
.formulaire :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea),
:is(.mphb_sc_search-form, .mphb_sc_checkout-form) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea) { border-bottom-color: rgba(241, 236, 226, .5); }
.formulaire :is(input, textarea)::placeholder { color: rgba(241, 236, 226, .55); }
/* légendes des photos (« 01/ La terrasse », « 5 min/ Riez à pied »…) masquées sur tout le site (25/11/2026, demande des
   propriétaires) : elles restent dans les pages, il suffit de retirer cette règle pour les faire revenir */
.legende-slide { display: none !important; }
/* liens dans les textes (maillage interne, 26/11/2026) : couleur du texte, soulignement fin, plus marqué au survol */
:is(.intro__texte, .texte-carte, .trio__texte, .sous-titre, .chapo) a:not(.bouton):not(.wp-block-button__link) {
  color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
:is(.intro__texte, .texte-carte, .trio__texte, .sous-titre, .chapo) a:not(.bouton):not(.wp-block-button__link):hover { text-decoration-thickness: 2px; }
/* titres en Retrospective : version accentuée lue par Google et les lecteurs d'écran, cachée à l'œil (voir functions.php) */
.seo-texte { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.photo-verticale { display: contents; }   /* <picture> des photos d'en-tête : l'image reste mise en page comme avant */
.seo-acc::after { content: attr(data-vu); content: attr(data-vu) / ""; }   /* version sans accents : affichée, ni indexée ni lue */
/* exception demandée : « 01/ À bientôt » sur la photo du portail (carte Coordonnées, page Contact, id 156) */
.page-id-156 .carte-split .legende-slide { display: block !important; }
.page-id-156 .carte-split .legende-slide .legende { color: #fff; }
.page-id-156 .carte-split .legende-slide .num { color: rgba(255, 255, 255, .62); }
.page-id-156 .carte-split .legende-slide :is(.legende, .num) { text-shadow: 0 1px 2px rgba(0,0,0,.5), 0 0 22px rgba(0,0,0,.45); }
/* exception demandée (28/11/2026) : titres visibles sur le diaporama Histoire (page Partager) ; police sans accents → « facade » */
.legendes-visibles .legende-slide { display: block !important; }
.legendes-visibles .legende-slide .legende { color: #fff; }
.legendes-visibles .legende-slide .num { color: rgba(255, 255, 255, .62); }
.legendes-visibles .legende-slide :is(.legende, .num) { text-shadow: 0 1px 2px rgba(0,0,0,.5), 0 0 22px rgba(0,0,0,.45); }
/* pied de page en carte vert sauge, comme les autres cartes */
.pied { background: var(--nuit); border-radius: var(--rayon); margin: 0 var(--marge); padding-top: clamp(48px, 5vw, 80px); }
/* boutons Instagram / WhatsApp : dans la carte (décalés de la même marge que la carte) */
.instagram-zone { left: calc(var(--marge) + clamp(16px, 2.4vw, 36px)); }
/* ---- Essai de palette (branche essai-palette) : fond de page blanc, textes posés directement sur le fond en vert forêt */
.intro :is(.titre-xl, .titre-l, .chiffre), .services-zone :is(.titre-xl, .titre-l) { color: #F1ECE2; }
.intro :is(.intro__texte, .chiffre__txt, .surtitre), .services-zone :is(.intro__texte, .chapo, .surtitre) { color: rgba(241, 236, 226, .72); }
.pied, .pied a, .pied .wp-block-navigation-item__label, .pied .drapeau-fierte { color: #F1ECE2; }
.pied .pied__mentions, .pied .pied__mentions a { color: rgba(241, 236, 226, .66); }
.wp-block-navigation.pied__menu .wp-block-navigation-item__content { color: #F1ECE2; }
/* ---- Fond de page sauge #A19D83, cartes olive #5A5642 (échange fond/cartes du 26/11/2026 ; avant : fond olive, cartes sauge ; voir --moka dans
        site/css/style.css) — les textes et boutons posés directement sur le fond sont en vert foncé */
:root { --moka: #A19D83; }
.intro :is(.titre-xl, .titre-l, .chiffre), .services-zone :is(.titre-xl, .titre-l) { color: #25332B; }
.intro :is(.intro__texte, .chiffre__txt, .surtitre), .services-zone :is(.intro__texte, .chapo, .surtitre) { color: rgba(37, 51, 43, .78); }
.intro .pilule--contour > .wp-block-button__link { color: #25332B; box-shadow: inset 0 0 0 1px rgba(37, 51, 43, .55); }
.intro .pilule--contour > .wp-block-button__link:hover { background: #25332B; color: #F1ECE2; }
/* boutons sur le fond (« Voir les disponibilités »…) : toujours remplis de vert, plus foncé au survol (27/11/2026, demande) */
.intro .bouton > .wp-block-button__link { background: #25332B; color: #F1ECE2; box-shadow: none; }
.intro .bouton > .wp-block-button__link:hover { background: #15241B; color: #F1ECE2; }

/* ---- Choix de la langue (GTranslate, 24/11/2026) : pastille « drapeau FR ⌄ » dans l'en-tête, entre « Menu » et
        « Réserver », construite par app.js. La barre de drapeaux flottante de l'extension reste dans la page,
        cachée : c'est elle qui lance la traduction (la pastille clique sur ses liens). */
.gtranslate_wrapper .gt_switcher_wrapper { display: none !important; }
.langue-choix { position: relative; flex: none; margin-left: 8px; align-self: center; }
.langue-choix__bouton {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 14px; border: 0; border-radius: 999px;
  background: rgba(16, 32, 24, .85); box-shadow: 0 6px 16px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font: 400 13px/1 var(--texte); text-transform: uppercase; color: #E2DDD3; cursor: pointer; transition: background .25s, color .25s;
}
.langue-choix__bouton:hover, .langue-choix.est-ouvert .langue-choix__bouton { background: #24382C; color: #fff; }
.langue-choix img { width: 18px; height: 12px; border-radius: 2px; object-fit: cover; flex: none; }
.langue-choix__chevron { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.langue-choix.est-ouvert .langue-choix__chevron { transform: translateY(1px) rotate(225deg); }
.langue-choix__liste {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 20; margin: 0; padding: 8px; list-style: none; min-width: 172px;
  border-radius: 22px; background: rgba(16, 32, 24, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.55);
}
.langue-choix__liste[hidden] { display: none; }
.langue-choix__liste a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; font: 400 14px/1 var(--texte); color: #E9E6E1; text-decoration: none; }
.langue-choix__liste a:hover, .langue-choix__liste a[aria-current="true"] { background: rgba(255,255,255,.1); color: #fff; }
/* entre 1321 et 1560 px, les 7 boutons de pages sont en ligne et serrés : la pastille ne garde que le drapeau */
@media (min-width: 1321px) and (max-width: 1560px) { .langue-choix__code { display: none; } .langue-choix__bouton { padding: 0 12px; gap: 6px; } }
@media (max-width: 560px) {
  .langue-choix { margin-left: 6px; }
  .langue-choix__bouton { padding: 0 12px; gap: 6px; font-size: 12.5px; }
}
@media (max-width: 400px) { .langue-choix__code { display: none; } }
