/* ==========================================================================
   DESIGN SYSTEM - VARIÁVEIS NEON & APPLE-STYLE
   ========================================================================== */
:root {
    /* Cores de Marca ADSLAB (Refinadas para Estética Dark High-End) */
    --color-brand: #0066FF;          /* Azul Digital Primário */
    --color-brand-glow: rgba(0, 102, 255, 0.35);
    
    /* Cores de Destaque Neon */
    --color-neon-blue: #0077FF;
    --color-neon-cyan: #00F0FF;      /* Ciano Elétrico */
    --color-neon-green: #00FF88;     /* Verde Sucesso */
    --color-neon-red: #FF3366;       /* Vermelho Alerta/Erro */
    
    /* Gradientes Futuristas */
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00F0FF 50%, #00FF88 100%);
    --gradient-glow: linear-gradient(90deg, #0077FF, #00F0FF, #00FF88, #0077FF);
    --gradient-flask: linear-gradient(180deg, rgba(0, 102, 255, 0.8) 0%, rgba(0, 240, 255, 0.9) 50%, rgba(0, 255, 136, 1) 100%);
    
    /* Fundo Espacial Absoluto */
    --bg-dark: #030712;              /* Preto absoluto profundo */
    --bg-grid: rgba(255, 255, 255, 0.015); /* Cor da grade sutil */
    
    /* Superfícies Glassmorphism Ultra-Refinadas */
    --bg-card: rgba(8, 12, 24, 0.45);
    --border-glass: rgba(255, 255, 255, 0.05);
    --border-glass-active: rgba(0, 240, 255, 0.25);
    
    /* Cores de Texto */
    --text-primary: #F9FAFB;          /* Branco Puro */
    --text-secondary: #9CA3AF;        /* Cinza Médio Elegante */
    --text-muted: #4B5563;            /* Cinza Escuro */
    
    /* Tipografia */
    --font-titles: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Efeitos de Transição e Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;
}

/* ==========================================================================
   RESET & CONFIGURAÇÕES DE BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    /* Grade de engenharia minimalista de fundo */
    background-image: 
        linear-gradient(var(--bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Canvas de Partículas Interativas em Segundo Plano */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none; /* Deixa passar cliques para o site */
}

/* Custom Scrollbar minimalista */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #02040a;
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-neon-blue);
}

/* Utilitários */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}
.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-green { color: var(--color-neon-green); }
.text-cyan { color: var(--color-neon-cyan); }
.text-muted { color: var(--text-muted) !important; }

/* Seções */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    max-width: 650px;
    margin: 0 auto 70px auto;
}
.section-title {
    font-family: var(--font-titles);
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
}

/* ==========================================================================
   CARTÕES GLASSMORPHISM ULTRA-GLASS
   ========================================================================== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-glass-active);
    box-shadow: 0 30px 60px -15px rgba(0, 240, 255, 0.08), 0 20px 40px -10px rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

.card-header-glow {
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-neon-cyan), var(--color-neon-green), transparent);
    opacity: 0.6;
}

/* ==========================================================================
   BOTÕES E BADGES MINI
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    outline: none;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--color-neon-blue);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}
.btn-primary:hover {
    background: #005ce6;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--color-neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}
.btn-outline:hover {
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
}

.btn-block {
    width: 100%;
}

/* Badge Tecnológica */
.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}
.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-neon-cyan);
    box-shadow: 0 0 8px var(--color-neon-cyan);
}
.badge-text {
    font-family: var(--font-titles);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-neon-cyan);
}

/* ==========================================================================
   CABEÇALHO MINI (STICKY HEADER)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-glass);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand-logo {
    height: 32px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.nav-link:hover {
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.btn-header {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION & THE DIGITAL FLASK SVG
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 110px;
    overflow: hidden;
}

.hero-glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    filter: blur(80px);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: var(--font-titles);
    font-size: 3.75rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* SVG do Frasco de Laboratório ADSLAB */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flask-interactive-wrapper {
    position: relative;
    width: 100%;
    max-width: 340px;
    height: 370px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.flask-svg {
    filter: drop-shadow(0 0 30px rgba(0, 102, 255, 0.15));
    transition: filter var(--transition-normal);
}

.flask-border {
    stroke: var(--color-neon-blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: rgba(6, 9, 20, 0.6);
    transition: stroke var(--transition-normal), fill var(--transition-normal);
}

.flask-liquid {
    fill: url(#liquidGrad);
    opacity: 0.85;
    animation: liquidSway 6s ease-in-out infinite alternate;
}

.flask-play {
    fill: #FFFFFF;
    opacity: 0.95;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
    transition: transform var(--transition-normal);
    transform-origin: 100px 120px;
}

.flask-node {
    fill: var(--color-neon-green);
    stroke: var(--bg-dark);
    stroke-width: 1.5;
    animation: nodePulse 3s infinite alternate;
}
.node-a { animation-delay: 0s; fill: var(--color-neon-cyan); }
.node-b { animation-delay: 0.7s; }
.node-c { animation-delay: 1.4s; }
.node-d { animation-delay: 2.1s; fill: var(--color-neon-cyan); }

.flask-line {
    stroke: rgba(0, 240, 255, 0.25);
    stroke-width: 1.5;
    stroke-dasharray: 4 2;
}

/* Hover no Frasco */
.flask-interactive-wrapper:hover .flask-svg {
    filter: drop-shadow(0 0 45px rgba(0, 240, 255, 0.35));
}
.flask-interactive-wrapper:hover .flask-border {
    stroke: var(--color-neon-cyan);
    fill: rgba(6, 9, 20, 0.75);
}
.flask-interactive-wrapper:hover .flask-play {
    transform: scale(1.1);
    fill: var(--color-neon-green);
}

/* Glow decorativo em segundo plano do frasco */
.flask-glow-bg {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
    filter: blur(20px);
    transition: opacity var(--transition-normal);
}
.flask-interactive-wrapper:hover .flask-glow-bg {
    opacity: 1;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.09) 0%, transparent 70%);
}

/* ==========================================================================
   SEÇÃO SIMULADOR DE INTEGRAÇÃO DE DADOS
   ========================================================================== */
.simulador-section {
    background: rgba(3, 7, 18, 0.5);
    border-top: 1px solid var(--border-glass);
}

.simulador-container {
    display: grid;
    grid-template-columns: 1fr 0.6fr 1fr;
    gap: 40px;
    align-items: center;
}

.sim-inputs, .sim-outputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sim-inputs h4 {
    font-family: var(--font-titles);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Botões Seletores do Simulador */
.sim-source-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(16, 22, 40, 0.35);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.sim-source-btn::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: transparent;
    transition: background var(--transition-fast);
}

.sim-source-btn:hover {
    background: rgba(16, 22, 40, 0.55);
    border-color: rgba(255, 255, 255, 0.1);
}

.source-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    transition: all var(--transition-fast);
}
.google-color { color: #9CA3AF; }
.meta-color { color: #9CA3AF; }
.crm-color { color: #9CA3AF; }

.source-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.source-name {
    font-family: var(--font-titles);
    font-size: 1rem;
    font-weight: 600;
}
.source-status {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.source-toggle {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

/* Estado Ativo do Botão */
.sim-source-btn.active {
    background: rgba(0, 102, 255, 0.05);
    border-color: var(--border-glass-active);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
}
.sim-source-btn.active::after {
    background: var(--color-neon-cyan);
}
.sim-source-btn.active#srcGoogle .source-icon { background: rgba(66, 133, 244, 0.1); border-color: rgba(66, 133, 244, 0.3); color: #4285F4; }
.sim-source-btn.active#srcMeta .source-icon { background: rgba(0, 102, 255, 0.1); border-color: rgba(0, 102, 255, 0.3); color: #0066FF; }
.sim-source-btn.active#srcCRM .source-icon { background: rgba(0, 255, 136, 0.1); border-color: rgba(0, 255, 136, 0.3); color: var(--color-neon-green); }

.sim-source-btn.active .source-toggle {
    color: var(--color-neon-cyan);
    filter: drop-shadow(0 0 5px var(--color-neon-cyan));
}
.sim-source-btn.active .source-status {
    color: var(--color-neon-green);
    font-weight: 500;
}

/* Circuito de Linhas SVG */
.sim-circuits {
    position: relative;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circuit-board-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.circuit-wire-bg {
    stroke: rgba(255, 255, 255, 0.025);
    stroke-width: 1.5;
    fill: none;
}

.circuit-wire-active {
    stroke: url(#neonPulseGrad);
    stroke-width: 2.5;
    fill: none;
    stroke-dasharray: 12 100;
    stroke-dashoffset: 112;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

/* Animação do Pulso Correndo nas Linhas */
.circuit-wire-active.pulse {
    opacity: 1;
    animation: wirePulseRun 1.5s linear infinite;
}

/* Núcleo do Processador Central ADSLAB */
.central-processor-core {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    z-index: 10;
    transition: all var(--transition-normal);
}
.central-processor-core.active {
    color: var(--color-neon-cyan);
    border-color: var(--color-neon-cyan);
    box-shadow: 0 0 30px var(--color-brand-glow);
}
.core-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-brand-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.central-processor-core.active .core-glow {
    opacity: 1;
}

/* Monitor de Status Direito */
.output-monitor-card {
    padding: 30px;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.monitor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.monitor-title {
    font-family: var(--font-titles);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.monitor-title i {
    color: var(--color-neon-blue);
    margin-right: 6px;
}
.monitor-status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 50%;
    transition: background var(--transition-fast);
}
.monitor-status-dot.active {
    background-color: var(--color-neon-green);
    box-shadow: 0 0 10px var(--color-neon-green);
    animation: pulseAnimation 2s infinite;
}

.monitor-logs {
    flex-grow: 1;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.log-line {
    line-height: 1.4;
}

.monitor-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
}
.mon-stat {
    display: flex;
    flex-direction: column;
}
.mon-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}
.mon-value {
    font-family: var(--font-titles);
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 2px;
    transition: color var(--transition-fast);
}

/* ==========================================================================
   SEÇÃO DE ENGENHARIA (CARDS DE TECNOLOGIA)
   ========================================================================== */
.engineering-section {
    background: rgba(3, 7, 18, 0.2);
}

.engineering-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.eng-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.eng-icon {
    font-size: 2rem;
    color: var(--color-neon-blue);
    margin-bottom: 24px;
    transition: color var(--transition-fast);
}
.eng-card:hover .eng-icon {
    color: var(--color-neon-cyan);
}

.eng-card-title {
    font-family: var(--font-titles);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.eng-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
}

.engineering-grid .highlighted-card {
    border-color: rgba(0, 102, 255, 0.2);
    background: linear-gradient(180deg, rgba(8, 12, 24, 0.65) 0%, rgba(3, 7, 18, 0.45) 100%);
}
.engineering-grid .highlighted-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
}
.engineering-grid .highlighted-card .eng-icon {
    color: var(--color-neon-cyan);
}

/* ==========================================================================
   FAQ CORPORATIVO
   ========================================================================== */
.faq-section {
    background: rgba(3, 7, 18, 0.5);
    border-top: 1px solid var(--border-glass);
}

.faq-accordion-wrapper {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(16, 22, 40, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}
.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-titles);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.faq-arrow {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}
.faq-answer p {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
}

.faq-item.active {
    border-color: var(--border-glass-active);
    background: rgba(16, 22, 40, 0.45);
}
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--color-neon-cyan);
}

/* ==========================================================================
   SEÇÃO CONTATO (MINIMALISTA CORPORATIVO)
   ========================================================================== */
.contact-section {
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.5) 0%, #030712 100%);
    padding-bottom: 120px;
}

.contact-container {
    max-width: 650px;
}

.contact-form-wrapper {
    padding: 50px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}
.form-header h3 {
    font-family: var(--font-titles);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-icon-wrapper {
    position: relative;
    width: 100%;
}
.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.contact-form input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: rgba(3, 7, 18, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition-fast);
}

.contact-form input:focus {
    border-color: var(--border-glass-active);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
    background: rgba(3, 7, 18, 0.8);
}
.contact-form input:focus + .input-icon {
    color: var(--color-neon-cyan);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #020408;
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 40px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 30px;
}

.footer-logo {
    height: 28px;
}

.footer-tagline {
    font-family: var(--font-titles);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.footer-socials {
    display: flex;
    gap: 12px;
}
.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}
.social-link:hover {
    background: rgba(0, 102, 255, 0.1);
    color: var(--color-neon-cyan);
    border-color: var(--color-neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.copy-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.copy-location {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.copy-location i {
    color: var(--color-neon-cyan);
}

/* ==========================================================================
   ANIMAÇÕES KEYFRAMES (CSS3)
   ========================================================================== */
@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseAnimation {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes liquidSway {
    0% { transform: rotate(-2deg) translateY(0px); }
    100% { transform: rotate(2deg) translateY(-2px); }
}

@keyframes nodePulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px var(--color-neon-green)); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 8px var(--color-neon-green)); }
}

@keyframes wirePulseRun {
    0% { stroke-dashoffset: 112; }
    100% { stroke-dashoffset: 0; }
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-visual {
        margin-top: 20px;
    }
    .simulador-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .sim-circuits {
        height: 100px;
    }
    .circuit-board-svg {
        transform: rotate(90deg); /* Rotaciona o circuito para vertical no mobile */
    }
    .engineering-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .engineering-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 35px 25px;
    }
    
    /* Menu sanduíche Mobile */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #030712;
        border-top: 1px solid var(--border-glass);
        flex-direction: column;
        align-items: center;
        padding: 50px 24px;
        transition: left 0.3s ease;
        z-index: 1000;
        gap: 32px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .btn-header {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .section-title {
        font-size: 2rem;
    }
}
