/* ==================== RESET & VARIABLES ==================== */
:root {
    --vert-institutionnel: #1A4731;
    --or-strategique: #D4AF37;
    --blanc-pur: #FFFFFF;
    --gris-clair: #F5F7FA;
    --gris-texte: #4A4A4A;
    --gris-bordure: #E8ECF0;
    --ombre-legere: 0 20px 35px -10px rgba(0, 0, 0, 0.05);
    --ombre-moyenne: 0 30px 50px -15px rgba(0, 0, 0, 0.1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gris-texte);
    background-color: var(--blanc-pur);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ==================== STYLES POUR LE LOGO ==================== */
.Afris {
    width: 100px;
    height: auto;
    display: block;
    max-width: 100%;
}

/* Logo dans le header */
.header .logo .Afris {
    width: 90px;
    height: auto;
}

/* Logo dans le footer */
.footer-logo-img {
    width: 70px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

/* Version responsive */
@media (max-width: 768px) {
    .header .logo .Afris {
        width: 65px;
    }
    
    .footer-logo-img {
        width: 55px;
    }
}

/* Ajustement du conteneur logo */
.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==================== HEADER & MENU MOBILE ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gris-bordure);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
    text-decoration: none;
}

.logo h1, .logo h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--vert-institutionnel);
}

.logo-dot {
    width: 6px;
    height: 6px;
    background: var(--or-strategique);
    border-radius: 50%;
}

.logo-sub {
    font-size: 12px;
    font-weight: 400;
    color: #999;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--vert-institutionnel);
    z-index: 1001;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--gris-texte);
    font-weight: 500;
    transition: var(--transition-base);
}

.nav-link:hover, .nav-link.active {
    color: var(--or-strategique);
}

.nav-member-mobile {
    display: none;
}

.btn-member {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1.5px solid var(--vert-institutionnel);
    border-radius: 40px;
    text-decoration: none;
    color: var(--vert-institutionnel);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-base);
}

.btn-member:hover {
    background: var(--vert-institutionnel);
    color: white;
}

/* Mobile Menu Styles */
@media (max-width: 968px) {
    .container {
        padding: 0 20px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 100px 24px 40px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        gap: 0;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 0;
        font-size: 18px;
        border-bottom: 1px solid var(--gris-bordure);
    }
    
    .nav-member-mobile {
        display: block;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--gris-bordure);
    }
    
    .btn-member-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px;
        background: var(--vert-institutionnel);
        color: white;
        text-decoration: none;
        border-radius: 40px;
        font-weight: 600;
        width: 100%;
    }
    
    .header-actions {
        display: none;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--vert-institutionnel);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo h2 {
    color: white;
}

.footer-brand .logo-sub {
    color: rgba(255, 255, 255, 0.5);
}

.footer-description {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--or-strategique);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-contact i {
    width: 20px;
    color: var(--or-strategique);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* ==================== ANIMATIONS COMMUNES ==================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== BOUTONS COMMUNS ==================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: var(--or-strategique);
    color: var(--vert-institutionnel);
    text-decoration: none;
    font-weight: 600;
    border-radius: 40px;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    gap: 16px;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 40px;
    border: 1.5px solid white;
    transition: var(--transition-base);
}

.btn-secondary:hover {
    background: white;
    color: var(--vert-institutionnel);
}

.text-center {
    text-align: center;
}

/* ==================== SECTIONS COMMUNES ==================== */
.section-header {
    text-align: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--or-strategique);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--vert-institutionnel);
    margin-bottom: 20px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--or-strategique), transparent);
    margin: 20px auto 24px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--vert-institutionnel) 0%, #0a2a1c 100%);
    color: white;
    text-align: center;
    width: 100%;
    overflow-x: hidden;
}

.page-header .section-badge {
    color: var(--or-strategique);
}

.page-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.page-title .highlight {
    color: var(--or-strategique);
}

.page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}