/************************
GALERIE
************************/


/* Effet de zoom au survol sur la vignette */

.galerie-section .hover-lift:hover img {
    transform: scale(1.1);
}

.galerie-section .slick-gallery-slider img {
    max-width: 100% !important;
}

.galerie-section .slick-gallery-slider .slick-dots li button:before {
    font-size: 12px;
    color: var(--color-primary);
    opacity: 0.25;
}


.galerie-section .slick-prev-custom, .galerie-section .slick-next-custom {
    width: 40px !important;
    height: 40px !important;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none !important; /* Pas de fond gris, juste l'icône */
    z-index: 2;
}


.galerie-section .slick-prev-custom .carousel-control-prev-icon,
.galerie-section .slick-next-custom .carousel-control-next-icon {
    transition: all 0.3s ease;
    background-size: 100% 100%;
}

/* 2. Style forcé en BLANC uniquement si parent sombre */
/* On cible les classes que ton CMS génère pour les sections sombres */

.galerie-section .text-white .slick-prev-custom .carousel-control-prev-icon,
.galerie-section .text-white .slick-next-custom .carousel-control-next-icon,
.galerie-section .bg-dark .slick-prev-custom .carousel-control-prev-icon,
.galerie-section .bg-dark .slick-next-custom .carousel-control-next-icon,
.galerie-section .is-fullscreen .carousel-control-prev-icon, /* Pour le plein écran aussi */
.galerie-section .is-fullscreen .carousel-control-next-icon {
    filter: invert(0) !important;
    opacity: 1;
}

/* 3. Survol pour le feedback visuel */

.galerie-section .slick-prev-custom:hover .carousel-control-prev-icon,
.galerie-section .slick-next-custom:hover .carousel-control-next-icon {
    opacity: 1;
    transform: scale(1.1);
}

.galerie-section .slick-prev-custom {
    /*  left: -30px; */
}

.galerie-section .slick-next-custom {
    /* right: -30px; */
}

/* 4. Spécificité Mobile : on s'assure que le bouton lui-même n'a pas de fond blanc */
@media (max-width: 768px) {
    .galerie-section .slick-prev-custom, .slick-next-custom {
        background: transparent !important;
        -webkit-appearance: none; /* Supprime le style bouton iOS */
    }
}

.galerie-section .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 0px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.galerie-section .slick-dots li button:before {
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 5px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 5px;
    display: block;
    background: var(--color-accent);
    content: '' !important;
    text-align: center;
    opacity: .25;
    color: black;
    -webkit-font-smoothing: antialiased;
    transition: all 0.3s;
}

.galerie-section .slick-dots li.slick-active button:before {
    opacity: 1 !important;
    left: -5px !important;
    width: 30px !important;
}

.galerie-section .text-white .slick-dots li button:before {
    background: #FFFFFF;
}

.galerie-section .text-white .slick-dots li.slick-active button:before {
    background: #FFFFFF;
}