/* =========================================
   HERO FULLSCREEN CINEMATIC
========================================= */

.hero {
    position: relative;

    width: 100%;
    height: 90vh;

    overflow: hidden;

    background: #000;
}

/* =========================================
   VIDEO
========================================= */

.hero-video {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
    LE SECRET EST ICI
    */

    min-width: 100%;
    min-height: 100%;

    /*
    léger zoom desktop
    */

    transform: translate(-50%, -50%) scale(1.3);

    z-index: 1;
}
/* =========================================
   OVERLAY
========================================= */

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.12) 0%,
            rgba(0,0,0,0.18) 45%,
            rgba(0,0,0,0.65) 100%
        );
}

/* =========================================
   FADE BAS
========================================= */
.hero::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 40%;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 1) 100%
    );

    z-index: 2;
    pointer-events: none;
}

/* =========================================
   CONTENT
========================================= */

.hero-content {
    position: absolute;
    inset: 0;

    z-index: 5;
}

/* =========================================
   TEXTES
========================================= */

.hero-text {
    position: absolute;

    bottom: 40px;

    max-width: 320px;

    color: white;

    font-family: 'Braven', sans-serif;
    font-size: 14px;
    line-height: 1.4;

    text-transform: uppercase;
}

.hero-text-left {
    left: 60px;
    text-align: left;
}

.hero-text-right {
    right: 60px;
    text-align: right;
}

/* =========================================
   SCROLL
========================================= */

.hero-scroll {
    position: absolute;

    left: 50%;
    bottom: 24px;

    transform: translateX(-50%);

    z-index: 6;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 6px;

    color: white;
}

/* RECTANGLE */

.scroll-box {
    width: 14px;
    height: 24px;

    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    animation: boxFloat 2.5s ease-in-out infinite;
}

/* POINT */

.scroll-dot {
    width: 4px;
    height: 4px;

    border-radius: 50%;
    background: white;

    animation: scrollAnim 1.8s ease-in-out infinite;
}

/* TEXTE */

.scroll-text {
    font-size: 13px;

    font-family: 'Coolvetica', sans-serif;
    letter-spacing: 1.2px;

    animation: scrollText 2.5s ease-in-out infinite;
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes boxFloat {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(6px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes scrollAnim {

    0% {
        transform: translateY(-2px);
        opacity: 0.4;
    }

    50% {
        transform: translateY(3px);
        opacity: 1;
    }

    100% {
        transform: translateY(-2px);
        opacity: 0.4;
    }
}

@keyframes scrollText {

    0% {
        opacity: 0.4;
        transform: translateY(0px);
    }

    50% {
        opacity: 1;
        transform: translateY(2px);
    }

    100% {
        opacity: 0.4;
        transform: translateY(0px);
    }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .hero-text-left {
        left: 30px;
    }

    .hero-text-right {
        right: 30px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    


    .hero {

        height: 100svh;
        height: 100dvh;
    }

    .hero-video {

        position: absolute;

        top: 50%;
        left: 50%;

        width: 100vw;
        height: 100dvh;

        min-width: 100%;
        min-height: 100%;

        object-fit: cover;

        /*
        focus vidéo
        */
        object-position: 60% center;

        /*
        IMPORTANT :
        on garde le translate
        */

        transform: translate(-50%, -50%) scale(1.28);
    }

    /*
    cache textes mobile
    */

    .hero-text {
        display: none;
    }


    /*
    CACHE LES TEXTES MOBILE
    */

    .hero-text {
        display: none;
    }

   
}
@media (max-width: 480px) {

    .hero-video {

        object-position: 62% center;

        transform: translate(-50%, -50%) scale(1.42);
    }
}