/* ===============================================
   Bloc Image / Texte
   =============================================== */

.bloc-image-texte {
    position: relative;
    /* padding: 60px 0; */
    overflow: hidden;
    .btn:hover{
        .btn-icon{
            transform: rotate(90deg) scale(1.1)!important;
    }
    }

}

.bloc-image-texte__col-content{
    padding-left: 100px;
    padding-right: 100px;
    @media (max-width: 1280px){
        padding-left: 50px;
        padding-right: 50px;
    }
    @media (max-width: 992px){
        margin-bottom: 50px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Image de fond */
.bloc-image-texte__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bloc-image-texte__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* opacity: 0.5; */
}

.bloc-image-texte .container {
    position: relative;
    z-index: 1;
}

/* Wrapper principal */
.bloc-image-texte__wrapper {
    padding-top: 100px;
    padding-bottom: 100px;
    @media (max-width: 992px){
        padding-top: 25px;
        padding-bottom: 25px;
    }
}

/* Image principale */

.bloc-image-texte__image-wrapper {
    position: relative;
    width: 100%;
}

.bloc-image-texte__image {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.bloc-image-texte__image img {
    width: 100%;
    height: auto;
    display: block;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 84.28%,
        31.04% 84.28%,
        23.05% 100%,
        0 100%
    );
}

/* Slider Splide */
.bloc-image-texte__slider-wrapper {
    position: relative;
    width: 100%;
}

.bloc-image-texte__slider-controls {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-bottom: 20px;
    padding-right: 20px;
}

.bloc-image-texte__arrow {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}

.bloc-image-texte__arrow:hover {
    opacity: 1;
}

.bloc-image-texte__arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.bloc-image-texte__arrow img {
    display: block;
    width: 40px;
    height: 40px;
}

.bloc-image-texte__arrow--prev img {
    transform: scaleX(-1);
}

.bloc-image-texte__slider {
    width: 100%;
}

/* .bloc-image-texte__slider .splide__track {
    overflow: visible;
} */

.bloc-image-texte__slider .splide__list {
    display: flex;
}

.bloc-image-texte__slider .splide__slide {
    flex-shrink: 0;
}

.bloc-image-texte__slide-image {
    width: 100%;
}

.bloc-image-texte__slide-image img {
    width: 100%;
    height: auto;
    display: block;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 84.28%,
        31.04% 84.28%,
        23.05% 100%,
        0 100%
    );
}

.bloc-image-texte--no-notch .bloc-image-texte__image img,
.bloc-image-texte--no-notch .bloc-image-texte__slide-image img {
    clip-path: none;
}

/* Padding pour les colonnes images selon position */
.bloc-image-texte__col-image.order-1 {
    padding-left: 0;
}

.bloc-image-texte__col-image.order-2 {
    padding-right: 0;
}

/* Contenu texte */
.bloc-image-texte__content {
    color: #f3f1f1;
}

.bloc-image-texte__content h2{
    color: var(--334258, #334258);
    font-family: "Funnel Display";
    /* font-size: 40px!important; */
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 11px;
    padding-bottom: 50px;
    @media (max-width: 1280px){
        padding-bottom: 25px;
    }
}

.bloc-image-texte__content p + h2 {
    margin-top: 50px;
    @media (max-width: 1280px){
        margin-top: 30px;
    }
}

.bloc-image-texte__content h3,
.bloc-image-texte__content .h3 {
    font-family: 'Funnel Display', sans-serif;
    font-weight: 300;
    color: #e9b82b;
    letter-spacing: 0.05em;
    line-height: 1.5;
    font-size: 30px!important;
    /* margin-bottom: 30px; */
    @media (max-width: 1280px){
        margin-bottom: 0;
        padding-bottom: 20px!important;
        font-size: 22px !important;
        letter-spacing: 4px;
    }
}


.bloc-image-texte__content h3 {
    font-size: 24px;
}


.bloc-image-texte__content h3 + p,
.bloc-image-texte__content .h3 + p {
    margin-top: 40px;
}

.bloc-image-texte__content p,
.bloc-image-texte__content li {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #f3f1f1;
    letter-spacing: 0.05em;
    line-height: 1.6;
    margin-bottom: 20px;
    margin-left: 15px;
    padding-left: 5px;
}

.bloc-image-texte__content img {
    max-width: 320px;
    width: 100%;
    height: auto;
}

.bloc-image-texte__content > *:last-child {
    margin-bottom: 0;
}

/* Couleurs de fond */
.bloc-image-texte.bg-navy {
    background-color: #102037;
}

.bloc-image-texte.bg-navy .bloc-image-texte__content {
    color: #f3f1f1;
}

.bloc-image-texte.bg-navy .bloc-image-texte__content h2 {
    color: #ffffff;
}

.bloc-image-texte.bg-lightnavy {
    background-color: #334258;
}

.bloc-image-texte.bg-lightnavy .bloc-image-texte__content {
    color: #f3f1f1;
}

.bloc-image-texte.bg-lightnavy .bloc-image-texte__content h2 {
    color: #ffffff;
}

.bloc-image-texte.bg-lightnavy .bloc-image-texte__content h3 {
    color: #e9b82b;
}

.bloc-image-texte.bg-lightnavy .bloc-image-texte__content p,
.bloc-image-texte.bg-lightnavy .bloc-image-texte__content li {
    color: #f3f1f1;
}

.bloc-image-texte.bg-white {
    background-color: #ffffff;
    .btn *{
        color: #102037 !important;
    }

}

.bloc-image-texte.bg-white .bloc-image-texte__content {
    color: #102037;
}


.bloc-image-texte.bg-white .bloc-image-texte__content h3 {
    color: #e9b82b;
}

.bloc-image-texte.bg-white .bloc-image-texte__content p,
.bloc-image-texte.bg-white .bloc-image-texte__content li {
    color: #102037;
}

.bloc-image-texte.bg-grey {
    background-color: #F3F1F1;
}

.bloc-image-texte.bg-grey .bloc-image-texte__content {
    color: #102037;
}

.bloc-image-texte.bg-grey .bloc-image-texte__content h2 {
    color: #334258;
}

.bloc-image-texte.bg-grey .bloc-image-texte__content h3 {
    color: #e9b82b;
}

.bloc-image-texte.bg-grey .bloc-image-texte__content p,
.bloc-image-texte.bg-grey .bloc-image-texte__content li {
    color: #102037;
}

.bloc-image-texte.bg-yellow {
    background-color: #e9b82b;
}

.bloc-image-texte.bg-yellow h2 {
    color: white !important;
}

.bloc-image-texte.bg-yellow .h3,
.bloc-image-texte.bg-yellow .btn-text {
    color: #102037 !important;
}

.bloc-image-texte.bg-yellow .bloc-image-texte__content {
    color: #102037;
}

.bloc-image-texte.bg-yellow .bloc-image-texte__content h2,
.bloc-image-texte.bg-yellow .bloc-image-texte__content h3 {
    color: #102037;
}

.bloc-image-texte.bg-yellow .bloc-image-texte__content p,
.bloc-image-texte.bg-yellow .bloc-image-texte__content li {
    color: #102037;
}

.bloc-image-texte.bg-yellow .btn.btn-secondary.navy {
    border-bottom-color: #102037;
}

.bloc-image-texte.bg-yellow .btn.btn-secondary.navy .btn-text {
    color: #102037 !important;
}



.bloc-image-texte.bg-image .bloc-image-texte__content {
    color: #334258;
}


.bloc-image-texte.bg-image{
    p{
        color: #334258!important;
    }
}

/* Responsive - Mobile */
@media (max-width: 991px) {
    .bloc-image-texte {
        padding: 40px 0;
    }

    .bloc-image-texte__image {
        margin-bottom: 40px;
    }

    .bloc-image-texte__col-image.order-1,
    .bloc-image-texte__col-image.order-2 {
        padding-left: 15px;
        padding-right: 15px;
    }

    .bloc-image-texte__content h2 {
        font-size: 6vw;
    }

    .bloc-image-texte__content h3 {
        font-size: 5vw;
    }
}

@media (max-width: 767px) {
    .bloc-image-texte {
        padding: 30px 0;
    }

    .bloc-image-texte__content h2 {
        font-size: 7vw;
        margin-bottom: 20px;
    }

    .bloc-image-texte__content h3 {
        font-size: 6vw;
        margin-bottom: 15px;
    }

    .bloc-image-texte__content p {
        font-size: 13px;
        letter-spacing: 0.15em;
    }

    .bloc-image-texte__content img {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* Responsive - Desktop large */
@media (min-width: 992px) {
    /* .bloc-image-texte {
        padding: 100px 0;
    } */

    .bloc-image-texte__content h2 {
        font-size: 35px;
    }

    .bloc-image-texte__content h3 {
        font-size: 28px;
    }

    .bloc-image-texte__content p {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    /* .bloc-image-texte {
        padding: 70px 0;
    } */

    .bloc-image-texte__content h2 {
        font-size: 45px;
    }
}
