/* Style général et fond */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    margin: 0;
    padding: 40px 20px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 1000px;
    width: 100%;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 50px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Titres des sections (Maintenant visibles !) */
h2 {
    color: #ffffff;
    font-size: 1.8rem;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
    margin-top: 50px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Navigation et Grille de boutons */
.navigation ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* Aligne auto selon la largeur */
    gap: 15px;
    margin-top: 20px;
}

.navigation li {
    margin: 0;
}

.navigation a {
    display: block;
    background: white;
    color: #4b6cb7; /* Couleur du texte dans le bouton */
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Animation au survol */
.navigation a:hover {
    transform: translateY(-5px);
    background: #fdfdfd;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: #182848;
}

/* Mobile : on réduit un peu la taille du titre */
@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    .navigation ul {
        grid-template-columns: 1fr 1fr; /* 2 colonnes sur mobile */
    }
}