.table {
    display: table;
    position:relative;
    margin-bottom: 0;
}
.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 h1,
.title h3,
.title h4,
.title h5,
.title h6 {
    font-family: "DM Serif Display",serif;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 600;
    line-height: 1.05;
    margin-top: 0;
    text-transform: capitalize;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}
.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 {
    /*max-width: 620px;*/
}
.description h1,
.description h2,
.description h3,
.description h4,
.description h5,
.description h6,
.description ul {
    /*font-style: normal;*/
    /*font-weight: 700;*/
    /*font-size: 15px;*/
    /*color: #666;*/
    /*font-family: "DM Sans",sans-serif;*/
    /*line-height: 1.75;*/
}

.description ul {
    color: #7a7a7a;
    list-style: disc;
    padding-left: 13px;
}
.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: 11px;*/
    /*letter-spacing: 0.4em;*/
    /*text-transform: uppercase;*/
    /*color: var(--gold-dark);*/
    /*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-family: 'Montserrat',sans-serif;
    color: var(--navy);
    font-size: clamp(25px, 3vw, 40px);
    font-weight: 800;
    margin: 0;
    padding: 30px 0;
}

.page-cms .title p{
    font-family: "DM Serif Display", serif;
    line-height: 1.3;
    color: black;
}

.bandeau .texte {
    text-align: left;
    margin-left: 30px;
}
.bandeau .title strong,
.bandeau .description strong {
    font-weight: 700;
}
.bandeau.type_1 .texte p,
.bandeau.type_2 . {
    text-align: left;
}

texte p{
    color: black;
}
/*.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: clamp(30px, 5vw, 50px);*/
}

.bandeau.type_2 .table-cell:first-child {
    /*padding: clamp(30px, 5vw, 50px);*/
}
.bandeau.type_21 > .container,
.bandeau.type_22 > .container,
.bandeau.type_23 > .container {
    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%, rgba(255,255,255,0.08), rgba(0,0,0,0.85) ), linear-gradient( 135deg, #0a0617 0%, #160b3a 60%, #0b0620 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-size: clamp(24px, 5vw, 3rem);
    line-height: 1.15;
    /*text-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);*/
    max-width: 100%;
}
/*.bandeau.type_21 .title:after,*/
/*.bandeau.type_22 .title:after,*/
/*.bandeau.type_23 .title:after {*/
/*    content: "";*/
/*    display: block;*/
/*    width: 80px;*/
/*    height: 2px;*/
/*    background: rgba(255,255,255,0.3);*/
/*    margin: 2rem auto 0;*/
/*}*/
/*.bandeau.type_21 .title:after {*/
/*    margin: 2rem 0 0;*/
/*}*/
/*.bandeau.type_22 .title:after {*/
/*    margin: 2rem 0 auto auto;*/
/*}*/
.bandeau.type_21 .description,
.bandeau.type_22 .description,
.bandeau.type_23 .description {
    margin-top: 1rem;
}
.bandeau.type_21 .description p,
.bandeau.type_22 .description p,
.bandeau.type_23 .description p {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}
.bandeau.type_21 .description p {
    margin: 0 auto auto 0;
}
.bandeau.type_22 .description p {
    margin: 0 0 auto auto;
}
/*.bandeau.type_31 .container {*/
/*    padding-left: 15px;*/
/*    padding-right: 15px;*/
/*}*/
.bandeau.type_31 .couleur_bg {
    padding-top: 30px;
    padding-bottom: 30px;
}
.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 .btn {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    color: #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
    padding: 6px 0;
}
.bouton .btn:hover {
    color: white;
    border-bottom-color: white;
}
.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%;
}
.table-cell.background img {
    /*width: 100% !important;*/
}

.bandeau.type_23 .background{
    border-radius:none ;
    background-image:url(greenforest.jpg);
    background-size: cover;
    background-position:center;
}

@media (min-width: 768px) {
    .order-md-2 {
        order: 2;
    }
    .footer__main{
        /*padding-block: 0;*/
    }
}

@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;
    }

}

@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;
}

