/* HERO HP */
.hero-hp {
    position: relative;
    margin-top: -64px;
}

@media screen and (min-width: 960px) {
    .hero-hp {
        margin-top: -94px;
    }
}

.hero-hp .container {
    padding: 118px 16px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 34px;
    align-items: center;
}

@media screen and (min-width: 960px) {
    .hero-hp .container {
        padding: 210px 64px 0 64px;
    }
}

@media screen and (min-width: 1281px) {
    .hero-hp .container {
        padding: 210px 124px 0 124px;
    }
}

.hero-hp .container .container-texte {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 25px;
}

@media screen and (min-width: 960px) {
    .hero-hp .container .container-texte {
        flex-direction: row;
        justify-content: space-between;
        gap: 16px;
        align-items: center;
        padding: 0;
        width: 100%;
    }
}

.hero-hp .container .container-texte h1 {
    max-width: 593px;
    width: 100%;
}

@media screen and (min-width: 960px) {
    .hero-hp .container .container-texte h1 {
        text-align: left;
        font-size: 3rem;
    }
}

@media screen and (min-width: 1281px) {
    .hero-hp .container .container-texte h1 {
        text-align: left;
        line-height: 61.4px;
        font-size: 3.5rem;
    }
}

.hero-hp .container .container-texte p {
    text-align: center;
    max-width: 585px;
    width: 100%;
    color: #FFFFFF;
}

@media screen and (min-width: 960px) {
    .hero-hp .container .container-texte p {
        line-height: 28.8px;
        text-align: left;
    }
}

.hero-hp .container .container-video {
    width: 100%;
    height: 467px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

@media screen and (min-width: 960px) {
    .hero-hp .container .container-video {
        height: 566px;
        z-index: 0;
    }
}

.hero-hp .container .container-video video {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
    grid-column: 1/3;
    grid-row: 1/3;
    border-radius: 20px;
    position: relative;
}

@media screen and (min-width: 960px) {
    .hero-hp .container .container-video video {
        -webkit-mask-image: url(../images/pictos/subtract.svg);
        mask-image: url(../images/pictos/subtract.svg);
    }
}

.hero-hp .container .container-video .redirect-video {
    position: relative;
    background-color: #FFFFFF;
    display: flex;
    justify-content: flex-end;
    max-width: 211px;
    width: 100%;
    grid-column: 2/3;
    grid-row: 2/3;
    padding: 7px 0 0 0;
    align-self: end;
    border-radius: 20px 0 0 0;
    justify-self: end;
}

@media screen and (min-width: 960px) {
    .hero-hp .container .container-video .redirect-video {
        max-width: 239px;
        padding: 34px 0 0 0;
    }
}

.hero-hp .container .container-video .redirect-video::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    background-image: radial-gradient(circle at 0% 0%, transparent 15px, white 16px);
    bottom: 0;
    left: -15px;
}

.hero-hp .container .container-video .redirect-video .btn-secondary {
    z-index: 0;
}

.hero-hp .container .container-video .redirect-video .btn-secondary.blue:hover {
    color: #06417D;
}

.hero-hp .container .container-video .redirect-video .btn-secondary.blue:hover::after {
    content: none;
}

.hero-hp .container .container-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 69px);
    z-index: -1;
}

@media screen and (min-width: 960px) {
    .hero-hp .container .container-image {
        height: calc(100% - 96px);
    }
}

.hero-hp .container .container-image img {
    -o-object-fit: cover;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.hero-hp .container .container-image::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(6, 65, 125, 0.92), rgba(6, 65, 125, 0.92));
    z-index: 0;
    top: 0;
    left: 0;
}

/* END HERO HP */