/* =========================================
   1. DEFINIÇÃO DE TEMAS (VARIÁVEIS)
   ========================================= */
:root {
    /* Tema Claro (Padrão) */
    --bg-site: #f4f7f9; /* Fundo ligeiramente cinza para o vidro branco destacar */
    --texto-site: #111111;
    --bg-secao-dark: #000000;
    --bg-cards: rgba(255, 255, 255, 0.7);
    --bg-vantagens: rgba(255, 255, 255, 0.7);
    --cor-accent: #021e9c;
    --neon: #0066ff; /* Azul vibrante para modo claro */

    /* Fórmula do Vidro - MODO CLARO */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: rgba(31, 38, 135, 0.1);
    --glass-blur: blur(12px);
}

body.dark-mode {
    /* Tema Escuro */
    --bg-site: #020617;
    --texto-site: #ffffff;
    --bg-secao-dark: #00050a;
    --bg-cards: rgba(15, 23, 42, 0.6);
    --bg-vantagens: rgba(15, 23, 42, 0.6);
    --cor-accent: #00f2fe;
    --neon: #00f2fe;

    /* Fórmula do Vidro - MODO ESCURO */
    --glass-bg: rgba(10, 15, 30, 0.65);
    --glass-border: rgba(0, 242, 254, 0.15); /* Borda levemente Ciano */
    --glass-shadow: rgba(0, 0, 0, 0.6);
    --glass-blur: blur(12px);
}

/* =========================================
   2. CONFIGURAÇÕES GERAIS
   ========================================= */
html {
    scroll-behavior: smooth;
}
html.dark-mode {
    --bg-site: #020617;
    --texto-site: #ffffff;
    --bg-cards: rgba(15, 23, 42, 0.6);
    --neon: #00f2fe;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    background-color: var(--bg-site);
    color: var(--texto-site);
    text-align: center;
    transition:
        background 0.4s ease,
        color 0.4s ease;
}

/* =========================================
   3. MENU (BARRA NO TOPO PREMIUM GLASS)
   ========================================= */
.menu {
    position: absolute !important; /* Faz o menu flutuar POR CIMA da imagem */
    top: 0;
    left: 0;
    width: 100%;
    min-height: 80px;
    z-index: 9999; /* Fica acima de tudo no banner */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 10px 20px;
    box-sizing: border-box;

    /* O VERDADEIRO EFEITO DE VIDRO ESCURO */
    background: rgba(
        2,
        6,
        23,
        0.4
    ) !important; /* Fundo escuro super transparente */
    backdrop-filter: blur(15px); /* Embaça o carro que está atrás */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.2); /* Linha ciano sutil embaixo */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.menu a {
    color: #ffffff !important; /* Garante que os links fiquem brancos e legíveis */
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.menu a:hover {
    color: var(--neon) !important;
    text-shadow: 0 0 10px var(--neon); /* Brilho neon ao passar o rato */
    transform: translateY(-2px);
}

.menu .btn-login {
    background: linear-gradient(45deg, var(--neon), #0066ff) !important;
    color: #ffffff !important;
    padding: 8px 24px !important;
    border-radius: 25px !important;
    border: none;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.menu .btn-login:hover {
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.8);
    transform: scale(1.05) translateY(-2px);
}
/* Botão de trocar tema no menu */
#btn-tema {
    background: none;
    border: 1px solid var(--neon);
    color: white;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    transition: 0.3s;
}

#btn-tema:hover {
    background: var(--neon);
    color: #021e9c;
}

/* =========================================
   4. HEADER E BANNER
   ========================================= */
header {
    position: relative;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    padding-top: 0;
}

.fundo-imagens {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.imagHeader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.imagHeader.ativa {
    opacity: 1;
}

.pelicula-escura {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.conteudo-header {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

h1 {
    font-size: 42px;
    text-shadow: 0 0 10px var(--neon);
    color: white;
    margin-top: 20px;
}

.texteheader {
    color: white;
}

.logo-img {
    width: 100px;
    margin-top: 50px;
    animation: floatCar 4s ease-in-out infinite;
}

@keyframes floatCar {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* =========================================
   5. SEÇÕES DE CONTEÚDO (VÍDEO, SOBRE, NÚMEROS)
   ========================================= */
section {
    padding: 40px 20px;
}

.video-sobre {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.video-container {
    flex: 1;
    max-width: 400px;
}

.meu-video {
    width: 100%;
    border-radius: 20px;
    border: 2px solid var(--neon);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
    background-color: #000;
}

.texto-container {
    flex: 1;
    text-align: left;
    color: var(--texto-site);
}

.texto-container h2 {
    color: var(--cor-accent);
    font-size: 32px;
    margin-bottom: 15px;
}

.texto-container p {
    font-size: 16px;
    line-height: 1.6;
}

/* Números/Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* =========================================
   6. VANTAGENS (Cards Adaptáveis e Vidro 3D)
   ========================================= */
.vantagens {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 30px auto;
    flex-wrap: wrap; /* Garante que não esmaga em telas pequenas */
}

.vantagem {
    flex: 1;
    min-width: 250px;

    /* Fundo que MUDA automaticamente com o tema + Efeito Vidro */
    background: var(--bg-cards);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(128, 128, 128, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    padding: 30px 25px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Cor do texto base que muda de preto para branco consoante o tema */
    color: var(--texto-site);
}

.vantagem i {
    display: block;
    font-size: 45px;
    margin-bottom: 20px;
    color: var(--neon);
    filter: drop-shadow(0 0 10px var(--neon));
    transition: transform 0.3s ease;
}

.vantagem span {
    display: block;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    /* O título fica azul-escuro no tema claro e Ciano no tema escuro! */
    color: var(--cor-accent);
}

.vantagem p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.8; /* Dá um aspeto mais suave e moderno ao texto descritivo */
}

/* O "Pulo 3D" maravilhoso quando passa o rato */
.vantagem:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(0, 242, 254, 0.3);
    border-color: var(--neon);
    z-index: 10;
}

.vantagem:hover i {
    transform: scale(1.2) translateY(-5px);
}
.vantagem span {
    display: block;
    font-size: 30px;
    margin-bottom: 15px;
    color: var(--neon);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.vantagem:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--neon);
}

/* =========================================
   7. PLANOS
   ========================================= */
.planos-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.plano {
    color: white;
    padding: 30px;
    border-radius: 20px;
    width: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: 0.4s;
}

.plano::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Embaça a foto de fundo para o texto ficar legível (Vidro) */
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: -1;
    transition: 0.4s;
}

.plano:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--neon);
}
.plano:hover::before {
    background: rgba(0, 0, 0, 0.2);
    /* Quando passar o rato, o vidro fica "limpo" e vê-se o carro nítido */
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}
.preco {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(
        to right,
        #003c81,
        #ffffff,
        var(--neon),
        #0077ff
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.veiculo-name {
    font-size: 26px; /* Tamanho imponente */
    font-weight: 900; /* Peso máximo para o 3D funcionar */
    text-transform: uppercase; /* Letras maiúsculas dão mais autoridade */
    letter-spacing: 2px; /* Espaçamento elegante entre letras */
    margin-bottom: 10px;
    display: block;

    /* Gradiente que simula reflexo de metal/luz */
    background: linear-gradient(to bottom, #ffffff 30%, var(--neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* EFEITO 3D: Sombras em camadas para dar espessura à letra */
    text-shadow:
        1px 1px 0px rgba(255, 255, 255, 0.8),
        2px 2px 0px rgba(4, 18, 151, 0.7),
        3px 3px 15px rgba(0, 0, 0, 0.5);

    transition: all 0.4s ease;
    transform: translateZ(
        30px
    ); /* Faz a letra "saltar" se usar o efeito de tilt */
}

/* Efeito quando passar o mouse no card pai */
.plano:hover .veiculo-name {
    letter-spacing: 4px; /* As letras se expandem levemente */
    filter: drop-shadow(0 0 10px var(--neon)); /* Brilho neon intenso */
    transform: translateZ(50px) scale(1.05); /* Salta ainda mais para fora */
}
/* =========================================
   8. COMPONENTES ESPECÍFICOS (BOTÕES, ESTRELAS, COMENTÁRIOS)
   ========================================= */
.btn {
    background: linear-gradient(45deg, var(--neon), #0066ff);
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--neon);
}

.comentario {
    font-size: 24px;
    color: var(--texto-site);
    font-weight: bold;
    font-style: italic;
    margin: 20px auto;
    animation: pulseText 2s infinite alternate;
}

@keyframes pulseText {
    0% {
        text-shadow: 0 0 5px var(--neon);
    }
    100% {
        text-shadow: 0 0 20px var(--neon);
    }
}

/* Estrelas */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}
.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s infinite alternate;
}
@keyframes twinkle {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

/* Redes Sociais Flutuantes */
.whatsapp-float,
.instagram-float,
.tiktok-float {
    position: fixed;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
.whatsapp-float {
    bottom: 25px;
    background: #25d366;
    animation: pulse 2s infinite;
}
.instagram-float {
    bottom: 100px;
    background: radial-gradient(circle, #feda75, #d62976, #962fbf);
    animation: pulsey 2s infinite;
}
.tiktok-float {
    bottom: 175px;
    background: radial-gradient(circle, #4b4b4b, #252525, #171718);
    animation: pulsettk 2s infinite;
}

.social-icon {
    width: 28px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
@keyframes pulsey {
    0% {
        box-shadow: 0 0 0 0 rgba(205, 37, 211, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(205, 37, 211, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(205, 37, 211, 0);
    }
}
@keyframes pulsettk {
    0% {
        box-shadow: 0 0 0 0 rgba(19, 18, 19, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(87, 85, 87, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(205, 37, 211, 0);
    }
}

/* =========================================
   9. RODAPÉ E APPS
   ========================================= */
.apps {
    text-align: center;
    background: #000;
    color: white;
    padding: 40px 20px;
}
.apps-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}
.logoPlay {
    width: 40px;
    transition: 0.3s;
}
.logoPlay:hover {
    transform: scale(1.1);
}

footer {
    background: #000;
    color: white;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* =========================================
   10. PAINEL ADMIN E RESPONSIVIDADE
   ========================================= */
.form-admin {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}
.form-admin label {
    font-weight: 600;
    color: var(--cor-accent);
}
.form-admin input,
.form-admin select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .video-sobre {
        flex-direction: column;
        text-align: center;
    }
    .texto-container {
        text-align: center;
    }
    .vantagens {
        flex-direction: column;
        align-items: center;
    }
    .vantagem {
        width: 90%;
    }
    .menu {
        gap: 15px;
        flex-wrap: wrap;
        height: auto;
        padding: 20px;
    }
}

iframe {
    width: 90%;
    height: 300px;
    border-radius: 20px;
    border: none;
}
.fade {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}
.fade.show {
    opacity: 1;
    transform: translateY(0);
}
/* Garante que tudo no menu fique alinhado ao centro */
.menu {
    display: flex;
    align-items: center;
    justify-content: center; /* ou flex-end dependendo do seu layout */
    gap: 20px;
    padding: 15px 20px;
}

/* O novo botão de tema */
.nav-theme-btn {
    background: rgba(0, 255, 255, 0.05); /* Fundo levemente ciano */
    border: 1px solid var(--neon);
    color: var(--neon);
    width: 42px;
    height: 42px;
    border-radius: 50%; /* Deixa o botão redondo (muito mais elegante) */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    outline: none;
}

/* Efeito ao passar o mouse */
.nav-theme-btn:hover {
    background: var(--neon);
    color: #000b1a; /* Cor escura do seu site para dar contraste no ícone */
    box-shadow: 0 0 15px var(--neon);
    transform: scale(1.1) rotate(15deg); /* Dá uma leve girada e cresce */
}
/* =========================================
   PRELOADER (ESTRELA) - CAMADA MÁXIMA
   ========================================= */
#preloader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #020617 !important; /* Fundo azul ultra escuro da Estrela */

    /* 👇 SEGURANÇA MÁXIMA: Esmaga os ícones das redes sociais 👇 */
    z-index: 99999999 !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    transition: opacity 0.6s ease;
}

/* Container para alinhar tudo e dar perspectiva 3D */
.star-loader-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    perspective: 500px; /* Cria efeito de profundidade nos anéis */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* A Estrelinha no Centro */
.star-core i {
    font-size: 3.5rem;
    color: var(--neon);
    filter: drop-shadow(0 0 15px var(--neon));
    animation: starPulseGlow 2s infinite alternate ease-in-out;
    z-index: 10;
}

/* Base dos Anéis de Satélite (Órbitas) */
.star-orbit {
    position: absolute;
    border: 2px solid rgba(0, 242, 254, 0.3);
    border-radius: 50%;
    z-index: 1;
}

/* Anel 1: Gira num eixo inclinado */
.ring-1 {
    width: 90px;
    height: 90px;
    animation: orbitSpin1 2.5s linear infinite;
    border-style: solid;
}

/* Anel 2: Gira noutro eixo e é tracejado */
.ring-2 {
    width: 120px;
    height: 120px;
    animation: orbitSpin2 4s linear infinite;
    border-style: dashed; /* Estilo 'procurando sinal' */
}

/* Texto Informativo */
.loading-text {
    margin-top: 30px;
    color: var(--neon);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: textBlink 1.5s infinite;
}

/* =========================================
   ANIMAÇÕES DA ESTRELINHA
   ========================================= */

/* Faz a estrela pulsar e brilhar intensamente */
@keyframes starPulseGlow {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
        filter: drop-shadow(0 0 25px var(--neon));
    }
}

/* Animação do Anel 1 (Giro 3D no eixo Y inclinado) */
@keyframes orbitSpin1 {
    from {
        transform: rotateX(70deg) rotateY(10deg) rotateZ(0deg);
    }
    to {
        transform: rotateX(70deg) rotateY(10deg) rotateZ(360deg);
    }
}

/* Animação do Anel 2 (Giro 3D no eixo X inclinado) */
@keyframes orbitSpin2 {
    from {
        transform: rotateX(-70deg) rotateY(10deg) rotateZ(0deg);
    }
    to {
        transform: rotateX(-70deg) rotateY(10deg) rotateZ(360deg);
    }
}

@keyframes textBlink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    opacity: 0.6;
}
.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
}
.badge-item i {
    font-size: 1.5rem;
    color: var(--neon);
}

/*==================================
   arra de Rolagem (Scrollbar) Neon
=====================================*/
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-site);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--cor-accent), var(--neon));
    border-radius: 10px;
    border: 2px solid var(--bg-site);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon);
    box-shadow: 0 0 10px var(--neon);
}
#mouse-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(0, 242, 254, 0.07) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}
.mega-footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 60px 20px 20px;
    margin-top: 100px;
    text-align: left;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links a {
    display: block;
    color: var(--texto-site);
    text-decoration: none;
    margin-bottom: 10px;
    opacity: 0.7;
    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--neon);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    opacity: 0.5;
}
:xr-overlay {
}

/* Elementos antes de aparecerem na tela */
.revelar {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

/* Elementos quando entram na tela */
.revelar.ativo {
    opacity: 1;
    transform: translateY(0);
}
.estatisticas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;

    /* Efeito Vidro Premium */
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px var(--glass-shadow);
    border-radius: 20px;

    padding: 50px 20px;
    margin: 80px auto;
    max-width: 1000px;
}
.stat-box {
    text-align: center;
}
.stat-box h3 {
    font-size: 3rem;
    color: var(--neon);
    text-shadow: 0 0 15px var(--neon);
    margin: 0;
}
.stat-box p {
    font-size: 1.1rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.glitch {
    position: relative;
    color: var(--neon);
    font-weight: 900;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 red;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 blue;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 31px, 0);
        transform: skew(0.5deg);
    }
    5% {
        clip: rect(70px, 9999px, 85px, 0);
        transform: skew(0.5deg);
    }
    10% {
        clip: rect(0, 0, 0, 0);
    } /* Fica normal o resto do tempo */
    100% {
        clip: rect(0, 0, 0, 0);
    }
}
@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 90px, 0);
        transform: skew(-0.5deg);
    }
    5% {
        clip: rect(20px, 9999px, 30px, 0);
        transform: skew(-0.5deg);
    }
    10% {
        clip: rect(0, 0, 0, 0);
    }
    100% {
        clip: rect(0, 0, 0, 0);
    }
}
.bloquio {
    color: #0066ff;
    box-shadow: #000;
}
/* =========================================
   CONTADORES ANIMADOS (PROVA SOCIAL)
   ========================================= */
.estatisticas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Espaço base entre os itens */
    flex-wrap: wrap; /* Se a tela for pequena, eles descem de linha em vez de esmagar */

    background: linear-gradient(
        90deg,
        rgba(0, 242, 254, 0.02),
        rgba(0, 242, 254, 0.08),
        rgba(0, 242, 254, 0.02)
    );
    border-top: 1px solid rgba(0, 242, 254, 0.15);
    border-bottom: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 20px; /* Bordas arredondadas para parecer um painel */

    padding: 50px 20px;
    margin: 80px auto;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.stat-box {
    text-align: center;
    flex: 1; /* Faz todas as caixas terem a mesma largura */
    min-width: 200px;
    display: flex;
    flex-direction: column; /* Garante que o ícone, o número e o texto fiquem empilhados verticalmente */
    align-items: center;
    gap: 15px; /* Espaço entre o número e o texto */
}

/* Ícones acima dos números */
.stat-icon {
    font-size: 2.5rem;
    color: var(--neon);
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.5));
}

/* O Número Gigante */
.stat-box h3 {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow:
        0 0 20px var(--neon),
        0 0 40px rgba(0, 242, 254, 0.4);
    margin: 0;
    line-height: 1;
}

/* O Texto Descritivo */
.stat-box p {
    font-size: 0.85rem;
    color: #94a3b8; /* Cinza claro elegante */
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin: 0;
}

/* Linha divisória entre as estatísticas */
.stat-separator {
    width: 2px;
    height: 80px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--neon),
        transparent
    );
    opacity: 0.3;
}

/* Ajuste para Celulares (telas menores que 768px) */
@media (max-width: 768px) {
    .estatisticas-container {
        flex-direction: column; /* Empilha tudo num celular */
        gap: 40px;
    }
    .stat-separator {
        width: 100px;
        height: 2px;
        background: linear-gradient(
            to right,
            transparent,
            var(--neon),
            transparent
        );
    }
}

/* =========================================
   SIMULADOR HOLOGRÁFICO PREMIUM
   ========================================= */

/* Centraliza o telemóvel na secção */
.dispositivo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto;
    perspective: 1000px; /* Profundidade 3D para o hover */
}

/* Corpo do Smartphone */
.smartphone-case {
    width: 290px;
    height: 580px;
    background: #111; /* Cor do hardware do telefone */
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.7),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
    border: 2px solid #222;
    position: relative;
    transition: transform 0.5s ease;
}

/* Efeito TILT suave no hover do telefone inteiro */
.smartphone-case:hover {
    transform: rotateX(5deg) rotateY(-5deg);
}

/* O Notch (Câmera) */
.smartphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 25px;
    background: #111;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 20;
}

/* A Ecrã (Onde o APP roda) */
.smartphone-screen {
    width: 100%;
    height: 100%;
    background: #020617; /* Fundo azul ultra escuro */
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Fundo de Grade Tecnológica (Mapa Estilizado) */
.mapa-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center;
    opacity: 0.8;
}

/* Header do APP */
.simulador-header {
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 0;
    color: #666;
    font-size: 0.7rem;
    letter-spacing: 2px;
    z-index: 10;
    font-weight: bold;
}

/* Área Display Central */
.simulador-display {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 20px;
}

/* Container do Ícone do Carro */
.carro-monitor-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

/* Ícone do Carro: Brilho Neon Ciano (Motor Ligado) */
.sim-carro-icon {
    font-size: 6rem;
    color: var(--neon);
    filter: drop-shadow(0 0 15px var(--neon));
    transition: all 0.5s ease;
    z-index: 5;
}

/* Pulsação GPS Ciano */
.gps-pulse {
    position: absolute;
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid var(--neon);
    border-radius: 50%;
    animation: gpsRipple 2s infinite ease-out;
    opacity: 0;
}

/* Painel de Informações Inferior */
.info-painel {
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 242, 254, 0.1);
    backdrop-filter: blur(5px);
}

.status-label {
    font-size: 0.65rem;
    color: #888;
    letter-spacing: 2px;
    font-weight: bold;
}

.status-valor {
    font-size: 1.2rem;
    font-weight: 900;
    margin-top: 5px;
    transition: all 0.5s ease;
}

/* Cores de Status (ON / OFF) */
.motor-on {
    color: #2ed573; /* Verde Sucesso */
    text-shadow: 0 0 10px rgba(46, 213, 115, 0.5);
}

.motor-off {
    color: #ff4757; /* Vermelho Bloqueio */
    text-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

/* =========================================
   BOTAO "KILL SWITCH" PREMIUM
   ========================================= */
.btn-kill-switch {
    width: calc(100% - 40px);
    margin: 0 auto 30px;
    height: 65px;
    background: transparent;
    border: 2px solid rgba(255, 71, 87, 0.4); /* Vermelho Neon transparente */
    border-radius: 15px;
    color: #ff4757;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.15);
}

/* Linha de Scanner de segurança a passar no botão */
.btn-scan-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 71, 87, 0.2),
        transparent
    );
    animation: btnScan 3s infinite;
}

/* Ícone do Botão */
.btn-kill-switch i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* HOVER: Botão se preenche de Vermelho Neon */
.btn-kill-switch:hover {
    background: #ff4757;
    color: #ffffff;
    border-color: #ff4757;
    box-shadow: 0 0 30px rgba(255, 71, 87, 0.6);
}

/* Efeito de Clique */
.btn-kill-switch:active {
    transform: scale(0.96);
}

/* Classes de Estado (Enviando / Sucesso) usadas no JS */
.btn-enviando {
    border-color: #ffa502 !important;
    color: #ffa502 !important;
    background: transparent !important;
    box-shadow: 0 0 20px rgba(255, 165, 2, 0.3) !important;
}

.btn-sucesso {
    border-color: #2ed573 !important;
    color: #ffffff !important;
    background: #2ed573 !important;
    box-shadow: 0 0 30px rgba(46, 213, 115, 0.6) !important;
}

/* =========================================
   ANIMAÇÕES DO SIMULADOR
   ========================================= */

/* Pulsação GPS Ciano */
@keyframes gpsRipple {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
    30% {
        opacity: 0.6;
    }
    100% {
        width: 180px;
        height: 180px;
        opacity: 0;
        border-width: 0px;
    }
}

/* Linha de Scanner do Botão */
@keyframes btnScan {
    0% {
        left: -100%;
    }
    50%,
    100% {
        left: 100%;
    }
}

/* Animação de Curto-Circuito (quando bloqueia) */
@keyframes curtoCircuito {
    0% {
        opacity: 1;
    }
    10%,
    30%,
    50% {
        opacity: 0.2;
        color: #fff;
        filter: drop-shadow(0 0 5px #fff);
    }
    20%,
    40%,
    60% {
        opacity: 1;
        color: #ff4757;
        filter: drop-shadow(0 0 15px #ff4757);
    }
    100% {
        opacity: 1;
        color: #ff4757;
        filter: drop-shadow(0 0 15px #ff4757);
    }
}

.carro-bloqueado-anim {
    animation: curtoCircuito 0.8s ease-out;
}

/*============================
         Style email
===============================*/

.email {
    color: var(--neon);
    text-decoration: none;
}
/* Container principal da troca de relatos */
.relato-switch-wrapper {
    max-width: 800px;
    margin: 0 auto;
    min-height: 300px; /* Evita que o site "pule" ao trocar o texto */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

/* Estilo do Card Único */
.relato-card-animado {
    background-color: var(--bg-cards);
    border-radius: 20px;
    padding: 40px;
    border-top: 5px solid var(--neon);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}

.relato-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.relato-card-animado h3 {
    color: var(--cor-accent);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.dark-mode .relato-card-animado h3 {
    color: var(--neon);
}

.relato-card-animado {
    background-color: var(--bg-cards);
    border-radius: 20px;
    padding: 40px;
    border-top: 5px solid var(--neon);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;

    /* A MÁGICA AQUI: Impede que o padding aumente a largura do cartão */
    box-sizing: border-box;
}

.relato-autor-info {
    font-weight: 600;
    opacity: 0.8;
    display: block;
}
@media (max-width: 768px) {
    .relato-switch-wrapper {
        padding: 0 10px;
        min-height: 350px; /* Aumenta a altura mínima porque o texto desce mais linhas */
    }

    .relato-card-animado {
        padding: 25px 15px; /* Reduz o espaçamento gigante nas laterais */
        border-radius: 15px;
    }

    .relato-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .relato-card-animado h3 {
        font-size: 1.15rem; /* Ajusta o título para não quebrar feio */
    }

    .relato-card-animado p {
        font-size: 0.95rem; /* Texto mais legível em ecrãs estreitos */
        line-height: 1.5;
    }
}
/* Efeito de Troca (Fade) */
#relato-display {
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
    width: 100%;
}

.relato-hidden {
    opacity: 0;
    transform: translateY(10px);
}

.relato-active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   APP SHOWCASE
   ========================================= */
.app-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.app-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid rgba(128, 128, 128, 0.1);
}

.feature-item:hover,
.feature-item.active {
    background: var(--bg-cards);
    border-color: var(--neon);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--neon);
    min-width: 50px;
}

.feature-text h4 {
    margin: 0 0 5px 0;
    color: var(--cor-accent);
}

.dark-mode .feature-text h4 {
    color: var(--neon);
}

.feature-text p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.7;
}

/* Mockup do Telemóvel */
.app-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #111;
    border: 12px solid #333;
    border-radius: 35px;
    position: relative;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 20px var(--neon);
}

.phone-frame::before {
    /* Notch do telemóvel */
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #333;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
}

.app-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.app-screen-img.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@media (max-width: 768px) {
    .app-container {
        flex-direction: column-reverse;
        gap: 40px;
    }
    .feature-item:hover {
        transform: none;
    }
}

/* Estilo do Círculo da Cerca */
.sim-cerca-circulo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: rgba(0, 242, 254, 0.1);
    border: 2px dashed #00f2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: breath 3s infinite ease-in-out;
}

.sim-cerca-label {
    background: #00f2fe;
    color: #000;
    font-size: 0.6rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 10px;
    position: absolute;
    top: -10px;
}

@keyframes breath {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
}

/* Garantir que a tela ativa apareça */
.sim-tela {
    display: none;
    height: 100%;
    width: 100%;
}
.sim-tela.ativa {
    display: block;
}
/* =========================================
   AJUSTES PARA CELULAR (Telas até 768px)
   ========================================= */
@media (max-width: 768px) {
    /* Trava a tela para o site não "dançar" para os lados */
    body,
    html {
        overflow-x: hidden;
    }

    /* 1. Arrumar APENAS o Menu (Navegação) */
    .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 10px;
        min-height: auto;
    }

    .menu a {
        font-size: 0.75rem;
        padding: 4px;
    }

    .menu .btn-login {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .nav-theme-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    /* 2. Textos do Topo (Títulos Gigantes) */
    h1 {
        font-size: 2.2rem !important;
        margin-top: 40px;
        line-height: 1.2;
    }

    .texteheader {
        font-size: 1rem !important;
        padding: 0 15px;
    }

    /* 3. Redes Sociais (Diminuir as bolinhas para não taparem o site) */
    .whatsapp-float,
    .instagram-float,
    .tiktok-float {
        width: 45px;
        height: 45px;
        right: 15px;
    }

    .whatsapp-float {
        bottom: 20px;
    }
    .instagram-float {
        bottom: 80px;
    }
    .tiktok-float {
        bottom: 140px;
    }

    .social-icon {
        width: 22px;
    }

    /* 4. Ajustar os Cards para não vazarem da tela */
    .planos-container,
    .estatisticas-container {
        flex-direction: column;
        align-items: center;
    }
}

/* =========================================
       MENU DO USUÁRIO LOGADO (HUD PREMIUM)
       ========================================= */
.user-hud {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(5, 10, 20, 0.6); /* Fundo super escuro semi-transparente */
    backdrop-filter: blur(10px); /* Efeito de vidro */
    padding: 6px 18px 6px 8px; /* Mais espaço na direita, apertado na esquerda */
    border-radius: 40px; /* Bordas bem arredondadas */
    border: 1px solid rgba(0, 242, 254, 0.3);
    box-shadow:
        0 0 15px rgba(0, 242, 254, 0.1),
        inset 0 0 10px rgba(0, 242, 254, 0.05);
    transition: all 0.3s ease;
}

.user-hud:hover {
    box-shadow:
        0 0 25px rgba(0, 242, 254, 0.4),
        inset 0 0 15px rgba(0, 242, 254, 0.1);
    border-color: #00f2fe;
}

.user-hud-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* O Avatar com Fundo RGB Pulsante */
.avatar-ring {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f2fe, #10b981, #00f2fe);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000; /* Ícone preto para destacar no néon */
    font-size: 1.1rem;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
    animation: animarRGB 3s ease infinite;
}

@keyframes animarRGB {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
    }
    100% {
        background-position: 0% 50%;
    }
}

.user-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* Linha divisória com degradê fade */
.hud-divider {
    width: 2px;
    height: 25px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 242, 254, 0.6),
        transparent
    );
}

/* Botão de Painel Verde High-Tech */
.hud-btn-painel {
    color: #10b981;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hud-btn-painel:hover {
    background: rgba(16, 185, 129, 0.2);
    color: #fff;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
    border-color: #10b981;
    transform: translateY(-2px);
}

/* Botão de Sair Vermelho Alerta */
.hud-btn-logout {
    color: #ff4757;
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hud-btn-logout:hover {
    background: rgba(255, 71, 87, 0.2);
    color: #fff;
    border-color: #ff4757;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.8);
    transform: rotate(90deg) scale(1.1);
}
/* =========================================
   ANIMAÇÕES REVEAL ON SCROLL (UI/UX PREMIUM)
   ========================================= */

/* Classe base: o elemento começa invisível e um pouco para baixo */
.fade {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

/* Quando o JavaScript deteta o scroll, adiciona o .show e o elemento surge! */
.fade.show {
    opacity: 1;
    transform: translateY(0);
}

/* Variações de direção (opcional, para dar mais dinamismo) */
.fade-left {
    transform: translateX(-50px) translateY(0);
}
.fade-right {
    transform: translateX(50px) translateY(0);
}
.fade-left.show,
.fade-right.show {
    transform: translateX(0) translateY(0);
}

/* Sistema de "Cascata" (Delays para os cartões aparecerem um depois do outro) */
.delay-1 {
    transition-delay: 0.1s;
}
.delay-2 {
    transition-delay: 0.25s;
}
.delay-3 {
    transition-delay: 0.4s;
}
.delay-4 {
    transition-delay: 0.55s;
}
/* =========================================
   BARRA DE PROGRESSO NEON (SCROLL)
   ========================================= */
#neon-scroll-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px; /* Grossura do laser */
    background: linear-gradient(90deg, #00f2fe, #10b981, #00f2fe);
    background-size: 200% 100%;
    width: 0%; /* Começa no zero */
    z-index: 9999999; /* Fica por cima de TUDO, até do menu */
    box-shadow:
        0 0 10px rgba(0, 242, 254, 0.8),
        0 0 5px rgba(16, 185, 129, 0.8);
    transition: width 0.1s ease-out;
    animation: moveGradient 3s linear infinite; /* Anima a cor a correr */
}

@keyframes moveGradient {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}
/* =========================================
   RADAR INTERATIVO (MAPA AO VIVO)
   ========================================= */
#radar-live {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.map-container-glass {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 254, 0.1);
    z-index: 1;
}

#mapa-radar {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    z-index: 1; 
    filter: contrast(1.2) brightness(1.1); /* Dá um pop nas cores do mapa */
}

/* O Marcador do Carro (Bolinha Verde Neon) */
.neon-marker {
    width: 15px;
    height: 15px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 15px #10b981, 0 0 30px #10b981;
    border: 2px solid #fff;
    animation: pulse-neon 1.5s infinite;
}

@keyframes pulse-neon {
    0% { transform: scale(0.8); box-shadow: 0 0 10px #10b981; }
    50% { transform: scale(1.2); box-shadow: 0 0 30px #10b981, 0 0 50px #10b981; }
    100% { transform: scale(0.8); box-shadow: 0 0 10px #10b981; }
}

/* Caixinha de Dados no canto do mapa */
.hud-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 999; 
    background: rgba(2, 6, 23, 0.85);
    border: 1px solid var(--neon);
    padding: 15px 20px;
    border-radius: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
    pointer-events: none; /* Para não bugar o rato quando passar por cima */
}

.pisca-verde {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: blink 1s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
/* =========================================
   CALCULADORA GAMIFICADA (UI)
   ========================================= */
#calculadora-precos {
    margin: 80px auto;
    padding: 0 20px;
}

.calc-sliders {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.slider-group {
    text-align: left;
}

.slider-group label {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--texto-site);
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.neon-text {
    color: var(--neon);
    text-shadow: 0 0 10px var(--neon);
    font-size: 1.5rem;
}

/* O trilho da barra deslizante */
.neon-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(128, 128, 128, 0.2);
    border-radius: 5px;
    outline: none;
    transition: 0.2s;
}

/* A "bolinha" que o cliente arrasta */
.neon-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #10b981; /* Verde conversão */
    cursor: pointer;
    box-shadow: 0 0 15px #10b981, 0 0 30px #10b981;
    border: 2px solid #fff;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.neon-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.calc-resultado {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.preco-total {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--texto-site);
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
    margin: 10px 0;
}

.preco-total .mes {
    font-size: 1.5rem;
    color: #888;
    text-shadow: none;
}

.desconto-msg {
    color: #10b981;
    font-weight: 800;
    font-size: 1.1rem;
    height: 25px;
    opacity: 0;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.desconto-msg.ativo {
    opacity: 1;
    transform: translateY(-5px);
}
/* =========================================
   BOTÃO WHATSAPP PREMIUM (CALCULADORA)
   ========================================= */
.btn-whatsapp-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(45deg, #25D366, #128C7E); /* Cores oficiais do WhatsApp */
    color: #ffffff !important;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 18px 45px;
    border-radius: 50px; /* Deixa o botão bem redondinho */
    margin-top: 25px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulseWhatsBtn 2s infinite; /* Faz o botão pulsar chamando atenção */
}

.btn-whatsapp-premium i {
    font-size: 1.5rem;
}

.btn-whatsapp-premium:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(45deg, #128C7E, #25D366); /* Inverte o gradiente ao passar o rato */
    color: #ffffff;
}

/* Animação da "onda" verde em volta do botão */
@keyframes pulseWhatsBtn {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
/* =========================================
   CALCULADORA COMPACTA E DISCRETA (WIDGET)
   ========================================= */
#calculadora-precos > div {
    max-width: 450px !important; /* A MÁGICA: Limita a largura para ficar um cartão pequeno */
    padding: 35px 25px !important;
    margin: 0 auto !important; /* Centraliza perfeitamente */
    border-radius: 25px !important;
}

#calculadora-precos h2.titulo-principal {
    font-size: 1.5rem !important; /* Título menor e mais discreto */
}

#calculadora-precos p {
    font-size: 0.85rem !important;
    margin-bottom: 25px !important;
}

.calc-sliders {
    gap: 15px !important; /* Junta mais as barras para não ocupar tanto espaço */
    margin-bottom: 25px !important;
}

.slider-group label {
    font-size: 0.9rem !important; /* Texto mais delicado */
}

.neon-text {
    font-size: 1.2rem !important; /* Número do veículo menor */
}

/* O "Puxador" da barra um pouco mais delicado */
.neon-slider::-webkit-slider-thumb {
    width: 20px !important;
    height: 20px !important;
}

.preco-total {
    font-size: 2.8rem !important; /* Preço proporcional ao novo tamanho */
    margin: 5px 0 !important;
}

/* Deixa o botão do WhatsApp mais elegante e proporcional */
.btn-whatsapp-premium {
    padding: 12px 25px !important;
    font-size: 0.95rem !important;
    margin-top: 15px !important;
}
/* =========================================
   MAPA DE CALOR (ANIMAÇÕES EXTRAS)
   ========================================= */
.pisca-vermelho {
    animation: blink-red 1s infinite;
}
@keyframes blink-red { 
    0%, 100% { opacity: 1; text-shadow: 0 0 10px #ff4757; } 
    50% { opacity: 0.4; text-shadow: none; } 
}
/* =========================================
   BOTÕES DO MAPA DE CALOR (UI PREMIUM)
   ========================================= */
.map-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-mapa {
    background: #1e293b; /* Fundo escuro elegante */
    color: #ffffff !important; /* Texto SEMPRE branco */
    border: 1px solid rgba(0, 242, 254, 0.2); /* Borda ciano bem suave */
    padding: 10px 22px;
    border-radius: 30px; /* Deixa o botão bem redondo */
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Efeito ao passar o rato */
.btn-mapa:hover {
    background: #2a3b52;
    border-color: var(--neon);
    transform: translateY(-2px);
}

/* O botão que está ATIVADO no momento */
.btn-mapa.ativo {
    background: linear-gradient(45deg, #00f2fe, #0066ff) !important;
    border-color: transparent;
    box-shadow: 0 5px 20px rgba(0, 242, 254, 0.4);
    transform: scale(1.05); /* Fica um pouquinho maior para destacar */
}