/* --- CONFIGURATION GLOBALE --- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f9;
    width: 100%;
    overflow-x: hidden; 
}

/* --- BANNIÈRE RESPONSIVE --- */
.banner {
    width: 100%;
    max-height: 300px; 
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.banner img {
    width: 100%; 
    max-width: 2048px; 
    height: auto; 
    display: block;
    object-fit: cover;
}

/* --- MENU DE NAVIGATION --- */
nav {
    background-color: #333;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
}

nav ul li {
    margin: 5px 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffca28;
}

/* --- CONTENEUR DE CONTENU --- */
.container {
    width: 95%;
    max-width: 1000px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

h1, h2 {
    color: #2c3e50;
    text-align: center;
}

/* --- ADAPTATION SMARTPHONE --- */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 8px 0;
    }

    .container {
        width: 100%;
        border-radius: 0;
        margin: 0;
    }
} /* <--- Cette accolade manquait dans votre fichier précédent */