.pixelio-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Pleine hauteur d'écran */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pixelio-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* pour éviter que l'overlay bloque les clics */
}

.pixelio-hero-content {
    position: relative;
    z-index: 2;
    padding: 100px;
}

.pixelio-hero-content h1 {
    font-size: 6rem;
    margin-bottom: 20px;
}

.pixelio-hero-content p {
    font-size: 1.7rem;
    margin-bottom: 75px;
    margin-top: 25px;
}

.pixelio-hero-btn {
    background-color: #0D367A;
    color: rgb(255, 255, 255);
    font-size: 1.7rem;
    padding: 15px 50px 15px 50px;
    border-radius: 24px;
    margin-top: 25px;
}

.fl-page {
    padding-top: 0 !important;
}

.pixelio-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

@media screen and (max-width: 700px) {

    .pixelio-hero-content h1,
    .pixelio-hero-content p, .pixelio-hero-content {
        text-align: center;

    }

    .pixelio-hero-content {
        padding: 0;
    }

    .pixelio-hero-content p {
        margin-bottom: 15%;
    }

    .pixelio-hero-btn {
        margin: 25px auto;
    }
}

@media screen and (max-width: 1500px) {
    .pixelio-hero {
        background-position: right;
    }

    .pixelio-hero-content h1 {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 1200px) {
    .pixelio-hero {
        height: auto !important;
        justify-content: start;
    }

    .pixelio-hero-content {
        width: 50%;
        margin-top: 0;
    }
}

@media screen and (max-width: 992px) {
    .pixelio-hero {
        background-size: inherit;
        background-position: inherit;
    }

    .pixelio-hero-content, .pixelio-hero-content h1, .pixelio-hero-content p {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 792px) {
    .pixelio-hero-inner {
        display: flex;
        align-items: center;
        margin-top: 100px;
        margin-bottom: 100px;
        flex-direction: column-reverse;
    }
    .pixelio-hero-content{
        max-width: 80%;
    }
}
@media screen and (max-width: 400px) {
    .pixelio-hero-btn{
        font-size: 1rem;
    }

}

