/* Conteneur du formulaire */
form {
    width: 100%;
    max-width: 600px; /* largeur maximale sur grand écran */
    margin: 0 auto;   /* centre horizontalement */
    padding: 0 1rem;  /* marge intérieure gauche/droite */
}

/* Messages succès/erreur */
.success {
    color: #5D7A60;
    background: #A8D5BA;
    padding: 1rem;
    border-radius: 12px;
    margin: 1.5rem auto;
    text-align: center;
    max-width: 600px;
}
.error {
    color: #a33;
    background: #ffe6e6;
    padding: 1rem;
    border-radius: 12px;
    margin: 1.5rem auto;
    text-align: center;
    max-width: 600px;
}

/* Labels */
label {
    display: block;
    margin: 1.2rem 0 0.4rem;
    font-weight: 600;
}

/* Champs du formulaire */
input,textarea,select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.9rem;
    border: 2px solid #9daf9f;
    border-radius: 12px;
    font-size: 1rem;
}

/* Focus */
input:focus, textarea:focus, select:focus {
    border-color: #d98221;
    outline: none;
}

/* Bouton */
button {
    display: block;
    margin: 1.5rem auto 0 auto; /* centre le bouton */
    background: #d98221;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
}
button:hover {
    background: #c3761c;
}

/* Anti-spam */
.honeypot {
    display: none;
}