.pix-bandeau-swiper {
    aspect-ratio: 1920/975;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.pix-bandeau-swiper::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url('i/deco-bandeau-photos.svg') no-repeat bottom center;
    background-size: 100% auto;
    z-index: 10000;
    pointer-events: none;
    user-select: none;
}

.pix-bandeau-swiper::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url('i/forme-bandeau-photos.svg') no-repeat bottom center;
    background-size: 100% auto;
    z-index: 10000;
    pointer-events: none;
    user-select: none;
}


.pix-bandeau-swiper .swiper-slide .swiper-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1920 / 975;
    background-position: center center;
    background-size: cover;
}
.pix-bandeau-swiper .swiper-slide img {
    vertical-align: top;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pix-bandeau-swiper .swiper-slide {
    position: relative;
    opacity: 0;
}
.pix-bandeau-swiper .swiper-slogan {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    text-transform: none;
    color: #fff;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    font-size: clamp(22px, 4vw, 60px);
    text-align: center;
    width: 80%;
    z-index: 3;
}
.pix-bandeau-swiper .swiper-slide-active .swiper-slogan {
}
.pix-bandeau-swiper .swiper-slogan h3 {
    padding: 0;
    margin: 0;
    font-weight: inherit;
    font-size: inherit;
    line-height: 1.1;
    font-family: "Marcellus", serif; 
    text-transform: none;
}
.pix-bandeau-swiper .swiper-slogan span {
    display: block;
    font-size: 0.7em;
}


.pix-bandeau-swiper .swiper-button-prev::after,
.pix-bandeau-swiper .swiper-button-next::after {
    content: none;
}
.pix-bandeau-swiper .swiper-button-prev,
.pix-bandeau-swiper .swiper-button-next {
    width: 30px;
    height: 30px;
    background: #fff url('i/arrow-right.svg') no-repeat center center / 25px 25px;
    border: 1px solid #106E3F;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.pix-bandeau-swiper .swiper-button-prev {
    transform: rotate(180deg);
}
.pix-bandeau-swiper:hover .swiper-button-prev,
.pix-bandeau-swiper:hover .swiper-button-next {
    opacity: 0.7;
}
.pix-bandeau-swiper .swiper-button-prev:hover,
.pix-bandeau-swiper .swiper-button-next:hover {
    opacity: 1;
}


@media (max-width: 1100px) {
    .pix-bandeau-swiper {
        height: min(560px, 55vw);
        aspect-ratio: initial;
    }
}

@media (max-width: 800px) {
    .pix-bandeau-swiper {
        height: 400px;
        aspect-ratio: initial;
    }

    .pix-bandeau-swiper::before  {
        background-size: 800px auto;
    }
}

@media (max-width: 400px) {
    .pix-bandeau-swiper {
        height: 300px;
        aspect-ratio: initial;
    }
}