/* ========================================
   BLOC ENTÊTE
   ======================================== */

/* Import du séparateur réutilisable */
@import url('../../css/partials/separator.css');

.blocentete {
    position: relative;
    width: 100%;
    height: 72vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 0 0 40px;
    z-index: 1;
}

/* Liseré jaune décoratif */
.blocentete::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 80;
    background-image: url('../../images/line/yellow/loop.svg');
    background-repeat: no-repeat;
    background-position: left;
    background-size: contain;
    z-index: 5;
    pointer-events: none;
    @media (max-width: 1280px){
        display:none;
    }
}

/* Fond (image ou vidéo) */
.blocentete__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.blocentete__background-image,
.blocentete__background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blocentete__background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.17);
}

/* Container et inner */
.blocentete .container {
    position: relative;
    z-index: 1;
    width: 100%;
    @media (max-width: 375px){
        margin-top: 100px;
        margin-bottom: 70px;
        .blocentete__title{
            font-size: 20px;
            line-height: 22px;
        }
    }
    @media (min-width: 1050px){
        padding-top: 230px;
    }
}

.blocentete__inner {
    width: 100%;
}

/* Contenu */
.blocentete__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

/* Titre */
.blocentete__title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 45px;
    line-height: 40px;
    font-weight: 300;
    color: #FFFFFF;
    margin: 0;
    max-width: 1034px;
}

.blocentete__title p {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
}

.blocentete__title strong,
.blocentete__title b {
    font-family: 'Momo Trust Display', sans-serif;
    font-weight: 400;
}

/* Description */
.blocentete__description {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 20px;
    line-height: normal;
    font-weight: 300;
    color: #FFFFFF;
    margin: 0;
    max-width: 1066px;
}

/* Boutons */
.blocentete__buttons {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1199px) {
    .blocentete {
        min-height: 90vh;
        padding: 0 0 35px;
    }

    /* .blocentete .container {
        padding-top: 250px;
    } */

    .blocentete__title {
        font-size: 45px;
        line-height: 58px;
        max-width: 900px;
    }

    .blocentete__description {
        font-size: 20px;
        max-width: 950px;
    }
}

@media (max-width: 991px) {
    .blocentete {
        min-height: 85vh;
        padding: 0 0 30px;
    }

    /* .blocentete .container {
        padding-top: 200px;
    } */

    .blocentete__content {
        gap: 30px;
    }

    .blocentete__title {
        font-size: 36px;
        line-height: 46px;
        max-width: 800px;
    }

    .blocentete__description {
        font-size: 18px;
        max-width: 850px;
    }

    .blocentete__buttons {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .blocentete {
        min-height: 80vh;
        padding: 0 0 25px;
    }

    /* .blocentete .container {
        padding-top: 150px;
    } */

    .blocentete__content {
        gap: 25px;
    }

    .blocentete__title {
        font-size: 28px;
        line-height: 38px;
        max-width: 100%;
    }

    .blocentete__description {
        font-size: 16px;
        max-width: 100%;
    }

    .blocentete__buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .blocentete__buttons .btn {
        width: auto;
    }
}

@media (max-width: 575px) {
    .blocentete {
        min-height: 65vh;
        padding: 0 0 20px;
    }

    /* .blocentete .container {
        padding-top: 50px;
    } */

    .blocentete__content {
        gap: 20px;
    }

    .blocentete__title {
        font-size: 25px;
        line-height: 30px;
    }

    .blocentete__description {
        font-size: 14px;
    }

    .blocentete__buttons {
        gap: 12px;
    }
}
