:root {
    --nbr-slide: 5;
}
.carousel-wrapper {
    background-color: #dfac1e;
}
.home-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    /*padding: 0 14%;*/
    /*box-sizing: border-box;*/
    padding: 0;
}

.home-carousel .swiper-wrapper {
    /*align-items: center;*/
    /*min-height: 320px;*/
    display: flex;
    transform: translateZ(0);
    height: 100%;
    position: relative;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    width: 100%;
    z-index: 1;
}
.home-carousel .carousel-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #dfac1e;
    box-sizing: border-box;
    display: block;
    flex-shrink: 0;
    /*height: 100%; prob de marge jaune en haut ou bas */
    /* transition-property: transform; */
    /* width: 100%; */
}
.home-carousel .swiper-slide.single img {
    height: 100%;
    object-fit: cover;
}
/* Bloc multiple */
.carousel-item.multiple {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* ajustable selon la maquette */
    overflow: visible;
}

.carousel-item.multiple img.multi-layer {
    will-change: transform;
    max-width: 100%;
    height: auto; /* jamais de height fixe pour garder ratio */
}
.home-carousel .swiper-slide {
    position: relative;
    max-width: calc(100% / var(--nbr-slide));
}
.home-carousel .swiper-slide.multiple {
    height: auto;
}
.home-carousel .swiper-slide a.fullBlock_link {
    transition: var(--transition-3s);
}
.home-carousel .swiper-slide:hover a.fullBlock_link {
    background-color: rgba(0, 0, 0, .5);
}
@media screen and (max-width: 1650px){
    .home-carousel {
        /*padding: 0 30px;*/
    }
}
@media screen and (max-width: 1200px){
    :root {
        --nbr-slide: 4;
    }
}
@media screen and (max-width: 1024px){
    :root {
        --nbr-slide: 3;
    }
}
@media screen and (max-width: 992px){
    :root {
        --nbr-slide: 2;
    }
}
@media screen and (max-width: 560px){
    :root {
        --nbr-slide: 1;
    }
}

