/* =========================================
   VRTICE | CONSULTORIA TÁTICA (CSS)
   Engenharia de Conversão High-Ticket & Correção GSAP
   ========================================= */

@font-face {
    font-family: 'Abhaya Libre';
    src: url('../fonts/AbhayaLibre-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

:root {
    --black-abs: #050505;
    --black-light: #0d0d0d;
    --blue-navy: #141d33;
    --white-off: #f1ece2;
    --gold-base: #c8a970;
    --gold-glow: rgba(200, 169, 112, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-muted: #888;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--black-abs);
    color: var(--white-off);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 0%, #0a0e17 0%, var(--black-abs) 50%);
}

.container-narrow {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 25px;
}

/* =========================================
   PRELOADER
   ========================================= */
#preloader {
    position: fixed; inset: 0; background: var(--black-abs);
    z-index: 10000; display: flex; justify-content: center; align-items: center;
}
.logo-anim-wrapper { display: flex; flex-direction: column; align-items: center; opacity: 0; }
#vrtice-loader-svg { width: 130px; height: 130px; margin-bottom: 25px; }
#motto-loader-svg { width: 90vw; max-width: 500px; height: 60px; }
.vrtice-vector { fill: transparent; stroke: var(--gold-base); stroke-width: 8px; stroke-dasharray: 8000; stroke-dashoffset: 8000; }
.vrtice-motto-vector { font-family: 'Abhaya Libre', serif; font-size: 85px; font-weight: 700; fill: transparent; stroke: var(--gold-base); stroke-width: 2px; stroke-dasharray: 2000; stroke-dashoffset: 2000; }

@media (max-width: 768px) { .vrtice-motto-vector { font-size: 50px; } }

/* =========================================
   NAVBAR (CABEÇALHO)
   ========================================= */
.v-navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 15px 0; 
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 25px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-img { height: 40px; width: auto; }
.btn-return {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 2px;
    color: var(--text-muted); text-decoration: none;
    transition: color 0.3s ease;
}
.btn-return:hover { color: var(--gold-base); }

.massive-watermark {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-family: 'Abhaya Libre', serif; font-size: 25vw;
    color: rgba(255, 255, 255, 0.015);
    z-index: -1; pointer-events: none; user-select: none;
}

/* =========================================
   TIPOGRAFIA E BOTÕES
   ========================================= */
.vrtice-badge {
    display: inline-block;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 3px;
    color: var(--gold-base); border: 1px solid var(--gold-base);
    padding: 6px 12px; border-radius: 2px; margin-bottom: 25px;
}
.section-title {
    font-family: 'Abhaya Libre', serif; font-size: 2.5rem;
    color: var(--gold-base); line-height: 1.1; margin-bottom: 25px;
}
.text-center { text-align: center; }

/* IMPORTANTE: Transições isoladas apenas para Background e Sombra. Nada de "all"! */
.btn-gold-solid {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--gold-base); color: var(--black-abs);
    font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 1.5px;
    padding: 20px 40px; border: none; cursor: pointer; text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease; 
    width: 100%; border-radius: 2px;
}
.btn-gold-solid:hover { background: var(--white-off); box-shadow: 0 0 25px var(--gold-glow); }
.btn-disclaimer { display: block; font-size: 0.65rem; color: #555; margin-top: 15px; }

/* =========================================
   HERO
   ========================================= */
.consult-hero { padding: 180px 0 100px; text-align: center; }
.hero-title { font-family: 'Abhaya Libre', serif; font-size: 3.5rem; color: var(--white-off); line-height: 1; margin-bottom: 15px; }
.hero-subtitle { font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; color: var(--gold-base); margin-bottom: 30px; }
.hero-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; }
.hero-btn { max-width: 400px; margin: 0 auto; }

/* =========================================
   A TESE (PAINEL DE DIAGNÓSTICO)
   ========================================= */
.consult-thesis { padding: 100px 0; background: rgba(255,255,255,0.01); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.thesis-intro { font-size: 1.1rem; color: #aaa; margin-bottom: 60px; line-height: 1.8; }

.diagnostic-panel {
    display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 80px;
}

/* Lado Esquerdo: Abas */
.dp-tabs { display: flex; flex-direction: column; gap: 10px; }
.dp-tab {
    display: flex; align-items: center; gap: 15px; padding: 20px;
    background: transparent; border: none; border-left: 2px solid rgba(255,255,255,0.05);
    cursor: pointer; text-align: left; transition: var(--transition-smooth);
}
.dp-num { font-family: 'Abhaya Libre', serif; font-size: 1.8rem; font-weight: 700; color: #444; transition: var(--transition-smooth); }
.dp-name { font-family: 'Montserrat', sans-serif; font-size: 0.9rem; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition-smooth); }

.dp-tab:hover .dp-name { color: #ccc; }
.dp-tab.active { border-left-color: var(--gold-base); background: rgba(200, 169, 112, 0.03); }
.dp-tab.active .dp-num { color: var(--gold-base); }
.dp-tab.active .dp-name { color: var(--white-off); }

/* Lado Direito: Visor */
.dp-visor {
    background: #080808; border: 1px solid #1a1a1a; padding: 50px;
    position: relative; overflow: hidden; display: flex; align-items: center;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8); min-height: 350px;
}
.dp-content {
    position: absolute; inset: 50px; display: flex; flex-direction: column; justify-content: center;
    opacity: 0; pointer-events: none; transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.dp-content.active { opacity: 1; pointer-events: auto; transform: translateY(0); position: relative; inset: auto; width: 100%; }

.dp-animation { height: 120px; width: 100%; margin-bottom: 30px; display: flex; align-items: center; justify-content: center; }
.svg-abstract { width: 100%; max-width: 250px; height: 100%; overflow: visible; }

.dp-text h3 { font-size: 1.2rem; font-weight: 700; color: var(--white-off); margin-bottom: 15px; }
.dp-text p { font-size: 0.95rem; color: #aaa; line-height: 1.7; }

/* Micro-Animações em SVG (Engenharia CSS Abstrata) */
.anim-stagnant-base { fill: var(--gold-base); }
.anim-vanity-line { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 300; stroke-dashoffset: 300; animation: drawLine 3s infinite ease-out; }
@keyframes drawLine { 0% { stroke-dashoffset: 300; } 50%, 100% { stroke-dashoffset: 0; } }

.anim-brand-core { fill: none; stroke: var(--gold-base); stroke-width: 3; }
.anim-chaos { fill: none; stroke: rgba(255,255,255,0.2); stroke-width: 1; stroke-dasharray: 10 15; transform-origin: 100px 50px; }
.orbit-1 { animation: spin 4s infinite linear; }
.orbit-2 { animation: spin 6s infinite linear reverse; stroke-dasharray: 5 20; }
.orbit-3 { animation: spin 3s infinite linear; stroke-dasharray: 15 10; stroke: rgba(200, 169, 112, 0.3); }
@keyframes spin { 100% { transform: rotate(360deg); } }

.anim-blur-pillar { fill: none; stroke: var(--gold-base); stroke-width: 2; filter: blur(3px); animation: focusBlur 4s infinite alternate ease-in-out; }
.pillar-2 { animation-delay: 1s; stroke-width: 1.5; }
.pillar-3 { animation-delay: 2s; stroke-width: 1; }
@keyframes focusBlur { 0% { filter: blur(4px); opacity: 0.3; } 100% { filter: blur(1px); opacity: 0.8; } }

/* O Veredito Final (Isolado e com Peso) */
.verdict-box { margin-top: 80px; text-align: center; position: relative; padding: 40px 20px; }
.verdict-label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 4px; color: #555; margin-bottom: 20px; }
.verdict-text { font-family: 'Abhaya Libre', serif; font-size: 1.8rem; color: var(--white-off); line-height: 1.4; max-width: 600px; margin: 0 auto; }
.verdict-text strong { color: var(--gold-base); }
.verdict-laser { width: 0%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-base), transparent); margin: 30px auto 0; transition: width 1s ease-out; }

/* Mobile */
@media (max-width: 768px) {
    .diagnostic-panel { grid-template-columns: 1fr; gap: 20px; }
    .dp-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 10px; }
    .dp-tab { border-left: none; border-bottom: 2px solid rgba(255,255,255,0.05); padding: 10px; flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 5px; }
    .dp-tab.active { border-left: none; border-bottom-color: var(--gold-base); }
    .dp-name { font-size: 0.75rem; }
    .dp-visor { padding: 30px 20px; min-height: 380px; }
    .verdict-text { font-size: 1.4rem; }
}

/* =========================================
   A AUDITORIA (TIMELINE)
   ========================================= */
.consult-process { padding: 100px 0; }
.timeline-header { font-size: 0.75rem; font-weight: 700; letter-spacing: 3px; color: var(--gold-base); margin: 60px 0 30px; }
.process-timeline { position: relative; padding-left: 50px; }
.timeline-laser { position: absolute; left: 14px; top: 0; width: 2px; height: 100%; background: rgba(255,255,255,0.05); }
.timeline-laser-fill { position: absolute; left: 14px; top: 0; width: 2px; height: 0%; background: var(--gold-base); box-shadow: 0 0 15px var(--gold-base); }

.process-node { position: relative; margin-bottom: 50px; }
.node-indicator {
    position: absolute; left: -50px; top: 0; width: 30px; height: 30px;
    background: var(--black-abs); border: 2px solid #333; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #555; transition: border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease; z-index: 2;
}
.node-indicator i { font-size: 0.9rem; }
.process-node.active .node-indicator { border-color: var(--gold-base); color: var(--gold-base); box-shadow: 0 0 15px rgba(200, 169, 112, 0.4); }
.node-content h4 { font-size: 1.1rem; font-weight: 700; color: var(--white-off); margin-bottom: 10px; }
.node-content p { font-size: 0.9rem; color: var(--text-muted); }

/* =========================================
   MAPA E FILTRO
   ========================================= */
.consult-battlemap { padding: 80px 0; }
.split-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.battle-list { list-style: none; margin-top: 30px; }
.battle-list li { margin-bottom: 15px; font-size: 0.95rem; color: #ccc; display: flex; gap: 10px; align-items: flex-start; }
.battle-list i { color: var(--gold-base); margin-top: 3px; }

.filter-box { padding: 40px; background: #080808; border: 1px solid #1a1a1a; }
.filter-title { font-family: 'Abhaya Libre', serif; font-size: 1.8rem; color: var(--white-off); margin-bottom: 20px; }
.filter-box p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; }
.filter-warning { display: flex; gap: 15px; align-items: center; margin-top: 25px; padding-top: 25px; border-top: 1px solid #222; }
.filter-warning i { font-size: 2rem; color: #a12b2b; }
.filter-warning span { font-size: 0.8rem; font-weight: 600; color: #a12b2b; }

/* =========================================
   FORMULÁRIO HIGH-TICKET (APLICAÇÃO)
   ========================================= */
.consult-application { padding: 80px 0 120px; }
.app-intro { margin-bottom: 50px; font-size: 1.1rem; color: #aaa; }
.application-box { max-width: 600px; margin: 0 auto; background: var(--glass-bg); padding: 50px; border: 1px solid var(--glass-border); }

.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group { position: relative; margin-bottom: 35px; }
.input-group input {
    width: 100%; background: transparent; border: none; border-bottom: 1px solid #333;
    padding: 10px 0; color: var(--white-off); font-family: 'Montserrat', sans-serif; font-size: 1rem;
    transition: border-color 0.3s ease;
}
.input-group input:focus { border-bottom-color: var(--gold-base); outline: none; }
.input-group label {
    position: absolute; left: 0; top: 10px; color: #555; font-size: 0.9rem;
    pointer-events: none; transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
    top: -15px; font-size: 0.7rem; font-weight: 700; color: var(--gold-base); letter-spacing: 1px;
}
.form-submit-btn { margin-top: 20px; }

/* =========================================
   MODAL DE POP-UP (NOVO)
   ========================================= */
.vrtice-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(5, 5, 5, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 20000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.vrtice-modal-overlay.active { opacity: 1; visibility: visible; }

.vrtice-modal-content {
    background: var(--black-abs);
    border: 1px solid rgba(200, 169, 112, 0.3);
    padding: 50px 40px;
    width: 90%; max-width: 550px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}
.vrtice-modal-overlay.active .vrtice-modal-content { transform: translateY(0) scale(1); }

/* Scrollbar do Modal */
.vrtice-modal-content::-webkit-scrollbar { width: 5px; }
.vrtice-modal-content::-webkit-scrollbar-thumb { background: var(--gold-base); }

.modal-close {
    position: absolute; top: 20px; right: 20px;
    background: transparent; border: none;
    color: #666; font-size: 1.5rem; cursor: pointer;
    transition: color 0.3s ease;
}
.modal-close:hover { color: var(--gold-base); }

/* =========================================
   RODAPÉ E RESPONSIVIDADE
   ========================================= */
.v-footer { border-top: 1px solid var(--glass-border); padding: 40px 0; text-align: center; }
.footer-socials { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; }
.footer-socials a { color: #555; font-size: 1.5rem; transition: color 0.3s ease; }
.footer-socials a:hover { color: var(--gold-base); }
.footer-tech-stamp { font-size: 0.6rem; letter-spacing: 3px; color: #444; }

@media (max-width: 768px) {
    .logo-img { height: 30px; } 
    .hero-title { font-size: 2.2rem; }
    .split-layout { grid-template-columns: 1fr; }
    .input-row { grid-template-columns: 1fr; }
    .application-box { padding: 30px 20px; }
    .consult-hero { padding: 140px 0 60px; }
    .vrtice-modal-content { padding: 40px 20px; }
}