/* Maquette Escapades Cocooning — identité figée (voir ../identite/charte.md) */
:root {
  --sauge: #8fa49e;
  --sauge-fonce: #6f857f;
  --paille: #d7d798;
  --paille-clair: #f1f0e7;
  --ardoise: #7c85a3;
  --texte: #303030;
  --texte-doux: #475569;
  --fond: #ffffff;
  --fond-doux: #f7f7f0;
  --rayon: 8px;
  --pilule: 30px;
  --titre: "Red Rose", system-ui, sans-serif;
  --corps: "Tomorrow", system-ui, sans-serif;
  --largeur: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--corps);
  font-weight: 300;
  color: var(--texte);
  background: var(--fond);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 21px; }
.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }
.surtitre { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--sauge-fonce); font-weight: 500; margin-bottom: 10px; }

/* Bandeau maquette */
.bandeau-maquette { background: var(--texte); color: #fff; font-size: 13px; text-align: center; padding: 6px 12px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid #eef0ea; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--titre); font-weight: 600; letter-spacing: .06em; font-size: 15px; }
.marque img { width: 38px; height: 38px; }
.nav { display: flex; gap: 26px; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--sauge-fonce); }
.entete .langue { font-family: "Red Rose", system-ui, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-decoration: none; color: var(--sauge-fonce); border: 1px solid currentColor; border-radius: 999px; padding: 4px 10px; }
.entete .langues { display: flex; gap: 6px; margin-left: auto; }
.entete .langue:hover { background: var(--sauge-fonce); color: #fff; }
.avis-traduits { color: var(--texte-doux); margin-top: 8px; }
.bouton { display: inline-block; background: var(--sauge); color: #fff; text-decoration: none; border: 0; border-radius: var(--pilule); padding: 12px 26px; font-family: var(--corps); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .2s; }
.bouton:hover { background: var(--sauge-fonce); }
.bouton.secondaire { background: transparent; color: var(--texte); box-shadow: inset 0 0 0 1.5px var(--texte); }
.bouton.secondaire:hover { background: var(--texte); color: #fff; }
@media (max-width: 820px) { .nav { display: none; } }
/* petit écran : deux boutons de langue + Réserver, on resserre le nom et les pastilles (30/10/2026) */
@media (max-width: 520px) {
  .entete .conteneur { gap: 8px; }
  .marque { font-size: 11px; letter-spacing: .03em; gap: 6px; min-width: 0; }
  .marque img { width: 30px; height: 30px; }
  .entete .langues { gap: 4px; }
  .entete .langue { font-size: 11px; padding: 3px 7px; }
  .entete .bouton { padding: 9px 14px; font-size: 14px; }
}

/* Héros : logo qui se désassemble au défilement */
.heros { height: 280vh; position: relative; }
.heros-scene { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4vh; padding-top: 68px; }
.logo-eclate { position: relative; width: min(34vmin, 320px); aspect-ratio: 2560 / 2494; }
.logo-eclate .piece { position: absolute; inset: 0; background: url("/img/identite/logo-escapades-cocooning.png") center / 100% 100% no-repeat; will-change: transform; }
.piece.e      { clip-path: inset(3% 48% 49% 4%); }
.piece.rond   { clip-path: inset(5% 3% 51% 53%); }
.piece.barres { clip-path: inset(52% 50% 7% 3%); }
.piece.anneau { clip-path: inset(49.5% 3% 2% 50.5%); }
.etiquette { position: absolute; left: 0; top: 0; text-align: center; transform: translate(-50%, 0); font-family: var(--titre); font-weight: 500; font-size: clamp(15px, 2.2vw, 22px); white-space: nowrap; opacity: 0; pointer-events: none; }
.etiquette small { display: block; font-family: var(--corps); font-weight: 300; font-size: .7em; color: var(--texte-doux); }
.heros-titre { text-align: center; padding: 0 20px; }
.heros-titre h1 { font-size: clamp(30px, 5vw, 58px); margin-bottom: .2em; }
.heros-titre h1 .surtitre { display: block; font-family: inherit; font-size: clamp(11px, 1.6vw, 14px); line-height: 1.5; margin-bottom: 14px; }
.heros-titre p { margin: 0 0 22px; color: var(--texte-doux); }
.indice-defilement { position: absolute; top: 84px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--texte-doux); letter-spacing: .12em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .heros { height: auto; } .heros-scene { position: relative; min-height: 90vh; } }

/* Sections */
section.bloc { padding: 90px 0; }
.bloc.doux { background: var(--fond-doux); }
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.intro img { border-radius: var(--rayon); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } }

.chiffres { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 28px; }
.chiffres div strong { display: block; font-family: var(--titre); font-size: 30px; color: var(--sauge-fonce); }
.chiffres div span { font-size: 14px; color: var(--texte-doux); }

/* Grille logements */
.entete-groupe { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin: 50px 0 22px; }
.entete-groupe p { margin: 0; color: var(--texte-doux); max-width: 560px; }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.carte { display: block; text-decoration: none; border-radius: var(--rayon); overflow: hidden; background: #fff; box-shadow: 0 1px 0 #eceee6, 0 10px 30px -18px rgba(48,48,48,.25); transition: transform .25s, box-shadow .25s; }
.carte:hover { transform: translateY(-4px); box-shadow: 0 1px 0 #eceee6, 0 18px 40px -18px rgba(48,48,48,.35); }
.carte .photo { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.carte .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.carte:hover .photo img { transform: scale(1.04); }
.pastille { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.94); border-radius: var(--pilule); padding: 4px 12px; font-size: 12.5px; font-weight: 500; }
.pastille.direct { background: var(--paille); }
.carte .infos { padding: 18px 20px 20px; }
.carte h3 { margin-bottom: 4px; }
.carte .lieu { font-size: 14px; color: var(--texte-doux); margin-bottom: 10px; }
.carte .accroche { font-size: 15px; margin-bottom: 12px; }
.carte .meta { display: flex; justify-content: space-between; font-size: 14px; color: var(--texte-doux); border-top: 1px solid #eef0ea; padding-top: 12px; }
.carte .meta b { color: var(--texte); font-weight: 500; }
.carte.a-venir { cursor: default; }

/* Séjours */
.sejours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sejour { background: #fff; border-radius: var(--rayon); padding: 30px; border-top: 6px solid var(--paille); }
.sejour:nth-child(2) { border-top-color: var(--sauge); }
.sejour:nth-child(3) { border-top-color: var(--ardoise); }
.sejour p { margin: 0; color: var(--texte-doux); font-size: 15.5px; }
@media (max-width: 820px) { .sejours { grid-template-columns: 1fr; } }

/* Bloc Maison Büdda */
.budda { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--rayon); overflow: hidden; background: #f9dddc; }
.budda img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.budda .texte { padding: 48px; }
.budda .texte p { color: #3b3b3b; }
@media (max-width: 820px) { .budda { grid-template-columns: 1fr; } .budda .texte { padding: 30px; } }

/* Pied de page */
.pied { background: var(--paille); color: var(--texte); padding: 60px 0 30px; font-size: 15px; }
.pied .colonnes { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.pied h3 { color: var(--texte); font-size: 17px; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied ul { list-style: none; padding: 0; margin: 0; line-height: 2; }
.pied .bas { border-top: 1px solid rgba(48,48,48,.25); margin-top: 40px; padding-top: 20px; font-size: 13px; }
@media (max-width: 820px) { .pied .colonnes { grid-template-columns: 1fr; } }

/* Page logement */
.fil { font-size: 14px; color: var(--texte-doux); padding: 22px 0 6px; }
.fil a { text-decoration: none; }
.titre-logement { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.titre-logement h1 { font-size: clamp(30px, 4.5vw, 48px); margin: 0; }
.titre-logement h1 .h1-type { display: block; font-family: inherit; font-size: clamp(13px, 1.8vw, 16px); font-weight: 400; letter-spacing: .04em; color: var(--sauge-fonce); margin-top: 8px; }
.titre-logement p { margin: 6px 0 0; color: var(--texte-doux); }
.mosaique { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 10px; border-radius: var(--rayon); overflow: hidden; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.mosaique img:first-child { grid-row: span 2; }
@media (max-width: 820px) { .mosaique { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 140px 140px; } .mosaique img:first-child { grid-column: span 2; grid-row: auto; } .mosaique img:nth-child(n+6) { display: none; } }
.fiche { display: grid; grid-template-columns: 1fr 380px; gap: 60px; padding: 46px 0 80px; }
@media (max-width: 960px) { .fiche { grid-template-columns: 1fr; } }
.points { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.points li { background: var(--fond-doux); border-radius: var(--pilule); padding: 7px 16px; font-size: 14.5px; }
.atouts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0 40px; }
.atout { display: flex; gap: 14px; }
.atout .icone { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--paille-clair); display: grid; place-items: center; font-size: 19px; }
.atout b { display: block; font-weight: 500; }
.atout span { font-size: 14.5px; color: var(--texte-doux); }
@media (max-width: 600px) { .atouts { grid-template-columns: 1fr; } }
.fiche h2 { font-size: 26px; margin-top: 42px; }
.equipements { columns: 2; padding-left: 18px; }
.equipements li { margin-bottom: 6px; break-inside: avoid; }
.reservation { position: sticky; top: 96px; align-self: start; border-radius: var(--rayon); box-shadow: 0 1px 0 #eceee6, 0 18px 50px -24px rgba(48,48,48,.35); padding: 26px; background: #fff; }
.reservation .note { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 18px; }
.reservation .bouton { width: 100%; text-align: center; }
.reservation small { display: block; text-align: center; margin-top: 12px; color: var(--texte-doux); }
.avis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.avis div { background: var(--fond-doux); border-radius: var(--rayon); padding: 14px; text-align: center; font-size: 14px; }
.avis b { display: block; font-family: var(--titre); font-size: 22px; }
@media (max-width: 600px) { .avis { grid-template-columns: 1fr 1fr; } }

/* Visionneuse */
.visionneuse { position: fixed; inset: 0; background: rgba(48,48,48,.94); display: none; place-items: center; z-index: 50; }
.visionneuse.ouverte { display: grid; }
.visionneuse img { max-width: 92vw; max-height: 86vh; border-radius: 6px; }
.visionneuse button { position: absolute; background: none; border: 0; color: #fff; font-size: 38px; cursor: pointer; padding: 16px; }
.visionneuse .fermer { top: 10px; right: 14px; }
.visionneuse .prec { left: 10px; top: 50%; transform: translateY(-50%); }
.visionneuse .suiv { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 480px) {
  .marque { font-size: 12px; white-space: normal; line-height: 1.15; }
  .marque img { width: 30px; height: 30px; }
  .entete .bouton { padding: 9px 14px; font-size: 14px; }
}

/* Pages logement générées */
.fiche h3 { font-size: 18px; margin: 26px 0 8px; }
.fiche ul:not(.points):not(.equipements) { padding-left: 20px; }
.demande { display: grid; gap: 12px; }
.demande label { display: grid; gap: 4px; font-size: 14px; font-weight: 400; }
.demande input, .demande textarea { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #d6dbd2; border-radius: var(--rayon); background: #fff; }
.demande select { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #d6dbd2; border-radius: var(--rayon); background: #fff; }
.demande .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demande-etat.erreur { color: #a3423a; }
.demande-etat.ok { color: #4f6b58; font-weight: 600; }
.devis summary { list-style: none; cursor: pointer; display: inline-block; }
.devis summary::-webkit-details-marker { display: none; }
.devis[open] summary { margin-bottom: 16px; }
.devis .demande { max-width: 460px; }
.demande input:focus, .demande textarea:focus, .demande select:focus { outline: 2px solid var(--sauge); border-color: transparent; }

/* Calendrier de disponibilités */
.calendrier-dispo { margin-bottom: 16px; position: relative; }
.cal-nav { position: absolute; top: -4px; left: 0; right: 0; display: flex; justify-content: space-between; pointer-events: none; }
.cal-nav button { pointer-events: auto; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--texte); padding: 0 6px; line-height: 1; }
.cal-deux { display: grid; gap: 18px; }
.cal-titre { text-align: center; font-family: var(--titre); font-weight: 500; text-transform: capitalize; margin-bottom: 8px; }
.cal-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.cal-jsem { font-size: 11.5px; color: var(--texte-doux); padding-bottom: 2px; }
.cal-j { font: inherit; font-size: 13.5px; border: 0; border-radius: 6px; padding: 7px 0; background: var(--paille-clair); color: var(--texte); cursor: pointer; }
.cal-j.libre:hover { background: var(--paille); }
.cal-j.pris { background: transparent; color: #b4b9c2; text-decoration: line-through; cursor: default; }
.cal-j.passe { background: transparent; color: #d4d7dc; cursor: default; }
.cal-j.choisi { background: var(--sauge); color: #fff; }
.cal-j.entre { background: #dfe7e4; }
.cal-legende { display: flex; gap: 16px; font-size: 12.5px; color: var(--texte-doux); margin-top: 10px; }
.cal-legende i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.cal-legende i.libre { background: var(--paille-clair); }
.cal-legende i.pris { background: #e6e8ec; }
.cal-maj { display: block; font-size: 12px; color: var(--texte-doux); margin: -6px 0 16px; }
.cal-j.court { background: #eef1ec; color: #9aa39b; cursor: default; }
.cal-aide { font-size: 12.5px; color: var(--sauge-fonce); margin: 10px 0 0; }
.resa-directe { display: grid; gap: 12px; }
.resa-directe .resa-dates { margin: 0; font-size: 14.5px; font-weight: 500; }
.resa-directe label { display: grid; gap: 4px; font-size: 14px; }
.resa-directe select { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #d6dbd2; border-radius: var(--rayon); background: #fff; }
.resa-directe .bouton[aria-disabled="true"] { background: #c9cfc6; cursor: not-allowed; pointer-events: none; }
.reservation small.caution { margin-top: 0; font-size: 12.5px; }
/* avec le calendrier, l'encart dépasse la hauteur d'écran : on le laisse défiler avec la page */
.reservation:has(.calendrier-dispo) { position: static; }
.boutons-heros { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.carte .prix { margin: 6px 0 2px; font-size: 14px; color: var(--texte-doux); }
.carte .prix b { font-family: var(--titre); font-size: 17px; color: var(--sauge-fonce); }

.sous-titre { color: var(--texte-doux); margin-top: -6px; }
.grille-avis { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.avis-voyageur { margin: 0; background: #fff; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.avis-voyageur blockquote { margin: 0; font-size: 15px; line-height: 1.6; }
.avis-voyageur figcaption { font-size: 13px; color: var(--texte-doux); }
.carte-villages { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; margin-top: 24px; }
#carte { height: 380px; border-radius: 14px; z-index: 0; }
.legende-villages { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.legende-villages b { display: block; font-family: var(--titre); color: var(--sauge-fonce); }
.etroit { max-width: 820px; }
.faq details { border-bottom: 1px solid rgba(0,0,0,.1); padding: 14px 0; }
.faq summary { cursor: pointer; font-family: var(--titre); font-weight: 500; font-size: 17px; }
.faq details p { margin: 10px 0 0; color: var(--texte-doux); line-height: 1.6; }
@media (max-width: 760px) { .carte-villages { grid-template-columns: 1fr; } #carte { height: 300px; } }
.prix-resa { margin: 4px 0 12px; font-size: 14px; color: var(--texte-doux); }
.prix-resa b { font-family: var(--titre); font-size: 20px; color: var(--sauge-fonce); }
.conditions h1 { margin-top: 8px; }
.conditions h2 { margin-top: 32px; font-size: 21px; }
.conditions ul { padding-left: 20px; line-height: 1.6; }
.conditions li { margin-bottom: 6px; }
.a-completer { background: #fff3c4; padding: 0 4px; border-radius: 4px; }

/* Pages de contenu (jacuzzi et piscines, autour de Carcassonne, Maison Büdda), 26/10/2026 */
.guide .photo-guide { margin: 18px 0; }
.guide .photo-guide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--rayon); }
.guide .coup-de-coeur { background: var(--fond-doux); border-left: 4px solid var(--paille); padding: 14px 18px; border-radius: 0 var(--rayon) var(--rayon) 0; }
.guide .appel { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.guide .faq { margin-top: 12px; }
.tableau-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tableau { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.tableau th, .tableau td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e6e8e0; vertical-align: top; }
.tableau th { font-weight: 500; color: var(--texte-doux); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.sejour p a, .entete-groupe p a, .budda .texte p a, .legende-villages a { color: var(--sauge-fonce); }
.guide .coup-de-coeur p { margin: 0; }
.article .date-article { color: var(--texte-doux); font-size: 14px; margin: -4px 0 8px; }
.article h3 { margin-top: 20px; font-size: 18px; }
.encart-resa { margin-top: 40px; background: var(--paille-clair); border-radius: var(--rayon); padding: 22px 24px; }
.encart-resa p { margin: 0 0 12px; }
.encart-resa p:last-child { margin: 0; }
section.bloc.index-blog { padding-top: 28px; }
/* Bande d'appel des articles */
.ec-strip { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 52px 14px 16px; background: var(--texte); color: #fff; box-shadow: 0 -8px 24px -12px rgba(0,0,0,.35); flex-wrap: wrap; }
.ec-strip[hidden] { display: none; }
.ec-strip p { margin: 0; font-family: var(--titre); font-size: 18px; font-weight: 500; }
.ec-strip .bouton { background: var(--paille); color: var(--texte); }
.ec-strip-fermer { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 6px; }
