/* ============================================================
   BLOC SLIDER LARGE
   Hero section avec image de fond, titre en deux parties et CTA
   ============================================================ */

.blocSliderLarge {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* ========================================
   IMAGE DE FOND ET OVERLAY
   ======================================== */
.blocSliderLarge__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blocSliderLarge__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.blocSliderLarge__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(32, 46, 59, 0);
    transition: background-color 0.3s ease;
}

.blocSliderLarge__overlay--20 {
    background-color: rgba(32, 46, 59, 0.2);
}

.blocSliderLarge__overlay--40 {
    background-color: rgba(32, 46, 59, 0.4);
}

.blocSliderLarge__overlay--60 {
    background-color: rgba(32, 46, 59, 0.6);
}

.blocSliderLarge__overlay--80 {
    background-color: rgba(32, 46, 59, 0.8);
}

/* ========================================
   CONTENU
   ======================================== */
.blocSliderLarge__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin: 0 auto;
    padding: 60px 20px;
    max-width: 80%;
    @media (min-width: 1700px){
        max-width: 70%;
    }
}

/* Zone de protection pour éviter la superposition avec le header */
/* .blocSliderLarge--transparent-header .blocSliderLarge__content {
    padding-top: 220px;
} */

/* ========================================
   TITRE
   ======================================== */
.blocSliderLarge__title {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    color: #F8F5E2;
    line-height: normal;
}

.blocSliderLarge__title-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: normal;
    display: block;
}

.blocSliderLarge__title-sub {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: normal;
    display: block;
}

/* ========================================
   DESCRIPTION
   ======================================== */
.blocSliderLarge__description {
    color: #F8F5E2;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.blocSliderLarge__description p {
    margin: 0 0 8px 0;
    font-weight: 400;
}

.blocSliderLarge__description p:last-child {
    margin-bottom: 0;
}

.blocSliderLarge__description strong,
.blocSliderLarge__description b {
    font-weight: 700;
}

/* ========================================
   ACTIONS (BOUTONS)
   ======================================== */
.blocSliderLarge__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
}

/* ========================================
   VARIANTES DE HAUTEUR
   ======================================== */
.blocSliderLarge--large {
    min-height: 550px;
}

.blocSliderLarge--medium {
    min-height: 400px;
}

.blocSliderLarge--small {
    min-height: 350px;
}

/* ========================================
   HEADER TRANSPARENT
   Permet au header de se superposer sur le bloc
   ======================================== */
.blocSliderLarge--transparent-header {
    /* margin-top: -180px; */
    padding-top: 180px;
}

/* Classe ajoutée dynamiquement par JS sur #masthead */
#masthead.masthead-transparent {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    .btn.btn-primary.white{
        background: var(--acterim-bleu-dark);
        border: none;
    }
}

#masthead.masthead-transparent .top-menu-bar {
    background-color: transparent;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#masthead.masthead-transparent .site-header {
    background-color: transparent;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#masthead.masthead-transparent .site-header .header-inner {
    background-color: transparent;
}

/* Big menu ouvert : forcer le fond navy même en mode transparent */
#masthead.masthead-transparent.masthead-menu-open .top-menu-bar {
    background-color: var(--acterim-bleu-dark, #141d25);
}

#masthead.masthead-transparent.masthead-menu-open .site-header {
    background-color: var(--acterim-bleu, #202e3b);
}

/* État opaque quand on scrolle (classe ajoutée par JS) */
#masthead.masthead-opaque {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

#masthead.masthead-opaque .top-menu-bar {
    background-color: var(--acterim-bleu-dark, #141d25);
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#masthead.masthead-opaque .site-header {
    background-color: var(--acterim-bleu, #202e3b);
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#masthead.masthead-opaque .site-header .header-inner {
    background-color: transparent;
}

/* ========================================
   RESPONSIVE - TABLETTE
   ======================================== */
@media (max-width: 991px) {
    .blocSliderLarge__content {
        align-items: center;
        text-align: center;
        max-width: 100%;
        padding: 40px 12px;
    }

    .blocSliderLarge--transparent-header .blocSliderLarge__content {
        padding-top: 120px;
    }

    .blocSliderLarge__title {
        align-items: center;
    }

    .blocSliderLarge__title-main {
        font-size: 35px;
    }

    .blocSliderLarge__title-sub {
        font-size: 25px;
    }

    .blocSliderLarge__description {
        font-size: 18px;
        text-align: center;
    }

    .blocSliderLarge__actions {
        flex-direction: column;
        justify-content: center;
    }

    .blocSliderLarge--large {
        min-height: 525px;
    }

    .blocSliderLarge--medium {
        min-height: 500px;
    }

    .blocSliderLarge--small {
        min-height: 420px;
    }

    .blocSliderLarge--transparent-header {
        margin-top: -100px;
        padding-top: 120px;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP
   ======================================== */
@media (max-width: 1400px) and (min-width: 992px) {
    .blocSliderLarge__content {
        padding: 80px 40px;
    }

    .blocSliderLarge--transparent-header .blocSliderLarge__content {
        padding-top: 190px;
    }

    .blocSliderLarge__title-main {
        font-size: 55px;
    }

    .blocSliderLarge__title-sub {
        font-size: 38px;
    }

    .blocSliderLarge__description {
        font-size: 20px;
    }

    .blocSliderLarge--large {
        min-height: 700px;
    }

    .blocSliderLarge--medium {
        min-height: 550px;
    }

    .blocSliderLarge--small {
        min-height: 400px;
    }

    .blocSliderLarge--transparent-header {
        margin-top: -150px;
        padding-top: 150px;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP LARGE
   ======================================== */
@media (min-width: 1401px) {
    .blocSliderLarge__content {
        padding: 100px 40px;
    }

    /* .blocSliderLarge--transparent-header .blocSliderLarge__content {
        padding-top: 220px;
    } */

    .blocSliderLarge__title-main {
        font-size: 65px;
    }

    .blocSliderLarge__title-sub {
        font-size: 45px;
    }

    .blocSliderLarge__description {
        font-size: 22px;
    }

    /* .blocSliderLarge--large {
        height: 80vh;
    } */

    .blocSliderLarge--medium {
        min-height: 600px;
    }

    .blocSliderLarge--small {
        min-height: 450px;
    }
}
