/* =====================================================
   BGFI Services - Design System V4
   Modern Professional Design - BGFI Bank Brand
   Harmonized & Modernized
===================================================== */

/* Typography: Inter + Montserrat (locally hosted) */

:root {
    /* ===== PALETTE BGFI — Charte BHC harmonisée ===== */
    /* Couleurs principales (charte BHC) */
    --bgfi-blue-dark: #001a3a;        /* Navy profond - headers/hero */
    --bgfi-blue: #003a74;             /* Bleu corporate BGFI - Couleur primaire */
    --bgfi-blue-medium: #002b56;      /* Bleu intermédiaire - hover/active */
    --bgfi-blue-light: #f3f7fb;       /* Bleu très pale - backgrounds */
    --bgfi-blue-50: #f0f5ff;          /* Bleu ultra-clair - hover states */

    /* Couleurs secondaires (charte BHC) */
    --bgfi-accent: #0d91d0;           /* Cyan BGFI - accent principal */
    --bgfi-accent-dark: #003a74;      /* Bleu corporate - hover/active */
    --bgfi-accent-light: #e8f4fd;     /* Cyan très clair - backgrounds */
    --bgfi-accent-vivid: #0d91d0;     /* Cyan vif - CTA et badges */

    /* Vert Sage (charte BHC - #a8b088) */
    --bgfi-green: #a8b088;            /* Sage green - accents secondaires */
    --bgfi-green-dark: #8a9470;       /* Sage foncé - hover */
    --bgfi-green-light: #c7d4a9;      /* Sage clair - backgrounds */
    --bgfi-green-vivid: #7dcaa5;      /* Vert menthe - accents */

    /* Or/Gold — accent premium */
    --bgfi-gold: #a8b088;             /* Sage green - reprend la charte */
    --bgfi-gold-dark: #8a9470;        /* Sage foncé - hover */
    --bgfi-gold-light: #c7d4a9;       /* Sage clair - backgrounds */

    /* Couleurs tertiaires (charte BHC) */
    --bgfi-teal: #12bcbd;             /* Turquoise */
    --bgfi-teal-dark: #367880;        /* Teal foncé */
    --bgfi-corporate-blue: #3f84b6;   /* Bleu corporate secondaire */
    --bgfi-cyan: #3098c8;             /* Cyan moyen */
    --bgfi-navy-secondary: #003666;   /* Navy secondaire - barre latérale */

    /* RGB variants for rgba() usage */
    --bgfi-blue-dark-rgb: 0, 26, 58;
    --bgfi-blue-rgb: 0, 58, 116;
    --bgfi-blue-medium-rgb: 0, 43, 86;
    --bgfi-accent-rgb: 13, 145, 208;
    --bgfi-green-rgb: 168, 176, 136;
    --bgfi-accent-vivid-rgb: 13, 145, 208;
    --bgfi-green-vivid-rgb: 125, 202, 165;
    --bgfi-gold-rgb: 168, 176, 136;

    /* Texte */
    --bgfi-text-heading: #003a74;
    --bgfi-text-body: #343A40;
    --bgfi-text-muted: #6C757D;
    --bgfi-dark: #1A1D21;
    --bgfi-text-heading-rgb: 0, 58, 116;
    --bgfi-text-body-rgb: 52, 58, 64;
    --bgfi-text-muted-rgb: 108, 117, 125;
    --bgfi-dark-rgb: 26, 29, 33;

    /* Ultra-dark navy */
    --bgfi-blue-ultra-dark: #001229;

    /* Semantic colors */
    --success: #40a860;
    --warning: #e86828;
    --danger: #c62828;
    --info: #0d91d0;
    --success-rgb: 64, 168, 96;
    --warning-rgb: 232, 104, 40;
    --danger-rgb: 198, 40, 40;
    --info-rgb: 13, 145, 208;

    /* Neutres - Échelle professionnelle */
    --bgfi-white: #FFFFFF;
    --bgfi-gray-50: #FAFBFC;          /* Blanc cassé */
    --bgfi-gray-100: #F1F3F5;         /* Gris ultra-clair */
    --bgfi-gray-200: #E9ECEF;         /* Gris très clair */
    --bgfi-gray-300: #DEE2E6;         /* Gris clair */
    --bgfi-gray-400: #ADB5BD;         /* Gris moyen-clair */
    --bgfi-gray-500: #6C757D;         /* Gris moyen */
    --bgfi-gray-600: #495057;         /* Gris moyen-foncé */
    --bgfi-gray-700: #343A40;         /* Gris foncé */
    --bgfi-gray-800: #212529;         /* Gris très foncé */
    --bgfi-gray-900: #1A1D21;         /* Presque noir */

    /* Legacy compat */
    --bgfi-gray-light: var(--bgfi-gray-100);
    --bgfi-gray: var(--bgfi-gray-500);
    --bgfi-gray-dark: var(--bgfi-gray-800);
    --bgfi-black: var(--bgfi-gray-900);

    /* Sémantiques — unifiées avec la charte (définis plus haut, ne pas dupliquer) */

    /* ===== TYPOGRAPHIE - Moderne et lisible ===== */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', 'Inter', -apple-system, sans-serif;
    --font-secondary: 'Open Sans', 'Inter', sans-serif;

    /* Tailles - Hiérarchie claire */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */

    /* ===== ESPACEMENTS ===== */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;

    /* ===== RAYONS MODERNES ===== */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* ===== OMBRES MODERNES - Profondeur élégante ===== */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px rgba(var(--bgfi-blue-rgb),0.08), 0 4px 10px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 40px rgba(var(--bgfi-blue-rgb),0.1), 0 8px 16px rgba(0,0,0,0.06);
    --shadow-hover: 0 14px 30px rgba(var(--bgfi-blue-rgb),0.12), 0 6px 12px rgba(0,0,0,0.06);
    --shadow-card: 0 2px 8px rgba(var(--bgfi-blue-rgb),0.06), 0 0 1px rgba(0,0,0,0.05);

    /* ===== TRANSITIONS FLUIDES ===== */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Modern timing functions */
    --transition-quick: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fluid: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Legacy compatibility */
    --primary: var(--bgfi-blue);
    --primary-color: var(--bgfi-blue);
    --secondary: var(--bgfi-blue-medium);
    --bgfi-primary: var(--bgfi-blue);
}

/* ===== Base Reset & Modern Enhancements ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.7;
    color: var(--bgfi-text-body);
    background: var(--bgfi-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
}

/* Modern selection style */
::selection {
    background: rgba(var(--bgfi-blue-rgb), 0.15);
    color: var(--bgfi-blue-dark);
}

/* Focus-visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--bgfi-blue);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) {
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--bgfi-text-heading);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.625rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; font-weight: 600; }

a {
    color: var(--bgfi-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--bgfi-blue-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Top Bar - BGFI Style ===== */
.top-bar {
    background: var(--bgfi-blue-dark);
    padding: 7px 0;
    font-size: 13px;
    color: white;
    display: none;
    position: relative;
    z-index: 1040;
    transition: all var(--transition-smooth);
    transform: translateY(0);
    opacity: 1;
    border-bottom: 2px solid var(--bgfi-gold);
}

.top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 992px) {
    .top-bar {
        display: block;
    }
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-slogan {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.slogan-text {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.slogan-text::before {
    content: '"';
    color: var(--bgfi-gold);
}

.slogan-text::after {
    content: '"';
    color: var(--bgfi-gold);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.top-bar-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    transition: color var(--transition-fast);
}

.top-bar-contact a:hover {
    color: white;
}

.top-bar-contact a i {
    color: var(--bgfi-green);
    font-size: 11px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 12px;
    transition: all var(--transition-quick);
    position: relative;
    overflow: hidden;
}

.top-bar-social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.top-bar-lang .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    transition: background var(--transition-fast);
    text-decoration: none;
}

.top-bar-lang .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.top-bar-lang .dropdown-toggle::after {
    font-size: 10px;
}

.top-bar-lang .dropdown-menu {
    min-width: 140px;
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    margin-top: 8px;
    background: white;
    z-index: 1050;
}

.top-bar-lang .dropdown-menu.show {
    display: block;
}

.top-bar-lang .dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: var(--radius-sm);
    color: var(--bgfi-gray-800);
    text-decoration: none;
}

.top-bar-lang .dropdown-item:hover {
    background: var(--bgfi-blue-light);
}

.top-bar-lang .dropdown-item.active {
    background: var(--bgfi-blue);
    color: white;
}

/* Mobile Top Bar */
.mobile-top-bar {
    background: var(--bgfi-blue-dark);
    padding: 8px 0;
    font-size: 12px;
}

.mobile-contact {
    color: white;
    font-weight: 500;
}

.mobile-contact i {
    color: var(--bgfi-green);
    margin-right: 6px;
}

.mobile-lang .dropdown-toggle {
    color: white;
    font-size: 12px;
    text-decoration: none;
}

.mobile-lang .dropdown-toggle::after {
    margin-left: 4px;
}

.mobile-lang .dropdown-menu {
    min-width: 120px;
    font-size: 13px;
    background: white;
    z-index: 1070;
}

.mobile-lang .dropdown-item {
    color: var(--bgfi-gray-800);
}

/* ===== Navigation Principale - BGFI Style sobre et professionnel ===== */
.navbar,
.navbar-bgfi {
    background: var(--bgfi-white);
    padding: 14px 0;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(var(--bgfi-blue-rgb), 0.08);
}

.navbar.scrolled,
.navbar-bgfi.scrolled {
    padding: 6px 0;
    background: var(--bgfi-white);
    box-shadow: 0 2px 12px rgba(var(--bgfi-blue-dark-rgb), 0.1);
    border-bottom: 1px solid rgba(var(--bgfi-blue-rgb), 0.06);
}

/* Logo - Taille optimisée pour présence institutionnelle */
.navbar-brand img,
.navbar-brand .logo-img,
.navbar-brand .logo-main {
    height: 60px;
    max-height: 60px;
    width: auto;
    margin-top: -8px;
    margin-bottom: -16px;
    transition: all var(--transition-normal);
}

.navbar.scrolled .navbar-brand img,
.navbar-bgfi.scrolled .navbar-brand img {
    height: 45px;
    max-height: 45px;
    margin-top: 0;
    margin-bottom: 0;
}

/* Brand text fallback */
.navbar-brand .brand-text {
    font-family: var(--font-primary);
    font-size: 26px;
    font-weight: 800;
    color: var(--bgfi-blue-dark);
    letter-spacing: -0.5px;
}

.navbar-brand .brand-text .text-green {
    color: var(--bgfi-green);
    font-weight: 600;
}

/* Logo text fallback */
.logo-text,
.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-text .logo-bgfi,
.footer-logo-text .logo-bgfi {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 24px;
    color: var(--bgfi-blue-dark);
}

.logo-text .logo-services,
.footer-logo-text .logo-services {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 24px;
    color: var(--bgfi-green);
}

.footer-logo-text .logo-bgfi,
.footer-logo-text .logo-services {
    color: white;
}

.navbar .nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    color: var(--bgfi-blue);
    padding: 8px 16px;
    border-radius: 0;
    transition: color 0.2s ease;
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.navbar .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--bgfi-blue-medium);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    border-radius: 2px;
}

.navbar .nav-link:hover {
    color: var(--bgfi-blue-dark);
}

.navbar .nav-link:not(.dropdown-toggle):hover::after {
    transform: scaleX(1);
}

.navbar .nav-link.active {
    color: var(--bgfi-blue-dark);
    font-weight: 600;
}

.navbar .nav-link.active:not(.dropdown-toggle)::after {
    transform: scaleX(1);
    background: var(--bgfi-blue-medium);
}

/* Desktop-only dropdown behavior & caret */
@media (min-width: 992px) {
    /* Dropdown toggle caret - petit indicateur de sous-menu */
    .navbar .nav-link.dropdown-toggle::after {
        content: '';
        position: static;
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 6px;
        vertical-align: middle;
        border-top: 0.25em solid;
        border-right: 0.25em solid transparent;
        border-bottom: 0;
        border-left: 0.25em solid transparent;
        background: none;
        border-radius: 0;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        opacity: 0.5;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .navbar .nav-item.dropdown:hover > .nav-link.dropdown-toggle::after {
        opacity: 1;
        transform: rotate(180deg);
    }

    /* Dropdown menu - caché par défaut, visible au hover */
    .navbar .dropdown-menu {
        border: 1px solid rgba(var(--bgfi-blue-rgb), 0.08);
        box-shadow: 0 8px 24px rgba(var(--bgfi-blue-dark-rgb), 0.12);
        border-radius: 8px;
        padding: 8px;
        padding-top: 10px;
        margin-top: 0;
        top: 100%;
        border-top: 2px solid var(--bgfi-blue-medium);
        min-width: 240px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
        display: block !important;
        background: var(--bgfi-white);
        z-index: 1060;
    }

    /* Bridge pour éviter la fermeture du menu au survol */
    .navbar .nav-item.dropdown {
        position: relative;
    }

    .navbar .nav-item.dropdown > .nav-link {
        padding-bottom: 20px;
        margin-bottom: -12px;
    }

    /* Afficher le dropdown au survol, via JS hover-show, OU quand Bootstrap ajoute .show */
    .navbar .dropdown-menu.hover-show,
    .navbar .dropdown-menu.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    /* Garder le lien parent actif quand le dropdown est survolé */
    .navbar .nav-item.dropdown:hover > .nav-link.dropdown-toggle {
        color: var(--bgfi-blue-dark) !important;
    }

    /* Quand un sous-menu est actif, le parent doit l'être aussi */
    .navbar .nav-item.dropdown.active > .nav-link.dropdown-toggle,
    .navbar .nav-item.dropdown > .nav-link.dropdown-toggle.active {
        color: var(--bgfi-blue-dark) !important;
    }
}

/* Menu Expertises - Style amélioré */
.dropdown-menu-expertises {
    min-width: 320px;
    max-width: 90vw;
    padding: 16px;
}

.navbar .dropdown-item {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--bgfi-gray-dark);
    transition: all var(--transition-quick);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.navbar .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--bgfi-green);
    transform: scaleY(0);
    transition: transform var(--transition-quick);
    border-radius: 0 3px 3px 0;
}

.navbar .dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--bgfi-blue);
    font-size: 14px;
    flex-shrink: 0;
    transition: transform var(--transition-quick);
}

.navbar .dropdown-item span {
    flex: 1;
}

.navbar .dropdown-item:hover {
    background: var(--bgfi-blue);
    color: #ffffff;
}

.navbar .dropdown-item:hover::before {
    transform: scaleY(1);
    background: var(--bgfi-green-light, #e8f0fe);
}

.navbar .dropdown-item:hover i {
    color: #ffffff;
}

/* Keyboard accessibility: visible focus styles for dropdown items */
.navbar .dropdown-item:focus-visible {
    background: var(--bgfi-blue);
    color: #ffffff;
    outline: 2px solid var(--bgfi-blue-dark);
    outline-offset: -2px;
}

.navbar .nav-link:focus-visible {
    outline: 2px solid var(--bgfi-blue);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Item principal "Toutes nos expertises" */
.dropdown-item-main {
    background: linear-gradient(135deg, var(--bgfi-blue), var(--bgfi-blue-medium));
    color: white !important;
    font-weight: 600;
    padding: 14px 16px !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: var(--space-sm);
}

.dropdown-item-main i {
    color: white !important;
}

.dropdown-item-main .arrow-icon {
    opacity: 0.7;
    font-size: 12px;
}

.dropdown-item-main:hover {
    background: linear-gradient(135deg, var(--bgfi-blue-dark), var(--bgfi-blue)) !important;
    color: white !important;
    transform: translateX(0) !important;
}

.dropdown-item-main:hover .arrow-icon {
    opacity: 1;
    transform: translateX(4px);
    transition: transform var(--transition-fast);
}

/* Sous-items expertises */
.dropdown-item-expertise {
    padding: 10px 14px !important;
    font-size: 13px;
    border-left: 2px solid transparent;
}

.dropdown-item-expertise:hover {
    border-left-color: var(--bgfi-green);
    background: var(--bgfi-blue);
    color: #ffffff;
}

.dropdown-item-expertise i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bgfi-blue-light);
    border-radius: var(--radius-sm);
    font-size: 11px;
}

.dropdown-item-expertise:hover i {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

/* Divider */
.dropdown-menu-expertises .dropdown-divider {
    margin: var(--space-sm) 0;
    border-color: var(--bgfi-gray-200);
}

.navbar .dropdown-item-all {
    font-weight: 600;
    color: var(--bgfi-blue);
    border-bottom: 1px solid var(--bgfi-gray-100);
    margin-bottom: var(--space-sm);
    padding-bottom: 12px;
}

.navbar .dropdown-item-all:hover {
    background: var(--bgfi-blue);
    color: white;
    padding-left: 16px;
}

/* Navbar Language Switcher — always visible */
.navbar-lang-switch {
    flex-shrink: 0;
}

.nav-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--bgfi-blue), var(--bgfi-blue-dark));
    border: none;
    transition: all var(--transition-fast);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(var(--bgfi-blue-rgb), 0.25);
}

.nav-lang-toggle:hover {
    background: linear-gradient(135deg, var(--bgfi-blue-dark), var(--bgfi-blue));
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(var(--bgfi-blue-rgb), 0.35);
    transform: translateY(-1px);
}

.nav-lang-toggle i {
    font-size: 14px;
    color: #ffffff;
}

.nav-lang-toggle:hover i {
    color: #ffffff;
}

.nav-lang-toggle::after {
    font-size: 10px;
    margin-left: 2px;
}

.navbar-lang-switch .dropdown-menu {
    min-width: 150px;
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--space-xs);
    margin-top: 8px;
    background: white;
    z-index: 1060;
}

.navbar-lang-switch .dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    color: var(--bgfi-gray-800);
    transition: all var(--transition-fast);
}

.navbar-lang-switch .dropdown-item:hover {
    background: var(--bgfi-blue-light);
    color: var(--bgfi-blue-dark);
}

.navbar-lang-switch .dropdown-item.active {
    background: var(--bgfi-blue);
    color: white;
}

.navbar-lang-switch .dropdown-item img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

/* On mobile navbar collapsed menu — show as a row */
@media (max-width: 991.98px) {
    .navbar-lang-switch {
        margin: 10px 0;
        padding: 0 var(--space-md);
    }

    .nav-lang-toggle {
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* Navbar CTA Button */
.navbar-cta {
    margin-left: var(--space-md);
    flex-shrink: 0;
}

.btn-navbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bgfi-blue);
    color: #ffffff;
    padding: 10px 26px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    transition: background 0.25s ease, box-shadow 0.25s ease;
    border: none;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    flex-wrap: nowrap !important;
    min-width: max-content;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(var(--bgfi-blue-dark-rgb), 0.25);
    text-decoration: none;
}

.btn-navbar-cta i,
.btn-navbar-cta span {
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.btn-navbar-cta i {
    transition: transform 0.2s ease;
}

.btn-navbar-cta:hover {
    background: var(--bgfi-blue, #003a74);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(var(--bgfi-blue-rgb), 0.35);
}

.btn-navbar-cta:hover i {
    transform: translateX(2px);
}

/* Navbar Toggler - Modern Hamburger */
.navbar-toggler {
    border: none;
    padding: 10px;
    border-radius: 10px;
    background: transparent;
    transition: all var(--transition-quick);
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:hover {
    background: var(--bgfi-blue-light);
}

.navbar-toggler:focus {
    box-shadow: none;
    background: var(--bgfi-blue-light);
}

.navbar-toggler[aria-expanded="true"] {
    background: var(--bgfi-blue);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
    background: white;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
    background: white;
}

.navbar-toggler-icon {
    width: 24px;
    height: 2px;
    background: var(--bgfi-blue-dark);
    position: relative;
    transition: all var(--transition-quick);
    border-radius: 2px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--bgfi-blue-dark);
    left: 0;
    transition: all var(--transition-quick);
    border-radius: 2px;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    bottom: -8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

/* Tablet - Réduire légèrement l'espacement */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar .nav-link {
        padding: 10px 16px;
        font-size: 13px;
    }

    .navbar .nav-link.active::after {
        left: 14px;
        right: 14px;
    }

    .navbar-brand img,
    .navbar-brand .logo-img {
        height: 120px;
        max-height: 120px;
    }

    .btn-navbar-cta {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* Large Desktop - Plus d'espace */
@media (min-width: 1400px) {
    .navbar .nav-link {
        padding: 12px 24px;
    }

    .navbar .nav-link.active::after {
        left: 24px;
        right: 24px;
    }
}

/* ===== Boutons - Style plat BGFI Europe ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-quick);
    text-decoration: none;
}

.btn-primary,
.btn-bgfi-primary {
    background: var(--bgfi-blue-dark);
    border-color: var(--bgfi-blue-dark);
    color: white;
}

.btn-primary:hover,
.btn-bgfi-primary:hover {
    background: var(--bgfi-blue-dark);
    border-color: var(--bgfi-blue-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary,
.btn-bgfi-secondary {
    background: var(--bgfi-green);
    border-color: var(--bgfi-green);
    color: white;
}

.btn-secondary:hover,
.btn-bgfi-secondary:hover {
    background: var(--bgfi-green-dark);
    border-color: var(--bgfi-green-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(168,184,138,0.3);
}

.btn-gold {
    background: var(--bgfi-blue-dark);
    border-color: var(--bgfi-blue-dark);
    color: white;
}

.btn-gold:hover {
    background: var(--bgfi-blue-dark);
    border-color: var(--bgfi-blue-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(var(--bgfi-blue-dark-rgb), 0.3);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--bgfi-blue);
    color: var(--bgfi-blue);
}

.btn-outline-primary:hover {
    background: var(--bgfi-blue);
    border-color: var(--bgfi-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    border-color: white;
    color: var(--bgfi-blue-dark);
}

.btn-white {
    background: white;
    border-color: white;
    color: var(--bgfi-blue-dark);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--bgfi-gray-50);
    border-color: var(--bgfi-gray-50);
    color: var(--bgfi-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.btn-light {
    background: var(--bgfi-gray-100);
    border-color: var(--bgfi-gray-100);
    color: var(--bgfi-gray-700);
}

.btn-light:hover {
    background: var(--bgfi-gray-200);
    border-color: var(--bgfi-gray-200);
    color: var(--bgfi-blue);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 16px 38px;
    font-size: 14px;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

/* ===== États interactifs globaux (accessibilité) ===== */

/* Focus visible — accessibilité clavier */
.btn:focus-visible {
    outline: 2px solid var(--bgfi-blue);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(var(--bgfi-blue-rgb), 0.15);
}

/* Active — feedback pression */
.btn:active {
    transform: translateY(0) !important;
    box-shadow: none !important;
    opacity: 0.85;
}

/* Disabled — grisé et non-cliquable */
.btn:disabled,
.btn[disabled],
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
}

/* Loading state — spinner dans le bouton */
.btn.is-loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}
.btn.is-loading .btn-text { opacity: 0; }
.btn.is-loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* ===== Form states (accessibilité) ===== */

/* Focus amélioré — WCAG compliant */
.form-control:focus,
.form-select:focus {
    border-color: var(--bgfi-blue) !important;
    box-shadow: 0 0 0 3px rgba(var(--bgfi-blue-rgb), 0.18) !important;
    outline: none;
}

/* Disabled */
.form-control:disabled,
.form-control[disabled],
.form-select:disabled {
    background-color: var(--bgfi-gray-100);
    color: var(--bgfi-gray-500);
    cursor: not-allowed;
    opacity: 0.65;
}

/* Invalid */
.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(var(--danger-rgb), 0.12);
}

.invalid-feedback {
    color: var(--danger);
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
}

/* ===== Focus visible global (liens, logo, navigation) ===== */
a:focus-visible,
.navbar-brand:focus-visible {
    outline: 2px solid var(--bgfi-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ===== État vide — listes sans résultats ===== */
.empty-state {
    text-align: center;
    padding: 64px 24px;
    color: var(--bgfi-text-muted);
}
.empty-state i {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 16px;
    display: block;
}
.empty-state p {
    font-size: 15px;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== BGFI Hero Pattern - Réutilisable ===== */
.bgfi-hero,
.hero-section,
.adg-section,
.stats-section,
.cta-blue-section {
    background: linear-gradient(135deg, var(--bgfi-blue-dark) 0%, var(--bgfi-blue) 60%, var(--bgfi-blue-medium) 100%);
    position: relative;
    overflow: hidden;
}

/* ===== Subtle pattern overlay for hero sections ===== */
/* NOTE: .page-header::before retiré — géré séparément avec ok.png star */
.bgfi-hero::before,
.hero-section::before,
.adg-section::before,
.stats-section::before,
.cta-blue-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    pointer-events: none;
    z-index: 1;
}

@keyframes patternFloat {
    0%, 100% { background-position: 0 0, 20px 20px, 12px 12px; }
    50% { background-position: 10px 5px, 15px 25px, 18px 8px; }
}

@keyframes lightWave {
    0%, 100% { transform: translateX(0) translateY(0) scale(1); opacity: 0.8; }
    50% { transform: translateX(-2%) translateY(3%) scale(0.98); opacity: 0.6; }
}

/* Animation slideDown pour menu mobile */
@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Containers above pattern layers */

/* Contenu au-dessus du pattern */
.bgfi-hero > .container,
.bgfi-hero > *:not(::before):not(::after),
.page-header > .container,
.hero-section > .container,
.adg-section > .container,
.stats-section > .container,
.cta-blue-section > .container {
    position: relative;
    z-index: 2;
}

/* ===== Page Header Spécifique - Unified BGFI Style ===== */
.page-header {
    background-image: url('/images/eee.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 85px 0 40px;
    color: var(--bgfi-white);
    position: relative;
    overflow: hidden;
}

/* Overlay retiré — image eee.png affichée sans filtre */
.page-header::before {
    display: none;
}

.page-header::after {
    display: none;
}

/* ===== FOOTER — 1 grande étoile ===== */
.footer-star {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    filter: brightness(0) invert(1);
}
.footer-star-big {
    top: 20px;
    right: 30px;
    width: 400px;
    height: 400px;
    opacity: 0.25;
    transform: rotate(12deg);
}
/* 2ème étoile footer — en bas à gauche */
.footer-star-left {
    bottom: 30px;
    left: 20px;
    width: 300px;
    height: 300px;
    opacity: 0.18;
    transform: rotate(-15deg);
}

.page-header-content,
.page-header > .container {
    position: relative;
    z-index: 2;
    color: white;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 1rem;
}

.page-header .breadcrumb-item {
    font-size: 14px;
    font-weight: 400;
}

.page-header .breadcrumb-item a {
    color: var(--bgfi-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.page-header .breadcrumb-item a:hover {
    color: var(--bgfi-gold-light);
}

.page-header .breadcrumb-item.active {
    color: rgba(255,255,255,0.7);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: white;
    display: inline-block;
    position: relative;
    padding-bottom: var(--space-md);
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--bgfi-gold), var(--bgfi-gold-light));
    border-radius: 2px;
}

.page-header p,
.page-header .lead {
    font-size: 1.125rem;
    opacity: 0.85;
    font-weight: 400;
    margin: var(--space-md) 0 0 0;
    max-width: 600px;
    line-height: 1.6;
}

/* ===== Sections ===== */
.section {
    padding: var(--space-4xl) 0;
}

.section.bg-light {
    background: var(--bgfi-gray-light);
}

.section.bg-blue-light {
    background: var(--bgfi-blue-light);
}

/* ===== Section Headers - Unified Pattern ===== */
/* Pattern: Sur-titre (bleu, uppercase, petit) + Titre (bold, grand) + Soulignement vert */

.section-header {
    margin-bottom: var(--space-3xl);
}

/* Sur-titre - Petit, uppercase, bleu avec accent */
.section-subtitle {
    display: block;
    width: fit-content;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: var(--space-md);
    padding: 6px 16px;
    background: var(--bgfi-blue-medium, #0056b3);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Variante pour sections à fond sombre */
.section-subtitle--light {
    color: #ffffff;
    background: var(--bgfi-blue-medium);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Titre principal - Grand, bold, avec soulignement vert */
.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--bgfi-blue-dark);
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-md);
    line-height: 1.3;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--bgfi-blue), var(--bgfi-blue-dark));
    border-radius: 2px;
}

.section-header.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.section-header.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-description {
    font-size: var(--text-base);
    color: var(--bgfi-gray-600);
    max-width: 650px;
    line-height: 1.7;
    margin-top: var(--space-sm);
}

.section-header.text-center .section-description {
    margin: var(--space-sm) auto 0;
}

/* Responsive */
@media (max-width: 767.98px) {
    .section-title {
        font-size: var(--text-2xl);
    }
}

/* ===== Actualités Cards - Style plat BGFI Europe ===== */
.actu-card,
.actualite-card {
    background: var(--bgfi-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: none;
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.06);
    position: relative;
}

.actualite-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bgfi-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
    z-index: 10;
}

.actu-card:hover,
.actualite-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--bgfi-blue);
}

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

.actu-card-img,
.actualite-card .card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bgfi-blue-light), var(--bgfi-gray-100));
}

.actu-card-img img,
.actualite-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.actu-card:hover .actu-card-img img,
.actualite-card:hover .card-img-top {
    transform: scale(1.1);
}

.actualite-card .badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--bgfi-blue);
    color: white;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    z-index: 2;
    box-shadow: none;
    transition: all var(--transition-quick);
}

.actualite-card:hover .badge {
    transform: translateY(-1px);
}

.actu-card-body,
.actualite-card .card-body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bgfi-white);
}

.actu-card-title,
.actualite-card .card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--bgfi-gray-800);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.actu-card-title a,
.actualite-card .card-title a {
    color: var(--bgfi-gray-800);
    text-decoration: none;
    background: linear-gradient(to right, var(--bgfi-blue), var(--bgfi-blue));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: all var(--transition-quick);
}

.actu-card-title a:hover,
.actualite-card .card-title a:hover {
    color: var(--bgfi-blue);
    background-size: 100% 2px;
}

.actualite-card .card-text {
    color: var(--bgfi-gray-600);
    font-size: 14px;
    flex: 1;
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

/* Date styling enhancement */
.actualite-card .text-muted,
.actualite-card .small {
    color: var(--bgfi-gray-500) !important;
    font-weight: 500;
}

.actualite-card .text-muted i,
.actualite-card .small i {
    color: var(--bgfi-blue);
}

/* Button enhancement */
.actualite-card .btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
    transition: all var(--transition-quick);
}

.actualite-card:hover .btn-outline-primary {
    background: var(--bgfi-blue);
    color: white;
    border-color: var(--bgfi-blue);
}

/* ===== Expertise Cards ===== */
.expertise-card {
    position: relative;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bgfi-gray-light);
}

.expertise-card-img,
.expertise-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.expertise-card:hover .expertise-card-img,
.expertise-card:hover > img {
    transform: scale(1.1);
}

.expertise-card-overlay,
.expertise-card .expertise-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(var(--bgfi-blue-dark-rgb, 0, 29, 61), 0.9));
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    color: white;
}

.expertise-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--bgfi-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: var(--space-md);
}

.expertise-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin-bottom: var(--space-sm);
}

.expertise-description {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-md);
}

.expertise-services {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md);
}

.expertise-services li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 4px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

.expertise-services li i {
    color: var(--bgfi-green);
    font-size: 10px;
}

.expertise-card-btn {
    display: inline-flex;
    padding: 8px 20px;
    background: var(--bgfi-green);
    color: white;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.expertise-card-btn:hover {
    background: var(--bgfi-gold);
    color: white;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: var(--space-3xl) 0;
    background: var(--bgfi-gray-light);
    position: relative;
    overflow: visible;
}

/* Reset pattern pour stats-section non colorée */
.stats-section:not(.colored)::before,
.stats-section:not(.colored)::after {
    display: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
}

.stat-item .number,
.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--bgfi-gold);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--bgfi-blue);
}

.stat-item .label,
.stat-label {
    font-size: 13px;
    color: var(--bgfi-gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Stats section avec fond coloré — image eee.png uniforme */
.stats-section.colored {
    background-image: url('/images/eee.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Overlay diagonal — même style que page-header */
.stats-section.colored::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
        rgba(0,20,50,0.88) 0%,
        rgba(0,35,70,0.7) 40%,
        rgba(0,58,116,0.55) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.stats-section.colored::after {
    display: none;
}

.stats-section.colored > .container {
    position: relative;
    z-index: 2;
}

.stats-section.colored .stat-number,
.stats-section.colored .stat-item .number {
    color: white;
}

.stats-section.colored .stat-label,
.stats-section.colored .stat-item .label {
    color: rgba(255,255,255,0.8);
}

/* ===== Advantage Cards ===== */
.advantage-card {
    background: var(--bgfi-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
    height: 100%;
    border: 1px solid rgba(var(--bgfi-blue-rgb, 0, 58, 116), 0.06);
    text-align: center;
}

.advantage-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-color: transparent;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--bgfi-blue-light), var(--bgfi-blue-50));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--bgfi-blue);
    font-size: 24px;
    transition: all var(--transition-normal);
}

.advantage-card:hover .advantage-icon {
    background: linear-gradient(135deg, var(--bgfi-blue), var(--bgfi-blue-medium));
    color: white;
    transform: scale(1.05);
}

.advantage-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--bgfi-blue-dark);
}

.advantage-card p {
    color: var(--bgfi-gray-600);
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.7;
}

/* ===== MVV Cards (Mission, Vision, Valeurs) ===== */
.mvv-card {
    background: var(--bgfi-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    box-shadow: var(--shadow-card);
    height: 100%;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(var(--bgfi-blue-rgb, 0, 58, 116), 0.06);
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bgfi-blue), var(--bgfi-green));
}

.mvv-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-color: transparent;
}

.mvv-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--bgfi-blue-dark) 0%, var(--bgfi-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: white;
    font-size: 28px;
    box-shadow: 0 6px 18px rgba(var(--bgfi-blue-rgb, 0, 58, 116), 0.25);
}

.mvv-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--bgfi-blue-dark);
}

.mvv-card p {
    color: var(--bgfi-gray-600);
    line-height: 1.7;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 0;
    color: var(--bgfi-gray-dark);
}

.values-list li i {
    color: var(--bgfi-green);
}

/* ===== Job Cards ===== */
.job-card {
    background: var(--bgfi-white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    transition: all var(--transition-normal);
    border-left: 3px solid transparent;
}

.job-card:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--bgfi-green);
}

.job-content {
    flex: 1;
}

.job-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.job-title a {
    color: var(--bgfi-gray-dark);
}

.job-title a:hover {
    color: var(--bgfi-blue);
}

.job-type {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    font-size: 13px;
    color: var(--bgfi-gray);
    margin-bottom: var(--space-sm);
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-meta i {
    color: var(--bgfi-blue);
}

.job-description {
    color: var(--bgfi-gray);
    font-size: 14px;
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.job-deadline {
    font-size: 13px;
    color: var(--danger);
    font-weight: 500;
}

.job-action {
    flex-shrink: 0;
}

/* ===== CTA Section - BGFI Pattern ===== */
.cta-section {
    background: linear-gradient(135deg, var(--bgfi-blue) 0%, var(--bgfi-blue-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 60%);
    animation: ctaFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ctaFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5%, 5%) rotate(5deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-md);
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ===== Newsletter Section - BGFI Pattern ===== */
.newsletter-section {
    background: linear-gradient(135deg, var(--bgfi-blue-ultra-dark) 0%, var(--bgfi-blue-dark) 40%, var(--bgfi-blue) 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Étoiles polaires */
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M30 28l2 2-2 2-2-2 2-2zm0-8l1 4-1 1-1-1 1-4zm0 16l1-4-1-1-1 1 1 4zm8-8l-4 1-1-1 1-1 4 1zm-16 0l4 1 1-1-1-1-4 1z'/%3E%3C/g%3E%3C/svg%3E"),
        /* Losanges */
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18l2 2-2 2-2-2 2-2z' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E"),
        radial-gradient(circle at center, rgba(255,255,255,0.12) 0px, transparent 1.5px);
    background-size: 60px 60px, 40px 40px, 25px 25px;
    background-position: 0 0, 20px 20px, 12px 12px;
    pointer-events: none;
    z-index: 1;
    animation: patternFloat 12s ease-in-out infinite;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 80%;
    height: 200%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(199,212,169,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(255,255,255,0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
    animation: lightWave 15s ease-in-out infinite reverse;
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-text {
    color: white;
}

.newsletter-text h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
}

.newsletter-text h3 i {
    color: var(--bgfi-gold);
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin: 0;
}

.newsletter-form .input-group {
    background: white;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.newsletter-form .input-group-text {
    background: transparent;
    border: none;
    padding-left: 20px;
    color: var(--bgfi-gray);
}

.newsletter-form .form-control {
    border: none;
    padding: 16px 12px;
    font-size: 14px;
    box-shadow: none;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.btn-newsletter {
    background: var(--bgfi-gold);
    color: white;
    border: none;
    padding: 16px 28px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background var(--transition-fast);
}

.btn-newsletter:hover {
    background: var(--bgfi-gold-dark);
    color: white;
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--bgfi-gray-light);
}

.contact-info {
    background: var(--bgfi-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--bgfi-gray-dark);
    margin-bottom: var(--space-md);
}

.contact-info-items {
    margin-top: var(--space-lg);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--bgfi-gray-100);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item .icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-md);
    background: var(--bgfi-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.contact-info-item .content h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--bgfi-gray-dark);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-item .content p {
    color: var(--bgfi-gray);
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

.contact-info-item .content p a {
    color: var(--bgfi-gray);
}

.contact-info-item .content p a:hover {
    color: var(--bgfi-blue);
}

.contact-social h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--bgfi-gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
}

.contact-social .social-links {
    display: flex;
    gap: var(--space-sm);
}

.contact-social .social-links a {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bgfi-blue-light);
    color: var(--bgfi-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.contact-social .social-links a:hover {
    background: var(--bgfi-blue);
    color: white;
    transform: translateY(-1px);
}

.contact-form-wrapper {
    background: var(--bgfi-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--bgfi-gray-dark);
    margin-bottom: var(--space-md);
}

/* ===== Forms - Style plat BGFI Europe ===== */
.form-control,
.form-select {
    padding: 12px 16px;
    border: 1px solid var(--bgfi-gray-300);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: var(--font-secondary);
    transition: all var(--transition-fast);
    background: var(--bgfi-white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bgfi-blue);
    box-shadow: 0 0 0 2px rgba(var(--bgfi-blue-rgb), 0.08);
    outline: none;
}

.form-label {
    font-weight: 500;
    font-size: 14px;
    color: var(--bgfi-gray-dark);
    margin-bottom: 6px;
}

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

/* ===== FAQ Accordion ===== */
.faq-section .accordion {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-section .accordion-item {
    border: none;
    border-bottom: 1px solid var(--bgfi-gray-200);
    background: var(--bgfi-white);
}

.faq-section .accordion-item:last-child {
    border-bottom: none;
}

.faq-section .accordion-button {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    color: var(--bgfi-gray-dark);
    background: var(--bgfi-white);
    padding: var(--space-lg);
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--bgfi-blue-light);
    color: var(--bgfi-blue);
}

.faq-section .accordion-button:focus {
    box-shadow: none;
}

.faq-section .accordion-body {
    padding: var(--space-lg);
    color: var(--bgfi-gray);
    line-height: 1.7;
    background: var(--bgfi-gray-light);
}

/* ===== Map ===== */
.map-section {
    position: relative;
}

.map-container {
    height: 400px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%);
}

/* ===== Filters ===== */
.filters-bar,
.search-filter-card {
    background: var(--bgfi-white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-xl);
}

.filter-tabs {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 25px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid var(--bgfi-gray-200);
    background: var(--bgfi-white);
    color: var(--bgfi-gray-dark);
}

.filter-tab:hover {
    border-color: var(--bgfi-blue);
    color: var(--bgfi-blue);
}

.filter-tab.active {
    background: var(--bgfi-blue);
    border-color: var(--bgfi-blue);
    color: white;
}

/* ===== About Page — Refactored ===== */

/* --- Introduction --- */
.about-intro { overflow: visible; }

.about-img-wrap { position: relative; }
.about-img-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(var(--bgfi-blue-rgb), 0.12), 0 4px 16px rgba(0,0,0,0.06);
}
.about-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-img-frame:hover .about-img { transform: scale(1.03); }

.about-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    z-index: 10;
    background: var(--bgfi-blue);
    color: #fff;
    padding: 18px 22px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(var(--bgfi-blue-rgb), 0.25);
}
.about-badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}
.about-badge-text {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
    opacity: 0.8;
}

.about-text-title {
    margin-bottom: 0;
    padding-bottom: 0;
}
.about-text .section-subtitle { margin-bottom: 0.5rem; }
.about-desc {
    color: var(--bgfi-text-body);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.about-desc:last-of-type { margin-bottom: 1.75rem; }
.about-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.about-actions .btn { border-radius: 8px; }

/* --- MVV Section --- */
.about-mvv-band { padding: 0; }
.about-mvv-band--duo {
    background: var(--bgfi-blue-dark);
    background-image: url('/images/eee.png');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}
.about-mvv-band--values { background: var(--bgfi-gray-50); padding: 48px 0; }

/* Mission & Vision — deux cartes côte à côte */
.about-mvv-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-mvv-card {
    border-radius: 18px;
    padding: 36px 32px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-mvv-card:hover { transform: translateY(-4px); }

.about-mvv-card--mission {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}
.about-mvv-card--vision {
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.about-mvv-card--vision:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.15); }

.about-mvv-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
}
.about-mvv-card--mission .about-mvv-card-icon {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.about-mvv-card--vision .about-mvv-card-icon {
    background: linear-gradient(135deg, var(--bgfi-accent), var(--bgfi-teal, #12bcbd));
    color: #fff;
    box-shadow: 0 6px 20px rgba(var(--bgfi-accent-rgb), 0.25);
}

.about-mvv-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
}
.about-mvv-card--mission h3 { color: #fff; }
.about-mvv-card--vision h3 { color: var(--bgfi-blue); }

.about-mvv-card .formatted-text { font-size: 14px; line-height: 1.75; }
.about-mvv-card--mission .formatted-text { color: rgba(255,255,255,0.75); }
.about-mvv-card--vision .formatted-text { color: var(--bgfi-text-muted); }

.about-mvv-card .formatted-text li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 5px;
    font-size: 13.5px;
}
.about-mvv-card .formatted-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bgfi-accent);
}

/* --- Values Box --- */
.about-values-box {
    background-image: url('/images/eee.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 44px;
    position: relative;
    overflow: hidden;
}
.about-values-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,26,58,0.55);
    border-radius: 20px;
    z-index: 0;
}

.about-values-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}
.about-values-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-values-icon i { font-size: 18px; color: #fff; }
.about-values-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    position: relative;
    z-index: 2;
}

.about-value-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}
.about-value-card:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.15);
}

.about-value-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
}
.about-value-icon i { font-size: 14px; color: #fff; }

.about-value-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 3px 0;
}
.about-value-text p {
    font-size: 12.5px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.5;
}

/* --- Stats Bar --- */
.about-stats {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
}
.about-stats-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bgfi-blue) 0%, var(--bgfi-blue-dark) 100%);
    z-index: -1;
}

.about-stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.about-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    transition: all 0.3s ease;
}
.about-stat-item:hover { transform: translateY(-3px); }

.about-stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(var(--bgfi-accent-rgb), 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.about-stat-icon i {
    font-size: 22px;
    color: var(--bgfi-green);
    transition: all 0.3s ease;
}
.about-stat-item:hover .about-stat-icon {
    background: var(--bgfi-green);
    transform: rotate(-5deg);
}
.about-stat-item:hover .about-stat-icon i { color: #fff; }

.about-stat-content { text-align: left; }
.about-stat-number {
    display: flex;
    align-items: baseline;
    line-height: 1;
}
.about-stat-count {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
}
.about-stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bgfi-green);
    margin-left: 2px;
}
.about-stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}
.about-stats-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent);
}

/* --- Advantages --- */
.about-advantages { background: #fff; overflow: hidden; }

.about-trust-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.about-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(var(--bgfi-blue-rgb),0.06), rgba(var(--bgfi-accent-rgb),0.06));
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bgfi-accent);
}
.about-trust-badge i { font-size: 12px; }

.about-advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-advantage-inner {
    background: #fff;
    border-radius: 18px;
    padding: 40px 24px 36px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    position: relative;
}
.about-advantage-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bgfi-blue), var(--bgfi-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.about-advantage-card:hover .about-advantage-inner {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(var(--bgfi-blue-rgb), 0.12), 0 8px 24px rgba(0,0,0,0.06);
}
.about-advantage-card:hover .about-advantage-inner::before { opacity: 1; }

.about-advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bgfi-blue), var(--bgfi-accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 6px 20px rgba(var(--bgfi-accent-rgb), 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-advantage-icon i { font-size: 22px; color: #fff; }
.about-advantage-card:hover .about-advantage-icon { transform: scale(1.06); }

.about-advantage-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bgfi-blue);
    margin-bottom: 10px;
    line-height: 1.3;
}
.about-advantage-desc {
    font-size: 13px;
    color: var(--bgfi-text-muted);
    line-height: 1.65;
    margin: 0;
}
.about-advantage-desc p { margin-bottom: 8px; }
.about-advantage-desc p:last-child { margin-bottom: 0; }

/* --- Clients Section --- */
.about-client-stat {
    background: var(--bgfi-white);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.about-client-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.about-client-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}
.about-client-stat-icon i { font-size: 1.5rem; }
.about-client-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bgfi-dark);
    line-height: 1;
    margin-bottom: 5px;
}
.about-client-stat-label {
    font-size: 0.85rem;
    color: var(--bgfi-text-muted);
    font-weight: 500;
}

.bg-primary-soft { background: rgba(var(--bgfi-blue-medium-rgb), 0.1); }
.bg-success-soft { background: rgba(var(--success-rgb, 40,167,69), 0.1); }
.bg-info-soft { background: rgba(var(--bgfi-accent-rgb), 0.1); }
.bg-warning-soft { background: rgba(var(--warning-rgb, 255,193,7), 0.1); }

/* --- Category Cards --- */
.about-category-card {
    background: var(--bgfi-white);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}
.about-category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: var(--cat-gradient);
}
.about-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.about-category-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.about-category-icon {
    width: 60px;
    height: 60px;
    background: var(--cat-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(var(--bgfi-blue-medium-rgb), 0.25);
    transition: all 0.3s ease;
}
.about-category-card:hover .about-category-icon {
    transform: scale(1.1) rotate(-5deg);
}
.about-category-icon i { font-size: 1.5rem; color: #fff; }

.about-category-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bgfi-dark);
    margin: 0 0 5px 0;
}
.about-category-count {
    font-size: 0.85rem;
    color: var(--cat-color);
    font-weight: 600;
    background: rgba(var(--bgfi-blue-medium-rgb), 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.about-filiales-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.about-filiale-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--bgfi-gray-50), var(--bgfi-blue-light));
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.about-filiale-chip:hover {
    background: #fff;
    border-color: var(--cat-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.about-filiale-chip .fi {
    font-size: 1rem;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.about-filiale-chip span { font-size: 0.85rem; font-weight: 600; color: var(--bgfi-dark); }
.about-hq-badge { color: var(--bgfi-gold); font-size: 0.8rem; margin-left: 2px; }

.about-category-more {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #e5e7eb;
    text-align: center;
}
.about-category-more a {
    color: var(--cat-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.about-category-more a:hover { color: var(--bgfi-dark); }
.about-category-more a i { transition: transform 0.3s ease; }
.about-category-more a:hover i { transform: translateX(5px); }

/* --- About Page Formatted Text --- */
.about-mvv-card .formatted-text ul,
.about-advantage-desc ul {
    margin: 10px 0;
    padding-left: 25px;
    list-style: none;
}
.about-mvv-card .formatted-text ul li,
.about-advantage-desc ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* --- About Page Responsive --- */
@media (max-width: 991.98px) {
    .about-img { height: 320px; }
    .about-img-wrap { margin-bottom: 32px; }
    .about-advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats { padding: 40px 0; }
    .about-stat-item { padding: 15px 25px; }
    .about-stat-count { font-size: 2rem; }
    .about-stats-divider { display: none; }
    .about-stats-grid { gap: 10px; }
    .about-values-box { padding: 35px; }
    .about-values-grid { grid-template-columns: repeat(2, 1fr); }
    .about-mvv-cards { gap: 20px; }
    .about-mvv-card { padding: 28px 24px; }
}

@media (max-width: 767.98px) {
    .about-mvv-cards { grid-template-columns: 1fr; }
    .about-mvv-band--duo { padding: 40px 0; }
    .about-advantages-grid { grid-template-columns: 1fr; gap: 16px; }
    .about-advantage-inner { padding: 32px 20px 28px; }
    .about-values-grid { grid-template-columns: 1fr; }
    .about-category-card { padding: 20px; }
    .about-category-header h4 { font-size: 1.1rem; }
    .about-filiale-chip { padding: 8px 12px; }
    .about-filiale-chip span { font-size: 0.8rem; }
}

@media (max-width: 575.98px) {
    .about-actions { flex-direction: column; }
    .about-actions .btn { width: 100%; justify-content: center; }
    .about-img { height: 260px; }
    .about-badge { padding: 14px 18px; }
    .about-badge-number { font-size: 28px; }
    .about-stats-grid { flex-direction: column; gap: 5px; }
    .about-stat-item { width: 100%; justify-content: center; padding: 12px 20px; }
    .about-stat-icon { width: 45px; height: 45px; }
    .about-stat-icon i { font-size: 18px; }
    .about-stat-count { font-size: 1.8rem; }
    .about-values-box { padding: 25px; }
    .about-values-header { flex-direction: column; text-align: center; }
    .about-values-header h3 { font-size: 1.4rem; }
    .about-value-card { padding: 20px; }
    .about-trust-badges { flex-direction: column; align-items: center; }
}

/* ===== Team Cards ===== */
.team-card {
    background: var(--bgfi-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.team-image {
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.team-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bgfi-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bgfi-gray-200);
    font-size: 64px;
}

.team-content {
    padding: var(--space-lg);
    text-align: center;
}

.team-content h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--bgfi-blue-dark);
}

.team-position {
    color: var(--bgfi-blue);
    font-size: 13px;
    font-weight: 500;
}

.team-social {
    margin-top: var(--space-md);
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.team-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bgfi-blue-light);
    color: var(--bgfi-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.team-social a:hover {
    background: var(--bgfi-blue);
    color: white;
}

/* ===== Partner Logos ===== */
.partner-logo {
    background: var(--bgfi-white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    box-shadow: var(--shadow-sm);
}

.partner-logo img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all var(--transition-normal);
}

.partner-logo:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

/* ===== Spontaneous Content ===== */
.spontaneous-content {
    padding: var(--space-lg) 0;
}

.spontaneous-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--bgfi-blue-dark);
}

.spontaneous-content p {
    color: var(--bgfi-gray);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-xl);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 0;
    color: var(--bgfi-gray-dark);
}

.spontaneous-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===== Modern Card (Sidebar) ===== */
.modern-card {
    background: var(--bgfi-white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-lg);
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--bgfi-gray-200);
    background: var(--bgfi-white);
    color: var(--bgfi-gray-600);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.pagination .page-link i {
    font-size: 12px;
}

.pagination .page-link:hover {
    background: var(--bgfi-blue-light);
    border-color: var(--bgfi-blue);
    color: var(--bgfi-blue);
}

.pagination .page-item.active .page-link {
    background: var(--bgfi-blue);
    border-color: var(--bgfi-blue);
    color: white;
}

.pagination .page-item.disabled .page-link {
    background: var(--bgfi-gray-50);
    border-color: var(--bgfi-gray-100);
    color: var(--bgfi-gray-300);
    cursor: not-allowed;
}

/* Hide any stray swiper/carousel navigation */
.section .swiper-button-next,
.section .swiper-button-prev,
.actualites-section .swiper-button-next,
.actualites-section .swiper-button-prev {
    display: none !important;
}

/* ===== Alerts ===== */
.alert {
    border-radius: var(--radius-md);
    border: none;
    padding: var(--space-md) var(--space-lg);
}

.alert-success {
    background: rgba(159, 176, 163, 0.2);
    color: var(--bgfi-green-dark);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

.alert-info {
    background: var(--bgfi-blue-light);
    color: var(--bgfi-blue);
}

/* ===== Badges ===== */
.badge {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bg-success {
    background: var(--bgfi-green) !important;
}

.badge.bg-warning {
    background: var(--warning) !important;
    color: white;
}

.badge.bg-info {
    background: var(--bgfi-blue) !important;
}

/* ===== No Image Placeholder - Enhanced ===== */
.no-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--bgfi-blue-light) 0%, var(--bgfi-gray-100) 50%, var(--bgfi-green-light) 100%);
    background-size: 200% 200%;
    animation: placeholderGradient 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bgfi-blue);
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.no-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
}

.no-image-placeholder i {
    z-index: 1;
    opacity: 0.6;
    transition: all var(--transition-quick);
}

.actualite-card:hover .no-image-placeholder i,
.article-card:hover .no-image-placeholder i {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes placeholderGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* No Logo Placeholder - Enhanced */
.no-logo-placeholder {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bgfi-blue-light) 0%, var(--bgfi-green-light) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bgfi-blue);
    font-size: 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.no-logo-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px dashed var(--bgfi-blue);
    border-radius: inherit;
    opacity: 0.3;
    animation: rotateBorder 15s linear infinite;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.partner-card-v2:hover .no-logo-placeholder,
.partner-card-v3:hover .no-logo-placeholder {
    background: linear-gradient(135deg, var(--bgfi-blue) 0%, var(--bgfi-green) 100%);
    color: white;
    transform: scale(1.05);
}

/* ===== Footer - BGFI Pattern ===== */
.footer-main {
    background: linear-gradient(170deg, var(--bgfi-blue-ultra-dark) 0%, var(--bgfi-blue-dark) 100%);
    color: white;
    padding-top: var(--space-4xl);
    position: relative;
    overflow: hidden;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 8h2v4h-2V8zm-2 2v2h4v-2H8z' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E"),
        radial-gradient(circle at center, rgba(255,255,255,0.06) 0px, transparent 1px);
    background-size: 30px 30px, 20px 20px;
    background-position: 0 0, 10px 10px;
    pointer-events: none;
    z-index: 0;
}

.footer-main > .container,
.footer-main > .footer-content,
.footer-main > * {
    position: relative;
    z-index: 1;
}

.footer-content {
    padding-bottom: var(--space-3xl);
}

/* Footer Brand */
.footer-brand {
    padding-right: var(--space-xl);
}

.footer-logo img {
    height: 70px;
    margin-bottom: var(--space-lg);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--bgfi-green);
    color: white;
    transform: translateY(-2px);
}

/* Footer Widget */
.footer-widget {
    padding-top: var(--space-sm);
}

.footer-title {
    color: white;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--bgfi-green);
}

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

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

.footer-links a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.footer-links a i {
    font-size: 8px;
    margin-right: 10px;
    color: var(--bgfi-green);
    opacity: 0;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a:hover i {
    opacity: 1;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-contact .contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bgfi-green);
    font-size: 14px;
}

.footer-contact .contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-contact .contact-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.footer-contact .contact-text a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: color var(--transition-fast);
}

.footer-contact .contact-text a:hover {
    color: white;
}

/* Footer Certifications */
.footer-certifications {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cert-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: white;
    font-size: 11px;
    font-weight: 600;
}

.cert-badge i {
    color: var(--bgfi-gold);
    margin-right: 4px;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--space-lg) 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 0;
}

.copyright strong {
    color: white;
}

.footer-bottom-links {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-bottom-links a {
    color: var(--bgfi-gold);
    font-weight: 500;
    margin-left: 4px;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bgfi-blue);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--bgfi-green);
    transform: translateY(-3px);
}

/* Legacy footer support */
footer,
.footer {
    background: var(--bgfi-blue-dark);
    color: white;
    padding: var(--space-3xl) 0 0;
}

footer h5 {
    color: white;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
    color: white;
}

/* ===== Hero Carousel - BGFI Style ===== */
.hero-slider {
    position: relative;
    overflow: hidden;
}

/* BGFI Stars on hero slider — Premium visibility */
.hero-star {
    position: absolute;
    pointer-events: none;
    z-index: 3;
    filter: brightness(0) invert(1);
    transition: opacity 0.6s ease;
}
.hero-star-right {
    top: 8%;
    right: -30px;
    width: 520px;
    height: 520px;
    opacity: 0.45;
    transform: rotate(12deg);
}
.hero-star-left {
    bottom: 5%;
    left: -30px;
    width: 440px;
    height: 440px;
    opacity: 0.35;
    transform: rotate(-15deg);
}

.hero-slider .carousel-item {
    height: 85vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(160deg,
        rgba(0,20,50,0.88) 0%,
        rgba(0,35,70,0.6) 40%,
        rgba(0,50,90,0.3) 70%,
        rgba(0,58,116,0.15) 100%
    );
    display: flex;
    align-items: center;
    z-index: 2;
}

/* Exclude hero-slider from global star decorations */
.hero-slider::before,
.hero-slider::after {
    display: none !important;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    backdrop-filter: blur(12px);
    margin-bottom: var(--space-lg);
    border: 2px solid var(--bgfi-green);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--bgfi-blue);
    color: white;
    border: 1.5px solid var(--bgfi-blue);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.01em;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero:hover {
    background: white;
    border-color: white;
    color: var(--bgfi-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Carousel Controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 60px;
    opacity: 0.7;
    z-index: 5;
    transition: opacity var(--transition-fast);
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    opacity: 1;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    background-size: 40%;
}

.hero-slider .carousel-indicators {
    margin-bottom: 30px;
}

.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    opacity: 0.5;
    transition: all var(--transition-fast);
}

.hero-slider .carousel-indicators button.active {
    opacity: 1;
    background: var(--bgfi-green);
    transform: scale(1.2);
}

/* ===== About Home Section ===== */
.about-home-section {
    background: var(--bgfi-white);
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bgfi-blue);
    color: white;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .years {
    display: block;
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.about-experience-badge .text {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.about-text {
    color: var(--bgfi-gray);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.about-features {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.about-feature .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: var(--radius-md);
    background: var(--bgfi-blue-light);
    color: var(--bgfi-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.about-feature .feature-content h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--bgfi-gray-dark);
}

.about-feature .feature-content span {
    font-size: 13px;
    color: var(--bgfi-gray);
}

/* ===== About Home Image Wrapper avec motifs étoiles polaires ===== */
.about-home-image-wrapper {
    position: relative;
    padding: 30px;
}

.about-home-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-home-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.about-home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 61, 121, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Cadre décoratif avec motifs étoiles polaires */
.about-home-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 30px;
    bottom: 30px;
    border: 2px solid var(--bgfi-blue);
    border-radius: var(--radius-lg);
    opacity: 0.15;
    z-index: -1;
}

.about-home-image-wrapper::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: var(--radius-lg);
    background-image:
        /* Étoiles polaires */
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23003D79' fill-opacity='0.08'%3E%3Cpath d='M30 28l2 2-2 2-2-2 2-2zm0-8l1 4-1 1-1-1 1-4zm0 16l1-4-1-1-1 1 1 4zm8-8l-4 1-1-1 1-1 4 1zm-16 0l4 1 1-1-1-1-4 1z'/%3E%3C/g%3E%3C/svg%3E"),
        /* Losanges subtils */
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18l2 2-2 2-2-2 2-2z' fill='%23003D79' fill-opacity='0.05'/%3E%3C/svg%3E");
    background-size: 60px 60px, 40px 40px;
    background-position: 0 0, 20px 20px;
    z-index: -1;
    pointer-events: none;
}

/* Décorations coins */
.about-home-decoration-1 {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23003D79' stroke-opacity='0.2'%3E%3Cpath d='M40 10l5 15-5 5-5-5 5-15z'/%3E%3Cpath d='M10 40l15 5 5-5-5-5-15 5z'/%3E%3Ccircle cx='40' cy='40' r='3' fill='%23003D79' fill-opacity='0.15'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
    pointer-events: none;
}

.about-home-decoration-2 {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%239FB0A3' stroke-opacity='0.3'%3E%3Cpath d='M40 70l-5-15 5-5 5 5-5 15z'/%3E%3Cpath d='M70 40l-15-5-5 5 5 5 15-5z'/%3E%3Ccircle cx='40' cy='40' r='3' fill='%239FB0A3' fill-opacity='0.2'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
    pointer-events: none;
}

/* Badge expérience */
.about-home-experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 10;
    animation: floatBadge 4s ease-in-out infinite;
}

.about-home-experience-badge .badge-inner {
    background: linear-gradient(135deg, var(--bgfi-blue) 0%, var(--bgfi-blue-dark) 100%);
    color: white;
    padding: 20px 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 61, 121, 0.3);
    position: relative;
    overflow: hidden;
}

.about-home-experience-badge .badge-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M20 18l2 2-2 2-2-2 2-2zm0-6l1 3-1 1-1-1 1-3zm0 12l1-3-1-1-1 1 1 3zm6-6l-3 1-1-1 1-1 3 1zm-12 0l3 1 1-1-1-1-3 1z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 40px 40px;
    pointer-events: none;
}

.about-home-experience-badge .years {
    display: block;
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.about-home-experience-badge .text {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Responsive */
@media (max-width: 991.98px) {
    .about-home-image-wrapper {
        padding: 20px;
        margin-bottom: var(--space-xl);
    }

    .about-home-decoration-1,
    .about-home-decoration-2 {
        width: 60px;
        height: 60px;
    }
}

/* ===== Expertises Home Section ===== */
.expertise-home-card {
    background: var(--bgfi-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--bgfi-gray-200);
    border-left: 4px solid transparent;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.expertise-home-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--bgfi-blue);
}

.expertise-home-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(var(--bgfi-blue-rgb, 0, 58, 116), 0.15);
}

.expertise-home-icon i {
    font-size: 1.5rem;
    color: var(--bgfi-white);
}

.expertise-home-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--bgfi-blue-dark);
}

.expertise-home-desc {
    color: var(--bgfi-gray-600);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.expertise-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bgfi-blue);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.expertise-home-link:hover {
    gap: 14px;
    color: var(--bgfi-blue-dark);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: linear-gradient(135deg, var(--bgfi-blue-dark) 0%, var(--bgfi-blue) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Étoiles polaires */
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M30 28l2 2-2 2-2-2 2-2zm0-8l1 4-1 1-1-1 1-4zm0 16l1-4-1-1-1 1 1 4zm8-8l-4 1-1-1 1-1 4 1zm-16 0l4 1 1-1-1-1-4 1z'/%3E%3C/g%3E%3C/svg%3E"),
        /* Losanges */
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18l2 2-2 2-2-2 2-2z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E"),
        radial-gradient(circle at center, rgba(255,255,255,0.1) 0px, transparent 1.5px);
    background-size: 60px 60px, 40px 40px, 25px 25px;
    background-position: 0 0, 20px 20px, 12px 12px;
    pointer-events: none;
    z-index: 0;
    animation: patternFloat 12s ease-in-out infinite;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 70%;
    height: 160%;
    background:
        radial-gradient(ellipse at 40% 50%, rgba(199,212,169,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(255,255,255,0.04) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: lightWave 18s ease-in-out infinite;
}

.testimonials-section .section-header {
    position: relative;
    z-index: 1;
}

.testimonials-section .section-title::after {
    background: var(--bgfi-gold);
}

.testimonial-card {
    background: var(--bgfi-white);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    height: 100%;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    color: var(--bgfi-blue-light);
    font-size: 32px;
}

.testimonial-rating {
    margin-bottom: var(--space-md);
}

.testimonial-rating i {
    color: var(--bgfi-gold);
    font-size: 14px;
}

.testimonial-content {
    color: var(--bgfi-gray);
    font-size: 14px;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border-top: 1px solid var(--bgfi-gray-100);
    padding-top: var(--space-md);
}

.testimonial-author .author-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author .author-photo-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bgfi-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bgfi-blue);
}

.testimonial-author .author-info strong {
    display: block;
    font-size: 14px;
    color: var(--bgfi-gray-dark);
}

.testimonial-author .author-info span {
    font-size: 12px;
    color: var(--bgfi-gray);
}

/* ===== Partners Section ===== */
.partners-section {
    background: var(--bgfi-gray-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-name {
    font-weight: 600;
    color: var(--bgfi-gray);
}

/* ===== Partners Section V2 - Card Style ===== */
.partners-section-v2 {
    background: var(--bgfi-gray-50);
    padding: var(--space-4xl) 0;
}

/* Grid: 4 colonnes desktop, 3 tablet, 2 mobile, 1 petit mobile */
.partners-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: var(--space-xl);
}

@media (max-width: 1199.98px) {
    .partners-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .partners-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 479.98px) {
    .partners-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* Card partenaire V2 */
.partner-card-v2 {
    background: var(--bgfi-white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--bgfi-gray-200);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
    height: 100%;
    min-height: 220px;
}

.partner-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(20, 101, 163, 0.15);
    border-color: var(--bgfi-blue);
}

/* Logo */
.partner-logo-v2 {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.partner-logo-v2 img {
    max-width: 110px;
    max-height: 50px;
    object-fit: contain;
    transition: opacity 200ms ease;
}

.partner-card-v2:hover .partner-logo-v2 img {
    opacity: 1;
}

.partner-logo-placeholder {
    width: 60px;
    height: 60px;
    background: var(--bgfi-blue-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bgfi-blue);
    font-size: 24px;
}

/* Nom (bold) */
.partner-name-v2 {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    color: var(--bgfi-gray-900);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

/* Badge catégorie */
.partner-category {
    display: inline-block;
    background: var(--bgfi-blue-light);
    color: var(--bgfi-blue);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
}

/* Description (1 ligne max) */
.partner-desc {
    font-size: 13px;
    color: var(--bgfi-gray-600);
    line-height: 1.5;
    margin: 0 0 12px 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Lien "Visiter le site" */
.partner-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--bgfi-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 200ms ease, transform 200ms ease;
}

.partner-link i {
    font-size: 10px;
}

.partner-card-v2:hover .partner-link {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Partners Section V3 - Design Animé Premium ===== */
.partners-section-v3 {
    background: linear-gradient(180deg, var(--bgfi-gray-50) 0%, var(--bgfi-white) 100%);
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.partners-section-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bgfi-blue), var(--bgfi-green), var(--bgfi-gold), var(--bgfi-blue));
    background-size: 300% 100%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.partners-grid-v3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: var(--space-xl);
}

@media (max-width: 1199.98px) {
    .partners-grid-v3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .partners-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 479.98px) {
    .partners-grid-v3 {
        grid-template-columns: 1fr;
    }
}

/* Partner Card V3 */
.partner-card-v3 {
    position: relative;
    text-decoration: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: block;
}

.partner-card-inner {
    background: var(--bgfi-white);
    border-radius: var(--radius-xl);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 240px;
    position: relative;
    z-index: 2;
    border: 2px solid var(--bgfi-gray-200);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.partner-card-v3:hover .partner-card-inner {
    transform: translateY(-3px);
    border-color: var(--partner-color, var(--bgfi-blue));
    box-shadow: 0 20px 50px rgba(20, 101, 163, 0.15);
}

.partner-card-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--partner-color, var(--bgfi-blue)) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: 1;
    filter: blur(40px);
}

.partner-card-v3:hover .partner-card-glow {
    opacity: 0.15;
}

/* Partner Logo V3 */
.partner-logo-v3 {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.partner-logo-v3 img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    transition: transform var(--transition-smooth);
}

.partner-card-v3:hover .partner-logo-v3 img {
    transform: scale(1.1);
}

/* Partner Icon Wrapper - Pour les placeholders animés */
.partner-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-icon-wrapper i {
    font-size: 32px;
    color: var(--partner-color, var(--bgfi-blue));
    z-index: 3;
    position: relative;
    transition: all var(--transition-smooth);
}

.partner-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--partner-color, var(--bgfi-blue)) 0%, transparent 100%);
    opacity: 0.1;
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.partner-icon-ring {
    position: absolute;
    inset: -4px;
    border: 2px dashed var(--partner-color, var(--bgfi-blue));
    border-radius: var(--radius-lg);
    opacity: 0.3;
    animation: rotateRing 20s linear infinite;
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.partner-card-v3:hover .partner-icon-wrapper i {
    transform: scale(1.15);
    color: var(--bgfi-white);
}

.partner-card-v3:hover .partner-icon-bg {
    opacity: 1;
    border-radius: 50%;
}

.partner-card-v3:hover .partner-icon-ring {
    animation-duration: 4s;
    opacity: 0.6;
    inset: -8px;
}

/* Partner Info */
.partner-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-name-v3 {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    color: var(--bgfi-gray-900);
    margin: 0 0 8px 0;
    transition: color var(--transition-quick);
}

.partner-card-v3:hover .partner-name-v3 {
    color: var(--partner-color, var(--bgfi-blue));
}

.partner-category-v3 {
    display: inline-block;
    background: linear-gradient(135deg, var(--bgfi-blue-light) 0%, var(--bgfi-green-light) 100%);
    color: var(--bgfi-blue);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    transition: all var(--transition-quick);
}

.partner-card-v3:hover .partner-category-v3 {
    background: var(--partner-color, var(--bgfi-blue));
    color: white;
}

.partner-desc-v3 {
    font-size: 13px;
    color: var(--bgfi-gray-500);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Partner Hover Content */
.partner-hover-content {
    margin-top: auto;
    padding-top: 16px;
}

.partner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bgfi-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-quick);
}

.partner-cta i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.partner-card-v3:hover .partner-cta {
    opacity: 1;
    transform: translateY(0);
}

.partner-card-v3:hover .partner-cta i {
    transform: translateX(4px);
}

/* Pulse animation for icons */
@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.partner-icon-wrapper {
    animation: iconPulse 3s ease-in-out infinite;
}

.partner-card-v3:hover .partner-icon-wrapper {
    animation: none;
}

/* Stats suffix */
.stat-suffix {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 600;
    color: var(--bgfi-blue-dark);
    vertical-align: baseline;
}

.stats-section.colored .stat-suffix {
    color: white;
}

/* ===== Partners Section V4 - Premium Logo-Focused Design ===== */
.partners-section-v4 {
    background: linear-gradient(180deg, var(--bgfi-white) 0%, var(--bgfi-gray-50) 50%, var(--bgfi-white) 100%);
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.partners-section-v4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bgfi-blue), var(--bgfi-green), var(--bgfi-gold));
}

.partners-showcase {
    position: relative;
    padding: 40px 0;
}

.partners-showcase::before,
.partners-showcase::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-grid-v4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1199.98px) {
    .partners-grid-v4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 767.98px) {
    .partners-grid-v4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 479.98px) {
    .partners-grid-v4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.partner-item-v4 {
    position: relative;
    z-index: 1;
}

.partner-link-v4 {
    display: block;
    text-decoration: none;
}

.partner-logo-container {
    position: relative;
    background: var(--bgfi-white);
    border-radius: 16px;
    height: 120px;
    display: block;
    border: 1px solid var(--bgfi-gray-200);
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    padding: 0;
}

.partner-logo-container:hover {
    border-color: var(--bgfi-blue);
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(20, 101, 163, 0.15);
}

.partner-logo-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 20px !important;
    display: block !important;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-smooth);
    box-sizing: border-box;
}

.partner-logo-container:hover .partner-logo-img {
    transform: scale(1.05);
}

/* Ensure partner logos are always visible above injected stars */
.partners-section-v4 .partners-grid-v4 {
    position: relative;
    z-index: 1;
}

/* Overlay must be above the image for clicks */
.partner-overlay {
    z-index: 2;
}

.partner-placeholder-logo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--bgfi-blue-light) 0%, var(--bgfi-green-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
}

.partner-logo-container:hover .partner-placeholder-logo {
    background: linear-gradient(135deg, var(--bgfi-blue) 0%, var(--bgfi-green) 100%);
    transform: scale(1.1);
}

.partner-initials {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 800;
    color: var(--bgfi-blue);
    letter-spacing: 2px;
    transition: color 0.4s ease;
}

.partner-logo-container:hover .partner-initials {
    color: #ffffff;
}

.partner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 51, 102, 0.95) 0%, rgba(20, 101, 163, 0.98) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.partner-logo-container:hover .partner-overlay {
    opacity: 1;
}

.partner-details {
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: transform var(--transition-smooth);
}

.partner-logo-container:hover .partner-details {
    transform: translateY(0);
}

.partner-details .partner-name {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.partner-details .partner-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--bgfi-gold);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.partner-details .partner-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.partner-details .partner-visit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    transition: all var(--transition-quick);
}

.partner-details .partner-visit:hover {
    background: rgba(255, 255, 255, 0.25);
}

.partner-details .partner-visit i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.partner-logo-container:hover .partner-visit i {
    transform: translateX(3px);
}

/* Partners grid decorative elements */
.partners-section-v4 .section-header {
    position: relative;
    z-index: 1;
}

.partners-section-v4 .section-subtitle {
    background: var(--bgfi-blue-medium, #0056b3);
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    background-clip: unset;
    color: #ffffff;
    border: 1px solid #a9b597;
}

/* ===== Link Arrow ===== */
.link-arrow {
    color: var(--bgfi-blue);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap var(--transition-fast);
}

.link-arrow:hover {
    gap: 12px;
    color: var(--bgfi-blue-dark);
}

/* ===== Utilities ===== */
.bg-light {
    background: var(--bgfi-gray-light) !important;
}

.bg-blue-light {
    background: var(--bgfi-blue-light) !important;
}

.bg-bgfi-primary {
    background: var(--bgfi-blue) !important;
}

.bg-bgfi-dark {
    background: var(--bgfi-blue-dark) !important;
}

.text-primary {
    color: var(--bgfi-blue) !important;
}

.text-muted {
    color: var(--bgfi-gray) !important;
}

.text-success {
    color: var(--bgfi-green) !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.rounded {
    border-radius: var(--radius-md) !important;
}

.rounded-lg {
    border-radius: var(--radius-lg) !important;
}

/* ===== Responsive ===== */
@media (max-width: 1199.98px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-features {
        flex-direction: column;
        gap: var(--space-md);
    }
}

@media (max-width: 991.98px) {
    .page-header {
        padding: 80px 0 50px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .stat-item .number,
    .stat-number {
        font-size: 32px;
    }

    .stat-suffix {
        font-size: 22px;
    }

    .hero-slider .carousel-item {
        height: 65vh;
        min-height: 450px;
    }

    .hero-star-right {
        width: 400px;
        height: 400px;
        opacity: 0.38;
    }
    .hero-star-left {
        width: 320px;
        height: 320px;
        opacity: 0.30;
    }

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

    .hero-description {
        font-size: 16px;
    }

    .navbar-collapse {
        background: var(--bgfi-white);
        padding: 16px 20px;
        border-radius: 8px;
        margin-top: 12px;
        box-shadow: 0 4px 20px rgba(var(--bgfi-blue-dark-rgb), 0.12);
        border-top: 2px solid var(--bgfi-green);
        max-height: 70vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-collapse.show {
        animation: slideDown 0.3s ease-out;
    }

    .navbar-nav {
        gap: 0;
    }

    .navbar .nav-link {
        padding: 14px 16px;
        font-size: 15px;
        min-height: 44px;
        color: var(--bgfi-blue);
        border-radius: 6px;
        margin-bottom: 2px;
        border-bottom: 1px solid rgba(var(--bgfi-blue-rgb), 0.06);
    }

    .navbar .nav-link::after {
        display: none;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link:focus {
        background: rgba(var(--bgfi-blue-rgb), 0.04);
        color: var(--bgfi-blue-dark);
    }

    .navbar .nav-link.active {
        background: var(--bgfi-blue-light, #e8f0fe);
        color: var(--bgfi-blue-dark);
        font-weight: 600;
        border-left: 3px solid var(--bgfi-green);
    }

    /* Mobile Dropdowns */
    .navbar .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--bgfi-green);
        border-top: none;
        border-radius: 0;
        margin: 0 0 8px 16px;
        padding: 8px 0;
        background: rgba(var(--bgfi-blue-rgb), 0.02);
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: none !important;
    }

    .navbar .dropdown-menu.show {
        display: block !important;
    }

    .navbar .dropdown-item {
        padding: 12px 16px;
        font-size: 14px;
        color: var(--bgfi-blue);
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Reset the underline animation on dropdown toggles - restore Bootstrap caret */
    .navbar .nav-link.dropdown-toggle::after {
        position: static;
        display: inline-block;
        width: auto;
        height: auto;
        left: auto;
        right: auto;
        bottom: auto;
        background: none;
        border-radius: 0;
        transform: none;
        transform-origin: initial;
        float: right;
        margin-top: 8px;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        transition: transform 0.2s ease;
    }

    .navbar .dropdown.show .nav-link.dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .navbar-cta {
        margin: 16px 0 0;
        padding-top: 16px;
        border-top: 1px solid rgba(var(--bgfi-blue-rgb), 0.08);
    }

    .btn-navbar-cta {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .about-experience-badge {
        bottom: 20px;
        right: 20px;
        padding: var(--space-md);
    }

    .about-experience-badge .years {
        font-size: 28px;
    }

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

    .footer-certifications .cert-badges {
        justify-content: center;
        margin-top: var(--space-sm);
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header p {
        font-size: 14px;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item .number,
    .stat-number {
        font-size: 28px;
    }

    .stat-suffix {
        font-size: 18px;
    }

    .job-card {
        flex-direction: column;
        text-align: center;
    }

    .job-header {
        flex-direction: column;
        align-items: center;
    }

    .job-meta {
        justify-content: center;
    }

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

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact li {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-slider .carousel-item {
        height: 60vh;
        min-height: 400px;
    }

    .hero-star-right {
        width: 280px;
        height: 280px;
        opacity: 0.32;
    }
    .hero-star-left {
        width: 220px;
        height: 220px;
        opacity: 0.25;
    }

    /* Carousel arrows responsive for mobile — 44px min touch target */
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 44px;
    }

    .hero-slider .carousel-control-prev-icon,
    .hero-slider .carousel-control-next-icon {
        width: 44px;
        height: 44px;
        background-size: 35%;
    }

    .hero-slider .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }

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

    .hero-description {
        font-size: 14px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 6px 14px;
    }

    .btn-hero {
        padding: 14px 28px;
        font-size: 13px;
    }

    .expertise-card,
    .advantage-card,
    .mvv-card {
        padding: var(--space-lg);
    }

    .newsletter-form .input-group {
        flex-direction: column;
        border-radius: var(--radius-md);
    }

    .newsletter-form .input-group-text {
        display: none;
    }

    .newsletter-form .form-control {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .btn-newsletter {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        justify-content: center;
    }

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

    .about-experience-badge {
        position: static;
        margin-top: var(--space-md);
        display: inline-block;
    }

    .cert-badges {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}

/* ===== Animations ===== */
[data-aos] {
    transition-duration: 600ms;
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* =====================================================
   UNIFIED DESIGN COMPONENTS V2
===================================================== */

/* ===== Unified Card System - Style plat BGFI Europe ===== */
.card-unified {
    background: var(--bgfi-white);
    border-radius: var(--radius-lg);
    box-shadow: none;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-unified:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--bgfi-blue);
}

.card-unified .card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-unified .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card-unified:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-unified .card-img-wrapper .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,36,76,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card-unified:hover .card-img-wrapper .overlay {
    opacity: 1;
}

.card-unified .card-body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-unified .card-title {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--bgfi-gray-800);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.card-unified .card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.card-unified .card-title a:hover {
    color: var(--bgfi-blue);
}

.card-unified .card-text {
    color: var(--bgfi-gray-600);
    font-size: var(--text-sm);
    line-height: 1.7;
    flex: 1;
}

.card-unified .card-footer {
    padding-top: var(--space-md);
    margin-top: auto;
    border-top: 1px solid var(--bgfi-gray-200);
}

/* ===== Unified Section Headers ===== */
.section-header-unified {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header-unified .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--bgfi-blue), var(--bgfi-blue-medium));
    color: var(--bgfi-white);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-md);
}

.section-header-unified .section-badge.green {
    background: linear-gradient(135deg, var(--bgfi-green), var(--bgfi-green-dark));
}

.section-header-unified .section-badge.gold {
    background: linear-gradient(135deg, var(--bgfi-blue), var(--bgfi-blue-dark));
}

.section-header-unified h2 {
    font-family: var(--font-primary);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--bgfi-gray-800);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-header-unified p {
    color: var(--bgfi-gray-600);
    font-size: var(--text-lg);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Unified Buttons ===== */
.btn-primary-unified {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--bgfi-blue), var(--bgfi-blue-medium));
    color: var(--bgfi-white);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary-unified:hover {
    background: linear-gradient(135deg, var(--bgfi-blue-dark), var(--bgfi-blue));
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: var(--bgfi-white);
}

.btn-secondary-unified {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    background: transparent;
    color: var(--bgfi-blue);
    border: 2px solid var(--bgfi-blue);
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-secondary-unified:hover {
    background: var(--bgfi-blue);
    color: var(--bgfi-white);
    transform: translateY(-1px);
}

.btn-accent-unified {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--bgfi-green), var(--bgfi-green-dark));
    color: var(--bgfi-white);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-accent-unified:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: var(--bgfi-white);
}

/* ===== Link Buttons ===== */
.link-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--bgfi-blue);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.link-btn:hover {
    color: var(--bgfi-green);
    gap: var(--space-md);
}

.link-btn i {
    transition: transform var(--transition-fast);
}

.link-btn:hover i {
    transform: translateX(4px);
}

/* ===== Badge System ===== */
.badge-unified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-unified.primary {
    background: var(--bgfi-blue);
    color: var(--bgfi-white);
}

.badge-unified.green {
    background: var(--bgfi-green);
    color: var(--bgfi-white);
}

.badge-unified.gold {
    background: var(--bgfi-gold);
    color: var(--bgfi-white);
}

.badge-unified.light {
    background: var(--bgfi-gray-200);
    color: var(--bgfi-gray-700);
}

/* ===== Icon Boxes ===== */
.icon-box-unified {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all var(--transition-normal);
}

.icon-box-unified.blue {
    background: var(--bgfi-blue-light);
    color: var(--bgfi-blue);
}

.icon-box-unified.green {
    background: var(--bgfi-green-light);
    color: var(--bgfi-green);
}

.icon-box-unified.gradient {
    background: linear-gradient(135deg, var(--bgfi-blue), var(--bgfi-blue-medium));
    color: var(--bgfi-white);
}

/* ===== Advantage Cards (unified across pages) ===== */
.advantage-card-unified {
    background: var(--bgfi-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bgfi-gray-200);
    transition: all var(--transition-bounce);
    height: 100%;
}

.advantage-card-unified:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.advantage-card-unified:hover .icon-box-unified.blue {
    background: linear-gradient(135deg, var(--bgfi-blue), var(--bgfi-blue-medium));
    color: var(--bgfi-white);
    transform: scale(1.1);
}

.advantage-card-unified .icon-box-unified {
    margin: 0 auto var(--space-lg);
}

.advantage-card-unified h4 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--bgfi-gray-800);
    margin-bottom: var(--space-sm);
}

.advantage-card-unified p {
    color: var(--bgfi-gray-600);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin: 0;
}

/* ===== Sidebar Widgets ===== */
.sidebar-widget-unified {
    background: var(--bgfi-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bgfi-gray-200);
    margin-bottom: var(--space-lg);
}

.sidebar-widget-unified .widget-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--bgfi-gray-200);
}

.sidebar-widget-unified .widget-header .widget-icon {
    width: 40px;
    height: 40px;
    background: var(--bgfi-blue-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bgfi-blue);
    font-size: 16px;
}

.sidebar-widget-unified .widget-header h5 {
    font-size: var(--text-base);
    font-weight: 700;
    margin: 0;
    color: var(--bgfi-gray-800);
}

/* ===== Stats Section Unified ===== */
.stats-bar-unified {
    background: linear-gradient(135deg, var(--bgfi-blue-dark), var(--bgfi-blue));
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-2xl);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.stats-bar-unified .stat-item {
    text-align: center;
    color: var(--bgfi-white);
}

.stats-bar-unified .stat-number {
    font-size: var(--text-4xl);
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.stats-bar-unified .stat-label {
    font-size: var(--text-xs);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Empty States ===== */
.empty-state-unified {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
    background: var(--bgfi-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.empty-state-unified .empty-icon {
    width: 100px;
    height: 100px;
    background: var(--bgfi-blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xl);
}

.empty-state-unified .empty-icon i {
    font-size: 40px;
    color: var(--bgfi-blue);
    opacity: 0.5;
}

.empty-state-unified h4 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--bgfi-gray-800);
    margin-bottom: var(--space-sm);
}

.empty-state-unified p {
    color: var(--bgfi-gray-600);
    margin-bottom: var(--space-lg);
}

/* ===== Form Enhanced ===== */
.form-enhanced .form-control,
.form-enhanced .form-select {
    padding: 14px 18px;
    border: 2px solid var(--bgfi-gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.form-enhanced .form-control:focus,
.form-enhanced .form-select:focus {
    border-color: var(--bgfi-blue);
    box-shadow: 0 0 0 4px rgba(20, 101, 163, 0.1);
}

.form-enhanced .form-label {
    font-weight: 600;
    color: var(--bgfi-gray-700);
    margin-bottom: var(--space-sm);
}

.form-enhanced .input-group-text {
    background: var(--bgfi-blue-light);
    border: 2px solid var(--bgfi-gray-200);
    border-right: none;
    color: var(--bgfi-blue);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.form-enhanced .input-group .form-control {
    border-left: none;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 991.98px) {
    .section-header-unified h2 {
        font-size: var(--text-3xl);
    }

    .stats-bar-unified {
        padding: var(--space-lg);
    }

    .stats-bar-unified .stat-number {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 767.98px) {
    .section-header-unified h2 {
        font-size: var(--text-2xl);
    }

    .stats-bar-unified .stat-item {
        flex: 0 0 50%;
    }

    .advantage-card-unified {
        padding: var(--space-lg);
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .top-bar,
    footer,
    .cta-section {
        display: none;
    }

    .page-header {
        background: var(--bgfi-gray-light);
        color: var(--bgfi-gray-dark);
    }

    .page-header h1,
    .page-header p {
        color: var(--bgfi-gray-dark);
    }
}

/* =====================================================
   FOOTER V2 - REDESIGNED
===================================================== */

/* ===== Newsletter Section V2 ===== */
.newsletter-section-v2 {
    background: linear-gradient(135deg, var(--bgfi-blue) 0%, var(--bgfi-blue-dark) 100%);
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.newsletter-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.newsletter-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.deco-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.deco-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -80px;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    color: white;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--bgfi-gold), var(--bgfi-gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    box-shadow: 0 10px 30px rgba(197, 165, 114, 0.3);
}

.newsletter-icon i {
    font-size: 28px;
    color: white;
}

.newsletter-content h3 {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-sm);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-base);
    margin: 0;
    line-height: 1.6;
}

.newsletter-form-v2 {
    position: relative;
    z-index: 1;
}

.newsletter-form-v2 .form-wrapper {
    display: flex;
    gap: var(--space-sm);
    background: white;
    border-radius: var(--radius-full);
    padding: 6px;
    box-shadow: var(--shadow-lg);
}

.newsletter-form-v2 .input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-form-v2 .input-icon {
    position: absolute;
    left: 20px;
    color: var(--bgfi-gray-400);
    font-size: 16px;
}

.newsletter-form-v2 .form-control {
    width: 100%;
    border: none;
    background: transparent;
    padding: 16px 16px 16px 50px;
    font-size: var(--text-base);
    color: var(--bgfi-gray-800);
}

.newsletter-form-v2 .form-control:focus {
    outline: none;
    box-shadow: none;
}

.newsletter-form-v2 .form-control::placeholder {
    color: var(--bgfi-gray-400);
}

.btn-subscribe {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--bgfi-green), var(--bgfi-blue-medium));
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-subscribe:hover {
    background: linear-gradient(135deg, var(--bgfi-blue-medium), var(--bgfi-green));
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(159, 176, 163, 0.4);
}

.btn-subscribe i {
    transition: transform var(--transition-fast);
}

.btn-subscribe:hover i {
    transform: translateX(4px);
}

.newsletter-form-v2 .form-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-xs);
    margin-top: var(--space-md);
    text-align: center;
}

/* ===== Footer V2 Main ===== */
.footer-v2 {
    background: var(--bgfi-blue-dark);
    color: white;
    padding-top: var(--space-4xl);
}

.footer-grid {
    padding-bottom: var(--space-3xl);
}

/* Footer Brand V2 */
.footer-brand-v2 {
    padding-right: var(--space-xl);
}

.footer-logo-v2 img {
    height: 48px;
    margin-bottom: var(--space-lg);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    font-weight: 500;
}

.footer-social-v2 {
    display: flex;
    gap: 12px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 18px;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--bgfi-green);
    color: white;
    transform: translateY(-1px);
    border-color: var(--bgfi-green);
}

/* Footer Widget V2 */
.footer-widget-v2 {
    padding-top: var(--space-xs);
}

.widget-title {
    color: white;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--bgfi-green), var(--bgfi-gold));
    border-radius: 2px;
}

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

.footer-nav li {
    margin-bottom: 14px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.footer-nav a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--bgfi-green);
    position: absolute;
    left: 0;
    bottom: -2px;
    transition: width var(--transition-fast);
}

.footer-nav a:hover {
    color: white;
    padding-left: 8px;
}

.footer-nav a:hover::before {
    width: 20px;
}

/* Footer Contact V2 */
.footer-contact-v2 {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-contact-v2 .contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-contact-v2 .contact-item i {
    width: 20px;
    color: var(--bgfi-green);
    font-size: 14px;
}

.footer-contact-v2 .contact-item span,
.footer-contact-v2 .contact-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-contact-v2 .contact-item a:hover {
    color: white;
}

/* Certifications Bar */
.certifications-bar {
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cert-label-v2 {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.cert-list {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cert-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cert-item i {
    color: var(--bgfi-gold);
}

/* Footer Bottom V2 */
.footer-bottom-v2 {
    background: rgba(0, 0, 0, 0.25);
    padding: var(--space-lg) 0;
}

.copyright-v2 {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
    margin: 0;
}

.copyright-v2 strong {
    color: white;
}

.subsidiary-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}

.subsidiary-text a {
    color: var(--bgfi-gold);
    font-weight: 600;
    margin-left: 4px;
    transition: color var(--transition-fast);
}

.subsidiary-text a:hover {
    color: white;
}

/* Footer Legal Links */
.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--bgfi-gold);
}

.footer-legal-links .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: var(--text-xs);
}

/* Back to Top V2 */
.back-to-top-v2 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--bgfi-blue), var(--bgfi-blue-dark));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top-v2.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-v2:hover {
    background: linear-gradient(135deg, var(--bgfi-green), var(--bgfi-blue-medium));
    transform: translateY(-1px);
}

/* ===== Footer V2 Responsive ===== */
@media (max-width: 991px) {
    .newsletter-card {
        padding: var(--space-2xl);
    }

    .newsletter-content h3 {
        font-size: var(--text-2xl);
    }

    .footer-brand-v2 {
        padding-right: 0;
        margin-bottom: var(--space-xl);
    }

    .cert-list {
        justify-content: flex-start;
        margin-top: var(--space-md);
    }
}

@media (max-width: 767px) {
    .newsletter-section-v2 {
        padding: var(--space-3xl) 0;
    }

    .newsletter-card {
        padding: var(--space-xl);
    }

    .newsletter-icon {
        width: 56px;
        height: 56px;
    }

    .newsletter-icon i {
        font-size: 22px;
    }

    .newsletter-form-v2 .form-wrapper {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: var(--space-sm);
    }

    .newsletter-form-v2 .input-wrapper {
        width: 100%;
    }

    .newsletter-form-v2 .form-control {
        padding: 14px 14px 14px 45px;
    }

    .btn-subscribe {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .footer-v2 {
        padding-top: var(--space-3xl);
    }

    .widget-title {
        margin-bottom: var(--space-lg);
    }

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

    .certifications-bar {
        text-align: center;
    }

    .cert-label-v2 {
        display: block;
        margin-bottom: var(--space-md);
    }

    .cert-list {
        justify-content: center;
    }

    .back-to-top-v2 {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* =====================================================
   FOOTER V3 - MODERN PROFESSIONAL DESIGN
   BGFI Bank Brand Colors System
===================================================== */

/* ===== Newsletter Section V3 ===== */
.newsletter-section-v3 {
    background: linear-gradient(135deg, var(--bgfi-blue) 0%, var(--bgfi-blue-dark) 50%, var(--bgfi-blue-dark) 100%);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-card-v3 {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 32px 40px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.newsletter-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.newsletter-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
}

.newsletter-bg-shapes .shape--1 {
    width: 400px;
    height: 400px;
    top: -180px;
    right: -120px;
    background: radial-gradient(circle, rgba(168, 184, 138, 0.12) 0%, transparent 70%);
}

.newsletter-bg-shapes .shape--2 {
    width: 300px;
    height: 300px;
    bottom: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(var(--bgfi-blue-rgb), 0.08) 0%, transparent 70%);
}

.newsletter-content-v3 {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 184, 138, 0.15);
    border: 1px solid rgba(168, 184, 138, 0.25);
    color: var(--bgfi-blue-medium);
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.newsletter-badge i {
    font-size: 12px;
}

.newsletter-content-v3 h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.newsletter-content-v3 p {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-primary);
    font-size: 15px;
    margin: 0;
    line-height: 1.7;
}

.newsletter-form-v3 {
    position: relative;
    z-index: 1;
}

.form-wrapper-v3 {
    display: flex;
    gap: 0;
    background: var(--bgfi-white);
    border-radius: 60px;
    padding: 5px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.input-wrapper-v3 {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-v3 {
    position: absolute;
    left: 22px;
    color: var(--bgfi-gray-400);
    font-size: 15px;
}

.newsletter-form-v3 .form-control {
    width: 100%;
    border: none;
    background: transparent;
    padding: 16px 16px 16px 52px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--bgfi-gray-800);
    border-radius: 60px;
}

.newsletter-form-v3 .form-control:focus {
    outline: none;
    box-shadow: none;
}

.newsletter-form-v3 .form-control::placeholder {
    color: var(--bgfi-gray-400);
}

.btn-subscribe-v3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--bgfi-blue), var(--bgfi-blue-dark));
    color: #ffffff;
    border: none;
    padding: 16px 36px;
    border-radius: 60px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    white-space: nowrap;
}

.btn-subscribe-v3:hover {
    background: linear-gradient(135deg, var(--bgfi-green-dark), var(--bgfi-green));
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(var(--bgfi-blue-rgb), 0.35);
}

.btn-subscribe-v3 .btn-arrow {
    transition: transform 0.3s ease;
}

.btn-subscribe-v3:hover .btn-arrow {
    transform: translateX(4px);
}

.form-hint-v3 {
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-primary);
    font-size: 12px;
    margin-top: 16px;
    text-align: center;
}

.form-hint-v3 i {
    color: rgba(168, 184, 138, 0.6);
}

/* ===== Footer V3 Main — Premium Design ===== */
.footer-v3 {
    background: linear-gradient(170deg, var(--bgfi-blue-ultra-dark) 0%, var(--bgfi-blue-dark) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Accent line top */
.footer-v3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bgfi-blue), var(--bgfi-accent), var(--bgfi-green));
    z-index: 2;
}

/* Subtle mesh gradient overlay */
.footer-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 600px 400px at 10% 20%, rgba(var(--bgfi-blue-medium-rgb), 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 90% 80%, rgba(var(--bgfi-blue-rgb), 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-accent-line {
    height: 4px;
    background: linear-gradient(90deg,
        var(--bgfi-blue) 0%,
        var(--bgfi-blue-medium) 30%,
        var(--bgfi-accent) 50%,
        var(--bgfi-blue-medium) 70%,
        var(--bgfi-blue) 100%);
    position: relative;
    z-index: 2;
}

.footer-grid-v3 {
    padding: 40px 0 28px;
    position: relative;
    z-index: 1;
}

/* Footer Brand V3 */
.footer-brand-v3 {
    padding-right: 32px;
}

.footer-logo-v3 img {
    height: 56px;
    max-height: 56px;
    width: auto;
    margin-bottom: 14px;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.footer-logo-v3:hover img {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(var(--bgfi-blue-medium-rgb), 0.5));
}

.footer-v3 .footer-logo-text {
    margin-bottom: 14px;
    display: block;
}

.footer-v3 .footer-logo-text .logo-bgfi {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: #ffffff;
    letter-spacing: 1px;
}

.footer-v3 .footer-logo-text .logo-services {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 22px;
    color: var(--bgfi-blue-medium);
    margin-left: 6px;
}

.footer-tagline-v3 {
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-primary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 280px;
}

/* Social Media — Brand-colored hover */
.footer-social-v3 {
    display: flex;
    gap: 12px;
}

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
}

.social-circle:hover {
    transform: translateY(-3px);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}

/* Brand-specific hover colors */
.social-circle[title="LinkedIn"]:hover {
    background: #0077B5;
}
.social-circle[title="Facebook"]:hover {
    background: #1877F2;
}
.social-circle[title="Twitter"]:hover {
    background: #1DA1F2;
}
.social-circle[title="YouTube"]:hover {
    background: #FF0000;
}
.social-circle[title="Instagram"]:hover {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
}

/* Footer Widget V3 */
.footer-widget-v3 {
    padding-top: 4px;
}

.widget-title-v3 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    position: relative;
}

.widget-title-v3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, var(--bgfi-blue-medium), var(--bgfi-accent));
    border-radius: 3px;
}

/* Footer Navigation V3 */
.footer-nav-v3 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-v3 li {
    margin-bottom: 8px;
}

.footer-nav-v3 a {
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-primary);
    font-size: 13.5px;
    line-height: 1.5;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0;
    position: relative;
    text-decoration: none;
    padding-left: 0;
}

.footer-nav-v3 a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--bgfi-blue-medium);
    transition: width 0.3s ease;
    margin-right: 0;
}

.footer-nav-v3 a:hover {
    color: #ffffff;
    padding-left: 14px;
}

.footer-nav-v3 a:hover::before {
    width: 8px;
    margin-right: 6px;
}

/* Footer Contact V3 */
.footer-contact-v3 {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item-v3 {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.contact-item-v3:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--bgfi-blue-medium-rgb), 0.15);
}

.contact-icon-v3 {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(var(--bgfi-blue-medium-rgb), 0.15), rgba(90, 154, 74, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-v3 i {
    color: var(--bgfi-blue-medium);
    font-size: 14px;
}

.contact-item-v3 span,
.contact-item-v3 a {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-primary);
    font-size: 13.5px;
    line-height: 1.6;
    transition: color 0.3s ease;
    text-decoration: none;
    padding-top: 6px;
}

.contact-item-v3 a:hover {
    color: #ffffff;
}

/* Certifications Bar V3 — Premium badges */
.certifications-bar-v3 {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.cert-label-v3 {
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--font-heading);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

.cert-list-v3 {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.cert-badge:hover {
    background: rgba(var(--bgfi-blue-medium-rgb), 0.15);
    border-color: rgba(var(--bgfi-blue-medium-rgb), 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cert-badge i {
    color: var(--bgfi-accent);
    font-size: 13px;
}

/* Footer Bottom V3 — Refined */
.footer-bottom-v3 {
    background: rgba(0, 0, 0, 0.25);
    padding: 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-inner {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.copyright-v3 {
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 13px;
    margin: 0;
}

.copyright-v3 strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-legal-links-v3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal-links-v3 a {
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-legal-links-v3 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--bgfi-blue-medium);
    transition: width 0.3s ease;
}

.footer-legal-links-v3 a:hover {
    color: var(--bgfi-blue-medium);
}

.footer-legal-links-v3 a:hover::after {
    width: 100%;
}

.legal-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-block;
}

.subsidiary-text-v3 {
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 13px;
}

.subsidiary-text-v3 a {
    color: #ffffff;
    font-weight: 600;
    margin-left: 4px;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.subsidiary-text-v3 a:hover {
    color: var(--bgfi-green);
}

/* Back to Top V3 — Rounded square */
.back-to-top-v3 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--bgfi-blue), var(--bgfi-blue-medium));
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(var(--bgfi-blue-rgb), 0.4);
}

.back-to-top-v3.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-v3:hover {
    background: linear-gradient(135deg, var(--bgfi-blue-medium), var(--bgfi-accent));
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(var(--bgfi-blue-rgb), 0.5);
}

/* ===== Footer V3 Responsive ===== */
@media (max-width: 991px) {
    .newsletter-card-v3 {
        padding: 36px 28px;
    }

    .newsletter-content-v3 h3 {
        font-size: 26px;
    }

    .footer-brand-v3 {
        padding-right: 0;
        margin-bottom: 24px;
    }

    .footer-grid-v3 {
        padding: 56px 0 40px;
    }

    .cert-list-v3 {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .social-circle {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .contact-item-v3 {
        padding: 10px 12px;
    }
}

@media (max-width: 767px) {
    .newsletter-section-v3 {
        padding: 56px 0;
    }

    .newsletter-card-v3 {
        padding: 28px 20px;
    }

    .newsletter-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .newsletter-content-v3 h3 {
        font-size: 22px;
    }

    .form-wrapper-v3 {
        flex-direction: column;
        border-radius: 16px;
        padding: 8px;
        gap: 8px;
    }

    .input-wrapper-v3 {
        width: 100%;
    }

    .newsletter-form-v3 .form-control {
        padding: 14px 14px 14px 45px;
        border-radius: 12px;
    }

    .btn-subscribe-v3 {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        border-radius: 12px;
    }

    .footer-grid-v3 {
        padding: 48px 0 32px;
    }

    .widget-title-v3 {
        margin-bottom: 20px;
        font-size: 12px;
    }

    .footer-nav-v3 li {
        margin-bottom: 10px;
    }

    .contact-item-v3 {
        padding: 8px 10px;
        border-radius: 10px;
    }

    .certifications-bar-v3 {
        text-align: center;
    }

    .cert-label-v3 {
        display: block;
        margin-bottom: 12px;
    }

    .cert-list-v3 {
        justify-content: center;
    }

    .social-circle {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        font-size: 16px;
    }

    .back-to-top-v3 {
        bottom: 20px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 15px;
        border-radius: 12px;
    }
}

/* =====================================================
   CONTRASTE TEXTE BLANC SUR FONDS FONCES
   Correction globale pour lisibilite
===================================================== */

/* ===== Sidebar Widgets - General ===== */
.sidebar-widget {
    background: var(--bgfi-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bgfi-gray-100);
}

.sidebar-widget .widget-title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--bgfi-gray-800);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--bgfi-gray-100);
    position: relative;
}

.sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--bgfi-green);
}

/* ===== Contact Widget (fond bleu) ===== */
.sidebar-widget.contact-widget {
    background: linear-gradient(135deg, var(--bgfi-blue) 0%, var(--bgfi-blue-dark) 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.sidebar-widget.contact-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.sidebar-widget.contact-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255,255,255,0.2);
}

.sidebar-widget.contact-widget .widget-title::after {
    background: var(--bgfi-gold);
}

.sidebar-widget.contact-widget p {
    color: rgba(255,255,255,0.9) !important;
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

.sidebar-widget.contact-widget h4,
.sidebar-widget.contact-widget h5 {
    color: white !important;
}

.sidebar-widget.contact-widget .contact-info {
    margin-bottom: var(--space-md);
}

.sidebar-widget.contact-widget .info-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: white !important;
    font-size: var(--text-sm);
}

.sidebar-widget.contact-widget .contact-info .info-item span,
.sidebar-widget.contact-widget .contact-info .info-item a,
.sidebar-widget.contact-widget .info-item span,
.sidebar-widget.contact-widget .info-item a,
.contact-widget .info-item span,
.contact-widget .info-item a {
    color: #ffffff !important;
    text-decoration: none;
}

.sidebar-widget.contact-widget .info-item a:hover,
.contact-widget .info-item a:hover {
    color: var(--bgfi-gold) !important;
    text-decoration: underline;
}

.sidebar-widget.contact-widget .info-item i {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--bgfi-gold);
}

.sidebar-widget.contact-widget .btn-primary {
    background: var(--bgfi-gold);
    border-color: var(--bgfi-gold);
    color: white;
    font-weight: 600;
}

.sidebar-widget.contact-widget .btn-primary:hover {
    background: var(--bgfi-gold-dark);
    border-color: var(--bgfi-gold-dark);
    transform: translateY(-1px);
}

/* ===== Brochure Widget (fond bleu fonce) ===== */
.sidebar-widget.brochure-widget {
    background: linear-gradient(135deg, var(--bgfi-blue-dark) 0%, var(--bgfi-blue-ultra-dark) 100%);
    color: white;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sidebar-widget.brochure-widget::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.sidebar-widget.brochure-widget .brochure-content {
    position: relative;
    z-index: 1;
}

.sidebar-widget.brochure-widget i.fa-file-pdf {
    color: var(--bgfi-gold);
    margin-bottom: var(--space-md);
}

.sidebar-widget.brochure-widget h5 {
    color: white;
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.sidebar-widget.brochure-widget p {
    color: rgba(255,255,255,0.8) !important;
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

.sidebar-widget.brochure-widget h4,
.sidebar-widget.brochure-widget h5 {
    color: white !important;
}

.sidebar-widget.brochure-widget .btn-outline-primary {
    border-color: white;
    color: white;
}

.sidebar-widget.brochure-widget .btn-outline-primary:hover {
    background: white;
    color: var(--bgfi-blue-dark);
}

/* ===== Newsletter Widget (fond bleu) ===== */
.sidebar-widget.newsletter-widget {
    background: linear-gradient(135deg, var(--bgfi-blue) 0%, var(--bgfi-blue-dark) 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.sidebar-widget.newsletter-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.sidebar-widget.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255,255,255,0.2);
}

.sidebar-widget.newsletter-widget .widget-title::after {
    background: var(--bgfi-gold);
}

.sidebar-widget.newsletter-widget p {
    color: rgba(255,255,255,0.9) !important;
    font-size: var(--text-sm);
    position: relative;
    z-index: 1;
}

.sidebar-widget.newsletter-widget h4,
.sidebar-widget.newsletter-widget h5 {
    color: white !important;
}

.sidebar-widget.newsletter-widget .form-control {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    border-radius: var(--radius-md);
}

.sidebar-widget.newsletter-widget .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.sidebar-widget.newsletter-widget .form-control:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    box-shadow: none;
    color: white;
}

.sidebar-widget.newsletter-widget .btn-primary {
    background: var(--bgfi-gold);
    border-color: var(--bgfi-gold);
    color: white;
    font-weight: 600;
}

.sidebar-widget.newsletter-widget .btn-primary:hover {
    background: var(--bgfi-gold-dark);
    border-color: var(--bgfi-gold-dark);
}

/* ===== Expertise Detail Page ===== */
.expertise-detail .expertise-content {
    background: var(--bgfi-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.expertise-detail .expertise-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 2px solid var(--bgfi-gray-100);
}

.expertise-detail .expertise-icon-lg {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bgfi-blue), var(--bgfi-blue-dark));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    flex-shrink: 0;
}

.expertise-detail .expertise-header h1 {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--bgfi-gray-800);
    margin: 0;
}

.expertise-detail .expertise-description .lead {
    font-size: var(--text-lg);
    color: var(--bgfi-gray-600);
    line-height: 1.8;
}

.expertise-detail .expertise-body {
    color: var(--bgfi-gray-700);
    line-height: 1.8;
}

.expertise-detail .expertise-body h2,
.expertise-detail .expertise-body h3,
.expertise-detail .expertise-body h4 {
    color: var(--bgfi-gray-800);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.expertise-detail .expertise-services-detail h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--bgfi-gray-800);
}

.expertise-detail .service-item {
    padding: var(--space-md);
    background: var(--bgfi-gray-50);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--bgfi-gray-700);
}

/* ===== Expertise List in Sidebar ===== */
.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    margin-bottom: var(--space-xs);
}

.expertise-list li a {
    display: flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    color: var(--bgfi-gray-600);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.expertise-list li a:hover,
.expertise-list li a.active {
    background: var(--bgfi-blue-light);
    color: var(--bgfi-blue);
}

.expertise-list li a i {
    width: 24px;
    color: var(--bgfi-blue);
}

/* ===== Realisation Card ===== */
.realisation-card {
    background: var(--bgfi-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-bounce);
}

.realisation-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.realisation-card .realisation-image {
    height: 200px;
    overflow: hidden;
}

.realisation-card .realisation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.realisation-card:hover .realisation-image img {
    transform: scale(1.08);
}

.realisation-card .realisation-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--bgfi-blue-light), var(--bgfi-gray-100));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--bgfi-blue);
    opacity: 0.4;
}

.realisation-card .realisation-content {
    padding: var(--space-lg);
}

.realisation-card .realisation-content h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.realisation-card .realisation-content h4 a {
    color: var(--bgfi-gray-800);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.realisation-card .realisation-content h4 a:hover {
    color: var(--bgfi-blue);
}

.realisation-card .realisation-content p {
    color: var(--bgfi-gray-600);
    font-size: var(--text-sm);
    margin: 0;
}

/* ===== Correction globale : texte blanc sur fond bleu ===== */
[style*="background"][style*="blue"] h1,
[style*="background"][style*="blue"] h2,
[style*="background"][style*="blue"] h3,
[style*="background"][style*="blue"] h4,
[style*="background"][style*="blue"] h5,
[style*="background"][style*="blue"] h6,
[style*="background"][style*="blue"] p,
[style*="background"][style*="blue"] span,
[style*="background"][style*="blue"] a:not(.btn) {
    color: white;
}

/* Force texte blanc dans les sections avec gradient bleu */
.bg-blue-gradient,
.bg-primary-gradient {
    color: white;
}

.bg-blue-gradient h1, .bg-blue-gradient h2, .bg-blue-gradient h3,
.bg-blue-gradient h4, .bg-blue-gradient h5, .bg-blue-gradient h6,
.bg-blue-gradient p, .bg-blue-gradient span,
.bg-primary-gradient h1, .bg-primary-gradient h2, .bg-primary-gradient h3,
.bg-primary-gradient h4, .bg-primary-gradient h5, .bg-primary-gradient h6,
.bg-primary-gradient p, .bg-primary-gradient span {
    color: white;
}

/* ===== FORCE TEXTE BLANC - Regles globales ===== */

/* CTA Section */
.cta-section h1, .cta-section h2, .cta-section h3,
.cta-section h4, .cta-section h5, .cta-section h6,
.cta-section p, .cta-section span:not(.btn) {
    color: white !important;
}

/* Page Header */
.page-header h1, .page-header h2, .page-header h3,
.page-header h4, .page-header h5, .page-header h6,
.page-header p, .page-header .lead {
    color: white !important;
}

.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.9) !important;
}

.page-header .breadcrumb-item.active {
    color: var(--bgfi-gold) !important;
}

/* Newsletter Section */
.newsletter-section h1, .newsletter-section h2, .newsletter-section h3,
.newsletter-section h4, .newsletter-section h5, .newsletter-section h6,
.newsletter-section p, .newsletter-section span,
.newsletter-section-v2 h1, .newsletter-section-v2 h2, .newsletter-section-v2 h3,
.newsletter-section-v2 h4, .newsletter-section-v2 h5, .newsletter-section-v2 h6,
.newsletter-section-v2 p, .newsletter-section-v2 span,
.newsletter-section-v3 h1, .newsletter-section-v3 h2, .newsletter-section-v3 h3,
.newsletter-section-v3 h4, .newsletter-section-v3 h5, .newsletter-section-v3 h6,
.newsletter-section-v3 p, .newsletter-section-v3 span {
    color: white !important;
}

/* Testimonials Section - Header text only (not card content) */
.testimonials-section > .container > .section-header h1,
.testimonials-section > .container > .section-header h2,
.testimonials-section > .container > .section-header h3,
.testimonials-section > .container > .section-header p,
.testimonials-section > .container > .section-header .section-subtitle {
    color: white !important;
}

/* Testimonial card content should be dark on white background */
.testimonial-card .testimonial-content {
    color: var(--bgfi-gray) !important;
}

.testimonial-card .author-info strong {
    color: var(--bgfi-blue-dark) !important;
}

.testimonial-card .author-info span {
    color: var(--bgfi-gray) !important;
}

/* Newsletter Box (Sidebar) */
.newsletter-box h1, .newsletter-box h2, .newsletter-box h3,
.newsletter-box h4, .newsletter-box h5, .newsletter-box h6,
.newsletter-box p, .newsletter-box span, .newsletter-box label {
    color: white !important;
}

/* Contact Widget */
.contact-widget h1, .contact-widget h2, .contact-widget h3,
.contact-widget h4, .contact-widget h5, .contact-widget h6,
.contact-widget p, .contact-widget span, .contact-widget label {
    color: white !important;
}

/* Brochure Widget */
.brochure-widget h1, .brochure-widget h2, .brochure-widget h3,
.brochure-widget h4, .brochure-widget h5, .brochure-widget h6,
.brochure-widget p, .brochure-widget span {
    color: white !important;
}

/* Stats Bar */
.stats-bar-unified h1, .stats-bar-unified h2, .stats-bar-unified h3,
.stats-bar-unified h4, .stats-bar-unified h5, .stats-bar-unified h6,
.stats-bar-unified p, .stats-bar-unified span,
.stats-bar-unified .stat-number, .stats-bar-unified .stat-label {
    color: white !important;
}

/* Hero Section */
.hero-section h1, .hero-section h2, .hero-section h3,
.hero-section h4, .hero-section h5, .hero-section h6,
.hero-section p, .hero-section .lead {
    color: white !important;
}

/* Featured overlay */
.featured-overlay h1, .featured-overlay h2, .featured-overlay h3,
.featured-overlay h4, .featured-overlay h5, .featured-overlay h6,
.featured-overlay p, .featured-overlay span {
    color: white !important;
}

.featured-overlay a {
    color: white !important;
}

.featured-overlay a:hover {
    color: var(--bgfi-gold) !important;
}

/* Article Header (detail page) */
.article-header h1, .article-header h2, .article-header h3,
.article-header h4, .article-header h5, .article-header h6,
.article-header p, .article-header span {
    color: white !important;
}

.article-header .article-meta,
.article-header .article-meta span,
.article-header .article-meta i {
    color: rgba(255,255,255,0.9) !important;
}

/* =====================================================
   FORMATTED TEXT - Custom Markup Styles
===================================================== */

/* Container for formatted text */
.formatted-text {
    line-height: 1.8;
    color: var(--bgfi-gray-700);
}

/* Image placeholders when image not available */
.formatted-text .img-placeholder {
    display: inline-block;
    background: var(--bgfi-gray-100);
    color: var(--bgfi-gray-400);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    border: 2px dashed var(--bgfi-gray-300);
    margin: 10px 0;
}

/* Formatted images */
.formatted-text .formatted-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.formatted-text .formatted-image-wrapper {
    margin: 20px 0;
    clear: both;
}

/* Separator line */
.formatted-text .formatted-separator {
    border: none;
    border-top: 2px solid var(--bgfi-gray-200);
    margin: 25px 0;
}

/* Ensure proper float clearing */
.formatted-text::after {
    content: '';
    display: table;
    clear: both;
}

/* Responsive images */
@media (max-width: 767.98px) {
    .formatted-text .formatted-image {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ===== OVERRIDE: Contact Widget Text Colors ===== */
/* Ensure phone and email text is white in "Besoin d'Aide?" widget */
.sidebar-widget.contact-widget .info-item,
.sidebar-widget.contact-widget .info-item *,
.sidebar-widget.contact-widget .contact-info,
.sidebar-widget.contact-widget .contact-info * {
    color: #fff !important;
}

.sidebar-widget.contact-widget .info-item i {
    color: var(--bgfi-gold) !important;
}

/* =====================================================
   MODERN ENHANCEMENTS V4
===================================================== */

/* Smooth image loading transition */
img {
    transition: opacity var(--transition-normal);
}

img[loading="lazy"]:not(.loaded) {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Modern scrollbar styling */
@supports (scrollbar-width: thin) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--bgfi-gray-300) transparent;
    }
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--bgfi-gray-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bgfi-gray-400);
}

/* Improved card border transitions */
.actualite-card,
.expertise-home-card,
.advantage-card,
.mvv-card,
.team-card,
.card-unified,
.realisation-card,
.partner-card-v2,
.partner-card-v3 .partner-card-inner,
.partner-logo-container {
    will-change: transform;
    backface-visibility: hidden;
}

/* Modern form autofill styling */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--bgfi-white) inset;
    -webkit-text-fill-color: var(--bgfi-gray-700);
    transition: background-color 5000s ease-in-out 0s;
}

/* Responsive typography improvements */
@media (max-width: 575.98px) {
    body {
        font-size: 14px;
    }

    .section-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
        padding: 5px 12px;
    }

    .section-title::after {
        width: 40px;
    }

    /* Hero — better spacing on small screens */
    .hero-slider .carousel-item {
        height: 55vh;
        min-height: 380px;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .hero-badge {
        font-size: 9px;
        padding: 5px 12px;
        letter-spacing: 1.5px;
    }

    .carousel-overlay .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Stats grid — 1 colonne sur très petits écrans */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .stat-item .number,
    .stat-number {
        font-size: 24px;
    }

    .stat-suffix {
        font-size: 16px;
    }

    .stat-item .label,
    .stat-label {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    /* Section padding reduced */
    .section {
        padding: var(--space-xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-xl);
    }

    .section-title {
        font-size: var(--text-xl);
    }

    /* Page header compact */
    .page-header {
        padding: 70px 0 30px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    /* Footer legal links — wrap better */
    .footer-legal-links-v3 {
        gap: 10px;
        font-size: 12px;
    }

    .copyright-v3 {
        font-size: 12px;
    }

    .subsidiary-text-v3 {
        font-size: 12px;
    }

    /* Navbar CTA — compact */
    .btn-navbar-cta {
        padding: 12px 20px;
        font-size: 13px;
    }

    /* Cards — tighter padding */
    .expertise-home-card {
        padding: 1.25rem;
    }

    .testimonial-card {
        padding: var(--space-lg);
    }

    /* Newsletter — more compact */
    .newsletter-card-v3 {
        padding: 20px 16px;
    }

    .newsletter-content-v3 h3 {
        font-size: 20px;
    }

    /* Partners grid V4 — gap tighter on small screens */
    .partners-grid-v4 {
        gap: 12px;
    }
}

/* Extra-small screens (< 380px) */
@media (max-width: 379.98px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .hero-slider .carousel-item {
        min-height: 340px;
    }

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

    .footer-legal-links-v3 {
        flex-direction: column;
        gap: 8px;
    }

    .legal-dot {
        display: none;
    }

    .newsletter-content-v3 h3 {
        font-size: 18px;
    }

    .btn-hero {
        padding: 12px 20px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }
}

/* Container max-width improvement for ultra-wide screens */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
}

/* =====================================================
   BGFI STAR DECORATIONS - Design Background Global
   Étoile BGFI (ok.png) visible en filigrane design
   sur toutes les pages du site
===================================================== */

/* ---- GLOBAL STARS OVERLAY - Fixed background design ---- */
@keyframes bgfi-star-drift {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bgfi-star-pulse {
    0%, 100% { opacity: var(--star-opacity, 0.07); }
    50% { opacity: calc(var(--star-opacity, 0.07) + 0.02); }
}

.bgfi-stars-global {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Base global star */
.bgfi-gstar {
    position: absolute;
    background: url('/images/ok.png') no-repeat center / contain;
    pointer-events: none;
    animation: bgfi-star-drift 120s linear infinite, bgfi-star-pulse 8s ease-in-out infinite;
}

/* Star 1 - Top-right, large */
.bgfi-gstar-1 {
    top: 2%;
    right: -2%;
    width: 420px;
    height: 420px;
    --star-opacity: 0.06;
    opacity: 0.06;
    animation-duration: 180s, 10s;
}

/* Star 2 - Bottom-left, medium */
.bgfi-gstar-2 {
    bottom: 8%;
    left: -3%;
    width: 350px;
    height: 350px;
    --star-opacity: 0.05;
    opacity: 0.05;
    animation-duration: 200s, 12s;
    animation-direction: reverse, normal;
}

/* Star 3 - Center-right, small */
.bgfi-gstar-3 {
    top: 35%;
    right: 3%;
    width: 220px;
    height: 220px;
    --star-opacity: 0.045;
    opacity: 0.045;
    animation-duration: 150s, 9s;
}

/* Star 4 - Top-left, medium */
.bgfi-gstar-4 {
    top: 12%;
    left: 2%;
    width: 280px;
    height: 280px;
    --star-opacity: 0.04;
    opacity: 0.04;
    animation-duration: 220s, 14s;
    animation-direction: reverse, normal;
}

/* Star 5 - Center, large subtle */
.bgfi-gstar-5 {
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    --star-opacity: 0.03;
    opacity: 0.03;
    transform: translate(-50%, -50%);
    animation-duration: 240s, 16s;
}

/* Star 6 - Bottom-right, small accent */
.bgfi-gstar-6 {
    bottom: 20%;
    right: 8%;
    width: 180px;
    height: 180px;
    --star-opacity: 0.055;
    opacity: 0.055;
    animation-duration: 160s, 11s;
    animation-direction: reverse, normal;
}

/* Star 7 - Mid-left, tiny accent */
.bgfi-gstar-7 {
    top: 60%;
    left: 5%;
    width: 150px;
    height: 150px;
    --star-opacity: 0.04;
    opacity: 0.04;
    animation-duration: 190s, 13s;
}

/* Star 8 - Bottom-center, medium */
.bgfi-gstar-8 {
    bottom: 3%;
    left: 40%;
    width: 300px;
    height: 300px;
    --star-opacity: 0.035;
    opacity: 0.035;
    animation-duration: 210s, 15s;
    animation-direction: reverse, normal;
}

/* Ensure body content is above global stars, but do NOT override navbar z-index */
body > .bgfi-stars-global {
    z-index: 0;
}
body > main,
body > footer,
body > .promo-backdrop,
body > .modal {
    position: relative;
    z-index: 1;
}
/* Navbar z-index reinforcement — must be above <main> and all page content */
.top-bar {
    z-index: 1040 !important;
}
nav.navbar.navbar-bgfi,
#mainNavbar {
    z-index: 1050 !important;
}

/* ---- PER-SECTION STAR DECORATIONS (enhanced visibility) ---- */

/* Base star decoration - shared properties */
.bgfi-star-decoration {
    position: relative;
    overflow: hidden;
}

/* --- Star layer via pseudo-elements on major sections --- */

/* Star Top-Right on light sections — filter darkens white star for visibility on light bg */
.about-home-section::before,
.expertises-home-section::before,
.mvv-section::before,
.expertise-detail::before,
.about-features-section::before,
.dynamic-page-content::before,
.page-content-section::before,
.faq-section::before,
.members-section::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -20px;
    width: 340px;
    height: 340px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
    transform: rotate(15deg);
    filter: brightness(0);
}

/* Star Bottom-Left on light sections */
.about-home-section::after,
.expertises-home-section::after,
.mvv-section::after,
.expertise-detail::after,
.about-features-section::after,
.faq-section::after,
.members-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 260px;
    height: 260px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-20deg);
    filter: brightness(0);
}

/* Star on dark/colored sections - white star visible on dark backgrounds */
.cta-section > .container::after,
.newsletter-section-v3 > .container::after,
.stats-section > .container::after,
.stats-compact-section > .container::after,
.testimonials-section-premium > .container::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -60px;
    width: 380px;
    height: 380px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    transform: translateY(-50%) rotate(10deg);
    filter: brightness(0) invert(1);
}

.cta-section > .container,
.newsletter-section-v3 > .container,
.stats-section > .container,
.stats-compact-section > .container,
.testimonials-section-premium > .container {
    position: relative;
    overflow: visible;
}

/* Stars on actualités/projets sections (light bg → darken star) */
.actualites-home-section::before,
.projects-section::before,
.related-section::before,
.filter-section::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 3%;
    width: 250px;
    height: 250px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    transform: rotate(25deg);
    filter: brightness(0);
}

.actualites-home-section::after,
.projects-section::after,
.related-section::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 2%;
    width: 200px;
    height: 200px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-15deg);
    filter: brightness(0);
}

/* Stars on advantages/partners/certifications (light bg → darken star) */
.advantages-section-modern::before,
.partners-section-v4::before,
.certification-partners-section::before,
.clients-stats-section::before,
.cta-clients-section::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 300px;
    height: 300px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    transform: translateX(-50%) rotate(0deg);
    filter: brightness(0);
}

.advantages-section-modern::after,
.partners-section-v4::after,
.certification-partners-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 5%;
    width: 220px;
    height: 220px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
    transform: rotate(40deg);
    filter: brightness(0);
}

/* Contact, carrières & certifications sections (light bg → darken star) */
.contact-section::before,
.map-section::before,
.map-section-clean::before,
.full-message-section::before,
.section-jobs::before,
.section-spontaneous::before {
    content: '';
    position: absolute;
    top: 10px;
    right: -10px;
    width: 280px;
    height: 280px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    transform: rotate(20deg);
    filter: brightness(0);
}

/* Leader/leadership sections (light bg → darken star) */
.leader-section::before,
.pdg-section::before,
.pca-section::before {
    content: '';
    position: absolute;
    top: 60px;
    right: 3%;
    width: 280px;
    height: 280px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    transform: rotate(12deg);
    filter: brightness(0);
}

/* Ensure all decorated sections have position relative */
.about-home-section,
.expertises-home-section,
.mvv-section,
.expertise-detail,
.about-features-section,
.dynamic-page-content,
.page-content-section,
.faq-section,
.members-section,
.actualites-home-section,
.projects-section,
.related-section,
.filter-section,
.advantages-section-modern,
.partners-section-v4,
.certification-partners-section,
.clients-stats-section,
.cta-clients-section,
.contact-section,
.map-section,
.map-section-clean,
.full-message-section,
.section-jobs,
.section-spontaneous,
.leader-section,
.pdg-section,
.pca-section,
/* page-header, cta-section, stats-section, footer-v3 already have position:relative and overflow:hidden */
.newsletter-section-v3,
.stats-compact-section,
.testimonials-section-premium,
.contact-section,
.map-section,
.map-section-clean,
.full-message-section {
    position: relative;
    overflow: hidden;
}

/* Ensure content stays above star decorations */
.about-home-section > .container,
.expertises-home-section > .container,
.mvv-section > .container,
.expertise-detail > .container,
.about-features-section > .container,
.dynamic-page-content > .container,
.page-content-section > .container,
.faq-section > .container,
.members-section > .container,
.actualites-home-section > .container,
.projects-section > .container,
.related-section > .container,
.filter-section > .container,
.advantages-section-modern > .container,
.partners-section-v4 > .container,
.certification-partners-section > .container,
.clients-stats-section > .container,
.cta-clients-section > .container,
.contact-section > .container,
.map-section > .container,
.map-section-clean > .container,
.full-message-section > .container,
.section-jobs > .container,
.section-spontaneous > .container,
.leader-section > .container,
.pdg-section > .container,
.pca-section > .container,
.page-header > .container,
.cta-section > .container,
.newsletter-section-v3 > .container,
.stats-section > .container,
.stats-compact-section > .container,
.testimonials-section-premium > .container {
    position: relative;
    z-index: 1;
}

/* Small stars on article/job detail sections (light bg → darken star) */
.article-section::before,
.job-detail::before,
.project-detail-section::before,
.project-hero::before {
    content: '';
    position: absolute;
    top: 80px;
    right: -10px;
    width: 240px;
    height: 240px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    transform: rotate(18deg);
    filter: brightness(0);
}

.article-section,
.job-detail,
.project-detail-section,
.project-hero {
    position: relative;
    overflow: hidden;
}

.article-section > .container,
.job-detail > .container,
.project-detail-section > .container,
.project-hero > .container {
    position: relative;
    z-index: 1;
}

/* ---- FOOTER V3 STAR DECORATIONS ---- */

/* Footer ::after supprimé — ::before utilisé pour le mesh gradient overlay */
.footer-v3::after {
    display: none;
}

/* Ensure footer content above stars */
.footer-v3 > .container,
.footer-v3 > .footer-accent-line,
.footer-v3 > .footer-bottom-v3,
.footer-grid-v3 {
    position: relative;
    z-index: 1;
}

/* Small star on newsletter card — white star on dark card */
.newsletter-card-v3::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.30;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-10deg);
    filter: brightness(0) invert(1);
}

/* Star bottom-left on sections that only had top-right (light bg → darken) */
.contact-section::after,
.map-section::after,
.map-section-clean::after,
.full-message-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -10px;
    width: 200px;
    height: 200px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-25deg);
    filter: brightness(0);
}

.leader-section::after,
.pdg-section::after,
.pca-section::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 2%;
    width: 220px;
    height: 220px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-18deg);
    filter: brightness(0);
}

.article-section::after,
.project-detail-section::after {
    content: '';
    position: absolute;
    bottom: 60px;
    left: -15px;
    width: 200px;
    height: 200px;
    background: url('/images/ok.png') no-repeat center / contain;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-22deg);
    filter: brightness(0);
}

/* ---- ÉTOILE BGFI — JS-INJECTED SECTION STARS ---- */
/* Stars are injected as <img> tags by frontend.js for reliability */
/* Replaces the old .section.bg-light::after approach which was unreliable */

.section.bg-light {
    position: relative;
    overflow: hidden;
}
.section.bg-light > .container {
    position: relative;
    z-index: 1;
}

/* ===== Auto-injected star styles ===== */
.bgfi-auto-star {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

/* Dark star — visible on white/light backgrounds */
.bgfi-auto-star--dark {
    filter: brightness(0);
    opacity: 0.18;
}

/* Light/white star — visible on dark/blue backgrounds */
.bgfi-auto-star--light {
    filter: brightness(0) invert(1);
    opacity: 0.45;
}

/* Position: top-right */
.bgfi-auto-star--tr {
    top: -20px;
    right: -15px;
    width: 420px;
    height: 420px;
    transform: rotate(12deg);
}

/* Position: bottom-left */
.bgfi-auto-star--bl {
    bottom: -25px;
    left: -15px;
    width: 340px;
    height: 340px;
    transform: rotate(-18deg);
}

/* Large centered background star — visible watermark on white/light sections */
.bgfi-auto-star--center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(15deg);
    width: 850px;
    height: 850px;
    z-index: 0 !important;
}

.bgfi-auto-star--grey {
    filter: brightness(0);
    opacity: 0.22;
}

/* ===== BGFI Star Watermark on Cards — Premium filigrane ===== */
.expertise-home-card,
.actualite-card,
.actu-card,
.mvv-card-modern,
.advantage-card-grid,
.advantage-card-inner-grid,
.client-stat-card,
.category-card-premium,
.realisation-card,
.job-card,
.article-card,
.team-card,
.testimonial-card-premium,
.full-message-card,
.cert-intro-commitment,
.search-filter-card {
    position: relative;
    overflow: hidden;
}

.expertise-home-card::after,
.actualite-card::after,
.actu-card::after,
.mvv-card-modern::after,
.advantage-card-grid::after,
.advantage-card-inner-grid::after,
.client-stat-card::after,
.category-card-premium::after,
.realisation-card::after,
.job-card::after,
.article-card::after,
.team-card::after,
.testimonial-card-premium::after,
.full-message-card::after,
.cert-intro-commitment::after,
.search-filter-card::after {
    content: '';
    position: absolute;
    bottom: -25%;
    right: -15%;
    width: 280px;
    height: 280px;
    background: url('/images/ok.png') no-repeat center / contain;
    filter: brightness(0);
    opacity: 0.06;
    transform: rotate(18deg);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Hover: star becomes slightly more visible */
.expertise-home-card:hover::after,
.actualite-card:hover::after,
.actu-card:hover::after,
.mvv-card-modern:hover::after,
.advantage-card-grid:hover::after,
.advantage-card-inner-grid:hover::after,
.client-stat-card:hover::after,
.category-card-premium:hover::after,
.realisation-card:hover::after,
.job-card:hover::after,
.article-card:hover::after,
.team-card:hover::after,
.testimonial-card-premium:hover::after,
.full-message-card:hover::after,
.cert-intro-commitment:hover::after,
.search-filter-card:hover::after {
    opacity: 0.10;
    transform: rotate(18deg) scale(1.05);
}

/* Dark background cards — white star */
.testimonial-card-premium::after {
    filter: brightness(0) invert(1);
    opacity: 0.08;
}
.testimonial-card-premium:hover::after {
    filter: brightness(0) invert(1);
    opacity: 0.12;
}

/* full-message-card uses .card-star-watermark instead of ::after */
.full-message-card::after {
    display: none;
}

/* ===== Card Star Watermark — Large visible greyed star INSIDE cards ===== */
.card-star-watermark {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%) rotate(12deg);
    width: 110%;
    max-width: 900px;
    height: auto;
    pointer-events: none;
    z-index: 0;
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.16;
    user-select: none;
}

/* Ensure card content stays above the watermark */
.full-message-card {
    position: relative;
    overflow: hidden;
}
.full-message-card > *:not(.card-star-watermark) {
    position: relative;
    z-index: 1;
}

/* ---- RESPONSIVE: Adjust global stars on smaller screens ---- */
@media (max-width: 991.98px) {
    .bgfi-gstar-1 { width: 300px; height: 300px; }
    .bgfi-gstar-2 { width: 250px; height: 250px; }
    .bgfi-gstar-3 { width: 160px; height: 160px; }
    .bgfi-gstar-4 { width: 200px; height: 200px; }
    .bgfi-gstar-5 { width: 350px; height: 350px; }
    .bgfi-gstar-6 { width: 130px; height: 130px; }
    .bgfi-gstar-7 { width: 110px; height: 110px; }
    .bgfi-gstar-8 { width: 220px; height: 220px; }

    /* Auto-injected stars on tablet */
    .bgfi-auto-star--tr {
        width: 340px;
        height: 340px;
    }
    .bgfi-auto-star--bl {
        width: 280px;
        height: 280px;
    }
    .bgfi-auto-star--center {
        width: 550px;
        height: 550px;
    }

    /* Card star watermark on tablet */
    .card-star-watermark {
        max-width: 600px;
        right: -15%;
        opacity: 0.13;
    }

    /* Card stars on tablet */
    .expertise-home-card::after,
    .actualite-card::after,
    .actu-card::after,
    .mvv-card-modern::after,
    .advantage-card-grid::after,
    .client-stat-card::after,
    .category-card-premium::after,
    .realisation-card::after,
    .job-card::after,
    .article-card::after,
    .team-card::after,
    .testimonial-card-premium::after,
    .full-message-card::after,
    .cert-intro-commitment::after,
    .search-filter-card::after {
        width: 200px;
        height: 200px;
    }
    .footer-star-big {
        width: 300px;
        height: 300px;
    }
    .footer-star-left {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    /* Reduce global stars on mobile */
    .bgfi-gstar-3,
    .bgfi-gstar-4,
    .bgfi-gstar-6,
    .bgfi-gstar-7 {
        display: none;
    }

    .bgfi-gstar-1 { width: 200px; height: 200px; opacity: 0.04; }
    .bgfi-gstar-2 { width: 180px; height: 180px; opacity: 0.035; }
    .bgfi-gstar-5 { width: 250px; height: 250px; opacity: 0.025; }
    .bgfi-gstar-8 { width: 160px; height: 160px; opacity: 0.03; }

    /* Reduce per-section stars on mobile (light bg — already darkened via filter) */
    .about-home-section::before,
    .expertises-home-section::before,
    .mvv-section::before,
    .expertise-detail::before,
    .about-features-section::before,
    .dynamic-page-content::before,
    .page-content-section::before,
    .faq-section::before,
    .members-section::before,
    .about-home-section::after,
    .expertises-home-section::after,
    .mvv-section::after,
    .expertise-detail::after,
    .about-features-section::after,
    .faq-section::after,
    .members-section::after,
    .actualites-home-section::before,
    .projects-section::before,
    .related-section::before,
    .filter-section::before,
    .actualites-home-section::after,
    .projects-section::after,
    .related-section::after,
    .advantages-section-modern::before,
    .partners-section-v4::before,
    .certification-partners-section::before,
    .clients-stats-section::before,
    .cta-clients-section::before,
    .advantages-section-modern::after,
    .partners-section-v4::after,
    .certification-partners-section::after,
    .contact-section::before,
    .map-section::before,
    .map-section-clean::before,
    .full-message-section::before,
    .leader-section::before,
    .pdg-section::before,
    .pca-section::before,
    .article-section::before,
    .job-detail::before,
    .project-detail-section::before,
    .project-hero::before,
    .contact-section::after,
    .map-section::after,
    .map-section-clean::after,
    .full-message-section::after,
    .leader-section::after,
    .pdg-section::after,
    .pca-section::after,
    .article-section::after,
    .project-detail-section::after {
        width: 150px;
        height: 150px;
        opacity: 0.03;
    }

    /* Page header uses bgfi-auto-star classes — responsive handled globally */

    /* Footer stars on mobile — handled in auto-star section below */

    .newsletter-card-v3::before {
        width: 120px;
        height: 120px;
        opacity: 0.20;
    }

    /* Dark section stars on mobile */
    .cta-section > .container::after,
    .newsletter-section-v3 > .container::after,
    .stats-section > .container::after,
    .stats-compact-section > .container::after,
    .testimonials-section-premium > .container::after {
        width: 200px;
        height: 200px;
        opacity: 0.25;
    }

    /* JS-injected auto-stars on mobile */
    .bgfi-auto-star--tr {
        width: 260px;
        height: 260px;
    }
    .bgfi-auto-star--bl {
        width: 200px;
        height: 200px;
    }
    .bgfi-auto-star--center {
        width: 380px;
        height: 380px;
    }
    .bgfi-auto-star--dark {
        opacity: 0.12;
    }
    .bgfi-auto-star--light {
        opacity: 0.35;
    }
    .bgfi-auto-star--grey {
        opacity: 0.12;
    }

    /* Card star watermark on mobile */
    .card-star-watermark {
        max-width: 380px;
        right: -20%;
        opacity: 0.10;
    }

    /* Card stars on mobile */
    .expertise-home-card::after,
    .actualite-card::after,
    .actu-card::after,
    .mvv-card-modern::after,
    .advantage-card-grid::after,
    .client-stat-card::after,
    .category-card-premium::after,
    .realisation-card::after,
    .job-card::after,
    .article-card::after,
    .team-card::after,
    .testimonial-card-premium::after,
    .full-message-card::after,
    .cert-intro-commitment::after,
    .search-filter-card::after {
        width: 150px;
        height: 150px;
        bottom: -20%;
        right: -10%;
        opacity: 0.05;
    }
    /* Footer stars on mobile */
    .footer-star-big {
        width: 200px;
        height: 200px;
        opacity: 0.18;
    }
    .footer-star-left {
        width: 160px;
        height: 160px;
        opacity: 0.14;
    }
}

/* ===== ACCESSIBILITY: Reduced Motion Support (consolidated) ===== */
@media (prefers-reduced-motion: reduce) {
    .bgfi-gstar,
    .bgfi-hero::before,
    .page-header::before,
    .hero-section::before,
    .adg-section::before,
    .stats-section::before,
    .cta-blue-section::before,
    .cta-section::before,
    .newsletter-section::before,
    .testimonials-section::before,
    .stats-section.colored::before,
    .bgfi-hero::after,
    .page-header::after,
    .hero-section::after,
    .adg-section::after,
    .stats-section::after,
    .cta-blue-section::after,
    .cta-section::after,
    .newsletter-section::after,
    .testimonials-section::after,
    .stats-section.colored::after,
    .page-header .container::before,
    .cta-blue-section .container::before {
        animation: none !important;
    }
}

/* ===== FIX SAFARI iOS - Support tactile pour les dropdowns ===== */
/* Améliore la réactivité des menus déroulants sur Safari mobile (iPhone/iPad) */

/* Améliorer la réactivité tactile des éléments cliquables */
.navbar [data-bs-toggle="dropdown"],
.top-bar-lang .dropdown-toggle,
.mobile-lang .dropdown-toggle,
.dropdown-toggle {
    -webkit-tap-highlight-color: rgba(20, 101, 163, 0.1);
    tap-highlight-color: rgba(20, 101, 163, 0.1);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer !important;
}

/* Contradictory mobile dropdown rules removed - kept correct rules at line ~4382 */

/* =====================================================
   SEARCH — Bouton navbar + Overlay + Résultats live
===================================================== */

/* Bouton recherche dans la navbar */
.btn-search-open {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--bgfi-blue);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-search-open:hover {
    background: var(--bgfi-gray-100);
    color: var(--bgfi-blue-dark);
}

/* Overlay plein écran */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.search-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 50, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.search-overlay-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 680px;
    padding: 0 24px;
    transform: translateY(-20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-overlay.is-open .search-overlay-content {
    transform: translateY(0);
}

/* Champ de recherche */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.search-input-icon {
    position: absolute;
    left: 20px;
    color: rgba(255,255,255,0.4);
    font-size: 18px;
    pointer-events: none;
}
.search-input {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 18px 56px 18px 54px;
    font-size: 17px;
    font-family: var(--font-primary);
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.search-input::placeholder {
    color: rgba(255,255,255,0.35);
}
.search-input:focus {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
}

.search-close-btn {
    position: absolute;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.search-close-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
}

/* Hint */
.search-hint {
    text-align: center;
    margin-top: 16px;
    color: rgba(255,255,255,0.3);
    font-size: 13px;
}

/* Résultats live */
.search-results-live {
    margin-top: 12px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-height: 420px;
    overflow-y: auto;
}
.search-results-inner {
    padding: 8px;
}

.search-result-group {
    padding: 8px 0;
}
.search-result-group + .search-result-group {
    border-top: 1px solid var(--bgfi-gray-200);
}

.search-result-group-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bgfi-text-muted);
    padding: 8px 14px 4px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--bgfi-text-body);
    transition: background 0.15s ease;
}
.search-result-item:hover {
    background: var(--bgfi-gray-50);
    color: var(--bgfi-blue);
}

.search-result-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(var(--bgfi-blue-rgb), 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bgfi-blue);
    font-size: 14px;
    flex-shrink: 0;
}

.search-result-text {
    flex: 1;
    min-width: 0;
}
.search-result-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-text small {
    font-size: 12px;
    color: var(--bgfi-text-muted);
}

.search-no-results {
    text-align: center;
    padding: 32px 16px;
    color: var(--bgfi-text-muted);
    font-size: 14px;
}

.search-view-all {
    display: block;
    text-align: center;
    padding: 12px;
    border-top: 1px solid var(--bgfi-gray-200);
    font-size: 13px;
    font-weight: 600;
    color: var(--bgfi-blue);
    text-decoration: none;
    transition: background 0.15s ease;
}
.search-view-all:hover {
    background: var(--bgfi-gray-50);
}

/* Mobile */
@media (max-width: 768px) {
    .search-overlay { padding-top: 80px; }
    .search-input { font-size: 16px; padding: 16px 50px 16px 48px; }
    .search-results-live { max-height: 60vh; }
}

/* =====================================================
   PARALLAXE SCROLL — elements decoratifs
===================================================== */
[data-parallax] {
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    [data-parallax] {
        transform: none !important;
        will-change: auto;
    }
}

/* Desactiver la parallaxe sur petits ecrans (performance + UX tactile) */
@media (max-width: 768px) {
    [data-parallax] {
        transform: none !important;
        will-change: auto;
    }
}
