/* --- CONFIGURATION DE BASE --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    max-width: 800px;
    /* Un peu plus large pour le confort sur PC */
    margin: 0 auto;
    padding: 20px;
    background-color: #f4f7f6;
}

.form-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #692144;
    border-bottom: 2px solid #692144;
    padding-bottom: 10px;
    margin-top: 0;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}

/* --- CHAMPS ADAPTATIFS --- */
input[type="text"],
input[type="email"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 12px;
    /* Un peu plus grand pour faciliter le clic au doigt */
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    /* Très important pour que le padding ne dépasse pas */
    font-size: 16px;
    /* Évite le zoom automatique forcé sur iPhone */
}

.radio-group {
    margin: 10px 0;
    padding: 10px 0;
}
button {
    background-color: #692144;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

/* --- RESPONSIVE : ADAPTATION MOBILE --- */
@media screen and (max-width: 600px) {
    body {
        padding: 10px;
        /* On réduit les marges extérieures sur mobile */
    }

    .form-container {
        padding: 10px;
        /* On réduit l'espace interne du formulaire */
    }

    h2 {
        font-size: 1.8em;
        /* Titre un peu plus petit sur mobile */
    }

    button {
        padding: 18px;
        /* Bouton plus gros pour être cliqué facilement au pouce */
        font-size: 18px;
    }

    /* On espace un peu plus les boutons radio pour éviter les erreurs de clic */
    .radio-group label {
        display: inline-block;
        margin-bottom: 10px;
        margin-right: 15px;
    }
}

/* ... Reste de votre CSS (RGPD, etc.) ... */