/* css/style.css */
:root {
    --primary-dark: #0A2F6C;
    --primary: #1e4a76;
    --primary-light: #2c7da0;
    --accent: #F4A261;
    --accent-dark: #e76f51;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-800: #343a40;
    --text-dark: #212529;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--white);
    scroll-behavior: smooth;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-dark);
    color: white;
    padding: 8px;
    z-index: 100;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}

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

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    z-index: 1000;
    backdrop-filter: blur(0px);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 24px;
}
.logo {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-dark);
}
.logo i {
    color: var(--accent);
    margin-right: 8px;
}
.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-list a {
    text-decoration: none;
    font-weight: 500;
    color: var(--gray-800);
    transition: var(--transition);
}
.nav-list a:hover {
    color: var(--primary-light);
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #0A2F6C 0%, #1e4a76 100%);
    color: white;
    padding: 5rem 0 6rem;
    position: relative;
}
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.hero-text {
    flex: 1;
}
.hero-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-sub {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 1px solid white;
    color: white;
}
.btn-outline:hover {
    background: white;
    color: var(--primary-dark);
}
.hero-stats {
    display: flex;
    gap: 2rem;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 24px;
    backdrop-filter: blur(4px);
}
.stat-card {
    text-align: center;
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}
.stat-label {
    font-size: 0.9rem;
}
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
}

/* Partners */
.partners {
    background: var(--gray-100);
    padding: 2rem 0;
    text-align: center;
}
.partners-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--gray-800);
    margin-bottom: 1rem;
}
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    font-weight: 600;
    color: var(--primary);
}

/* Sections générales */
.section {
    padding: 5rem 0;
}
.alt-bg {
    background-color: var(--gray-100);
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}
.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Intro grid */
.intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.method-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}
.method-card i {
    font-size: 2rem;
    color: var(--accent);
}

/* Tableau définition */
.table-responsive {
    overflow-x: auto;
}
.definition-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.definition-table th, .definition-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}
.definition-table th {
    background: var(--primary-dark);
    color: white;
}
.definition-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--primary);
}

/* Faits marquants */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}
.fact-card {
    background: white;
    padding: 1.8rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.fact-card:hover {
    transform: translateY(-5px);
}
.fact-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}
.fact-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0.5rem 0;
}

/* Inclusion financière */
.inclusion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.chart-card {
    background: white;
    padding: 1.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
}
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.8rem;
}
.chart-legend span span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 4px;
}
.extra-insight {
    background: var(--primary-light);
    color: white;
    padding: 1rem;
    border-radius: 40px;
    text-align: center;
    margin-top: 1rem;
}

/* Crisis */
.crisis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.crisis-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
}
.crisis-stat {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-dark);
}

/* Recommandations */
.reco-list {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 32px;
    padding: 2rem;
}
.reco-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.reco-item i {
    color: var(--accent);
    font-size: 1.3rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-info p {
    margin-bottom: 1rem;
}
.contact-cite {
    background: var(--primary-dark);
    color: white;
    padding: 2rem;
    border-radius: 32px;
    position: relative;
}
.contact-cite i {
    font-size: 3rem;
    opacity: 0.3;
    position: absolute;
    bottom: 10px;
    right: 20px;
}
.download-pdf-footer {
    margin-top: 2rem;
}

/* Footer */
.site-footer {
    background: var(--gray-800);
    color: white;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.8rem;
}
.footer-links a {
    color: var(--accent);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-list.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .intro-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
}