/* ========================================
   PAGE D'ACCUEIL - MODE SOMBRE COMPLET
======================================== */

/* Stats */
html[data-theme="dark"] .stats-section {
    background: #0f172a !important;
}
html[data-theme="dark"] .stat-card {
    background: #1e293b !important;
    color: #e2e8f0 !important;
}
html[data-theme="dark"] .stat-label {
    color: #94a3b8 !important;
}
html[data-theme="dark"] .stat-description {
    color: #64748b !important;
}

/* Features / Solutions */
html[data-theme="dark"] .features-section {
    background: #0f172a !important;
}
html[data-theme="dark"] .feature-card {
    background: #1e293b !important;
    border-color: #334155 !important;
}
html[data-theme="dark"] .feature-title {
    color: #f1f5f9 !important;
}
html[data-theme="dark"] .feature-description {
    color: #94a3b8 !important;
}
/* section-title SANS parent .section-header (ex: features-section) */
html[data-theme="dark"] .section-title {
    color: #f1f5f9 !important;
}
html[data-theme="dark"] .section-subtitle {
    color: #94a3b8 !important;
}

/* News */
html[data-theme="dark"] .news-section {
    background: #0f172a !important;
}
html[data-theme="dark"] .news-card {
    background: #1e293b !important;
    border-color: #334155 !important;
}
html[data-theme="dark"] .card-badges {
    background: #0f172a !important;
}
html[data-theme="dark"] .card-content h3 a {
    color: #f1f5f9 !important;
}
html[data-theme="dark"] .excerpt {
    color: #94a3b8 !important;
}
html[data-theme="dark"] .card-meta {
    color: #64748b !important;
}
html[data-theme="dark"] .card-meta span {
    color: #64748b !important;
}
html[data-theme="dark"] .read-more {
    color: #60a5fa !important;
}
html[data-theme="dark"] .category-badge {
    background: #475569 !important;
    color: #f1f5f9 !important;
}

/* Section header titles (news) */
html[data-theme="dark"] .section-header .section-title {
    color: #f1f5f9 !important;
}
html[data-theme="dark"] .section-header .section-subtitle {
    color: #94a3b8 !important;
}

/* Mission (Éduquer / Protéger / Accompagner) — reste toujours sur fond gradient coloré */
/* En dark mode on garde le fond coloré mais on s'assure que le texte est blanc */
html[data-theme="dark"] .mission-section {
    /* le gradient reste, on force juste la couleur de texte */
    color: #ffffff !important;
}
html[data-theme="dark"] .mission-title {
    color: #ffffff !important;
}
html[data-theme="dark"] .mission-description {
    color: rgba(255,255,255,0.92) !important;
}
html[data-theme="dark"] .objective-card {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.2) !important;
}
html[data-theme="dark"] .objective-icon {
    color: #ffffff !important;
}
html[data-theme="dark"] .objective-title {
    color: #ffffff !important;
}
html[data-theme="dark"] .objective-text {
    color: rgba(255,255,255,0.88) !important;
}

/* No-news message */
html[data-theme="dark"] .no-news {
    color: #94a3b8 !important;
}
html[data-theme="dark"] .no-news h3 {
    color: #f1f5f9 !important;
}
