/* =========================================================
   PAGE VIDEO
========================================================= */

.page-video {
    width: 100%;
}

/*
IMPORTANT :

NE PAS mettre :
overflow: hidden;

Le parent doit rester compatible avec le
position: sticky de .sticky-wrap défini dans style.css.
*/


/* =========================================================
   HERO VIDEO
========================================================= */

.page-video .hero-video {
    position: relative;
    height: 100vh;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #262433;
}


/* =========================================================
   VIDEO PLEIN ECRAN
========================================================= */

.page-video .hero-video video {
    position: absolute;

    top: 0;
    left: 0;

    z-index: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;

    pointer-events: none;
}


/* =========================================================
   OMBRE / LISIBILITE
========================================================= */

.page-video .hero-shade {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background: linear-gradient(
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.25)
    );
}


/* =========================================================
   TITRES AU-DESSUS DES MEDIAS
========================================================= */

.page-video .hero h1,
.page-video .hero h2 {
    position: relative;

    z-index: 2;

    text-align: center;
}


/* =========================================================
   HERO 1
========================================================= */

.page-video .video-1 {
    width: 100%;
    height: 100vh;

    margin: 0;
}


/*
Le #flex-box-intro global fait normalement 75%.

Pour une vidéo plein écran, on veut que son contenu
puisse occuper toute la largeur du viewport.
*/

.page-video #flex-box-intro {
    width: 100%;
    height: 100%;

    margin: 0;
}


/* =========================================================
   HERO 2
========================================================= */

.page-video .video-2 {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.35)
        ),
        url("https://webandmedias.com/wp-content/uploads/2026/09/video-1.png");
}


/* =========================================================
   HERO 3 / ANIMATION LOGO
========================================================= */

.page-video .video-3 {
    margin: 18vh 0;
    background-color: #262433;
}

.page-video .video-3 video {
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   HERO 4
========================================================= */

.page-video .video-4 {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.35)
        ),
        url("https://webandmedias.com/wp-content/uploads/2026/09/video-3.png");
}


/* =========================================================
   HERO 5
========================================================= */

.page-video .video-5 {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.35)
        ),
        url("https://webandmedias.com/wp-content/uploads/2026/09/video-2.png");
}

/*
Quand tu auras l'image :

.page-video .video-5 {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.35)
        ),
        url("URL-IMAGE");
}
*/


/* =========================================================
   TOUS LES HERO IMAGE DE LA PAGE VIDEO
========================================================= */

.page-video .hero-image {
    height: 100vh;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/* =========================================================
   CTA
========================================================= */

.page-video .video-cta {
    position: relative;

    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background-color: #262433;
}


.page-video .hero-cta-content {
    position: relative;

    z-index: 2;

    width: 90%;
    max-width: 1200px;

    text-align: center;
}


.page-video .video-cta-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 30px;

    border: 1px solid #726c7f;
    border-radius: 999px;

    background: rgba(114, 108, 127, 0.12);

    color: #dcdcdc;

    text-decoration: none;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.page-video .video-cta-button:hover {
    background-color: #726c7f;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   TABLETTE / MOBILE
========================================================= */

@media (max-width: 1024px) {

    .page-video .hero-video,
    .page-video .hero-image,
    .page-video .video-cta {
        height: 100vh;
    }

    .page-video .hero-video video {
        object-position: center center;
    }

}