@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: #1f2937; background-color: #f3f4f6; }
a { text-decoration: none; color: inherit; transition: all 0.2s; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: #fff; padding: 20px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 1.5rem; font-weight: 800; color: #2563eb; white-space: nowrap; }
.main-nav ul { display: flex; gap: 24px; list-style: none; margin-top: 40px; }
.main-nav a { font-weight: 600; color: #4b5563; font-size: 0.9rem; }
.main-nav a:hover { color: #2563eb; }

/* Layout */
main { padding: 40px 0; min-height: 80vh; }
.single-column { max-width: 1200px; margin: 0 auto; }

/* Hero */
.hero-section { margin-bottom: 60px; }
.hero-card { background: #fff; border-radius: 16px; padding: 60px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); border-left: 8px solid #2563eb; }
.hero-meta { font-size: 0.85rem; color: #2563eb; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; display: inline-block; background: #eff6ff; padding: 4px 12px; border-radius: 20px; }
.hero-title { font-size: 3rem; line-height: 1.1; font-weight: 800; margin-bottom: 24px; color: #111827; }
.hero-excerpt { font-size: 1.25rem; color: #6b7280; }

/* Grid */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 32px; }
.article-card { background: #fff; border-radius: 12px; padding: 32px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.article-card:hover { transform: translateY(-5px); }
.article-card .meta { font-size: 0.75rem; color: #9ca3af; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.article-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.article-card h2 a:hover { color: #2563eb; }
.read-more { font-weight: 600; color: #2563eb; margin-top: auto; display: inline-block; padding-top: 15px; }

/* Article Page */
.article-page { background: #fff; padding: 60px; border-radius: 16px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.breadcrumb { font-size: 0.9rem; color: #6b7280; margin-bottom: 30px; }
.article-body { font-size: 1.1rem; line-height: 1.8; color: #374151; margin-top: 30px; }

/* --- FOOTER MODERNE BLEU --- */
.site-footer { 
    background: #2563eb; /* Bleu électrique moderne */
    color: #fff; 
    padding: 80px 0 40px; 
    margin-top: 80px; 
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr; /* Proportions ajustées */
    gap: 48px;
    margin-bottom: 40px;
}
.footer-col h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #fff;
}
.footer-col h3 span { color: #bfdbfe; } /* Point bleu clair */
.footer-col p { color: rgba(255,255,255,0.9); line-height: 1.8; font-size: 0.95rem; max-width: 400px; }

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    color: #bfdbfe; /* Bleu très clair pour les titres de colonnes */
    font-weight: 700;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    display: inline-block;
}

/* Liste des catégories en 2 colonnes */
.categories-list ul {
    column-count: 2;
    column-gap: 40px;
}
.footer-col ul li { margin-bottom: 12px; break-inside: avoid; }
.footer-col ul a { 
    color: #fff; 
    font-size: 0.95rem; 
    transition: padding-left 0.2s;
}
.footer-col ul a:hover { 
    color: #bfdbfe; 
    padding-left: 5px; 
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 32px;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .categories-list ul { column-count: 2; } /* Garde 2 colonnes même sur tablette */
}
@media (max-width: 600px) {
    .categories-list ul { column-count: 1; } /* 1 colonne sur mobile */
}

/**/

@media (max-width: 768px) {
    .header-content { flex-direction: column; gap: 20px; }
    .hero-title { font-size: 2rem; }
    .articles-grid { grid-template-columns: 1fr; }
}