/* Variables globales */
        :root {
            --bg-creme: #FAF9F6;
            --text-main: #111827;
            --primary-blue: #0F172A;
            --cyan-accent: #06B6D4;
            --hover-cyan: #00CAC3;
            --scanner-color: rgba(6, 182, 212, 0.15);
        }

        /* Reset et base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: var(--bg-creme);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }

        /* --- Navigation Flottante --- */
        .navbar-container {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 95%;
            max-width: 12000px; /* Conservé selon ton choix */
            background-color: #F8F7F4;
            border: 2px solid rgba(0,0,0,0.05);
            border-radius: 50px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.03);
            padding: 13px 12px 13px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 5px;
            text-decoration: none;
            min-width: 200px;
            z-index: 1001;
        }

        .brand img { height: 35px; width: auto; }
        .brand b { font-weight: 600; font-size: 1.3rem; color: var(--text-main); }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            z-index: 1001;
            padding: 10px;
        }
        
        .hamburger span {
            width: 25px;
            height: 3px;
            background-color: var(--primary-blue);
            border-radius: 3px;
            transition: all 0.3s;
        }

        nav {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 2.5rem;
            align-items: center;
        }

        nav a {
            text-decoration: none;
            color: var(--text-main);
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.3s;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        nav a:hover { color: var(--hover-cyan); }

        .chevron { transition: transform 0.3s ease; color: #6B7280; }
        .dropdown:hover .chevron { transform: rotate(180deg); color: var(--hover-cyan); }
        .dropdown { position: relative; padding: 10px 0; cursor: pointer; }

        /* --- MEGA MENU --- */
        .mega-menu {
            visibility: hidden;
            opacity: 0;
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            background-color: #ffffff;
            width: 650px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.08);
            border-radius: 16px;
            padding: 1.5rem;
            z-index: 1;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 2rem;
            border: 1px solid rgba(0,0,0,0.05);
            cursor: default;
        }

        nav ul li:nth-last-child(1) .mega-menu,
        nav ul li:nth-last-child(2) .mega-menu {
            left: auto;
            right: -20px;
            transform: translateY(10px);
        }

        .dropdown:hover .mega-menu {
            visibility: visible;
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
        
        nav ul li:nth-last-child(1):hover .mega-menu,
        nav ul li:nth-last-child(2):hover .mega-menu {
            transform: translateY(0);
        }

        .mega-column { display: flex; flex-direction: column; gap: 0.5rem; }
        .mega-section-title { font-size: 0.75rem; font-weight: 700; color: #6B7280; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; padding-left: 10px; }
        .mega-item { display: flex; align-items: flex-start; gap: 15px; padding: 12px; border-radius: 10px; text-decoration: none; transition: background-color 0.2s ease; }
        .mega-item:hover { background-color: #F8F7F4; }
        .mega-icon { width: 44px; height: 44px; border-radius: 10px; border: 1px solid #E5E7EB; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary-blue); background-color: white; }
        .mega-text { display: flex; flex-direction: column; }
        .mega-title { font-weight: 600; font-size: 0.95rem; color: var(--text-main); margin-bottom: 2px; transition: color 0.2s; }
        .mega-item:hover .mega-title { color: var(--hover-cyan); }
        .mega-desc { font-size: 0.8rem; color: #6B7280; line-height: 1.4; font-weight: 400; }

        .navbar-actions { display: flex; align-items: center; gap: 1.5rem; min-width: 200px; justify-content: flex-end; }
        .lang-link { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.95rem; }
        .lang-link:hover { color: var(--hover-cyan); }
        .btn-diagnostic {
            background-color: var(--hover-cyan);
            color: white !important;
            padding: 10px 24px;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: background-color 0.3s, transform 0.2s;
        }
        .btn-diagnostic:hover { background-color: #1E293B; transform: translateY(-2px); }

        /* --- Section Principale (Hero) --- */
        main { display: flex; flex: 1; padding: 180px 5% 40px 5%; max-width: 1400px; margin: 0 auto; gap: 4rem; align-items: center; }
        .hero-text { flex: 1; }
        
        .hero-text h1 { 
            font-size: 1.85rem; 
            font-weight: 700; 
            line-height: 1.2; 
            color: var(--primary-blue); 
            margin-bottom: 0.5rem; 
            display: block; 
            letter-spacing: -0.5px;
            white-space: nowrap; 
        }
        
        .hero-text h2 { font-size: 1.5rem; font-weight: 600; color: var(--text-main); margin-bottom: 0.5rem; display: block; letter-spacing: -0.5px;}
        
        .blinking-cursor { display: inline-block; width: 12px; height: 0.85em; background-color: #00CAC3; margin-left: 4px; animation: blink 1s step-end infinite; position: relative; top: 4px; }
        @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
        
        .hero-text h3 { font-size: 1.3rem; font-weight: 500; color: #4B5563; margin-bottom: 2rem; margin-top: 1rem; }
        .hero-actions { display: flex; gap: 1rem; margin-bottom: 3rem; }
        .btn { background-color: var(--hover-cyan); color: white; padding: 12px 28px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: all 0.3s; }
        .btn:hover { background-color: #03a8a3; box-shadow: 0 4px 12px rgba(0, 202, 195, 0.3); }
        
        .hero-stats { font-size: 1.05rem; color: #4B5563; line-height: 1.6; }
        .hero-stats p { margin-bottom: 1.2rem; }
        .hero-stats p:last-child { margin-bottom: 0; }

        /* --- Dashboard Interactif --- */
        .hero-visual { flex: 1.2; display: flex; justify-content: flex-end; width: 100%; }
        .tech-block { background-color: var(--primary-blue); border-radius: 16px; width: 100%; max-width: 600px; position: relative; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); padding: 2rem; color: white; }
        .scanner-wave { position: absolute; left: 0; width: 100%; height: 200px; background: linear-gradient(to bottom, transparent, var(--scanner-color), transparent); animation: waveScan 4s ease-in-out infinite; pointer-events: none; z-index: 0; }
        @keyframes waveScan { 0% { top: -200px; } 50% { top: 100%; } 100% { top: -200px; } }
        .tech-content { position: relative; z-index: 1; }
        .badge-ai { background-color: #DBEAFE; color: #1D4ED8; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; display: inline-block; margin-bottom: 1rem; }
        .tech-content h4 { font-size: 1.2rem; margin-bottom: 0.2rem; }
        .tech-subtitle { color: #94A3B8; font-size: 0.9rem; margin-bottom: 1.5rem; }
        
        .gpu-utilization { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; margin-bottom: 0.5rem; }
        
        .slider-help {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.75rem;
            color: var(--hover-cyan);
            background: rgba(0, 202, 195, 0.1);
            padding: 4px 10px;
            border-radius: 6px;
            font-weight: 500;
            margin-bottom: 8px;
        }

        /* --- Styles des boutons de langue séparés --- */
        .lang-switcher {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.95rem;
            font-weight: 600;
        }

        .lang-btn {
            text-decoration: none;
            color: #9CA3AF; /* Gris clair par défaut */
            transition: color 0.3s ease;
        }

        .lang-btn:hover {
            color: var(--hover-cyan);
        }

        /* Langue active */
        .lang-btn.active {
            color: var(--text-main); /* Noir foncé quand sélectionné */
            cursor: default;
        }

        .lang-separator {
            color: #D1D5DB;
            font-weight: 400;
        }

        .highlight-cyan {
            color: var(--hover-cyan);
            font-weight: 600;
        }

        .highlight-underline {
            text-decoration: underline;
            text-decoration-color: var(--hover-cyan);
            text-decoration-thickness: 2px;
            text-underline-offset: 3px;
        }

        @keyframes pulse-thumb {
            0% { transform: scale(1); box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }
            50% { transform: scale(1.4); box-shadow: 0 0 20px rgba(245, 158, 11, 0.9), 0 0 0 6px rgba(245, 158, 11, 0.3); }
            100% { transform: scale(1); box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }
        }

        .gpu-slider { 
            -webkit-appearance: none; width: 100%; height: 6px; 
            background: linear-gradient(to right, #F59E0B 0%, #F59E0B 18%, #334155 18%, #334155 100%); 
            border-radius: 3px; outline: none; margin-bottom: 2rem; transition: background 0.1s; 
        }

        .gpu-slider::-webkit-slider-thumb { 
            -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; 
            background: white; border: 3px solid #F59E0B; cursor: pointer; 
            animation: pulse-thumb 1.5s infinite ease-in-out;
        }

        .gpu-slider:hover::-webkit-slider-thumb,
        .gpu-slider:active::-webkit-slider-thumb { 
            animation: none; transform: scale(1.3); box-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
        }
        
        .comparison-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; margin-bottom: 2rem; }
        .instance-card { background-color: #1E293B; border: 1px solid #334155; padding: 1.2rem; border-radius: 12px; transition: all 0.3s; }
        .card-label { color: #F59E0B; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.5rem; transition: color 0.3s; }
        .card-label.recommended { color: #10B981; }
        .instance-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.2rem; }
        .instance-specs { color: #94A3B8; font-size: 0.85rem; margin-bottom: 1rem; }
        .instance-price { font-weight: 700; font-size: 1.1rem; }
        .instance-monthly { color: #94A3B8; font-size: 0.85rem; }
        .arrow { color: #64748B; font-size: 1.5rem; text-align: center; }
        .savings-alert { background-color: #10B981; color: white; padding: 1rem; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 1rem; transition: background-color 0.3s; flex-wrap: wrap; gap: 0.5rem;}
        .savings-amount { font-size: 1.2rem; }
        .savings-amount span { font-size: 0.9rem; font-weight: 400; opacity: 0.9; }
        .tech-footer { text-align: center; color: #64748B; font-size: 0.75rem; }

        /* --- Bandeau Partenaires / Clients --- */
        .clients-section {
            background-color: var(--bg-creme);
            padding: 2rem 5% 4rem 5%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .clients-title {
            font-size: 0.9rem;
            font-weight: 600;
            color: #6B7280;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 2.5rem;
        }

        .logo-slider {
            width: 100%;
            overflow: hidden;
            position: relative;
        }

        .logo-slider::before,
        .logo-slider::after {
            content: "";
            position: absolute;
            top: 0;
            width: 100px;
            height: 100%;
            z-index: 2;
        }

        .logo-slider::before {
            left: 0;
            background: linear-gradient(to right, var(--bg-creme) 0%, transparent 100%);
        }

        .logo-slider::after {
            right: 0;
            background: linear-gradient(to left, var(--bg-creme) 0%, transparent 100%);
        }

        .logo-track {
            display: flex;
            align-items: center;
            width: calc(350px * 20); 
            animation: scroll-logos 20s linear infinite; 
        }

        .logo-track:hover {
            animation-play-state: paused;
        }

        .slide-logo {
            width: 350px;
            height: 70px; /* Conteneur fixe pour forcer l'alignement */
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0 1.5rem;
        }

        .slide-logo img {
            max-width: 100%;
            max-height: 70px; /* Hauteur maximale stricte pour tous les logos */
            object-fit: contain;
            /* mix-blend-mode: multiply; /* Rend le blanc des JPEG 100% transparent */
            filter: grayscale(100%); /* Supprime les couleurs */
            opacity: 0.4; /* Transforme le noir en gris */
            transition: all 0.3s ease;
        }

        /* Interaction au survol */
        .slide-logo img:hover {
            opacity: 0.8; /* Le gris devient plus foncé */
        }

        .text-logo {
            font-size: 1.3rem;
            font-weight: 700;
            color: #111827;
            text-transform: uppercase;
            letter-spacing: -0.5px;
            text-align: center;
            opacity: 0.4;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .slide-logo:hover .text-logo {
            opacity: 0.8;
        }

        @keyframes scroll-logos {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-250px * 10)); }
        }

        /* --- Bouton Retour en Haut --- */
        #scrollTopBtn {
            opacity: 0;
            visibility: hidden;
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 999;
            border: none;
            outline: none;
            background-color: var(--hover-cyan);
            color: white;
            cursor: pointer;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #scrollTopBtn:hover {
            background-color: #03a8a3;
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 202, 195, 0.3);
        }

        #scrollTopBtn svg {
            width: 22px;
            height: 22px;
            stroke: currentColor;
            stroke-width: 2.5;
            stroke-linecap: round;
            stroke-linejoin: round;
            fill: none;
        }

        /* Classe ajoutée par le JS pour afficher le bouton */
        #scrollTopBtn.show-btn {
            opacity: 1;
            visibility: visible;
        }

        /* Footer */
        footer { background-color: var(--primary-blue); color: white; padding: 4rem 5% 2rem 5%; margin-top: auto; }
        .footer-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; border-bottom: 1px solid #334155; padding-bottom: 2rem; margin-bottom: 2rem; }
        .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
        .footer-logo img { height: 40px; }
        .footer-col h4 { font-size: 1.1rem; margin-bottom: 1rem; color: var(--cyan-accent); }
        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 0.5rem; }
        .footer-col ul a { color: #94A3B8; text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
        .footer-col ul a:hover { color: white; }
        .footer-bottom { text-align: center; color: #64748B; font-size: 0.85rem; }

        /* Responsive Mobile */
        @media (max-width: 992px) {
            .navbar-container { flex-wrap: wrap; padding: 15px 25px; border-radius: 25px; align-items: flex-start; background-color: rgba(248, 247, 244, 0.98); }
            .hamburger { display: flex; }
            nav { width: 100%; display: none; margin-top: 20px; }
            nav.mobile-active { display: flex; flex-direction: column; }
            nav ul { flex-direction: column; gap: 1rem; width: 100%; align-items: flex-start; }
            .navbar-actions { width: 100%; display: none; justify-content: flex-start; margin-top: 15px; border-top: 1px solid #E5E7EB; padding-top: 15px; }
            .navbar-actions.mobile-active { display: flex; }

            .dropdown { width: 100%; }
            .mega-menu { position: static; visibility: visible; opacity: 1; transform: none !important; width: 100%; box-shadow: none; border: none; padding: 10px 0 10px 15px; display: none; grid-template-columns: 1fr; gap: 1rem; }
            .dropdown.active .mega-menu { display: grid; }
            .dropdown.active .chevron { transform: rotate(180deg); }

            main { flex-direction: column; padding-top: 120px; padding-bottom: 40px; gap: 2.5rem; }
            .hero-text h1 { font-size: 1.8rem; white-space: normal; } /* Rétablit les retours à la ligne sur téléphone */
            .hero-text h2 { font-size: 1.3rem; }
            .hero-actions { flex-direction: column; width: 100%; }
            .btn { text-align: center; }

            .tech-block { padding: 1.5rem; }
            .comparison-grid { grid-template-columns: 1fr; gap: 1rem; }
            .arrow { transform: rotate(90deg); margin: 0; }
            
            .logo-slider::before, .logo-slider::after { width: 40px; }

            .footer-content { flex-direction: column; gap: 2rem; }
        }