/* =================================
   Palette principale : 
   Vert vif       : #217542
   Vert doux      : #4f8466
   Vert foncé     : #114927
   Vert intermédiaire : #295f3f
   ================================= */

/* --- Global --- */
/* Background général */
body {
    font-family: "Arial", sans-serif;
    background: url('/images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #114927;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Logo */
.logo {
    width: 150px;
    height: auto;
    margin-bottom: 2rem;
}

/* Carte / formulaire */
.card {
    background-color: rgba(255, 255, 255, 0.95); /* léger transparent */
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Les autres styles restent identiques ... */


/* --- Titres --- */
h1, h2, h3 {
    color: #217542;
    margin: 0 0 1rem 0;
}

h1 {
    font-size: 2rem;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
}

/* --- Formulaires --- */
input, select, textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    margin-top: 0.25rem;
    border: 1px solid #4f8466;
    border-radius: 6px;
    font-size: 1rem;
    color: #114927;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #217542;
    box-shadow: 0 0 5px rgba(33, 117, 66, 0.4);
}

/* --- Boutons --- */
button {
    background-color: #4f8466;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #295f3f;
	color:#fff;
}

/* --- Cartes / Containers --- */
.card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* --- Labels et textes --- */
label {
    font-weight: 500;
    color: #114927;
}

/* --- Erreurs --- */
.error {
    background-color: #ffe5e5;
    border: 1px solid #ffb3b3;
    color: #a60000;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

/* --- Sections / titres de questions --- */
.question-header {
    font-weight: 600;
    color: #217542;
    margin-bottom: 0.5rem;
}

/* --- Radios / Checkboxes --- */
input[type="radio"] + span {
    margin-left: 0.5rem;
    color: #114927;
}

input[type="radio"]:checked + span {
    font-weight: 600;
    color: #217542;
}

/* --- Progress bar (si utilisée) --- */
.progress-container {
    background-color: #e5f0eb;
    border-radius: 6px;
    overflow: hidden;
    height: 12px;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 12px;
    background-color: #217542;
    width: 0%;
    transition: width 0.3s ease;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
}
