/* Gîtes Les Costoliers — feuille de style unique.
   Couleurs et polices reprises du site d'origine : bandeau anthracite, vert sauge,
   titres en Enriqueta, texte en Helvetica. */

:root {
    --encre: #2e2e2e;
    --vert-fonce: #222e13;
    --sauge: #9ab27d;
    --sauge-fonce: #6f8a52;
    --sauge-pale: #e9efe0;
    --logo: #c5d8ae;
    --gris: #f4f4f2;
    --trait: #d8d8d2;
    --titre: "Enriqueta", Georgia, serif;
    --texte: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--texte);
    font-size: 16px;
    line-height: 1.6;
    color: var(--encre);
    background: #fff;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

a { color: var(--sauge-fonce); }
a:hover { color: var(--vert-fonce); }

h1, h2, h3 {
    font-family: var(--titre);
    font-weight: 400;
    color: var(--vert-fonce);
    line-height: 1.2;
    margin: 0 0 0.6em;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

/* --- En-tête : comme l'ancien site, logo + nom, choix de langue et bouton, groupés au centre --- */
.site-header { background: var(--encre); }
.topbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 0.9rem 5%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: "Niconne", cursive;
    font-size: 2.5rem;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--logo);
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
    white-space: nowrap;
}
.logo img { width: 64px; height: 64px; border-radius: 50%; flex: none; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }
.logo:hover { color: #e3eed6; }
.logo-nom { display: flex; flex-direction: column; align-items: flex-end; }
.logo .etoiles { font-family: var(--texte); font-size: 1rem; letter-spacing: 0.25em; margin-top: 0.2rem; text-shadow: none; }

/* Choix de langue : un bloc à deux cases, la langue active sur fond gris */
.langues { display: flex; background: #fff; border-radius: 3px; overflow: hidden; flex: none; }
.langue {
    display: flex; align-items: center; gap: 0.6rem;
    min-width: 7.5rem; padding: 0.65rem 1rem;
    color: var(--encre); font-size: 0.95rem; text-decoration: none;
}
.langue[aria-current="true"] { background: #c4c4c0; }
.langue.a-venir { color: #8a8a86; cursor: default; }
.langue.a-venir .drapeau { opacity: 0.55; }
.drapeau { width: 1.6rem; height: 1.1rem; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.drapeau-fr { background: linear-gradient(90deg, #0055a4 33.3%, #fff 33.3% 66.6%, #ef4135 66.6%); }
.drapeau-be { background: linear-gradient(90deg, #000 33.3%, #fdda24 33.3% 66.6%, #ef3340 66.6%); }

/* Bouton « Réservez maintenant » */
.btn-reserver {
    display: inline-flex; align-items: center; gap: 0.55rem; flex: none;
    padding: 0.75rem 1.4rem;
    background: var(--sauge); color: var(--vert-fonce);
    font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-reserver:hover { background: #adc492; color: var(--vert-fonce); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-reserver:active { transform: translateY(0); }
.btn-reserver svg { flex: none; }

.main-nav { background: #fff; border-bottom: 1px solid var(--trait); padding: 0 5%; }
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 2rem;
}
.main-nav a {
    display: block;
    padding: 1.1rem 0;
    color: var(--encre);
    text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--sauge-fonce); }
.menu-toggle { display: none; }

/* --- Boutons --- */
.btn {
    display: inline-block;
    background: var(--sauge);
    color: var(--vert-fonce);
    font: inherit;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--sauge-fonce);
    border-radius: 2px;
    text-decoration: none;
    cursor: pointer;
}
.btn:hover { background: var(--sauge-fonce); color: #fff; }
.lien {
    background: none; border: 0; padding: 0; font: inherit;
    color: var(--sauge-fonce); text-decoration: underline; cursor: pointer;
}

/* --- Gabarit --- */
.page { max-width: 1080px; margin: 0 auto; padding: 0 5% 4rem; }
.page-titre { text-align: center; padding: 3rem 0 2rem; }
.page-titre h1 { margin-bottom: 0.3em; }
.accroche { font-family: var(--titre); font-size: 1.15rem; color: var(--encre); margin: 0; }
.centre { text-align: center; }
.texte p { max-width: 68ch; }
.centre .texte p { margin-left: auto; margin-right: auto; }

.bande { padding: 3.5rem 5%; }
.bande.grise { background: var(--gris); }
.etroit { max-width: 720px; margin: 0 auto; }
.large { max-width: 1080px; margin: 0 auto; }

/* --- Accueil --- */
.accueil-titre { padding-left: 5%; padding-right: 5%; }
.accueil-titre h1 { font-size: 3.2rem; }
/* --- Carrousel de l'accueil --- */
.carrousel { position: relative; height: min(68vh, 620px); overflow: hidden; background: var(--gris); }
.diapo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.diapo.active { opacity: 1; pointer-events: auto; }
.diapo img { width: 100%; height: 100%; object-fit: cover; }
.carrousel-prec, .carrousel-suiv {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 2.8rem; height: 2.8rem; border: 0; border-radius: 50%;
    background: rgba(46, 46, 46, 0.35); color: #fff; font: 300 2rem/1 var(--texte); cursor: pointer;
    opacity: 0; transition: opacity 0.3s ease, background 0.3s ease;
}
.carrousel-prec { left: 1.2rem; }
.carrousel-suiv { right: 1.2rem; }
.carrousel:hover .carrousel-prec, .carrousel:hover .carrousel-suiv,
.carrousel-prec:focus-visible, .carrousel-suiv:focus-visible { opacity: 1; }
.carrousel-prec:hover, .carrousel-suiv:hover { background: rgba(46, 46, 46, 0.6); }
.carrousel-points { position: absolute; left: 0; right: 0; bottom: 1rem; z-index: 2; display: flex; justify-content: center; gap: 0.5rem; }
.carrousel-points button {
    width: 0.65rem; height: 0.65rem; padding: 0; border: 1px solid #fff; border-radius: 50%;
    background: rgba(255, 255, 255, 0.25); cursor: pointer; box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}
.carrousel-points button[aria-current="true"] { background: #fff; }
.carrousel-lecture {
    position: absolute; right: 1rem; bottom: 0.7rem; z-index: 2; width: 2rem; height: 2rem; padding: 0;
    border: 0; border-radius: 50%; background: rgba(46, 46, 46, 0.35); color: #fff; font-size: 0.7rem;
    letter-spacing: -0.1em; cursor: pointer;
}
.carrousel-lecture:hover { background: rgba(46, 46, 46, 0.6); }
@media (prefers-reduced-motion: reduce) { .diapo { transition: none; } }

.logements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; margin: 2rem auto 0; max-width: 1000px; }
.logement h3 { margin: 1rem 0 0.4rem; font-size: 1.35rem; }
.logement h3 a { color: inherit; text-decoration: none; }
.logement h3 a:hover { color: var(--sauge-fonce); }
.logement p { margin-bottom: 0.5em; }
.logement-photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; text-decoration: none; }
.logement-photo img { width: 100%; height: 100%; object-fit: cover; }
.logement-prix { font-family: var(--titre); color: var(--vert-fonce); }
.sans-photo {
    display: flex; align-items: center; justify-content: center;
    background: var(--sauge-pale); color: var(--sauge-fonce); font-size: 0.9rem;
}

/* Les dessins, comme sur le site d'origine : le nom au-dessus du dessin */
.bande-icones { padding: 3rem 5% 1rem; }
.icones {
    list-style: none; margin: 0 auto; padding: 0; max-width: 1000px;
    /* Tous les dessins sur une seule ligne, quel que soit leur nombre */
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 220px); justify-content: center; gap: 2rem 3rem;
}
.icones a { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--encre); }
.icone-nom { font-size: 1.1rem; font-weight: 300; text-align: center; overflow-wrap: anywhere; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); }
.icones img { width: 100%; max-width: 150px; height: auto; aspect-ratio: 1; object-fit: contain; transition: transform 0.25s ease; }
.icones a:hover img { transform: translateY(-4px); }
.icones a:hover .icone-nom { color: var(--sauge-fonce); }
.icones.petites { max-width: 720px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.icones.petites img { max-width: 110px; }
.icones.petites .icone-nom { font-size: 1.05rem; }

.presentation { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: start; }
.presentation-photo img { width: 100%; height: auto; }

.piscine-grille { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3rem; align-items: center; }
.piscine-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gris); }
.piscine-photo img { width: 100%; height: 100%; object-fit: cover; }
.lien-suite { font-family: var(--titre); }

blockquote { margin: 2rem 0; font-family: var(--titre); font-size: 1.15rem; color: var(--vert-fonce); }
blockquote p { margin-bottom: 0.4em; }
blockquote footer { font-family: var(--texte); font-size: 0.95rem; color: var(--encre); }

/* --- Pages logement --- */
.photo-zone:empty { display: none; }
.photo-principale { display: block; width: 100%; height: min(60vh, 520px); object-fit: cover; margin-bottom: 2.5rem; }

/* --- Pages logement : points clés, mosaïque de photos, formules --- */
.points-cles { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.points-cles li { padding: 0.3rem 0.8rem; background: var(--sauge-pale); border-radius: 999px; font-size: 0.9rem; color: var(--vert-fonce); }

.mosaique-zone { position: relative; margin-bottom: 2.5rem; }
.mosaique { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 0.5rem; height: min(56vh, 480px); border-radius: 6px; overflow: hidden; }
.mosaique .galerie-item { aspect-ratio: auto; height: 100%; }
.mosaique .galerie-item:first-child { grid-row: 1 / 3; }
.mosaique .galerie-item:nth-child(n+6) { display: none; }
.mosaique[data-nombre="1"] { grid-template-columns: 1fr; }
.mosaique[data-nombre="2"] { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.mosaique[data-nombre="2"] .galerie-item:first-child { grid-row: auto; }
.mosaique[data-nombre="3"], .mosaique[data-nombre="4"] { grid-template-columns: 2fr 1fr; }
.mosaique[data-nombre="4"] .galerie-item:nth-child(4) { display: none; }
.voir-photos {
    position: absolute; right: 1rem; bottom: 1rem; padding: 0.55rem 1rem;
    background: #fff; color: var(--encre); font: inherit; font-size: 0.9rem; font-weight: 600;
    border: 1px solid var(--encre); border-radius: 4px; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.voir-photos:hover { background: var(--sauge-pale); }

.page-logement .contenu > section { margin-top: 2.5rem; }
.page-logement .contenu > section.premier-bloc { margin-top: 0; }
.formules-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.formule { border: 1px solid var(--trait); border-top: 3px solid var(--sauge); padding: 1.1rem 1.2rem; }
.formule h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.formule-details { list-style: none; margin: 0 0 0.8rem; padding: 0; font-size: 0.95rem; }
.formule-details li { padding: 0.15rem 0; }
.formule-details li::before { content: "·"; color: var(--sauge-fonce); font-weight: 700; margin-right: 0.5rem; }
.formule-prix { margin: 0; }
.formule-prix strong { font-family: var(--titre); font-weight: 400; font-size: 1.35rem; color: var(--vert-fonce); }

.barre-reserver { display: none; }

/* --- Les petits plus (accueil) --- */
.petits-plus { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; margin-top: 2rem; }
.petit-plus { border-top: 3px solid var(--sauge); padding-top: 1rem; }
.petit-plus h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.petit-plus p { margin: 0; }

/* --- Témoignages (accueil) --- */
.temoignages { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.temoignage { margin: 0; padding: 1.5rem 1.6rem; background: var(--gris); border-left: 3px solid var(--sauge); }
.temoignage blockquote { margin: 0 0 0.8rem; font-family: var(--titre); font-size: 1.05rem; color: var(--vert-fonce); }
.temoignage blockquote p { margin: 0; }
.temoignage figcaption { font-size: 0.9rem; color: #555; }

/* --- Pages découverte --- */
.page-simple { max-width: 760px; margin: 0 auto; }
.page-simple .texte h2 { font-size: 1.35rem; margin-top: 2rem; }
.page-simple .texte .liste { margin-bottom: 1em; }
.cartes { max-width: 760px; margin: 2.5rem auto 0; display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
.cartes figure { margin: 0; }
.cartes iframe { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--trait); display: block; }
.cartes figcaption { font-size: 0.9rem; color: #555; margin-top: 0.4rem; }
.credit-carte { grid-column: 1 / -1; font-size: 0.8rem; color: #777; margin: 0; }
@media (max-width: 860px) { .cartes { grid-template-columns: 1fr; } }
.bouton-acces { margin-top: 2rem; padding: 1.2rem 1.5rem; background: var(--sauge-pale); }
.bouton-acces p { margin-bottom: 0.8rem; }
.page-simple.avec-dessin { max-width: 960px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; align-items: start; }
.dessin { width: 100%; height: auto; }
/* --- Conditions de location --- */
.texte-long { max-width: 760px; margin: 0 auto; }
.texte-long section { margin-top: 2.5rem; scroll-margin-top: 1rem; }
.texte-long h2 { font-size: 1.35rem; }
.texte-long h3 { font-size: 1.05rem; margin: 1.2rem 0 0.3rem; }
.texte-long li { margin-bottom: 0.45em; }
.sommaire { background: var(--sauge-pale); padding: 1.2rem 1.5rem; }
.sommaire h2 { font-size: 1.1rem; }
.sommaire ol { columns: 2; column-gap: 2rem; margin: 0 0 0.8rem; padding-left: 1.4rem; }
.sommaire p { margin: 0; }
.encadre-note { background: var(--sauge-pale); padding: 0.8rem 1.2rem; border-left: 3px solid var(--sauge); }

.decouvrir-aussi { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--trait); text-align: center; }
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 3.5rem; align-items: start; }
.contenu section, #bloc-galerie { margin-top: 2.5rem; }

.liste { margin: 0; padding-left: 1.2rem; }
.liste li { margin-bottom: 0.35em; }
.liste.colonnes { columns: 2; column-gap: 2.5rem; }
.liste.colonnes li { break-inside: avoid; }

.formules { width: 100%; border-collapse: collapse; }
.formules th, .formules td { text-align: left; padding: 0.7rem 0.8rem 0.7rem 0; border-bottom: 1px solid var(--trait); vertical-align: top; }
.formules thead th { font-weight: 400; font-size: 0.85rem; color: #666; border-bottom-color: var(--sauge); }
.formules tbody th { font-weight: 400; font-family: var(--titre); color: var(--vert-fonce); }
.formules .prix { white-space: nowrap; }

.encadre { background: var(--sauge-pale); padding: 1.5rem; position: sticky; top: 1.5rem; }
.encadre h2 { font-size: 1.3rem; }
.tarif { padding: 0.8rem 0; border-top: 1px solid var(--sauge); }
.tarif-nom { display: block; font-family: var(--titre); color: var(--vert-fonce); }
.tarif-prix strong { font-size: 1.4rem; font-weight: 400; font-family: var(--titre); color: var(--vert-fonce); }
.conditions { list-style: none; margin: 0 0 1.2rem; padding: 0.8rem 0 0; border-top: 1px solid var(--sauge); font-size: 0.9rem; }
.conditions li { margin-bottom: 0.25em; }
/* Encadré des conditions : libellé à gauche, valeur à droite */
.infos-sejour { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.infos-sejour .info-ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.2rem 1rem; padding: 0.5rem 0; margin: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.infos-sejour .info-libelle { color: #555; }
.infos-sejour .info-ligne > strong { font-weight: 600; white-space: nowrap; }
.infos-sejour .info-saisons { flex-basis: 100%; list-style: none; margin: 0.3rem 0 0; padding: 0.4rem 0.6rem; font-size: 0.82rem; color: #444; background: rgba(255, 255, 255, 0.55); border-radius: 4px; }
.infos-sejour .info-saisons li { display: flex; justify-content: space-between; gap: 0.8rem; margin: 0; padding: 0.12rem 0; }
.infos-sejour .info-dates { white-space: nowrap; font-weight: 600; }
.infos-sejour .info-note { font-size: 0.8rem; color: #777; padding-top: 0.6rem; margin: 0; }
.encadre .btn { display: block; text-align: center; }

.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.galerie-item { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 3 / 2; overflow: hidden; background: var(--gris); }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease, opacity 0.3s ease; }
.galerie-item:hover img { transform: scale(1.03); opacity: 0.92; }

/* --- Visionneuse --- */
.visionneuse { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 20, 18, 0.94); color: #fff; }
.visionneuse::backdrop { background: rgba(20, 20, 18, 0.94); }
.visionneuse figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 4.5rem 1rem; }
.visionneuse img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; }
.visionneuse-legende { margin: 0.8rem 0 0; font-size: 0.9rem; color: #ccc; text-align: center; }
.visionneuse button { position: absolute; background: none; border: 0; color: #fff; font: 300 2.8rem/1 var(--texte); cursor: pointer; padding: 0.5rem 1rem; opacity: 0.8; }
.visionneuse button:hover { opacity: 1; }
.visionneuse-fermer { top: 0.5rem; right: 0.5rem; }
.visionneuse-prec { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.visionneuse-suiv { right: 0.5rem; top: 50%; transform: translateY(-50%); }

/* --- Réservation --- */
.recherche {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem;
    background: var(--sauge-pale); padding: 1.2rem 1.5rem;
}
.recherche label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; flex: 1 1 150px; }
.recherche input, .recherche select {
    font: inherit; color: inherit; padding: 0.55rem 0.6rem;
    border: 1px solid var(--sauge); border-radius: 2px; background: #fff; min-height: 2.6rem;
}
.recherche .btn { min-height: 2.6rem; flex: 0 0 auto; }

.message-erreur { margin: 1.5rem 0 0; padding: 0.9rem 1.2rem; border-left: 3px solid #a23b2a; background: #f8ece9; color: #7a2a1d; }

.resultats-entete {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 2rem;
    margin-top: 2rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--sauge);
}
.resultats-entete p { margin: 0; font-family: var(--titre); color: var(--vert-fonce); }

.resultat { display: grid; grid-template-columns: 240px minmax(0, 1fr) 200px; gap: 1.8rem; padding: 1.8rem 0; border-bottom: 1px solid var(--trait); }
.resultat-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.resultat h2 { font-size: 1.3rem; margin-bottom: 0.3em; }
.resultat-details { margin-bottom: 0.4em; }
.resultat-atouts { font-size: 0.9rem; color: #555; }
.resultat-prix { text-align: right; }
.resultat-prix .btn { display: block; text-align: center; padding-left: 0.5rem; padding-right: 0.5rem; }
.prix-total { font-family: var(--titre); font-size: 2rem; color: var(--vert-fonce); margin: 0; line-height: 1.1; }
.prix-total.sur-demande { font-size: 1.2rem; margin-bottom: 1rem; }
.prix-detail { font-size: 0.85rem; color: #555; margin: 0.2rem 0 1rem; }

.catalogue { margin-top: 2.5rem; }
.catalogue > h2 { font-size: 1.4rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--sauge); margin-bottom: 0; }
.prix-total small { font-family: var(--texte); font-size: 0.85rem; color: #555; }
.resultat-prix .btn { cursor: pointer; }
/* --- Encadré « Réserver » (pages logement) --- */
.reserver { scroll-margin-top: 1rem; }
.form-sejour { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.4rem; }
.champ { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; color: #444; }
.champ select, .champ-dates {
    width: 100%; min-width: 0; font: inherit; font-size: 0.95rem; color: var(--encre); text-align: left;
    padding: 0.6rem 0.7rem; min-height: 2.7rem; background: #fff; border: 1px solid var(--sauge); border-radius: 3px; cursor: pointer;
}
.champ-dates:not(.rempli) { color: var(--sauge-fonce); }
.champ-dates:hover, .champ select:hover { border-color: var(--sauge-fonce); }
.case { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.92rem; cursor: pointer; }
.case input { margin-top: 0.25rem; accent-color: var(--sauge-fonce); }
.devis { background: #fff; padding: 0.8rem 0.9rem; border-radius: 3px; font-size: 0.92rem; }
.devis-ligne { display: flex; justify-content: space-between; gap: 1rem; padding: 0.2rem 0; }
.devis-ligne span:last-child { white-space: nowrap; text-align: right; }
.devis-total { margin-top: 0.3rem; padding-top: 0.5rem; border-top: 1px solid var(--trait); font-weight: 600; }
.devis-total span:last-child { font-family: var(--titre); font-weight: 400; font-size: 1.3rem; color: var(--vert-fonce); }
.devis-note { margin: 0.5rem 0 0; font-size: 0.8rem; color: #666; }
.sejour-message { margin: 0; padding: 0.6rem 0.8rem; background: #f8ece9; border-left: 3px solid #a23b2a; color: #7a2a1d; font-size: 0.88rem; }
.btn-reserver-large { width: 100%; padding: 0.85rem 1rem; font-size: 1.02rem; font-weight: 600; background: var(--sauge-fonce); color: #fff; border-color: var(--sauge-fonce); }
.btn-reserver-large:hover { background: var(--vert-fonce); }
.mention { margin: 0; font-size: 0.8rem; color: #666; }
.requis { color: #a8432a; text-decoration: none; font-weight: 700; border: 0; cursor: help; }
.reserver .conditions { margin-top: 1.2rem; }

/* --- Fenêtre de demande --- */
.demande { width: min(820px, calc(100vw - 1.5rem)); max-height: calc(100vh - 1.5rem); padding: 1.5rem 1.7rem; border: 0; border-radius: 8px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); color: var(--encre); }
.demande::backdrop { background: rgba(20, 20, 18, 0.55); }
.demande-entete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.demande-entete h2 { margin: 0; font-size: 1.4rem; }
.demande-fermer:not(.btn) { background: none; border: 0; font: 300 2rem/1 var(--texte); cursor: pointer; color: var(--encre); }
.demande-grille { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 1.6rem; }
.demande-champs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.8rem 1rem; align-content: start; }
.demande-champs label:not(.case) { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; color: #444; }
.demande-champs input:not([type="checkbox"]), .demande-champs select, .demande-champs textarea {
    width: 100%; min-width: 0; font: inherit; font-size: 0.95rem; color: var(--encre); padding: 0.55rem 0.6rem; border: 1px solid #c9c9c3; border-radius: 3px; background: #fff;
}
.demande-champs input:focus, .demande-champs select:focus, .demande-champs textarea:focus { outline: 2px solid var(--sauge); border-color: var(--sauge-fonce); }
.demande-champs .plein { grid-column: 1 / -1; }
.demande-resume { background: var(--sauge-pale); padding: 1rem 1.1rem; font-size: 0.92rem; align-self: start; }
.demande-resume h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.demande-resume p { margin-bottom: 0.5rem; }
.demande-total strong { font-family: var(--titre); font-weight: 400; font-size: 1.3rem; color: var(--vert-fonce); }
.demande-pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--trait); }
.demande-merci { text-align: center; padding: 1.5rem 0.5rem; }
.demande-merci p { max-width: 46ch; margin: 0 auto 1.4rem; }
.cache { position: absolute; left: -9999px; }
@media (max-width: 700px) {
    .demande { padding: 1.1rem; }
    .demande-grille { grid-template-columns: 1fr; }
    .demande-resume { order: -1; }
    .demande-champs { grid-template-columns: minmax(0, 1fr); }
}

/* --- Calendrier en fenêtre (réservation) --- */
.calendrier { width: min(680px, calc(100vw - 1.5rem)); max-height: calc(100vh - 1.5rem); padding: 1.4rem 1.6rem; border: 0; border-radius: 8px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); color: var(--encre); }
.calendrier::backdrop { background: rgba(20, 20, 18, 0.55); }
.cal-entete { display: flex; justify-content: space-between; align-items: center; }
.cal-entete h2 { margin: 0; font-size: 1.4rem; }
.cal-fermer { background: none; border: 0; font: 300 2rem/1 var(--texte); cursor: pointer; color: var(--encre); padding: 0 0.3rem; }
.cal-formule { margin: 0.2rem 0 0.8rem; color: #555; font-size: 0.92rem; }
.cal-regles { margin: -0.4rem 0 0.8rem; font-size: 0.88rem; color: var(--encre); background: var(--sauge-pale); padding: 0.4rem 0.6rem; border-radius: 4px; }
.cal-nav { display: flex; justify-content: space-between; margin-bottom: -2rem; position: relative; z-index: 1; pointer-events: none; }
.cal-nav button { pointer-events: auto; width: 2.2rem; height: 2.2rem; border: 1px solid var(--trait); border-radius: 50%; background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--encre); }
.cal-nav button:disabled { opacity: 0.3; cursor: default; }
.cal-mois { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.cal-un-mois h3 { text-align: center; font-size: 1.05rem; margin: 0.4rem 0 0.8rem; }
.cal-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-jsem { text-align: center; font-size: 0.75rem; color: #777; padding-bottom: 0.3rem; }
.cal-jour { aspect-ratio: 1; border: 0; border-radius: 4px; background: none; font: inherit; font-size: 0.92rem; cursor: pointer; color: var(--encre); }
.cal-jour:not(:disabled):not(.debut):not(.fin):not(.impossible):hover { background: var(--sauge-pale); }
.cal-jour.impossible { color: #a9a9a3; cursor: not-allowed; }
.cal-jour.samedi:not(.debut):not(.fin) { font-weight: 700; color: var(--sauge-fonce); }
.cal-jour.passe { color: #ccc; }
.cal-jour:disabled { color: #bbb; cursor: default; }
.cal-jour.occupe { text-decoration: line-through; color: #b9b9b4; background: repeating-linear-gradient(135deg, #f1f1ee 0 4px, #fff 4px 8px); }
.cal-jour.occupe:not(:disabled) { color: var(--encre); text-decoration: none; } /* jour de départ possible */
.cal-jour.aujourdhui { box-shadow: inset 0 0 0 1px var(--sauge); }
.cal-jour.dans-sejour { background: var(--sauge-pale); border-radius: 0; }
.cal-jour.debut, .cal-jour.fin { background: var(--sauge-fonce); color: #fff; font-weight: 600; }
.cal-consigne { margin: 0.9rem 0 0; font-weight: 600; color: var(--vert-fonce); font-size: 0.95rem; }
.cal-legende { font-size: 0.82rem; color: #666; margin: 0.9rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.pastille { display: inline-block; width: 0.9rem; height: 0.9rem; border-radius: 3px; border: 1px solid var(--trait); }
.pastille.occupe { background: repeating-linear-gradient(135deg, #e4e4e0 0 3px, #fff 3px 6px); }
.cal-legende .leg { display: inline-flex; align-items: center; gap: 0.4rem; margin-right: 0.8rem; }
.cal-consigne.alerte { color: #a8432a; }
.cal-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--trait); }
.cal-resume { margin: 0; }
.cal-total { font-family: var(--titre); font-size: 1.15rem; color: var(--vert-fonce); }
.cal-boutons { display: flex; align-items: center; gap: 1.2rem; }
.cal-valider:disabled { opacity: 0.45; cursor: default; }
@media (max-width: 640px) {
    .calendrier { padding: 1rem; }
    .cal-mois { grid-template-columns: 1fr; }
    .cal-un-mois + .cal-un-mois { display: none; }
}

.comment-reserver { margin-top: 3.5rem; }
.comment-reserver > h2 { font-size: 1.5rem; text-align: center; margin-bottom: 1.5rem; }
.etapes { list-style: none; counter-reset: etape; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.etapes li { counter-increment: etape; position: relative; padding: 1.3rem 1.3rem 1.1rem 4.2rem; background: var(--gris); }
.etapes li::before {
    content: counter(etape); position: absolute; left: 1.2rem; top: 1.2rem;
    width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
    background: var(--sauge-fonce); color: #fff; font-family: var(--titre); font-size: 1.15rem;
}
.etapes h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.etapes p { margin: 0; font-size: 0.93rem; }
.bon-a-savoir { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-top: 1.5rem; padding: 1.4rem 1.6rem; border: 1px solid var(--sauge); }
.bon-a-savoir h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.bon-a-savoir .liste { font-size: 0.93rem; margin-bottom: 0.8rem; }
.bon-a-savoir p { margin: 0; font-size: 0.95rem; }
@media (max-width: 860px) {
    .etapes, .bon-a-savoir { grid-template-columns: 1fr; }
}
.note h2 { font-size: 1.3rem; }
#conditions { font-size: 0.9rem; color: #555; }

/* --- Pied de page : sombre, comme le bandeau du haut --- */
.site-footer { background: var(--encre); color: #d6d6d0; margin-top: 2rem; font-size: 0.95rem; }
.footer-haut {
    max-width: 1140px; margin: 0 auto; padding: 3.5rem 5% 2.5rem;
    display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1.2fr; gap: 2.5rem;
}
.site-footer h2 { font-family: var(--titre); font-size: 1.1rem; color: var(--logo); margin-bottom: 0.9rem; }
.site-footer .sous-titre { margin-top: 1.6rem; }
.site-footer a { color: #eef2e8; text-decoration: none; }
.site-footer a:hover { color: var(--logo); text-decoration: underline; }
.site-footer p { margin-bottom: 0.6em; }
.site-footer .liens { list-style: none; margin: 0 0 1rem; padding: 0; }
.site-footer .liens li { margin-bottom: 0.45em; }
.site-footer address { font-style: normal; line-height: 1.55; margin-bottom: 0.5rem; }
.itineraire { font-size: 0.9rem; }
.itineraire::after { content: " →"; }
.facebook a { display: inline-flex; align-items: center; gap: 0.5rem; }
.facebook img { width: 20px; height: 20px; border-radius: 3px; }

.footer-logo-lien img { width: 88px; height: 88px; border-radius: 50%; margin-bottom: 0.8rem; }
.footer-nom { font-family: "Niconne", cursive; font-size: 1.7rem; color: var(--logo); line-height: 1.1; }

.paiements { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.paiements li { white-space: nowrap; padding: 0.25rem 0.6rem; border: 1px solid #5a5a56; border-radius: 3px; font-size: 0.82rem; color: #eef2e8; }

.footer-bas {
    max-width: 1140px; margin: 0 auto; padding: 1.2rem 5% 1.6rem;
    background: linear-gradient(#45453f, #45453f) no-repeat 50% 0 / 90% 1px; /* trait aligné sur le contenu */
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 2rem; font-size: 0.82rem; color: #a3a39c;
}
.footer-bas p { margin: 0; }
.footer-bas a { color: inherit; }
.footer-bas a:hover { color: #eef2e8; }

/* --- Téléchargement (conditions) --- */
.telechargement { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1.2rem; margin-bottom: 1.5rem; border: 1px solid var(--sauge); }
.telechargement a { font-weight: 600; font-size: 1.05rem; }
.telechargement a::before { content: "↓ "; }
.telechargement span { font-size: 0.88rem; color: #666; }

/* --- Écrans étroits --- */
@media (max-width: 860px) {
    h1, .accueil-titre h1 { font-size: 2rem; }



    .menu-toggle {
        display: block; width: 100%; text-align: left; font: inherit; color: var(--encre);
        background: none; border: 0; padding: 0.9rem 0; cursor: pointer;
    }
    .main-nav ul { display: none; flex-direction: column; padding-bottom: 0.6rem; }
    .main-nav ul.ouvert { display: flex; }
    .main-nav a { padding: 0.6rem 0; }

    .logements { grid-template-columns: 1fr; }
    .footer-haut { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; padding-top: 2.5rem; }
    .footer-marque { grid-column: 1 / -1; }
    .galerie { grid-template-columns: repeat(2, 1fr); }
    .carrousel { height: 52vh; }
    /* Mosaïque : bandeau de photos à faire défiler du doigt */
    .mosaique { display: flex; height: auto; gap: 0.5rem; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 0; margin: 0 -5vw; padding: 0 5vw; }
    .mosaique .galerie-item, .mosaique .galerie-item:nth-child(n+6), .mosaique[data-nombre="4"] .galerie-item:nth-child(4) { display: block; flex: 0 0 86%; aspect-ratio: 4 / 3; scroll-snap-align: center; }
    .voir-photos { right: 0.5rem; bottom: 0.5rem; font-size: 0.8rem; }
    .barre-reserver:not([hidden]) {
        display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
        padding: 0.7rem 5%; background: #fff; border-top: 1px solid var(--trait); box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    }
    .barre-reserver p { margin: 0; font-size: 0.9rem; }
    .barre-reserver strong { font-family: var(--titre); font-weight: 400; font-size: 1.25rem; color: var(--vert-fonce); }
    body.avec-barre .site-footer { padding-bottom: 4.5rem; }
    .carrousel-prec, .carrousel-suiv { opacity: 1; width: 2.4rem; height: 2.4rem; }
    .sommaire ol { columns: 1; }
    .icones { grid-auto-columns: minmax(0, 1fr); justify-content: stretch; gap: 1rem 0.6rem; }
    .icone-nom { font-size: 0.85rem; text-align: center; }
    .icones img { max-width: 90px; }
    .presentation, .piscine-grille { grid-template-columns: 1fr; gap: 2rem; }
    .presentation-photo { max-width: 320px; margin: 0 auto; }
    .page-simple.avec-dessin { grid-template-columns: 1fr; gap: 1.5rem; }
    .page-simple .dessin { max-width: 160px; margin: 0 auto; }
    .visionneuse figure { padding: 3.5rem 0.5rem 1rem; }
    .visionneuse-prec, .visionneuse-suiv { top: auto; bottom: 0.5rem; transform: none; }
    .deux-colonnes { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .encadre { position: static; }
    .liste.colonnes { columns: 1; }

    .formules thead { display: none; }
    .formules tr { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--trait); }
    .formules th, .formules td { display: block; border: 0; padding: 0.1rem 0; }
    .formules td::before { content: attr(data-label) " : "; color: #666; }

    .resultat { grid-template-columns: 1fr; gap: 1rem; }
    .resultat-prix { text-align: left; }
}

/* --- Impression (conditions de location) --- */
@media print {
    .site-header, .site-footer, .sommaire, .imprimer { display: none; }
    body { font-size: 11pt; }
    .page { padding: 0; }
    .page-titre { padding: 0 0 1rem; }
    .texte-long section { margin-top: 1.2rem; break-inside: avoid-page; }
    a { color: inherit; text-decoration: none; }
}

/* --- En-tête sur tablette et mobile --- */
@media (max-width: 1000px) {
    .topbar { flex-wrap: wrap; gap: 0.9rem 1.2rem; }
    .logo { flex-basis: 100%; justify-content: center; }
}
@media (max-width: 560px) {
    .logo { font-size: 1.9rem; gap: 0.7rem; }
    .logo img { width: 48px; height: 48px; }
    .langue { min-width: 0; padding: 0.5rem 0.7rem; gap: 0.4rem; font-size: 0.85rem; }
    .drapeau { width: 1.3rem; height: 0.9rem; }
    .btn-reserver { padding: 0.6rem 0.9rem; font-size: 0.85rem; }
    .btn-reserver svg { display: none; }
    .footer-haut { grid-template-columns: 1fr; }
}

/* Menu à 8 entrées : plus serré sur les écrans moyens pour tenir sur une ligne */
@media (min-width: 861px) and (max-width: 1250px) {
    .main-nav ul { gap: 0 1.2rem; }
    .main-nav a { font-size: 0.92rem; }
}

/* --- Page Contact */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; max-width: 1050px; margin: 0 auto; }
.form-contact textarea { resize: vertical; min-height: 9rem; }
.contact-merci { padding: 2rem; background: var(--sauge-pale); border-left: 3px solid var(--sauge); }
.contact-coordonnees address { font-style: normal; margin-bottom: 0.8rem; line-height: 1.6; }
.contact-coordonnees .texte.petit { font-size: 0.92rem; }
@media (max-width: 800px) {
    .contact-grille { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .contact-coordonnees { position: static; }
}
@media (max-width: 520px) { .form-contact .demande-champs { grid-template-columns: minmax(0, 1fr); } }

/* Documents à télécharger (page Conditions) */
.documents { border: 1px solid var(--sauge); padding: 1.1rem 1.4rem; margin-bottom: 1.5rem; }
.documents h2 { font-size: 1.15rem; margin-top: 0; }
.liste-documents { list-style: none; padding: 0; margin: 0.6rem 0; }
.liste-documents li { padding: 0.35rem 0; border-bottom: 1px solid #eee; }
.liste-documents li:last-child { border-bottom: 0; }
.liste-documents a { font-weight: 600; }
.liste-documents a::before { content: "↓ "; }
.liste-documents span { font-size: 0.85rem; color: #666; white-space: nowrap; }
.documents .petit { font-size: 0.88rem; color: #555; margin: 0.4rem 0 0; }
