/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* En-tête */
header {
    background-color: #2c3e50;
    color: white;
    padding: 0rem 0;
    text-align: center;
    margin-bottom: 0;
}

header h1 {
    margin: 0;
    font-size: 2.2rem;
    font-family: 'Cinzel', serif;
}

header p {
    font-family: 'IM Fell English SC', serif;
    font-size: 1.2rem;
    margin: 0.5rem 0 0;
}

/* Menu universel */
nav {
    background-color: #2c3e50;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 0.5rem;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    display: block;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a:focus {
    background-color: #34495e;
    color: #f9f9f9;
    border-radius: 2px;
}

nav ul li a.active {
    background-color: #3498db;
    color: white;
    font-weight: bold;
}

/* Contenu principal */
main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section {
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

h1, h2 {
    color: #2c3e50;
    font-family: 'Cinzel', serif;
}

#apports-liste {
    list-style-type: none;
    padding: 0;
}

#apports-liste li {
    background-color: #f5f5f5;
    margin: 0.8rem 0;
    padding: 0.8rem;
    border-left: 4px solid #3498db;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 2px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin-top: 0.5rem;
}

button:hover {
    background-color: #2980b9;
}

.cache {
    display: none;
}

/* Pied de page */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #2c3e50;
    color: white;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.3rem 0;
    }

    header h1 {
        font-size: 1.8rem;
    }
}
/* Conteneur principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Style du formulaire */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.required::after {
    content: " *";
    color: #ef4444;
}

.btn {
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

/* Footer moderne */
footer {
    background: var(--dark-text);
    color: var(--white);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav a {
        margin: 0 0.8rem;
    }
    .form-container {
        padding: 1.5rem;
    }
}