/* ===== RESET & BASE (Material Design inspiré) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #F8FAFC;
    color: #1E293B;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #2563EB;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #1E3A8A;
    text-decoration: underline;
}

/* ===== HEADER / MENU (Bleu Royal) ===== */
.main-header {
    background: #1E3A8A;
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo span {
    color: #93C5FD;
}
.logo:hover {
    text-decoration: none;
    color: white;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}
.main-nav ul li a {
    color: #E0E7FF;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}
.main-nav ul li a:hover {
    color: white;
    border-bottom-color: #93C5FD;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    font-size: 0.9rem;
    padding: 15px 0 5px 0;
    color: #64748B;
}
.breadcrumb a {
    color: #1E3A8A;
    font-weight: 500;
}
.breadcrumb span {
    color: #475569;
}

/* ===== ARTICLES (Cards) ===== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* ===== ICÔNES À LA PLACE DES IMAGES ===== */
.icon-header {
    background: #DBEAFE; /* Bleu très clair */
    color: #1E3A8A;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    font-size: 5rem; /* Très grande icône */
    aspect-ratio: 16 / 9;
    transition: background 0.3s;
}
.card:hover .icon-header {
    background: #BFDBFE;
}
.icon-header .material-icons {
    font-size: 5rem; /* Taille énorme pour illustrer */
}

/* Version pour l'article "featured" en grand */
.featured-icon {
    background: #1E3A8A;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    font-size: 6rem;
    border-radius: 16px 16px 0 0;
    width: 100%;
    aspect-ratio: 16/6;
}
.featured-icon .material-icons {
    font-size: 6rem;
}

.card-content {
    padding: 20px 24px 24px 24px;
    flex-grow: 1;
}
.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #0F172A;
    line-height: 1.3;
}
.card-content h3 a {
    color: #0F172A;
    text-decoration: none;
}
.card-content h3 a:hover {
    color: #1E3A8A;
    text-decoration: none;
}
.card-content p {
    color: #475569;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.card-content .btn-read {
    font-weight: 600;
    color: #1E3A8A;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.card-content .btn-read:hover {
    gap: 10px;
    text-decoration: none;
}

/* ===== CONTENU DE L'ARTICLE ===== */
.article-page {
    background: white;
    padding: 30px 40px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin: 30px auto;
}

.article-title {
    font-size: 2.4rem;
    color: #0F172A;
    line-height: 1.2;
    margin: 15px 0 10px 0;
}
.article-meta {
    color: #64748B;
    font-size: 0.9rem;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.article-content h2 {
    font-size: 1.6rem;
    color: #1E3A8A;
    margin: 30px 0 15px 0;
}
.article-content h3 {
    font-size: 1.3rem;
    color: #1E293B;
    margin: 25px 0 10px 0;
}
.article-content p {
    margin-bottom: 18px;
    font-size: 1.05rem;
}
.article-content ul, .article-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}
.article-content li {
    margin-bottom: 8px;
}

/* ===== ZONE LEAD MAGNET (BLEU ROYAL) ===== */
.lead-magnet-box {
    background: #1E3A8A;
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin: 2.5rem 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}
.lead-magnet-box h3 {
    color: white;
    margin-top: 0;
    font-size: 1.5rem;
}
.lead-magnet-box p {
    color: #E0E7FF;
    font-size: 1rem;
}
.cta-button {
    display: inline-block;
    background: white;
    color: #1E3A8A;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    margin-top: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.cta-button:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-decoration: none;
    background: #F8FAFC;
}
.lead-magnet-box small {
    display: block;
    color: #93C5FD;
    margin-top: 10px;
}

/* ===== SECTION "À LIRE AUSSI" ===== */
.also-read {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 3px solid #DBEAFE;
}
.also-read h2 {
    font-size: 1.8rem;
    color: #0F172A;
    margin-bottom: 25px;
}
.also-read-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.also-card {
    background: #F8FAFC;
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid #1E3A8A;
    transition: background 0.2s;
}
.also-card:hover {
    background: #EFF6FF;
}
.also-card a {
    text-decoration: none;
    color: #0F172A;
    display: block;
}
.also-card h3 {
    font-size: 1.05rem;
    margin-bottom: 5px;
    color: #1E3A8A;
}
.also-card p {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
}

/* ===== EXCEL / PDF LANDING PAGES ===== */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}
.resource-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #E2E8F0;
    transition: 0.3s;
}
.resource-card:hover {
    border-color: #1E3A8A;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.1);
}
.resource-card .material-icons {
    font-size: 4rem;
    color: #1E3A8A;
    background: #DBEAFE;
    padding: 20px;
    border-radius: 50%;
    margin-bottom: 15px;
}
.resource-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.resource-card .btn-download {
    background: #1E3A8A;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.resource-card .btn-download:hover {
    background: #2563EB;
    text-decoration: none;
}

/* ===== FOOTER ===== */
.main-footer {
    background: #0F172A;
    color: #94A3B8;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}
.main-footer p {
    margin: 5px 0;
}
.main-footer a {
    color: #93C5FD;
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        width: 100%;
        margin-top: 15px;
    }
    .main-nav.open {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .main-nav ul li {
        width: 100%;
    }
    .main-nav ul li a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .article-page {
        padding: 20px 15px;
    }
    .article-title {
        font-size: 1.8rem;
    }
    .article-grid {
        grid-template-columns: 1fr;
    }
    .also-read-grid {
        grid-template-columns: 1fr;
    }
    .resource-grid {
        grid-template-columns: 1fr;
    }
    .featured-icon {
        aspect-ratio: 16/9;
        font-size: 4rem;
    }
    .featured-icon .material-icons {
        font-size: 4rem;
    }
}