* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
    color: #0B204C;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
hr {
    border-top: 6px solid #000000;
    border-radius: 5px;
    margin: 40px auto;
    width: 80%;
}    
/* --- HEADER --- */
.site-header {
    background:fixed #0B204C;
    color: white;
    padding: 20px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-text,logo-img {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.logo-img {
    width: 175px;
}

.slogan {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* --- NAVIGATION --- */
nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.menu li a {
    display: block;
    padding: 18px 25px;
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.menu li a:hover {
    color: #0B204C;
    background-color: #f1f5f9;
}


/* --- ZONE PRINCIPALE (LIBRARY) --- */
.container {
    flex: 1;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* --- SECTION HERO (ACCUEIL) --- */
.hero {
    background: white;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.hero h2 {
    font-size: 2.2rem;
    color: #0B204C;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto 40px;
}
.section-title {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #0B204C;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #0B204C;
}

.card-icon {
    font-size: 2rem;
    color: #0B204C;
    margin-bottom: 15px;
}

.card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.bouton-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #0B204C;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;                        
}

.bouton-download:hover {
    background-color: #1e3a8a;
}

/* --- FOOTER --- */
footer {
    background-color: #0B204C;
    color: white;
    text-align: center;
    padding: 20px 20px;
    margin-top: 60px;
}

footer p {
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .site-header,.logo-img,.logo-text,.slogan {
        padding: 15px 10px;
    }
    .menu {
        flex-direction: column;
    }
    .menu li a {
        text-align: center;
        padding: 12px;
        border-bottom: none;
        border-left: 4px solid transparent;
    }
    .hero {
        padding: 30px;
    }
    .logo-text {
        font-size: 2rem;
    }
}