.swiper-temoignages {
    overflow: hidden;
    position: relative;
    text-align: center;
    line-height: 1.1;
}

.swiper-temoignages .swiper-pagination {
    position: static;
    margin-top: 20px;
    justify-content: center;
}

.pix-quote q {
    color: inherit;
    text-align: center;
    display: block;
    font-weight: 400;
    margin-top: 10px;
    font-style: italic;
}

.pix-quote q::before {
    content: none;
}

.pix-quote q::after {
    content: none;
}

.pix-temoignage-auteur {
    color: inherit;
    font-weight: 400;
    font-style: normal;
    margin-top: 10px;
}

.swiper-temoignages .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
}

.swiper-temoignages .swiper-pagination-bullet-active {
    background: #fff;
}



/* ----------------------- */

.pix-section-carousel-temoignages {
    background: #01568A;
    padding: 0 clamp(30px, 8vw, 100px);

    position: relative;
}
.pix-section-carousel-temoignages .brxe-container {
    padding: calc(clamp(30px, 8vw, 100px) * 200/100) 0;
    max-width: min(900px, 50vw);
    margin-left: auto;
    margin-right: 0;
    position: relative;
    z-index: 2;
    color: #fff;
}
.pix-section-carousel-temoignages .brxe-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('i/logo.svg') center center no-repeat;
    background-size: 100%;
    z-index: -1;
    opacity: 0.05;
}

.pix-section-carousel-temoignages .pix-heading__title::before {
    content: '';
    display: block;
    width: 2.5em;
    height: 0.5em;
    background: url('i/stars.svg') no-repeat center / contain;
    margin: 0 auto;
}

.pix-section-carousel-temoignages::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: url('i/temoignages.jpg') center center;
    background-size: cover;
}
.pix-section-carousel-temoignages::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(82deg, #01568A00 32%, #01568A 45%, #16645A);
}


@media (max-width: 1100px) {
    .pix-section-carousel-temoignages .brxe-container  {
        max-width: 500px;
    }
    .pix-section-carousel-temoignages::after {
        background: linear-gradient(82deg, #01568A00 20%, #01568A 37%, #16645A);
    }
}

@media (max-width: 700px) {
    .pix-section-carousel-temoignages {
        padding-bottom: clamp(140px, 20vw, 250px);
    }

    .pix-section-carousel-temoignages::before {
        width: 100%;
        height: clamp(140px, 20vw, 250px);
    }
    .pix-section-carousel-temoignages::after {
        background: linear-gradient(0deg, #01568A00 calc(clamp(140px, 20vw, 250px) * 100/250), #01568A calc(clamp(140px, 20vw, 250px) * 200/250), #16645A);
    }
}


/* ----------------------- Cards */

.pix-temoignages-cards {
    display: grid;
    grid-template-columns: repeat(var(--pix-cols, 3), minmax(0, 1fr));
    gap: var(--pix-space-s);
}

.pix-temoignage-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #F4F1EA;
    border-radius: 10px;
    padding: 30px;
}

.pix-temoignage-card q {
    display: block;
    font-style: italic;
    line-height: 1.4;
    flex-grow: 1;
}

.pix-temoignage-card q::before,
.pix-temoignage-card q::after {
    content: none;
}

.pix-temoignage-card .pix-temoignage-auteur {
    margin-top: 20px;
    font-weight: 700;
    color: #01568A;
}

@media (max-width: 1100px) {
    .pix-temoignages-cards {
        grid-template-columns: repeat(min(var(--pix-cols, 3), 2), minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .pix-temoignages-cards {
        grid-template-columns: 1fr;
    }
}
