/* ==========================================================================
   GSI REVENUEOS - FOLHA DE ESTILOS CENTRAL PÚBLICA
   ========================================================================== */

/* 1. VARIÁVEIS E CONFIGURAÇÕES GLOBAIS DE RAIZ */
:root {
    --bg-main: #0B0A0F;
    --bg-card: #13111A;
    --border-color: #221F30;
    --gsi-primary: #6C5DD3;
    --gsi-primary-hover: #5B4EBF;
    --gsi-success: #00F298;
    --gsi-danger: #FF4A6B;
    --gsi-warning: #FFB800;
    --text-main: #FFFFFF;
    --text-muted: #8F8C9F;
}

html, body { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background-color: var(--bg-main); 
    color: var(--text-main); 
    overflow-x: hidden; 
    width: 100%;
    position: relative;
}

* { box-sizing: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* 2. COMPONENTES DE NAVEGAÇÃO E NAVBAR */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--border-color); position: relative; z-index: 1000; width: 100%; }
.logo { font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo span { color: var(--gsi-primary); }

.nav-links { display: flex; gap: 25px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--text-main); }

.nav-actions { display: flex; align-items: center; gap: 15px; }
.btn-login { background: transparent; border: 1px solid var(--gsi-primary); color: var(--text-main); padding: 8px 18px; border-radius: 6px; font-weight: 600; cursor: pointer; text-decoration: none; transition: 0.3s; white-space: nowrap; }
.btn-login:hover { background: var(--gsi-primary); }

/* Menu Hambúrguer & Overlay */
.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; background: transparent; border: none; cursor: pointer; z-index: 1100; padding: 0; }
.menu-toggle span { display: block; width: 100%; height: 2px; background-color: var(--text-main); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

.nav-mobile-overlay { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background-color: #0E0D14; border-left: 1px solid var(--border-color); padding: 100px 30px; display: none; flex-direction: column; gap: 30px; z-index: 1050; transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.5); }
.nav-mobile-overlay.active { right: 0; display: flex; }
.nav-mobile-links { display: flex; flex-direction: column; gap: 20px; list-style: none; }
.nav-mobile-links a { color: var(--text-muted); text-decoration: none; font-size: 1.1rem; font-weight: 600; transition: 0.3s; }
.nav-mobile-links a:hover { color: var(--gsi-primary); }

/* 3. SEÇÕES COMUNS, BOTOES E CARDS (HOME E SOBRE) */
section { padding: 90px 0; border-bottom: 1px solid var(--border-color); width: 100%; clear: both; }
.section-title { text-align: center; font-size: 2.3rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -0.5px; line-height: 1.2; }
.section-desc { text-align: center; color: var(--text-muted); max-width: 650px; margin: 0 auto 50px auto; font-size: 1.05rem; line-height: 1.6; }

.hero { position: relative; text-align: center; padding: 120px 0 100px 0; background: radial-gradient(circle at top, rgba(108,93,211,0.15) 0%, rgba(11,10,15,0) 70%); width: 100%; }
.hero h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; max-width: 850px; margin: 0 auto 20px auto; }
.hero h1 span { color: var(--gsi-primary); }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px auto; line-height: 1.6; }
.hero-ctas { display: flex; justify-content: center; gap: 15px; }

.btn-purple { background: var(--gsi-primary); color: #fff; padding: 14px 28px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1.05rem; transition: 0.3s; box-shadow: 0 0 20px rgba(108,93,211,0.4); border: none; cursor: pointer; text-align: center; }
.btn-purple:hover { background: var(--gsi-primary-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; padding: 14px 28px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1.05rem; transition: 0.3s; border: 1px solid var(--border-color); cursor: pointer; text-align: center; }
.btn-outline:hover { background: rgba(255,255,255,0.05); }

/* Grids Gerais da Home */
.dor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; width: 100%; }
.leak-triggers { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; width: 100%; }
.trigger-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 18px; border-radius: 8px; display: flex; align-items: center; gap: 12px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 30px 20px; border-radius: 10px; transition: 0.3s; }
.feature-card:hover { border-color: var(--gsi-primary); transform: translateY(-3px); }
.powered-by { text-align: center; font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }
.powered-by span { color: var(--gsi-primary); }

.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.impact-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 35px 20px; border-radius: 10px; text-align: center; }
.impact-num { font-size: 2.8rem; font-weight: 800; color: var(--gsi-success); margin-bottom: 5px; }
.impact-num.danger { color: var(--gsi-danger); }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.problem-card { background: rgba(255, 74, 107, 0.03); border: 1px solid rgba(255, 74, 107, 0.15); padding: 30px 20px; border-radius: 10px; text-align: center; }
.problem-stat { font-size: 2.5rem; font-weight: 800; color: var(--gsi-danger); margin-bottom: 10px; }
.problem-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }

.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.case-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px; }
.case-header { border-bottom: 1px dashed var(--border-color); padding-bottom: 15px; margin-bottom: 20px; }
.case-stat { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.95rem; }

.faq-wrapper { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; }
.faq-question { padding: 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { padding: 0 20px 20px 20px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.cta-final { text-align: center; padding: 100px 0; background: radial-gradient(circle at bottom, rgba(108,93,211,0.1) 0%, rgba(11,10,15,0) 60%); width: 100%; }

/* Box de Exibição dos Prints Reais */
.dashboard-print-box { background: #161420; border: 2px dashed #332F4A; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; width: 100%; }
.dashboard-print-box img { width: 100%; height: auto; display: block; }
.img-label { position: absolute; background: rgba(11,10,15,0.9); border: 1px solid var(--gsi-primary); padding: 8px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; z-index: 10; color: #fff; }

/* 🛠️ A Nova Grid de Segmentos Isolada da Home */
.gsi-segmentos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }

/* 4. SEÇÕES ESPECÍFICAS DA PÁGINA SOBRE / MANIFESTO */
.manifesto-hero { padding: 100px 0 60px 0; background: radial-gradient(circle at 80% 20%, rgba(108, 93, 211, 0.12) 0%, rgba(11, 10, 15, 0) 60%); }
.manifesto-badge { display: inline-block; padding: 6px 14px; background: rgba(108, 93, 211, 0.1); border: 1px solid var(--gsi-primary); color: #fff; font-size: 0.85rem; font-weight: 700; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px; }
.gsi-sobre-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: flex-start; width: 100%; }

.inertia-timeline { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px; width: 100%; }
.inertia-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 25px; color: var(--gsi-primary); display: flex; align-items: center; gap: 8px; }
.step-item { position: relative; padding-left: 25px; border-left: 2px solid var(--border-color); padding-bottom: 22px; }
.step-item:last-child { padding-bottom: 0; border-left: 2px solid transparent; }
.step-item::before { content: ''; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--border-color); }
.step-item.active::before { background: var(--gsi-primary); box-shadow: 0 0 10px var(--gsi-primary); }
.step-item h5 { font-size: 0.95rem; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.step-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

.what-we-do-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.what-card { background: #110F17; border: 1px solid var(--border-color); padding: 25px; border-radius: 8px; transition: 0.3s; }
.what-card:hover { border-color: var(--gsi-primary); }
.what-card h4 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.what-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

.platform-box { background: linear-gradient(135deg, #13111A 0%, #0F0E14 100%); border: 1px solid var(--border-color); border-radius: 12px; padding: 45px; text-align: center; position: relative; overflow: hidden; }
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.culture-card { background: var(--bg-card); border: 1px solid var(--border-color); padding: 35px 25px; border-radius: 10px; text-align: center; }
.culture-card h4 { font-size: 1.3rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 15px; }
.culture-card.m-missao h4 { color: var(--gsi-primary); }
.culture-card.m-visao h4 { color: var(--gsi-success); }
.culture-card.m-compromisso h4 { color: var(--gsi-warning); }
.culture-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* 5. RODAPÉ E ELEMENTOS FIXOS (LGPD, WHATS) */
.gsi-footer { background-color: #08070B; border-top: 1px solid var(--border-color); padding: 60px 0 30px 0; margin-top: 40px; width: 100%; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 15px; }
.footer-brand h4 span { color: var(--gsi-primary); }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; max-width: 450px; }
.footer-links h5 { font-size: 0.95rem; font-weight: 700; color: var(--text-main); margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.footer-links a:hover { color: var(--gsi-primary); }

.gsi-lgpd-banner { position: fixed; bottom: 90px; left: 15px; right: 15px; background: #13111A; border: 1px solid var(--gsi-primary); padding: 15px; border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,0.6); z-index: 9999; display: flex; flex-direction: column; gap: 12px; }
.lgpd-text { font-size: 0.8rem; color: #E2E0EE; line-height: 1.5; text-align: left; }
.lgpd-text strong { color: var(--gsi-success); }
.lgpd-buttons { display: flex; gap: 10px; justify-content: flex-end; }
.btn-lgpd-accept { background: var(--gsi-primary); color: #fff; border: none; padding: 8px 16px; font-size: 0.8rem; font-weight: 700; border-radius: 4px; cursor: pointer; transition: 0.2s; width: 100%; text-align: center; }

.gsi-whatsapp-float { position: fixed; bottom: 20px; right: 20px; background: #25D366; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(37,211,102,0.4); z-index: 9998; transition: 0.3s; text-decoration: none; }
.gsi-whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ==========================================================================
   6. TRAVAS DE ANTI-ESTOURO RESPONSIVAS (RESPONSIVIDADE BLINDADA)
   ========================================================================== */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    
    .hero h1 { font-size: 2.3rem; }
    .hero p { font-size: 1.05rem; }
    
    .gsi-sobre-grid { grid-template-columns: 1fr !important; gap: 40px; }
    .dor-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .problem-grid { grid-template-columns: 1fr; gap: 20px; }
    .gsi-segmentos-grid { grid-template-columns: repeat(2, 1fr); }
    .what-we-do-grid { grid-template-columns: repeat(2, 1fr); }
    .culture-grid { grid-template-columns: 1fr; gap: 20px; }
    .cases-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 576px) {
    section { padding: 50px 0; }
    .section-title { font-size: 1.65rem; }
    
    .hero { padding: 60px 0 40px 0; }
    .hero h1 { font-size: 1.85rem; }
    .hero-ctas { flex-direction: column; gap: 10px; width: 100%; }
    .btn-purple, .btn-outline { width: 100%; }
    
    .leak-triggers { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: 1fr; }
    .gsi-segmentos-grid { grid-template-columns: 1fr !important; }
    .what-we-do-grid { grid-template-columns: 1fr; }
    
    .gsi-lgpd-banner { bottom: 90px; left: 15px; right: 15px; width: auto; }
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.form-group input {
            width: 100%;
            background-color: #0c0c10;
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 14px 16px;
            border-radius: 8px;
            color: #fff;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--accent-purple);
            box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
        }