/* ============================================
   ESTG-BENIN - FEUILLE DE STYLE COMPLÈTE
   Palette : JAUNE dominant 🇧🇯 + ROUGE + VERT
   ============================================ */

:root {
    --benin-yellow: #FCD116;
    --benin-yellow-dark: #E5B800;
    --benin-yellow-light: #FEF3B8;
    --benin-red: #E8112D;
    --benin-red-dark: #B80D23;
    --benin-red-light: #FDE8EC;
    --benin-green: #008751;
    --benin-green-dark: #005F39;
    --benin-green-light: #DDF3E7;
    --benin-dark: #1a1a1a;

    --primary: #FCD116;
    --primary-dark: #E5B800;
    --primary-light: #FEF3B8;
    --secondary: #E8112D;
    --accent: #008751;
    --dark: #1a1a1a;
    --gray: #6B7280;
    --light: #FFFDF5;
    --border: #f0e8b8;
    --shadow: 0 5px 20px rgba(252, 209, 22, 0.15);
    --shadow-lg: 0 15px 40px rgba(252, 209, 22, 0.25);

    --red-flag: #E8112D;
    --green-flag: #008751;
    --yellow-flag: #FCD116;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--light);
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
    background: linear-gradient(90deg, var(--benin-yellow) 0%, var(--benin-yellow-dark) 100%);
    color: var(--benin-dark);
    padding: 10px 0;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(252, 209, 22, 0.3);
    position: relative;
    z-index: 1001;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.topbar-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.topbar-contact a { color: rgba(26,26,26,0.85); transition: all 0.3s; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar-contact a:hover { color: var(--benin-red); transform: translateY(-1px); }
.topbar-contact a i { color: var(--benin-red); }
.topbar-social { display: flex; align-items: center; gap: 8px; }
.topbar-social a {
    display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center;
    background: rgba(26,26,26,0.12); border-radius: 50%; transition: all 0.3s;
    border: 1px solid rgba(26,26,26,0.1); color: var(--benin-dark);
}
.topbar-social a:hover {
    background: var(--benin-red); color: white; transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(232, 17, 45, 0.4); border-color: var(--benin-red);
}

/* ============================================
   HEADER
   ============================================ */
.header-main {
    background: linear-gradient(180deg, #ffffff 0%, #FFFDF5 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 4px 20px rgba(252, 209, 22, 0.12), 0 1px 3px rgba(0,0,0,0.04);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(252, 209, 22, 0.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; min-height: 95px; gap: 20px; }

.header-logo { display: flex; align-items: center; padding: 0; margin: 0; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); flex-shrink: 0; }
.header-logo:hover { transform: scale(1.05) translateY(-2px); }
.header-logo .logo-estg {
    height: 80px; width: auto; object-fit: contain;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 12px rgba(252, 209, 22, 0.3)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
}

/* MENU DESKTOP */
.desktop-menu { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: flex-end; }
.desktop-menu-list { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.desktop-menu-link {
    display: flex; align-items: center; font-weight: 600; font-size: 0.92rem;
    color: #2b2b2b !important; padding: 12px 20px; border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative; letter-spacing: 0.2px;
    background: linear-gradient(180deg, #ffffff 0%, #FFFDF5 100%);
    border: 1px solid rgba(252, 209, 22, 0.15);
    box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 2px 4px rgba(252, 209, 22, 0.06), 0 1px 2px rgba(0,0,0,0.03);
    overflow: hidden; z-index: 1; text-decoration: none; white-space: nowrap;
}
.desktop-menu-link:hover {
    color: var(--benin-red) !important;
    background: linear-gradient(180deg, #ffffff 0%, #FFF8DC 100%);
    border-color: rgba(252, 209, 22, 0.4);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 1px 0 rgba(255,255,255,1) inset, 0 8px 20px rgba(252, 209, 22, 0.25), 0 4px 8px rgba(232, 17, 45, 0.1);
}
.desktop-menu-link.active {
    color: var(--benin-dark) !important;
    background: linear-gradient(135deg, var(--benin-yellow) 0%, var(--benin-yellow-dark) 100%);
    border-color: rgba(229, 184, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 8px 25px rgba(252, 209, 22, 0.45), 0 4px 10px rgba(232, 17, 45, 0.2);
    font-weight: 700;
}
.desktop-menu-link.active::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--red-flag) 0%, var(--red-flag) 33%, var(--yellow-flag) 33%, var(--yellow-flag) 66%, var(--green-flag) 66%, var(--green-flag) 100%);
    border-radius: 0 0 12px 12px;
    animation: flagShine 3s ease-in-out infinite;
}
@keyframes flagShine {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.desktop-menu-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--benin-yellow) 0%, var(--benin-yellow-dark) 50%, var(--benin-yellow) 100%);
    color: var(--benin-dark) !important; padding: 12px 24px; border-radius: 50px;
    font-weight: 700; font-size: 0.9rem; letter-spacing: 0.3px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 6px 20px rgba(252, 209, 22, 0.5);
    text-decoration: none; white-space: nowrap; border: none;
}
.desktop-menu-cta:hover {
    transform: translateY(-4px) scale(1.05); color: white !important;
    background: linear-gradient(135deg, var(--benin-red) 0%, var(--benin-red-dark) 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 12px 30px rgba(232, 17, 45, 0.5);
}

/* MENU TRIGGER MOBILE */
.menu-trigger {
    display: none; align-items: center; gap: 12px;
    background: linear-gradient(135deg, var(--benin-yellow) 0%, var(--benin-yellow-dark) 100%);
    color: var(--benin-dark); border: none; padding: 12px 22px; border-radius: 50px;
    font-weight: 700; font-size: 0.9rem; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 6px 20px rgba(252, 209, 22, 0.45);
    font-family: inherit;
}
.menu-trigger:hover {
    transform: translateY(-3px); color: white;
    background: linear-gradient(135deg, var(--benin-red) 0%, var(--benin-red-dark) 100%);
}
.menu-trigger-icon { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.menu-trigger-icon span { display: block; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: all 0.3s; }

/* ============================================
   MENU OVERLAY MOBILE
   ============================================ */
.menu-overlay { display: none; position: fixed; inset: 0; z-index: 9999; visibility: hidden; opacity: 0; transition: opacity 0.4s ease, visibility 0.4s ease; }
.menu-overlay.active { visibility: visible; opacity: 1; }
.menu-overlay-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(184, 13, 35, 0.98) 50%, rgba(26, 26, 26, 0.98) 100%); }
.menu-overlay-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; color: white; transform: translateY(20px); opacity: 0; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); transition-delay: 0.1s; }
.menu-overlay.active .menu-overlay-content { transform: translateY(0); opacity: 1; }
.menu-overlay-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 25px; border-bottom: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; }
.menu-overlay-logo img { height: 60px; width: auto; filter: brightness(0) invert(1); }
.menu-close {
    width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15); color: white; font-size: 1.1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all 0.3s; font-family: inherit;
}
.menu-close:hover { background: var(--benin-yellow); color: var(--benin-dark); transform: rotate(90deg) scale(1.1); }
.menu-overlay-body { flex: 1; display: flex; flex-direction: column; gap: 30px; padding: 30px 25px; overflow-y: auto; }
.menu-nav-list { list-style: none; padding: 0; margin: 0; }
.menu-nav-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.menu-nav-link { display: flex; align-items: center; gap: 18px; padding: 20px 10px; color: rgba(255,255,255,0.85); text-decoration: none; transition: all 0.4s; position: relative; }
.menu-nav-link::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, var(--red-flag), var(--yellow-flag), var(--green-flag));
    transform: scaleY(0); transition: transform 0.4s; border-radius: 0 4px 4px 0;
}
.menu-nav-link:hover::before, .menu-nav-link.active::before { transform: scaleY(1); }
.menu-nav-link:hover, .menu-nav-link.active { color: white; padding-left: 22px; }
.menu-nav-number { font-size: 0.8rem; color: rgba(255,255,255,0.4); font-weight: 700; font-family: 'Courier New', monospace; transition: all 0.3s; }
.menu-nav-link:hover .menu-nav-number, .menu-nav-link.active .menu-nav-number { color: var(--benin-yellow); }
.menu-nav-text { font-size: 1.5rem; font-weight: 700; flex: 1; letter-spacing: -0.5px; transition: all 0.3s; }
.menu-nav-link:hover .menu-nav-text, .menu-nav-link.active .menu-nav-text { color: var(--benin-yellow); }
.menu-nav-arrow { opacity: 0; transform: translateX(-20px); transition: all 0.3s; font-size: 1.1rem; color: var(--benin-yellow); }
.menu-nav-link:hover .menu-nav-arrow, .menu-nav-link.active .menu-nav-arrow { opacity: 1; transform: translateX(0); }
.menu-sidebar { display: flex; flex-direction: column; gap: 30px; }
.menu-sidebar-block { border-left: 2px solid rgba(255,255,255,0.1); padding-left: 20px; }
.menu-sidebar-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--benin-yellow); margin-bottom: 15px; font-weight: 700; }
.menu-contact-list { list-style: none; padding: 0; margin: 0; }
.menu-contact-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.menu-contact-list li i { color: var(--benin-yellow); margin-top: 4px; width: 18px; flex-shrink: 0; }
.menu-contact-list a { color: rgba(255,255,255,0.75); text-decoration: none; }
.menu-social { display: flex; gap: 10px; flex-wrap: wrap; }
.menu-social a {
    width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); color: white; display: flex; align-items: center;
    justify-content: center; font-size: 0.95rem; transition: all 0.3s;
}
.menu-social a:hover { background: var(--benin-yellow); color: var(--benin-dark); transform: translateY(-4px); }
.menu-cta-btn {
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(135deg, var(--benin-yellow) 0%, var(--benin-yellow-dark) 100%);
    color: var(--benin-dark); padding: 20px 25px; border-radius: 16px;
    font-size: 1rem; font-weight: 700; text-decoration: none; transition: all 0.4s;
    box-shadow: 0 8px 25px rgba(252, 209, 22, 0.4);
}
.menu-cta-btn:hover {
    transform: translateY(-4px); color: white;
    background: linear-gradient(135deg, var(--benin-red) 0%, var(--benin-red-dark) 100%);
}
.menu-overlay-footer { display: flex; flex-direction: column; gap: 5px; text-align: center; padding: 15px 25px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.75rem; color: rgba(255,255,255,0.4); flex-shrink: 0; }

/* ============================================================
   🎬 SLIDER — HAUTEUR D'ORIGINE 620px
   ============================================================ */
.estg-slider,
.banner-slider {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    background: #1a1a1a;
    display: block;
}

.estg-slides,
.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.estg-slide,
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
    z-index: 1;
}

.estg-slide.active,
.banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.estg-slide-bg,
.banner-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 7s ease-out;
    z-index: 0;
}

.estg-slide.active .estg-slide-bg,
.banner-slide.active .banner-slide-bg {
    transform: scale(1);
}

.estg-slide-overlay,
.banner-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(26,26,26,.85) 0%, rgba(26,26,26,.5) 60%, transparent 100%);
    z-index: 1;
}

.estg-slide-content,
.banner-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.estg-slide-badge,
.banner-slide-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 8px 18px;
    background: rgba(252, 209, 22, 0.9);
    color: var(--benin-dark);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(252, 209, 22, 0.4);
}

.estg-slide-title,
.banner-slide-title,
.slide-content h2 {
    font-size: clamp(28px, 4.5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    max-width: 900px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 3px 15px rgba(0,0,0,.5);
}

.estg-slide-text,
.banner-slide-text,
.slide-content p {
    font-size: clamp(15px, 1.4vw, 19px);
    line-height: 1.65;
    max-width: 620px;
    color: rgba(255,255,255,.92);
    margin-bottom: 36px;
}

.estg-slide-actions,
.banner-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.estg-btn,
.banner-btn,
.btn-slide {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.estg-btn-primary,
.banner-btn-primary {
    background: var(--benin-yellow);
    color: var(--benin-dark);
    box-shadow: 0 8px 20px rgba(252, 209, 22, 0.4);
}
.estg-btn-primary:hover,
.banner-btn-primary:hover {
    background: var(--benin-red);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(232, 17, 45, 0.4);
}

.estg-btn-ghost,
.banner-btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.6);
}
.estg-btn-ghost:hover,
.banner-btn-ghost:hover {
    background: #fff;
    color: var(--benin-dark);
    border-color: #fff;
}

/* Flèches slider */
.estg-slider-nav,
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,.35);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 5;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.estg-slider-nav:hover,
.banner-nav:hover {
    background: var(--benin-yellow);
    color: var(--benin-dark);
    border-color: var(--benin-yellow);
    transform: translateY(-50%) scale(1.1);
}
.estg-slider-prev, .banner-nav.prev { left: 24px; }
.estg-slider-next, .banner-nav.next { right: 24px; }

/* Dots */
.estg-slider-dots,
.banner-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}
.estg-dot,
.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: none;
    cursor: pointer;
    transition: all .35s ease;
    padding: 0;
}
.estg-dot:hover,
.banner-dot:hover { background: rgba(255,255,255,.75); }
.estg-dot.active,
.banner-dot.active {
    background: var(--benin-yellow);
    width: 40px;
    border-radius: 8px;
}

/* Barre de progression */
.estg-slider-progress,
.banner-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255,255,255,.1);
    z-index: 5;
}
.estg-slider-progress-bar,
.banner-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--benin-yellow), var(--benin-red));
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.bg-light-custom { background: var(--light); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; color: var(--benin-dark); margin-bottom: 15px; }
.section-header h2 span { color: var(--benin-red); }
.section-header p { font-size: 1.1rem; color: var(--gray); max-width: 700px; margin: 0 auto; }
.section-header .divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--red-flag), var(--yellow-flag), var(--green-flag));
    margin: 20px auto;
    border-radius: 2px;
}

/* ============================================================
   À PROPOS AVEC PHOTO PRÉSIDENT
   ============================================================ */
.section-apropos-president {
    background: linear-gradient(180deg, #FFFDF5 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.president-photo-wrapper { position: relative; padding: 30px; display: flex; justify-content: center; }
.president-photo {
    position: relative; width: 100%; max-width: 380px; border-radius: 24px;
    overflow: hidden; z-index: 2;
    box-shadow: 0 20px 50px rgba(232, 17, 45, 0.2), 0 8px 20px rgba(252, 209, 22, 0.15);
    transition: transform .5s ease; background: #FFFDF5;
}
.president-photo:hover { transform: translateY(-6px) scale(1.02); }
.president-photo img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 5 / 6; }
.president-badge {
    position: absolute; top: 0; left: 0; width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--benin-yellow), var(--benin-yellow-dark));
    color: var(--benin-dark); display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; z-index: 3; box-shadow: 0 10px 25px rgba(252, 209, 22, 0.5);
    animation: floatBadge 3s ease-in-out infinite;
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}
.president-card {
    position: absolute; bottom: 10px; right: 0; background: #fff;
    padding: 18px 24px; border-radius: 16px;
    box-shadow: 0 15px 35px rgba(26, 26, 26, 0.15); z-index: 4;
    border-left: 4px solid var(--benin-red); max-width: 240px;
}
.president-card h5 { font-size: 1rem; font-weight: 800; color: var(--benin-dark); margin: 0 0 4px; }
.president-card p { font-size: .82rem; color: var(--benin-red); margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.president-deco { position: absolute; border-radius: 50%; z-index: 1; filter: blur(1px); }
.deco-1 { width: 140px; height: 140px; background: radial-gradient(circle, rgba(252, 209, 22, 0.35) 0%, transparent 70%); top: 10px; right: 20px; }
.deco-2 { width: 100px; height: 100px; background: radial-gradient(circle, rgba(232, 17, 45, 0.25) 0%, transparent 70%); bottom: 40px; left: 10px; }
.deco-3 { width: 80px; height: 80px; background: radial-gradient(circle, rgba(0, 135, 81, 0.25) 0%, transparent 70%); bottom: 0; right: 0; }

.badge-about {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(252, 209, 22, 0.15), rgba(232, 17, 45, 0.08));
    color: var(--benin-red); padding: 8px 18px; border-radius: 50px;
    font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 20px; border: 1px solid rgba(252, 209, 22, 0.3);
}
.badge-about i { color: var(--benin-yellow-dark); }

.apropos-content h2 { font-size: 2.2rem; font-weight: 800; color: var(--benin-dark); margin-bottom: 20px; }
.apropos-content h2 span { color: var(--benin-red); position: relative; }
.apropos-content p { font-size: 1.05rem; color: #4b5563; line-height: 1.8; margin-bottom: 16px; }
.apropos-content p strong { color: var(--benin-dark); font-weight: 700; }

.apropos-points { list-style: none; padding: 0; margin: 25px 0 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.apropos-points li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: #374151; font-weight: 500; }
.apropos-points li i { color: var(--benin-green); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }

.apropos-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 30px 0; }
.stat-item {
    text-align: center; padding: 20px; background: white; border-radius: 15px;
    box-shadow: var(--shadow); border-top: 4px solid var(--benin-yellow);
    transition: all .3s ease;
}
.stat-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-top-color: var(--benin-red); }
.stat-item .number { font-size: 2rem; font-weight: 800; color: var(--benin-red); display: block; }
.stat-item .label { font-size: 0.85rem; color: var(--gray); text-transform: uppercase; font-weight: 600; }

.btn-apropos {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--benin-yellow) 0%, var(--benin-yellow-dark) 100%);
    color: var(--benin-dark); border-radius: 50px; text-decoration: none;
    font-weight: 700; font-size: .98rem; transition: all .35s;
    box-shadow: 0 8px 20px rgba(252, 209, 22, 0.4);
    border: 2px solid var(--benin-yellow);
}
.btn-apropos:hover {
    background: linear-gradient(135deg, var(--benin-red) 0%, var(--benin-red-dark) 100%);
    color: #fff; border-color: var(--benin-red);
    transform: translateY(-4px); gap: 16px;
    box-shadow: 0 15px 35px rgba(232, 17, 45, 0.4);
}

/* ============================================
   SPECIALITES
   ============================================ */
.specialite-card {
    background: white; border-radius: 15px; padding: 35px 20px; text-align: center;
    border-top: 4px solid var(--benin-yellow); box-shadow: var(--shadow);
    transition: all 0.3s; height: 100%;
}
.specialite-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-top-color: var(--benin-red); }
.specialite-icon {
    font-size: 3rem; margin-bottom: 20px; width: 80px; height: 80px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(252, 209, 22, 0.15); color: var(--benin-red);
}
.specialite-card h5 { font-weight: 700; margin-bottom: 15px; font-size: 1.15rem; color: var(--benin-dark); }
.specialite-card p { font-size: 0.9rem; color: var(--gray); margin-bottom: 15px; }
.specialite-card a { color: var(--benin-red); font-weight: 700; font-size: 0.9rem; }
.specialite-card a:hover { color: var(--benin-yellow-dark); }

/* ============================================
   FORMATIONS
   ============================================ */
.formation-card {
    background: white; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow);
    transition: all 0.3s; height: 100%; display: flex; flex-direction: column;
}
.formation-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.formation-header {
    padding: 30px; text-align: center; color: white; font-size: 2.5rem;
    position: relative; background: linear-gradient(135deg, var(--benin-yellow), var(--benin-yellow-dark));
}
.formation-type-badge {
    position: absolute; top: 15px; right: 15px;
    background: rgba(26,26,26,0.8); color: var(--benin-yellow);
    padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.formation-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.formation-body h5 { font-weight: 700; margin-bottom: 10px; font-size: 1.15rem; color: var(--benin-dark); }
.formation-body p { flex: 1; color: var(--gray); font-size: 0.9rem; margin-bottom: 15px; }
.formation-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--border);
    font-size: 0.85rem; color: var(--gray); gap: 10px; flex-wrap: wrap;
}
.formation-meta i { color: var(--benin-red); }

/* ============================================
   ACTUALITES
   ============================================ */
.actualite-card {
    background: white; border-radius: 15px; overflow: hidden;
    box-shadow: var(--shadow); transition: all 0.3s; height: 100%;
    display: flex; flex-direction: column;
}
.actualite-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.actualite-card img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.5s; }
.actualite-card:hover img { transform: scale(1.05); }
.actualite-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.actualite-date { font-size: 0.8rem; color: var(--benin-red); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.actualite-body h5 { font-weight: 700; margin-bottom: 10px; line-height: 1.4; color: var(--benin-dark); }
.actualite-body p { color: var(--gray); font-size: 0.9rem; flex: 1; margin-bottom: 15px; }
.actualite-body a { color: var(--benin-red); font-weight: 700; font-size: 0.9rem; }
.actualite-body a:hover { color: var(--benin-yellow-dark); }

/* ============================================
   APERÇU GALERIE
   ============================================ */
.apercu-galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.apercu-item {
    position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 12px rgba(252,209,22,.15); transition: all .4s ease; display: block;
}
.apercu-item:hover { transform: scale(1.05); box-shadow: 0 12px 30px rgba(232,17,45,.3); z-index: 2; }
.apercu-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.apercu-item:hover img { transform: scale(1.1); }
.apercu-overlay {
    position: absolute; inset: 0; background: rgba(232,17,45,.6);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.5rem; opacity: 0; transition: opacity .3s ease;
}
.apercu-item:hover .apercu-overlay { opacity: 1; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--benin-yellow) 0%, var(--benin-green) 100%);
    color: white; padding: 80px 0; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; top: -50%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; color: white; text-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.cta-section p { font-size: 1.15rem; margin-bottom: 30px; color: rgba(255,255,255,0.95); }
.btn-cta {
    background: white; color: var(--benin-green); padding: 15px 40px;
    border-radius: 50px; font-weight: 700; font-size: 1.05rem; border: none;
    transition: all 0.3s; display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.btn-cta:hover { background: var(--benin-red); color: white; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(232, 17, 45, 0.4); }
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-cta-outline {
    background: transparent; color: white; padding: 15px 40px;
    border-radius: 50px; font-weight: 700; font-size: 1.05rem;
    border: 2px solid white; transition: all 0.3s;
    display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.btn-cta-outline:hover { background: white; color: var(--benin-green); transform: translateY(-3px); }

/* ============================================
   FORMULAIRES
   ============================================ */
.form-card { background: white; border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--benin-yellow); }
.form-label { font-weight: 600; color: var(--benin-dark); margin-bottom: 8px; font-size: 0.9rem; }
.form-control, .form-select { border: 2px solid var(--border); border-radius: 10px; padding: 12px 15px; font-size: 0.95rem; transition: all 0.3s; }
.form-control:focus, .form-select:focus { border-color: var(--benin-yellow-dark); box-shadow: 0 0 0 4px rgba(252, 209, 22, 0.25); outline: none; }
.btn-submit {
    background: linear-gradient(135deg, var(--benin-yellow) 0%, var(--benin-red) 100%);
    color: white; padding: 14px 40px; border: none; border-radius: 50px;
    font-weight: 700; font-size: 1rem; transition: all 0.3s; width: 100%;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(232, 17, 45, 0.35); filter: brightness(1.05); }

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--benin-yellow) 0%, var(--benin-yellow-dark) 50%, var(--benin-red) 100%);
    color: white; padding: 80px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 10px; color: white; text-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.page-header .breadcrumb { justify-content: center; background: transparent; margin: 0; }
.page-header .breadcrumb a { color: rgba(255,255,255,0.9); text-decoration: none; }
.page-header .breadcrumb-item.active { color: white; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.7); }

/* ============================================
   ALERTES
   ============================================ */
.alert { border-radius: 12px; border: none; padding: 15px 20px; font-size: 0.95rem; }
.alert-success { background: var(--benin-green-light); color: var(--benin-green-dark); border-left: 4px solid var(--benin-green); }
.alert-danger { background: var(--benin-red-light); color: var(--benin-red-dark); border-left: 4px solid var(--benin-red); }
.alert-info { background: var(--benin-yellow-light); color: #7a5c00; border-left: 4px solid var(--benin-yellow); }

/* ============================================
   FOOTER
   ============================================ */
.footer-main {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    color: #d1d5db; padding: 70px 0 20px; position: relative;
}
.footer-main::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--red-flag), var(--yellow-flag), var(--green-flag));
}
.footer-logo-wrapper { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.footer-logo-img { height: 75px; width: auto; background: white; border-radius: 12px; padding: 6px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.3s; }
.footer-logo-img:hover { transform: scale(1.05) rotate(-2deg); }
.footer-logo { margin: 0; font-weight: 800; font-size: 1.3rem; color: white; line-height: 1.2; }
.footer-logo span { color: var(--benin-yellow); }
.footer-main h5 { color: white; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-main h5::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px;
    background: linear-gradient(90deg, var(--red-flag), var(--yellow-flag), var(--green-flag));
    border-radius: 2px;
}
.footer-main p { font-size: 0.9rem; line-height: 1.7; }
.footer-links, .footer-contact { list-style: none; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-links a, .footer-main a { color: #d1d5db; transition: all 0.3s; text-decoration: none; }
.footer-links a:hover, .footer-main a:hover { color: var(--benin-yellow); padding-left: 5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact li i { color: var(--benin-yellow); margin-top: 4px; width: 20px; flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08); border-radius: 50%; transition: all 0.3s; color: white;
}
.footer-social a:hover { background: var(--benin-yellow); color: var(--benin-dark); transform: translateY(-3px); }
.footer-cta {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; padding: 12px 24px;
    background: linear-gradient(135deg, var(--benin-yellow), var(--benin-yellow-dark));
    color: var(--benin-dark) !important; border-radius: 50px; font-weight: 700; font-size: 0.9rem;
    transition: all 0.3s; box-shadow: 0 5px 15px rgba(252, 209, 22, 0.4);
}
.footer-cta:hover { transform: translateY(-3px); color: white !important; background: linear-gradient(135deg, var(--benin-red), var(--benin-red-dark)); }
.footer-bottom { border-top: 1px solid #374151; padding-top: 25px; margin-top: 50px; font-size: 0.85rem; color: #9ca3af; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--benin-yellow), var(--benin-yellow-dark));
    color: var(--benin-dark); border-radius: 50%; display: flex; align-items: center;
    justify-content: center; box-shadow: 0 5px 20px rgba(252, 209, 22, 0.5);
    opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 999; text-decoration: none;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: linear-gradient(135deg, var(--benin-red), var(--benin-red-dark)); color: white; transform: translateY(-5px) scale(1.1); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .desktop-menu { gap: 12px; }
    .desktop-menu-link { padding: 10px 14px; font-size: 0.85rem; }
    .desktop-menu-cta { padding: 10px 18px; font-size: 0.85rem; }
    .desktop-menu-cta span { display: none; }
}

@media (max-width: 991px) {
    .desktop-menu { display: none !important; }
    .menu-trigger { display: flex; }
    .menu-overlay { display: block; }
    .header-inner { min-height: 80px; }
    .header-logo .logo-estg { height: 65px; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 2rem; }

    /* Slider tablette */
    .estg-slider,
    .banner-slider {
        height: 520px;
    }

    .president-photo-wrapper { max-width: 420px; margin: 0 auto 40px; }
    .section-apropos-president .apropos-content { text-align: center; }
    .apropos-points { text-align: left; max-width: 500px; margin-left: auto; margin-right: auto; }
    .badge-about { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    .header-logo .logo-estg { height: 55px; }
    .menu-trigger { padding: 10px 18px; }
    .menu-trigger-text { display: none; }
    .menu-nav-text { font-size: 1.4rem; }
    .apercu-galerie { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .topbar-contact a span { display: none; }
    .topbar { text-align: center; }
    .topbar-inner { justify-content: center; }
    .header-logo .logo-estg { height: 50px; }

    /* Slider mobile */
    .estg-slider,
    .banner-slider {
        height: 480px;
    }
    .estg-slide-content,
    .banner-slide-content { padding: 0 24px; }
    .estg-slide-title,
    .banner-slide-title { font-size: 24px; }
    .estg-slide-text,
    .banner-slide-text { font-size: 14.5px; }
    .estg-slider-nav,
    .banner-nav { width: 40px; height: 40px; font-size: .85rem; }
    .estg-slider-prev, .banner-nav.prev { left: 12px; }
    .estg-slider-next, .banner-nav.next { right: 12px; }

    .section { padding: 40px 0; }
    .section-header h2 { font-size: 1.6rem; }
    .cta-section h2 { font-size: 1.8rem; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons a { width: 100%; justify-content: center; }
    .apropos-stats { grid-template-columns: 1fr; }
    .apropos-points { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 2rem; }
    .btn-apropos { width: 100%; justify-content: center; }
    .back-to-top { width: 45px; height: 45px; bottom: 20px; right: 20px; }
}