/* VARIÁVEIS E RESET */
:root {
    --bg-color: #ffffff;
    --text-main: #000000;
    --text-muted: #6b7280;
    --accent: #0066cc;
    --accent-hover: #005bb5;
    --radius-card: 32px;
    --radius-btn: 100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* NAVEGAÇÃO "VIDRO FOSCO" */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--accent); }

.btn-login-nav {
    background-color: var(--text-main);
    color: #ffffff !important;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-btn);
    transition: transform 0.3s ease, background 0.3s !important;
}

.btn-login-nav:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

/* --- HERO SECTION (Topo do Site com Vídeo) --- */
.hero {
    position: relative; 
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    text-align: center;
    overflow: hidden; 
    background-color: #f9fafb; /* Fundo claro de segurança */
}

/* Configuração do Vídeo de Fundo */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1; 
    object-fit: cover; 
    opacity: 0.9; /* Deixa o vídeo bem visível */
}

/* O MEIO-TERMO: Vidro Fosco Claro */
/* --- HERO SECTION (Topo do Site com Vídeo) --- */
/* ... existing structure ... */

/* A Película de Vidro Fosco (Ajustada para Mais Nitidez) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Reduzimos a opacidade do branco para 25% e o blur para apenas 1.5px */
    background: rgba(255, 255, 255, 0.25); /* Mais transparente! */
    z-index: 2; /* Fica entre o vídeo e o texto */
    backdrop-filter: blur(1.5px); /* Desfoque sutil, para dar sofisticação mas manter clareza */
}

/* ... o resto do seu CSS para hero content, badge, h1, p, buttons continua o mesmo ... */
.hero-content { 
    position: relative;
    z-index: 3; 
    max-width: 800px; 
}

.badge-inovacao {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent);
    border-radius: var(--radius-btn);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 102, 204, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: var(--text-main); /* Volta o texto para Preto! */
}

.text-blue { 
    color: var(--accent); 
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted); /* Volta o texto de baixo para Cinza Escuro! */
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}


/* --- SEÇÃO DE RECURSOS (VITRINE COM IMAGENS) --- */
.features {
    padding: 8rem 2rem;
    background-color: #ffffff; /* Fundo branco limpo */
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.feature-showcase {
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto 8rem;
}

.feature-showcase.reverse {
    flex-direction: row-reverse; /* Inverte a ordem para fazer o zigue-zague */
}

.feature-text {
    flex: 1;
    text-align: left;
}

.badge-recurso {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 102, 204, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.feature-text h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--text-main);
}

.feature-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.feature-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08); /* Sombra elegante estilo Apple */
    border: 1px solid #f3f4f6; /* Bordinha super fina */
    transition: transform 0.5s ease;
}

.feature-image img:hover {
    transform: translateY(-10px); /* Pula um pouquinho ao passar o mouse */
}

/* --- SEÇÃO SOBRE O SISTEMA --- */
.sobre {
    background-color: var(--text-main); /* Fundo Preto */
    color: #ffffff; /* Texto Branco */
    padding: 8rem 2rem;
    text-align: center;
}

.sobre-container {
    max-width: 800px;
    margin: 0 auto;
}

.sobre h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}

.sobre p {
    font-size: 1.25rem;
    color: #a1a1aa; /* Cinza claro para não cansar a vista */
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.sobre strong {
    color: #ffffff; /* Destaca palavras-chave em branco puro */
}

/* --- RODAPÉ --- */
footer {
    background-color: var(--text-main);
    color: #ffffff;
    padding: 2rem 2rem;
    text-align: center;
    border-top: 1px solid #333; /* Linha sutil separando do 'Sobre' */
}

.footer-content p {
    color: #a1a1aa;
    margin: 1rem 0 2rem;
}

.copyright {
    color: #6b7280;
    font-size: 0.85rem;
}

/* --- RESPONSIVIDADE (CELULAR) --- */
@media (max-width: 900px) {
    .feature-showcase, .feature-showcase.reverse {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        margin-bottom: 5rem;
    }
    
    .feature-text {
        text-align: center;
    }
    
    .feature-text h3 {
        font-size: 2rem;
    }
}

/* --- ANIMAÇÕES DO JAVASCRIPT --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ANIMAÇÕES DO JAVASCRIPT */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- EFEITO DO CURSOR PISCANDO (Typewriter) --- */
.cursor {
    display: inline-block;
    color: var(--accent);
    font-weight: 800;
    margin-left: 2px;
    animation: piscar 1s infinite;
}

@keyframes piscar {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}