/* ============================================
   SCG-RÉ - Global Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary-blue: #003366;
    --secondary-blue: #004080;
    --accent-green: #00a651;
    --light-green: #4CAF50;
    --dark-blue: #002244;
    --text-gray: #666;
    --text-gray-alt: #6C757D;
    --light-gray: #f8f9fa;
    --light-gray-alt: #f5f5f5;
    --light-gray-alt2: #f0f0f0;
    --cyan: #00bcd4;
    --gold: #ffc107;
    --gold-light: #FFD700;
    --orange: #FF8C00;
    --slate: #3c4858;
    --gradient-blue: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}

/* Global Reset */
* {
    /*font-family: 'Montserrat', sans-serif;*/
    font-family: "Oswald", Sans-serif;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 50px;
}

.nav-link {
    font-family: "Poppins", Sans-serif;
    color: var(--text-gray-alt) !important;
    font-weight: 500;
    font-size: 16px;
    padding: 1.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-green) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================
   HERO SECTIONS
   ============================================ */

/* Index Hero */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    text-align: center;
    color: white;
}

.hero-slide {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1);
}

.hero-slide-1 {
    background-image: linear-gradient(135deg, rgba(0, 51, 102, 0.82) 0%, rgba(0, 160, 81, 0.58) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920');
}

.hero-slide-2 {
    background-image: linear-gradient(135deg, rgba(0, 51, 102, 0.8) 0%, rgba(0, 132, 255, 0.45) 100%),
        url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920');
}

.hero-slide-3 {
    background-image: linear-gradient(135deg, rgba(0, 51, 102, 0.8) 0%, rgba(0, 180, 120, 0.45) 100%),
        url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1920');
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    margin-bottom: 1rem;
    max-width: 900px;
}

/* Hero animations */
.hero-content > .hero-eyebrow,
.hero-content > h1,
.hero-content > .hero-lead,
.hero-content > .d-flex,
.hero-content > .hero-glass-grid {
    opacity: 0;
    transform: translateY(20px);
}

.carousel-item.active .hero-eyebrow {
    animation: heroReveal 0.55s ease forwards;
}

.carousel-item.active .hero-content h1 {
    animation: heroReveal 0.65s ease 0.1s forwards;
}

.carousel-item.active .hero-lead {
    animation: heroReveal 0.65s ease 0.2s forwards;
}

.carousel-item.active .hero-content > .d-flex {
    animation: heroReveal 0.65s ease 0.3s forwards;
}

.carousel-item.active .hero-glass-grid {
    animation: heroReveal 0.65s ease 0.4s forwards;
}

.carousel-item.active .hero-slide {
    animation: heroZoom 5.5s ease forwards;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-lead {
    max-width: 760px;
    margin: 0 auto 1.6rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.hero-btn {
    padding: 12px 26px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.hero-btn-primary {
    background: #00a051;
    border: 2px solid #00a051;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 160, 81, 0.35);
}

.hero-btn-primary:hover {
    background: #00b85d;
    border-color: #00b85d;
    transform: translateY(-2px);
    color: #fff;
}

.hero-btn-ghost {
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.hero-btn-ghost:hover {
    background: #fff;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.hero-glass-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 12px;
    width: min(760px, 100%);
    margin-top: 10px;
}

.hero-glass-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
}

.hero-glass-value {
    font-size: 1.15rem;
    font-weight: 800;
}

.hero-glass-label {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.9);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    background-size: 55%;
}

.carousel-indicators [data-bs-target] {
    width: 32px;
    height: 4px;
    border-radius: 999px;
    border: 0;
    opacity: 0.7;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #00a051;
}


@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

/* Page Header (A propos, Historique) */
.page-header {
    background: var(--gradient-blue);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/bannier-scaled.webp') center/cover;
    background-position: center;
    opacity: 0.1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--accent-green);
}

/* Gouvernance Hero */
.gouvernance-hero {
    background: var(--gradient-blue);
    padding: 150px 0 100px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.gouvernance-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/bannier-scaled.webp') center/cover;
    opacity: 0.2;
}

.gouvernance-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Actualités Hero */
.actualite-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 80, 160, 0.9) 100%),
        url('/img/bannier-scaled.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.actualite-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Contact Hero */
.contact-hero {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 80, 160, 0.9) 100%),
         url('/img/bannier-scaled.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Branches Hero */
.branches-hero {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 80, 160, 0.9) 100%),
        url('/img/bannier-scaled.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.branches-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Investors Hero */
.investisseurs-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 80, 160, 0.9) 100%),
        url('/img/bannier-scaled.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.investisseurs-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Zones Hero */
.zones-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 80, 160, 0.9) 100%),
        url('/img/bannier-scaled.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.zones-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Médias Hero */
.medias-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 80, 160, 0.9) 100%),
        url('/img/bannier-scaled.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.medias-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Reports Hero */
.reports-hero {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.0) 0%, rgba(0, 80, 160, 0.9) 100%),
        url('/img/bannier-scaled.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.reports-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Post Hero (Article Detail) */
.post-hero {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 80, 160, 0.8) 100%),
        url('/img/bannier-scaled.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.post-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================
   SECTION TITLES & COMMON ELEMENTS
   ============================================ */
.section-label {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--accent-green);
    margin: 0 auto 30px;
}

.section-description {
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ============================================
   INDEX PAGE - ABOUT SECTION
   ============================================ */
.about-section {
    padding: 80px 0;
}

.about-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

.experience-badge {
    display: inline-block;
    padding: 10px 25px;
    border-left: #0096c7 solid 6px;
    color: #0033a0;
    font-weight: 600;
    margin-top: 1.5rem;
}

.btn-green {
    background: var(--accent-green);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-green:hover {
    background: var(--light-green);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   INDEX PAGE - VALUES SECTION
   ============================================ */
.values-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.values-section .sticky-image-wrapper {
    position: sticky;
    top: 100px;
}

.value-card {
    background: white;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.value-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

.highlight-box {
    background: var(--primary-blue);
    color: white;
    padding: 30px;
    height: 100%;
}

.highlight-box h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ============================================
   INDEX PAGE - CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* ============================================
   INDEX PAGE - STATS SECTION
   ============================================ */
.stats-section {
    padding: 80px 0;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    color: var(--text-gray);
    font-weight: 500;
    margin-top: 10px;
}

.stat-box-blue {
    background: var(--primary-blue);
    color: white;
    padding: 30px;
    text-align: center;
}

.stat-box-blue h4 {
    font-weight: 700;
    font-size: 1.2rem;
}

/* ============================================
   INDEX PAGE - NEWS & NEWSLETTER
   ============================================ */
.news-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.news-section-head {
    max-width: 720px;
    margin: 0 auto 10px;
}

.news-home-card .article-image {
    height: 220px;
}

.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.1), rgba(0, 153, 102, 0.12));
    color: var(--primary-blue);
    font-size: 3rem;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.news-date i {
    font-size: 0.95rem;
}

.newsletter-section {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-green) 100%);
    padding: 60px 0;
    color: white;
}

.newsletter-section h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.newsletter-form .form-control {
    border-radius: 0;
    padding: 15px 20px;
    border: none;
}

.newsletter-form .btn {
    border-radius: 0;
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
}

/* ============================================
   A PROPOS PAGE - ABOUT INTRO
   ============================================ */
.about-intro {
    padding: 80px 0;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 0;
    box-shadow: 20px 20px 0 var(--accent-green);
}

.experience-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-blue);
    color: white;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.experience-float .number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.experience-float .text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   A PROPOS PAGE - MISSION SECTION
   ============================================ */
.mission-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.mission-card {
    background: white;
    padding: 50px 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--accent-green);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    background: var(--accent-green);
    color: white;
}

.mission-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.mission-card:hover .mission-icon i {
    color: white;
}

.mission-card h3 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.mission-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================
   A PROPOS PAGE - VALUES DETAIL
   ============================================ */
.values-section-detailed {
    padding: 80px 0;
}

.value-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-left: 4px solid var(--accent-green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
}

.value-icon i {
    font-size: 1.5rem;
}

.value-content h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 10px;
}

.value-content p {
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ============================================
   A PROPOS PAGE - STATS BAR
   ============================================ */
.stats-bar {
    background: var(--gradient-blue);
    padding: 60px 0;
    color: white;
}

.counter-item {
    text-align: center;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.counter-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* ============================================
   HISTORIQUE PAGE - HERO & TIMELINE
   ============================================ */
.hero-history {
    padding: 80px 0;
    background: var(--light-gray);
}

.hero-history-img {
    position: relative;
}

.hero-history-img img {
    border-radius: 0;
    box-shadow: -20px 20px 0 var(--primary-blue);
}

.year-badge {
    position: absolute;
    top: 30px;
    right: -20px;
    background: var(--accent-green);
    color: white;
    padding: 20px 30px;
    font-weight: 800;
    font-size: 1.5rem;
}

/* Interactive Timeline */
.timeline-section {
    padding: 80px 0;
    position: relative;
}

.timeline-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.timeline-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-dot:hover,
.timeline-dot.active {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: white;
    transform: scale(1.1);
}

.timeline-dot::after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--accent-green);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-dot.active::after {
    opacity: 1;
}

.timeline-content-wrapper {
    position: relative;
    min-height: 400px;
}

.timeline-item-detailed {
    display: none;
    animation: fadeIn 0.5s ease;
}

.timeline-item-detailed.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-card {
    background: white;
    border-left: 5px solid var(--accent-green);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.timeline-card h3 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.timeline-card .year {
    display: inline-block;
    background: var(--accent-green);
    color: white;
    padding: 5px 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.timeline-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

.timeline-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

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

.timeline-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
}

.timeline-stat .label {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* History Timeline - A propos */
.history-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.history-section .timeline {
    position: relative;
    padding: 20px 0;
    max-width: 900px;
    margin: 0 auto;
}

.history-section .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-green), var(--primary-blue));
    transform: translateX(-50%);
    border-radius: 2px;
}

.history-section .timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.history-section .timeline-item:nth-child(odd) {
    padding-right: 40px;
    left: 0;
}

.history-section .timeline-item:nth-child(even) {
    padding-left: 40px;
    left: 50%;
}

.history-section .timeline-year {
    position: absolute;
    top: 0;
    background: var(--primary-blue);
    color: white;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 25px;
    z-index: 1;
}

.history-section .timeline-item:nth-child(odd) .timeline-year {
    right: -30px;
}

.history-section .timeline-item:nth-child(even) .timeline-year {
    left: -30px;
}

.history-section .timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-green);
}

.history-section .timeline-content h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.history-section .timeline-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.history-section .timeline-item::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--accent-green);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--accent-green);
    z-index: 1;
}

.history-section .timeline-item:nth-child(odd)::after {
    right: -10px;
}

.history-section .timeline-item:nth-child(even)::after {
    left: -10px;
}

@media (max-width: 768px) {
    .history-section .timeline::before {
        left: 20px;
    }

    .history-section .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 0 !important;
        left: 0 !important;
    }

    .history-section .timeline-item:nth-child(odd) .timeline-year,
    .history-section .timeline-item:nth-child(even) .timeline-year {
        left: 0;
        right: auto;
    }

    .history-section .timeline-item::after {
        left: 10px !important;
        right: auto !important;
    }
}

/* Milestones */
.milestones-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.milestone-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
}

.milestone-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--accent-green);
}

.milestone-year {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 20px;
}

.milestone-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.milestone-card:hover .milestone-icon {
    background: var(--accent-green);
    color: white;
}

.milestone-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.milestone-card:hover .milestone-icon i {
    color: white;
}

.milestone-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 15px;
}

.milestone-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Evolution */
.evolution-section {
    padding: 80px 0;
}

.chart-container {
    background: white;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.growth-bar {
    height: 60px;
    background: var(--light-gray);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.growth-fill {
    height: 100%;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    padding-left: 20px;
    color: white;
    font-weight: 600;
    width: 0;
    transition: width 1.5s ease;
}

.growth-year {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--primary-blue);
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--primary-blue);
    color: white;
}

.testimonials-section .section-title {
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-left: 4px solid var(--accent-green);
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--accent-green);
}

.testimonial-role {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   A PROPOS PAGE - TEAM SECTION
   ============================================ */
.team-section {
    padding: 80px 0;
}

.team-card {
    text-align: center;
    margin-bottom: 30px;
}

.team-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.team-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-blue);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.team-card:hover .team-overlay {
    transform: translateY(0);
}

.team-social a {
    color: white;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--accent-green);
}

.team-info h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 5px;
}

.team-info p {
    color: var(--accent-green);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ============================================
   BRANCHES PAGE - PILLARS
   ============================================ */
.pillars-section {
    position: relative;
    margin-top: -80px;
    z-index: 10;
    padding: 0 0 60px;
}

.pillar-card {
    background: var(--primary-blue);
    color: white;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    border: none;
}

.pillar-card:nth-child(2) {
    background: #002244;
}

.pillar-card:nth-child(3) {
    background: var(--secondary-blue);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.pillar-title {
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   BRANCHES PAGE - BRANCHES
   ============================================ */
.branches-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.branch-card {
    background: white;
    padding: 40px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--accent-green);
}

.branch-card h3 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.branch-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   BRANCHES PAGE - CTA
   ============================================ */
.cta-branches {
    padding: 100px 0;
    background: white;
}

.cta-box {
    background: white;
    padding: 60px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.cta-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 30px;
}

.btn-cta {
    background: var(--accent-green);
    color: white;
    padding: 15px 40px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    text-transform: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ============================================
   ZONES PAGE
   ============================================ */
.zones-section {
    padding: 80px 0;
    background: white;
}

.zones-section .row {
    align-items: stretch;
}

.zones-section .map-column {
    display: flex;
    align-items: stretch;
}

.zones-section .map-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zones-section .map-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.zones-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.zones-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
    text-align: justify;
    margin-bottom: 40px;
}

.zone-card {
    height: 100%;
    margin-bottom: 30px;
    padding: 28px 24px;
    border: 1px solid rgba(0, 51, 160, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.zone-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 150, 199, 0.18);
    box-shadow: 0 24px 50px rgba(0, 51, 160, 0.12);
}

.zone-card-lg {
    padding: 32px 28px;
}

.zone-card h3 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.zone-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: justify;
    margin-bottom: 0;
}

.map-container {
    background: #f0f4f8;
    padding: 40px;
    border-radius: 10px;
    position: relative;
}

.africa-map {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.country-legend {
    margin-top: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 500;
}

.legend-color {
    width: 30px;
    height: 20px;
    margin-right: 10px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legend-gabon {
    background: var(--accent-green);
}

.legend-rwanda {
    background: linear-gradient(135deg, #87CEEB 50%, var(--gold-light) 50%);
}

.legend-cameroun {
    background: #228B22;
}

.legend-congo {
    background: repeating-linear-gradient(45deg, var(--gold-light), var(--gold-light) 5px, #DC143C 5px, #DC143C 10px);
}

.legend-civ {
    background: linear-gradient(135deg, var(--orange) 50%, #228B22 50%);
}

.expansion-section {
    padding: 60px 0;
    background: white;
}

.expansion-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.expansion-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: justify;
}

.expansion-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 40px;
    line-height: 1.3;
}

.contact-form .form-label {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form .form-label span {
    color: var(--accent-green);
}

.contact-form .form-control {
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.contact-form .form-control:focus {
    background: white;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 51, 102, 0.25);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #999;
    margin-top: 5px;
}

.btn-send {
    background: var(--cyan);
    color: white;
    padding: 15px 30px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-send:hover {
    background: #00a0b5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.modify-link {
    color: var(--cyan);
    font-size: 0.85rem;
    text-decoration: underline;
    display: inline-block;
    margin-top: 20px;
}

.info-card {
    background: var(--light-gray-alt);
    padding: 50px;
    height: 100%;
}

.info-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.info-address {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.info-item {
    margin-bottom: 25px;
}

.info-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.info-value {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.info-value a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: var(--accent-green);
}

.social-title {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-blue);
    color: white;
}

.map-section {
    padding: 0 0 80px;
}

.map-container-contact {
    height: 400px;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

/* ============================================
   INVESTISSEURS PAGE
   ============================================ */
.investisseurs-section {
    padding: 60px 0;
    background: white;
}

.content-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.content-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: justify;
    margin-bottom: 30px;
}

.point-fort-card {
    padding: 40px;
    color: white;
    border-radius: 10px;
    margin-bottom: 30px;
    min-height: 200px;
}

.point-fort-card h3 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.point-fort-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.bg-slate {
    background-color: var(--slate);
}

.bg-blue-dark {
    background-color: var(--primary-blue);
}

.bg-green {
    background-color: var(--accent-green);
}

.sidebar {
    position: sticky;
    top: 100px;
}

.chiffres-cles {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.chiffres-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.chiffre-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.chiffre-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.chiffre-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 166, 81, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--accent-green);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.chiffre-content h4 {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.chiffre-value {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

.documents-box {
    background: var(--primary-blue);
    padding: 30px;
    border-radius: 10px;
    color: white;
}

.documents-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.documents-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn-documents {
    background: var(--gold);
    color: var(--primary-blue);
    padding: 15px 25px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-documents:hover {
    background: #e6ac00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ============================================
   ACTUALITES & ARTICLE CARDS
   ============================================ */
.actualites-section {
    padding: 80px 0;
    background: white;
}

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: white;
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.article-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-link {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.article-link:hover {
    color: var(--accent-green);
    gap: 10px;
}

.article-meta {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.article-meta i {
    color: var(--accent-green);
}

/* ============================================
   ARTICLE DETAIL PAGE
   ============================================ */
.article-section {
    padding: 60px 0;
    background: white;
}

.article-title-detail {
    color: #333;
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 30px;
}

.share-section {
    margin-bottom: 30px;
}

.share-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.share-facebook {
    background: #3b5998;
}

.share-twitter {
    background: #1da1f2;
}

.share-linkedin {
    background: #0077b5;
}

.article-content-detail {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

.article-content-detail p {
    margin-bottom: 20px;
}

.article-content-detail h2 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content-detail h3 {
    color: #555;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.article-content-detail strong {
    color: #555;
    font-weight: 700;
}

.article-content-detail em {
    font-style: italic;
}

/* Sidebar */
.sidebar-detail {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.sidebar-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

.recent-post {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.recent-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-date {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-title {
    color: #333;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.post-title:hover {
    color: var(--primary-blue);
}

.post-excerpt {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   MEDIA/GALLERY PAGE
   ============================================ */
.gallery-section {
    padding: 80px 0;
    background: white;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: white;
    font-size: 2.5rem;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--accent-green);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s ease;
}

.lightbox-nav:hover {
    color: var(--accent-green);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ============================================
   RAPPORTS PAGE
   ============================================ */
.reports-section {
    padding: 80px 0;
    background: var(--light-gray-alt2);
}

.report-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.report-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.report-header {
    background: var(--primary-blue);
    padding: 40px;
    text-align: center;
    position: relative;
}

.pdf-icon {
    width: 100px;
    height: 120px;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pdf-icon-top {
    width: 100%;
    height: 30px;
    background: #e3f2fd;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.pdf-icon-top::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: var(--primary-blue);
    border-radius: 0 8px 0 0;
}

.pdf-label {
    background: #90caf9;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 20px;
}

.report-body {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.report-title {
    color: #333;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.report-divider {
    width: 40px;
    height: 3px;
    background: var(--accent-green);
    margin: 0 auto 20px;
}

.btn-download {
    background: #1a1a2e;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-download:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   GOUVERNANCE PAGE - MOT DU DG
   ============================================ */
.mot-dg-section {
    padding: 80px 0;
    background: white;
}

.dg-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.dg-photo {
    flex-shrink: 0;
    width: 400px;
    position: relative;
}

.dg-photo img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 20px 20px 0 var(--primary-blue);
}

.dg-content h2 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.dg-welcome {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.dg-welcome i {
    font-size: 2rem;
    color: var(--accent-green);
}

.dg-welcome-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

.dg-signature {
    margin-top: 40px;
    padding-left: 20px;
    border-left: 4px solid var(--accent-green);
}

.dg-name {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.dg-title {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-style: italic;
}

/* Gouvernance Equipe */
.equipe-section {
    background: var(--primary-blue);
    padding: 80px 0;
    color: white;
}

.equipe-section .section-title {
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.team-swiper {
    padding: 20px 0 60px;
}

.swiper-slide {
    height: auto;
}

.team-card-slider {
    background: white;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.team-card-slider:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-photo-slider {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.team-photo-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card-slider:hover .team-photo-slider img {
    transform: scale(1.1);
}

.team-info-slider {
    padding: 25px;
    text-align: center;
    background: white;
}

.team-name-slider {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.team-role-slider {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
}

.team-card-slider .team-overlay-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.9) 0%, rgba(0, 51, 102, 0.6) 50%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-card-slider:hover .team-overlay-slider {
    opacity: 1;
}

.team-social-slider {
    display: flex;
    gap: 15px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.team-card-slider:hover .team-social-slider {
    transform: translateY(0);
}

.team-social-slider a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-social-slider a:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    transform: scale(1.1);
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--accent-green);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: var(--accent-green);
    opacity: 1;
}

/* Organigramme */
.organigramme-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.organigramme-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

.org-chart-container {
    background: white;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.tree {
    white-space: nowrap;
    min-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tree ul {
    padding-top: 20px;
    position: relative;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
}

.tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 10px 0 10px;
    transition: all 0.5s;
}

.tree li::before,
.tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 2px solid var(--primary-blue);
    width: 50%;
    height: 20px;
}

.tree li::after {
    right: auto;
    left: 50%;
    border-left: 2px solid var(--primary-blue);
}

.tree li:only-child::after,
.tree li:only-child::before {
    display: none;
}

.tree li:only-child {
    padding-top: 0;
}

.tree li:first-child::before,
.tree li:last-child::after {
    border: 0 none;
}

.tree li:last-child::before {
    border-right: 2px solid var(--primary-blue);
    border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

.tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid var(--primary-blue);
    width: 0;
    height: 20px;
}

.node-card {
    display: inline-block;
    padding: 15px 25px;
    text-decoration: none;
    background: var(--primary-blue);
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 180px;
    position: relative;
}

.node-card:hover {
    background: var(--accent-green);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.node-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
    margin: 0 auto 10px;
    overflow: hidden;
}

.node-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.node-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.node-role {
    font-size: 0.75rem;
    opacity: 0.9;
}

.node-level-1 {
    background: var(--primary-blue);
    font-size: 1.1rem;
    padding: 20px 30px;
}

.node-level-2 {
    background: var(--secondary-blue);
}

.node-level-3 {
    background: #005599;
}

/* ============================================
   FOOTER (ALL PAGES)
   ============================================ */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 60px 0 30px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.footer h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-green);
    margin-top: 3px;
    font-size: 1.1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-top: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ERROR 404
   ============================================ */
.error-hero-section {
    position: relative;
    padding: 110px 0;
    background:
        linear-gradient(135deg, rgba(0, 34, 68, 0.95) 0%, rgba(0, 51, 102, 0.9) 52%, rgba(0, 166, 81, 0.82) 100%),
        url('../img/bannier-scaled.webp') center/cover no-repeat;
    overflow: hidden;
}

.error-hero-section::before,
.error-hero-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
}

.error-hero-section::before {
    width: 340px;
    height: 340px;
    top: -120px;
    left: -80px;
    background: rgba(255, 255, 255, 0.08);
}

.error-hero-section::after {
    width: 260px;
    height: 260px;
    right: -70px;
    bottom: -70px;
    background: rgba(255, 215, 0, 0.12);
}

.error-hero-card {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    padding: 56px 48px;
    text-align: center;
    color: #fff;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.error-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.error-code {
    font-size: clamp(5rem, 15vw, 9rem);
    font-weight: 800;
    line-height: 0.95;
    color: #fff;
    text-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.error-title {
    margin: 18px auto 16px;
    max-width: 680px;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 700;
}

.error-description {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.8;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.error-primary-btn {
    min-width: 220px;
}

.error-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 14px 24px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.error-secondary-btn:hover {
    background: #fff;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.error-links {
    margin-top: 42px;
    text-align: left;
}

.error-link-card {
    display: block;
    height: 100%;
    padding: 24px 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.error-link-card:hover {
    transform: translateY(-4px);
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}

.error-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 1.4rem;
}

.error-link-title {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

.error-link-text {
    display: block;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
    font-size: 0.96rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {
    .info-card {
        margin-top: 40px;
    }

    .sidebar {
        position: relative;
        top: 0;
        margin-top: 40px;
    }

    .dg-container {
        flex-direction: column;
        gap: 40px;
    }

    .dg-photo {
        width: 100%;
        max-width: 350px;
    }

    .dg-photo img {
        height: 400px;
    }

    .gouvernance-hero h1 {
        font-size: 2.5rem;
    }

    .org-chart-container {
        padding: 30px 20px;
    }

    .tree {
        min-width: 600px;
    }
}

@media (max-width: 768px) {
    /* Index */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 1.2rem;
    }

    .hero-glass-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .hero-btn {
        width: 100%;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .carousel-indicators [data-bs-target] {
        width: 24px;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    /* A propos */
    .page-header h1 {
        font-size: 2rem;
    }

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

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }

    .timeline-year {
        left: 20px;
        transform: translateX(-50%);
    }

    .experience-float {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }

    .about-image img {
        box-shadow: 10px 10px 0 var(--accent-green);
    }

    /* Historique */
    .timeline-nav {
        gap: 10px;
    }

    .timeline-dot {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }

    .year-badge {
        position: relative;
        top: 0;
        right: 0;
        display: inline-block;
        margin-top: 20px;
    }

    .hero-history-img img {
        box-shadow: -10px 10px 0 var(--primary-blue);
    }

    .btn-outline-light {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }

    /* Branches */
    .branches-hero h1 {
        font-size: 2rem;
    }

    .pillar-card {
        margin-bottom: 20px;
    }

    .branch-card {
        margin-bottom: 20px;
    }

    .cta-box {
        padding: 40px 20px;
    }

    /* Zones */
    .zones-hero h1 {
        font-size: 2rem;
    }

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

    .map-container {
        margin-top: 40px;
    }

    /* Contact */
    .contact-hero h1 {
        font-size: 2.5rem;
    }

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

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

    /* Investors */
    .investisseurs-hero h1 {
        font-size: 2.5rem;
    }

    .point-fort-card {
        padding: 30px 20px;
    }

    .content-title {
        font-size: 1.5rem;
    }

    /* Médias */
    .medias-hero h1 {
        font-size: 2.5rem;
    }

    .gallery-item img {
        height: 220px;
    }

    /* Reports */
    .reports-hero h1 {
        font-size: 2rem;
    }

    /* Article */
    .post-hero h1 {
        font-size: 1.8rem;
    }

    .article-title-detail {
        font-size: 1.8rem;
    }

    .sidebar-detail {
        margin-top: 40px;
    }

    /* Actualités */
    .actualite-hero h1 {
        font-size: 2rem;
    }

    .article-image {
        height: 200px;
    }

    /* Gouvernance */
    .gouvernance-hero h1 {
        font-size: 2rem;
    }

    .dg-content h2 {
        font-size: 1.6rem;
    }

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

    .tree {
        min-width: 500px;
    }

    .node-card {
        min-width: 140px;
        padding: 10px 15px;
    }

    .node-photo {
        width: 50px;
        height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-item.active .hero-slide,
    .carousel-item.active .hero-eyebrow,
    .carousel-item.active .hero-content h1,
    .carousel-item.active .hero-lead,
    .carousel-item.active .hero-content > .d-flex,
    .carousel-item.active .hero-glass-grid {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
