section.hero-banniere{
    position: relative;
}

section.hero-banniere .background-hero{
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: row;
    gap: 0;
}

section.hero-banniere figure::after,
section.hero-banniere .video::after{
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

section.hero-banniere figure,
section.hero-banniere .video{
    display: flex;
    width: 100%;
}


section.hero-banniere figure:nth-child(2){
    display: none;
}

section.hero-banniere figure::after,
section.hero-banniere .video::after{
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
}

section.hero-banniere figure > img,
section.hero-banniere .video > video{
    object-fit: cover;
    width: 100%;
    z-index: -1;
}

section.hero-banniere .container.content{
    height: 100%;
    display: flex;
    flex-direction: column;
    grid-gap: 32px;
    margin: unset;
}

section.hero-banniere .container.content .boutons{
    display: flex;
    grid-gap: 20px;
    flex-direction: column;
    justify-content: center;
}

section.hero-banniere .container.content h1{
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 110%;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
}

section.hero-banniere .container.content p{
    color: #fff;
    font-family: "Lora";
    font-weight: 400;
    font-size: 15px;
    line-height: 180%;
    text-align: center;

}

section.hero-banniere .container.content{
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 0;
    z-index: 1;
    padding: 0 40px;
    /*left: 50%;
    transform: translate(-50%);*/
}

section.hero-banniere .container.content .content-texte{
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
}

section.hero-banniere.hero .container.content{
    bottom: 0px;
    top: unset;
    justify-content: unset;
    align-items: unset;
    padding: 20px;
    height: fit-content;
    margin: 20px auto;
    background: #FFF;
    width: calc(100% - 32px);
    max-width: 406px;
    left: 50%;
    transform: translate(-50%);
}

section.hero-banniere.hero .container.content .content-texte{
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
    padding: 40px 20px;
    border: 1px solid var(--canard);
    min-height: 500px;
    justify-content: center;
}

section.hero-banniere.hero .container.content .content-texte h1{
    font-size: 45px;
    color: #1B3F50;
    overflow-wrap: break-word;
    word-break: break-word;
}

section.hero-banniere.hero .container.content .content-texte p{
    font-size: 14px;
    color: #2B5265;
}

section.hero-banniere.hero .container.content .content-texte p.texte-hover{
    display: none;
}

section.hero-banniere.hero .container.content .content-texte .see-more{
    display: flex;
    justify-content: center;
}

section.hero-banniere.hero .container.content .content-texte .see-more-hover{
    display: none;
    justify-content: center;
}

section.hero-banniere.hero .container.content.hover .content-texte .see-more-hover{
    display: flex;
}

section.hero-banniere.hero .container.content.hover .content-texte .see-more,
section.hero-banniere.hero .container.content.hover .content-texte p,
section.hero-banniere.hero .container.content.hover .content-texte h1{
    display: none;
}

section.hero-banniere.hero .container.content.hover .content-texte p.texte-hover{
    display: flex;
}

section.hero-banniere .container.content .boutons > a{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

section.hero-banniere dialog#video{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    z-index: 9999999999;
    padding: 0;
    display: none;
}

section.hero-banniere dialog#video.open{
    display: block;
}

section.hero-banniere dialog#video .video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

section.hero-banniere dialog#video .video-wrapper video {
    position: absolute;
    height: 80%;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
}

section.hero-banniere dialog#video .close-video {
    position: absolute;
    top: 50px;
    right: 50px;
    background: #fff;
    z-index: 999999;
    width: 50px;
    height: 50Px;
    border-radius: 100%;
    cursor: pointer;
    font-family: "Lora";
    font-weight: 400;
    font-size: 15px;
}


.modal {
    position: fixed;
    background-color: #000000a6;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 999999999;
    transition: opacity .7s ease;
    opacity: 0;
    pointer-events: none;
    padding-top:20px;
}

.modal.active{
    opacity: 1;
    transition: opacity .7s ease;
    pointer-events: all;
}

.modal .popup-photos-container {
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    padding: 0 16px;
}

.modal .close-popup {
    display: flex;
    height: 10vh;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;
}

.modal .close-popup svg{
    cursor: pointer;
}

.modal .close-popup svg path{
    stroke: #FFF;
}

.modal > .container{
    height: 100%;
}

.modal .video-wrapper {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}

.modal .video-wrapper video{
    width: 100%;
    height: 100%;
}

.modal .video-wrapper img{
    height: 100%;
    display: flex;
    object-fit: contain;
    width: fit-content;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
}

@media screen and (min-width: 992px){
    section.hero-banniere.hero .container.content{
        cursor: pointer;
    }

    section.hero-banniere.hero .container.content:not(.no-hover):hover .content-texte .see-more-hover{
        display: flex;
    }

    section.hero-banniere.hero .container.content.no-hover{
        cursor: default;
    }

    section.hero-banniere.hero .container.content:not(.no-hover):hover .content-texte .see-more,
    section.hero-banniere.hero .container.content:not(.no-hover):hover .content-texte p,
    section.hero-banniere.hero .container.content:not(.no-hover):hover .content-texte h1{
        display: none;
    }

    section.hero-banniere.hero .container.content:not(.no-hover):hover .content-texte p.texte-hover{
        display: flex;
    }

    section.hero-banniere .double-hero figure:nth-child(2){
        display: flex;
    }

    section.hero-banniere .double-hero figure{
        width: 50%;
    }

    section.hero-banniere .container.content{
        left: 50%;
        transform: translate(-50%);
        max-width: 386px;
    }

    section.hero-banniere.hero .container.content{
        bottom: 70px;
        width: unset;
    }

    section.hero-banniere .container.content h1{
        font-size: 45px;
    }

    section.hero-banniere .container.content p{
        font-size: 14px;
    }

    section.hero-banniere .container.content .boutons{
        width: 100%;
        flex-direction: row;
    }

    section.hero-banniere .container.content .boutons > a{
        width: fit-content;
        min-width: 50%;
    }

    section.hero-banniere.hero-light .container.content{
        max-width: 422px;
        padding: 0;
    }

    section.hero-banniere.hero .container.content .content-texte{
        min-height: 500px;
        justify-content: center;
    }

    .modal .popup-photos-container {
        padding: 0 120px;
    }
}