/* ============================================================
   RUDDY'S HOUSE — pages annexes (espace propriétaire, suivi, paiement, contrat)
   Feuille reprise des Gîtes d'Arles, aux couleurs de Ruddy's House :
   vert forêt, sable, corail · Playfair Display + DM Sans (comme la page d'accueil)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=DM+Sans:wght@400;500;600;700&display=swap');


:root {
  --creme: #FAF7F2;
  --creme-2: #EFEAE1;
  --jungle: #1F3A2E;
  --jungle-2: #2C5141;
  --terracotta: #D97757;
  --terracotta-2: #c45e3e;
  --or: #d9a441;
  --bois: #7c5233;
  --encre: #2A2A2A;
  --gris: #6B6B6B;
  --terracotta-texte: #b04e2f; /* terracotta assombri pour les petits textes (contraste lisible) */
  --blanc: #fdfcf9;
  --ok: #2e7d4f;
  --attente: #b07d1e;
  --refus: #b3402e;
  /* Alias de compatibilité (anciens noms utilisés dans suivi/proprietaire) */
  --sable: #EFEAE1;
  --sable-fonce: #d8cdb6;
  --foret: #1F3A2E;
  --corail: #D97757;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', sans-serif;
  --ombre: 0 14px 44px rgba(30, 53, 39, 0.12);
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--creme);
  color: var(--encre);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--terracotta); color: var(--blanc); }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 480;
  color: var(--jungle);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h3 { font-size: 1.4rem; }
em.accent { font-style: italic; color: var(--terracotta); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }
.section-creme2 { background: var(--creme-2); }
.section-jungle { background: var(--jungle); }
.section-jungle h2, .section-jungle h3 { color: var(--creme); }
.section-jungle p { color: rgba(246, 242, 232, 0.82); }

.surtitre {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta-texte);
  margin-bottom: 20px;
  font-weight: 700;
}
.surtitre::before { content: ''; width: 34px; height: 1.5px; background: var(--terracotta); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 36px;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.nav.solid { background: rgba(246, 242, 232, 0.97); box-shadow: 0 1px 0 rgba(30,53,39,0.08); backdrop-filter: blur(10px); padding: 14px 36px; }
.nav-logo { font-family: var(--serif); font-size: 1.5rem; color: var(--jungle); font-weight: 600; letter-spacing: -0.01em; }
.nav-logo span { color: var(--terracotta); font-style: italic; }
.nav-logo img { display: block; height: 62px; width: auto; transition: height 0.35s; }
.nav.on-hero:not(.solid) .nav-logo img { height: 76px; }
.nav-logo .logo-clair { display: none; }
.nav.on-hero:not(.solid) .logo-fonce, body.menu-ouvert .nav-logo .logo-fonce { display: none; }
.nav.on-hero:not(.solid) .logo-clair, body.menu-ouvert .nav-logo .logo-clair { display: block; }
.nav.on-hero:not(.solid) .logo-clair { filter: drop-shadow(0 1px 3px rgba(10, 16, 11, 0.55)); }
.nav.on-hero:not(.solid) .nav-logo, .nav.on-hero:not(.solid) .nav-links a:not(.btn) { color: var(--blanc); }
.nav-links { display: flex; gap: 30px; align-items: center; font-size: 0.92rem; font-weight: 500; margin-left: auto; }
.nav-links a:not(.btn) { opacity: 0.88; border-bottom: 1.5px solid transparent; padding-bottom: 2px; }
.nav-links a:not(.btn):hover { opacity: 1; border-bottom-color: var(--terracotta); }

.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--blanc) !important;
  padding: 14px 32px;
  border-radius: 2px;
  border: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--terracotta-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 1.5px solid currentColor; color: var(--jungle) !important; }
.btn-ghost:hover { background: var(--jungle); border-color: var(--jungle); color: var(--blanc) !important; }
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }
.btn-blanc { background: var(--creme); color: var(--jungle) !important; }
.btn-blanc:hover { background: var(--blanc); }

/* ---------- Hero vidéo ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  position: relative;
  color: var(--blanc);
  overflow: hidden;
}
.hero .diapo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.08);
  will-change: opacity, transform;
  backface-visibility: hidden;
  filter: brightness(1.08) saturate(1.06);
}
.hero .diapo.zoom { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-points {
  position: absolute; right: 36px; bottom: 76px; z-index: 5;
  display: flex; flex-direction: column; gap: 0;
}
/* zone de toucher de 24 px autour d'un point de 9 px */
.hero-points button { width: 24px; height: 24px; border: none; background: none; padding: 0; display: grid; place-items: center; }
.hero-points button::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: rgba(253, 252, 249, 0.45); }
.hero-points button.actif::before { background: var(--or); }
/* Voile en deux couches plutôt qu'un rideau sombre sur toute la hauteur :
   la photo reste lumineuse, seule la zone du texte est assombrie. */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 3;
  background:
    /* 1. latéral : dense derrière le texte, transparent sur la droite de l'image */
    linear-gradient(95deg,
      rgba(14,22,16,0.46) 0%,
      rgba(14,22,16,0.26) 32%,
      rgba(14,22,16,0) 58%),
    /* 2. vertical léger : lisibilité de la nav en haut, assise du bloc en bas */
    linear-gradient(180deg,
      rgba(14,22,16,0.26) 0%,
      rgba(14,22,16,0) 22%,
      rgba(14,22,16,0) 60%,
      rgba(14,22,16,0.24) 100%);
}
.hero-inner { position: relative; z-index: 4; padding: 0 36px 72px; width: 100%; max-width: 1240px; margin: 0 auto; }
/* ombres courtes et denses : elles détachent les lettres sans noircir la photo */
.hero h1 { color: var(--blanc); margin: 0 0 18px; text-shadow: 0 1px 3px rgba(10,16,11,0.55), 0 2px 16px rgba(10,16,11,0.45); }
.hero h1 em { font-style: italic; color: var(--or); }
.hero h1 .surtitre { font-family: var(--sans); line-height: 1.4; letter-spacing: 0.32em; margin-bottom: 10px; }
.hero h1 .h1-titre { display: block; max-width: 14ch; }
.hero p { font-size: 1.12rem; opacity: 1; max-width: 52ch; margin-bottom: 32px; text-shadow: 0 1px 3px rgba(10,16,11,0.7); }
.hero .surtitre { color: var(--or); text-shadow: 0 1px 3px rgba(10,16,11,0.8); }
.hero .surtitre::before { background: var(--or); }
.hero-photos {
  position: absolute; right: 36px; bottom: 28px; z-index: 6;
  background: rgba(253, 252, 249, 0.94); color: var(--jungle);
  padding: 12px 22px; border-radius: 30px; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 6px 22px rgba(10, 16, 11, 0.25); transition: transform 0.2s, background 0.2s;
}
.hero-photos:hover { background: var(--blanc); transform: translateY(-2px); }
.hero-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

/* ---------- Bande de photos sous le héro ---------- */
.bande { position: relative; background: var(--creme-2); padding: 14px 0; }
.bande-piste { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 14px; scroll-padding: 0 14px; scrollbar-width: none; }
.bande-piste::-webkit-scrollbar { display: none; }
.bande-piste a { flex: 0 0 auto; width: 250px; height: 330px; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; }
.bande-piste img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.bande-piste a:hover img { transform: scale(1.05); }
.bande-fleche {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: rgba(253, 252, 249, 0.94); color: var(--jungle); font-size: 1.5rem; line-height: 1;
  box-shadow: 0 4px 16px rgba(10, 16, 11, 0.2);
}
.bande-fleche.gauche { left: 18px; }
.bande-fleche.droite { right: 18px; }

/* ---------- Cartes des logements ---------- */
.cartes-logements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; margin-top: 44px; }
.carte-logement { display: block; }
.carte-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--ombre); background: var(--creme-2); }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.carte-logement:hover .carte-photo img { transform: scale(1.05); }
.carte-logement h3 { font-size: 1.6rem; margin: 16px 0 4px; }
.carte-logement:hover h3 { color: var(--terracotta); }
.carte-infos { display: block; font-size: 0.9rem; line-height: 1.45; color: var(--gris); }
.carte-infos b { color: var(--jungle); }
.liste-simple { list-style: none; display: grid; gap: 10px; color: var(--gris); }
.liste-simple li { padding-left: 22px; position: relative; line-height: 1.5; }
.liste-simple li::before { content: '•'; position: absolute; left: 4px; color: var(--terracotta); font-weight: 700; }

.badge-video {
  position: absolute; top: 16px; right: 16px;
  background: rgba(20, 30, 22, 0.72); color: var(--blanc);
  padding: 7px 14px; border-radius: 30px; font-size: 0.75rem; font-weight: 600;
  backdrop-filter: blur(4px);
}
.logement-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  border: 1px solid rgba(30, 53, 39, 0.25);
  border-radius: 30px; padding: 6px 16px; font-size: 0.8rem; color: var(--jungle); font-weight: 500;
}

/* ---------- Galerie horizontale ---------- */
.defileur { display: flex; gap: 18px; overflow-x: auto; padding: 10px 4px 22px; scroll-snap-type: x mandatory; }
.defileur::-webkit-scrollbar { height: 8px; }
.defileur::-webkit-scrollbar-thumb { background: var(--jungle-2); border-radius: 4px; }
.defileur::-webkit-scrollbar-track { background: rgba(30,53,39,0.08); }
.defileur > * { flex: 0 0 auto; width: 400px; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; }
.defileur img, .defileur video { width: 100%; height: 300px; object-fit: cover; }

/* ---------- Grille galerie (toutes les photos) ---------- */
.galerie-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.galerie-grille > div {
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 3; background: var(--creme-2);
}
.galerie-grille img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.galerie-grille > div:hover img { transform: scale(1.05); }

/* ---------- Piscine et Espace Oasis ---------- */
.tuiles-espaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 40px; }
.tuile-espace { display: block; }
.tuile-espace .carte-photo { aspect-ratio: 3 / 2; }
.tuile-espace h3 { font-size: 1.7rem; margin: 18px 0 6px; }
.tuile-espace p { color: var(--gris); margin-bottom: 8px; }
.tuile-espace:hover .carte-photo img { transform: scale(1.05); }
.lien-fleche { color: var(--terracotta); font-weight: 700; font-size: 0.95rem; }
.bloc-espace { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 50px; align-items: start; margin-top: 18px; }
.bloc-espace > * { min-width: 0; }
.bloc-espace h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 18px; }
.chapo { font-size: 1.08rem; color: var(--encre); margin-bottom: 18px; max-width: 52ch; }
.espace-video video { width: 100%; max-height: 680px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--ombre); background: var(--jungle); }

/* ---------- Page Photos ---------- */
.retour { font-size: 0.92rem; color: var(--terracotta-texte); font-weight: 600; }
.albums-nav {
  position: sticky; top: 70px; z-index: 50;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  background: var(--creme); padding: 14px 0; margin: 26px 0 10px;
}
.albums-nav::-webkit-scrollbar { display: none; }
.albums-nav a {
  flex: 0 0 auto; border: 1.5px solid rgba(30, 53, 39, 0.25); border-radius: 30px;
  padding: 8px 16px; font-size: 0.88rem; font-weight: 600; color: var(--jungle); white-space: nowrap;
}
.albums-nav a:hover { background: var(--jungle); border-color: var(--jungle); color: var(--creme); }
.album { padding-top: 46px; scroll-margin-top: 130px; }
.album-tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.album-tete h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.tuile-video { display: flex; align-items: center; justify-content: center; background: var(--jungle) !important; color: var(--creme); font-weight: 700; }

/* ---------- Page logement : photos et texte à gauche, réservation à droite ---------- */
.fiche-resume { color: var(--gris); font-size: 1rem; margin-bottom: 28px; }
.fiche {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 34px 46px;
  grid-template-areas: "photos resa" "form resa" "texte resa";
  align-items: start;
}
.fiche > * { min-width: 0; }
.fiche-photos { grid-area: photos; }
.fiche-texte { grid-area: texte; }
.fiche-form { grid-area: form; }
/* panneau de réservation compact : il doit tenir dans un écran d'ordinateur pour rester fixe */
.fiche-resa .cal-case { aspect-ratio: auto; height: 33px; }
.resa-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.resa-tete h2 { font-size: 1.6rem; margin: 0; }
.resa-tete .prix-nuit { margin: 0; }
.fiche-resa .cal-legende { margin-top: 10px; }
.fiche-resa .cal-bientot { margin-top: 6px; }
/* âge sous le libellé, sur une seule ligne : les trois menus restent alignés */
.fiche-resa .voyageurs { margin-top: 14px; }
.fiche-resa .voyageurs label { margin-bottom: 6px; }
.fiche-resa .voyageurs label small { display: block; margin: 2px 0 0; white-space: nowrap; }
#btn-continuer { display: none; }
.fiche-resa .cal-tete { margin-bottom: 8px; }
.fiche-resa .aide-cal { margin-bottom: 10px; padding: 8px 12px; }
.fiche-resa .prix-nuit { margin-bottom: 10px; }
.fiche-resa .recap-prix { padding: 12px 14px; margin: 10px 0; font-size: 0.9rem; line-height: 1.55; }
.fiche-resa .recap-prix .total { font-size: 1.35rem; }
.fiche-resa .voyageurs .champ { margin-bottom: 10px; }
.dates-choisies:empty { display: none; }
.case-lit[hidden] { display: none; }
.fiche-resa .dates-choisies { padding: 10px 14px; margin-bottom: 12px; font-size: 0.92rem; }
.fiche-resa .dates-choisies b { font-weight: 700; }
.fiche-resa .dates-choisies .effacer { margin-left: 6px; }
.total-court { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(30,53,39,0.18); padding-top: 10px; margin-top: 4px; }
.total-court b { font-family: var(--serif); font-size: 1.5rem; color: var(--jungle); font-weight: 500; }
.total-note { font-size: 0.8rem; color: var(--gris); margin: 2px 0 12px; }
.fiche-form .form-carte { padding: 28px; }
.fiche-resa { grid-area: resa; align-self: stretch; }
/* le calendrier reste à l'écran pendant qu'on fait défiler la page ; s'il est plus haut que l'écran, il défile en lui-même */
.fiche-resa .form-carte { position: sticky; top: 92px; padding: 24px 26px; max-height: calc(100vh - 108px); overflow-y: auto; overscroll-behavior: contain; }
.photo-principale { border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 3 / 2; }
.photo-principale img, .vignettes img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-principale:hover img, .vignettes > div:hover img { transform: scale(1.03); }
.vignettes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.vignettes > div { border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 1; position: relative; }
.vignette-plus span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  background: rgba(20, 30, 22, 0.6); color: var(--blanc); font-weight: 700; font-size: 0.95rem;
}
.prix-nuit { color: var(--gris); margin-bottom: 14px; }
.prix-nuit b { font-family: var(--serif); font-size: 1.5rem; color: var(--jungle); font-weight: 500; }
.aide-cal { font-size: 0.9rem; color: var(--jungle); background: var(--creme-2); border-radius: 3px; padding: 10px 12px; margin-bottom: 14px; }
.fiche-resa .calendrier { box-shadow: none; padding: 0; max-width: none; background: none; }
.dates-choisies { background: var(--creme-2); border-radius: 3px; padding: 14px 16px; margin-bottom: 18px; font-size: 0.95rem; }
.dates-choisies div { display: flex; flex-direction: column; margin-bottom: 8px; }
.dates-choisies span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); }
.dates-choisies b { color: var(--jungle); font-weight: 600; }
.dates-choisies b::first-letter { text-transform: uppercase; }
.dates-choisies i { font-weight: 400; color: var(--terracotta); }
.dates-choisies .vide { font-size: 0.92rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--gris); }
.dates-choisies .effacer { background: none; border: none; padding: 0; color: var(--terracotta); text-decoration: underline; font-size: 0.88rem; }
.voyageurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
.voyageurs label small { display: block; font-size: 0.68rem; letter-spacing: 0.04em; text-transform: none; font-weight: 500; color: var(--gris); }
.voyageurs .champ select { padding: 12px 10px; }
.case-lit { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; font-size: 0.92rem; margin: -4px 0 14px; cursor: pointer; }
.case-lit input { flex: 0 0 auto; width: 20px; height: 20px; accent-color: var(--terracotta); }
.case-lit small { color: var(--gris); }
.inclus { font-size: 0.84rem; color: var(--ok); margin: -2px 0 6px; line-height: 1.5; }
.tarifs-notes { color: var(--gris); font-size: 0.86rem; margin-top: 10px; border-top: 1px solid rgba(30,53,39,0.14); padding-top: 10px; line-height: 1.6; }
.autres-logements { margin-top: 90px; padding-top: 50px; border-top: 1px solid rgba(30, 53, 39, 0.14); }
.autres-logements .cartes-logements { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.autres-logements .carte-logement h3 { font-size: 1.2rem; line-height: 1.15; margin: 12px 0 4px; }
.fiche-titre { font-size: 1.6rem; margin: 34px 0 14px; }
.fiche-texte .fiche-titre:first-child { margin-top: 6px; }
.equipements-liste { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; color: var(--encre); }
.equipements-liste li { display: flex; align-items: center; gap: 10px; }
.equipements-liste .ico { width: 1.6em; text-align: center; font-size: 1.15rem; flex-shrink: 0; }
.caution-note { font-size: 0.86rem; background: #fdf3e3; color: #7a5512; border-radius: 6px; padding: 8px 10px; margin-top: 8px; line-height: 1.45; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgb(18, 24, 19);
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 18px; padding: 40px;
}
.lightbox.ouvert { display: flex; }
.lightbox img, .lightbox video { max-height: 78vh; max-width: 92vw; border-radius: var(--radius); object-fit: contain; }
.lightbox .lb-barre { display: flex; gap: 24px; align-items: center; color: var(--creme); font-size: 0.95rem; }
.lightbox button { background: rgba(246,242,232,0.14); color: var(--creme); border: none; border-radius: 30px; padding: 10px 20px; font-size: 0.9rem; }
.lightbox .lb-barre button { width: 56px; height: 56px; padding: 0; border-radius: 50%; font-size: 1.9rem; line-height: 1; }
.lightbox .lb-fermer { position: absolute; top: 18px; right: 18px; font-weight: 600; }
.lightbox button:hover { background: rgba(246,242,232,0.25); }

/* ---------- Calendrier ---------- */
.calendrier { background: var(--blanc); border-radius: var(--radius); box-shadow: var(--ombre); padding: 28px; max-width: 430px; }
.cal-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-tete .mois { font-family: var(--serif); font-size: 1.25rem; color: var(--jungle); text-transform: capitalize; }
.cal-nav { background: var(--creme-2); border: none; width: 38px; height: 38px; border-radius: 50%; font-size: 1.05rem; color: var(--jungle); }
.cal-nav:hover { background: var(--jungle); color: var(--creme); }
.cal-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grille .jour-nom { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gris); padding: 6px 0; font-weight: 700; }
.cal-case { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 0.88rem; }
.cal-case.libre { background: #ecf1e9; color: var(--jungle); }
.cal-case.occupe { background: #e4d8c6; color: #9b8f7a; text-decoration: line-through; }
.cal-case.passe { color: #c8c8bf; }
.cal-case.bientot { color: #b9b9ae; background: repeating-linear-gradient(45deg, #f1efe7, #f1efe7 4px, #e9e6dc 4px, #e9e6dc 8px); }
.cal-bientot { font-size: 0.82rem; color: var(--gris); margin-top: 10px; line-height: 1.5; }
.cal-bientot a { color: var(--terracotta); text-decoration: underline; }
button.cal-case { border: none; font-family: inherit; cursor: pointer; padding: 0; }
button.cal-case.libre:hover { background: #d3e2cd; }
.cal-case.entre { background: #f3d9cd; color: var(--terracotta-2); text-decoration: none; }
.cal-case.choix { background: var(--terracotta); color: var(--blanc); font-weight: 700; text-decoration: none; }
.cal-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 0.8rem; color: var(--gris); }
.cal-legende span { white-space: nowrap; }
.cal-legende span::before { content: ''; display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.cal-legende .l-libre::before { background: #ecf1e9; border: 1px solid #cddbc8; }
.cal-legende .l-occupe::before { background: #e4d8c6; }
.cal-legende .l-choix::before { background: var(--terracotta); }

/* ---------- Formulaires ---------- */
.form-carte { background: var(--blanc); border-radius: var(--radius); box-shadow: var(--ombre); padding: 36px; }
.champ { margin-bottom: 18px; }
.champ label { display: block; font-size: 0.76rem; font-weight: 700; color: var(--jungle); margin-bottom: 7px; letter-spacing: 0.14em; text-transform: uppercase; }
.champ input, .champ select, .champ textarea {
  width: 100%; padding: 13px 14px;
  border: 1.5px solid rgba(30, 53, 39, 0.22);
  border-radius: 3px; font-family: inherit; font-size: 0.96rem;
  background: var(--creme); color: var(--encre);
}
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--terracotta); }
.champ-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }

.recap-prix { background: var(--creme-2); border-radius: 3px; padding: 18px 20px; margin: 18px 0; font-size: 0.95rem; }
.recap-prix .total { font-family: var(--serif); font-size: 1.55rem; color: var(--jungle); }

.alerte { padding: 14px 18px; border-radius: 3px; margin: 14px 0; font-size: 0.92rem; }
.alerte-ok { background: #e7f2ea; color: var(--ok); }
.alerte-err { background: #f8e7e3; color: var(--refus); }
.alerte-info { background: #fdf3e3; color: var(--attente); }

/* ---------- Badges ---------- */
.badge { display: inline-block; padding: 4px 14px; border-radius: 30px; font-size: 0.78rem; font-weight: 700; }
.badge-attente { background: #fdf3e3; color: var(--attente); }
.badge-confirmee { background: #e7f2ea; color: var(--ok); }
.badge-refusee { background: #f8e7e3; color: var(--refus); }
.badge-expiree, .badge-annulee { background: #ecebe6; color: var(--gris); }
.badge-source { background: var(--creme-2); color: var(--jungle); }

/* ---------- Tableaux ---------- */
.tableau { width: 100%; border-collapse: collapse; background: var(--blanc); border-radius: var(--radius); overflow: hidden; box-shadow: var(--ombre); font-size: 0.9rem; }
.tableau th { background: var(--jungle); color: var(--creme); text-align: left; padding: 13px 16px; font-weight: 600; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; }
.tableau td { padding: 13px 16px; border-bottom: 1px solid var(--creme-2); vertical-align: middle; }
.tableau tr:last-child td { border-bottom: none; }
.scroll-x { overflow-x: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--jungle); color: rgba(246, 242, 232, 0.85); padding: 70px 0 30px; }
.footer h3 { color: var(--creme); }
.footer-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 46px; }
.footer a:hover { color: var(--or); }
.footer .mention { border-top: 1px solid rgba(246, 242, 232, 0.15); padding-top: 22px; font-size: 0.8rem; opacity: 0.65; text-align: center; }

/* ---------- Divers ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
/* sans min-width:0, un défileur horizontal élargit sa colonne et fait déborder la page */
.duo > * { min-width: 0; }
.demo-tag {
  display: inline-block;
  background: var(--terracotta); color: var(--blanc);
  padding: 4px 12px; border-radius: 30px;
  font-family: var(--sans); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-right: 14px; vertical-align: middle;
}
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.vu { opacity: 1; transform: none; }

/* ---------- Bouton remonter en haut ---------- */
.haut-de-page {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: var(--terracotta); color: var(--blanc); font-size: 1.5rem; line-height: 1;
  box-shadow: 0 6px 20px rgba(10, 16, 11, 0.3);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
}
.haut-de-page.visible { opacity: 0.92; visibility: visible; transform: none; }
.haut-de-page:hover { background: var(--terracotta-2); opacity: 1; }
body.menu-ouvert .haut-de-page { visibility: hidden; }

/* ---------- Menu mobile ---------- */
.nav-burger {
  display: none;
  background: none; border: none; padding: 8px; margin-left: auto;
  width: 44px; height: 44px; position: relative;
}
.nav-burger span {
  display: block; height: 2px; width: 24px; margin: 5px auto;
  background: var(--jungle); transition: transform 0.3s, opacity 0.3s;
}
.nav.on-hero:not(.solid) .nav-burger span { background: var(--blanc); }
.menu-mobile {
  position: fixed; inset: 0; z-index: 99;
  background: var(--jungle);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 40px 32px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
}
.menu-mobile.ouvert { opacity: 1; visibility: visible; }
.menu-mobile a {
  font-family: var(--serif); font-size: 1.9rem; color: var(--creme);
  padding: 12px 0; border-bottom: 1px solid rgba(246,242,232,0.14);
}
.menu-mobile a.btn {
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  border-bottom: none; margin-top: 22px; text-align: center;
}
/* menu ouvert : la nav reste lisible par-dessus le panneau sombre */
body.menu-ouvert .nav.solid { background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-ouvert .nav-logo, body.menu-ouvert .nav-logo span { color: var(--creme); }
body.menu-ouvert .nav-burger span { background: var(--creme); }
body.menu-ouvert .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-ouvert .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-ouvert .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


@media (max-width: 900px) {
  .nav { padding: 14px 18px; gap: 10px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-logo { font-size: 1.15rem; white-space: nowrap; }
  .nav-logo img, .nav.on-hero:not(.solid) .nav-logo img { height: 52px; }
  .demo-tag { font-size: 0.58rem; padding: 3px 9px; letter-spacing: 0.16em; margin-right: 10px; }
  /* le surtitre tient sur une ligne au lieu de casser en deux */
  .surtitre, .hero h1 .surtitre { font-size: 0.6rem; letter-spacing: 0.16em; gap: 9px; }
  .surtitre::before { width: 20px; }
  /* les points passent à l'horizontale pour ne plus chevaucher le texte */
  .hero-points { flex-direction: row; right: auto; left: 12px; bottom: 14px; gap: 0; }
  .hero-inner { padding-bottom: 72px; }
  /* le texte prend toute la largeur : le voile devient vertical, concentré en bas */
  .hero::after {
    background: linear-gradient(180deg,
      rgba(14,22,16,0.28) 0%,
      rgba(14,22,16,0) 22%,
      rgba(14,22,16,0) 36%,
      rgba(14,22,16,0.42) 54%,
      rgba(14,22,16,0.62) 100%);
  }
  /* vignettes plus étroites que l'écran, pour montrer qu'on peut faire défiler */
  .defileur > * { width: 78vw; max-width: 300px; }
  .defileur img, .defileur video { height: 230px; }
  .duo { grid-template-columns: 1fr; gap: 40px; }
  .hero-photos { right: 16px; bottom: 16px; padding: 10px 18px; font-size: 0.88rem; }
  .bande-piste a { width: 62vw; max-width: 240px; height: 280px; }
  .bande-fleche { display: none; }
  .cartes-logements { grid-template-columns: 1fr 1fr; gap: 26px 14px; margin-top: 32px; }
  .carte-logement h3 { font-size: 1.12rem; line-height: 1.15; margin: 10px 0 4px; }
  .carte-infos { font-size: 0.82rem; }
  .fiche { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photos" "resa" "form" "texte"; gap: 30px; }
  .fiche-resa .form-carte { position: static; padding: 22px 18px; max-height: none; overflow: visible; }
  .fiche-form .form-carte { padding: 22px 18px; }
  #btn-continuer { display: block; }
  .fiche-resa .cal-case { height: auto; aspect-ratio: 1; }
  .vignettes { gap: 6px; }
  .vignette-plus span { font-size: 0.78rem; }
  .equipements-liste { grid-template-columns: 1fr; }
  .tuiles-espaces { grid-template-columns: 1fr; gap: 34px; margin-top: 28px; }
  .tuile-espace h3 { font-size: 1.4rem; margin-top: 12px; }
  .bloc-espace { grid-template-columns: 1fr; gap: 30px; }
  .espace-video video { max-height: 78vh; }
  .autres-logements { margin-top: 60px; padding-top: 36px; }
  /* sur téléphone : une rangée qu'on fait défiler du doigt */
  .autres-logements .cartes-logements { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; margin: 22px -28px 0; padding: 0 28px 6px; scroll-padding: 0 28px; scrollbar-width: none; }
  .autres-logements .cartes-logements::-webkit-scrollbar { display: none; }
  .autres-logements .carte-logement { flex: 0 0 46%; scroll-snap-align: start; }
  .autres-logements .carte-logement h3 { font-size: 1.05rem; }
  .galerie-grille { grid-template-columns: 1fr 1fr; gap: 8px; }
  .albums-nav { top: 62px; }
  .champ-duo { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-inner { padding: 0 20px 96px; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .hero .surtitre { font-size: 0.74rem; color: #ffd98a; text-shadow: 0 1px 2px rgba(10,16,11,0.9), 0 0 12px rgba(10,16,11,0.6); }
}

/* Accueil, localisation : le parking en grand, le portail en médaillon qui le chevauche */
.collage-lieu { position: relative; height: 520px; }
.collage-lieu .grande { position: absolute; top: 0; right: 0; width: 66%; height: 100%; margin: 0; }
.collage-lieu img { display: block; border-radius: var(--radius); box-shadow: var(--ombre); object-fit: cover; }
.collage-lieu .grande img { width: 100%; height: 100%; object-position: center 72%; }
.collage-lieu .petite { position: absolute; left: 0; bottom: 48px; width: 56%; aspect-ratio: 4 / 3; height: auto;
  border: 6px solid var(--creme); box-shadow: 0 18px 40px rgba(30, 53, 39, 0.28); }
.collage-lieu figcaption { position: absolute; top: 14px; right: 14px; background: rgba(30, 53, 39, 0.88); color: var(--creme);
  padding: 7px 14px; border-radius: 999px; font-size: 0.85rem; white-space: nowrap; }
@media (max-width: 640px) {
  .collage-lieu { height: 420px; margin-top: 8px; }
  .collage-lieu .grande { width: 72%; }
  .collage-lieu .petite { width: 60%; bottom: 32px; border-width: 5px; }
  .collage-lieu figcaption { top: 10px; right: 10px; font-size: 0.78rem; padding: 6px 11px; }
}

/* ---------- Avis clients (bande qui défile) ---------- */
.avis { margin-top: 80px; }
.avis-fiche { margin-top: 90px; padding-top: 50px; border-top: 1px solid rgba(30, 53, 39, 0.14); }
.avis-fiche .avis { margin-top: 0; }
.avis-fiche + .autres-logements { margin-top: 60px; }
.avis-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.avis-tete h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.avis-fleches { display: flex; gap: 10px; flex-shrink: 0; }
.avis-nav { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--jungle); background: transparent; color: var(--jungle); font-size: 1.4rem; cursor: pointer; }
.avis-nav:hover { background: var(--jungle); color: var(--creme); }
.avis-piste { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 14px; overscroll-behavior-x: contain; }
.avis-piste::-webkit-scrollbar { display: none; }
.avis-carte { flex: 0 0 min(360px, 82%); scroll-snap-align: start; margin: 0; background: var(--blanc); border-radius: var(--radius); box-shadow: var(--ombre);
  padding: 24px 24px 20px; display: flex; flex-direction: column; }
.avis-etoiles { color: #e3a82b; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 12px; }
.avis-vide { color: rgba(30, 53, 39, 0.18); }
.avis-carte blockquote { margin: 0 0 18px; color: var(--encre); font-size: 0.95rem; line-height: 1.65; flex: 1; }
.avis-carte figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; border-top: 1px solid rgba(30, 53, 39, 0.1); padding-top: 12px; }
.avis-carte figcaption span { color: var(--gris); font-size: 0.8rem; }
.avis-mention { font-size: 0.8rem; color: var(--gris); margin-top: 8px; }
.avis-mention a { color: var(--terracotta-texte); text-decoration: underline; white-space: nowrap; }
@media (max-width: 640px) {
  .avis { margin-top: 60px; }
  .avis-fleches { display: none; }
  .avis-carte { padding: 20px 18px 16px; }
}

/* liens dans les textes : visibles sans casser la lecture */
.lien-texte { color: var(--terracotta); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Questions fréquentes ---------- */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--blanc); border-radius: var(--radius); box-shadow: var(--ombre); padding: 0 20px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; color: var(--jungle); position: relative; font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--terracotta); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--gris); line-height: 1.7; padding: 0 0 18px; margin: 0; }

/* ---------- Autour du Moule ---------- */
.autour-liste { list-style: none; display: grid; gap: 10px; margin: 6px 0 0; padding: 0; }
.autour-liste li { background: var(--blanc); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--ombre); color: var(--gris); line-height: 1.55; }
.autour-liste b { color: var(--jungle); }

/* ---------- Avertissement spams (après une demande) ---------- */
.encadre-spam { overflow-wrap: anywhere; background: #fdf3e3; border: 2px solid #e0b65c; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 26px; color: #5f4410; line-height: 1.6; }
.encadre-spam-titre { font-weight: 700; font-size: 1.1rem; color: #7a5512; margin-bottom: 6px; }
.encadre-spam ul { margin: 6px 0 10px 20px; }
.encadre-spam p { margin: 0 0 6px; overflow-wrap: anywhere; }
.aide-champ { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--gris); line-height: 1.4; }

/* ---------- Téléphone : confort de saisie et barre de réservation ---------- */
.barre-resa { display: none; }
@media (max-width: 900px) {
  /* 16 px minimum : en dessous, l'iPhone zoome tout seul dès qu'on touche un champ */
  input, select, textarea, .champ input, .champ select, .champ textarea { font-size: 16px; }
  .retour { display: inline-block; padding: 10px 0; }
  .cal-bientot a { display: inline-block; padding: 6px 0; }

  .barre-resa:not([hidden]) {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(253, 252, 249, 0.97); backdrop-filter: blur(10px);
    box-shadow: 0 -6px 24px rgba(30, 53, 39, 0.14); border-top: 1px solid rgba(30, 53, 39, 0.08);
    transition: transform 0.3s ease;
  }
  .barre-resa.br-cachee { transform: translateY(110%); }
  .br-texte { font-size: 0.95rem; line-height: 1.3; color: var(--encre); }
  .br-texte b { font-family: var(--serif); font-size: 1.3rem; color: var(--jungle); font-weight: 500; }
  .br-texte small { color: var(--gris); font-size: 0.78rem; }
  .barre-resa .btn { flex-shrink: 0; padding: 14px 20px; min-height: 48px; }
  body.avec-barre { padding-bottom: 84px; }
  body.avec-barre:not(.barre-cachee) .haut-de-page { bottom: calc(96px + env(safe-area-inset-bottom)); }
  body:has(.lightbox.ouvert) .barre-resa, body.menu-ouvert .barre-resa { display: none; }
}

/* Logo texte (pas de logo image pour Ruddy's House) */
.logo-texte { font-family: var(--serif); font-size: 1.6rem; color: var(--jungle); }
.logo-texte span { color: var(--terracotta); }
