/* ========================
   CARROUSEL GÎTE
======================== */
.gite-hero {
    display: flex;
    justify-content: center;
    padding: 2.5rem 2rem 0;
    background-color: #fdfdf8;
}

.carrousel-gite {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 520px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.carrousel-gite .carrousel-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: zoom-in;
    pointer-events: none;
}

.carrousel-gite .carrousel-img.active {
    opacity: 1;
    pointer-events: auto;
}

.carrousel-gite .btn-gauche,
.carrousel-gite .btn-droite {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.4);
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.carrousel-gite .btn-gauche { left: 1rem; }
.carrousel-gite .btn-droite { right: 1rem; }

.carrousel-gite .btn-gauche:hover,
.carrousel-gite .btn-droite:hover {
    background-color: rgba(0,0,0,0.7);
}

.carrousel-compteur {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(0,0,0,0.5);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 10;
}

/* ========================
   LIGHTBOX
======================== */
#lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.93);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#lightbox.active {
    display: flex;
}

#lightbox-img {
    max-width: 88%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

#lightbox-fermer {
    position: absolute;
    top: 1rem; right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

#lightbox-fermer:hover { color: #ccc; }

#lightbox-gauche,
#lightbox-droite {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

#lightbox-gauche { left: 1.5rem; }
#lightbox-droite { right: 1.5rem; }

#lightbox-gauche:hover,
#lightbox-droite:hover {
    background-color: rgba(255,255,255,0.3);
}

#lightbox-compteur {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.95rem;
    background-color: rgba(0,0,0,0.4);
    padding: 0.4rem 1rem;
    border-radius: 20px;
}

/* ========================
   CONTENU
======================== */
.gite-contenu {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.gite-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.gite-categorie {
    font-size: 0.9rem;
    color: #4a7c4e;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.gite-contenu h1 {
    font-size: 2.2rem;
    color: #2c4a2e;
    margin-bottom: 0.5rem;
}

.gite-capacite {
    color: #666;
    font-size: 1rem;
}

.gite-accroche {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.gite-accroche.italic {
    font-style: italic;
    color: #666;
    margin-bottom: 2.5rem;
}

.gite-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: #f9f9f4;
    border-radius: 8px;
    border-left: 4px solid #2c4a2e;
}

.gite-section h2 {
    font-size: 1.3rem;
    text-align: left;
    margin-bottom: 1.2rem;
    color: #2c4a2e;
}

.gite-liste {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.gite-liste li {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

.gite-sous-liste {
    list-style: none;
    margin-top: 0.5rem;
    margin-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.gite-sous-liste li {
    font-size: 0.95rem;
    color: #555;
}

.gite-conclusion {
    font-style: italic;
    color: #2c4a2e;
    font-size: 1.1rem;
    text-align: center;
    margin: 2.5rem 0;
    padding: 1.5rem;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.gite-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.bouton-outline {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid #2c4a2e;
    color: #2c4a2e;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s;
}

.bouton-outline:hover {
    background-color: #2c4a2e;
    color: white;
}

/* ========================
   RESPONSIVE MOBILE
======================== */
@media (max-width: 768px) {
    .mosaique {
        grid-template-columns: 1fr;
        height: auto;
    }

    .mosaique-grande {
        height: 280px;
        border-radius: 0;
    }

    .mosaique-vignettes {
        display: none;
    }

    .gite-header {
        flex-direction: column;
    }

    .gite-contenu h1 {
        font-size: 1.6rem;
    }
}