/* Page publique de tous les logements (host-pay.app) : complète vitrine.css (mêmes jetons de couleur).
   Téléphone d'abord : en-tête réduit, barre du bas comme l'espace pro, rangées par ville qui défilent. */

/* --- En-tête et navigation ------------------------------------------------- */
.ex-tete { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; padding: max(0.875rem, env(safe-area-inset-top)) 1.25rem 0.875rem; background: rgba(247, 248, 250, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ex-marque { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.3125rem; font-weight: 800; letter-spacing: -0.035em; }
.ex-marque .vt-logo-mark { width: 2.25rem; height: 2.25rem; border-radius: 0.7rem; }
.ex-marque .vt-logo-mark svg { width: 1.25rem; height: 1.25rem; }
.ex-nav { display: none; }
.ex-pro { display: inline-flex; align-items: center; gap: 1.25rem; }
/* « Vous êtes hôte ? » : bouton à l'encre, la marque reste le seul vert de l'en-tête */
.ex-hote { display: inline-flex; align-items: center; min-height: 2.625rem; padding: 0 1.05rem; border-radius: 0.875rem; background: var(--encre); color: #fff !important; font-size: 0.875rem; font-weight: 800; letter-spacing: -0.01em; transition: transform 0.15s ease, background 0.15s ease; }
.ex-hote:hover { background: #1f2937; }
.ex-hote:active { transform: scale(0.97); }
.ex-connexion { display: none; }
.ex-nav-lien { position: relative; display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9375rem; font-weight: 700; color: var(--gris-5); }
.ex-nav-lien.est-actif { color: var(--encre); }
.ex-nav-lien .ex-nb { position: absolute; top: -0.35rem; left: 0.75rem; min-width: 1.05rem; height: 1.05rem; padding: 0 0.25rem; border-radius: 999px; background: var(--rose); color: #fff; font-size: 0.625rem; font-style: normal; font-weight: 800; line-height: 1.05rem; text-align: center; }

/* Barre du bas (téléphone) */
.ex-barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--trait); }
.ex-barre .ex-nav-lien { flex-direction: column; gap: 0.2rem; padding: 0.3rem 0; font-size: 0.6875rem; color: var(--gris-4); }
.ex-barre .ex-nav-lien svg { width: 1.375rem; height: 1.375rem; }
.ex-barre .ex-nav-lien.est-actif { color: var(--encre); }
.ex-barre .ex-nav-lien.est-actif svg { color: var(--vert); }
.ex-barre .ex-nb { left: 50%; margin-left: 0.25rem; top: 0; }

/* --- Accueil ------------------------------------------------------------------ */
.ex-page { padding-top: 1.25rem; padding-bottom: 6.5rem; }
.ex-intro { margin: 1rem 0 2.25rem; }
.ex-intro .ex-sous { margin-bottom: 0; }
.ex-titre { margin: 0; font-size: 2.375rem; font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; }
.ex-sous { margin: 0.7rem 0 1.25rem; font-size: 0.9375rem; font-weight: 500; color: var(--gris-5); }

/* Rangées par ville */
.ex-rangee { margin-top: 3.5rem; }
.ex-rangee:first-child { margin-top: 3rem; }
.ex-rangee-tete { display: flex; align-items: baseline; gap: 0.875rem; margin-bottom: 1.125rem; }
.ex-rangee-tete h2 { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.025em; }
.ex-fleches { display: none; margin-left: auto; gap: 0.4rem; }
.ex-fleches button { width: 2.125rem; height: 2.125rem; border-radius: 999px; background: #fff; box-shadow: var(--ombre); display: inline-flex; align-items: center; justify-content: center; }
.ex-defil { list-style: none; display: flex; gap: 1rem; margin: 0 -1.25rem; padding: 0 1.25rem 0.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 1.25rem; scrollbar-width: none; }
.ex-defil::-webkit-scrollbar { display: none; }
.ex-defil > .vt-carte { flex: 0 0 78%; scroll-snap-align: start; }
.ex-lien { font: inherit; font-size: 0.875rem; font-weight: 700; color: var(--vert-encre) !important; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
.ex-grille { margin-top: 0; }

/* Cœur des favoris */
.ex-carte { position: relative; }
.ex-coeur { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; width: 2.375rem; height: 2.375rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: #fff; -webkit-tap-highlight-color: transparent; }
.ex-coeur svg { width: 1.5rem; height: 1.5rem; fill: rgba(17, 24, 39, 0.35); stroke-width: 2; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25)); transition: transform 0.15s ease, fill 0.15s ease; }
.ex-coeur[aria-pressed="true"] svg { fill: var(--rose); stroke: #fff; }
.ex-coeur:active svg { transform: scale(0.88); }
.vt-coeur svg { fill: none; transition: fill 0.15s ease; }
.vt-coeur[aria-pressed="true"] { color: var(--rose); }
.vt-coeur[aria-pressed="true"] svg { fill: var(--rose); }
.vt-haut-actions { display: inline-flex; gap: 0.5rem; }

/* Aucun résultat */
.ex-vide { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; margin-top: 2rem; padding: 1.5rem 1.25rem; border-radius: 1.375rem; background: #eef1f4; }
.ex-vide b { font-size: 1.0625rem; font-weight: 800; }
.ex-vide p { margin: 0 0 0.35rem; font-size: 0.9375rem; color: var(--gris-5); }
.ex-vide--page { align-items: center; text-align: center; padding: 2.25rem 1.25rem; }

/* --- Feuilles ----------------------------------------------------------------- */
.ex-feuille .vt-feuille-sous { line-height: 1.5; }
.ex-dates-sous { margin-top: 0; }
.ex-feuille-corps > .vt-feuille-bas { margin-top: 1rem; }
.ex-choix-liste { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.5rem; }
.ex-choix { display: flex; align-items: center; gap: 0.875rem; padding: 0.65rem 0.5rem; border-radius: 1rem; text-align: left; }
.ex-choix:hover { background: #f5f6f8; }
.ex-choix-ico { width: 2.75rem; height: 2.75rem; border-radius: 0.875rem; background: #f1f3f5; color: var(--gris-7); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ex-choix-txt { display: flex; flex-direction: column; min-width: 0; }
.ex-choix-txt b { font-size: 1rem; font-weight: 800; }
.ex-choix-txt small { font-size: 0.8125rem; font-weight: 600; color: var(--gris-5); }
.ex-choix.est-choisi .ex-choix-ico { background: var(--encre); color: var(--vert); }

/* --- Favoris, réservations ------------------------------------------------------ */
.ex-form { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.5rem; width: 100%; }
.ex-saisie { display: flex; align-items: center; gap: 0.6rem; padding: 0 0.95rem; border: 1px solid var(--trait); border-radius: 1rem; background: #fff; }
.ex-saisie svg { color: var(--gris-4); }
.ex-saisie input { flex: 1; min-width: 0; padding: 0.9rem 0; border: 0; background: none; font: inherit; font-size: 16px; color: var(--encre); }
.ex-saisie input:focus { outline: none; }
.ex-saisie:focus-within { border-color: var(--vert); box-shadow: 0 0 0 3px rgba(6, 214, 160, 0.15); }
.ex-acces { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; max-width: 26rem; margin-top: 1.75rem; }
.ex-acces h2 { margin: 0.75rem 0 0; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.025em; }
.ex-acces > p { margin: 0 0 0.75rem; font-size: 0.9375rem; line-height: 1.55; color: var(--gris-5); }
.ex-acces-ico { width: 3.25rem; height: 3.25rem; border-radius: 1.05rem; background: var(--vert-clair); color: var(--vert-encre); display: inline-flex; align-items: center; justify-content: center; }
.ex-acces-ico svg { width: 1.5rem; height: 1.5rem; }
.ex-code { width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--trait); border-radius: 1rem; background: #fff; font: inherit; font-size: 1.75rem; font-weight: 800; letter-spacing: 0.5em; text-align: center; color: var(--encre); }
.ex-code:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px rgba(6, 214, 160, 0.15); }
.ex-qui { margin: 2rem 0 0; font-size: 0.8125rem; color: var(--gris-5); }
.ex-acces .ex-qui { margin-top: 0.5rem; }
.ex-charge { margin-top: 1.5rem; color: var(--gris-5); }
.ex-sous-titre { margin: 2rem 0 0.75rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gris-4); }
.ex-sejours { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.ex-sejour { display: flex; gap: 0.95rem; padding: 0.75rem; border-radius: 1.25rem; background: #fff; box-shadow: var(--ombre); }
.ex-sejour-photo { width: 5.25rem; height: 5.25rem; flex-shrink: 0; border-radius: 0.95rem; overflow: hidden; background: #e9ecef; color: #c4c8cf; display: flex; align-items: center; justify-content: center; }
.ex-sejour-photo img { width: 100%; height: 100%; object-fit: cover; }
.ex-sejour-txt { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; padding-top: 0.15rem; }
.ex-sejour-txt > b { font-size: 0.9375rem; font-weight: 800; line-height: 1.3; }
.ex-sejour-txt > span { font-size: 0.8125rem; color: var(--gris-5); }
.ex-sejour-etat { font-weight: 700; color: var(--vert-encre) !important; }
.ex-sejour-etat.est-attente { color: #b45309 !important; }
.ex-sejour-etat.est-annule { color: var(--gris-4) !important; }
.ex-sejour-action { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem; font-size: 0.8125rem; font-weight: 800; color: var(--rose) !important; }
.ex-sejour-action svg { width: 1rem; height: 1rem; }
.ex-sejour-lien { margin-top: 0.3rem; font-size: 0.8125rem; }

/* --- Pied ------------------------------------------------------------------------- */
.ex-pied { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; padding: 1.5rem 1.25rem 7rem; font-size: 0.75rem; font-weight: 600; color: var(--gris-4); text-align: center; }
.ex-pied p { margin: 0; display: inline-flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; justify-content: center; }
.ex-pied-liens { gap: 0.4rem 1rem !important; }
.ex-pied-liens a { text-decoration: underline; text-underline-offset: 3px; }

/* --- Ordinateur ------------------------------------------------------------------- */
@media (min-width: 768px) {
  .ex-tete { padding: 1rem 2rem; }
  .ex-nav { display: flex; gap: 1.75rem; }
  .ex-connexion { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 800; }
  .ex-barre { display: none; }
  .ex-page { padding-top: 1.5rem; padding-bottom: 3rem; }
  .ex-titre { font-size: 2.75rem; }
  .ex-fleches { display: inline-flex; }
  .ex-defil { margin: 0; padding: 0; scroll-padding: 0; gap: 1.5rem; }
  .ex-defil > .vt-carte { flex: 0 0 calc((100% - 3rem) / 3); }
  .ex-pied { padding-bottom: 2.5rem; }
}
@media (min-width: 1100px) {
  .ex-defil > .vt-carte { flex-basis: calc((100% - 4.5rem) / 4); }
  .ex-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.ex-page { max-width: 80rem; }

/* Filtres : un peu d'air sous la recherche ; le compte de la grille filtrée aussi */
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

/* ==========================================================================
   Présentation pour les hôtes (#hotes) : fond blanc, une carte par fonctionnalité.
   Photos réelles avec de vrais morceaux de l'interface posés dessus, deux maquettes au plus.
   Mobile : le visuel passe avant le texte.
   ========================================================================== */
.hx { background: #fff; color: var(--encre); padding: clamp(5.5rem, 14vw, 8rem) 0 clamp(5.5rem, 12vw, 7rem); border-top: 1px solid var(--trait); }
.hx-page { max-width: 75rem; margin: 0 auto; padding: 0 1.25rem; }
.hx-tete { max-width: 40rem; margin-bottom: clamp(3rem, 7vw, 5rem); }
.hx-tete h2, .hx-fin h2, .hx-tarif h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; }
.hx-tete p { margin: 1.1rem 0 0; font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.6; color: var(--gris-5); }
.hx-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.hx-bouton { display: inline-flex; align-items: center; min-height: 3.25rem; padding: 0 1.6rem; border-radius: 0.95rem; background: var(--vert); color: #fff !important; font-size: 1rem; font-weight: 800; box-shadow: 0 12px 24px -12px rgba(6, 214, 160, 0.9); transition: transform 0.15s ease, background 0.15s ease; }
.hx-bouton:hover { background: var(--vert-fonce); }
.hx-bouton:active { transform: scale(0.97); }
.hx-lien { font-size: 0.9375rem; font-weight: 700; color: var(--encre) !important; text-decoration: underline !important; text-decoration-color: var(--vert) !important; text-decoration-thickness: 2px !important; text-underline-offset: 5px; }

.hx-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6.5rem; }
.hx-carte { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.hx-visuel { order: -1; }
.hx-texte h3 { margin: 0; font-size: 1.625rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; }
.hx-texte p { margin: 0.8rem 0 0; font-size: 0.9375rem; line-height: 1.6; color: var(--gris-5); }
.hx-texte ul, .hx-tarif ul { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.hx-texte li, .hx-tarif li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; font-weight: 600; color: var(--gris-7); }
.hx-texte li svg, .hx-tarif li svg { width: 1rem; height: 1rem; color: var(--vert-encre); flex-shrink: 0; }
.hx-carte--rose .hx-texte li svg { color: var(--rose); }

/* Scènes */
.hx-scene { position: relative; margin: 0; }
/* Seule la photo a un cadre arrondi ; ailleurs aucun cadre : les éléments sont posés sur le blanc */
.hx-scene--photo { aspect-ratio: 4 / 3.4; background: #e9ecef; border-radius: 1.75rem; overflow: hidden; }
/* La fenêtre de l'agenda déborde à droite : coupée par le bord de l'écran, pas par un cadre */
.hx { overflow-x: clip; }
.hx-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx-scene--uni { background: none; padding: 2rem 1rem 1.75rem; display: flex; justify-content: center; }

/* Découpes de l'interface : blanches, ombre douce, légère inclinaison */
.hx-decoupe { position: absolute; z-index: 2; background: #fff; border-radius: 1.1rem; box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.07), 0 18px 32px -18px rgba(17, 24, 39, 0.35); }
.hx-decoupe--img { padding: 0.7rem; }
.hx-decoupe--img img { display: block; width: 100%; height: auto; border-radius: 0.6rem; }
.hx-champ-lien { left: 1rem; right: 1rem; top: 1rem; display: flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.55rem 0.55rem 0.85rem; font-size: 0.8125rem; font-weight: 600; color: var(--gris-7); }
.hx-champ-lien svg { width: 1rem; height: 1rem; color: var(--gris-4); flex-shrink: 0; }
.hx-champ-lien span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-champ-lien b { padding: 0.5rem 0.8rem; border-radius: 0.7rem; background: var(--vert); color: #fff; font-size: 0.8125rem; font-weight: 800; }
.hx-importe { left: 0.75rem; bottom: 0.75rem; width: min(15.5rem, calc(100% - 1.5rem)); display: flex; flex-direction: column; gap: 0.1rem; padding: 0.6rem 0.85rem; border-radius: 0.8rem; transform: rotate(-2deg); }
.hx-importe b { font-size: 0.8125rem; font-weight: 800; letter-spacing: -0.01em; }
.hx-importe span { font-size: 0.6875rem; color: var(--gris-5); white-space: nowrap; }
.hx-importe b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-importe-bas svg { width: 0.75rem !important; height: 0.75rem !important; }
.hx-importe-bas { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.35rem; font-weight: 600; color: var(--vert-encre) !important; }
.hx-importe-bas em { font-style: normal; font-weight: 800; color: var(--encre); margin-right: 0.4rem; }
.hx-importe-bas svg { width: 0.9rem; height: 0.9rem; }
.hx-scene--pose { position: relative; aspect-ratio: 4 / 3.6; padding: 0; display: block; }
.hx-pdf { left: 0.9rem; top: 1.25rem; width: 54%; padding: 0.35rem; border-radius: 0.6rem; transform: rotate(-3deg); }
.hx-pdf img { border-radius: 0.3rem; }
.hx-signature { right: 0.9rem; bottom: 1rem; width: 56%; transform: rotate(2.5deg); }
.hx-montants { z-index: 3; left: 0.9rem; top: 1rem; width: 70%; transform: rotate(-2.5deg); }
.hx-sejour { right: 0.9rem; bottom: 0.9rem; width: 46%; transform: rotate(3deg); }
#hotes-caution .hx-scene--pose { aspect-ratio: 4 / 4.1; }
.hx-scene--pose .hx-pos-haut { left: auto; right: 1rem; top: 1rem; }

/* Téléphone (fiche de police) et fenêtre d'ordinateur (agenda) : les deux seules maquettes */
.hx-tel { position: relative; width: min(58%, 15rem); aspect-ratio: 393 / 852; border-radius: 12.5% / 5.8%; padding: 2.4%; background: #0b0f17; box-shadow: 0 0 0 1.5px #d1d5db, 0 24px 36px -22px rgba(17, 24, 39, 0.45); transform: rotate(-2.5deg); }
.hx-tel > i { position: absolute; z-index: 1; top: 3.4%; left: 50%; transform: translateX(-50%); width: 28%; height: 2.6%; border-radius: 1rem; background: #0b0f17; }
.hx-ecran { width: 100%; height: 100%; padding-top: 11%; border-radius: 10.8% / 5%; background: #fff; overflow: hidden; }
.hx-ecran img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hx-scene--fenetre { padding: 1.75rem 0 1.75rem 1.25rem; justify-content: flex-start; }
.hx-fenetre { flex-shrink: 0; width: 210%; max-width: none; border-radius: 0.9rem; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08), 0 18px 32px -20px rgba(17, 24, 39, 0.35); }
.hx-fenetre-barre { display: flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.8rem; background: #f3f4f6; border-bottom: 1px solid var(--trait); }
.hx-fenetre-barre i { width: 0.55rem; height: 0.55rem; border-radius: 999px; background: #d1d5db; }
.hx-fenetre-barre span { margin-left: 0.8rem; padding: 0.2rem 0.7rem; border-radius: 0.45rem; background: #fff; font-size: 0.6875rem; font-weight: 600; color: var(--gris-5); }
.hx-fenetre img { display: block; width: 100%; height: auto; }

.hx-etiquette { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0.95rem; border-radius: 1rem; background: #fff; color: var(--encre); font-size: 0.875rem; font-weight: 800; box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.07), 0 12px 24px -14px rgba(17, 24, 39, 0.4); }
.hx-etiquette svg { width: 1.05rem; height: 1.05rem; color: var(--vert-encre); }
.hx-etiquette--rose svg { color: var(--rose); }
.hx-pos-haut { left: 1rem; top: 1rem; }
.hx-pos-bas { left: 1rem; bottom: 1.25rem; }

/* Tarif : un vrai calcul (calculateTotalWithFees), posé comme un reçu */
.hx-tarif { margin-top: clamp(6.5rem, 14vw, 9rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
.hx-tarif-texte p { margin: 1rem 0 0; font-size: 0.9375rem; line-height: 1.6; color: var(--gris-5); max-width: 32rem; }
.hx-scene--tarif { order: -1; position: relative; aspect-ratio: 4 / 3.2; padding: 0; display: block; }
.hx-tarif-img { left: 50%; top: 50%; width: 80%; transform: translate(-50%, -50%) rotate(-2deg); }
.hx-recoit { left: 0.9rem; top: 0.9rem; }
.hx-zero { left: auto; right: 0.9rem; bottom: 0.9rem; gap: 0.6rem; }
.hx-zero span { color: var(--gris-5); font-weight: 700; }
.hx-zero b { font-size: 1.125rem; color: var(--vert-encre); }

.hx-fin { margin-top: clamp(6.5rem, 14vw, 9rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; }

/* Apparition au défilement, puis les découpes se posent */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 0.9s cubic-bezier(.2, .7, .2, 1), transform 0.9s cubic-bezier(.2, .7, .2, 1), filter 0.9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
  .rv.in { opacity: 1; transform: none; filter: none; }
  .rv .hx-decoupe, .rv .hx-etiquette { opacity: 0; translate: 0 26px; transition: opacity 0.6s ease, translate 0.8s cubic-bezier(.3, 1.4, .5, 1); }
  .rv.in .hx-decoupe, .rv.in .hx-etiquette { opacity: 1; translate: 0 0; }
  .rv.in .hx-decoupe:nth-of-type(2), .rv.in .hx-champ-lien { transition-delay: 0.45s; }
  .rv.in .hx-decoupe:nth-of-type(3), .rv.in .hx-importe, .rv.in .hx-etiquette { transition-delay: 0.75s; }
  .rv .hx-photo { scale: 1.06; transition: scale 1.8s cubic-bezier(.2, .7, .2, 1); }
  .rv.in .hx-photo { scale: 1; }
}

@media (min-width: 900px) {
  /* Ordinateur : toute la présentation réduite de 20 % */
  .hx { zoom: 0.8; }
  .hx-page { padding: 0 2rem; }
  .hx-grille { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 7rem 4rem; }
  .hx-carte { padding: 0; align-content: start; }
  .hx-carte .hx-texte { padding: 0; }
  .hx-carte.s12 { grid-column: span 12; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 4rem; }
  .hx-carte.s7 { grid-column: span 7; }
  .hx-carte.s5 { grid-column: span 5; }
  .hx-carte.s12:nth-of-type(4) { grid-template-columns: 1fr 1.1fr; }
  .hx-carte.s12:nth-of-type(4) .hx-visuel { order: 2; }
  .hx-texte h3 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
  .hx-scene--uni { background: none; }
  .hx-scene--photo { aspect-ratio: 4 / 3.2; }
  .hx-carte.s12 .hx-scene--photo { aspect-ratio: 16 / 11; }
  .hx-tarif { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 4rem; }
  .hx-scene--pose, #hotes-caution .hx-scene--pose { aspect-ratio: 4 / 3.2; }
  /* Caution : la page de paiement du voyageur et le séjour vu par l'hôte, côte à côte */
  .hx-montants { left: 1.25rem; top: 1.25rem; width: min(56%, 19rem); transform: rotate(-2.5deg); }
  .hx-fenetre { width: 100%; }
  .hx-scene--fenetre { padding-right: 0; }
}

/* Faits, FAQ et liens par ville (lisibles par les visiteurs comme par les moteurs) */
.ex-fil { display: inline-block; margin-bottom: 0.75rem; font-size: 0.875rem; font-weight: 700; color: var(--vert-encre) !important; text-decoration: underline; text-underline-offset: 3px; }
.ex-maj { color: var(--gris-4); }
.ex-faq { margin-top: 4.5rem; max-width: 44rem; }
.ex-faq h2, .ex-villes h2 { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.025em; }
.ex-faq details { border-top: 1px solid var(--trait); }
.ex-faq details:last-child { border-bottom: 1px solid var(--trait); }
.ex-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0.1rem; font-size: 0.9375rem; font-weight: 700; }
.ex-faq summary::-webkit-details-marker { display: none; }
.ex-faq summary::after { content: '+'; color: var(--gris-4); font-weight: 600; font-size: 1.25rem; line-height: 1; }
.ex-faq details[open] summary::after { content: '–'; }
.ex-faq details p { margin: 0 0 1.1rem; font-size: 0.9375rem; line-height: 1.6; color: var(--gris-5); }
.ex-villes { margin-top: 3.5rem; }
.ex-villes div { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.ex-villes a { display: inline-flex; align-items: baseline; gap: 0.4rem; font-size: 0.9375rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gris-3); text-underline-offset: 4px; }
.ex-villes a span { font-size: 0.75rem; font-weight: 600; color: var(--gris-4); text-decoration: none; }

/* Recherche, comme Key Service : Ville | Arrivée → Départ | Filtres. Calendrier et villes en menu sous la
   barre, filtres dépliés dessous et appliqués aussitôt. */
.ex-rech { position: relative; }
.ex-barre-rech { position: relative; display: flex; align-items: center; gap: 0.15rem; padding: 0.35rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem; box-shadow: var(--ombre); }
.ex-seg { display: flex; align-items: center; gap: 0.45rem; min-width: 0; padding: 0.7rem 0.55rem; border-radius: 0.75rem; text-align: left; transition: background 0.15s ease; }
.ex-seg:hover, .ex-seg.est-ouvert { background: #f3f4f6; }
.ex-seg--ville { flex: 1.15; }
.ex-seg--date { flex: 1; }
.ex-seg-ico { width: 1rem !important; height: 1rem !important; color: var(--gris-4); }
.ex-seg-val { font-size: 0.875rem; font-weight: 600; color: var(--encre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-seg-val.est-vide { font-weight: 500; color: var(--gris-4); }
.ex-fleche { color: #d1d5db; font-size: 0.875rem; flex-shrink: 0; }
.ex-sep { width: 1px; height: 2rem; background: #e5e7eb; flex-shrink: 0; }
.ex-filtrer { position: relative; display: inline-flex; align-items: center; gap: 0.4rem; flex-shrink: 0; padding: 0.7rem 0.75rem; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--gris-7); transition: background 0.15s ease, color 0.15s ease; }
.ex-filtrer:hover { background: #f9fafb; }
.ex-filtrer.est-actif { background: var(--encre); color: #fff; }
.ex-filtrer svg { width: 1rem; height: 1rem; }
.ex-filtrer-txt { display: none; }
.ex-filtrer i { min-width: 1rem; height: 1rem; padding: 0 0.2rem; border-radius: 999px; background: rgba(255, 255, 255, 0.2); font-size: 0.625rem; font-style: normal; font-weight: 800; line-height: 1rem; text-align: center; }
.ex-tout-effacer { flex-shrink: 0; display: inline-flex; padding: 0.35rem; color: #d1d5db; }
.ex-tout-effacer:hover { color: var(--gris-5); }
.ex-tout-effacer svg { width: 0.9rem; height: 0.9rem; }

.ex-deroulant { position: absolute; z-index: 45; left: 0; right: 0; top: calc(100% + 0.5rem); padding: 1rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem; box-shadow: 0 20px 25px -5px rgba(17, 24, 39, 0.1), 0 8px 10px -6px rgba(17, 24, 39, 0.1); }
.ex-panneau { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 0.5rem; padding: 1rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem; box-shadow: var(--ombre); }
.ex-deroulant[hidden], .ex-panneau[hidden] { display: none; }
.ex-cal-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.ex-cal-tete b { font-size: 0.875rem; font-weight: 800; }
.ex-cal-tete button { display: inline-flex; padding: 0.3rem; border-radius: 0.5rem; }
.ex-cal-tete button:hover { background: #f3f4f6; }
.ex-cal-tete button:disabled { opacity: 0.3; }
.ex-cal-tete svg { width: 1rem; height: 1rem; }
.ex-cal-semaine, .ex-cal-jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.125rem; }
.ex-cal-semaine span { text-align: center; padding: 0.25rem 0; font-size: 0.625rem; font-weight: 700; color: var(--gris-4); }
.ex-jour { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 0.5rem; font-size: 0.8125rem; color: var(--gris-7); }
.ex-jour:hover:not(:disabled) { background: #f3f4f6; }
.ex-jour:disabled { color: #d1d5db; cursor: not-allowed; }
.ex-jour.est-entre { background: #f3f4f6; color: var(--encre); border-radius: 0; }
.ex-jour.est-seul, .ex-jour.est-debut, .ex-jour.est-fin { background: var(--encre); color: #fff; font-weight: 800; }
.ex-jour.est-debut { border-radius: 0.5rem 0 0 0.5rem; }
.ex-jour.est-fin { border-radius: 0 0.5rem 0.5rem 0; }
.ex-menu-note { margin: 0.75rem 0 0; font-size: 0.6875rem; color: var(--gris-4); text-align: center; }
.ex-menu-effacer { display: block; margin: 0.75rem auto 0; font-size: 0.8125rem; font-weight: 700; color: var(--gris-5); text-decoration: underline; text-underline-offset: 3px; }
.ex-deroulant .ex-choix-liste { margin-top: 0; }

.ex-champ-f { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.75rem; border: 1px solid #e5e7eb; border-radius: 0.75rem; font-size: 0.875rem; color: var(--gris-7); }
.ex-champ-f svg { width: 0.9rem; height: 0.9rem; color: var(--gris-4); }
.ex-champ-f select, .ex-champ-f input { border: 0; background: none; font: inherit; font-size: 16px; color: var(--encre); outline: none; }
.ex-champ-f select { appearance: none; -webkit-appearance: none; padding-right: 0.25rem; cursor: pointer; }
.ex-champ-prix span { font-weight: 600; color: var(--gris-5); white-space: nowrap; }
.ex-champ-prix input { width: 3.75rem; padding: 0; }
.ex-champ-prix i, .ex-champ-prix em { font-style: normal; color: var(--gris-4); }
.ex-puce { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.8rem; border-radius: 0.75rem; background: #f3f4f6; font-size: 0.8125rem; font-weight: 600; color: var(--gris-7); transition: background 0.15s ease, color 0.15s ease; }
.ex-puce:hover { background: #e5e7eb; }
.ex-puce svg { width: 0.85rem; height: 0.85rem; }
.ex-puce.est-choisie { background: var(--encre); color: #fff; }

/* Téléphone : sans icônes dans la barre, pour que « Marrakech », « 11 nov. » tiennent en entier */
@media (max-width: 559px) {
  .ex-seg .ex-seg-ico { display: none; }
  .ex-seg { padding: 0.75rem 0.5rem; }
  .ex-seg--ville { flex: 1.35; }
  .ex-seg--date { flex: 0.9; }
  .ex-fleche { display: none; }
  .ex-filtrer { gap: 0.3rem; padding: 0.7rem 0.55rem; }
  .ex-tout-effacer { padding: 0.3rem 0.15rem; }
}
@media (min-width: 640px) { .ex-filtrer-txt { display: inline; } }
@media (min-width: 768px) {
  .ex-rech { max-width: 48rem; }
  .ex-deroulant { right: auto; width: 20rem; }
  .ex-seg { padding: 0.75rem 0.9rem; }
}

[data-vue] > .vt-compte { margin-top: 3rem; }

/* Accroche sous le titre */
.ex-accroche { margin: 0.75rem 0 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.5; color: var(--gris-7); }

/* Ordinateur : agenda centré (visuel puis texte), accueil centré jusqu'à la FAQ */
@media (min-width: 900px) {
  .hx-carte.hx-centre { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 2.5rem; }
  .hx-carte.hx-centre .hx-visuel { order: -1; width: min(100%, 52rem); }
  .hx-carte.hx-centre .hx-texte { max-width: 38rem; }
  .hx-carte.hx-centre .hx-texte ul { align-items: center; }
  .hx-carte.hx-centre .hx-scene--fenetre { padding-left: 0; justify-content: center; }
  .hx-carte.hx-centre .hx-pos-bas { left: -1rem; }
}
@media (min-width: 768px) {
  .ex-page { margin-left: auto; margin-right: auto; }
  .ex-intro { text-align: center; }
  .ex-rech { margin-left: auto; margin-right: auto; }
  .ex-deroulant { text-align: left; }
  .ex-rangee-tete { justify-content: center; position: relative; }
  .ex-rangee-tete .ex-fleches { position: absolute; right: 0; bottom: 0; }
  /* Rangées et grille dans un même bloc centré de 3 colonnes ; les logements partent de la gauche */
  .ex-rangee, [data-vue] > .ex-grille { max-width: 57rem; margin-left: auto; margin-right: auto; }
  .ex-defil > .vt-carte { flex: 0 0 18rem !important; }
  [data-vue] > .vt-compte { text-align: center; }
  .ex-grille { grid-template-columns: repeat(3, minmax(0, 18rem)) !important; justify-content: start; }
  .ex-vide { margin-left: auto; margin-right: auto; max-width: 36rem; align-items: center; text-align: center; }
  .ex-faq { margin-left: auto; margin-right: auto; }
  .ex-faq h2, .ex-villes h2 { text-align: center; }
  .ex-villes div { justify-content: center; }
}

/* --- Pages d'information (mentions, confidentialité, conditions, aide, contact) ---------------- */
.ex-doc { max-width: 72rem; }
.ex-doc-sur { margin: 0 0 0.6rem; font-size: 0.8125rem; font-weight: 700; color: var(--vert-encre); }
.ex-doc-chapo { margin: 1rem 0 0; max-width: 40rem; font-size: 1.0625rem; line-height: 1.6; color: var(--gris-5); }
.ex-doc-date { margin: 0.9rem 0 0; font-size: 0.8125rem; font-weight: 600; color: var(--gris-4); }
.ex-doc-corps { margin-top: 2.5rem; }
.ex-doc-sommaire { margin-bottom: 2rem; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.ex-doc-sommaire summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 0.95rem 0.1rem; font-size: 0.875rem; font-weight: 800; }
.ex-doc-sommaire summary::-webkit-details-marker { display: none; }
.ex-doc-sommaire summary::after { content: '+'; color: var(--gris-4); font-weight: 600; font-size: 1.2rem; line-height: 1; }
.ex-doc-sommaire[open] summary::after { content: '–'; }
.ex-doc-sommaire ol { margin: 0; padding: 0 0 1rem; list-style: none; display: grid; gap: 0.15rem; }
.ex-doc-sommaire a { display: flex; gap: 0.75rem; padding: 0.4rem 0.1rem; font-size: 0.875rem; font-weight: 600; color: var(--gris-5); }
.ex-doc-sommaire a span { min-width: 1.4rem; font-variant-numeric: tabular-nums; color: var(--gris-4); }
.ex-doc-sommaire a.est-actif { color: var(--encre); }
.ex-doc-sommaire a.est-actif span { color: var(--vert-encre); }
.ex-doc-texte { max-width: 44rem; }
.ex-doc-section { padding-top: 0.5rem; scroll-margin-top: 6rem; }
.ex-doc-section + .ex-doc-section { margin-top: 2.75rem; }
.ex-doc-section h2 { display: flex; align-items: baseline; gap: 0.85rem; margin: 0 0 1rem; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.ex-doc-section h2 span { font-size: 0.875rem; font-weight: 700; letter-spacing: 0; color: var(--gris-4); font-variant-numeric: tabular-nums; }
.ex-doc-section h3 { margin: 1.6rem 0 0.5rem; font-size: 1rem; font-weight: 800; letter-spacing: -0.015em; }
.ex-doc-section p, .ex-doc-section li { font-size: 0.96875rem; line-height: 1.7; color: var(--gris-7); }
.ex-doc-section p { margin: 0 0 0.9rem; }
.ex-doc-section ul { margin: 0 0 1rem; padding-left: 1.15rem; }
.ex-doc-section li { margin: 0.25rem 0; padding-left: 0.2rem; }
.ex-doc-section li::marker { color: var(--vert); }
.ex-doc-section a { color: var(--encre); font-weight: 700; text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ex-doc-section strong, .ex-doc-section b { color: var(--encre); font-weight: 700; }
.ex-doc-table { width: 100%; margin: 0.5rem 0 1.25rem; border-collapse: collapse; font-size: 0.875rem; }
.ex-doc-table th { padding: 0.6rem 0.75rem 0.6rem 0; text-align: left; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--gris-4); }
.ex-doc-table td { padding: 0.75rem 0.75rem 0.75rem 0; vertical-align: top; border-top: 1px solid var(--trait); line-height: 1.5; color: var(--gris-7); }
.ex-doc-table td:first-child { font-weight: 700; color: var(--encre); }
.ex-doc-fiche { display: grid; gap: 0; margin: 0 0 1.25rem; }
.ex-doc-fiche div { display: grid; gap: 0.15rem; padding: 0.8rem 0; border-top: 1px solid var(--trait); }
.ex-doc-fiche div:last-child { border-bottom: 1px solid var(--trait); }
.ex-doc-fiche dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--gris-4); }
.ex-doc-fiche dd { margin: 0; font-size: 0.96875rem; font-weight: 600; color: var(--encre); }
.ex-doc-autres { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--trait); }
.ex-doc-autres p { margin: 0 0 0.75rem; font-size: 0.8125rem; font-weight: 700; color: var(--gris-4); }
.ex-doc-autres nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.ex-doc-autres a { font-size: 0.9375rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gris-3); text-underline-offset: 4px; }
.ex-doc-autres a[aria-current] { text-decoration-color: var(--vert); }
.ex-doc-faq { margin: 0 0 1rem; }
.ex-doc-faq details { border-top: 1px solid var(--trait); }
.ex-doc-faq details:last-child { border-bottom: 1px solid var(--trait); }
.ex-doc-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0.1rem; font-size: 0.96875rem; font-weight: 700; color: var(--encre); }
.ex-doc-faq summary::-webkit-details-marker { display: none; }
.ex-doc-faq summary::after { content: '+'; flex-shrink: 0; color: var(--gris-4); font-weight: 600; font-size: 1.25rem; line-height: 1; }
.ex-doc-faq details[open] summary::after { content: '–'; }
.ex-doc-faq details > div { padding: 0 0.1rem 0.4rem; }
@media (min-width: 900px) {
  .ex-doc-corps { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; align-items: start; margin-top: 3.5rem; }
  .ex-doc-sommaire { position: sticky; top: 6rem; margin: 0; border: 0; }
  .ex-doc-sommaire summary { pointer-events: none; padding-top: 0; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris-4); }
  .ex-doc-sommaire summary::after, .ex-doc-sommaire[open] summary::after { content: none; }
  .ex-doc-chapo { font-size: 1.125rem; }
}
.ex-nw { white-space: nowrap; }
