/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
    scrollbar-width: none;
    background: linear-gradient(to bottom, white, rgb(218, 237, 255));
}

:root {
    --primary-color: #FFCC00;
    --secondary-color: #174392;
    --primary-color-rgb: 255, 204, 0;
    --secondary-color-rgb: 23, 67, 146;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #ff6b00);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #283593);
    --gradient-accent: linear-gradient(135deg, #ff8c00, #ff6b00);
    --gradient-glass: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    --shadow-primary: 0 10px 30px rgba(255, 204, 0, 0.2);
    --shadow-secondary: 0 10px 30px rgba(23, 67, 146, 0.2);
    --animation-timing: cubic-bezier(0.4, 0, 0.2, 1);
    --button-gradient: linear-gradient(to right, #FFCC00, #ff6b00);
    --button-gradient-hover: linear-gradient(to right, #ffb300, #ff6b00);
    --entry-background: linear-gradient(145deg, #f0f4f8, #ffffff);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf5 100%);
}

body.no-scroll {
    overflow: hidden;
}

/* Nom de l'application */
.app-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    margin-left: 0px;
    position: absolute;
    top: 12px;
    left: 6%;
    transition: all 0.4s var(--animation-timing);
    white-space: nowrap;
    letter-spacing: 0.5px;
    animation: gradientShift 6s ease-in-out infinite;
    text-shadow: 0 0 4px rgba(var(--primary-color-rgb), 0.25),
                 0 0 8px rgba(255, 107, 0, 0.2); /* lumière subtile synchronisée */
}

.app-name::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.1), transparent 70%);
    filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s var(--animation-timing);
    z-index: -1;
    border-radius: 16px;
}

.app-name:hover {
    transform: translateY(-2px);
}

.app-name:hover::before {
    opacity: 1;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
        text-shadow: 0 0 8px rgba(var(--primary-color-rgb), 0.25),
                     0 0 16px rgba(255, 107, 0, 0.2);
    }
    50% {
        background-position: 100% 50%;
        text-shadow: 0 0 8px rgba(255, 107, 0, 0.25),
                     0 0 16px rgba(var(--primary-color-rgb), 0.15);
    }
    100% {
        background-position: 0% 50%;
        text-shadow: 0 0 8px rgba(var(--primary-color-rgb), 0.25),
                     0 0 16px rgba(255, 107, 0, 0.2);
    }
}

/* Navigation moderne et animations */
.nav {
    position: fixed;
    top: 0px;
    left: 2%;
    right: 2%;
    z-index: 1000;
    padding: 3px 1rem;
    max-width: 97%;
    background: rgba(23, 67, 146, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 0 15px 15px;
    overflow: visible;
    isolation: isolate; /* Important pour que ::before ne déborde pas */
}

/* === Section Titles with Adaptive Gray Bars === */
.barred-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem; /* aligné sur le titre avantages esagroup */
    color: #1d2c4a;  /* même couleur que la section avantages esagroup */
    letter-spacing: 0.2px;
    margin: 1.5rem 0; /* top & bottom = 1.5rem */
    white-space: nowrap; /* empêche le retour à la ligne pour le texte */
}
.barred-title::before,
.barred-title::after {
    content: "";
    flex: 1 1 auto;
    border-bottom: 1px solid #b5beca; /* gris fin, 1px */
    height: 0; /* garantit une ligne fine via border */
}
@media (max-width: 640px) {
    .barred-title { font-size: 1.6rem; }
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0 0 15px 15px;
    box-shadow:
        0 0 1.25px rgba(255, 255, 255, 0.858),
        0 0 2.5px rgba(255, 255, 255, 0.858),
        0 0 5px rgba(255, 255, 255, 0.858),
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 15px rgba(255, 255, 255, 0.2);
    z-index: -1;
    background: linear-gradient(to bottom, rgba(0, 36, 114, 0.591), rgba(0, 0, 0, 0.664));
}

.first{
    display: none;
}

/* Suppression complète des styles de scroll */
.nav.scrolled,
.nav:not(.scrolled),
.nav[data-scroll="true"],
.nav[data-scroll="false"] {
    background: rgba(23, 67, 146, 0.08) !important;
    box-shadow: none !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    height: 47px;
    width: auto;
    transition: all 0.4s var(--animation-timing);
    position: relative;
    margin-top: 10px;
}

.nav-logo::after {
    content: '';
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.2), transparent 70%);
    filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s var(--animation-timing);
}

.nav-logo:hover::after {
    opacity: 1;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    position: relative;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.4s var(--animation-timing);
    background: transparent;
    border: none;
}

/* Nouveau slider de menu */
.nav-menu::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: all 0.4s var(--animation-timing);
    border-radius: 4px;
    opacity: 0;
    box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.3);
}

.nav-link:hover ~ .nav-menu::after {
    opacity: 0.5;
}

.nav-link.active ~ .nav-menu::after {
    opacity: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s var(--animation-timing);
    transform-origin: left;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.3);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color);
}

/* Styles pour les icônes du menu PC - masquées en mode desktop */
.nav-link i {
    display: none; /* Masquer les icônes en mode PC */
}

/* Styles supprimés car les icônes sont masquées en mode PC */

/* Styles pour le dropdown "Nos Entités" */
.dropdown-nav {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 5px;
    padding: 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--animation-timing);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;
}

.dropdown-nav:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s var(--animation-timing);
    position: relative;
}

.dropdown-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background: rgba(255, 204, 0, 0.1);
    color: var(--secondary-color);
}

.dropdown-item i {
    font-size: 1rem;
    color: var(--secondary-color);
    transition: all 0.3s var(--animation-timing);
}

.dropdown-item:hover i {
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* Cacher les entités mobiles en mode desktop */
.mobile-entity {
    display: none;
}

/* Cacher les séparateurs en mode desktop */
.nav-separator {
    display: none;
}

/* Sélecteur de langue simple et épuré */
.language-selector {
    position: relative;
    display: inline-block;
}

.lang-switch {
    display: flex;
    align-items: center;
    height: 30px;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 8px;
    padding: 0.4rem 0.7rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 80px;
}

.lang-switch:hover {
    background: rgba(255, 204, 0, 0.1);
    border-color: rgba(255, 204, 0, 0.5);
}

.lang-chevron {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-selector.active .lang-chevron {
    transform: rotate(180deg);
}

.current-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    display: inline-block;
}

.lang-code {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    min-width: 140px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

.language-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.8rem;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #eee;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background-color: #f5f5f5;
}

.lang-option.active {
    background-color: rgba(255, 204, 0, 0.1);
}

.flag-icon {
    width: 18px;
    height: 14px;
    border-radius: 2px;
    margin-right: 0.6rem;
    border-right: 1px solid #ddd;
    padding-right: 0.6rem;
    display: inline-block;
}

.lang-name {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Menu mobile amélioré */
.hamburger {
    display: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    position: relative;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.4s var(--animation-timing);
    z-index: 1002;
}

.hamburger:hover {
    background: rgba(255, 204, 0, 0.15);
    transform: scale(1.05);
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 26px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hamburger span:nth-child(1) {
    top: 12px;
    transform-origin: center;
    width: 26px;
    animation: hamburgerLine1 0.6s ease-out;
}

.hamburger span:nth-child(2) {
    top: 22px;
    transform-origin: center;
    width: 26px;
    animation: hamburgerLine2 0.6s ease-out;
}

.hamburger span:nth-child(3) {
    top: 32px;
    transform-origin: center;
    width: 26px;
    animation: hamburgerLine3 0.6s ease-out;
}

/* État actif — transformation en X */
.hamburger.active {
    background: rgba(247, 250, 255, 0.25);
    border-color: rgba(255, 204, 0, 0.4);
    transform: scale(1.1) rotate(180deg);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 22px;
    width: 26px;
    background: #FF6B00;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 22px;
    width: 26px;
    background: #FF6B00;
}

/* Animations d'entrée pour les lignes du hamburger */
@keyframes hamburgerLine1 {
    0% { width: 0; transform: translateX(-10px); }
    60% { width: 22px; }
    100% { width: 20px; transform: translateX(0); }
}

@keyframes hamburgerLine2 {
    0% { width: 0; transform: scale(0); }
    70% { width: 28px; transform: scale(1.1); }
    100% { width: 26px; transform: scale(1); }
}

@keyframes hamburgerLine3 {
    0% { width: 0; transform: translateX(10px); }
    80% { width: 18px; }
    100% { width: 16px; transform: translateX(0); }
}

@media (max-width: 1000px) {
    .nav {
        max-width: 100%;
    }

    .nav::before {
        border-radius: 0 0 0px 0px;
    }
    
    .nav-logo {
        margin-top: 14px;
        margin-left: -18px;
    }
    .app-name {
        display: block;
        position:relative;
        top: 0px;
        left: 0px;
        font-size: 1rem;
        margin-top: 5px;
        margin-left: -15px;
    }

    .hamburger {
        display: block;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        position: relative;
        width: 100%;
        max-width: 100%;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    /* Style du menu mobile amélioré avec scroll optimisé */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, 
            rgba(23, 67, 146, 0.97) 0%, 
            rgba(255, 204, 0, 0.93) 100%
        );
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 4rem 1.5rem 2rem;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        transform: translateX(100%);
        overflow-y: auto;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    /* Masquer la scrollbar pour Webkit (Chrome, Safari) */
    .nav-menu::-webkit-scrollbar {
        display: none;
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mobile-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23mobile-grid)"/></svg>');
        opacity: 0.4;
        z-index: -1;
    }

    .nav-menu.active {
        transform: translateX(0);
        right: 0;
    }

    /* Container pour les liens du menu mobile stylé */
    .nav-links-container {
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 28px;
        padding: 2rem;
        width: 100%;
        max-width: 380px;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 
            0 12px 40px rgba(0, 0, 0, 0.15),
            inset 0 1px 2px rgba(255, 255, 255, 0.1);
        position: relative;
        /* Permettre le scroll si le contenu dépasse */
        overflow-y: auto;
        max-height: calc(100vh - 12rem);
        /* Masquer la scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    /* Masquer la scrollbar pour Webkit */
    .nav-links-container::-webkit-scrollbar {
        display: none;
    }
    
    .nav-links-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 204, 0, 0.6) 50%, 
            transparent 100%
        );
    }

    /* Style épuré et subtil pour les liens mobiles */
    .nav-link {
        width: 100%;
        text-align: left;
        font-size: 0.95rem;
        padding: 1.8rem 1rem;
        margin: 0.2rem 0;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.3s ease;
        will-change: transform, opacity;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 400;
        letter-spacing: 0.2px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.8rem;
        position: relative;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        /* Hauteur fixe pour éviter l'impact du container */
        min-height: fit-content;
        height: 48px;
        flex-shrink: 0;
        /* Ombre de la même couleur que la bordure */
        box-shadow: 0 2px 8px rgba(255, 255, 255, 0.08);
    }

    /* Style subtil pour les entités en bas */
    .mobile-entity-bottom {
        background: rgba(255, 204, 0, 0.08);
        border: 1px solid rgba(255, 204, 0, 0.2);
        margin-top: 1rem;
        color: rgba(255, 204, 0, 0.9);
    }
    
    /* Responsive label handling for Audit && Expertise link */
     .nav-link.audit-expertise .label-desktop { display: inline !important; }
     .nav-link.audit-expertise .label-mobile { display: none !important; }
 
     @media (max-width: 1000px) {
         .nav-link.audit-expertise { height: auto; align-items: flex-start; padding-top: 1.2rem; padding-bottom: 1.2rem; }
         .nav-link.audit-expertise .label-desktop { display: none !important; }
         .nav-link.audit-expertise .label-mobile { display: inline-flex !important; flex-direction: column; white-space: normal; line-height: 1.1; }
         .nav-link.audit-expertise .label-mobile .line2 { display: block; margin-top: 2px; }
     }

    .first{
        display: block;
    }

    .mobile-entity-bottom:first-of-type {
        margin-top: 1.5rem;
        position: relative;
    }

    .mobile-entity-bottom:first-of-type::before {
        content: '';
        position: absolute;
        top: -0.8rem;
        left: 50%;
        transform: translateX(-50%);
        width: 40%;
        height: 1px;
        background: rgba(255, 255, 255, 0.15);
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 204, 0, 0.2), 
            transparent
        );
        transition: left 0.6s ease;
    }
    
    .nav-link:hover::after {
        left: 100%;
    }

    /* Désactivation du soulignement en mode mobile */
    .nav-link::before {
        display: none;
    }

    /* Effet de hover subtil pour mobile */
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(4px);
        border-color: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    /* Hover subtil pour les entités en bas */
    .mobile-entity-bottom:hover {
        background: rgba(255, 204, 0, 0.15);
        border-color: rgba(255, 204, 0, 0.3);
        color: #FFCC00;
    }

    /* Animation d'entrée pour tous les liens */
    .nav-menu.active .nav-link {
        animation: mobileMenuLinkSlide 0.5s var(--animation-timing) forwards;
        opacity: 0;
    }

    @keyframes mobileMenuLinkSlide {
        0% {
            opacity: 0;
            transform: translateX(30px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Délais d'animation optimisés */
    .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.15s; }
    .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.25s; }
    .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.35s; }
    .nav-menu.active .nav-link:nth-child(6) { animation-delay: 0.4s; }
    .nav-menu.active .nav-link:nth-child(7) { animation-delay: 0.45s; }

    /* Séparateur vertical pour les liens en mobile */
    .nav-separator {
        width: 1px;
        height: 60%;
        background: rgba(255, 204, 0, 0.5);
        margin: 0 0.5rem;
        display: none;
    }

    /* Dropdown en mode mobile - suppression des espacements inutiles */
    .dropdown-nav {
        width: 100%;
        display: contents; /* Supprime la div du flux, les enfants se comportent comme s'ils étaient directement dans le parent */
    }

    .dropdown-trigger {
        display: none; /* Cache le bouton dropdown en mode mobile */
    }

    .dropdown-menu {
        display: none; /* Cache le dropdown classique en mobile */
    }

    .mobile-entity { display: none; }
    
    /* Délais d'animation pour les entités mobiles en bas */
    .nav-menu.active .mobile-entity-bottom:nth-of-type(1) { animation-delay: 0.8s; }
    .nav-menu.active .mobile-entity-bottom:nth-of-type(2) { animation-delay: 0.85s; }
    .nav-menu.active .mobile-entity-bottom:nth-of-type(3) { animation-delay: 0.9s; }

    /* Style des icônes dans les liens mobiles */
    .nav-link i {
        font-size: 1.2rem;
        transition: all 0.3s var(--animation-timing);
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: rgba(255, 204, 0, 0.2);
        display: flex !important; /* Forcer l'affichage en mobile */
        align-items: center;
        justify-content: center;
        color: #FFCC00;
        border: 1px solid rgba(255, 204, 0, 0.4);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        margin-right: 0;
        flex-shrink: 0;
    }

    .nav-link i::after {
        display: none; /* Pas de trait en mobile */
    }

    .nav-link:hover i {
        transform: scale(1.1);
        background: rgba(255, 204, 0, 0.3);
        border-color: rgba(255, 204, 0, 0.6);
    }

    /* Mobile: afficher les entités repositionnées en bas */
    .mobile-entity {
        display: flex; /* Affiche les entités comme liens directs en mobile */
        opacity: 0;
        transform: translateX(30px);
        animation: mobileMenuLinkSlide 0.5s var(--animation-timing) forwards;
    }

    /* Afficher les séparateurs en mobile */
    .nav-separator {
        display: block !important;
    }

    /* Repositionner le dropdown langue en mobile */
    .language-selector {
        position: fixed;
        top: 0rem;
        left: 1rem;
        z-index: 1003;
    }

    .lang-dropdown {
        position: fixed;
        top: 3.5rem;
        left: 1rem;
        right: auto;
        min-width: 120px;
        max-width: 150px;
    }

    /* Optimisation des performances */
    .nav-menu,
    .nav-link {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        perspective: 1000px;
    }

    /* Menu controls (hamburger et langue) */
    .lang-switch {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        padding: 0.3rem 0.8rem;
        background: rgba(255, 255, 255, 0);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1),
                    0 4px 10px rgba(0, 0, 0, 0.2);
        color: #fff;
        font-weight: 500;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-left: 1rem;
        user-select: none;
        position: absolute;
        top: 25px;
        left: 10px;
    }

    .lang-switch:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-1px) scale(1.03);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .nav-menu-controls {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(23, 67, 146, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1002;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Animation de scroll pour la navigation */
@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de brillance sur les liens */
.nav-link::after {
    display: none; /* Suppression de l'effet de brillance glissant */
}

.nav-link:hover::after {
    display: none; /* Suppression de l'effet au hover */
}

/* Style Mobile */
@media (max-width: 1000px) {
    .nav {
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        z-index: 1000;
        padding: 3px 1rem;
        border-radius: 0px;
        border-bottom: 1px solid gray;
    }

    .nav::before {
        border-radius: none;
        box-shadow: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 87%;
        height: 100vh;
        background: linear-gradient(to right, rgb(18, 50, 110), rgb(34, 91, 197));
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transition: all 0.6s var(--animation-timing);
        z-index: 1001;
        overflow-y: auto;
        overflow-x: hidden;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 90%;
        margin: 0.5rem auto;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 500;
        letter-spacing: 0.5px;
        padding: 1rem 1.2rem;
        background: rgba(255, 255, 255, 0.07);
        color: var(--primary-color, #ffcc00);
        border-radius: 16px;
        border: 1px solid rgba(255, 204, 0, 0.25);
        box-shadow: 0 8px 16px rgba(255, 204, 0, 0.1);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        transform: scale(0.96);
        opacity: 0;
        position: relative;
        overflow: hidden;
        transition: all 0.35s ease;
        animation: navLinkEnter 0.6s ease forwards;
        animation-delay: var(--delay, 0s);
        touch-action: manipulation;
    }

    @keyframes navLinkEnter {
        from {
            transform: scale(0.9);
            opacity: 0;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -60%;
        width: 120%;
        height: 100%;
        background: linear-gradient(
            135deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent
        );
        transform: skewX(-20deg);
        z-index: 1;
        transition: left 0.6s ease;
        pointer-events: none;
    }

    .nav-link:hover {
        transform: scale(1.02);
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 204, 0, 0.45);
        box-shadow: 0 4px 16px rgba(255, 204, 0, 0.2);
        color: #ffffff;
    }

    .nav-link:hover::before {
        left: 100%;
    }

    .nav-link:active {
        transform: scale(0.98);
        box-shadow: 0 0 8px rgba(255, 204, 0, 0.3);
    }

    /* Correction pour les labels de langue */
    .nav-link[data-lang-key="services"],
    .nav-link[data-lang-key="expertise"] {
        transition: all 0.4s var(--animation-timing);
    }

    .nav-link[data-lang-key="services"][data-lang="fr"]::after {
        content: 'Services';
    }

    .nav-link[data-lang-key="services"][data-lang="en"]::after {
        content: 'Services';
    }

    .nav-link[data-lang-key="expertise"][data-lang="fr"]::after {
        content: 'Expertise';
    }

    .nav-link[data-lang-key="expertise"][data-lang="en"]::after {
        content: 'Expertise';
    }

    .nav-menu.active .nav-link {
        animation: slideIn 0.5s var(--animation-timing) forwards;
        transform-origin: center;
    }

    @keyframes slideIn {
        0% {
            transform: translateX(50px) scale(0.9);
            opacity: 0;
        }
        100% {
            transform: translateX(0) scale(1);
            opacity: 1;
        }
    }

    /* Ajustement des délais d'animation pour une meilleure séquence */
    .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.5s; }

    /* Amélioration du conteneur pour éviter les débordements */
    .nav-container {
        max-width: 100%;
        width: 100%;
        padding: 0 1rem;
        position: relative;
        overflow: hidden;
    }

    /* Ajustement de l'animation du soulignement en mobile */
    .nav-link:hover::before,
    .nav-link.active::before {
        width: 80%;
        left: 10%;
    }
}

/* Animations */
@keyframes popIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.5;
        transform: rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: rotate(180deg);
    }
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Styles pour très petits écrans */
@media (max-width: 480px) {
    .nav {
        padding: 0.8rem;
    }

    .nav-logo {
        height: 35px;
    }

    .hamburger {
        width: 45px;
        height: 45px;
        padding: 10px;
    }

    .hamburger span {
        width: 22px;
    }

    .hamburger span:nth-child(1) { 
        top: 10px;
        width: 16px;
    }

    .hamburger span:nth-child(2) { 
        top: 20px;
        width: 22px;
    }

    .hamburger span:nth-child(3) { 
        top: 30px;
        width: 14px;
    }

    .nav-menu {
        padding: 4rem 1rem;
    }

    .nav-link {
        width: 90%;
        font-size: 1.1rem;
        padding: 1rem;
    }
}

/* Styles spécifiques pour le titre principal ESA */
.presentation_text {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, 
        #ffffff 0%,           /* Blanc pur */
        #fff7ed 20%,          /* Blanc cassé */
        #fed7aa 40%,          /* Orange très clair */
        #fdba74 60%,          /* Orange clair */
        #fb923c 80%,          /* Orange moyen */
        #f97316 100%          /* Orange */
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback pour les navigateurs non-webkit */
    text-shadow: none; /* Enlever l'ombre pour le dégradé */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.presentation_text strong {
    font-size: clamp(1.2rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, 
        #ffffff 0%,           /* Blanc pur */
        #fff7ed 20%,          /* Blanc cassé */
        #fed7aa 40%,          /* Orange très clair */
        #fdba74 60%,          /* Orange clair */
        #fb923c 80%,          /* Orange moyen */
        #f97316 100%          /* Orange */
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback pour les navigateurs non-webkit */
    text-shadow: none; /* Enlever l'ombre pour le dégradé */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.presentation_text span {
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback pour les navigateurs non-webkit */
}

/* Animation supprimée pour un style statique */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.5) 100%);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 2rem;
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 80px; /* Espace pour les indicateurs */
}

.hero-text-content {
    flex: 1;
    min-width: 300px;
    max-width: 800px;
}

.hero-title-wrapper {
    margin-bottom: .1rem;
    margin-top: 150px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content h1 span {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateX(-30px);
    background-size: 200% auto;
    animation: heroTextSlide 1s var(--animation-timing) forwards 0.5s;
    position: relative;
    padding-bottom: 5px;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    animation: heroUnderline 1.2s var(--animation-timing) forwards 1.5s;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.3);
}

@keyframes heroUnderline {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes heroTextSlide {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 0.95;
        transform: translateX(0);
    }
}

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

.hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 1.4vw, 1.3rem) clamp(2.5rem, 3vw, 3.2rem);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
    background-color: #202020;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 0;
    overflow: hidden;
    animation: dynamicGlow 3s linear infinite;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: none;
    pointer-events: none;
    z-index: 2;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(
        to right,
        cyan,
        blue,
        yellow,
        cyan
    );
    background-size: 300% 100%;
    animation: glow-border 3s linear infinite;
    z-index: -1;
    box-sizing: border-box;
    pointer-events: none;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #222;
    animation-play-state: paused;
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.8),
        0 0 60px rgba(255, 255, 255, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Animation de bordure lumineuse */
@keyframes glow-border {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

/* Animation d'aura dynamique pour le bouton principal */
@keyframes dynamicGlow {
    0% {
        box-shadow: 
            0 0 12px rgba(0, 255, 255, 0.3),
            0 0 20px rgba(0, 255, 255, 0.15),
            0 3px 10px rgba(0, 0, 0, 0.15);
    }
    33% {
        box-shadow: 
            0 0 12px rgba(0, 0, 255, 0.3),
            0 0 20px rgba(0, 0, 255, 0.15),
            0 3px 10px rgba(0, 0, 0, 0.15);
    }
    66% {
        box-shadow: 
            0 0 12px rgba(255, 255, 0, 0.3),
            0 0 20px rgba(255, 255, 0, 0.15),
            0 3px 10px rgba(0, 0, 0, 0.15);
    }
    100% {
        box-shadow: 
            0 0 12px rgba(0, 255, 255, 0.3),
            0 0 20px rgba(0, 255, 255, 0.15),
            0 3px 10px rgba(0, 0, 0, 0.15);
    }
}

/* Animation d'aura dynamique pour le bouton outline */
@keyframes dynamicGlowOutline {
    0% {
        box-shadow: 
            0 0 12px rgba(23, 67, 146, 0.25),
            0 0 20px rgba(23, 67, 146, 0.1),
            0 3px 10px rgba(0, 0, 0, 0.1);
    }
    25% {
        box-shadow: 
            0 0 12px rgba(255, 204, 0, 0.3),
            0 0 20px rgba(255, 204, 0, 0.12),
            0 3px 10px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 
            0 0 12px rgba(23, 67, 146, 0.25),
            0 0 20px rgba(23, 67, 146, 0.1),
            0 3px 10px rgba(0, 0, 0, 0.1);
    }
    75% {
        box-shadow: 
            0 0 12px rgba(255, 204, 0, 0.3),
            0 0 20px rgba(255, 204, 0, 0.12),
            0 3px 10px rgba(0, 0, 0, 0.1);
    }
    100% {
        box-shadow: 
            0 0 12px rgba(23, 67, 146, 0.25),
            0 0 20px rgba(23, 67, 146, 0.1),
            0 3px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Style pour le bouton secondaire (outline) */
.cta-button--outline {
    background-color: rgba(71, 71, 71, 0.683);
    color: #ffffff;
    overflow: hidden;
    animation: dynamicGlowOutline 4s linear infinite;
}

.cta-button--outline::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(
        to right,
        #174392,
        #ffcc00,
        #174392,
        #ffcc00,
        #174392,
    );
    background-size: 400% 100%;
    animation: glow-border 3s linear infinite;
    z-index: -1;
    box-sizing: border-box;
    pointer-events: none;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

.cta-button--outline:hover {
    background-color: #111;
    color: #ffffff;
    transform: translateY(-3px);
    animation-play-state: paused;
    box-shadow: 
        0 0 25px rgba(255, 204, 0, 0.7),
        0 0 50px rgba(23, 67, 146, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Animation supprimée car plus utilisée pour un style plus professionnel */

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 100%;
    margin-top: 1rem;
}

.stat-item {
    flex: 1 1 150px;
    min-width: 120px;
    max-width: 200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: glowPulse 2s infinite;
}

.stat-label {
    font-size: clamp(0.7rem, 1vw, 0.9rem);
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-navigation {
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 3;
}

.hero-nav-button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-nav-button:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.slide-counter {
    position: absolute;
    bottom: 2rem;
    right: 3%;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 2rem;
        z-index: 2;
    }

    .hero-content {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        color: white;
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 1s ease forwards 0.5s;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2rem;
        padding-bottom: 80px; /* Espace pour les indicateurs */
    }

    .hero-text-content {
        flex: 1;
        min-width: 300px;
        max-width: 800px;
        margin-left: -15px;
    }

    .hero-title-wrapper {
        margin-bottom: .1rem;
        max-width: 800px;
    }

    .hero-title-wrapper {
        margin-bottom: 2.5rem;
        margin-top: -5%;
        max-width: 800px;
    }

    .hero-content-wrapper {
        padding: 0 5%;
        align-items: center;
        text-align: center;
        padding-top: 70px;
    }

    .hero-content {
        padding-top: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 2rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 0.75rem;
    }

    .stat-item {
        flex: 1 1 110px;
        min-width: 110px;
        max-width: 150px;
        padding: 0.75rem;
        text-align: center;
    }

    .stat-number {
        font-size: clamp(1.2rem, 2.5vw, 1.5rem);
        margin-bottom: 0.3rem;
    }

    .stat-label {
        font-size: clamp(0.6rem, 0.9vw, 0.8rem);
    }

    .hero-navigation {
        right: 5%;
    }

    .slide-counter {
        right: 5%;
    }
}

@media (max-width: 480px) {
    .hero-content-wrapper {
        padding: 0 1rem;
        padding-top: 60px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }

    .hero-stats {
        gap: 0.5rem;
    }

    .stat-item {
        flex: 1 1 90px;
        min-width: 90px;
        max-width: 120px;
        padding: 0.6rem;
    }

    .stat-number {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }

    .stat-label {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .why-us-card {
        flex-direction: column;
        gap: 1rem;
    }

    .expertise-text {
        padding: 1.5rem;
    }

    .expertise-image img {
        height: 300px;
    }
}

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

/* Menu Button Styles */
.menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.menu-btn__burger {
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.menu-btn__burger::before {
    transform: translateY(-8px);
}

.menu-btn__burger::after {
    transform: translateY(8px);
}

/* Menu Button Animation */
.menu-btn.open .menu-btn__burger {
    transform: translateX(-50px);
    background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg) translate(35px, -35px);
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg) translate(35px, 35px);
}

/* Services Section */
.services {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
}

/* Expertise Section */
.expertise {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.expertise-container {
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-button {
    padding: 1rem 2rem;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tab-button i {
    font-size: 1.2rem;
}

.tab-button.active {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

.expertise-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expertise-text {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.expertise-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.expertise-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.expertise-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #444;
}

.expertise-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.expertise-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.2);
}

.expertise-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
}

.expertise-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

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

/* Why Choose Us Section */
.why-us {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 140, 0, 0.1), transparent 60%);
    pointer-events: none;
}

.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-us-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.why-us-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.why-us-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.why-us-text p {
    color: #666;
    line-height: 1.6;
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.why-us-card {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 2rem;
}

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

.card-stat .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-stat .stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Team Section */
.team {
    display: none;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

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

    .why-us-container,
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-us-card {
        position: relative;
        bottom: 0;
        margin-top: -50px;
    }

    .expertise-tabs {
        flex-wrap: wrap;
    }

    .tab-button {
        flex: 1 1 calc(50% - 1rem);
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: auto;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        flex-direction: column;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(255, 140, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(30);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-links a:hover {
        background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(26, 35, 126, 0.1));
        transform: translateX(5px);
    }

    .menu-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 1000;
        margin-left: auto;
    }

    .menu-btn__burger {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 5px;
        transition: all 0.3s ease-in-out;
        position: relative;
    }

    .menu-btn__burger::before,
    .menu-btn__burger::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 5px;
        transition: all 0.3s ease-in-out;
    }

    .menu-btn__burger::before {
        transform: translateY(-8px);
    }

    .menu-btn__burger::after {
        transform: translateY(8px);
    }

    /* Animation du bouton menu */
    .menu-btn.open .menu-btn__burger {
        transform: translateX(-50px);
        background: transparent;
    }

    .menu-btn.open .menu-btn__burger::before {
        transform: rotate(45deg) translate(35px, -35px);
    }

    .menu-btn.open .menu-btn__burger::after {
        transform: rotate(-45deg) translate(35px, 35px);
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo img {
        height: 35px;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-content {
        width: 95%;
        padding: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-button {
        width: 95%;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .why-us-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .expertise-text {
        padding: 2rem;
    }

    .expertise-text h3 {
        font-size: 1.8rem;
    }

    .tab-button {
        flex: 1 1 100%;
    }

    .navbar {
        height: 60px;
    }

    .slide-indicators {
        bottom: 20px;
    }

    .indicator {
        width: 30px;
        height: 3px;
    }

    .indicator.active {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .service-card,
    .expertise-text,
    .team-member,

    .member-image {
        width: 150px;
        height: 150px;
    }

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

    .stat-label {
        font-size: 0.9rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .why-us-card {
        flex-direction: column;
        gap: 1rem;
    }

    .expertise-text {
        padding: 1.5rem;
    }

    .expertise-image img {
        height: 300px;
    }

    .nav-links {
        padding: 1.5rem;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.7rem;
    }

    .menu-btn {
        width: 35px;
        height: 35px;
    }

    .menu-btn__burger,
    .menu-btn__burger::before,
    .menu-btn__burger::after {
        width: 22px;
    }
}

/* Animations pour les sections au scroll */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Ajout des styles d'animation AOS */
[data-aos] {
    opacity: 0;
    transition: all 0.8s var(--animation-timing);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
    opacity: 0;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Délais d'animation */
[data-aos-delay="100"] {
    transition-delay: 0.1s;
}

[data-aos-delay="200"] {
    transition-delay: 0.2s;
}

[data-aos-delay="300"] {
    transition-delay: 0.3s;
}

/* Ajout des transitions pour le glassmorphisme */
.service-card,
.expertise-text,
.team-member,

.service-card:hover,
.expertise-text:hover,
.team-member:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.info-header {
    margin-bottom: 2rem;
}

.info-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.info-content {
    flex-grow: 1;
}

/* Ajustements responsives supplémentaires */
@media (max-width: 992px) {
    .info-header {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .info-header p {
        font-size: 1rem;
    }
}

/* Amélioration des animations */
@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    75% {
        transform: translateY(5px) rotate(-1deg);
    }
}

.service-card:nth-child(2) {
    animation-delay: 1s;
}

.service-card:nth-child(3) {
    animation-delay: 2s;
}

.service-card:nth-child(4) {
    animation-delay: 3s;
}

/* Amélioration des effets de survol */
.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 80%;
}

/* Amélioration des transitions */
.service-card,
.team-member,
.expertise-text {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.team-member:hover,
.expertise-text:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.slider-indicators {
    position: absolute;
    display: block;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.indicator {
    width: calc(60px / var(--slide-count, 8));
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 140, 0, 0.5);
}

.indicator.active {
    background: var(--primary-color);
    width: calc(90px / var(--slide-count, 8));
}

@media (max-width: 768px) {
    .slider-indicators {
        bottom: 35px;
        gap: 8px;
        padding: 10px;
        display: none;
    }

    .indicator {
        display: none;
        width: calc(50px / var(--slide-count, 8));
        height: 3px;
    }

    .indicator.active {
        width: calc(70px / var(--slide-count, 8));
    }
}

/* Indicateurs du mini-carrousel (barre segmentée pleine largeur) */
.stats-indicators {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    display: flex;
    gap: 0;
    z-index: 10;
    padding: 0;
    background: none;
}

.stats-indicator {
    flex: 1 1 auto;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-left: 1px solid black;
    border-right: 1px solid black;
    transition: all 0.3s ease;
}

.stats-indicator.active {
    background: #ffa500;
}

/* Mode PC rétréci (~-35%) */
@media (min-width: 992px) {
    .stats-carousel {
        width: 240px;
        height: 58px;
        --mc-left: 18%;
    }
}

/* Support pour les très grands écrans (réduction supplémentaire) */
@media (min-width: 1400px) {
    .stats-carousel {
        max-width: 220px;
        height: 54px;
        --mc-left: 16%;
    }

    .stat-number {
        font-size: clamp(1.6rem, 2.4vw, 2.0rem);
    }

    .stat-label {
        font-size: clamp(0.8rem, 1.2vw, 1.0rem);
    }
}

.stats-carousel {
    /* proportion de la zone gauche (icône) pour le mini-carrousel */
    --mc-left: 20%;
    position: relative;
    width: min(100%, 380px);
    height: clamp(50px, 8vw, 80px);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(26, 35, 126, 0.15));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 2px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    flex-shrink: 0;
    align-self: center;
}

.stats-carousel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, transparent 60%);
    animation: lightRotate 10s linear infinite;
    pointer-events: none;
}

@keyframes lightRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.stats-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0;
    padding-right: 0.5rem;
    padding-bottom: 0;
    padding-left: 0;
    opacity: 0.5;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-slide.active {
    opacity: 1;
    transform: scale(1.02);
}

.stat-content {
    text-align: center;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-number {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.3rem;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    animation: glowPulse 2s infinite;
}

.stat-label {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Nouveau design mini-carrousel: carte glassmorphisme logo + texte */
.mc-card {
    display: grid;
    grid-template-columns: var(--mc-left) 1px 1fr;
    align-items: center;
    padding: 0; /* icône collée à la gauche */
    border-radius: 16px;
    background: none;
    border: none;
    transform: translateY(0);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
}

.stat-slide.active .mc-card {
    opacity: 1;
    transform: translateY(-2px) scale(1.02);
    animation: mcFadeSwipe 500ms ease both;
}

@keyframes mcFadeSwipe {
    0% { opacity: 0; transform: translateX(22px) scale(0.98); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

.mc-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.25));
    border-radius: 8px;
}

.mc-icon {
    font-size: clamp(18px, 3.6vw, 24px);
    line-height: 1;
    color: #ffa500; /* Orange pur */
    text-shadow: 0 0 2px #ffffff, 0 0 5px #ffffff; /* halo blanc autour de l'icône */
    border-radius: 8px;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    align-self: center;
    margin-left: 14px;
}

.mc-sep {
    width: 1px;
    height: 50%; /* demi-hauteur du séparateur */
    background: rgba(255, 255, 255, 0.6);
    margin: 0; /* séparation fixe sans espacement additionnel */
    border-radius: 0;
    align-self: center; /* centré verticalement dans la carte */
}

.mc-text {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 1);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center; /* centré dans l'espace à droite du séparateur */
    text-align: center;
    justify-self: stretch;
    align-self: stretch;
}

.stats-carousel-button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(26, 35, 126, 0.2));
    border: 1px solid rgba(255, 140, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.stats-carousel-button::before {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2px solid rgba(255, 140, 0, 0.9);
    border-bottom: 2px solid rgba(255, 140, 0, 0.9);
    transform: rotate(-45deg);
    transition: all 0.3s ease;
}

.stats-carousel-button:hover {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.3), rgba(26, 35, 126, 0.3));
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 140, 0, 0.5);
}

.stats-carousel-button:active {
    transform: translateY(-50%) scale(0.95);
}

/* Responsive Design pour le mini-carrousel */
@media (max-width: 1200px) {
    .stats-carousel {
        --mc-left: 34%;
    }
}

@media (max-width: 992px) {
    .stats-carousel {
        --mc-left: 36%;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content-wrapper {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 20vh;
    }

    .stats-carousel {
        width: 100%;
        max-width: none;
        height: clamp(70px, 13vw, 95px); /* hauteur mobile affinée */
        margin-top: 0.5rem;
        align-self: stretch;
        margin-left: auto;
        margin-right: auto;
        --mc-left: 22%; /* largeur icône réduite */
    }

    .stat-number {
        font-size: clamp(1.4rem, 2vw, 1.8rem);
        margin-bottom: 0.2rem;
    }

    .stat-label {
        font-size: clamp(0.75rem, 1vw, 0.85rem);
    }

    .stats-carousel-button {
        width: 32px;
        height: 32px;
        right: 10px;
    }

    .stat-slide {
        padding: 0.5rem; /* réduire le padding pour rentrer le contenu sur mobile */
    }
}

@media (max-width: 480px) {
    .hero-content-wrapper {
        padding: 1rem;
        padding-top: 15vh;
    }

    .stats-carousel {
        height: clamp(72px, 16vw, 100px); /* très petit écran, plus fin */
        --mc-left: 20%; /* icône prend moins d'espace */
    }

    .stat-number {
        font-size: clamp(1.3rem, 1.8vw, 1.6rem);
        margin-bottom: 0.2rem;
    }

    .stat-label {
        font-size: clamp(0.7rem, 0.9vw, 0.8rem);
        letter-spacing: 0.5px;
    }

    .stats-carousel-button {
        width: 28px;
        height: 28px;
        right: 8px;
    }
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1),
                0 4px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
    user-select: none;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.glow-white {
    box-shadow:
        0 0 5px white,
        0 0 10px white,
        0 0 20px white,
        0 0 40px rgba(255, 255, 255, 0.6),
        0 0 60px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.lang-text {
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* ===== STYLES POUR ESA ADVISORY DESIGN INNOVANT ===== */

/* Container principal */
.advisory-universe {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0a0a0a 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Section Hero Advisory */
.advisory-hero-section {
    padding: 80px 0 60px;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-advisory-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-advisory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-advisory-content {
    z-index: 2;
}

.advisory-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.brand-pulse {
    width: 8px;
    height: 8px;
    background: #ff8c00;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.brand-text {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.advisory-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #fff;
}

.title-line-1, .title-line-2 {
    display: block;
    opacity: 0;
    animation: slideInUp 1s ease forwards;
}

.title-line-2 {
    animation-delay: 0.3s;
}

.gradient-text {
    background: linear-gradient(45deg, #ff8c00, #ffd700, #ff6b35);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

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

.advisory-hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff8c00;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-separator {
    width: 1px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
}

/* Visual Hero */
.hero-advisory-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.1);
    border: 2px solid rgba(255, 140, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8c00;
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.float-element[data-float="1"] {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.float-element[data-float="2"] {
    top: 10%;
    right: 25%;
    animation-delay: 1.5s;
}

.float-element[data-float="3"] {
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
}

.float-element[data-float="4"] {
    bottom: 15%;
    right: 20%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.central-orb {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 140, 0, 0.3);
}

.orb-ring.ring-1 {
    width: 150px;
    height: 150px;
    animation: rotate 10s linear infinite;
}

.orb-ring.ring-2 {
    width: 100px;
    height: 100px;
    animation: rotate 8s linear infinite reverse;
}

.orb-ring.ring-3 {
    width: 50px;
    height: 50px;
    animation: rotate 6s linear infinite;
}

.orb-core {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.5);
    animation: pulse 3s ease-in-out infinite;
}

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

/* Hero Mobile */
.hero-advisory-mobile-container {
    text-align: center;
    padding: 2rem 1rem;
}

.advisory-brand-badge.mobile {
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.advisory-hero-title.mobile {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 2rem;
}

.mobile-orb {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.mobile-orb .orb-ring {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 140, 0, 0.4);
    animation: rotate 8s linear infinite;
}

.mobile-orb .orb-core {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

/* Section ADN */
.advisory-dna-section {
    padding: 80px 0;
    position: relative;
}

.dna-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.dna-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.dna-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.timeline-track {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, #ff8c00, #ffd700, #ff6b35);
    z-index: 1;
}

.dna-element {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.dna-node {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    border: 3px solid #ff8c00;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.dna-node:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.5);
}

.node-icon {
    color: #ff8c00;
    font-size: 1.8rem;
}

.dna-content h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.dna-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ADN Mobile */
.dna-mobile-container {
    padding: 0 1rem;
}

.dna-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dna-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.dna-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 140, 0, 0.4);
    transform: translateY(-5px);
}

.dna-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.dna-card h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.dna-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Hexagone d'Excellence */
.excellence-hexagon-section {
    padding: 80px 0;
    position: relative;
}

.excellence-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hexagon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.hexagon-item {
    text-align: center;
    transition: all 0.3s ease;
}

.hex-shape {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
    transform: rotate(30deg);
    transition: all 0.3s ease;
}

.hex-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 140, 0, 0.1), rgba(26, 35, 126, 0.1));
    border: 2px solid rgba(255, 140, 0, 0.3);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-30deg);
    transition: all 0.3s ease;
}

.hexagon-item:hover .hex-shape {
    transform: rotate(30deg) scale(1.1);
}

.hexagon-item:hover .hex-inner {
    background: linear-gradient(45deg, rgba(255, 140, 0, 0.2), rgba(26, 35, 126, 0.2));
    border-color: rgba(255, 140, 0, 0.5);
}

.hex-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ff8c00;
}

.hex-icon i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hex-icon h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.2;
}

.hex-details {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 250px;
    margin: 0 auto;
}

/* Roue Excellence Mobile */
.excellence-wheel-section {
    padding: 60px 0;
}

.excellence-mobile-container {
    padding: 0 1rem;
    text-align: center;
}

.excellence-wheel {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 2rem auto;
    border-radius: 50%;
    border: 2px solid rgba(255, 140, 0, 0.3);
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

.center-icon {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.center-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.wheel-segments {
    position: relative;
    width: 100%;
    height: 100%;
}

.wheel-segment {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 140, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wheel-segment:nth-child(1) { top: -25px; left: 50%; transform: translateX(-50%); }
.wheel-segment:nth-child(2) { top: 25px; right: -25px; }
.wheel-segment:nth-child(3) { bottom: 25px; right: -25px; }
.wheel-segment:nth-child(4) { bottom: -25px; left: 50%; transform: translateX(-50%); }
.wheel-segment:nth-child(5) { bottom: 25px; left: -25px; }
.wheel-segment:nth-child(6) { top: 25px; left: -25px; }

.wheel-segment:hover {
    background: rgba(255, 140, 0, 0.2);
    transform: scale(1.1);
    border-color: rgba(255, 140, 0, 0.6);
}

.segment-icon {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.segment-text {
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
}

.wheel-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.wheel-details h3 {
    color: #ff8c00;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.wheel-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Services Constellation */
.services-constellation-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.constellation-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.constellation-map {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin: 4rem 0;
}

.service-galaxy {
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-galaxy:hover {
    transform: translateY(-10px);
}

.galaxy-core {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
}

.core-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.4);
    position: relative;
    z-index: 2;
}

.core-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 140, 0, 0.3);
    animation: pulse 2s infinite;
}

.galaxy-satellites {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    margin-left: -50px;
    margin-top: -50px;
}

.satellite {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 140, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8c00;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.satellite:hover {
    background: rgba(255, 140, 0, 0.2);
    transform: scale(1.2);
}

.satellite:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit 15s linear infinite;
}

.satellite:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: orbit 15s linear infinite;
    animation-delay: -5s;
}

.satellite:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit 15s linear infinite;
    animation-delay: -10s;
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(80px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

.galaxy-label {
    margin-top: 1rem;
}

.galaxy-label h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.galaxy-label p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.constellation-details {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    text-align: center;
}

.constellation-details h3 {
    color: #ff8c00;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.constellation-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

/* Services Carousel Mobile */
.services-carousel-section {
    padding: 60px 0;
}

.carousel-container {
    padding: 0 1rem;
}

.services-carousel-wrapper {
    position: relative;
    height: 350px;
    margin: 2rem 0;
    overflow: hidden;
}

.service-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateX(100%);
}

.service-card.active {
    opacity: 1;
    transform: translateX(0);
}

.card-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    opacity: 0.1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-icon {
    font-size: 4rem;
    color: #ff8c00;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 140, 0, 0.2);
    border: 1px solid rgba(255, 140, 0, 0.4);
    border-radius: 15px;
    color: #ff8c00;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.2);
    border: 1px solid rgba(255, 140, 0, 0.4);
    color: #ff8c00;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255, 140, 0, 0.3);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 10px;
    height: 4px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ff8c00;
    transform: scale(1.2);
}

/* Innovation Ecosystem */
.innovation-ecosystem-section {
    padding: 80px 0;
    position: relative;
}

.ecosystem-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.innovation-cluster {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.innovation-cluster:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 140, 0, 0.4);
    transform: translateY(-5px);
}

.cluster-visualization {
    position: relative;
    height: 150px;
    margin-bottom: 1.5rem;
}

.cluster-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    z-index: 2;
}

.cluster-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8c00;
    font-size: 0.9rem;
    animation: particleFloat 4s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
}

.particle:nth-child(2) {
    top: 30%;
    right: 15%;
}

.particle:nth-child(3) {
    bottom: 20%;
    left: 30%;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

.cluster-content h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cluster-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cluster-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.stat {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 140, 0, 0.2);
    border-radius: 15px;
    color: #ff8c00;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Timeline Innovation Mobile */
.innovation-timeline-section {
    padding: 60px 0;
}

.timeline-container {
    padding: 0 1rem;
}

.innovation-timeline-track {
    position: relative;
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 140, 0, 0.4);
    transform: translateX(10px);
}

.timeline-marker {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.timeline-content h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* CTA Section */
.advisory-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(26, 35, 126, 0.1));
    border-top: 1px solid rgba(255, 140, 0, 0.2);
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.cta-visual {
    display: flex;
    justify-content: center;
}

.cta-orb {
    position: relative;
    width: 200px;
    height: 200px;
}

.orb-rings {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 140, 0, 0.3);
}

.ring.ring-1 {
    width: 100%;
    height: 100%;
    animation: rotate 15s linear infinite;
}

.ring.ring-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    animation: rotate 12s linear infinite reverse;
}

.ring.ring-3 {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    animation: rotate 10s linear infinite;
}

.orb-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.5);
}

.cta-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn.primary {
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    color: #fff;
    border: none;
}

.cta-btn.secondary {
    background: transparent;
    color: #ff8c00;
    border: 2px solid #ff8c00;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3);
}

.cta-btn.primary:hover {
    background: linear-gradient(45deg, #ffd700, #ff8c00);
}

.cta-btn.secondary:hover {
    background: rgba(255, 140, 0, 0.1);
    border-color: #ffd700;
}

.btn-text {
    font-size: 1rem;
}

.btn-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.cta-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-advisory-grid {
        gap: 2rem;
    }
    
    .hexagon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .constellation-map {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .advisory-hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-advisory-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .advisory-hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-separator {
        display: none;
    }
    
    .dna-timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline-track {
        display: none;
    }
    
    .hexagon-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .constellation-map {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .advisory-hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
}

/* Animations supplémentaires */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Classes utilitaires */
.desktop-only {
    display: block;
}

.stellar-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .stellar-only {
        display: block;
    }
}

@keyframes appearWithGlow {
    0% {
        opacity: 0;
        transform: translateX(50px);
        box-shadow: 0 0 0 rgba(255, 204, 0, 0);
    }
    50% {
        opacity: 0.5;
        transform: translateX(25px);
        box-shadow: 0 0 20px rgba(255, 204, 0, 0.2);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        box-shadow: 0 0 10px rgba(255, 204, 0, 0.1);
    }
}

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

.section-nous-contacter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

/* En mode desktop (≥768px) */
@media (min-width: 768px) {
  .section-nous-contacter {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}

.separator-why-us{
    background: linear-gradient(to right, #ff9900, #ffdb4d, #ff9900);
    width: 40%;
    border-radius: 50px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 1rem;
    height: 4px;
    animation: pulse-line-why-us 2s ease-in-out infinite;
}

@keyframes pulse-line-why-us {
    0% { width: 35%; }
    50% { width: 40%; }
    100% { width: 35%; }
}

.card-contact {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    width: 100%;
    max-width: 300px;
    min-width: 300px;
    min-height: 570px;
    max-height: 100%;
    margin-top: 22px;
    margin-bottom: 1.7rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
    border: .5px solid rgba(24, 86, 244, 0.187);
    box-shadow: 0 5px 15px rgba(40, 97, 243, 0.24);
}

@media (min-width: 600px) {
    .card-contact {
        width: 100%;
        max-width: 600px;
        min-width: 400px;
    }
}

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

.card-header h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: .5rem;
    text-align: center;
    background: linear-gradient(to right, rgb(0, 10, 156), rgb(110, 211, 255), rgb(0, 10, 156));
    text-shadow: 0 2px 6px rgba(66, 165, 245, 0.4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-body p {
    font-size: 1rem;
    margin-top: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 6px rgba(3, 3, 3, 0.274);
}

.card-body strong {
    font-weight: 600;
    text-shadow: 0 2px 6px #2053b031;
    color: #174392;
}

.card-body ul {
    list-style: none;
    padding-left: 0;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.card-body ul li {
    display: flex;
    text-shadow: 0 2px 6px rgba(3, 3, 3, 0.274);
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: .8rem;
}

.card-body ul li i {
    color: #174392;
    font-size: .8rem;
    min-width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(#ff9900, #ffdb4d, #ff9900);
    padding: 0.3rem;
    color: white;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.4);
}

.call-to-action {
    font-style: italic;
    color: #174392;
    font-weight: 600;
    background: linear-gradient(to right, #5d96ff0d, #17429200);
    border-left: 4px solid #174392;
    padding-left: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

@media (max-width: 600px) {
    .card-contact {
        padding: 1.5rem;
    }

    .card-header h2 {
        font-size: 1.5rem;
    }

    .card-body p,
    .card-body ul li,
    .call-to-action {
        font-size: 0.95rem;
    }

    .mc-icon {
        font-size: clamp(18px, 3.6vw, 24px);
        line-height: 1;
        color: #ffa500; /* Orange pur */
        text-shadow: 0 0 1px #ffffff, 0 0 3px #ffffff; /* halo blanc autour de l'icône */
        border-radius: 8px;
        min-width: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: center;
        align-self: center;
        margin-left: 0px;
    }
}

.read-more-m__dal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.m__dal-overlay {
  position: absolute;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

.m__dal-content {
  position: relative;
  background: #fff;
  max-width: 600px;
  max-height: 80%;
  overflow-y: auto;
  padding: 2rem;
  border-radius: 8px;
  z-index: 1001;
}

.m__dal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.m__dal-description {
  white-space: pre-wrap;
  margin-top: 1rem;
}

.titles {
    font-size: 2rem;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
    position: relative;

    /* Dégradé de couleur */
    background: linear-gradient(to right, rgb(0, 10, 156), rgb(110, 211, 255), rgb(0, 10, 156));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    text-shadow: 0 2px 6px rgba(66, 165, 245, 0.4);

    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Barre soulignante avec animation CSS uniquement */
.titles::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 70px;
  height: 3px;
  background: linear-gradient(to right, #ff9900, #ffcc00, #ff9900);
  border-radius: 2px;
  transition: transform 0.5s ease 0.2s;
}

/* Animation CSS pure avec Intersection Observer fallback : via scroll-trigger avec .reveal */
.titles.reveal {
  opacity: 1;
  transform: translateY(0);
}

.titles.reveal::after {
  transform: translateX(-50%) scaleX(1);
}

.readMoreButton{
    background: none;
    color: white;
    text-decoration-line: underline;
    font-weight: bold;
    font-family: 'poppins';
    border: none;
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
}

.presentation-div {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.card {
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    flex: 1 1 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease forwards;
}

.card h3 {
    color: rgb(0, 10, 156);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.card h3 i {
    background: linear-gradient(135deg, #00bfff, rgb(0, 10, 156));
    color: white;
    border-radius: 50%;
    padding: 0.6rem;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.sep {
    height: 3px;
    width: 60px;
    background: linear-gradient(to right, rgb(0, 10, 156), #00c6ff);
    margin: 1rem auto;
    border-radius: 2px;
}

.card p {
    line-height: 1.7;
}

.card.small {
    max-width: 500px;
}

.card.small p i {
    color: rgb(0, 10, 156);
    margin-right: 8px;
    background: none;
}

.values-section {
    margin-top: 4rem;
    padding: 3rem 1rem;
    background: none;
    box-shadow: none;
    border-radius: 0;
    text-align: center;
}

.values-section h3 {
    font-size: 1.8rem;
    color: rgb(0, 10, 156);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
}

.values-section h3 i {
    background: linear-gradient(135deg, #00bfff, rgb(0, 10, 156));
    color: white;
    border-radius: 50%;
    padding: 0.6rem;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    transform: scale(.9);
}

.value-card {
    background: linear-gradient(135deg, #f9fbfe, #e5eeff);
    border-radius: 12px;
    padding: 1.5rem 1.2rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.value-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.value-icon {
    background: linear-gradient(135deg, rgb(0, 10, 156), #00bfff);
    color: white;
    font-size: 1.2rem;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #222;
    margin: 0;
}

.value-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #ccc, #eee);
    border: none;
    margin: 0.2rem 0 0.4rem;
}

.value-description {
    font-size: 0.94rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

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

@media (min-width: 1000px) and (max-width: 1181px) {
    .app-name {
        display: none;
    }
}

/* ===== Affinage d'affichage du mini-carrousel (slogans) ===== */
.stat-slide.subtle.active {
    transform: none; /* désactive le zoom pour un rendu plus délicat */
}

.stat-content.stat-slogan .stat-number {
    display: none; /* masque le "nombre" pour ne garder que le slogan */
}

.stat-content.stat-slogan .stat-label {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Icône stylée pour mini-carrousel */
.stat-content.stat-slogan {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: flex-start;
    width: 100%;
}

.stats-carousel {
    position: relative;
    overflow: hidden; /* empêche tout débordement */
}

.stat-content.stat-slogan .stat-label { order: 3; }
.stat-content.stat-slogan .stat-icon { order: 1; }

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: transparent; /* style plus discret */
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

/* Séparateurs verticaux entre icône/texte et texte/flèche */
.stat-sep {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.35);
    margin: 0 8px;
}

/* Bouton flèche de contrôle, collé au bord droit du mini-carrousel */
.stat-control {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.12);
    color: rgba(255, 255, 255, 0.95);
    padding: 0;
}

.stat-control .arrow {
    font-size: 16px;
    line-height: 1;
}
/* ===== Séparateur de lot d'actualités ===== */
.actualites-batch-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #808080; /* gris pur */
  font-size: 0.85rem; /* petite police */
  margin: 1rem 0; /* séparé en haut et en bas de 1rem */
  white-space: nowrap; /* reste sur une seule ligne */
  width: 100%;
  grid-column: 1 / -1; /* s'étend sur toute la grille */
}
.actualites-batch-separator::before,
.actualites-batch-separator::after {
  content: '';
  flex: 1 1 auto;
  border-top: 1px solid #dcdcdc; /* lignes fines et discrètes */
}
.actualites-batch-separator span { flex: 0 0 auto; }