/* === Mise en page globale === */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f0f4f9;
    color: #333;
    line-height: 1.6;
}

/* === En-tête === */
header {
    background: linear-gradient(135deg, #004080, #0078d7);
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.logo {
    height: 90px;
    margin-bottom: 10px;
    border-radius: 12px;
    max-width: 100%;
}

/* === Menu === */
nav {
    background: #ffffff;
    padding: 12px;
    text-align: center;
    border-bottom: 2px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    margin: 0 12px;
    text-decoration: none;
    color: #004080;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s;
}

nav a:hover {
    color: #ff6600;
}

/* === Contenu principal === */
main {
    flex: 1;
    padding: 30px;
    max-width: 900px;
    margin: auto;
}

h2 {
    color: #004080;
    margin-bottom: 15px;
}

.article-list {
    list-style: none;
    padding: 0;
}

.article-list li {
    margin: 12px 0;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s, background 0.2s;
}

.article-list li:hover {
    transform: scale(1.02);
    background: #f9fbff;
}

.article-list a {
    text-decoration: none;
    color: #004080;
    font-size: 1.1em;
}

/* === Footer === */
footer {
    background: #004080;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: auto;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    display: inline-block;
}

footer a:hover {
    text-decoration: underline;
}

/* === Responsive design pour mobile === */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.4em;
    }

    header p {
        font-size: 0.9em;
        text-align: center;
        padding: 0 10px;
    }

    .logo {
        height: 60px;
    }

    nav {
        padding: 8px;
    }

    nav a {
        display: block;
        margin: 6px 0;
        font-size: 1em;
    }

    main {
        padding: 15px;
    }

    .article-list li {
        font-size: 0.95em;
        padding: 10px;
    }
}
