body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header { text-align: center; margin-bottom: 30px; }
.logo { height: 60px; margin-bottom: 10px; }

h1 { color: #4193a4; margin: 0; }
section { margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
h2 { font-size: 1.2rem; color: #36b9d3; }

input, select, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

.btn-submit {
    background-color: #4193a4;
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold;
}

.btn-submit:hover { background-color: #36b9d3; }
/* Fix pour l'alignement des forfaits */
.plans label {
    display: flex;
    align-items: center; /* Aligne parfaitement le point et le texte sur la même ligne */
    gap: 12px;           /* Espace entre le bouton et le nom du forfait */
    margin: 15px 0;
    cursor: pointer;
    font-weight: 500;
}

.plans input[type="radio"] {
    width: auto;         /* Indispensable pour que le point ne s'étire pas */
    margin: 0;           /* Supprime la marge qui créait le décalage vers le haut */
    cursor: pointer;
}
.optional {
    font-size: 0.8rem;
    color: #999;
    font-weight: normal;
}

.file-group {
    margin-bottom: 20px;
}

.file-group input[type="file"] {
    padding: 8px;
    background: #f0f7f8;
    border: 2px dashed #4193a4;
    cursor: pointer;
}

.hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: -5px;
    font-style: italic;
}
/* Conteneur pour aligner les boutons côte à côte */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

/* Style du bouton Retour */
.btn-back {
    flex: 1;
    display: inline-block;
    text-align: center;
    padding: 15px;
    background-color: #f3f4f6;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.btn-back:hover {
    background-color: #e5e7eb;
}

/* On s'assure que le bouton submit prend aussi sa place */
.btn-submit {
    flex: 2; /* Le bouton envoyer reste plus large et important */
}

/* Media query pour mobile (Nouméa style !) */
@media (max-width: 480px) {
    .button-group {
        flex-direction: column-reverse; /* Retour en bas sur mobile */
    }
}