/* 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;
        }

        /* --- Navigation Flottante --- */
        .navbar-container {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 95%;
            max-width: 12000px;
            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;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 5px;
            text-decoration: none;
            min-width: 200px;
        }

        .brand img {
            height: 35px;
            width: auto;
        }

        .brand b {
            font-weight: 600;
            font-size: 1.3rem;
            color: var(--text-main);
        }

        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;
        }

        /* --- 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;
        }

        /* --- 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;
        }

        .dropdown:hover .mega-menu {
            visibility: visible;
            opacity: 1;
            transform: translateX(-50%) 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;
        }

        /* Actions de navigation droite */
        .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% 100px 5%;
            max-width: 1400px;
            margin: 0 auto;
            gap: 4rem;
            align-items: center;
        }

        .hero-text {
            flex: 1;
        }

        .hero-text h1 {
            font-size: 2.8rem;
            font-weight: 700;
            line-height: 1.2;
            color: var(--primary-blue);
            margin-bottom: 0.5rem;
            display: block; 
        }

        .hero-text h2 {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 0.5rem;
            display: block;
        }

        .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.4rem;
            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.1rem;
            color: #4B5563;
            line-height: 1.6;
        }

        /* --- Dashboard Interactif --- */
        .hero-visual { flex: 1.2; display: flex; justify-content: flex-end; }
        .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; }
        
        /* --- Animation de pulsation pour le curseur --- */
        @keyframes pulse-thumb {
            0% {
                transform: scale(1);
                box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
            }
            50% {
                transform: scale(1.4); /* Le curseur grossit */
                /* L'ombre s'élargit et devient plus opaque pour l'effet de clignotement */
                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; 
            /* On applique l'animation infinie ici */
            animation: pulse-thumb 1.5s infinite ease-in-out;
        }

        /* On arrête l'animation quand l'utilisateur survole ou clique, pour stabiliser le curseur */
        .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; }
        .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; }
        .savings-amount { font-size: 1.2rem; }
        .savings-amount span { font-size: 0.9rem; font-weight: 400; opacity: 0.9; }

        /* --- 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;
        }

        .tech-footer { text-align: center; color: #64748B; font-size: 0.75rem; }
        /* 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; }