/* Estilizações Adicionais & Efeitos Visuais Netmil Fibra (Tema Vermelho & Azul Oficial) */

:root {
    --brand-blue: #0066FF;
    --brand-blue-light: #3385FF;
    --brand-red: #FF1E27;
    --brand-red-light: #FF4D54;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #070A12;
}

::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 5px;
    border: 2px solid #070A12;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF1E27;
}

/* Background com grade sutil de conexão com a marca */
.grid-background {
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 70%, transparent 100%);
}

/* Efeito de Card com borda iluminada */
.plan-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.plan-card:hover {
    box-shadow: 0 20px 40px -15px rgba(255, 30, 39, 0.15), 0 10px 20px -10px rgba(0, 102, 255, 0.15);
}

/* Estilo do botão ativo no simulador */
.active-sim {
    border-color: #FF1E27 !important;
    background: linear-gradient(135deg, rgba(255, 30, 39, 0.2) 0%, rgba(0, 102, 255, 0.2) 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 15px rgba(255, 30, 39, 0.25);
}

/* Animações de pulso de sinal */
@keyframes signalGlow {
    0%, 100% {
        opacity: 0.35;
        transform: scale(1);
    }
    50% {
        opacity: 0.75;
        transform: scale(1.04);
    }
}

.signal-pulse {
    animation: signalGlow 4s infinite ease-in-out;
}

/* Transição suave para acordeão de FAQ */
.faq-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

/* Blur backdrop refinado */
.backdrop-blur-xl {
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

/* Efeito Glow no Arco do Velocímetro e na Agulha */
#speedArcPath {
    filter: drop-shadow(0 0 8px rgba(255, 30, 39, 0.6)) drop-shadow(0 0 16px rgba(0, 102, 255, 0.4));
}

#speedNeedleGroup {
    filter: drop-shadow(0 0 6px rgba(255, 30, 39, 0.8));
}

#heroSpeedNum {
    text-shadow: 0 0 20px rgba(255, 30, 39, 0.35);
}

/* Efeito de fade suave e contínuo na imagem da hero sem nenhuma linha visível no topo, laterais ou base */
.hero-fade-bottom {
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 8%, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%),
                linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 6%, rgba(0,0,0,1) 94%, rgba(0,0,0,0) 100%);
    mask-composite: intersect;
    -webkit-mask-image: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 8%, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%),
                        -webkit-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 6%, rgba(0,0,0,1) 94%, rgba(0,0,0,0) 100%);
    -webkit-mask-composite: destination-in;
}

/* Ocultar barra de rolagem em grids horizontais quando necessário */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Prevenção Estrita de Espaço Vazio Lateral / Overflow Horizontal no Mobile */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative;
}

*, *::before, *::after {
    box-sizing: border-box !important;
    max-width: 100%;
}

img, svg, video, canvas, audio, iframe, embed, object {
    max-width: 100%;
    height: auto;
}
