/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #1e2a3e;
    background-color: #f8fafc;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== TYPOGRAPHIE ========== */
h1 {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0b3b5f, #1b6b87);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
h2 {
    font-size: 1.8rem;
    font-weight: 600;
    border-left: 5px solid #1e6f5c;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    color: #0f2e3f;
}
h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f4e6e;
}
/* ========== HEADER & NAVIGATION ========== */
.site-header {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(2px);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e6f5c;
}
.logo i {
    font-size: 1.8rem;
}
.main-nav ul {
    display: flex;
    gap: 1.2rem;
    list-style: none;
}
.main-nav a {
    text-decoration: none;
    font-weight: 500;
    color: #2c3e50;
    transition: color 0.2s;
    font-size: 0.95rem;
}
.main-nav a:hover {
    color: #1e6f5c;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: #1e6f5c;
}
/* ========== HERO ========== */
.hero {
    background: linear-gradient(120deg, #eef2f7 0%, #ffffff 100%);
    padding: 3rem 0 3.5rem;
    border-bottom: 1px solid #e2e8f0;
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}
.hero-sub {
    font-size: 1.2rem;
    color: #2d4a6e;
    margin-bottom: 1rem;
}
.hero-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #4a627a;
    margin: 1rem 0 2rem;
}
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.8rem;
}
.stat-card {
    background: white;
    border-radius: 24px;
    padding: 1rem 1.8rem;
    box-shadow: 0 6px 14px rgba(0,0,0,0.03);
    text-align: center;
    flex: 1;
    min-width: 140px;
}
.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #1b6b87;
}
.stat-label {
    font-size: 0.85rem;
    color: #4b6a8b;
}
/* ========== SECTIONS GÉNÉRALES ========== */
.section {
    padding: 4rem 0;
}
.bg-light {
    background-color: #ffffff;
}
.bg-dark {
    background: linear-gradient(135deg, #0e2a38, #123b47);
    color: #f1f9ff;
}
.bg-dark h2, .bg-dark .card {
    color: #f0f9ff;
}
.bg-dark .card {
    background: rgba(255,255,255,0.1);
    border: none;
}
.card {
    background: white;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1.5rem;
    border: 1px solid #eef2f8;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
    margin: 1.5rem 0;
}
.card-icon {
    background: white;
    border-radius: 28px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 12px rgba(0,0,0,0.03);
    transition: all 0.2s;
}
.card-icon i {
    font-size: 2.2rem;
    color: #1e6f5c;
    margin-bottom: 1rem;
}
.card-icon h3 {
    font-size: 1.2rem;
}
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.8rem; }
/* ========== TABLEAUX ========== */
.table-responsive {
    overflow-x: auto;
}
.modern-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.modern-table th, .modern-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2edf2;
}
.modern-table th {
    background-color: #eef3f7;
    font-weight: 600;
}
/* ========== LISTES & ALERTES ========== */
.budget-list {
    list-style: none;
    margin: 1rem 0;
}
.budget-list li {
    margin: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.highlight, .alert-info {
    background: #e0f2fe;
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    margin: 1rem 0;
    font-size: 0.9rem;
}
.alert-success {
    background: #e0f2e9;
    border-left: 6px solid #2b7a62;
    padding: 1rem;
    border-radius: 20px;
}
.check-list {
    list-style: none;
}
.check-list li {
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.check-list i {
    color: #2ecc71;
}
.small-text {
    font-size: 0.8rem;
    color: #5c6f87;
}
/* ========== PIED DE PAGE ========== */
.site-footer {
    background-color: #0b2b36;
    color: #cbd5e6;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.8rem;
    border-top: 1px solid #204e5e;
}
/* ========== RESPONSIVE ========== */
@media (max-width: 800px) {
    .two-columns {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .header-container {
        flex-wrap: wrap;
    }
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }
    .main-nav.show {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }
    .mobile-toggle {
        display: block;
    }
    h1 {
        font-size: 2rem;
    }
    .hero-stats {
        flex-direction: column;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 550px) {
    .container {
        padding: 0 18px;
    }
    .card {
        padding: 1.2rem;
    }
}