.table {
    display: table;
    position:relative;
    margin-bottom: 0;
    padding-top: clamp(40px, 5.5vw, 100px);
    padding-bottom: clamp(40px, 5.5vw, 100px);
}
.table-cell {
    width: 50%;
    display: table-cell;
    vertical-align: middle;
}
.bandeau .d-md-flex {
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}
.dir_rtl {
    direction: rtl;
}
.dir_rtl .table-cell:first-child {
    direction: ltr;
}
.title p,
.title h1,
.title h2,
.title h3,
.title h4,
.title h5,
.title h6 {
    font-size: clamp(40px, 4.5vw, 66px);
    font-weight: 500;
    line-height: 1.05;
    margin-top: 0;
    text-transform: capitalize;
}
.title p em,
.title h1 em,
.title h2 em,
.title h3 em,
.title h4 em,
.title h5 em,
.title h6 em {
    font-style: italic;
    color: var(--green);
}
.description p,
.description h1,
.description h2,
.description h3,
.description h4,
.description h5,
.description h6,
.description ul {
    font-style: normal;
    font-weight: 400;
    font-size: clamp(0.875rem, 0.4vw + 0.8rem, 1rem);
    line-height: 1.6;
    color: initial;
}
.description p,
.description ul {
    color: var(--bs-secondary-color);
}
.description ul {
    list-style: disc;
    padding-left: 13px;
}
.type_32 .left__box .description h1,
.type_32 .left__box .description h2,
.type_32 .left__box .description h3,
.type_32 .left__box .description h4,
.type_32 .left__box .description h5,
.type_32 .left__box .description h6 {
    font-family: "Prompt", sans-serif;
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 500;
    line-height: 1.05;
    margin-top: 0;
    text-transform: capitalize;
}
.text-option p,
.text-option h1,
.text-option h2,
.text-option h3,
.text-option h4,
.text-option h5,
.text-option h6 {
    display: block;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 14px;
}
.page-cms .title p,
.page-cms .title h1,
.page-cms .title h2,
.page-cms .title h3,
.page-cms .title h4,
.page-cms .title h5,
.page-cms .title h6 {
    font-size: 2.2rem;
    line-height: 1.3;
}
.bandeau .texte {
    text-align: left;
}
.bandeau .title strong,
.bandeau .description strong {
    font-weight: 700;
}
.bandeau.type_1 .texte p,
.bandeau.type_2 .texte p {
    text-align: left;
}
/*.bandeau.type_1 .table .table-cell:first-child{*/
/*    padding: 50px;*/
/*    padding-left: 0;*/
/*}*/
/*.bandeau.type_2 .table .table-cell:first-child {*/
/*    padding: 50px;*/
/*    padding-right: 0;*/
/*}*/
.bandeau.type_1 .table-cell:first-child {
    padding-right: clamp(15px, 5vw, 50px);
}
.bandeau.type_2 .table-cell:first-child {
    padding-left: clamp(15px, 5vw, 50px);
}
.bandeau.type_21 > .container,
.bandeau.type_22 > .container,
.bandeau.type_23 > .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.bandeau.type_21 .table,
.bandeau.type_22 .table,
.bandeau.type_23 .table {
    padding: 0;
    margin-bottom: 0;
    background: radial-gradient(ellipse at 30% 40%, rgb(255 255 255 / .08), rgb(0 0 0 / .85)),
    linear-gradient(135deg, #1a0e08 0%, #2e1710 60%, #150a06 100%);
}
.bandeau.type_21 .table-cell:first-child,
.bandeau.type_22 .table-cell:first-child,
.bandeau.type_23 .table-cell:first-child {
    position: absolute;
    top: 50%;
    bottom: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    right: 50%;
    height: max-content;
    width: 80%;
    z-index: 2;
}
.bandeau.type_21 .background,
.bandeau.type_22 .background,
.bandeau.type_23 .background {
    opacity: .7;
    width: 100%;
}
.bandeau.type_21 .background img,
.bandeau.type_22 .background img,
.bandeau.type_23 .background img {
    display: none;
}
.bandeau.type_21 .texte p {
    text-align: left;
}
.bandeau.type_22 .texte p {
    text-align: right;
}
.bandeau.type_23 .texte p {
    text-align: center;
}
.bandeau.type_21 .title p,
.bandeau.type_22 .title p,
.bandeau.type_23 .title p {
    font-family: "Prompt",sans-serif;
    font-weight: 500;
    font-size: clamp(24px, 5vw, 3rem);
    color: white;
    line-height: 1.15;
    max-width: 100%;
}
.bandeau.type_21 .description p,
.bandeau.type_22 .description p,
.bandeau.type_23 .description p {
    font-size: 1rem;
    max-width: 620px;
    margin: 22px auto 0;
    color: white;
}
.bandeau.type_21 .description p {
    margin: 0 auto auto 0;
}
.bandeau.type_22 .description p {
    margin: 0 0 auto auto;
}
.bandeau.type_51 .left-bloc {
    padding: 50px;
    padding-left: 0;
}
.bandeau.type_52 .left-bloc {
    padding: 50px;
    padding-right: 0;
}
.bandeau.type_51 .texte,
.bandeau.type_52 .texte {
    height: 100%;
    align-content: center;
}
.bouton {
    margin-top: clamp(4rem, 6vw, 5rem);
    text-align: center;
}
.bouton .btn {
    color: #fff;
    padding: 14px 30px;
    border: 1px solid #212529;
    border-radius: .25em;
    background: #212529;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: uppercase;
    transition: box-shadow .2s ease;
}
.bouton .btn:hover {
    box-shadow: 0 0 0 4px rgba(171, 171, 171, 0.25);
}
.bc-swiper,
.swiper-wrapper .swiper-slide img,
.swiper-backface-hidden .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
}
.bcSwiper {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.bcSwiper .swiper-button-next,
.bcSwiper .swiper-button-prev {
    color: #fff;
}
.bcSwiper .swiper-pagination {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    bottom: 20px;
    text-align: right;
    padding-right: 15px;
}
.bcSwiper .swiper-button-next,
.bcSwiper .swiper-button-prev {
    opacity: 0.6;
}
.bcSwiper:hover .swiper-button-next,
.bcSwiper:hover .swiper-button-prev {
    opacity: 1;
}
.swiper-pagination-current {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
    font-size: 30px;
    font-weight: 600;
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 27px!important;
}
.rich-text table > :not(caption) > * > *,
.table > :not(caption) > * > * {
    background: transparent;
    padding: 0;
}
.bandeau.type_4 .gallery-slide {
    height: 450px;
}
.bandeau.type_5 .table-cell {
    display: block;
    width: 100%;
}
.bc-gallery-slider {
    margin-top: 2.75rem;
}



@media (min-width: 768px) {
    .order-md-2 {
        order: 2;
    }
}

@media (min-width: 992px) {
    .bandeau.type_4 .table-cell  {
        width: 100%;
        display: block;
    }
    .bandeau.type_4 .gallery-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .bandeau.type_4 .gallery-slide {
        position: relative!important;
        opacity: 1!important;
        display: block;
        flex: 0 0 calc((100% - (var(--slide-count, var(--gallery-columns, 4)) - 1) * var(--slide-gap, 10px)) / var(--slide-count, var(--gallery-columns, 4)));
        width: calc((100% - (var(--slide-count, var(--gallery-columns, 4)) - 1) * var(--slide-gap, 10px)) / var(--slide-count, var(--gallery-columns, 4)));
        max-width: calc((100% - (var(--slide-count, var(--gallery-columns, 4)) - 1) * var(--slide-gap, 10px)) / var(--slide-count, var(--gallery-columns, 4)));
    }
    .bandeau.type_4 .gallery-video-el {
        position: unset;
    }
    .bandeau.type_4 .gallery-dots,
    .bandeau.type_4 .gallery-next,
    .bandeau.type_4 .gallery-prev {
        display: none;
    }
}

@media (max-width: 991px) {
    .table-cell {
        width: 100%;
        display: block;
    }
    .bouton {
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .bandeau.type_1 .table-cell:first-child,
    .bandeau.type_2 .table-cell:first-child {
        padding: 0 20px 0;
    }

}

@media (max-width: 767px) {
    .table {
        display: block;
    }

    .bandeau.type_4 .gallery-slide {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
}


/* ============================================================
 * Swiper integration overrides
 * Quand bcmultiblocs.js transforme .bc-gallery-slider en Swiper,
 * on neutralise le CSS du mode "slider custom" pour que Swiper
 * puisse positionner ses slides librement.
 * ============================================================ */
.bc-gallery-slider.swiper {
    /* Swiper a besoin de overflow visible pour les contrôles externes */
    /* (mais on garde overflow:hidden sur .swiper-wrapper qui est dedans) */
}

.bc-gallery-slider.swiper .gallery-container.swiper-wrapper {
    /* Override .gallery-container { background: #f5f5f5 } qui pourrait masquer */
    /* Swiper gère display:flex de son côté */
}

/* CRITIQUE : neutralise le CSS .gallery-slide { position:absolute; opacity:0 }
   qui empile et masque les slides. Swiper a besoin de slides "normales". */
.bc-gallery-slider.swiper .gallery-slide.swiper-slide {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100%;
}

/* Les contrôles ont position:absolute relatif au plus proche parent positionné.
   Comme on les sort de .gallery-container vers .bc-gallery-slider, et que
   .bc-gallery-slider est position:relative, ça reste OK. On force juste
   un z-index élevé pour passer au-dessus de .swiper-wrapper. */
.bc-gallery-slider.swiper > .gallery-prev,
.bc-gallery-slider.swiper > .gallery-next {
    z-index: 20;
    pointer-events: auto;
}

.bc-gallery-slider.swiper > .gallery-dots.swiper-pagination {
    z-index: 20;
    pointer-events: auto;
    /* Les bullets restent stylées par .gallery-dot et .gallery-dot.active du CSS existant */
}

/* Curseur grab activé par Swiper */
.bc-gallery-slider.swiper {
    cursor: grab;
}
.bc-gallery-slider.swiper:active {
    cursor: grabbing;
}

