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

:root {
    --senegal-green: #00853F;
    --senegal-yellow: #FCD116;
    --senegal-red: #E31B23;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    background: var(--white);
    padding: 1rem 5%;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-flag {
    width: 45px;
    height: 30px;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}

.flag-stripe {
    flex: 1;
}

.flag-green {
    background: var(--senegal-green);
}

.flag-yellow {
    background: var(--senegal-yellow);
}

.flag-red {
    background: var(--senegal-red);
}

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--senegal-green);
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-light);
}

.nav-menu-desktop {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu-desktop a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu-desktop a:hover,
.nav-menu-desktop a.active {
    color: var(--senegal-green);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--slate-100) 0%, var(--slate-200) 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 116, 139, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--slate-800);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--slate-600);
    max-width: 800px;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--slate-700);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.95rem;
    color: var(--slate-500);
    margin-top: 0.5rem;
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--slate-100);
    color: var(--slate-700);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--slate-800);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--slate-600);
    max-width: 700px;
    margin: 0 auto;
}

/* Mission Section */
.mission-section {
    padding: 6rem 0;
    background: var(--white);
}

.mission-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.mission-header {
    margin-bottom: 4rem;
}

.mission-header .section-tag {
    display: inline-block;
    margin-bottom: 1rem;
}

.mission-header .section-title {
    margin-bottom: 1.5rem;
}

.mission-description {
    font-size: 1.1rem;
    color: var(--slate-600);
    line-height: 1.8;
    text-align: justify;
}

.mission-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mission-card {
    background: var(--slate-50);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--slate-200);
    transition: all 0.3s;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--slate-300);
}

.mission-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--slate-800);
    margin-bottom: 1rem;
}

.mission-text {
    color: var(--slate-600);
    line-height: 1.7;
}

/* Values Section */
.values-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--white) 100%);
}

.values-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    border: 1px solid var(--slate-200);
    transition: all 0.3s;
}

.value-item:hover {
    border-color: var(--slate-400);
    box-shadow: var(--shadow-md);
}

.value-icon {
    display: none;
}

.value-content {
    width: 100%;
}

.value-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--slate-800);
    margin-bottom: 0.8rem;
}

.value-content p {
    color: var(--slate-600);
    line-height: 1.7;
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--slate-100) 0%, var(--slate-50) 100%);
}

.timeline-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--slate-300);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    margin: 0 2rem;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--slate-700);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    border: 5px solid var(--slate-100);
    z-index: 1;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--slate-800);
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: var(--slate-600);
    line-height: 1.7;
}

/* Partners Section */
.partners-section {
    padding: 6rem 0;
    background: var(--white);
}

.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.partner-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 160px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--slate-400), var(--slate-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-color: var(--slate-300);
    background: var(--white);
}

.partner-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--slate-800);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.partner-category {
    font-size: 0.75rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem;
    background: var(--slate-200);
    border-radius: 20px;
    display: inline-block;
}

.partner-description {
    font-size: 0.9rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin-top: auto;
}

.partners-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--slate-100) 100%);
    border-radius: 20px;
}

.partner-stat {
    text-align: center;
}

.partner-stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--slate-700);
    line-height: 1;
}

.partner-stat-label {
    font-size: 0.9rem;
    color: var(--slate-600);
    margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--slate-700) 0%, var(--slate-800) 100%);
    color: var(--white);
    text-align: center;
}

.cta-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.cta-button-primary {
    background: var(--white);
    color: var(--slate-800);
}

.cta-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cta-button-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-button-secondary:hover {
    background: var(--white);
    color: var(--slate-800);
}

/* Footer */
footer {
    background: var(--slate-800);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-column p {
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5% 0;
    border-top: 1px solid var(--slate-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--slate-500);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--slate-500);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .mission-cards {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .partner-card {
        min-height: 160px;
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu-desktop {
        display: none;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-year {
        left: 20px;
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }

    .timeline-content {
        margin-left: 100px;
        margin-right: 0;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .partner-card {
        min-height: 150px;
        padding: 1.8rem;
    }

    .partners-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stat-value {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partner-card {
        padding: 1.5rem;
    }

    .partner-stat-value {
        font-size: 2rem;
    }
}


/* Hero aligné à gauche */
.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero-title {
    text-align: left;
}

.hero-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.hero-stats {
    justify-content: flex-start;
}



/* FORCER ALIGNEMENT À GAUCHE */
.hero-content {
    text-align: left !important;
    display: block !important;
    align-items: unset !important;
}

.hero-title,
.hero-subtitle {
    text-align: left !important;
}

.hero-stats {
    justify-content: flex-start !important;
}


/* CENTRER LE BLOC MISSION COMME LE HERO */
.hero-content {
    text-align: center !important;
}

.hero-title,
.hero-subtitle {
    text-align: center !important;
}

.hero-stats {
    justify-content: center !important;
}

.mission-header {
    text-align: center !important;
}

.mission-header .section-tag {
    display: inline-block;
}

.mission-header .section-title {
    text-align: center !important;
}

.mission-description {
    text-align: justify !important;
    max-width: 100%;
}


/* CENTRER LE BLOC MISSION COMME LE HERO */
.hero-content {
    text-align: center !important;
}

.hero-title,
.hero-subtitle {
    text-align: center !important;
}

.hero-stats {
    justify-content: center !important;
}

.mission-header {
    text-align: center !important;
}

.mission-header .section-tag {
    display: inline-block;
}

.mission-header .section-title {
    text-align: center !important;
}

.mission-description {
    text-align: justify !important;
    max-width: 100%;
}


.hero-content {
    text-align: center !important;
}
.hero-title,
.hero-subtitle {
    text-align: center !important;
}
.hero-stats {
    justify-content: center !important;
}
.mission-header {
    text-align: center !important;
}
.mission-header .section-tag {
    display: inline-block;
}
.mission-header .section-title {
    text-align: center !important;
}
.mission-description {
    text-align: justify !important;
    max-width: 100%;
} 