
/* ==============================
   FORMULAIRE DE CONTACT
   ============================== */

#form-contact {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}


/* ==============================
   BLOCS DES CHAMPS
   ============================== */

#form-contact .form-group {
    margin-bottom: 22px;
}


/* ==============================
   LABELS
   ============================== */

#form-contact label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #1d2327;
}

#form-contact label span {
    color: #d63638;
    margin-left: 2px;
}


/* ==============================
   CHAMPS INPUT + TEXTAREA
   ============================== */

#form-contact input[type="text"],
#form-contact input[type="email"],
#form-contact input[type="tel"],
#form-contact textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;

    padding: 12px 14px;

    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;

    color: #2c3338;
    background: #ffffff;

    border: 1px solid #8c8f94;
    border-radius: 4px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* ==============================
   HAUTEUR DU TEXTAREA
   ============================== */

#form-contact textarea {
    min-height: 140px;
    resize: vertical;
}


/* ==============================
   FOCUS
   ============================== */

#form-contact input:focus,
#form-contact textarea:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}


/* ==============================
   BOUTON
   ============================== */

#form-contact button[type="submit"] {
    display: inline-block;

    padding: 11px 24px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;

    color: #ffffff;
    background: #2271b1;

    border: 1px solid #2271b1;
    border-radius: 4px;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.1s ease;
}


/* ==============================
   HOVER
   ============================== */

#form-contact button[type="submit"]:hover {
    background: #135e96;
    border-color: #135e96;
}


/* ==============================
   CLIC
   ============================== */

#form-contact button[type="submit"]:active {
    transform: translateY(1px);
}


/* ==============================
   VERSION MOBILE
   ============================== */

@media (max-width: 600px) {

    #form-contact {
        padding: 20px;
        border-radius: 6px;
    }

    #form-contact .form-group {
        margin-bottom: 18px;
    }

    #form-contact input[type="text"],
    #form-contact input[type="email"],
    #form-contact input[type="tel"],
    #form-contact textarea {
        font-size: 16px;
    }

    #form-contact button[type="submit"] {
        width: 100%;
    }
}

```css
/* ==============================
   MESSAGE DU FORMULAIRE
   ============================== */

#form-message {
    display: none;
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.5;
}


/* Message pendant l'envoi */

#form-message.form-loading {
    display: block;
    background: #f0f6fc;
    border: 1px solid #c5d9ed;
    color: #2271b1;
}
/* ==============================
   MESSAGE DU FORMULAIRE
   ============================== */

#form-message {
    display: none;
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.5;
}


/* Message pendant l'envoi */

#form-message.form-loading {
    display: block;
    background: #f0f6fc;
    border: 1px solid #c5d9ed;
    color: #2271b1;
}


/* Message de succès */

#form-message.form-success {
    display: block;
    background: #edfaef;
    border: 1px solid #46b450;
    color: #1e6b2a;
}


/* Message d'erreur */

#form-message.form-error {
    display: block;
    background: #fcf0f1;
    border: 1px solid #d63638;
    color: #b32d2e;
}


/* Bouton désactivé pendant l'envoi */

#form-contact button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


