/* style.css - UI moderne, responsive, gouvernemental */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fefefe;
    color: #1e2a3a;
    line-height: 1.5;
    scroll-behavior: smooth;
}

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

/* HEADER */
.site-header {
    background: linear-gradient(135deg, #0b2b40 0%, #0a3b4f 100%);
    color: white;
    padding: 1.2rem 0;
    border-bottom: 4px solid #e8a735;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    font-size: 2.2rem;
    color: #e8a735;
}
.logo-title {
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    display: block;
}
.logo-sub {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 400;
}
.header-badge {
    background: rgba(255,255,240,0.15);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* NAVIGATION */
.main-nav {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    flex-wrap: wrap;
}
.nav-menu a {
    text-decoration: none;
    font-weight: 600;
    color: #1e2a3a;
    padding: 1rem 0;
    display: inline-block;
    transition: 0.2s;
    border-bottom: 2px solid transparent;
}
.nav-menu a:hover, .nav-menu a.active {
    color: #e8a735;
    border-bottom-color: #e8a735;
}
.mobile-toggle {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
}

/* HERO */
.hero {
    background: linear-gradient(112deg, #f0f7fc 0%, #ffffff 100%);
    padding: 3.5rem 0 4rem 0;
    border-bottom: 1px solid #e2e8f0;
}
.hero-content {
    text-align: center;
}
.hero-badge {
    background: #e8a73520;
    color: #b4621a;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}
.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a2b33;
    margin-bottom: 1rem;
}
.hero-sub {
    font-size: 1.1rem;
    color: #2c4b5c;
    max-width: 750px;
    margin: 0 auto 1.8rem auto;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.hero-stats div {
    background: white;
    padding: 8px 20px;
    border-radius: 40px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    font-weight: 600;
    color: #0f3b4a;
}
.hero-stats strong {
    color: #e8a735;
    margin-right: 6px;
}

/* sections génériques */
.section {
    padding: 3.5rem 0;
}
.bg-light {
    background-color: #f9fafc;
}
.bg-dark {
    background-color: #0c2a33;
    color: #f1f5f9;
}
.bg-dark .card, .bg-dark .info-box, .bg-dark .macro-card {
    background: #1e3e49;
    color: #fefefe;
}
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.title-line {
    width: 70px;
    height: 3px;
    background: #e8a735;
    margin: 0.5rem auto 0;
}
.light .title-line {
    background: #f5c542;
}
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.card {
    background: white;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 6px 14px rgba(0,0,0,0.02), 0 1px 3px rgba(0,0,0,0.05);
    transition: 0.2s;
    border: 1px solid #eef2f6;
}
.card-icon {
    font-size: 2rem;
    color: #e8a735;
    margin-bottom: 1rem;
}
.method-bloc {
    background: #eef3f5;
    border-left: 5px solid #e8a735;
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 1rem;
}
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.stat-card {
    background: white;
    border-radius: 24px;
    padding: 1.3rem 2rem;
    text-align: center;
    flex: 1 1 180px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    border: 1px solid #e9edf2;
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    color: #0b3b4b;
}
.stat-label {
    font-size: 0.85rem;
    color: #4a5a66;
}
.chart-container {
    max-width: 550px;
    margin: 1rem auto;
}
.macro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
    margin: 1rem 0;
}
.macro-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.03);
}
.macro-stats {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    list-style: none;
}
.info-box {
    background: #eef2f5;
    border-radius: 18px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.check-list {
    list-style: none;
    margin-top: 0.8rem;
}
.check-list li {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.check-list i {
    color: #e8a735;
    width: 22px;
}
.table-responsive {
    overflow-x: auto;
    margin-top: 1.5rem;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}
.data-table th, .data-table td {
    border: 1px solid #dee2e6;
    padding: 10px 12px;
    text-align: center;
}
.data-table th {
    background: #eef3f5;
    font-weight: 600;
}
.note {
    font-size: 0.75rem;
    margin-top: 6px;
}
.real-list {
    list-style: none;
    padding-left: 0;
}
.real-list li {
    margin-bottom: 0.6rem;
    padding-left: 1.4rem;
    position: relative;
}
.real-list li::before {
    content: "•";
    color: #e8a735;
    font-weight: bold;
    position: absolute;
    left: 0;
}
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.rec-card {
    background: #1b4a58;
    border-radius: 20px;
    padding: 1.4rem;
    transition: transform 0.1s;
    color: white;
}
.rec-card i {
    font-size: 1.8rem;
    margin-bottom: 0.7rem;
    color: #f5c542;
}
.rec-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.conclusion-bloc {
    background: #123b45;
    border-radius: 24px;
    padding: 1.8rem;
    margin-top: 2rem;
}
.chart-row {
    max-width: 500px;
    margin: 1.5rem auto;
}
.alert-note {
    background: #fef7e0;
    border-left: 5px solid #e8a735;
    padding: 12px 20px;
    border-radius: 14px;
    margin: 1rem 0;
}
.site-footer {
    background: #0d2c36;
    color: #cad2d6;
    padding: 1.8rem 0;
    font-size: 0.8rem;
    border-top: 1px solid #1f5568;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
@media (max-width: 800px) {
    .two-columns {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .stat-number {
        font-size: 1.5rem;
    }
}