/* ================= VARIABLES ================= */
:root {
    --bg-dark: #02030a;
    --text-light: #ffffff;
    --text-muted: #9ca3af;
    --cyan: #00ffff;
    --green: #10b981;
    --blue: #0003ae;
    --red: #ef4444;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 15% 50%, rgba(0, 3, 174, 0.15), transparent 40%),
                      radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.1), transparent 40%);
}

a { text-decoration: none; color: inherit; }
li { list-style: none; }
img { max-width: 100%; display: block; }
.mt-2 { margin-top: 1rem; }
.text-white { color: #fff; }

/* ================= TYPOGRAPHY & GRADIENTS ================= */
h1, h2, h3 { line-height: 1.2; letter-spacing: -1px; }

.logo { font-size: 1.4rem; font-weight: 500; }
.logo span { color: var(--green); font-weight: 700; }

.text-gradient {
    background: linear-gradient(135deg, #fff 20%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-green-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

/* ================= NAVBAR (Fixed Layout) ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%; /* Ajustado para alinhar perfeitamente logo e botão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(2, 3, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Tamanho da Logo em Imagem */
.logo-img {
    max-height: 90px; /* Ajuste este valor se sua logo ficar muito grande ou pequena */
    width: auto;
    display: block;
}

/* Container do Menu */
.nav-links ul {
    display: flex;
    gap: 2.5rem; /* Espaço entre as palavras do menu */
    list-style: none;
}

/* Estilo dos Links */
.nav-links a {
    color: var(--text-light);
    font-size: 1.15rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative; /* Necessário para a linha neon embaixo */
}

/* Efeito Hover (Linha Neon Deslizando) */
.nav-links a:hover {
    color: var(--cyan);
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--cyan);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%; /* A linha cresce quando o mouse passa */
}

/* Botão do Menu */
.nav-cta {
    border: 1px solid rgba(16, 185, 129, 0.5);
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: 0.3s;
}
.nav-cta:hover { 
    background: var(--green); 
    color: var(--bg-dark); 
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); /* Glow no botão */
}

/* Esconder o menu de texto em telas de celular para não quebrar o layout */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
}

/* ================= BUTTONS ================= */
.btn-primary {
    background: var(--cyan);
    color: var(--bg-dark);
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transition: 0.3s;
}
.btn-primary svg { width: 22px; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(0, 255, 255, 0.6); }

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    transition: 0.3s;
}
.btn-secondary:hover { border-color: var(--cyan); background: rgba(0, 255, 255, 0.05); }

/* ================= BOTÃO WHATSAPP (Verde Sempre Ativo) ================= */
.btn-whatsapp {
    background-color: #25D366 !important; /* Força o verde do Whats */
    color: #ffffff !important; /* Texto sempre branco */
    padding: 1.2rem 2.8rem;
    border-radius: 40px; 
    font-weight: 600;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    /* Um brilho verde constante para chamar atenção */
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5); 
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Garante que o ícone acompanhe a cor branca */
.btn-whatsapp svg { 
    width: 24px; 
    height: 24px;
    fill: #ffffff; 
}

/* No hover, ele apenas dá um leve "pulo" e brilha mais */
.btn-whatsapp:hover { 
    transform: translateY(-5px) scale(1.02); 
    box-shadow: 0 0 35px rgba(37, 211, 102, 0.8);
    background-color: #20BA56 !important; /* Um tom de verde levemente mais escuro ao tocar */
}

/* ================= HERO ================= */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 5% 5rem;
    position: relative; /* Necessário para os fundos funcionarem */
    background-image: url('assets/img/fundo_hero.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Película escura por cima da imagem para o texto brilhar e dar leitura */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 3, 10, 0.75); /* Escurece a imagem em 75% */
    z-index: 1;
}

/* O SEGREDO AQUI: Gradiente na base do Hero para apagar a linha reta */
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Cola exatamente no fundo da seção (o -1px evita bugs visuais de linha no Chrome) */
    left: 0;
    width: 100%;
    height: 250px; /* Altura do "esfumaçado" */
    background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 100%);
    z-index: 1;
}

.hero-content { 
    max-width: 900px; 
    position: relative; /* Necessário para o z-index */
    z-index: 2; /* Joga o texto para frente da película escura */
}

.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 1.5rem; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.trust-badges { margin-top: 3rem; display: flex; justify-content: center; gap: 1rem; color: var(--text-muted); font-size: 0.9rem; flex-wrap: wrap; position: relative; z-index: 2; }
.trust-badges .dot { color: var(--green); }

/* ================= COMMON LAYOUTS ================= */
.section-header { text-align: center; margin-bottom: 4rem; padding: 0 5%; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.cards-section { padding: 5rem 5%; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }

/* ================= SPLIT SECTION (Confiança/Autoridade) ================= */
.split-section { padding: 5rem 5%; }
.split-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1100px; margin: 0 auto;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(0,0,0,0.5));
    border: 1px solid rgba(255,255,255,0.05); border-radius: 24px; padding: 4rem;
}
.split-container h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.split-container p { color: var(--text-muted); margin-bottom: 1rem; }
.split-container.align-center { align-items: center; }

.auth-img img { border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); }

@media (max-width: 768px) { .split-container { grid-template-columns: 1fr; padding: 2rem; text-align: center; } }

/* ================= CARDS (Portfólio & Features) ================= */
.card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; overflow: hidden; transition: 0.3s; }
.card:hover { transform: translateY(-5px); border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1); }
.card-img { position: relative; height: 220px; background: #000; overflow: hidden;}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.badge { position: absolute; top: 1rem; right: 1rem; background: var(--green); color: #000; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { color: var(--text-muted); font-size: 0.95rem; }

.feature-card { padding: 2.5rem; }
.feature-card .icon { width: 50px; height: 50px; color: var(--cyan); margin-bottom: 1.5rem; }

/* ================= COMPARISON ================= */
.comparison-section { padding: 5rem 5%; }
.compare-box { padding: 3rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); }
.compare-box.bad { background: linear-gradient(180deg, rgba(239, 68, 68, 0.05), transparent); }
.compare-box.good { background: linear-gradient(180deg, rgba(16, 185, 129, 0.05), transparent); }
.compare-box h3 { margin-bottom: 2rem; font-size: 1.5rem; }
.text-red { color: var(--red); }
.text-green { color: var(--green); }
.compare-box li { margin-bottom: 1rem; display: flex; gap: 10px; align-items: center; color: var(--text-muted); }
.compare-box li::before { content: '•'; font-size: 1.5rem; }
.compare-box.bad li::before { color: var(--red); }
.compare-box.good li::before { color: var(--green); }

/* ================= PROCESS ================= */
.process-card { 
    background: rgba(255,255,255,0.02); 
    padding: 3rem 2rem; 
    border-radius: 16px; 
    border: 1px solid rgba(255,255,255,0.05); 
    position: relative; 
    overflow: hidden; 
    transition: 0.3s;
}

.process-card:hover {
    border-color: rgba(16, 185, 129, 0.4); 
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

/* NÚMEROS COM DESTAQUE NEON */
.process-card .number { 
    position: absolute; 
    top: -10px; 
    right: -10px; 
    font-size: 8rem; 
    font-weight: 700; 
    
    /* Gradiente preenchido em vez de contorno transparente */
    background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    opacity: 0.15; /* Dá um super destaque, mas mantém no fundo */
    z-index: 0; 
    transition: all 0.4s ease;
}

/* O número acende e cresce um pouco ao passar o mouse! */
.process-card:hover .number {
    opacity: 0.4;
    transform: scale(1.05);
}

.process-card h4, .process-card p { 
    position: relative; 
    z-index: 1; 
}

.process-card h4 { 
    font-size: 1.5rem; 
    margin-bottom: 1rem; 
    color: var(--green); 
}

/* ================= FAQ ================= */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); padding: 1.5rem; border-radius: 12px; cursor: pointer; }
.faq-item summary { font-size: 1.1rem; font-weight: 500; display: flex; justify-content: space-between; outline: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--green); font-size: 1.5rem; }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); }

/* ================= CTA FINAL ================= */
.cta-section { padding: 5rem 5%; }
.cta-box { max-width: 900px; margin: 0 auto; text-align: center; padding: 5rem 2rem; background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 3, 174, 0.2)); border-radius: 24px; border: 1px solid rgba(0, 255, 255, 0.2); }
.cta-box h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-box p { color: var(--text-muted); margin-bottom: 2.5rem; }

/* ================= FOOTER ================= */
footer { text-align: center; padding: 4rem 5%; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.9rem; }
footer .logo { margin-bottom: 1rem; color: #fff; }

/* ================= ANIMATIONS ================= */
.fade-in { opacity: 0; transform: translateY(20px); transition: 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

