/* === HERO PAGE CONTACT === */
.hero-contact {
    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-contact .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-contact {
    background-color: #0B0A0A;
    text-align: center;
    padding: 60px 20px;
    margin-top: 0;
}

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

/* === SECTION NOIRE === */
.section-noire {
    background-color: #0B0A0A;
    color: #ffffff;
    display: flex;
    flex-direction: column; 
    justify-content: center; /* centre verticalement */
    align-items: center; /* centre le formulaire horizontalement */
    min-height: 100vh;
    padding: 0 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: left;
    width: 100%;
}

.section-noire .form-wrapper {
    width: 100%;
    max-width: 1200px; /* largeur maximale du formulaire */
    text-align: left;   /* champs alignés à gauche */
    margin: 0 auto;     /* centre le formulaire horizontalement */
}

.section-noire .wpforms-form {
    background-color: transparent;
}

/* Champs du formulaire : fond blanc, texte noir */
.section-noire .wpforms-form input,
.section-noire .wpforms-form textarea,
.section-noire .wpforms-form select {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    padding: 16px; /* grands champs */
    border-radius: 4px;
    width: 100%;
    min-width: 300px; /* ne jamais trop rétrécir */
    margin-bottom: 20px;
    box-sizing: border-box;
    font-size: 16px;
}

/* Placeholder gris foncé */
.section-noire .wpforms-form ::placeholder {
    color: #555555;
}

/* 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-contact {
        height: 450px;
        align-items: center;
        justify-content: center;
    }

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

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

    .section-noire {
        padding: 0 8%;
        align-items: center; /* centre formulaire sur tablette */
    }

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

/* Mobile */
@media screen and (max-width: 768px) {
    .hero-contact {
        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: 0 5%;
        align-items: center; /* centre formulaire */
    }

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

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

    .section-noire .wpforms-form input[type="submit"] {
        padding: 12px 20px;
        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: 10px;
        font-size: 14px;
    }

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