/* --- Styles Généraux de la page --- */
body {
    background: #000;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0 20px;
}

.form-container {
    max-width: 750px;
    margin: 40px auto;
    background: #111;
    padding: 40px;
    border: 1px solid #f1c40f;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.1);
}

h1 {
    text-align: center;
    color: #f1c40f;
    margin-bottom: 10px;
    margin-top: 0;
}

.subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
}

/* --- Typographies & Structures --- */
.section-title {
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 25px;
    color: #f1c40f;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1em;
    margin-top: 20px;
}

.nav-back {
    display: inline-block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 0.9em;
    transition: 0.2s;
}

.nav-back:hover {
    color: #f1c40f;
}

label {
    color: #f1c40f;
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.9em;
}

/* --- Éléments de formulaires --- */
input, select, textarea {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    margin-bottom: 20px;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    border-color: #f1c40f;
    outline: none;
    background: #1a1a1a;
}

input[type="file"] {
    background: #000;
    border: 1px dashed #f1c40f;
    padding: 20px;
    cursor: pointer;
}

/* --- Grilles de positionnement --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

/* --- Conteneur des cases à cocher (Options) --- */
.options-container {
    background: #1a1a1a;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
    border: 1px solid #333;
}

.checkbox-label {
    font-weight: normal;
    cursor: pointer;
    color: #fff;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-bottom: 0;
}

/* --- Bouton Soumettre --- */
.btn-submit {
    background: #f1c40f;
    color: #000;
    border: none;
    padding: 18px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 5px;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #d4ac0d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

/* --- Messages PHP dynamiques --- */
.msg-error {
    color: #e74c3c;
    margin-bottom: 15px;
    font-weight: bold;
}

.msg-success {
    color: #2ecc71;
    background: #1b3d2b;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px;
    color: #444;
    font-size: 0.8em;
}

/* --- Responsive basique --- */
@media (max-width: 600px) {
    .grid-2, .grid-3, .options-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
.footer-legal {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 0.85em;
    color: #aaaaaa; /* Couleur globale du texte des mentions */
    line-height: 1.6;
    text-align: justify;
}

/* Le lien de la même couleur que le texte  */
.footer-legal a {
    color: inherit; 
    text-decoration: none;
    border-bottom: 1px dashed #aaaaaa; 
    transition: none; 
}

/* pas de réaction au  survol */
.footer-legal a:hover {
    color: inherit !important;
    border-bottom-color: #aaaaaa !important;
    background: none !important;
}