/* ============================================================
   logements.css — liste (filtres + tri + grille) & page détail
   Charge commun.css avant ce fichier.
   Les règles .flatpickr-* doivent rester APRÈS le CSS de flatpickr.
   ============================================================ */

/* Évite tout débordement horizontal sur petit écran */
img{
    max-width: 100%;
}

/* ============================================================
   Liste des logements — en-tête
   ============================================================ */

#logements{
    padding: 0 40px 80px;
}

/* Bandeau : le titre reste centré, le bouton est détaché en haut à droite */
.entete-page{
    position: relative;           /* repère pour positionner le bouton */
    max-width: 1200px;            /* même largeur que la grille */
    margin: 60px auto 40px;       /* l'espacement vertical est porté ici */
}

.ajout-logement{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);  /* aligné verticalement sur le titre */
    margin: 0;
    font-size: clamp(16px, 1.6vw, 20px);   /* plus petit qu'un titre */
    background-color: #16321F;
    color: #F4EDE0;
    font-weight: 700;
    padding: 10px 20px;
    white-space: nowrap;
    border-radius: 999px;
    text-decoration: none;
}

.titre-logements{
    text-align: center;            /* titre centré sur toute la largeur */
    /* 24px sur mobile -> 32px sur grand écran, sans palier brutal */
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #16321F;
    margin: 0;                     /* espacement géré par .entete-page */
}

.aucun-logement{
    text-align: center;
    color: #16321F;
    font-size: 18px;
    padding: 0 16px;
}

.aucun-logement a{
    color: #D9B36C;
}

/* ============================================================
   BARRE DE FILTRES + TRI : bouton Filtres + boutons de tri + popup
   ============================================================ */

.zone-filtres{
    position: relative;            /* repère pour positionner le popup */
    max-width: 1200px;             /* aligné sur la grille */
    margin: 0 auto 32px;
    display: flex;
    flex-wrap: wrap;               /* passe à la ligne au lieu de déborder */
    align-items: center;
    gap: 10px;
}

/* ---------- Boutons (Filtres + tri) ---------- */

.filtre-btn{
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #16321F;
    background-color: #ffffff;
    border: 2px solid #D9B36C;
    border-radius: 999px;
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
    min-height: 40px;         /* cible tactile confortable */
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;                 /* écart icône / texte / compteur */
}

.filtre-btn:hover{
    background-color: #D9B36C;
    color: #16321F;
}

/* Bouton du tri actuellement appliqué */
.filtre-btn.actif{
    background-color: #16321F;
    border-color: #16321F;
    color: #F4EDE0;
}

.filtre-btn:focus-visible{
    outline: 2px solid #16321F;
    outline-offset: 2px;
}

/* Groupe des boutons de tri, en ligne à côté du bouton Filtres */
.tri-boutons{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* Icône « curseurs » : taille fixe, hérite de la couleur du label */
.icone-filtres{
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

/* Petite pastille avec le nombre de filtres actifs */
.btn-filtre-compteur{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background-color: #16321F;
    color: #F4EDE0;
    font-size: 12px;
    font-weight: 700;
}

.btn-filtre-compteur[hidden]{ display: none; }

/* ---------- Chips des filtres actifs ---------- */

.chips-actifs{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-basis: 100%;             /* les chips passent sous la barre */
}

.chips-actifs:empty{ display: none; }

.chip{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #16321F;
    color: #F4EDE0;
    border-radius: 999px;
    padding: 4px 6px 4px 12px;
    font-size: 13px;
    font-weight: 600;
}

.chip-fermer{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background-color: rgba(244, 237, 224, 0.18);
    color: #F4EDE0;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.chip-fermer:hover{
    background-color: rgba(244, 237, 224, 0.38);
}

.nb-resultats{
    font-size: 14px;
    color: #7a7a6d;
    margin-left: auto;            /* pousse le compteur à droite */
    white-space: nowrap;
}

/* ---------- Le popup ---------- */

.popup-filtre{
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 50;
    width: min(360px, calc(100vw - 40px));
    max-height: min(72vh, 620px);
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #e6dfc4;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 14px 34px rgba(22, 50, 31, 0.20);
    animation: popup-apparition 0.15s ease;
}

.popup-filtre[hidden]{ display: none; }

@keyframes popup-apparition{
    from{ opacity: 0; transform: translateY(-6px); }
    to{   opacity: 1; transform: none; }
}

.groupe-filtre{
    border: none;
    padding: 0;
    margin: 0 0 18px;
}

.groupe-filtre legend{
    font-size: 13px;
    font-weight: 700;
    color: #7a7a6d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0;
    margin-bottom: 8px;
}

.option-filtre{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 15px;
    color: #16321F;
    cursor: pointer;
}

.option-filtre input{
    width: 18px;
    height: 18px;
    accent-color: #16321F;   /* coche/point aux couleurs du site */
    cursor: pointer;
}

/* Champ de dates (flatpickr) */
.champ-dates{
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    color: #16321F;
    background-color: #ffffff;
    border: 1px solid #e6dfc4;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
}

.champ-dates:focus-visible{
    outline: 2px solid #16321F;
    outline-offset: 1px;
}

.ligne-prix{
    display: flex;
    align-items: center;
    gap: 12px;
}

.ligne-prix input[type="range"]{
    flex: 1;
    accent-color: #16321F;
    cursor: pointer;
}

.valeur-prix{
    font-size: 14px;
    font-weight: 700;
    color: #16321F;
    white-space: nowrap;
    min-width: 56px;
    text-align: right;
}

.actions-popup{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    position: sticky;
    bottom: -18px;
    background-color: #ffffff;
    padding-top: 12px;
}

.lien-reinit{
    border: none;
    background: none;
    color: #7a7a6d;
    font-family: inherit;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    padding: 6px 4px;
}

.lien-reinit:hover{ color: #16321F; }

.btn-appliquer{
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #F4EDE0;
    background-color: #16321F;
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    min-height: 42px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-appliquer:hover{ background-color: #0f2416; }

/* Calendrier flatpickr aux couleurs du site */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange{
    background: #16321F;
    border-color: #16321F;
}

.flatpickr-day.inRange{
    box-shadow: -5px 0 0 #f0e9d6, 5px 0 0 #f0e9d6;
    background: #f0e9d6;
    border-color: #f0e9d6;
}

/* ============================================================
   Grille des logements
   ============================================================ */

.grille-logements{
    display: grid;
    /* auto-fill + minmax gère seul 1 / 2 / 3 / 4 colonnes selon la largeur */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.aucun-resultat{
    text-align: center;
    color: #7a7a6d;
    font-size: 16px;
    padding: 24px 16px;
}

.aucun-resultat[hidden]{ display: none; }

.carte-logement{
    text-decoration: none;
    color: inherit;
    background-color: #ffffff;
    border: 1px solid #e6dfc4;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(22, 50, 31, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.carte-logement:hover{
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(22, 50, 31, 0.16);
}

/* Sur écran tactile, :hover reste "collé" après le tap : on le neutralise */
@media (hover: none){
    .carte-logement:hover{
        transform: none;
        box-shadow: 0 2px 6px rgba(22, 50, 31, 0.08);
    }
}

.logement-image{
    position: relative;
    width: 100%;
    /* aspect-ratio garde une image proportionnée quelle que soit la colonne */
    aspect-ratio: 16 / 10;
    background-color: #16321F;
    overflow: hidden;
}

.img-logement{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.badge-distance{
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #D9B36C;
    color: #16321F;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    white-space: nowrap;
    border-radius: 999px;
}

.case-logement{
    padding: 18px 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.titre-logement{
    font-size: 18px;
    font-weight: 700;
    color: #16321F;
    /* Titre long : 2 lignes max, puis "…" — évite les cartes déséquilibrées */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.infos-logement{
    font-size: 14px;
    color: #7a7a6d;
}

.prix-logement{
    font-size: 16px;
    font-weight: 700;
    color: #16321F;
}

/* ============================================================
   Page détail
   ============================================================ */

#logement-detail{
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.lien-retour{
    display: inline-block;
    color: #16321F;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 24px;
}

.lien-retour:hover{
    color: #D9B36C;
}

.titre-logement-detail{
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    color: #16321F;
    margin: 0 0 8px;
}

.sous-titre-logement-detail{
    font-size: clamp(14px, 2vw, 16px);
    color: #7a7a6d;
    margin: 0 0 24px;
}

/* ---------- Galerie immersive (grande photo + miniatures) ---------- */

/* Empêche le défilement de fond quand le plein écran est ouvert */
body.modale-ouverte{
    overflow: hidden;
}

.galerie-immersive{
    margin-bottom: 32px;
}

.galerie-scene{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background-color: #16321F;
    box-shadow: 0 12px 30px rgba(22, 50, 31, 0.20);
    /* Petite entrée à l'ouverture de la page : ça « respire » */
    animation: galerie-entree 0.5s ease both;
}

@keyframes galerie-entree{
    from{ opacity: 0; transform: translateY(16px); }
    to{   opacity: 1; transform: none; }
}

.galerie-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: opacity 0.4s ease, transform 0.6s ease;
}

/* Léger zoom au survol : la photo devient vivante */
.galerie-scene:hover .galerie-image{
    transform: scale(1.04);
}

/* Pendant le changement de photo, on estompe (le JS pose la classe) */
.galerie-scene.en-transition .galerie-image{
    opacity: 0;
}

.galerie-badge-circuit{
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: #D9B36C;
    color: #16321F;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.galerie-compteur{
    position: absolute;
    bottom: 14px;
    right: 14px;
    background-color: rgba(22, 50, 31, 0.72);
    color: #F4EDE0;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.galerie-loupe{
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: rgba(22, 50, 31, 0.72);
    color: #F4EDE0;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.galerie-loupe:hover{
    background-color: #16321F;
    transform: scale(1.08);
}

.galerie-fleche{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background-color: rgba(244, 237, 224, 0.85);
    color: #16321F;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Discrètes au repos, elles apparaissent au survol de la scène */
    opacity: 0;
    transition: opacity 0.25s ease, background-color 0.2s ease, transform 0.2s ease;
}

.galerie-scene:hover .galerie-fleche{
    opacity: 1;
}

.galerie-fleche:hover{
    background-color: #F4EDE0;
    transform: translateY(-50%) scale(1.08);
}

.galerie-precedent{ left: 14px; }
.galerie-suivant{  right: 14px; }

/* ---------- Miniatures ---------- */

.galerie-miniatures{
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
}

.galerie-miniature{
    flex: 0 0 auto;
    width: 96px;
    height: 68px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: none;
    cursor: pointer;
    opacity: 0.6;
    scroll-snap-align: start;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.galerie-miniature img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.galerie-miniature:hover{
    opacity: 1;
    transform: translateY(-2px);
}

.galerie-miniature.actif{
    opacity: 1;
    border-color: #D9B36C;
}

/* Sur écran tactile, pas de survol : flèches visibles, pas de zoom collant */
@media (hover: none){
    .galerie-fleche{ opacity: 1; }
    .galerie-scene:hover .galerie-image{ transform: none; }
}

/* ---------- Plein écran (lightbox) ---------- */

.lightbox{
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: rgba(10, 20, 14, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
    animation: lightbox-apparition 0.25s ease;
}

.lightbox[hidden]{ display: none; }

@keyframes lightbox-apparition{
    from{ opacity: 0; }
    to{   opacity: 1; }
}

.lightbox-image{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-fermer,
.lightbox-fleche{
    position: absolute;
    border: none;
    border-radius: 50%;
    background-color: rgba(244, 237, 224, 0.14);
    color: #F4EDE0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-fermer:hover,
.lightbox-fleche:hover{
    background-color: rgba(244, 237, 224, 0.28);
}

.lightbox-fermer{
    top: 20px;
    right: 24px;
    width: 46px;
    height: 46px;
    font-size: 30px;
    line-height: 1;
}

.lightbox-fleche{
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 34px;
    line-height: 1;
}

.lightbox-fleche:hover{
    transform: translateY(-50%) scale(1.08);
}

.lightbox-prec{ left: 24px; }
.lightbox-suiv{ right: 24px; }

.lightbox-compteur{
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #F4EDE0;
    font-size: 14px;
    font-weight: 600;
    background-color: rgba(22, 50, 31, 0.6);
    padding: 6px 14px;
    border-radius: 999px;
}

/* ---------- Chips de capacité ---------- */

.stats-logement{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
}

.stat-logement{
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #e6dfc4;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    color: #7a7a6d;
    box-shadow: 0 2px 6px rgba(22, 50, 31, 0.06);
}

.stat-logement .stat-valeur{
    font-weight: 700;
    color: #16321F;
}

.stat-icone{
    font-size: 18px;
    line-height: 1;
}

.contenu-logement{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.bloc-infos{
    flex: 2;
    min-width: 280px;
    color: #16321F;
}

.description-logement{
    font-size: 16px;
    line-height: 1.6;
    /* Coupe proprement les mots très longs (URL, nom composé) */
    overflow-wrap: break-word;
}

.resume-capacite-detail{
    font-size: 15px;
    color: #7a7a6d;
    margin-bottom: 24px;
}

.titre-section{
    font-size: 18px;
    font-weight: 700;
    color: #16321F;
    margin-top: 24px;
    margin-bottom: 8px;
}

.liste-equipements{
    margin: 0;
    padding-left: 20px;
    color: #16321F;
}

.liste-equipements li{
    font-size: 15px;
    margin-bottom: 4px;
}

.bloc-reservation{
    flex: 1;
    min-width: 260px;
    background-color: #16321F;
    color: #F4EDE0;
    border-radius: 14px;
    padding: 24px 20px;
    box-sizing: border-box;
    position: sticky;
    top: 24px;
}

.prix-detail{
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.prix-detail span{
    font-size: 14px;
    font-weight: 400;
    opacity: 0.75;
}

.dispo-detail{
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 20px;
}

.form-reservation{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-reservation label{
    font-size: 14px;
}

/* ---------- Champs et bouton (repris du tunnel hôte) ---------- */

.case-info{
    width: 100%;
    height: 40px;
    padding: 0 12px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 8px;
    border: none;
    /* 16px minimum : en dessous, iOS zoome automatiquement au focus */
    font-size: 16px;
    font-family: inherit;
    box-shadow: 0 6px 16px rgb(44, 44, 44);
}

.zone-message{
    height: auto;
    min-height: 80px;
    padding: 10px 12px;
    text-align: left;
    resize: vertical;
}

.btn-inscription{
    text-decoration: none;
    color: #000000;
    white-space: nowrap;
    padding: 10px 24px;
    border-radius: 999px;
    border: none;
    box-shadow: 0 6px 16px rgb(44, 44, 44);
    margin-top: 8px;
    background-color: #ffffff;
    align-items: center;
    justify-content: center;
    display: flex;
    cursor: pointer;
    font-size: 15px;
    font-family: inherit;
    /* 44px : cible tactile minimum recommandée */
    min-height: 44px;
}

.message-adresse{
    margin: 0;
    font-size: 14px;
}

.message-adresse.ok{
    color: #7fd98c;
}

.message-adresse.erreur{
    color: #e07a5f;
}

/* ============================================================
   TABLETTE PAYSAGE — jusqu'à 1024px
   ============================================================ */

@media (max-width: 1024px){

    #logements{
        padding: 0 28px 64px;
    }

    .grille-logements{
        gap: 24px;
    }

    .contenu-logement{
        gap: 28px;
    }

    .galerie-miniature{
        width: 90px;
        height: 64px;
    }
}

/* ============================================================
   TABLETTE PORTRAIT — jusqu'à 900px
   Le layout deux colonnes de la page détail passe en une seule.
   ============================================================ */

@media (max-width: 900px){

    .contenu-logement{
        flex-direction: column;
    }

    .bloc-infos,
    .bloc-reservation{
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
    }

    .bloc-reservation{
        /* En une colonne, le sticky bloquerait le scroll : on le désactive */
        position: static;
        order: -1;      /* le bloc réservation passe AVANT la description */
        margin-bottom: 8px;
    }
}

/* ============================================================
   TABLETTE PORTRAIT ÉTROITE / GRAND TÉLÉPHONE — jusqu'à 768px
   ============================================================ */

@media (max-width: 768px){

    #logements{
        padding: 0 20px 56px;
    }

    .entete-page{
        margin-top: 40px;
        margin-bottom: 28px;
    }

    .grille-logements{
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    /* Le compteur de résultats passe sur sa propre ligne */
    .nb-resultats{
        margin-left: 0;
        flex-basis: 100%;
    }

    #logement-detail{
        padding: 28px 20px 64px;
    }

    .galerie-immersive{
        margin-bottom: 24px;
    }

    .galerie-miniature{
        width: 84px;
        height: 60px;
    }
}

/* ============================================================
   TÉLÉPHONE — jusqu'à 480px
   ============================================================ */

@media (max-width: 480px){

    #logements{
        padding: 0 14px 48px;
    }

    .entete-page{
        margin-top: 28px;
        margin-bottom: 20px;
        /* Sur petit écran : bouton dans le flux, centré sous le titre */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .ajout-logement{
        position: static;
        transform: none;
    }

    .grille-logements{
        /* Une seule colonne : minmax(240px,…) déborderait sur un écran 320px */
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* Filtres : barre resserrée, popup pleine largeur */
    .zone-filtres{
        gap: 8px;
    }

    .popup-filtre{
        width: 100%;
        left: 0;
        right: 0;
    }

    .logement-image{
        aspect-ratio: 16 / 9;
    }

    .case-logement{
        padding: 14px 14px 18px;
    }

    .titre-logement{
        font-size: 17px;
    }

    .badge-distance{
        font-size: 12px;
        padding: 5px 10px;
        top: 10px;
        left: 10px;
    }

    #logement-detail{
        padding: 20px 14px 56px;
    }

    .lien-retour{
        margin-bottom: 16px;
    }

    .galerie-scene{
        border-radius: 12px;
    }

    .galerie-miniature{
        width: 72px;
        height: 52px;
    }

    .galerie-fleche{
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .lightbox{
        padding: 16px;
    }

    .lightbox-fleche{
        width: 42px;
        height: 42px;
        font-size: 28px;
    }

    .lightbox-prec{ left: 12px; }
    .lightbox-suiv{ right: 12px; }

    .contenu-logement{
        gap: 22px;
    }

    .bloc-reservation{
        padding: 20px 16px;
    }

    .resume-capacite-detail,
    .liste-equipements li{
        font-size: 14px;
    }

    .titre-section{
        font-size: 16px;
        margin-top: 20px;
    }
}

/* ============================================================
   Confort et impression
   ============================================================ */

/* Respecte le réglage système "réduire les animations" */
@media (prefers-reduced-motion: reduce){
    .carte-logement{
        transition: none;
    }
    .carte-logement:hover{
        transform: none;
    }

    .popup-filtre{
        animation: none;
    }

    /* Galerie : on garde les changements de photo, mais sans mouvement */
    .galerie-scene{
        animation: none;
    }
    .galerie-image,
    .galerie-miniature,
    .galerie-fleche,
    .galerie-loupe{
        transition: none;
    }
    .galerie-scene:hover .galerie-image{
        transform: none;
    }
    .lightbox{
        animation: none;
    }
}

@media print{
    .bloc-reservation,
    .lien-retour{
        display: none;
    }
    .contenu-logement{
        display: block;
    }
}