/* ============================================================
   PASSO 2: VARIÁVEIS E CONFIGURAÇÕES GLOBAIS (ULTRA-LUXURY)
   ============================================================ */
:root {
    /* Paleta de Cores Nuclear (Diretrizes .md) */
    --bg-black: #0a0a0a;
    --gold-gradient: linear-gradient(90deg, #C9A227, #E8D5A3, #D4AF37);
    --gold-solid: #C9A227;
    --text-primary: #ffffff;
    --white: #ffffff;
    --text-secondary: rgba(201, 162, 39, 0.5);
    /* Dourado semi-transparente */

    /* Tipografia de Elite */
    --font-main: 'Montserrat', sans-serif;
    --font-body: 'Josefin Sans', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Efeitos e Glows */
    --glow-gold: 0 0 25px rgba(201, 162, 39, 0.3);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s ease;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-black);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: var(--bg-black);
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar High-Tech */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-solid);
    border-radius: 10px;
}

/* ============================================================
   LAYOUT UTILS
   ============================================================ */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4%;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

/* ============================================================
   SPLASH SCREEN (T-CAR STYLE)
   ============================================================ */
#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-black);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.brand-placeholder {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: splashPulse 2s ease-in-out infinite;
}

#splash-bar-container {
    width: 200px;
    height: 1px;
    background: rgba(201, 162, 39, 0.1);
    margin-top: 40px;
    overflow: hidden;
    position: relative;
}

#splash-bar {
    height: 100%;
    width: 0%;
    background: var(--gold-gradient);
    box-shadow: var(--glow-gold);
}

/* Layout Hero Premium (Cards Claros e Vibrantes) */
.car-card-mini {
    width: 136px;
    /* Tamanho base, 15% menor que o original de 160px */
    height: 250px;
    /* Altura proporcional ao novo width */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Estilos existentes */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.95);
    opacity: 0.7;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

@media (min-width: 768px) and (max-width: 1023px) {
    .car-card-mini {
        width: 120px;
        height: 220px;
    }
}

/* Ajustes para os botões no Hero */
#hero-selector-wrapper .btn-main-gold,
#hero-selector-wrapper .btn-outline-white {
    margin-top: 0;
    /* Remove margin-top padrão se houver */
    padding: 18px 40px;
    /* Tamanho padrão dos botões */
    font-size: 1rem;
    /* Tamanho da fonte */
}

/* Responsividade para os controles do Hero */
@media (max-width: 767px) {
    .hero-controls-wrapper {
        /* Target the main controls wrapper */
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        /* Adjust gap for mobile */
    }

    .hero-controls-wrapper .flex.gap-4.justify-end.flex-1 {
        /* Target the buttons container */
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    .hero-controls-wrapper .flex.items-center.gap-6 {
        /* Target the arrows and progress bar container */
        justify-content: center;
    }

    #hero-selector-wrapper .btn-main-gold,
    #hero-selector-wrapper .btn-outline-white {
        width: 100%;
        /* Make buttons full width on mobile */
        text-align: center;
        padding: 15px 30px;
        /* Adjust padding for mobile */
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {

    /* Desktops e telas maiores */
    .car-card-mini {
        width: 265px;
        /* Aumentado em 15% (220px * 1.15 = 253px) */
        height: 375px;
        /* Altura proporcional (410px * 1.15 = 471.5px, arredondado) */
    }

    #thumbnails-container {
        /* Largura exata para mostrar 3 cards e meio: (253 * 3.5) + (24 * 3 gaps) = 885.5 + 72 = 957.5px */
        width: 957.5px !important;
        /* Adjusted for new card width */
        justify-content: flex-start;
    }
}

.car-card-mini.active {
    border-color: var(--gold-solid);
    filter: brightness(1.1);
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.4);
    z-index: 2;
}

.car-card-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--gold-solid);
    color: var(--gold-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(5px);
}

.hero-nav-arrow:hover {
    background: var(--gold-solid);
    color: black;
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.5);
}

/* ============================================================
   SISTEMA DE BOTÕES (GHOST & MAIN)
   ============================================================ */

/* Botão Principal Dourado (Grande e Sólido) */
.btn-main-gold {
    padding: 18px 40px;
    background: var(--gold-gradient);
    border: none;
    color: var(--bg-black);
    font-family: var(--font-main);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.btn-main-gold:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(201, 162, 39, 0.4);
    filter: brightness(1.2);
}

/* Botões Ghost (Transparentes, ganham cor no hover) */
.btn-outline-white,
.btn-outline-gold,
.btn-category-ghost,
.btn-cta-small {
    padding: 12px 28px;
    background: transparent;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Efeito Hover Dourado Premium (O tom que você gostou) */
.btn-outline-white:hover,
.btn-outline-gold:hover,
.btn-category-ghost:hover,
.btn-cta-small:hover {
    background: var(--gold-gradient);
    color: var(--bg-black);
    box-shadow: var(--glow-gold);
    transform: translateY(-2px);
    border-color: transparent !important;
}

.btn-outline-white, .btn-cta-small {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline-gold, .btn-category-ghost {
    border: 1px solid var(--gold-solid);
    color: var(--gold-solid);
}

/* Navegação */
.nav-links a {
    font-family: var(--font-main);
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0 20px;
    text-decoration: none;
    transition: var(--transition-fast);
    opacity: 0.8;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold-solid);
    opacity: 1;
}

    @media (max-width: 768px) {
        .banner-content {
            flex-direction: column;
            text-align: center;
            gap: 30px;
        }
    }

    /* ============================================================
   SEÇÃO HERO
   ============================================================ */
    .hero-section {
        position: relative;
        height: 100vh;
        width: 100%;
        overflow: hidden;
    }

    .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    #hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, transparent 20%, var(--bg-black) 100%),
            linear-gradient(to bottom, rgba(10, 10, 10, 0.4), var(--bg-black));
    }

    .hero-main-content {
        position: relative;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 100%;
        padding: 0 5% 0 8%;
        /* Espaçamento maior na esquerda para o HUD */
    }

    /* ============================================================
   HUD - PAINEL ESQUERDO
   ============================================================ */
    .hero-hud {
        flex: 0 0 450px;
        text-align: left;
    }

    .hud-tag {
        font-family: var(--font-tech);
        font-size: 0.7rem;
        color: var(--neon-blue);
        letter-spacing: 4px;
        margin-bottom: 1rem;
    }

    .hud-specs {
        margin: 1.5rem 0;
        border-left: 2px solid var(--neon-blue);
        padding-left: 20px;
    }

    .spec-item {
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column;
    }

    .spec-item .label {
        font-family: var(--font-tech);
        font-size: 0.65rem;
        color: var(--text-dim);
        letter-spacing: 2px;
    }

    .spec-item .value {
        font-size: 1.4rem;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .text-neon {
        color: var(--neon-green);
        text-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
    }

    /* ============================================================
   CARROSSEL - LADO DIREITO
   ============================================================ */
    .hero-carousel-outer {
        flex: 1;
        height: 400px;
        padding-left: 50px;
        overflow: hidden;
        /* Esconde os cards que saem da tela */
        mask-image: linear-gradient(to right, transparent, black 15%);
        /* Fade suave na entrada */
    }

    .hero-carousel-inner {
        display: flex;
        gap: 25px;
        align-items: center;
        height: 100%;
        will-change: transform;
    }

    .car-card {
        min-width: 280px;
        height: 350px;
        background: var(--bg-card);
        border: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        transition: var(--transition-smooth);
        clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
        /* Corte tech */
    }

    .car-card.active {
        min-width: 320px;
        height: 380px;
        border: 1px solid var(--neon-blue);
        box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.1);
    }

    .card-glow {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: var(--neon-blue);
        box-shadow: 0 0 15px var(--neon-blue);
        opacity: 0;
        transition: 0.3s;
    }

    .car-card.active .card-glow {
        opacity: 1;
    }

    /* Efeito Glitch no Texto */
    .glitch-text {
        font-family: var(--font-tech);
        font-size: clamp(1.8rem, 5vw, 3.2rem);
        font-weight: 900;
        text-transform: uppercase;
        position: relative;
        color: var(--text-main);
        letter-spacing: 3px;
        margin-bottom: 0.5rem;
    }

    .glitch-text::before,
    .glitch-text::after {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }

    .glitch-text::before {
        color: var(--neon-blue);
        z-index: -1;
        animation: glitch-offset 3s infinite linear alternate-reverse;
    }

    .glitch-text::after {
        color: var(--neon-purple);
        z-index: -2;
        animation: glitch-offset 2s infinite linear alternate;
    }

    @keyframes glitch-offset {
        0% {
            transform: translate(0);
        }

        20% {
            transform: translate(-2px, 2px);
        }

        40% {
            transform: translate(-2px, -2px);
        }

        60% {
            transform: translate(2px, 2px);
        }

        80% {
            transform: translate(2px, -2px);
        }

        100% {
            transform: translate(0);
        }
    }

    .btn-neon {
        /* Botão flutuante estilizado */
        display: inline-block;
        padding: 1.2rem 3rem;
        font-family: var(--font-tech);
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--neon-blue);
        text-decoration: none;
        border: 2px solid var(--neon-blue);
        transition: var(--transition-fast);
        letter-spacing: 2px;
        box-shadow: inset 0 0 0 0 var(--neon-blue);
    }

    .btn-neon:hover {
        background: var(--neon-blue);
        color: var(--bg-black);
        box-shadow: 0 0 30px var(--neon-blue);
    }

    /* ============================================================
   SIMULADOR GAMIFICADO
   ============================================================ */
    .simulator-section {
        padding: 120px 0;
        background: var(--bg-dark);
        color: var(--bg-white);
    }

    .simulator-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .simulator-header .subtitle {
        color: rgba(255, 255, 255, 0.5);
    }

    .simulator-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 50px;
        align-items: center;
        background: rgba(255, 255, 255, 0.02);
        padding: 40px;
        border: 1px solid rgba(197, 168, 128, 0.1);
        backdrop-filter: blur(10px);
    }

    .control-group {
        margin-bottom: 40px;
    }

    .label-wrapper {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
        font-family: var(--font-tech);
        font-size: 0.8rem;
    }

    .label-wrapper span {
        color: var(--gold-primary);
        font-weight: bold;
    }

    /* Estilização do Slider Neon */
    .neon-slider {
        -webkit-appearance: none;
        width: 100%;
        height: 4px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
        outline: none;
    }

    .neon-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        background: var(--gold-primary);
        border-radius: 50%;
        cursor: pointer;
        box-shadow: var(--glow-gold);
        transition: 0.3s;
    }

    .neon-slider::-webkit-slider-thumb:hover {
        transform: scale(1.2);
    }

    /* Resultado HUD */
    .result-hud {
        background: rgba(0, 0, 0, 0.3);
        padding: 30px;
        border: 1px solid var(--gold-primary);
        text-align: center;
        margin-bottom: 25px;
        position: relative;
        overflow: hidden;
    }

    .result-hud h3 {
        font-family: var(--font-tech);
        font-size: 2.2rem;
        color: var(--gold-primary);
        margin: 15px 0;
        text-shadow: var(--glow-gold);
    }

    .energy-meter {
        width: 100%;
        height: 8px;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 20px;
        border-radius: 4px;
        overflow: hidden;
    }

    .energy-fill {
        height: 100%;
        width: 40%;
        background: linear-gradient(90deg, var(--gold-primary), var(--gold-dark));
        box-shadow: var(--glow-gold);
        transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .disclaimer {
        font-size: 0.6rem;
        color: var(--text-dim);
        margin-top: 15px;
        text-transform: uppercase;
    }

    .full-width {
        width: 100%;
        text-align: center;
    }

    /* ============================================================
   VITRINE HOLOGRÁFICA
   ============================================================ */
    .inventory-section {
        padding: 120px 0;
        background: var(--bg-black);
    }

    .section-header {
        text-align: center;
        margin-bottom: 80px;
    }

    .inventory-counter {
        font-family: var(--font-ui);
        font-size: 0.85rem;
        color: var(--gold-primary);
        margin-bottom: 30px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        opacity: 0.8;
    }

    .inventory-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }

    .inventory-card {
        background: #FFF;
        border: 1px solid #EEE;
        position: relative;
        overflow: hidden;
        transition: var(--transition-smooth);
        cursor: pointer;
        /* Removi o clip-path para um visual mais limpo como T-Car */
    }

    .inventory-card:hover {
        border-color: var(--gold-primary);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

    .card-media {
        position: relative;
        height: 240px;
        background: #000;
        overflow: hidden;
    }

    .card-media img,
    .card-media video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        transition: opacity 0.5s ease;
    }

    .card-media video {
        opacity: 0;
    }

    .inventory-card:hover video {
        opacity: 1;
    }

    /* Efeito Scanline */
    .scanline {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.2), transparent);
        height: 4px;
        z-index: 5;
        pointer-events: none;
        opacity: 0;
    }

    .inventory-card:hover .scanline {
        animation: scan 1.5s linear infinite;
        opacity: 1;
    }

    @keyframes scan {
        from {
            top: -100%;
        }

        to {
            top: 100%;
        }
    }

    .card-details {
        padding: 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .card-details h4 {
        font-family: var(--font-tech);
        font-size: 1.2rem;
        margin-bottom: 15px;
        font-size: 1.1rem;
        margin-bottom: 18px;
        color: var(--text-main);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .card-specs-row {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--border-light);
    }

    .spec-item-mini {
        display: flex;
        align-items: center;
        gap: 6px;
        color: var(--text-dim);
        font-family: var(--font-ui);
        font-size: 0.75rem;
        font-weight: 600;
    }

    .mini-icon {
        width: 14px;
        height: 14px;
        color: var(--gold-primary);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .inventory-card:hover .mini-icon {
        filter: drop-shadow(0 0 5px var(--gold-primary)) brightness(1.2);
        transform: scale(1.15);
    }

    /* ============================================================
   LOCALIZAÇÃO (SPLIT SCREEN)
   ============================================================ */
    .location-section {
        padding: 120px 0;
        background: var(--bg-white);
        position: relative;
    }

    .split-screen {
        display: flex;
        align-items: center;
        gap: 80px;
    }

    .location-info {
        flex: 1;
    }

    .location-map {
        flex: 1.2;
        height: 450px;
        filter: grayscale(1) contrast(1.2);
        border: 1px solid rgba(197, 168, 128, 0.3);
        transition: var(--transition-smooth);
    }

    .location-map:hover {
        filter: grayscale(0);
        border-color: var(--gold-primary);
    }

    .location-text {
        font-family: var(--font-tech);
        font-weight: 700;
        font-size: 1.2rem;
        margin: 20px 0;
    }

    .btn-gold {
        display: inline-block;
        padding: 1rem 2rem;
        border: 1px solid var(--gold-primary);
        color: var(--gold-primary);
        text-decoration: none;
        font-family: var(--font-tech);
        font-size: 0.8rem;
        letter-spacing: 2px;
        transition: 0.3s;
    }

    .btn-gold:hover {
        background: var(--gold-primary);
        color: var(--bg-white);
    }

    /* ============================================================
   FOOTER & CAPTURA
   ============================================================ */
    #contato {
        padding: 100px 0 50px;
        border-top: 1px solid rgba(197, 168, 128, 0.2);
        background: #050505;
        color: var(--bg-white);
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 100px;
    }

    .input-group {
        margin-bottom: 20px;
    }

    .input-group input,
    .input-group textarea {
        width: 100%;
        padding: 15px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
        font-family: var(--font-clean);
        transition: 0.3s;
    }

    .input-group input:focus,
    .input-group textarea:focus {
        border-color: var(--gold-primary);
        background: rgba(197, 168, 128, 0.05);
    }

    /* ============================================================
   AÇÕES FLUTUANTES (WHATSAPP & SUBIR) - UPGRADED LUXURY
   ============================================================ */
    .btn-float {
        position: fixed;
        bottom: 30px;
        width: 64px;
        height: 64px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        cursor: pointer;
        border: none;
        outline: none;
        text-decoration: none;
        z-index: 1000;
    }

    .btn-float:hover {
        transform: translateY(-8px) scale(1.15);
    }

    /* Botão WhatsApp (Direita) */
    .btn-whatsapp {
        right: 30px;
        background-color: #25D366;
        color: white;
    }

    .btn-whatsapp::before {
        content: 'FALE CONOSCO AGORA';
        position: absolute;
        right: 80px;
        background: #25D366;
        color: white;
        padding: 12px 25px;
        border-radius: 40px;
        font-family: var(--font-main);
        font-size: 10px;
        font-weight: 900;
        letter-spacing: 2px;
        white-space: nowrap;
        opacity: 0;
        transform: scale(0.8) translateX(20px);
        transition: all 0.4s ease;
        pointer-events: none;
        box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    }

    .btn-whatsapp:hover::before {
        opacity: 1;
        transform: scale(1) translateX(0);
    }

    .btn-whatsapp::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 2px solid #25D366;
        animation: ripplePulse 2s infinite;
        filter: blur(1px);
        z-index: -1;
    }

    /* Botão Subir (Esquerda) */
    .btn-scroll-top {
        left: 30px;
        background: var(--bg-black);
        border: 1.5px solid var(--gold-solid);
        color: var(--gold-solid);
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px) scale(0);
        overflow: hidden;
    }

    .btn-scroll-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        box-shadow: 0 0 30px rgba(201, 162, 39, 0.3);
    }

    .btn-scroll-top:hover {
        background: var(--gold-gradient);
        color: var(--bg-black);
        box-shadow: var(--glow-gold);
        border-color: transparent;
    }

    @keyframes ripplePulse {
        0% {
            transform: scale(1);
            opacity: 1;
        }

        100% {
            transform: scale(1.8);
            opacity: 0;
        }
    }


    /* ============================================================
   RESPONSIVIDADE (MOBILE OPTIMIZATION)
   ============================================================ */
    @media (max-width: 1024px) {
        .hero-main-content {
            flex-direction: column;
            justify-content: center;
            padding-top: 100px;
        }

        .hero-hud {
            flex: none;
            width: 100%;
            text-align: center;
            margin-bottom: 50px;
        }

        .hud-specs {
            border-left: none;
            border-top: 1px solid var(--neon-blue);
            padding-left: 0;
            padding-top: 20px;
            display: flex;
            justify-content: space-around;
        }

        .hero-carousel-outer {
            width: 100%;
            padding-left: 0;
            mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        }

        .simulator-grid,
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 40px;
        }

        .split-screen {
            flex-direction: column;
            gap: 40px;
        }
    }

    @media (max-width: 768px) {
        .navbar {
            padding: 1.5rem 5%;
        }

        nav {
            display: none;
            /* Em um projeto real, aqui entraria um menu Hamburguer */
        }

        .glitch-text {
            font-size: 2.5rem;
        }

        .spec-item .value {
            font-size: 1rem;
        }
    }

    /* Performance: Desabilitar animações pesadas se o usuário preferir menos movimento */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }
    }

    #demo {
        position: relative;
        height: 100vh;
        width: 100vw;
        display: flex;
        align-items: center;
        overflow: hidden;
        background: var(--bg-black);
    }

    #hero-bg-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.6;
    }

    /* HUD Esquerdo */
    .hero-hud-left {
        position: relative;
        z-index: 10;
        padding-left: 6%;
        width: 40%;
    }

    /* Carrossel Direito */
    .hero-carousel-right {
        position: relative;
        z-index: 10;
        width: 60%;
        height: 400px;
        mask-image: linear-gradient(to right, transparent, black 20%);
    }

    #infinite-cards-container {
        display: flex;
        gap: 30px;
        padding-left: 50px;
        will-change: transform;
    }

    .car-card-mini img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.8;
        transition: transform 0.5s ease;
    }

    .car-card-mini:hover img {
        transform: scale(1.1);
    }

    /* Efeito de Glow Dourado e Elevação para os Cards de Estoque */
    .stock-card-slide .group\/card:hover .rounded-2xl {
        box-shadow: 0 0 35px rgba(201, 162, 39, 0.4);
        border-color: var(--gold-solid) !important;
        transform: translateY(-8px);
        will-change: transform, box-shadow;

        /* Novo Layout do Hero (Sincronizado) */
        .car-card-mini {
            min-width: 160px;
            /* Mais estreito */
            height: 280px;
            /* Mais alto */
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            filter: grayscale(1);
            opacity: 0.6;
            transform: scale(0.9);
        }

        .car-card-mini.active {
            border-color: var(--gold-solid);
            filter: grayscale(0);
            opacity: 1;
            transform: scale(1.1);
            box-shadow: var(--glow-gold);
        }

        .hero-nav-bar .hero-nav-arrow {
            background: none;
            border: 1px solid var(--gold-solid);
            color: var(--gold-solid);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-nav-bar .hero-nav-arrow:hover {
            background: var(--gold-solid);
            color: black;
            box-shadow: 0 0 15px var(--gold-solid);
        }

        .btn-outline-white {
            padding: 18px 40px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            font-family: var(--font-main);
            font-weight: 800;
            letter-spacing: 2px;
            text-transform: uppercase;
            transition: all 0.3s ease;
        }

        .btn-outline-white:hover {
            background: white;
            color: black;
        }
    }

    /* Efeito de Reflexo (Glaze) que passa pelo card */
    .stock-card-slide .group\/card .rounded-2xl::after {
        content: "";
        position: absolute;
        top: 0;
        left: -150%;
        width: 60%;
        height: 100%;
        background: linear-gradient(to right,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.2) 50%,
                rgba(255, 255, 255, 0) 100%);
        transform: skewX(-25deg);
        pointer-events: none;
        z-index: 2;
    }

    .stock-card-slide .group\/card:hover .rounded-2xl::after {
        left: 150%;
        transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }