/* Container principal */
.container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Vidéo de fond */
.container video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Section bannière alignée à gauche */
.banner {
    position: absolute;
    top: 50%;
    left: 5%;
    /* Ajustement pour aligner à gauche */
    transform: translateY(-50%);
    color: #fff;
    text-align: left;
    /* Alignement à gauche */
    z-index: 1;
    padding: 0 20px;
    max-width: 90vw;
}

/* Titres */
.banner h1 {
    font-size: clamp(2em, 6vw, 4em);
    font-weight: 700;
    margin: 0.2em 0;
}

.banner h1 span {
    font-size: clamp(1em, 4vw, 2em);
    font-weight: 700;
}

/* Auto-text */
.auto-text {
    color: #ffffff;
    font-size: clamp(1em, 3vw, 2em);
    font-weight: 500;
    margin-bottom: 0.5em;
    display: inline-block;
    text-align: left;
    /* Alignement à gauche */
}

/* Bouton */
.btn {
    background: var(--lBlue);
    color: #fff;
    padding: 15px 30px;
    font-size: clamp(0.8em, 2vw, 1em);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 700;
    border-radius: 6px;
    margin-top: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.btn:hover {
    background-color: var(--dBlue);
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .banner {
        left: 5%;
        transform: translateY(-50%);
    }

    .banner h1 {
        font-size: 2.5em;
    }

    .banner h2 {
        font-size: 1.2em;
    }

    .btn {
        font-size: 0.9em;
        padding: 10px 20px;
    }
}

@media (max-width: 600px) {
    .banner {
        left: 5%;
        transform: translateY(-50%);
    }

    .banner h1 {
        font-size: 2em;
    }

    .banner h2 {
        font-size: 1em;
    }

    .btn {
        font-size: 0.8em;
        padding: 8px 16px;
    }
}