
        /* ===== VARIABLES CSS (PALETTE) ===== */
        :root {
            --container-max-width: 1200px;
            --section-padding: 80px 0;
            --transition-fast: 0.2s ease;
            --transition-medium: 0.3s ease;
            --transition-slow: 0.5s ease;
            
            --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
            --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
            --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.2);
            
            /* Variables pour grands écrans */
            --large-screen-breakpoint: 1920px;
            --ultra-wide-breakpoint: 2560px;
        }

        /* ===== HERO SECTION ===== */
        .hero-section {
            position: relative;
            width: 100%;
            min-height: 80vh;
            max-width: 100vw;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background-image: url('../images/backgrounds/liquidbg.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            padding: 4rem 0;
        }
        
        /* Fallback pour navigateurs sans support aspect-ratio */
        @supports not (aspect-ratio: 21/9) {
            .hero-section {
                height: 42.86vw; /* 100vw / (21/9) = 42.86vw */
                min-height: 300px;
                max-height: 800px;
            }
            
            @media (max-width: 768px) {
                .hero-section {
                    height: 42.86vw;
                    min-height: 250px;
                    max-height: 400px;
                }
            }
            
            @media (max-width: 480px) {
                .hero-section {
                    height: 42.86vw;
                    min-height: 200px;
                    max-height: 350px;
                }
            }
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: transparent;
            pointer-events: none;
        }

        .video-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            /* Maintenir le ratio 21:9 */
            aspect-ratio: 21/9;
        }

        .mobile-video-container {
            display: none;
        }

        .background-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* Respecter exactement le format 21:9 de la vidéo */
            object-fit: contain;
            object-position: center;
            z-index: -1;
            /* Optimisations performance */
            will-change: transform;
            backface-visibility: hidden;
            transform: translate3d(0, 0, 0);
            /* Préservation de qualité */
            image-rendering: auto;
            filter: brightness(1) contrast(1.05) saturate(1.1);
        }
        
        
        /* Contenu par-dessus la vidéo */
        .hero-content {
            position: relative;
            z-index: 10;
            color: white;
            text-align: center;
            padding: 0 20px;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* Supprimé - déjà défini au-dessus */

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            background: linear-gradient(45deg, #FEA347, #800080);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero-subtitle {
            font-size: 1.3rem;
            color: var(--text-secondary);
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-cta {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: linear-gradient(45deg, var(--primary), #ffb366);
            color: white;
            text-decoration: none;
            padding: 18px 36px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 18px;
            box-shadow: 0 6px 25px rgba(254, 163, 71, 0.4);
            transition: all var(--transition-medium);
            position: relative;
            overflow: hidden;
        }

        .hero-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.6s ease;
        }

        .hero-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(254, 163, 71, 0.5);
        }

        .hero-cta:hover::before {
            left: 100%;
        }

        /* Floating keywords CSS removed - plus besoin */

        /* ===== INTRODUCTION SECTION ===== */
        .intro-section {
            padding: var(--section-padding);
            background: var(--surface);
        }

        .intro-content {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
        }

        .section-title {
            font-size: 2.5rem;
            color: var(--text-primary);
            margin-bottom: 30px;
            font-weight: 600;
        }

        .intro-text {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 40px;
            line-height: 1.8;
        }

        .intro-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            padding: 12px 24px;
            border: 2px solid var(--primary);
            border-radius: 25px;
            transition: all var(--transition-medium);
        }

        .intro-cta:hover {
            background-color: var(--primary);
            color: white;
            transform: translateY(-2px);
        }

        /* ===== SERVICES SECTION ===== */
        .services-section {
            padding: var(--section-padding);
        }

        .services-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin: 60px auto 0 auto;
            justify-content: center;
        }
        

        /* RESPONSIVE: Services grid */
        @media (max-width: 768px) {
            .services-grid {
                gap: 20px;
                margin-top: 40px;
                padding: 0 10px;
            }
            
            .service-card {
                flex: 0 0 100%;
                width: 100%;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .services-grid {
                gap: 25px;
            }
            
            .service-card {
                flex: 0 0 320px;
                width: 320px;
            }
        }

        .service-card {
            background: var(--surface);
            padding: 30px 25px;
            border-radius: 20px;
            box-shadow: var(--shadow-light);
            transition: all var(--transition-medium);
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
            /* UNIFORMISATION: hauteur fixe pour toutes les cartes */
            height: 420px; /* Hauteur fixe uniforme */
            /* Flexbox sizing */
            flex: 0 0 380px;
            width: 380px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        /* RESPONSIVE: Service cards */
        @media (max-width: 768px) {
            .service-card {
                height: auto; /* Hauteur flexible sur mobile */
                min-height: 350px;
                padding: 25px 20px;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .service-card {
                height: 380px; /* Ajustée pour tablette */
            }
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 4px;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            transition: left 0.5s ease;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-strong);
            border-color: var(--primary);
        }

        .service-card:hover::before {
            left: 0;
        }

        .service-icon {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 20px;
            display: block;
        }

        .service-title {
            font-size: 1.4rem; /* Légèrement réduit */
            color: var(--text-primary);
            margin-bottom: 12px;
            font-weight: 600;
            line-height: 1.3;
            /* Limitation à 2 lignes pour uniformiser */
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .service-description {
            color: var(--text-secondary);
            margin-bottom: 20px;
            line-height: 1.5;
            font-size: 0.95rem;
            /* Limitation pour une hauteur uniforme */
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .service-features {
            list-style: none;
            margin-bottom: 30px;
        }

        .service-features li {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 6px;
            color: var(--text-secondary);
            font-size: 13px; /* Réduit pour optimiser l'espace */
        }

        .service-features li i {
            color: var(--primary);
            font-size: 12px;
        }

        .service-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: all var(--transition-fast);
        }

        .service-link:hover {
            transform: translateX(5px);
        }

        /* ===== STATS SECTION ===== */
        .stats-section {
            padding: var(--section-padding);
            background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
            color: white;
            text-align: center;
        }

        .stats-title {
            font-size: 2.2rem;
            margin-bottom: 20px;
            color: white;
        }

        .stats-subtitle {
            font-size: 1.1rem;
            margin-bottom: 60px;
            opacity: 0.9;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .stat-item {
            padding: 30px 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: transform var(--transition-medium);
        }

        .stat-item:hover {
            transform: translateY(-5px);
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--primary);
            display: block;
            margin-bottom: 10px;
        }

        .stat-description {
            font-size: 1rem;
            opacity: 0.9;
        }

        /* ===== CLIENTS SECTION ===== */
        .clients-section {
            padding: var(--section-padding);
            background: var(--surface);
            text-align: center;
        }

        .clients-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 30px;
            margin-top: 50px;
            align-items: center;
        }

        .client-logo {
            padding: 20px;
            background: white;
            border-radius: 15px;
            box-shadow: var(--shadow-light);
            transition: all var(--transition-medium);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 80px;
            color: var(--text-secondary);
            font-weight: 600;
            border: 2px solid transparent;
        }

        .client-logo:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-medium);
            border-color: var(--primary);
        }

        /* ===== TESTIMONIALS SECTION ===== */
        .testimonials-section {
            padding: var(--section-padding);
        }

        .testimonials-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .testimonial-card {
            background: var(--surface);
            padding: 30px;
            border-radius: 20px;
            box-shadow: var(--shadow-light);
            position: relative;
            border-left: 4px solid var(--primary);
        }

        .testimonial-text {
            font-style: italic;
            color: var(--text-secondary);
            margin-bottom: 20px;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .testimonial-author {
            font-weight: 600;
            color: var(--text-primary);
        }

        .testimonial-role {
            font-size: 14px;
            color: var(--text-secondary);
            opacity: 0.8;
        }

        /* ===== CTA SECTION ===== */
        .final-cta-section {
            padding: var(--section-padding);
            background: linear-gradient(135deg, var(--primary) 0%, #ffb366 100%);
            color: white;
            text-align: center;
        }

        .final-cta-title {
            font-size: 2.5rem;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .final-cta-text {
            font-size: 1.2rem;
            margin-bottom: 40px;
            opacity: 0.95;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .final-cta-button {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: white;
            color: var(--primary);
            text-decoration: none;
            padding: 18px 36px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 18px;
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
            transition: all var(--transition-medium);
        }

        .final-cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        }

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

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

        /* ===== RESPONSIVE DESIGN OPTIMISÉ ===== */
        
        /* Desktop large (1200px+) */
        @media (min-width: 1200px) {
            .hero-section {
                /* Maintenir le ratio 21:9 avec une hauteur maximale */
                max-height: min(57.14vw, 800px); /* 57.14vw = 100vw / (21/9) */
                height: auto;
            }
        }
        
        /* Desktop standard et tablette paysage (768px - 1200px) */
        @media (max-width: 1200px) and (min-width: 768px) {
            .hero-section {
                /* Ratio 21:9 avec hauteur limitée */
                max-height: min(57.14vw, 700px);
                height: auto;
            }
            
            .background-video {
                object-fit: contain;
            }
        }
        
        /* Tablette portrait et mobile paysage (481px - 768px) */
        @media (max-width: 768px) and (min-width: 481px) {
            .hero-section {
                /* Ratio 21:9 avec hauteur minimum */
                height: auto;
                min-height: max(25.71vw, 300px); /* 25.71vw = 60vw / (21/9) pour 60% largeur */
                max-height: 500px;
            }
        }
        
        /* Mobile portrait (481px et moins) */
        @media (max-width: 480px) {
            .hero-section {
                /* Ratio 21:9 strict pour mobile */
                height: auto;
                min-height: max(42.86vw, 250px); /* 42.86vw = 100vw / (21/9) */
                max-height: 400px;
            }
        }
        
        /* Très petits écrans (320px et moins) */
        @media (max-width: 320px) {
            .hero-section {
                /* Ratio 21:9 avec hauteur minimum pour lisibilité */
                height: auto;
                min-height: max(42.86vw, 200px);
                max-height: 300px;
            }
        }
        
        /* Orientations spécifiques - mobile paysage */
        @media (max-width: 768px) and (orientation: landscape) {
            .hero-section {
                /* En paysage mobile, respecter le 21:9 mais limiter la hauteur */
                height: auto;
                max-height: 80vh;
                min-height: 250px;
            }
        }
        
        @media (max-width: 480px) and (orientation: landscape) {
            .hero-section {
                /* Paysage mobile très compact */
                height: auto;
                max-height: 70vh;
                min-height: 200px;
            }
        }
        
        /* Support écrans très larges */
        @media (min-width: 1600px) {
            .hero-section {
                /* Ratio 21:9 avec hauteur maximale pour très grands écrans */
                max-height: min(57.14vw, 900px);
                height: auto;
            }
        }
        
        /* Support écrans haute résolution - CORRIGÉ pour TV */
        @media (min-height: 800px) and (min-width: 1200px) {
            .hero-section {
                /* Ratio 21:9 avec hauteur optimale pour grands écrans */
                max-height: min(57.14vw, 850px);
                height: auto;
            }
        }

        /* ===== GRANDS ÉCRANS - Conservation mise en page ordinateur ===== */
        @media (min-width: 1920px) {
            /* Hero section : même proportion qu'ordinateur */
            .hero-section {
                min-height: 80vh; /* Conserver proportion */
                padding: 4rem 0; /* Légère augmentation */
            }
            
            .hero-content {
                max-width: 1200px; /* Conserver la largeur de contenu */
                margin: 0 auto;
                padding: 0 30px;
            }
            
            .hero-title {
                font-size: 3.8rem; /* Légère augmentation */
                margin-bottom: 24px;
            }
            
            .hero-subtitle {
                font-size: 1.4rem; /* Légère augmentation */
                max-width: 750px;
                margin-bottom: 45px;
            }
            
            .hero-cta {
                padding: 20px 40px; /* Légère augmentation */
                font-size: 1.05rem;
            }
        }

        /* Écrans 4K : augmentation proportionnelle */
        @media (min-width: 2560px) {
            .hero-section {
                min-height: 85vh;
                padding: 5rem 0;
            }
            
            .hero-content {
                max-width: 1400px;
                padding: 0 40px;
            }
            
            .hero-title {
                font-size: 4.5rem;
                margin-bottom: 28px;
            }
            
            .hero-subtitle {
                font-size: 1.6rem;
                max-width: 900px;
                margin-bottom: 50px;
            }
            
            .hero-cta {
                padding: 22px 45px;
                font-size: 1.15rem;
            }
        }
        
        /* Optimisations pour connexions lentes et appareils peu puissants */
        @media (prefers-reduced-motion: reduce) {
            .background-video {
                animation-play-state: paused !important;
                filter: none;
            }
            
            .hero-section {
                background-image: linear-gradient(135deg, var(--background) 0%, var(--surface) 100%);
                background-size: cover;
            }
        }
        
        /* Support mode sombre */
        @media (prefers-color-scheme: dark) {
            .hero-section::after {
                background: linear-gradient(
                    180deg, 
                    rgba(0, 0, 0, 0.2) 0%, 
                    rgba(0, 0, 0, 0.4) 50%, 
                    rgba(0, 0, 0, 0.6) 100%
                );
            }
        }
        
        /* Optimisations pour écrans tactiles */
        @media (hover: none) {
            .background-video {
                will-change: auto;
            }
        }
        
        /* Support des écrans pliables et ultra-larges */
        @media (min-aspect-ratio: 21/9) {
            .hero-section {
                /* Pour les écrans plus larges que 21:9, maintenir le ratio */
                height: auto;
                max-height: 42.86vw; /* Hauteur parfaite pour 21:9 */
            }
            
            .background-video {
                object-fit: contain;
                object-position: center;
            }
        }
        
        /* Écrans très hauts (orientation portrait extrême) */
        @media (max-aspect-ratio: 3/4) {
            .hero-section {
                /* Maintenir 21:9 même sur écrans très hauts */
                height: auto;
                max-height: 42.86vw;
                min-height: 250px;
            }
        }
        
        /* Support des écrans avec encoche (iPhone X, etc.) */
        @supports (padding: max(0px)) {
            .hero-section {
                padding-left: env(safe-area-inset-left);
                padding-right: env(safe-area-inset-right);
            }
            
            .hero-content {
                padding-top: env(safe-area-inset-top);
                padding-bottom: env(safe-area-inset-bottom);
            }
        }
        
        /* Optimisations spécifiques iOS Safari */
        @supports (-webkit-touch-callout: none) {
            .hero-section {
                /* Maintenir le ratio 21:9 même sur iOS */
                aspect-ratio: 21/9;
                height: auto;
            }
            
            @media (max-width: 768px) {
                .hero-section {
                    /* Ratio 21:9 avec hauteur limitée pour iOS mobile */
                    max-height: min(42.86vw, calc(100vh - 80px));
                    height: auto;
                }
            }
        }
        
        /* Support des écrans flexibles/pliables */
        @media (spanning: single-fold-vertical) {
            .hero-section {
                /* Maintenir 21:9 même sur écrans pliables */
                aspect-ratio: 21/9;
                height: auto;
                max-height: 42.86vw;
            }
            
            .hero-content {
                max-width: 50vw;
            }
        }
        
        /* Écrans haute densité spécifiques */
        @media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 300dpi) {
            .background-video {
                image-rendering: -webkit-optimize-contrast;
                image-rendering: crisp-edges;
            }
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .services-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

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

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

            .clients-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }

            .testimonials-container {
                grid-template-columns: 1fr;
            }

            .final-cta-title {
                font-size: 2rem;
            }

            .final-cta-text {
                font-size: 1.1rem;
            }

            .hero-section {
                height: 60vh;
                min-height: 400px;
                max-height: 600px;
            }

            .video-container {
                display: block;
            }

            .mobile-video-container {
                display: none;
            }

        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 2rem;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .clients-grid {
                grid-template-columns: 1fr;
            }

            .service-card {
                padding: 30px 20px;
            }
        }


        /* ===== UTILITY CLASSES ===== */
        .text-center {
            text-align: center;
        }

        .mb-30 {
            margin-bottom: 30px;
        }

        .mb-50 {
            margin-bottom: 50px;
        }

        .fade-in {
            animation: fadeInUp 0.8s ease forwards;
        }

        .scroll-animate {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

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


        /* CSS pour l'animation de texte dans la section hero */

        /* Layout du texte - Message principal */
        .hero-section .text-container.main-message {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: center;
            margin-bottom: 2.5rem;
        }

        .hero-section .text-container.main-message p {
            font-size: 2.5rem;
            font-weight: 700;
            margin: 0;
            color: white;
            line-height: 1.2;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        /* Layout du texte - Sous-titre */
        .hero-section .text-container.subtitle-message {
            margin-top: 3rem;
            max-width: 1100px;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
        }

        .hero-section .text-container.subtitle-message h2 {
            font-size: 1.4rem;
            font-weight: 500;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.95);
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
            margin: 0;
            display: inline;
        }
        /* Conteneur de l'animation - Message principal */
        .hero-section .main-message .animation {
            height: 3rem;
            overflow: hidden;
            display: inline-block;
            position: relative;
            margin: 0 0.5rem;
        }

        /* Conteneur de l'animation - Sous-titre */
        .hero-section .subtitle-message .animation {
            display: inline;
            position: relative;
            white-space: nowrap;
        }

        /* Wrapper de l'animation */
        .hero-section .main-message .animation-wrapper {
            animation: text-slide 10s ease-in-out infinite;
            overflow: hidden;
        }

        .hero-section .subtitle-message .animation-wrapper {
            display: inline;
            position: relative;
        }

        /* Éléments de l'animation - Message principal */
        .hero-section .main-message .animation-wrapper > div {
            height: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            font-weight: 700;
            color: #FEA347;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }

        /* Éléments de l'animation - Sous-titre */
        .hero-section .subtitle-message .animation-wrapper > span {
            font-size: inherit;
            font-weight: 600;
            color: #FEA347;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
            position: absolute;
            left: 0;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
        }

        .hero-section .subtitle-message .animation-wrapper > span.first {
            position: relative;
            opacity: 1;
            visibility: visible;
        }

        /* Animation simple de slide - Message principal */
        @keyframes text-slide {
            0%, 45% {
                transform: translateY(0);
            }
            50%, 95% {
                transform: translateY(-3rem);
            }
            100% {
                transform: translateY(0);
            }
        }

        /* Animation fade pour sous-titre */
        .hero-section .subtitle-message .animation-wrapper > span {
            animation: fade-text-inline 10s ease-in-out infinite;
        }

        .hero-section .subtitle-message .animation-wrapper > span.first {
            animation-delay: 0s;
        }

        .hero-section .subtitle-message .animation-wrapper > span.second {
            animation-delay: 5s;
        }

        @keyframes fade-text-inline {
            0%, 45% {
                opacity: 1;
                visibility: visible;
            }
            50%, 100% {
                opacity: 0;
                visibility: hidden;
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-section .text-container.main-message p {
                font-size: 1.8rem;
            }

            .hero-section .text-container.subtitle-message h2 {
                font-size: 1.1rem;
            }

            .hero-section .main-message .animation {
                height: 2.2rem;
                margin: 0 0.3rem;
            }

            .hero-section .subtitle-message .animation {
                height: auto;
                margin: 0 0.2rem;
            }

            .hero-section .main-message .animation-wrapper > div {
                height: 2.2rem;
                font-size: 1.8rem;
            }

            .hero-section .subtitle-message .animation-wrapper > span {
                font-size: 1.1rem;
            }

            @keyframes text-slide {
                0%, 45% {
                    transform: translateY(0);
                }
                50%, 95% {
                    transform: translateY(-2.2rem);
                }
                100% {
                    transform: translateY(0);
                }
            }
        }

        @media (max-width: 480px) {
            .hero-section .text-container.main-message p {
                font-size: 1.4rem;
            }

            .hero-section .text-container.subtitle-message h2 {
                font-size: 0.95rem;
            }

            .hero-section .main-message .animation {
                height: 1.8rem;
                margin: 0 0.2rem;
            }

            .hero-section .subtitle-message .animation {
                height: auto;
                margin: 0 0.15rem;
            }

            .hero-section .main-message .animation-wrapper > div {
                height: 1.8rem;
                font-size: 1.4rem;
            }

            .hero-section .subtitle-message .animation-wrapper > span {
                font-size: 0.95rem;
            }

            @keyframes text-slide {
                0%, 45% {
                    transform: translateY(0);
                }
                50%, 95% {
                    transform: translateY(-1.8rem);
                }
                100% {
                    transform: translateY(0);
                }
            }
        }