/* ============================================
   ESTG-BENIN - FEUILLE DE STYLE COMPLÈTE
   Palette : JAUNE dominant 🇧🇯 + ROUGE + VERT
   Slider sans overlay + textes ultra lisibles
   ============================================ */

: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));
}

.header-logo:hover .logo-estg {
    filter: 
        drop-shadow(0 8px 20px rgba(232, 17, 45, 0.3))
        drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

/* ============================================
   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::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 50%;
    background: linear-gradient(90deg, transparent, rgba(252, 209, 22, 0.4), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.desktop-menu-link:hover::before { left: 100%; }

.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);
        box-shadow: 
            0 0 10px rgba(232, 17, 45, 0.5),
            0 0 20px rgba(252, 209, 22, 0.6),
            0 0 30px rgba(0, 135, 81, 0.4);
    }
    50% { 
        filter: brightness(1.3);
        box-shadow: 
            0 0 15px rgba(232, 17, 45, 0.8),
            0 0 25px rgba(252, 209, 22, 0.9),
            0 0 35px rgba(0, 135, 81, 0.7);
    }
}

.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),
        0 3px 8px rgba(232, 17, 45, 0.2);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    white-space: nowrap;
    border: none;
}

.desktop-menu-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.6s;
}

.desktop-menu-cta:hover::before { left: 100%; }

.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),
        0 6px 15px rgba(232, 17, 45, 0.35);
}

.desktop-menu-cta i { transition: transform 0.3s; }
.desktop-menu-cta:hover i { transform: rotate(15deg) scale(1.1); }

/* ============================================
   BOUTON MENU 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),
        0 3px 8px rgba(232, 17, 45, 0.2);
    font-family: inherit;
}

.menu-trigger:hover {
    transform: translateY(-3px);
    color: white;
    background: linear-gradient(135deg, var(--benin-red) 0%, var(--benin-red-dark) 100%);
    box-shadow: 
        0 1px 0 rgba(255,255,255,0.4) inset,
        0 12px 30px rgba(232, 17, 45, 0.5);
}

.menu-trigger-text { letter-spacing: 0.5px; }

.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-trigger:hover .menu-trigger-icon span:nth-child(2) { width: 70%; }
.menu-trigger:hover .menu-trigger-icon span:nth-child(3) { width: 85%; }

/* ============================================
   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-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(252, 209, 22, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.menu-overlay-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 135, 81, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.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);
    border-color: var(--benin-yellow);
    color: var(--benin-dark);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 30px rgba(252, 209, 22, 0.6);
}

.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 cubic-bezier(0.4, 0, 0.2, 1);
    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);
    transform-origin: center;
    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;
    transition: color 0.3s;
}

.menu-contact-list a:hover { color: var(--benin-yellow); }

.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);
    border-color: var(--benin-yellow);
    color: var(--benin-dark);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(252, 209, 22, 0.4);
}

.menu-sidebar-cta { margin-top: 10px; }

.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 cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 8px 25px rgba(252, 209, 22, 0.4),
        0 3px 8px rgba(232, 17, 45, 0.15);
}

.menu-cta-btn:hover {
    transform: translateY(-4px);
    color: white;
    background: linear-gradient(135deg, var(--benin-red) 0%, var(--benin-red-dark) 100%);
    box-shadow: 
        0 15px 40px rgba(232, 17, 45, 0.5),
        0 6px 15px rgba(232, 17, 45, 0.3);
}

.menu-cta-btn i { transition: transform 0.3s; }
.menu-cta-btn:hover i { transform: translateX(8px); }

.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 — IMAGE COMPLÈTE + TEXTE ULTRA LISIBLE
   ============================================================ */
.estg-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 8 / 3;
    max-height: 720px;
    min-height: 260px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.estg-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.estg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
    z-index: 1;
}

.estg-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.estg-slide-img-wrap {
    position: absolute;
    inset: 0;
    background: #0f172a;
}

.estg-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
    transition: transform 8s ease-out;
}

.estg-slide.active .estg-slide-img {
    transform: scale(1);
}

.estg-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.05) 100%
    );
    z-index: 2;
}

.estg-slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    text-align: left;
}

.estg-slide-badge {
    display: inline-block;
    padding: 10px 22px;
    background: #FCD116;
    border: 2px solid #ffffff;
    color: #1a1a1a;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    box-shadow: 
        0 8px 25px rgba(252, 209, 22, 0.6),
        0 4px 10px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(20px);
}

.estg-slide.active .estg-slide-badge {
    animation: estgFadeUp .7s ease .15s forwards;
}

.estg-slide-title {
    font-size: clamp(28px, 4vw, 58px);
    font-weight: 900;
    line-height: 1.15;
    max-width: 900px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.95),
        0 2px 6px rgba(0, 0, 0, 0.9),
        0 4px 15px rgba(0, 0, 0, 0.85),
        0 8px 30px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(25px);
}

.estg-slide.active .estg-slide-title {
    animation: estgFadeUp .8s ease .3s forwards;
}

.estg-slide-text {
    font-size: clamp(15px, 1.3vw, 20px);
    line-height: 1.65;
    max-width: 620px;
    margin-bottom: 32px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.95),
        0 2px 8px rgba(0, 0, 0, 0.9),
        0 4px 15px rgba(0, 0, 0, 0.75),
        0 8px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(25px);
}

.estg-slide.active .estg-slide-text {
    animation: estgFadeUp .8s ease .45s forwards;
}

.estg-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    opacity: 0;
    transform: translateY(25px);
}

.estg-slide.active .estg-slide-actions {
    animation: estgFadeUp .8s ease .6s forwards;
}

.estg-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 50px;
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    transition: all .3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.35),
        0 8px 25px rgba(0, 0, 0, 0.25);
}

.estg-btn-primary {
    background: #FCD116;
    color: #1a1a1a;
    box-shadow: 
        0 8px 25px rgba(252, 209, 22, 0.6),
        0 4px 10px rgba(0, 0, 0, 0.35);
}

.estg-btn-primary:hover {
    background: #E8112D;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 
        0 15px 40px rgba(232, 17, 45, 0.7),
        0 6px 15px rgba(0, 0, 0, 0.35);
    gap: 14px;
}

.estg-btn-ghost {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.2);
}

.estg-btn-ghost:hover {
    background: #ffffff;
    color: #1a1a1a;
    border-color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.5);
}

@keyframes estgFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.estg-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 5;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.estg-slider-nav:hover {
    background: #FCD116;
    color: #1a1a1a;
    border-color: #FCD116;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(252, 209, 22, 0.7);
}

.estg-slider-prev { left: 24px; }
.estg-slider-next { right: 24px; }

.estg-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
    padding: 12px 18px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.estg-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all .35s ease;
    padding: 0;
}

.estg-dot:hover { background: rgba(255, 255, 255, 0.9); }

.estg-dot.active {
    background: #FCD116;
    width: 40px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(252, 209, 22, 0.8);
}

.estg-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: rgba(255,255,255,.15);
    z-index: 5;
}

.estg-slider-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #FCD116, #E8112D);
    transition: width .1s linear;
    box-shadow: 0 0 15px rgba(252, 209, 22, 0.6);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: linear-gradient(135deg, 
        var(--benin-yellow) 0%, 
        var(--benin-yellow-dark) 50%, 
        var(--benin-red) 100%);
    color: var(--benin-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 135, 81, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container { position: relative; z-index: 2; }

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--benin-dark);
}

.hero .lead {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: rgba(26,26,26,0.9);
    font-weight: 500;
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: rgba(26,26,26,0.85);
}

.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

.btn-hero-primary {
    background: var(--benin-dark);
    border: 2px solid var(--benin-dark);
    color: var(--benin-yellow);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-hero-primary:hover {
    background: white;
    border-color: white;
    color: var(--benin-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid var(--benin-dark);
    color: var(--benin-dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-hero-outline:hover {
    background: var(--benin-dark);
    color: var(--benin-yellow);
    transform: translateY(-3px);
}

/* ============================================
   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;
}

/* ============================================
   A PROPOS
   ============================================ */
.apropos-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(-1.5deg);
    transition: transform .5s ease;
}
.apropos-img-wrapper:hover { transform: rotate(0deg) scale(1.02); }

.apropos-img {
    width: 100%;
    display: block;
    border-radius: 20px;
    transition: transform .6s ease;
}
.apropos-img-wrapper:hover .apropos-img { transform: scale(1.05); }

.apropos-img-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--benin-yellow);
    color: var(--benin-dark);
    border-radius: 50px;
    font-weight: 800;
    font-size: .9rem;
    box-shadow: 0 10px 25px rgba(252, 209, 22, .5);
}
.apropos-img-badge i { color: var(--benin-red); }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(252, 209, 22, .15);
    color: var(--benin-red);
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.btn-apropos {
    background: var(--benin-yellow);
    color: var(--benin-dark);
    border: 2px solid var(--benin-yellow);
    margin-top: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}
.btn-apropos:hover {
    background: var(--benin-red);
    color: #fff;
    border-color: var(--benin-red);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(232, 17, 45, .4);
    gap: 14px;
}

.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); }

.apropos-content p {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.75;
}

.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);
}

.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;
}

/* ============================================
   MOT DU DIRECTEUR
   ============================================ */
.mot-directeur-wrapper {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 2px dashed var(--border);
}
.directeur-photo-wrapper {
    position: relative;
    max-width: 360px;
    margin: 0 auto;
    padding: 15px;
}
.directeur-photo {
    width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: transform .4s ease;
}
.directeur-photo-wrapper:hover .directeur-photo { transform: translateY(-5px); }
.directeur-photo-deco {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--benin-yellow), var(--benin-red));
    border-radius: 25px;
    z-index: 1;
    opacity: .25;
    transform: rotate(-4deg);
    transition: transform .5s ease;
}
.directeur-photo-wrapper:hover .directeur-photo-deco { transform: rotate(0deg); }
.directeur-info {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 3;
    min-width: 200px;
    border: 3px solid var(--benin-yellow);
}
.directeur-info h4 {
    font-size: .95rem;
    font-weight: 800;
    color: var(--benin-dark);
    margin: 0 0 3px;
    line-height: 1.2;
}
.directeur-info span {
    font-size: .72rem;
    color: var(--benin-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.mot-directeur-card {
    position: relative;
    background: #fff;
    padding: 45px 40px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--benin-yellow);
    margin-top: 20px;
}
.mot-directeur-quote {
    position: absolute;
    top: -25px;
    left: 40px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--benin-yellow), var(--benin-yellow-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--benin-dark);
    font-size: 1.3rem;
    box-shadow: 0 10px 25px rgba(252, 209, 22, .5);
}
.mot-directeur-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--benin-dark);
    margin: 15px 0 20px;
    line-height: 1.3;
}
.mot-directeur-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 15px;
}
.mot-directeur-card p strong { color: var(--benin-red); }
.mot-intro {
    font-size: 1.1rem !important;
    font-weight: 700;
    color: var(--benin-dark) !important;
    font-style: italic;
}
.mot-final {
    font-size: 1.05rem !important;
    font-weight: 700;
    color: var(--benin-red) !important;
    margin-top: 20px !important;
}
.directeur-signature {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid var(--border);
    text-align: right;
}
.signature-line {
    width: 80px;
    height: 2px;
    background: var(--benin-yellow);
    margin-left: auto;
    margin-bottom: 12px;
}
.directeur-signature strong {
    display: block;
    color: var(--benin-dark);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.directeur-signature span {
    display: block;
    color: var(--benin-red);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* ============================================
   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); }

/* ============================================
   FILIÈRES
   ============================================ */
.filiere-bloc {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 100%;
    border-top: 5px solid var(--benin-yellow);
}
.filiere-titre {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--benin-red);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px dashed var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: .5px;
    flex-wrap: wrap;
}
.filiere-titre i { color: var(--benin-yellow-dark); font-size: 1.2rem; }
.filiere-count {
    margin-left: auto;
    background: var(--benin-yellow);
    color: var(--benin-dark);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 800;
}
.filiere-liste { list-style: none; padding: 0; margin: 0; counter-reset: item; }
.filiere-liste li {
    counter-increment: item;
    position: relative;
    padding: 8px 0 8px 40px;
    border-bottom: 1px solid #f1f5f9;
    transition: background .25s ease;
}
.filiere-liste li:last-child { border-bottom: none; }
.filiere-liste li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--benin-yellow), var(--benin-yellow-dark));
    color: var(--benin-dark);
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(252, 209, 22, .35);
}
.filiere-liste li a {
    color: var(--benin-dark);
    text-decoration: none;
    font-size: .92rem;
    font-weight: 500;
    transition: all .25s ease;
    display: block;
    line-height: 1.4;
}
.filiere-liste li:hover a {
    color: var(--benin-red);
    padding-left: 5px;
    font-weight: 700;
}

/* ============================================
   DURÉE + COÛT
   ============================================ */
.info-bloc {
    margin-top: 40px;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    border-top: 5px solid var(--benin-red);
}
.info-titre {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--benin-red);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px dashed var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: .5px;
}
.info-titre i { color: var(--benin-yellow-dark); font-size: 1.2rem; }
.info-lignes { display: flex; flex-direction: column; gap: 12px; }
.info-ligne {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #FFFDF5;
    border-radius: 10px;
    border-left: 4px solid var(--benin-yellow);
    font-size: .95rem;
}
.info-ligne span { color: var(--gray); font-weight: 600; }
.info-ligne strong { color: var(--benin-dark); font-weight: 800; }
.cout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cout-card {
    background: linear-gradient(135deg, #FFFDF5 0%, #FEF3B8 100%);
    border-radius: 14px;
    padding: 22px;
    border: 2px solid var(--benin-yellow);
}
.cout-card:nth-child(2) {
    background: linear-gradient(135deg, #FDE8EC 0%, #FEF3B8 100%);
    border-color: var(--benin-red);
}
.cout-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--benin-yellow);
    color: var(--benin-dark);
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.cout-card:nth-child(2) .cout-label { background: var(--benin-red); color: #fff; }
.cout-lignes { display: flex; flex-direction: column; gap: 10px; }
.cout-ligne {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(26, 26, 26, .15);
    font-size: .92rem;
}
.cout-ligne:last-child { border-bottom: none; padding-bottom: 0; }
.cout-ligne span { color: #374151; }
.cout-ligne strong { font-size: 1.05rem; font-weight: 800; color: var(--benin-dark); }
.cout-card:nth-child(1) .cout-ligne strong { color: var(--benin-red); }
.cout-note {
    margin-top: 22px;
    padding: 14px 20px;
    background: rgba(252, 209, 22, .12);
    border-left: 4px solid var(--benin-yellow);
    border-radius: 10px;
    font-size: .9rem;
    color: var(--benin-dark);
    font-style: italic;
}
.cout-note strong { color: var(--benin-red); font-style: normal; }

/* ============================================
   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); }

/* ============================================
   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);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* ============================================
   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);
    color: white;
    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 a:hover { color: var(--benin-dark); }
.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);
}
.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid var(--benin-yellow-dark);
}

/* ============================================
   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);
    box-shadow: 0 6px 15px rgba(252, 209, 22, 0.5);
}
.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));
    padding-left: 24px;
    box-shadow: 0 10px 25px rgba(232, 17, 45, 0.5);
}
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 25px;
    margin-top: 50px;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* ============================================
   BACK TO TOP (bas droite)
   ============================================ */
.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),
        0 2px 6px rgba(232, 17, 45, 0.2);
    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);
    box-shadow: 
        0 8px 30px rgba(232, 17, 45, 0.6),
        0 3px 10px rgba(0,0,0,0.2);
}

/* ============================================
   WHATSAPP FLOAT (bas gauche) — TOUJOURS VISIBLE
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 5px 20px rgba(37, 211, 102, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s;
    opacity: 1;
    visibility: visible;
}
.whatsapp-float:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    color: #ffffff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        0 8px 30px rgba(37, 211, 102, 0.7),
        0 3px 10px rgba(0, 0, 0, 0.25);
}

/* ============================================
   ANIMATION REVEAL
   ============================================ */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   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; }
    .desktop-menu-cta i { font-size: 1rem; }
}

@media (max-width: 991px) {
    .desktop-menu { display: none !important; }
    .menu-trigger { display: flex; }
    .menu-overlay { display: block; }

    .header-inner { min-height: 80px; padding: 10px 0; }
    .header-logo .logo-estg { height: 65px; }

    .hero h1 { font-size: 2.3rem; }
    .hero .lead { font-size: 1.1rem; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 2rem; }

    .footer-main { padding: 50px 0 20px; }

    .menu-overlay-header { padding: 15px 20px; }
    .menu-overlay-logo img { height: 55px; }

    .estg-slider {
        aspect-ratio: 16 / 9;
        min-height: 340px;
        max-height: 480px;
    }
    .estg-slide-content { padding: 0 30px; }
    .estg-slider-nav { width: 46px; height: 46px; font-size: 0.95rem; }
    .estg-slider-prev { left: 14px; }
    .estg-slider-next { right: 14px; }
    .estg-slide-badge { font-size: 0.7rem; padding: 7px 16px; }
}

@media (max-width: 768px) {
    .header-inner { min-height: 70px; }
    .header-logo .logo-estg { height: 55px; }
    .menu-trigger { padding: 10px 18px; }
    .menu-trigger-text { display: none; }

    .menu-overlay-body { padding: 25px 20px; gap: 25px; }
    .menu-nav-text { font-size: 1.4rem; }
    .menu-nav-link { padding: 18px 8px; gap: 15px; }
    .menu-nav-link:hover,
    .menu-nav-link.active { padding-left: 20px; }

    .apropos-stats { grid-template-columns: repeat(3, 1fr); }

    .estg-slider {
        aspect-ratio: 16 / 9;
        min-height: 240px;
        max-height: 360px;
    }
    .estg-slide-content { padding: 0 22px; }
    .estg-slide-title { font-size: clamp(22px, 5vw, 32px); }
    .estg-slide-text { font-size: 14px; margin-bottom: 22px; }
    .estg-slide-badge { font-size: 0.65rem; padding: 6px 14px; margin-bottom: 14px; }
}

@media (max-width: 576px) {
    .topbar-contact a span { display: none; }
    .topbar-contact a { margin-right: 15px; }
    .topbar { text-align: center; }
    .topbar-inner { justify-content: center; }
    .topbar-social { margin-top: 8px; }

    .header-inner { min-height: 65px; }
    .header-logo .logo-estg { height: 50px; }
    .menu-trigger { padding: 10px 16px; }

    .hero { padding: 60px 0; }
    .hero h1 { font-size: 1.8rem; }
    .hero .lead { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons a { width: 100%; text-align: center; justify-content: center; }

    .section { padding: 40px 0; }
    .section-header h2 { font-size: 1.6rem; }
    .section-header p { font-size: 0.95rem; }

    .form-card { padding: 25px 20px; }

    .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; }

    .page-header { padding: 60px 0 40px; }
    .page-header h1 { font-size: 2rem; }

    /* Boutons flottants en mobile */
    .back-to-top { width: 45px; height: 45px; bottom: 20px; right: 20px; }
    .whatsapp-float { width: 45px; height: 45px; bottom: 20px; left: 20px; }

    .footer-logo-wrapper { flex-direction: column; text-align: center; }
    .footer-logo-img { height: 60px; }
    .footer-logo { font-size: 1.1rem; }

    .menu-nav-text { font-size: 1.25rem; }
    .menu-nav-link { gap: 12px; padding: 15px 6px; }
    .menu-nav-number { font-size: 0.7rem; }

    .menu-sidebar-block { padding-left: 15px; }
    .menu-cta-btn { padding: 16px 20px; font-size: 0.95rem; }

    .menu-social a { width: 38px; height: 38px; font-size: 0.85rem; }

    .estg-slider {
        aspect-ratio: 16 / 9;
        min-height: 200px;
        max-height: 300px;
    }
    .estg-slide-content { padding: 0 16px; }
    .estg-slide-badge {
        font-size: 0.6rem;
        padding: 5px 12px;
        margin-bottom: 10px;
        letter-spacing: 0.8px;
    }
    .estg-slide-title {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    .estg-slide-text {
        font-size: 12px;
        margin-bottom: 14px;
        line-height: 1.5;
    }
    .estg-slide-actions {
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }
    .estg-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.82rem;
    }
    .estg-slider-nav {
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }
    .estg-slider-dots {
        bottom: 8px;
        padding: 6px 10px;
        gap: 6px;
    }
    .estg-dot { width: 7px; height: 7px; }
    .estg-dot.active { width: 22px; }
}

@media (max-width: 400px) {
    .header-logo .logo-estg { height: 45px; }
    .hero h1 { font-size: 1.5rem; }
    .section-header h2 { font-size: 1.4rem; }
    .menu-nav-text { font-size: 1.1rem; }
    .menu-nav-link { padding: 12px 5px; gap: 10px; }

    .estg-slider {
        aspect-ratio: 16 / 9;
        min-height: 180px;
        max-height: 260px;
    }
    .estg-slide-title { font-size: 16px; }
    .estg-slide-text { font-size: 11px; }
    .estg-slider-nav { width: 30px; height: 30px; font-size: 0.7rem; }
}