/* === HERO PAGE MEDIA === */
.hero-media {
    width: 100%;
    max-width: 1440px;
    height: 622px;
    margin: 0 auto;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

.hero-media .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* Bande verte sous le hero */
.separator-vert {
    width: 100%;
    max-width: 1440px;
    height: 18px;
    background-color: #05D9C4;
    margin: 0 auto;
}

/* === SECTION MEDIA === */
.section-media {
    background-color: #0B0A0A !important;
    text-align: center;
    padding: 60px 20px;
    margin-top: 0;
}

/* S'assure que le container n'ajoute pas de fond blanc */
.section-media .container {
    background-color: transparent !important;
}

/* Titre blanc de la section */
.titre-section-blanche {
    font-family: 'Watchtower', sans-serif;
    font-size: 75px;
    margin: 0;
    color: #FFFFFF;
}

/* === SECTION NOIRE === */
.section-noire {
    background-color: #0B0A0A !important;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* aligne vers le haut */
    align-items: center;
    min-height: 100vh;
    padding: 60px 10%;
    box-sizing: border-box;
    width: 100%;
}

.section-noire h2 {
    font-family: 'Watchtower', sans-serif;
    font-size: 50px;
    margin-bottom: 40px;
    color: #ffffff;
    text-align: center; /* centré sur mobile */
    width: 100%;
}

/* Conteneur du formulaire */
.section-noire .form-wrapper {
    width: 100%;
    max-width: 700px;
    text-align: left;
    margin: 0 auto;
}

/* Formulaire WPForms */
.section-noire .wpforms-form {
    background-color: transparent;
    color: #ffffff;
}

/* Champs du formulaire : fond foncé, texte blanc, plus grands */
.section-noire .wpforms-form input,
.section-noire .wpforms-form textarea,
.section-noire .wpforms-form select {
    background-color: #111111;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 18px;
    border-radius: 4px;
    width: 100%;
    min-width: 400px;
    margin-bottom: 20px;
    box-sizing: border-box;
    font-size: 18px;
}

/* Placeholder texte */
.section-noire .wpforms-form ::placeholder {
    color: #cccccc;
}

/* Bouton envoyer */
.section-noire .wpforms-form input[type="submit"] {
    background-color: #05D9C4;
    color: #000;
    font-weight: bold;
    padding: 16px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.section-noire .wpforms-form input[type="submit"]:hover {
    background-color: #0B0A0A;
    color: #ffffff;
}

/* === MEDIA QUERIES === */

/* Tablette */
@media screen and (max-width: 1024px) {
    .hero-media {
        height: 450px;
        align-items: center;
        justify-content: center;
    }

    .titre-section-blanche {
        font-size: 55px;
    }

    .section-noire h2 {
        font-size: 40px;
    }

    .section-noire {
        padding: 40px 8%;
        align-items: center;
    }

    .section-noire .form-wrapper {
        max-width: 700px;
    }

    .section-noire .wpforms-form input,
    .section-noire .wpforms-form textarea,
    .section-noire .wpforms-form select {
        min-width: auto;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .hero-media {
        height: 350px;
        align-items: center;
        justify-content: center;
    }

    .titre-section-blanche {
        font-size: 40px;
    }

    .section-noire h2 {
        font-size: 30px;
        margin-bottom: 30px;
        text-align: center;
    }

    .section-noire {
        padding: 30px 5%;
        align-items: center;
    }

    .section-noire .form-wrapper {
        max-width: 100%;
    }

    .section-noire .wpforms-form input,
    .section-noire .wpforms-form textarea,
    .section-noire .wpforms-form select {
        padding: 14px;
        font-size: 16px;
    }

    .section-noire .wpforms-form input[type="submit"] {
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Très petit mobile */
@media screen and (max-width: 480px) {
    .titre-section-blanche {
        font-size: 30px;
    }

    .section-noire h2 {
        font-size: 25px;
        margin-bottom: 20px;
    }

    .section-noire .wpforms-form input,
    .section-noire .wpforms-form textarea,
    .section-noire .wpforms-form select {
        padding: 12px;
        font-size: 14px;
    }

    .section-noire .wpforms-form input[type="submit"] {
        padding: 12px 18px;
        font-size: 14px;
    }
}
