        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            overflow-x: hidden;
        }
        
        /* Background professionnel - Grille subtile */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            overflow: hidden;
            background: 
                linear-gradient(90deg, rgba(41, 128, 185, 0.03) 1px, transparent 1px),
                linear-gradient(rgba(41, 128, 185, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
        }

        .circle-bg {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(41, 128, 185, 0.08) 0%, transparent 70%);
            filter: blur(40px);
        }

        .circle-1 {
            width: 600px;
            height: 600px;
            top: -10%;
            left: -10%;
            background: radial-gradient(circle, rgba(41, 128, 185, 0.06) 0%, transparent 70%);
        }

        .circle-2 {
            width: 500px;
            height: 500px;
            bottom: -15%;
            right: -5%;
            background: radial-gradient(circle, rgba(243, 156, 18, 0.05) 0%, transparent 70%);
        }

        .circle-3 {
            width: 400px;
            height: 400px;
            top: 40%;
            right: 10%;
            background: radial-gradient(circle, rgba(52, 152, 219, 0.04) 0%, transparent 70%);
        }

        @keyframes floatCircle {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(20px, -20px); }
        }
        
        /* Navbar Unique - Logo séparé et connecté au bouton */
        .navbar-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 25px 50px;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo-section {
            display: flex;
            align-items: center;
            gap: 15px;
            background: white;
            padding: 15px 25px;
            border-radius: 50px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 10;
        }
        
        .logo-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            font-weight: 700;
            box-shadow: 0 5px 20px rgba(41, 128, 185, 0.4);
        }
        
        .logo-text {
            font-size: 22px;
            font-weight: 700;
            background: linear-gradient(135deg, #2980b9 0%, #27ae60 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .nav-right {
            display: flex;
            align-items: center;
            gap: 0;
            position: relative;
        }
        
        /* Connection line entre navbar et bouton */
        .connection-line {
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, transparent, #2980b9, transparent);
            position: relative;
        }
        
        .connection-line::before {
            content: '';
            position: absolute;
            width: 8px;
            height: 8px;
            background: #2980b9;
            border-radius: 50%;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(41, 128, 185, 0.7); }
            50% { box-shadow: 0 0 0 10px rgba(41, 128, 185, 0); }
        }
        
        .navbar-menu {
            display: flex;
            gap: 0;
            background: white;
            padding: 15px 30px;
            border-radius: 50px 0 0 50px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            list-style: none;
        }
        
        .navbar-menu li {
            padding: 0 20px;
            border-right: 1px solid #ecf0f1;
        }
        
        .navbar-menu li:last-child {
            border-right: none;
        }
        
        .navbar-menu a {
            text-decoration: none;
            color: #2c3e50;
            font-weight: 500;
            font-size: 15px;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .navbar-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #2980b9, #27ae60);
            transition: width 0.3s ease;
        }
        
        .navbar-menu a:hover {
            color: #2980b9;
        }
        
        .navbar-menu a:hover::after {
            width: 100%;
        }
        
        .contact-btn {
             background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
            color: white;
            padding: 15px 35px;
            border-radius: 0 50px 50px 0;
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            transition: all 0.3s ease;
            box-shadow: 0 10px 40px rgba(18, 67, 243, 0.3);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .contact-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 50px rgba(18, 108, 243, 0.4);
        }
        
        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 150px 50px 100px;
            position: relative;
        }
        
        .hero-content {
            max-width: 1400px;
            width: 100%;
            text-align: center;
        }
        
        /* Company Header avec mots colorés */
        .company-header {
            margin-bottom: 60px;
            animation: fadeInDown 1s ease;
        }
        
        .company-title {
            font-size: 64px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 20px;
        }
        
        .word-creative {
            color: #f39c12;
            display: inline-block;
            animation: colorPulse 3s infinite;
        }
        
        .word-brighter {
            color: #2c3e50;
        }
        
        .word-future {
            color: #2c3e50;
        }
        
        .word-starting {
            color: #2c3e50;
        }
        
        .word-today {
            color: #f39c12;
            animation: colorPulse 3s infinite 0.5s;
        }
        
        @keyframes colorPulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }
        
        .company-tagline {
            font-size: 18px;
            color: #7f8c8d;
            max-width: 600px;
            margin: 0 auto 20px;
            line-height: 1.6;
        }
        
        .cta-buttons-top {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-bottom: 60px;
        }
        
        .btn-action {
            padding: 14px 32px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .btn-yellow {
            background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
            color: white;
            box-shadow: 0 5px 20px rgba(18, 52, 243, 0.3);
        }
        
        .btn-yellow:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(18, 37, 243, 0.4);
        }
        
        .btn-outline {
            background: white;
            color: #2980b9;
            border: 2px solid #2980b9;
        }
        
        .btn-outline:hover {
            background: #2980b9;
            color: white;
            transform: translateY(-2px);
        }
        
        /* Hero Image - Image de personnes qui travaillent */
        .hero-image-container {
            position: relative;
            max-width: 900px;
            margin: 0 auto 80px;
            border-radius: 40px;
            overflow: hidden;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
            animation: fadeIn 1.2s ease;
        }
        
        .hero-image {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s ease;
        }
        
        .hero-image-container:hover .hero-image {
            transform: scale(1.05);
        }
        
        .image-badge {
            position: absolute;
            background: white;
            padding: 15px 25px;
            border-radius: 50px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 600;
            animation: floatBadge 3s infinite ease-in-out;
        }
        
        .badge-top-left {
            top: 30px;
            left: 30px;
            animation-delay: 0s;
        }
        
        .badge-bottom-right {
            bottom: 30px;
            right: 30px;
            animation-delay: 1s;
        }
        
        @keyframes floatBadge {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        .badge-icon {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: linear-gradient(135deg, #2980b9, #3498db);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 16px;
        }
        
        .badge-text {
            color: #2c3e50;
            font-size: 14px;
        }
        
        /* Team Members Mini Avatars - En bas de l'image */
        /* ============================================
   TEAM AVATARS - CORRECTION MOBILE
   ============================================ */

/* Position de base pour desktop */
.team-avatars {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: -15px;
    z-index: 1000; /* ← AUGMENTÉ pour être au-dessus de tout */
}

.team-avatar-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    /* Pour améliorer le tactile sur mobile */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.team-avatar-item:hover {
    transform: translateY(-5px) scale(1.1);
    z-index: 20;
}

.team-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: all 0.3s ease;
    display: block; /* Important pour mobile */
    pointer-events: all; /* Force le clic */
}

.team-avatar-item:hover .team-avatar {
    border-color: #3498db;
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.5);
}

/* ============================================
   MOBILE - Avatars SORTIS du container
   ============================================ */
@media screen and (max-width: 767px) {
    /* Important : sortir les avatars du flux */
    .team-avatars {
        position: relative !important; /* Change de absolute à relative */
        bottom: auto !important;
        left: 0 !important;
        transform: none !important;
        margin: 40px auto 0 !important;
        display: flex;
        justify-content: center;
        gap: 5px;
        width: 100%;
        z-index: 1000 !important; /* Au-dessus de tout */
        padding: 20px 0; /* Augmente la zone cliquable */
    }
    
    .team-avatar-item {
        margin: 0 -8px;
        z-index: 100;
        /* Augmenter la zone tactile */
        padding: 5px;
    }
    
    .team-avatar {
        width: 55px;
        height: 55px;
        border: 3px solid white;
        cursor: pointer;
        /* Force le pointer sur mobile */
        pointer-events: auto !important;
    }
    
    /* Ajouter un effet de pression sur mobile */
    .team-avatar-item:active .team-avatar {
        transform: scale(0.95);
        border-color: #3498db;
    }
}

@media screen and (max-width: 480px) {
    .team-avatars {
        gap: 3px;
        padding: 15px 0;
    }
    
    .team-avatar-item {
        margin: 0 -6px;
        padding: 8px; /* Zone tactile encore plus grande */
    }
    
    .team-avatar {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }
}
        
        /* Partners Logos */
        .partners-section {
            text-align: center;
            margin-top: 60px;
        }
        
        .partners-title {
            font-size: 14px;
            font-weight: 600;
            color: #7f8c8d;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 30px;
        }
        
        .partners-logos {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 40px;
            flex-wrap: wrap;
        }
        
        .partner-badge {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 25px;
            background: white;
            border-radius: 50px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }
        
        .partner-badge:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        }
        
        .partner-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #2980b9, #3498db);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
        }
        
        .partner-name {
            font-size: 14px;
            font-weight: 600;
            color: #2c3e50;
        }
        /* --- Responsive: 2 badges par ligne sur mobile --- */
@media (max-width: 768px) {
    .partners-logos {
        justify-content: center;
        gap: 20px; /* réduit l'espace entre les badges */
    }

    .partner-badge {
        flex: 1 1 45%; /* chaque badge prend environ la moitié de la ligne */
        max-width: 180px; /* limite la largeur pour éviter qu'ils s'étirent trop */
        padding: 10px 15px;
    }

    .partner-name {
        font-size: 13px;
    }

    .partner-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

       /* ============================================
   TEAM PANEL MODAL - Version Mobile-Friendly
   ============================================ */

.team-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 2000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* Pour Safari/iOS */
}

.team-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.team-panel {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    max-width: 100%; /* Important pour mobile */
    background: white;
    border-radius: 50px 50px 0 0;
    padding: 50px 40px 40px;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.3);
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2001;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scroll sur iOS */
}

.team-panel.active {
    bottom: 0 !important; /* Force l'affichage */
}

.panel-handle {
    width: 60px;
    height: 5px;
    background: #ecf0f1;
    border-radius: 10px;
    margin: 0 auto 30px;
    cursor: pointer;
}

.panel-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: #ecf0f1;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.panel-close:hover {
    background: #e74c3c;
    color: white;
    transform: rotate(90deg);
}

.panel-photo-container {
    text-align: center;
    margin-bottom: 25px;
}

.panel-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #3498db;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    margin: 0 auto;
}

.panel-name {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 8px;
}

.panel-role {
    font-size: 16px;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 500;
}

.panel-description {
    font-size: 15px;
    color: #34495e;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
}

.panel-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.5);
}

/* ============================================
   RESPONSIVE MOBILE
   ============================================ */

@media (max-width: 768px) {
    .team-panel {
        width: 100%;
        border-radius: 30px 30px 0 0;
        padding: 40px 30px 30px;
        max-height: 85vh;
    }
    
    .panel-photo {
        width: 100px;
        height: 100px;
        border-width: 4px;
    }
    
    .panel-name {
        font-size: 24px;
    }
    
    .panel-role {
        font-size: 14px;
    }
    
    .panel-description {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .panel-close {
        width: 35px;
        height: 35px;
        font-size: 18px;
        top: 15px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .team-panel {
        padding: 35px 20px 25px;
        max-height: 90vh;
    }
    
    .panel-name {
        font-size: 22px;
    }
    
    .panel-description {
        font-size: 13px;
    }
}
        
        .panel-close {
            position: absolute;
            top: 20px;
            right: 25px;
            background: #ecf0f1;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 20px;
            color: #7f8c8d;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .panel-close:hover {
            background: #e74c3c;
            color: white;
            transform: rotate(90deg);
        }
        
        .panel-photo-container {
            text-align: center;
            margin-bottom: 25px;
        }
        
        .panel-photo {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 5px solid #3498db;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            object-fit: cover;
            margin: 0 auto;
        }
        
        .panel-name {
            font-size: 28px;
            font-weight: 700;
            color: #2c3e50;
            text-align: center;
            margin-bottom: 8px;
        }
        
        .panel-role {
            font-size: 16px;
            color: #7f8c8d;
            text-align: center;
            margin-bottom: 25px;
            font-weight: 500;
        }
        
        .panel-description {
            font-size: 15px;
            color: #34495e;
            line-height: 1.8;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .panel-socials {
            display: flex;
            justify-content: center;
            gap: 15px;
        }
        
        .social-link {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
            color: white;
            text-decoration: none;
            font-size: 20px;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
        }
        
        .social-link:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(52, 152, 219, 0.5);
        }
        
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @media (max-width: 1200px) {
            .company-title {
                font-size: 48px;
            }
            
            .navbar-container {
                padding: 20px 30px;
            }
        }
        
        @media (max-width: 768px) {
            .navbar-menu {
                display: none;
            }
            
            .connection-line {
                display: none;
            }
            
            .nav-right {
                gap: 0;
            }
            
            .contact-btn {
                border-radius: 50px;
            }
            
            .company-title {
                font-size: 36px;
            }
            
            .hero {
                padding: 120px 20px 80px;
            }
            
            .team-panel {
                width: 95%;
            }
            
            .team-avatars {
                gap: -10px;
            }
            
            .team-avatar {
                width: 50px;
                height: 50px;
            }
        }

        .logo-section {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px; /* espace autour du logo */
        background: transparent; /* tu peux changer si tu veux un fond */
        }

        .logo-text {
        width: 180px; /* taille du logo */
        height: auto; /* garde les proportions */
        transition: transform 0.3s ease, filter 0.3s ease;
        cursor: pointer;
        }

        /* Effet au survol */
        .logo-text:hover {
        transform: scale(1.08);
        filter: brightness(1.1);
        }

        /* Services Images Container - Remplace hero-image-container */
        .services-images-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto 100px;
            min-height: 600px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .service-image-card {
            position: absolute;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
            transition: all 0.5s ease;
            cursor: pointer;
        }

        .service-image-card:hover {
            transform: scale(1.05) translateY(-10px);
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
            z-index: 10;
        }

        /* Positionnement décalé des 3 images */
        .card-1 {
            width: 380px;
            height: 280px;
            top: 50px;
            left: 50px;
            animation: floatCard1 4s infinite ease-in-out;
        }

        .card-2 {
            width: 420px;
            height: 320px;
            top: 180px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 5;
            animation: floatCard2 5s infinite ease-in-out;
        }

        .card-3 {
            width: 380px;
            height: 280px;
            top: 80px;
            right: 50px;
            animation: floatCard3 4.5s infinite ease-in-out;
        }

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

        @keyframes floatCard2 {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(-20px); }
        }

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

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

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

        .service-badge {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 12px 25px;
            border-radius: 50px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            font-size: 14px;
            color: #2c3e50;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        }

        .service-badge i {
            color: #2980b9;
            font-size: 18px;
        }

        /* Team Avatars - Ajuster la position */
        .team-avatars {
            position: absolute;
            bottom: -50px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: -15px;
            z-index: 100;
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .services-images-container {
                min-height: 500px;
            }
            
            .card-1, .card-3 {
                width: 320px;
                height: 240px;
            }
            
            .card-2 {
                width: 360px;
                height: 280px;
            }
        }

        @media (max-width: 768px) {
            .services-images-container {
                min-height: 800px;
                flex-direction: column;
            }
            
            .card-1, .card-2, .card-3 {
                position: relative;
                width: 90%;
                height: 220px;
                left: auto;
                right: auto;
                top: auto;
                transform: none;
                margin: 15px auto;
            }
            
            .team-avatars {
                position: relative;
                bottom: 0;
                margin-top: 40px;
            }
        }

        /* ============================================
   ANIMATIONS D'ENTRÉE AU CHARGEMENT
   ============================================ */

/* Cache tout au début */
.navbar-container {
    animation: slideDown 0.8s ease forwards;
    transform: translateY(-100%);
}

.logo-section {
    animation: fadeInScale 1s ease 0.3s forwards;
    opacity: 0;
    transform: scale(0.8);
}

.navbar-menu {
    animation: slideInRight 1s ease 0.5s forwards;
    opacity: 0;
    transform: translateX(50px);
}

.contact-btn {
    animation: slideInRight 1s ease 0.7s forwards;
    opacity: 0;
    transform: translateX(50px);
}

.connection-line {
    animation: expandLine 0.8s ease 0.6s forwards;
    opacity: 0;
    width: 0;
}

/* Hero - Titre avec effet de typing */
.company-header {
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.word-creative {
    animation: fadeInLeft 0.8s ease 1s forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.word-brighter {
    animation: fadeIn 0.8s ease 1.2s forwards;
    opacity: 0;
}

.word-today {
    animation: fadeInRight 0.8s ease 1.4s forwards;
    opacity: 0;
    transform: translateX(30px);
}

.company-tagline {
    animation: fadeInUp 0.8s ease 1.6s forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Boutons CTA - viennent des côtés */
.cta-buttons-top {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-yellow {
    animation: slideInLeft 0.8s ease 1.8s forwards;
    opacity: 0;
    transform: translateX(-50px);
}

.btn-outline {
    animation: slideInRight 0.8s ease 1.8s forwards;
    opacity: 0;
    transform: translateX(50px);
}

/* Images des services - effet cascade */
.service-image-card {
    opacity: 0;
    transform: scale(0.8) translateY(50px);
}

.card-1 {
    animation: zoomInUp 1s ease 2s forwards;
}

.card-2 {
    animation: zoomInUp 1s ease 2.2s forwards;
}

.card-3 {
    animation: zoomInUp 1s ease 2.4s forwards;
}

/* Team avatars - apparition en cascade */
.team-avatar-item {
    opacity: 0;
    transform: translateY(30px);
}

.team-avatar-item:nth-child(1) { animation: fadeInUp 0.6s ease 2.6s forwards; }
.team-avatar-item:nth-child(2) { animation: fadeInUp 0.6s ease 2.7s forwards; }
.team-avatar-item:nth-child(3) { animation: fadeInUp 0.6s ease 2.8s forwards; }
.team-avatar-item:nth-child(4) { animation: fadeInUp 0.6s ease 2.9s forwards; }
.team-avatar-item:nth-child(5) { animation: fadeInUp 0.6s ease 3s forwards; }

/* Partners section */
.partners-section {
    animation: fadeInUp 1s ease 3.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.partner-badge {
    opacity: 0;
    transform: scale(0.8);
}

.partner-badge:nth-child(1) { animation: popIn 0.5s ease 3.4s forwards; }
.partner-badge:nth-child(2) { animation: popIn 0.5s ease 3.5s forwards; }
.partner-badge:nth-child(3) { animation: popIn 0.5s ease 3.6s forwards; }
.partner-badge:nth-child(4) { animation: popIn 0.5s ease 3.7s forwards; }

/* ============================================
   DÉFINITIONS DES ANIMATIONS
   ============================================ */

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomInUp {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes expandLine {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 80px;
    }
}

/* ============================================
   AJUSTEMENTS POUR LES ANIMATIONS PERMANENTES
   ============================================ */

/* Pour que les animations permanentes marchent après le chargement */
.card-1.animated {
    animation: floatCard1 4s infinite ease-in-out !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.card-2.animated {
    animation: floatCard2 5s infinite ease-in-out !important;
    opacity: 1 !important;
}

.card-3.animated {
    animation: floatCard3 4.5s infinite ease-in-out !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ============================================
   TEXT ROTATOR - Mots qui défilent
   ============================================ */

.company-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    min-height: 200px; /* Pour éviter les sauts */
}

.word-static {
    color: #2c3e50;
}

.word-rotator {
    position: relative;
    display: inline-block;
    min-width: 800px; /* Ajuste selon la longueur de tes mots */
    vertical-align: bottom;
    height: 1.2em;
    overflow: hidden;
}

.word-rotate {
    position: absolute;
    left: 0;
    top: 0;
  color: #2c3e50;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
    white-space: nowrap;
}

.word-rotate.active {
    opacity: 1;
    transform: translateY(0);
}

.word-rotate.exit-up {
    animation: slideOutUp 0.5s ease forwards;
}

.word-rotate.enter-down {
    animation: slideInDown 0.5s ease forwards;
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .word-rotator {
        min-width: 350px;
    }
}

@media (max-width: 768px) {
    .company-title {
        font-size: 36px;
        min-height: 150px;
    }
    
    .word-rotator {
        min-width: 250px;
        font-size: 0.9em;
    }
}


.company-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    min-height: 200px;
}

.word-static {
    color: #2c3e50;
}

/* Couleurs pour TERATECH */
.tera {
    color: #1e5a8e; /* Bleu comme dans le logo */
}

.tech {
    color: #f39c12; /* Orange comme dans le logo */
}

.word-rotator {
    position: relative;
    display: inline-block;
    min-width: 200px; /* Réduit pour s'adapter */
    vertical-align: bottom;
    height: 1.2em;
    overflow: visible; /* Changé de hidden à visible */
}

.word-rotate {
    position: absolute;
    left: 0;
    top: 0;
    color: #2c3e50;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
    white-space: nowrap;
}

.word-rotate.active {
    opacity: 1;
    transform: translateY(0);
}

.word-rotate.exit-up {
    animation: slideOutUp 0.5s ease forwards;
}

.word-rotate.enter-down {
    animation: slideInDown 0.5s ease forwards;
}

@keyframes slideOutUp {
    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
   RESPONSIVE - MOBILE & TABLETTE
   ============================================ */

/* Bouton menu unique - Style morphing avec particules */

.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #1e5a8e 0%, #2980b9 100%);
    border-radius: 20px;
    border: none;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 5px 25px rgba(30, 90, 142, 0.4);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu-toggle:hover {
    transform: rotate(180deg) scale(1.1);
    border-radius: 50%;
    box-shadow: 0 8px 35px rgba(30, 90, 142, 0.6);
}

.menu-toggle:active {
    transform: scale(0.9);
}

/* Les lignes du bouton */
.menu-toggle span {
    position: absolute;
    height: 3px;
    background: white;
    border-radius: 3px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu-toggle span:nth-child(1) {
    width: 30px;
    top: calc(50% - 10px);
}

.menu-toggle span:nth-child(2) {
    width: 25px;
    top: 50%;
}

.menu-toggle span:nth-child(3) {
    width: 20px;
    top: calc(50% + 10px);
}

/* Animation quand le menu est ouvert */
.menu-toggle.active {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    transform: rotate(90deg);
    border-radius: 15px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
    top: 50%;
    width: 28px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
    top: 50%;
    width: 28px;
}

/* Enlever les particules si tu ne les aimes pas */
.menu-toggle::before,
.menu-toggle::after {
    display: none;
}

.menu-toggle:hover::before {
    opacity: 1;
    top: -5px;
    left: -5px;
    animation: particle1 1s ease infinite;
}

.menu-toggle:hover::after {
    opacity: 1;
    bottom: -5px;
    right: -5px;
    animation: particle2 1s ease infinite;
}

@keyframes particle1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5px, -5px); }
}

@keyframes particle2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, 5px); }
}

/* Overlay du menu mobile avec effet de vague */
/* Overlay du menu mobile CORRIGÉ */
/* .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 998;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(5px);
} */

.nav-overlay.active {
    opacity: 1;
}

/* Menu mobile CORRIGÉ */
.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 450px;
    height: 100%;
    background: rgb(29, 97, 117);
    z-index: 999; /* Z-index plus élevé que l'overlay */
    padding: 120px 40px 40px;
    overflow-y: auto;
    transition: right 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    border-left: 3px solid #f39c12;
}

/* Menu mobile - Slide depuis la droite avec courbe */
.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 450px;
    height: 100%;
    background: linear-gradient(180deg, #1e5a8e 0%, #2c3e50 50%, #34495e 100%);
    z-index: 1000;
    padding: 120px 40px 40px;
    overflow-y: auto;
    transition: right 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    border-left: 3px solid #f7f6f4;
}

.nav-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

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

/* Logo dans le menu mobile */
.nav-mobile-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile-logo {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #f39c12, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.nav-mobile-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Liens du menu mobile */
.nav-mobile .nav-links {
    flex-direction: column;
    gap: 0;
}

.nav-mobile .nav-links a {
    padding: 20px 25px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    border-left: 4px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 15px;
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-mobile.active .nav-links a {
    transform: translateX(0);
    opacity: 1;
}

/* Animation échelonnée des liens */
.nav-mobile.active .nav-links a:nth-child(1) { transition-delay: 0.1s; }
.nav-mobile.active .nav-links a:nth-child(2) { transition-delay: 0.15s; }
.nav-mobile.active .nav-links a:nth-child(3) { transition-delay: 0.2s; }
.nav-mobile.active .nav-links a:nth-child(4) { transition-delay: 0.25s; }
.nav-mobile.active .nav-links a:nth-child(5) { transition-delay: 0.3s; }

.nav-mobile .nav-links a:hover {
    background: rgba(18, 217, 243, 0.2);
    border-left-color: #eaeef0;
    padding-left: 35px;
    transform: translateX(5px);
}

/* Icônes pour chaque lien */
.nav-mobile .nav-links a::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
    color: #f3f2f2;
}

.nav-mobile-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: none; /* retire la ligne en dessous */
    background: none; /* enlève tout fond éventuel */
}

.nav-mobile-logo-image {
    width: 130px; /* ajuste selon ton logo */
    height: auto;
    display: inline-block;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: none;
}

/* ============================================
   CORRECTION LOGO MOBILE - FIXE EN HAUT À GAUCHE
   ============================================ */

@media (max-width: 768px) {
    .navbar-container {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        padding: 15px 20px !important;
    }

    .logo-text {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        animation: none !important;
        margin: 0 !important;
    }

    .logo-section {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        animation: none !important;
        margin: 0 !important;
    }
}
.nav-mobile .nav-links a[href="#top"]::before { content: '\f015'; }
.nav-mobile .nav-links a[href="#about"]::before { content: '\f0c0'; }
.nav-mobile .nav-links a[href="#equipe"]::before { content: '\f500'; }
.nav-mobile .nav-links a[href="#services"]::before { content: '\f0b1'; }
.nav-mobile .nav-links a[href="#blog"]::before { content: '\f1ea'; }

.nav-mobile .nav-links a[href="index.html#top"]::before { content: '\f015'; }
.nav-mobile .nav-links a[href="index.html#about"]::before { content: '\f0c0'; }
.nav-mobile .nav-links a[href="index.html#equipe"]::before { content: '\f500'; }
.nav-mobile .nav-links a[href="index.html#services"]::before { content: '\f0b1'; }
.nav-mobile .nav-links a[href="index.html#blog"]::before { content: '\f1ea'; }

/* Bouton contact dans le menu mobile */
.nav-mobile-contact {
    margin-top: 40px;
    text-align: center;
}

.nav-mobile-contact .contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #1b6197, #1b6197);
    border-radius: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.nav-mobile.active .nav-mobile-contact .contact-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

/* ============================================
   TABLETTE (768px - 1024px)
   ============================================ */
@media screen and (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-overlay,
    .nav-mobile {
        display: block;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .connection-line {
        display: none;
    }
    
    .contact-btn {
        border-radius: 50px;
    }
    
    .company-title {
        font-size: 48px;
        min-height: 180px;
    }
    
    .hero-content {
        padding: 120px 40px 80px;
    }
    
    .services-images-container {
        min-height: 500px;
    }
    
    .card-1, .card-3 {
        width: 320px;
        height: 240px;
    }
    
    .card-2 {
        width: 360px;
        height: 280px;
    }
    
    .partners-logos {
        gap: 20px;
    }
    
    .team-panel {
        width: 90%;
    }
}

/* ============================================
   MOBILE (max 767px)
   ============================================ */
@media screen and (max-width: 767px) {
    .menu-toggle {
        display: block;
        width: 60px;
        height: 60px;
        top: 15px;
        right: 15px;
    }
    
    .navbar-container {
        padding: 15px 20px;
    }
    
    .logo-text {
        width: 140px;
    }
    
    .logo-section {
        padding: 12px 20px;
    }
    
    .contact-btn {
        display: none;
    }
    
    .company-title {
        font-size: 32px;
        min-height: 140px;
    }
    
    .tera, .tech {
        font-size: 36px;
    }
    
    .word-brighter {
        font-size: 24px;
    }
    
    .word-static,
    .word-rotator {
        font-size: 22px;
    }
    
    .word-rotator {
        display: block;
        min-width: 100%;
        margin-top: 5px;
    }
    
    .company-tagline {
        font-size: 15px;
        padding: 0 10px;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .cta-buttons-top {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }
    
    /* Images en colonne sur mobile */
    .services-images-container {
        min-height: auto;
        flex-direction: column;
        gap: 25px;
        margin-bottom: 80px;
    }
    
    .service-image-card {
        position: relative !important;
        width: 100% !important;
        height: 200px !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        animation: none !important;
    }
    
    .card-1, .card-2, .card-3 {
        margin: 0;
    }
    
    .team-avatars {
        position: relative;
        bottom: 0;
        margin-top: 30px;
        gap: -10px;
    }
    
    .team-avatar {
        width: 55px;
        height: 55px;
        border-width: 3px;
    }
    
    .partners-section {
        margin-top: 40px;
    }
    
    .partners-logos {
        gap: 15px;
    }
    
    .partner-badge {
        padding: 10px 20px;
    }
    
    .partner-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .partner-name {
        font-size: 13px;
    }
    
    .nav-mobile {
        width: 90%;
        padding: 100px 25px 30px;
    }
    
    .nav-mobile .nav-links a {
        font-size: 18px;
        padding: 18px 20px;
    }
    
    .team-panel {
        width: 95%;
        padding: 40px 25px 30px;
    }
    
    .panel-photo {
        width: 100px;
        height: 100px;
    }
    
    .panel-name {
        font-size: 24px;
    }
}

/* ============================================
   PETIT MOBILE (max 480px)
   ============================================ */
@media screen and (max-width: 480px) {
    .menu-toggle {
        width: 55px;
        height: 55px;
    }
    
    .menu-toggle span:nth-child(1) {
        width: 26px;
    }
    
    .menu-toggle span:nth-child(2) {
        width: 22px;
    }
    
    .menu-toggle span:nth-child(3) {
        width: 18px;
    }
    
    .company-title {
        font-size: 28px;
        min-height: 130px;
    }
    
    .tera, .tech {
        font-size: 32px;
    }
    
    .word-brighter {
        font-size: 20px;
    }
    
    .word-static,
    .word-rotator {
        font-size: 19px;
    }
    
    .logo-text {
        width: 120px;
    }
    
    .nav-mobile {
        width: 100%;
        max-width: 100%;
        padding: 90px 20px 25px;
    }
    
    .nav-mobile .nav-links a {
        font-size: 17px;
        padding: 16px 18px;
        margin-bottom: 12px;
    }
    
    .nav-mobile-logo {
        font-size: 28px;
    }
    
    .team-avatar {
        width: 50px;
        height: 50px;
    }
    
    .service-image-card {
        height: 180px !important;
    }
}

/* ============================================
   ANIMATIONS RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
    /* Désactiver certaines animations sur mobile pour de meilleures performances */
    .service-image-card {
        animation: none !important;
    }
    
    .circle-bg {
        animation: none;
    }
}


/* ============================================
   CORRECTION TEXTE ROTATOR - Version améliorée
   ============================================ */
/* ============================================
   STYLE DESKTOP (par défaut)
   ============================================ */
.company-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    min-height: 200px;
    text-align: center;
}

.word-rotator {
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    height: 1.2em;
    min-width: 200px; /* Garde pour desktop */
}

.word-rotate {
    position: absolute;
    left: 0;
    top: 0;
    color: #2c3e50;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
    white-space: nowrap;
}

.word-rotate.active {
    opacity: 1;
    transform: translateY(0);
}

.word-rotate.exit-up {
    animation: slideOutUp 0.5s ease forwards;
}

.word-rotate.enter-down {
    animation: slideInDown 0.5s ease forwards;
}

@keyframes slideOutUp {
    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   STYLE MOBILE SEULEMENT
   ============================================ */
@media screen and (max-width: 768px) {
       .company-title {
        font-size: 36px;
        min-height: 150px;
        margin-bottom: 2cap; /* ← AJOUT D'ESPACE ICI */
        
    }
    
    .word-rotator {
        position: relative;
        display: block;
        width: 100%;
        min-width: auto !important;
        height: auto;
        margin: 10px 0 30px 0;
        text-align: center;
    }
    
    .word-rotate {
        position: absolute;
        left: 50% !important; /* Force le centrage sur mobile */
        transform: translateX(-50%) translateY(100%) !important;
        white-space: normal;
        text-align: center;
        width: auto;
        max-width: 90%;
    }
    
    .word-rotate.active {
        transform: translateX(-50%) translateY(0) !important;
    }
    
    .word-rotate.exit-up {
        animation: slideOutUpMobile 0.5s ease forwards;
    }
    
    .word-rotate.enter-down {
        animation: slideInDownMobile 0.5s ease forwards;
    }
    
    @keyframes slideOutUpMobile {
        to {
            opacity: 0;
            transform: translateX(-50%) translateY(-100%) !important;
        }
    }
    
    @keyframes slideInDownMobile {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(100%) !important;
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0) !important;
        }
    }
}

@media screen and (max-width: 480px) {
    .company-title {
        font-size: 28px;
        min-height: 130px;
    }
    
    .word-rotate {
        font-size: 24px;
        white-space: normal;
    }
}




@keyframes slideOutUpMobile {
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-100%);
    }
}

@keyframes slideInDownMobile {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive pour le rotator */
@media screen and (max-width: 1200px) {
    .word-rotator {
        min-width: auto !important;
    }
}

@media screen and (max-width: 768px) {
    .company-title {
        font-size: 36px;
        min-height: 150px;
    }
    
    .word-rotator {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .word-rotate {
        position: absolute;
        left: 50%;
        transform: translateX(-50%) translateY(100%);
        width: auto;
        text-align: center;
    }
    
    .word-rotate.active {
        transform: translateX(-50%) translateY(0);
    }
}

@media screen and (max-width: 480px) {
    .company-title {
        font-size: 28px;
        min-height: 130px;
    }
    
    .word-rotate {
        font-size: 24px;
        white-space: normal;
        max-width: 90%;
        word-wrap: break-word;
    }
}

/* ============================================
   CORRECTION TEAM AVATARS MOBILE
   ============================================ */
@media screen and (max-width: 767px) {
    .team-avatars {
        position: relative;
        bottom: 0;
        margin: 40px auto 0;
        display: flex;
        justify-content: center;
        gap: 5px;
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .team-avatar-item {
        margin: 0 -8px; /* Chevauchement réduit pour mobile */
    }
    
    .team-avatar {
        width: 50px;
        height: 50px;
        border: 3px solid white;
    }
}

@media screen and (max-width: 480px) {
    .team-avatars {
        gap: 2px;
    }
    
    .team-avatar-item {
        margin: 0 -6px;
    }
    
    .team-avatar {
        width: 45px;
        height: 45px;
    }
}






    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* === BOUTON PRINCIPAL FLOTTANT === */
    .assistant-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
    }

    .main-button {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #2980b9;
        border: none;
        cursor: pointer;
        box-shadow: 0 6px 20px rgba(41, 128, 185, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .main-button:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 10px 30px rgba(41, 128, 185, 0.5);
    }

    .main-button.active {
        transform: rotate(135deg);
        background: #e74c3c;
    }

    .main-button svg {
        width: 28px;
        height: 28px;
        fill: white;
        transition: all 0.3s ease;
    }

    .main-button.active svg {
        transform: rotate(-135deg);
    }

    .notification-badge {
        position: absolute;
        top: -3px;
        right: -3px;
        width: 20px;
        height: 20px;
        background: #f39c12;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: 700;
        color: white;
        animation: badgePulse 2s infinite;
        border: 2px solid white;
    }

    @keyframes badgePulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.15); }
    }

    .ripple {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 2px solid #2980b9;
        opacity: 0;
        animation: rippleEffect 2s infinite;
    }

    .ripple:nth-child(2) {
        animation-delay: 0.5s;
    }

    .ripple:nth-child(3) {
        animation-delay: 1s;
    }

    @keyframes rippleEffect {
        0% {
            transform: scale(1);
            opacity: 0.6;
        }
        100% {
            transform: scale(2);
            opacity: 0;
        }
    }

    /* === MESSAGE INCITATIF === */
    .tooltip-message {
        position: absolute;
        bottom: 50%;
        right: 70px;
        background: white;
        padding: 10px 16px;
        border-radius: 18px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transform: translateY(50%) translateX(20px);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        pointer-events: none;
        font-size: 12px;
    }

    .tooltip-message.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(50%) translateX(0);
    }

    .tooltip-message::after {
        content: '';
        position: absolute;
        right: -6px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid white;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }

    .tooltip-text {
        font-size: 12px;
        font-weight: 600;
        color: #2c3e50;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .tooltip-text svg {
        width: 14px;
        height: 14px;
        fill: #f39c12;
    }

    .rotating-text {
        display: inline-block;
        color: #2980b9;
        font-weight: 700;
        animation: fadeInOut 4s infinite;
    }

    @keyframes fadeInOut {
        0%, 100% { opacity: 1; }
        45%, 55% { opacity: 0; }
    }

    /* === MENU OPTIONS === */
    .options-menu {
        position: absolute;
        bottom: 75px;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.8);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .options-menu.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .option-card {
        background: white;
        padding: 15px 20px;
        border-radius: 18px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
        display: flex;
        align-items: center;
        gap: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        min-width: 240px;
        text-decoration: none;
        transform-origin: right center;
        position: relative;
    }

    .option-card:hover {
        transform: translateX(-8px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    }

    .option-card.whatsapp:hover {
        border-color: #25d366;
    }

    .option-card.chatbot:hover {
        border-color: #2980b9;
    }

    .option-icon {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .option-icon svg {
        width: 22px;
        height: 22px;
        fill: white;
    }

    .whatsapp .option-icon {
        background: #25d366;
    }

    .chatbot .option-icon {
        background: #2980b9;
    }

    .option-content {
        flex: 1;
    }

    .option-title {
        font-size: 14px;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 3px;
    }

    .option-description {
        font-size: 11px;
        color: #7f8c8d;
        line-height: 1.3;
    }

    .option-arrow svg {
        width: 18px;
        height: 18px;
        fill: #bdc3c7;
        transition: all 0.3s ease;
    }

    .option-card:hover .option-arrow svg {
        transform: translateX(4px);
        fill: #2c3e50;
    }

    .online-badge {
        position: absolute;
        top: 6px;
        right: 6px;
        background: #27ae60;
        color: white;
        font-size: 8px;
        font-weight: 700;
        padding: 3px 6px;
        border-radius: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* === INTERFACE DE CHAT === */
    .chat-interface {
        position: fixed;
        bottom: 100px;
        right: 20px;
        width: 350px;
        height: 500px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
        display: none;
        flex-direction: column;
        overflow: hidden;
        z-index: 9998;
        transform: scale(0.8) translateY(20px);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .chat-interface.active {
        display: flex;
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    /* En-tête du chat */
    .chat-header {
        background: #2980b9;
        padding: 15px;
        display: flex;
        align-items: center;
        gap: 12px;
        position: relative;
    }

    .chat-avatar {
        width: 45px;
        height: 45px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .chat-avatar svg {
        width: 24px;
        height: 24px;
        fill: #2980b9;
    }

    .chat-header-info {
        flex: 1;
    }

    .chat-header-title {
        font-size: 16px;
        font-weight: 700;
        color: white;
        margin-bottom: 3px;
    }

    .chat-header-status {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.8);
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .status-dot {
        width: 6px;
        height: 6px;
        background: #27ae60;
        border-radius: 50%;
        animation: statusPulse 2s infinite;
    }

    @keyframes statusPulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.5; }
    }

    .chat-close {
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .chat-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

    .chat-close svg {
        width: 16px;
        height: 16px;
        fill: white;
    }

    /* Corps du chat */
    .chat-body {
        flex: 1;
        padding: 15px;
        overflow-y: auto;
        background: #f8f9fa;
    }

    .chat-message {
        margin-bottom: 12px;
        display: flex;
        gap: 8px;
        animation: messageSlideIn 0.4s ease;
    }

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

    .message-bot {
        align-items: flex-start;
    }

    .message-user {
        flex-direction: row-reverse;
    }

    .message-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .message-bot .message-avatar {
        background: #2980b9;
    }

    .message-user .message-avatar {
        background: #f39c12;
    }

    .message-avatar svg {
        width: 16px;
        height: 16px;
        fill: white;
    }

    .message-content {
        max-width: 75%;
    }

    .message-bubble {
        padding: 10px 14px;
        border-radius: 16px;
        font-size: 13px;
        line-height: 1.4;
        word-wrap: break-word;
    }

    .message-bot .message-bubble {
        background: white;
        color: #2c3e50;
        border-bottom-left-radius: 4px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .message-user .message-bubble {
        background: #2980b9;
        color: white;
        border-bottom-right-radius: 4px;
    }

    .message-time {
        font-size: 10px;
        color: #95a5a6;
        margin-top: 3px;
        padding: 0 6px;
    }

    .typing-indicator {
        display: flex;
        gap: 4px;
        padding: 10px 14px;
        background: white;
        border-radius: 16px;
        width: fit-content;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .typing-dot {
        width: 6px;
        height: 6px;
        background: #95a5a6;
        border-radius: 50%;
        animation: typingBounce 1.4s infinite;
    }

    .typing-dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .typing-dot:nth-child(3) {
        animation-delay: 0.4s;
    }

    @keyframes typingBounce {
        0%, 60%, 100% { transform: translateY(0); }
        30% { transform: translateY(-8px); }
    }

    /* Suggestions rapides */
    .quick-replies {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        margin-top: 8px;
    }

    .quick-reply-btn {
        background: white;
        border: 2px solid #2980b9;
        color: #2980b9;
        padding: 6px 12px;
        border-radius: 16px;
        font-size: 11px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .quick-reply-btn:hover {
        background: #2980b9;
        color: white;
        transform: translateY(-1px);
    }

    /* Zone de saisie */
    .chat-input-container {
        padding: 12px 15px;
        background: white;
        border-top: 1px solid #ecf0f1;
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .chat-input {
        flex: 1;
        padding: 10px 15px;
        border: 2px solid #ecf0f1;
        border-radius: 20px;
        font-size: 13px;
        font-family: 'Poppins', sans-serif;
        outline: none;
        transition: all 0.3s ease;
    }

    .chat-input:focus {
        border-color: #2980b9;
    }

    .send-btn {
        width: 40px;
        height: 40px;
        background: #2980b9;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .send-btn:hover {
        background: #1f6391;
        transform: scale(1.1);
    }

    .send-btn svg {
        width: 18px;
        height: 18px;
        fill: white;
    }

    /* === RESPONSIVE MOBILE === */
    @media (max-width: 768px) {
        .assistant-button {
            bottom: 15px;
            right: 15px;
        }

        .main-button {
            width: 55px;
            height: 55px;
        }

        .main-button svg {
            width: 24px;
            height: 24px;
        }

        .notification-badge {
            width: 18px;
            height: 18px;
            font-size: 9px;
        }

        .tooltip-message {
            right: 65px;
            padding: 8px 12px;
            font-size: 11px;
        }

        .options-menu {
            bottom: 70px;
            gap: 10px;
        }

        .option-card {
            min-width: 220px;
            padding: 12px 16px;
            gap: 10px;
        }

        .option-icon {
            width: 40px;
            height: 40px;
        }

        .option-icon svg {
            width: 20px;
            height: 20px;
        }

        .option-title {
            font-size: 13px;
        }

        .option-description {
            font-size: 10px;
        }

        .chat-interface {
            width: calc(100vw - 30px);
            height: calc(100vh - 120px);
            right: 15px;
            bottom: 90px;
            border-radius: 15px;
        }

        .chat-header {
            padding: 12px;
        }

        .chat-avatar {
            width: 40px;
            height: 40px;
        }

        .chat-avatar svg {
            width: 20px;
            height: 20px;
        }

        .chat-header-title {
            font-size: 15px;
        }

        .chat-header-status {
            font-size: 10px;
        }

        .chat-body {
            padding: 12px;
        }

        .message-avatar {
            width: 30px;
            height: 30px;
        }

        .message-avatar svg {
            width: 14px;
            height: 14px;
        }

        .message-bubble {
            padding: 8px 12px;
            font-size: 12px;
        }

        .quick-reply-btn {
            padding: 5px 10px;
            font-size: 10px;
        }

        .chat-input-container {
            padding: 10px 12px;
        }

        .chat-input {
            padding: 8px 12px;
            font-size: 12px;
        }

        .send-btn {
            width: 36px;
            height: 36px;
        }

        .send-btn svg {
            width: 16px;
            height: 16px;
        }
    }

    @media (max-width: 480px) {
        .assistant-button {
            bottom: 10px;
            right: 10px;
        }

        .main-button {
            width: 50px;
            height: 50px;
        }

        .chat-interface {
            width: calc(100vw - 20px);
            right: 10px;
            bottom: 80px;
        }

        .option-card {
            min-width: 200px;
        }
    }


    .team-grid {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    }

    .team-member-card {
        max-width: 320px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
