/*============================================================================================*/
/* Gîte du Lys - styles personnalisés                                                          */
/* Chargé après style.css : tout ce qui est ici surcharge le thème sans le modifier.           */
/*============================================================================================*/

/*-------- 0. Variables --------*/
:root {
    --gdl-or: #978667;
    --gdl-or-fonce: #7d6e52;
    --gdl-or-clair: #ebd7b2;
    --gdl-encre: #24262d;
    --gdl-encre-douce: #4b514d;
    --gdl-creme: #faf8f5;
    --gdl-sable: #f3efe8;
    --gdl-trait: rgba(151, 134, 103, 0.22);
    --gdl-neige: #29a5ff;

    --gdl-rayon: 16px;
    --gdl-rayon-lg: 22px;
    --gdl-ombre: 0 2px 10px rgba(36, 38, 45, 0.05);
    --gdl-ombre-lg: 0 18px 40px -18px rgba(36, 38, 45, 0.28);
    --gdl-transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/*-------- 1. Base --------*/
.logo-text {
    font-family: "Caveat", cursive;
    font-size: 2rem;
    font-style: normal;
    color: var(--gdl-or);
    margin-left: 1rem;
}

/* Fond crème sur les sections claires plutôt que du blanc pur : plus chaleureux */
.bg_white {
    background-color: #fff;
}

.bg_creme {
    background-color: var(--gdl-creme);
}

/* Ancre décalée sous le header fixe */
[id] {
    scroll-margin-top: 100px;
}

/*-------- 2. Boutons --------*/
a.btn_1,
.btn_1 {
    padding: 15px 30px;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 18px -10px rgba(151, 134, 103, 0.9);
}

a.btn_1:hover,
.btn_1:hover {
    background-color: var(--gdl-or-fonce);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(36, 38, 45, 0.55);
}

a.btn_1.outline:hover,
.btn_1.outline:hover {
    background-color: var(--gdl-encre);
    transform: translateY(-2px);
}

a.btn_1.outline.white:hover,
.btn_1.outline.white:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--gdl-encre);
}

/* Dans le menu latéral mobile, « Réserver maintenant » est un simple lien de
   la liste : l'ombre du bouton lui donnait l'allure d'une pastille flottante. */
@media (max-width: 991px) {

    .main-menu #mainNav ul li a.btn_1,
    .main-menu #mainNav ul li a.btn_1:hover {
        box-shadow: none;
        transform: none;
        background-color: transparent;
    }
}

/*-------- 3. Titres de section --------*/
.title small {
    position: relative;
    padding-bottom: 10px;
}

.title small::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background-color: var(--gdl-or);
    opacity: 0.55;
}

.title.text-center small::after,
.text-center .title small::after {
    left: 50%;
    transform: translateX(-50%);
}

.title h2 {
    letter-spacing: -0.015em;
}

/* Filet de séparation plus discret */
hr.more_margin {
    border-color: var(--gdl-trait);
    opacity: 1;
}

/*-------- 4. Hero --------*/
/* Voile dégradé : le texte reste lisible quelle que soit la photo affichée */
.hero .wrapper.opacity-mask::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(20, 22, 26, 0.35) 0%,
            rgba(20, 22, 26, 0.15) 35%,
            rgba(20, 22, 26, 0.55) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero .wrapper .container {
    position: relative;
    z-index: 1;
}

.hero .wrapper h1 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
    letter-spacing: -0.01em;
}

.hero .wrapper small {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

/* Résumé factuel sous le titre : le visiteur sait en une ligne ce qu'il loue */
.hero_resume {
    max-width: 640px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    line-height: 1.6;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero_cta {
    margin-top: 32px;
}

.hero_cta .btn_1 {
    margin: 0 6px 12px 6px;
}

/* Bandeau de réassurance : note, label et « tout compris » */
.hero_confiance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.gdl_note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.gdl_note i {
    color: #f0b429;
    font-size: 0.85em;
}

.gdl_note strong {
    margin-left: 2px;
    font-weight: 600;
}

.gdl_sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: currentColor;
    opacity: 0.5;
}

@media (max-width: 575px) {
    .hero_confiance {
        font-size: 0.82rem;
    }

    .gdl_sep {
        display: none;
    }

    .hero_confiance>span:not(.gdl_note) {
        flex-basis: 100%;
    }
}

/* Logos partenaires : taille maîtrisée et plus de débordement sur mobile */
.hero_badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 28px;
    margin: 0 auto;
    max-width: 100%;
}

.hero_badges img {
    height: 58px;
    width: auto;
    max-width: 42vw;
    object-fit: contain;
    opacity: 0.92;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

@media (max-width: 575px) {
    .hero_badges img {
        height: 44px;
    }
}

/* Indicateur de défilement */
.hero_scroll {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    opacity: 0.75;
    font-size: 26px;
    line-height: 1;
    text-decoration: none;
    animation: gdl-bob 2.4s ease-in-out infinite;
}

.hero_scroll:hover {
    color: #fff;
    opacity: 1;
}

@keyframes gdl-bob {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 9px);
    }
}

/*-------- 5. Encarts équipements / atouts --------*/
.box_facilities {
    padding: 30px 22px;
    border-radius: var(--gdl-rayon);
    transition: transform var(--gdl-transition), box-shadow var(--gdl-transition), background-color var(--gdl-transition);
}

.box_facilities:hover {
    background-color: var(--gdl-creme);
    transform: translateY(-4px);
    box-shadow: var(--gdl-ombre);
}

/* Pastille ronde autour de l'icône */
.box_facilities i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 18px;
    font-size: 42px;
    border-radius: 50%;
    background-color: var(--gdl-creme);
    color: var(--gdl-or);
    transition: transform var(--gdl-transition), background-color var(--gdl-transition);
}

.box_facilities:hover i {
    background-color: #fff;
    transform: scale(1.06);
}

.box_facilities h3 {
    margin-bottom: 10px;
}

.box_facilities p {
    color: var(--gdl-encre-douce);
    margin-bottom: 0;
}

/*-------- 5 bis. Le gîte en détail --------*/
/* Bandeau de chiffres clés : les cinq informations que tout le monde cherche
   en premier, avant même de regarder les photos. */
.chiffres_cles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: var(--gdl-trait);
    border: 1px solid var(--gdl-trait);
    border-radius: var(--gdl-rayon);
    overflow: hidden;
}

.chiffres_cles li {
    padding: 26px 16px;
    background-color: #fff;
    text-align: center;
}

.chiffres_cles strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--gdl-encre);
}

.chiffres_cles span {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--gdl-encre-douce);
}

@media (max-width: 991px) {
    .chiffres_cles {
        grid-template-columns: repeat(2, 1fr);
    }

    .chiffres_cles li:last-child {
        grid-column: span 2;
    }
}

/* Description pièce par pièce */
.piece_liste {
    margin: 0;
    padding: 0;
    list-style: none;
}

.piece_liste li {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--gdl-trait);
}

.piece_liste li:last-child {
    border-bottom: 0;
}

.piece_liste i {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    font-size: 26px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--gdl-or);
}

.piece_liste h4 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.piece_liste h4 span {
    padding: 2px 9px;
    border-radius: 99px;
    background-color: #fff;
    border: 1px solid var(--gdl-trait);
    color: var(--gdl-or-fonce);
    font-size: 0.78rem;
    font-weight: 500;
}

.piece_liste p {
    margin-bottom: 0;
    color: var(--gdl-encre-douce);
}

.piece_note {
    margin-top: 22px;
    padding-left: 16px;
    border-left: 2px solid var(--gdl-or-clair);
    color: var(--gdl-encre-douce);
    font-size: 0.92rem;
}

/* Encart « tout compris » : l'argument différenciant du gîte */
.inclus_card {
    position: sticky;
    top: 110px;
    padding: 32px 28px;
    border-radius: var(--gdl-rayon-lg);
    background-color: #fff;
    border: 1px solid var(--gdl-trait);
    box-shadow: var(--gdl-ombre-lg);
}

.inclus_card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.15rem;
}

.inclus_card h3 i {
    color: var(--gdl-or);
    font-size: 1.3em;
}

.inclus_card ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.inclus_card li {
    position: relative;
    padding: 7px 0 7px 26px;
    color: var(--gdl-encre-douce);
}

.inclus_card li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 15px;
    width: 9px;
    height: 5px;
    border-left: 2px solid var(--gdl-or);
    border-bottom: 2px solid var(--gdl-or);
    transform: rotate(-45deg);
}

.inclus_card>p {
    margin-bottom: 22px;
    font-size: 0.88rem;
    color: var(--gdl-encre-douce);
}

.inclus_card .btn_1 {
    display: block;
    text-align: center;
}

@media (max-width: 991px) {
    .inclus_card {
        position: static;
        margin-top: 40px;
    }
}

.hote_langues {
    color: var(--gdl-encre-douce);
    font-size: 0.9rem;
}

/* Liste complète des équipements, en trois colonnes */
.equip_grille h3 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gdl-trait);
    font-size: 1.05rem;
}

.equip_grille ul {
    margin: 0 0 36px;
    padding: 0;
    list-style: none;
}

.equip_grille li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: var(--gdl-encre-douce);
    font-size: 0.94rem;
}

.equip_grille li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--gdl-or);
    opacity: 0.6;
}

/* Distances : deux colonnes de lignes pointillées, façon fiche technique */
.distances {
    columns: 2;
    column-gap: 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.distances li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px dotted var(--gdl-trait);
    break-inside: avoid;
    color: var(--gdl-encre-douce);
    font-size: 0.94rem;
}

.distances li span {
    flex: 1 1 auto;
}

.distances li strong {
    flex: 0 0 auto;
    color: var(--gdl-encre);
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .distances {
        columns: 1;
    }
}

/*-------- 6. Témoignages --------*/
.note_globale {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 12px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

/* Le thème positionne .pic en absolu sur 140px : les noms longs passaient
   par-dessus la citation. On repasse en flux normal. */
.box_overlay {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 38px 40px;
    border-radius: var(--gdl-rayon-lg);
    background: linear-gradient(160deg, #2b2e37 0%, #1f2127 100%);
    box-shadow: var(--gdl-ombre-lg);
    text-align: left;
    min-height: 0;
}

.box_overlay .pic {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    text-align: left;
    margin: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(235, 215, 178, 0.18);
}

.box_overlay .pic h4 {
    margin: 0;
    font-size: 1.0625rem;
    color: #fff;
}

.box_overlay .pic h4 small {
    display: block;
    margin-top: 4px;
    color: var(--gdl-or-clair);
    opacity: 0.75;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.box_overlay .comment {
    position: relative;
    padding-left: 42px;
    font-size: 1rem;
    line-height: 1.75;
}

/* Guillemet décoratif */
.box_overlay .comment::before {
    content: "\201C";
    position: absolute;
    left: 0;
    top: -14px;
    font-size: 66px;
    line-height: 1;
    color: var(--gdl-or);
    opacity: 0.45;
    font-family: Georgia, "Times New Roman", serif;
}

@media (max-width: 767px) {
    .box_overlay {
        padding: 28px 24px;
    }

    .box_overlay .comment {
        padding-left: 30px;
    }

    .box_overlay .comment::before {
        font-size: 52px;
    }
}

/* Puces de navigation du carrousel */
.owl-theme .owl-dots .owl-dot span {
    transition: all var(--gdl-transition);
}

/*-------- 7. Galerie --------*/
/* Grille de vignettes plutôt qu'un carrousel : le visiteur voit tout le gîte
   d'un coup d'œil, et seules les vignettes sont téléchargées au chargement. */
.grille_photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.grille_photos a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--gdl-rayon);
    box-shadow: var(--gdl-ombre);
    cursor: zoom-in;
}

.grille_photos img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* La première vignette occupe deux colonnes : elle porte la plus belle pièce. */
@media (min-width: 768px) {
    .grille_photos a:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.grille_photos a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 22, 26, 0.35), transparent 55%);
    opacity: 0;
    transition: opacity var(--gdl-transition);
}

.grille_photos a:hover img,
.grille_photos a:focus-visible img {
    transform: scale(1.05);
}

.grille_photos a:hover::after,
.grille_photos a:focus-visible::after {
    opacity: 1;
}

.galerie_note {
    color: var(--gdl-encre-douce);
    font-size: 0.9rem;
}

/* Bandeau panoramique pleine largeur */
.bandeau_panorama {
    margin: 0;
}

.bandeau_panorama img {
    display: block;
    width: 100%;
    height: clamp(200px, 26vw, 380px);
    object-fit: cover;
}

.bandeau_panorama figcaption {
    padding: 14px 20px;
    background-color: var(--gdl-encre);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    text-align: center;
    letter-spacing: 0.02em;
}

/* Triptyque saisonnier */
.triptyque {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 60px;
}

.triptyque figure {
    margin: 0;
}

.triptyque img {
    display: block;
    width: 100%;
    /* height:auto est indispensable : sans lui, l'attribut height="1080" du
       balisage fige la hauteur et aspect-ratio n'est plus pris en compte. */
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--gdl-rayon);
    box-shadow: var(--gdl-ombre-lg);
}

.triptyque figcaption {
    margin-top: 10px;
    color: var(--gdl-encre-douce);
    font-size: 0.88rem;
    text-align: center;
}

@media (max-width: 767px) {
    .triptyque {
        grid-template-columns: 1fr 1fr;
    }

    .triptyque figure:last-child {
        grid-column: span 2;
    }

    .triptyque figure:last-child img {
        aspect-ratio: 16 / 10;
    }
}

/*-------- 8. Images « Activités locales » --------*/
/* Les deux visuels n'avaient ni la même largeur ni le même ratio : on les
   normalise pour équilibrer les deux blocs. */
.pinned-image.rounded_container .pinned-image__container {
    width: 100%;
    border-radius: var(--gdl-rayon-lg);
    overflow: hidden;
    box-shadow: var(--gdl-ombre-lg);
}

.pinned-image.rounded_container .pinned-image__container img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pinned-image.rounded_container:hover .pinned-image__container img {
    transform: scale(1.04);
}

@media (max-width: 991px) {
    .pinned-image.rounded_container .pinned-image__container img {
        aspect-ratio: 16 / 10;
    }
}

/* Photos « à propos » superposées */
.parallax_wrapper .rounded-img {
    border-radius: var(--gdl-rayon-lg);
    box-shadow: var(--gdl-ombre-lg);
}

/*-------- 9. Accordéon randonnées --------*/
#accordion_1 .card {
    border: 1px solid var(--gdl-trait);
    border-radius: var(--gdl-rayon) !important;
    margin-bottom: 14px;
    overflow: hidden;
    background-color: #fff;
    transition: box-shadow var(--gdl-transition), border-color var(--gdl-transition);
}

#accordion_1 .card:hover {
    box-shadow: var(--gdl-ombre);
    border-color: rgba(151, 134, 103, 0.45);
}

#accordion_1 .card-header {
    background-color: transparent;
    border-bottom: 0;
    padding: 0;
}

#accordion_1 .card-header a {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    color: var(--gdl-encre);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--gdl-transition);
}

#accordion_1 .card-header a:not(.collapsed) {
    color: var(--gdl-or-fonce);
}

#accordion_1 .card-header a .indicator {
    margin-right: 14px;
    color: var(--gdl-or);
    transition: transform var(--gdl-transition);
}

#accordion_1 .card-header a:not(.collapsed) .indicator {
    transform: rotate(180deg);
}

#accordion_1 .card-body {
    padding: 0 24px 24px 24px;
    color: var(--gdl-encre-douce);
}

#accordion_1 .card-body p:last-child {
    margin-bottom: 0;
}

/*-------- 10. Tarifs --------*/
.tarif-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border: 1px solid var(--gdl-trait);
    border-radius: var(--gdl-rayon-lg);
    padding: 38px 32px 32px;
    margin-bottom: 30px;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--gdl-ombre);
    transition: transform var(--gdl-transition), box-shadow var(--gdl-transition);
}

/* Liseré coloré : doré pour l'été, bleu pour l'hiver */
.tarif-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gdl-or-clair), var(--gdl-or));
}

.tarif-card--hiver::before {
    background: linear-gradient(90deg, #bfe3ff, var(--gdl-neige));
}

.tarif-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--gdl-ombre-lg);
}

.tarif-card:hover .tarif-icon svg {
    transform: scale(1.15);
}

.tarif-icon svg {
    width: 46px;
    height: 46px;
    margin-bottom: 8px;
    fill: #e0a02f;
    transition: transform var(--gdl-transition);
    transform-origin: center;
}

.tarif-card h3 {
    margin-bottom: 2px;
    font-size: 1.75rem;
}

.tarif-card>small {
    display: block;
    color: var(--gdl-encre-douce);
    margin-bottom: 22px;
}

.tarif-card p {
    margin: 15px 0;
}

/* Ligne de prix principale */
.tarif-prix {
    display: block;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gdl-encre);
    letter-spacing: -0.02em;
}

.tarif-prix-legende {
    display: block;
    margin-top: 6px;
    font-size: 0.8125rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gdl-or);
    font-weight: 600;
}

.tarif-detail {
    margin: 24px 0 0 0;
    padding: 22px 0 0 0;
    border-top: 1px solid var(--gdl-trait);
    list-style: none;
    text-align: left;
}

.tarif-detail li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 9px 0;
    color: var(--gdl-encre-douce);
}

.tarif-detail li strong {
    color: var(--gdl-encre);
    white-space: nowrap;
}

.tarif_recap {
    max-width: 720px;
    margin: 0 auto 26px;
    color: var(--gdl-encre-douce);
    font-size: 0.92rem;
}

.tarif-note {
    margin-top: auto;
    padding-top: 20px;
    font-size: 0.8125rem;
    color: var(--gdl-encre-douce);
    font-style: italic;
}

/*-------- 11. Réservation, formulaires --------*/
.nav-tabs {
    border-bottom: 1px solid var(--gdl-trait);
}

.nav-tabs .nav-link {
    color: var(--gdl-encre-douce);
    font-weight: 600;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 14px 20px;
    transition: color var(--gdl-transition), border-color var(--gdl-transition);
}

.nav-tabs .nav-link:hover {
    color: var(--gdl-encre);
    border-bottom-color: var(--gdl-trait);
}

.nav-tabs .nav-link.active {
    color: var(--gdl-encre);
    background-color: transparent;
    border-bottom-color: var(--gdl-or);
}

.form-control {
    border-radius: 10px;
    border-color: var(--gdl-trait);
    transition: border-color var(--gdl-transition), box-shadow var(--gdl-transition);
}

.form-control:focus {
    border-color: var(--gdl-or);
    box-shadow: 0 0 0 3px rgba(151, 134, 103, 0.16);
}

/* Anneau de focus visible au clavier */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn_1:focus-visible {
    outline: 2px solid var(--gdl-or);
    outline-offset: 3px;
}

/* Le thème force la couleur du placeholder dans .booking_wrapper, ce qui le
   rendait visible sous le libellé flottant. On le remet en transparent. */
.booking_wrapper .form-floating>.form-control::placeholder {
    color: transparent;
}

/* Compteurs de voyageurs.
   Le thème plaçait le libellé en absolu dans le champ et poussait la valeur
   à 92px du bord : sur une colonne de 159px, le nombre tombait pile derrière
   le bouton « − » et restait invisible. Le libellé remonte au-dessus du champ,
   la valeur est centrée et les deux boutons encadrent le nombre. */
.qty-buttons label {
    position: static;
    display: block;
    margin-bottom: 7px;
    color: var(--gdl-encre-douce);
    font-weight: 500;
}

.qty-buttons .compteur_champ {
    position: relative;
}

.qty-buttons input.qty,
.qty-buttons.version_2 input.qty {
    padding: 0 44px;
    text-align: center;
    font-weight: 600;
    color: var(--gdl-encre);
}

.qty-buttons input.qtyminus,
.qty-buttons input.qtyplus,
.qty-buttons.version_2 input.qtyminus,
.qty-buttons.version_2 input.qtyplus {
    top: 7px;
    transition: opacity var(--gdl-transition);
}

.qty-buttons input.qtyminus,
.qty-buttons.version_2 input.qtyminus {
    left: 6px;
    right: auto;
}

.qty-buttons input.qtyplus,
.qty-buttons.version_2 input.qtyplus {
    right: 6px;
}

/* Aux bornes, le bouton s'éteint plutôt que de rester cliquable sans effet */
.qty-buttons input.qtyminus:disabled,
.qty-buttons input.qtyplus:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.capacite_aide {
    margin: -6px 0 14px;
    color: var(--gdl-encre-douce);
    font-size: 0.82rem;
}

/* Légende du calendrier de disponibilités */
.calendrier_legende {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    margin: 14px 2px 22px;
    font-size: 0.8125rem;
    color: var(--gdl-encre-douce);
}

.calendrier_legende span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.calendrier_legende i {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid var(--gdl-trait);
    background-color: #fff;
    flex-shrink: 0;
}

.calendrier_legende i.est-reserve {
    background-image: repeating-linear-gradient(45deg,
            transparent, transparent 3px,
            rgba(36, 38, 45, 0.28) 3px, rgba(36, 38, 45, 0.28) 4px);
}

/* Champ pot-de-miel anti-spam : invisible pour les humains, rempli par les robots */
.gdl-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    opacity: 0;
}

#message-booking,
#message-contact {
    text-align: center;
    padding-bottom: 2rem;
}

.error_message {
    color: #b3261e;
    font-weight: 600;
    padding: 14px 18px;
    border-radius: 10px;
    background-color: rgba(179, 38, 30, 0.07);
}

/*-------- 12. Carte --------*/
/* Chargement au clic : la carte Google n'est appelée que si le visiteur le
   demande (RGPD) et la page économise ~1 Mo au premier affichage. */
/* Informations pratiques sous les coordonnées */
.infos_pratiques {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.infos_pratiques li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 0;
    color: var(--gdl-encre-douce);
    font-size: 0.92rem;
}

.infos_pratiques i {
    color: var(--gdl-or);
}

.map_placeholder {
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 24px;
    background-color: var(--gdl-sable);
    background-image:
        linear-gradient(rgba(151, 134, 103, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(151, 134, 103, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    border: 0;
    width: 100%;
    cursor: pointer;
    color: var(--gdl-encre);
    transition: background-color var(--gdl-transition);
}

.map_placeholder:hover {
    background-color: #eee7db;
}

.map_placeholder i {
    font-size: 40px;
    color: var(--gdl-or);
}

.map_placeholder strong {
    font-size: 1.125rem;
}

.map_placeholder span {
    font-size: 0.8125rem;
    color: var(--gdl-encre-douce);
    max-width: 34ch;
}

/*-------- 13. Pied de page --------*/
.footer_gdl {
    background-color: var(--gdl-encre);
    color: rgba(255, 255, 255, 0.72);
    padding: 64px 0 40px;
    font-size: 0.9375rem;
}

.footer_gdl h4 {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer_gdl a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color var(--gdl-transition);
}

.footer_gdl a:hover {
    color: var(--gdl-or-clair);
}

.footer_gdl .footer_logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer_gdl .footer_logo span {
    font-family: "Caveat", cursive;
    font-size: 1.75rem;
    color: var(--gdl-or-clair);
}

.footer_gdl ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_gdl ul li {
    margin-bottom: 10px;
}

.copy {
    background-color: #1a1c21;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.6);
}

.copy a {
    color: rgba(255, 255, 255, 0.8);
}

/*-------- 14. Barre d'action mobile --------*/
/* Sur téléphone, « Réserver » et « Appeler » restent toujours accessibles. */
.barre_mobile {
    display: none;
}

@media (max-width: 767px) {
    .barre_mobile {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background-color: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(8px);
        border-top: 1px solid var(--gdl-trait);
        box-shadow: 0 -6px 24px -14px rgba(36, 38, 45, 0.5);
    }

    .barre_mobile a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 13px 10px;
        border-radius: 25px;
        font-weight: 600;
        font-size: 0.9375rem;
        text-decoration: none;
        line-height: 1;
    }

    .barre_mobile .action_principale {
        background-color: var(--gdl-or);
        color: #fff;
    }

    .barre_mobile .action_secondaire {
        border: 2px solid var(--gdl-encre);
        color: var(--gdl-encre);
    }

    /* Le pied de page ne doit pas passer sous la barre */
    .copy {
        padding-bottom: 90px;
    }
}

/*-------- 15. Rythme vertical --------*/
/* Le thème laissait de très grands vides entre les blocs « activités ». */
@media (min-width: 992px) {
    .add_bottom_90 {
        padding-bottom: 70px;
    }
}

@media (max-width: 767px) {

    .margin_120_95,
    .margin_120 {
        padding-top: 60px;
        padding-bottom: 50px;
    }
}

/*-------- 16. Accessibilité : animations réduites --------*/
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .marquee .track {
        animation: none;
    }
}
