/* =========================================================
   PALETA E VARIÁVEIS (Estilo High-Ticket / Dark Premium)
========================================================= */
:root {
    --bg-premium: #06080F;    
    --bg-dark: #020305;       
    --cta-blue: #0047FF;      
    --cta-hover: #0036CC;     
    --border-blue: #0033c5;   
    --accent-glow: rgba(0, 71, 255, 0.5); 
    --glass-bg: rgba(255, 255, 255, 0.03); 
    --glass-border: rgba(255, 255, 255, 0.08); 
    --text-light: #ffffff;
    --text-gray: #b0b8c9;
    --text-dark: #111111;
    --font-main: 'Inter', system-ui, sans-serif;
}

/* =========================================================
   RESETS E BASE (TRAVA DE RESPONSIVIDADE)
========================================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html, body { 
    scroll-behavior: smooth; 
    overflow-x: hidden; /* Trava mestre contra scroll horizontal */
    width: 100%;
    max-width: 100vw;
    font-family: var(--font-main); 
    color: var(--text-light); 
    background-color: var(--bg-dark); 
    line-height: 1.6;
    font-size: 16px;
    cursor: auto; 
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.relative { position: relative; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden !important; }

/* =========================================================
   CABEÇALHO
========================================================= */
.site-header { position: absolute; top: 0; left: 0; width: 100%; padding: 30px 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: flex-start; }
.logo-img { max-height: 45px; width: auto; display: block; transition: transform 0.3s ease, filter 0.3s ease; filter: drop-shadow(0 0 10px rgba(0, 71, 255, 0.3)); will-change: transform, filter; }
.logo:hover .logo-img { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(0, 71, 255, 0.6)); }

/* =========================================================
   UTILIDADES GERAIS E TIPOGRAFIA
========================================================= */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.highlight { color: var(--cta-blue); }

h1, h2, h3, h4 { letter-spacing: -0.5px; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; margin-bottom: 20px; font-weight: 700; }
p { font-size: 1.1rem; color: var(--text-gray); }

.text-gradient { background: linear-gradient(90deg, #FFFFFF 0%, var(--cta-blue) 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.massive-text { font-size: clamp(2.2rem, 6vw, 5rem); color: #fff; line-height: 1.1; font-weight: 800; }
.subtitle-large { font-size: 1.2rem; color: #A1A1AA; margin-top: 20px; }
.p-0 { padding: 0 !important; }

/* =========================================================
   BOTÕES E ANIMAÇÕES
========================================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--cta-blue); color: var(--text-light); padding: 18px 40px;
    font-size: 1.1rem; font-weight: 800; text-transform: uppercase; text-decoration: none;
    border-radius: 6px; border: none; cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease; 
    box-shadow: 0 10px 25px rgba(0, 71, 255, 0.4); letter-spacing: 1px;
}
.btn-large { padding: 22px 45px; font-size: 1.2rem; }
.btn .arrow { transition: transform 0.3s ease; }
.btn:hover { background: var(--cta-hover); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0, 71, 255, 0.6); }
.btn:hover .arrow { transform: translateX(6px); }

.btn-glow { box-shadow: 0 0 20px var(--accent-glow); animation: pulseBtn 2.5s infinite; }
@keyframes pulseBtn { 0% { box-shadow: 0 0 0 0 rgba(0, 71, 255, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(0, 71, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 71, 255, 0); } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; will-change: opacity, transform; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================================
   COMPONENTES GERAIS (Glassmorphism & Backgrounds)
========================================================= */
section { padding: 80px 0; }
.glass-card { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 16px; padding: 30px; transition: transform 0.3s ease, border-color 0.3s ease; }
.glass-card:hover { transform: translateY(-5px); border-color: rgba(0, 71, 255, 0.4); }

.blob { position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0; opacity: 0.3; pointer-events: none; }
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: var(--cta-blue); }
.blob-2 { bottom: -20%; right: -10%; width: 600px; height: 600px; background: #4F46E5; }

/* =========================================================
   1. HERO SECTION
========================================================= */
.hero {
    background: radial-gradient(circle at top right, #001f7a33 0%, var(--bg-premium) 40%, var(--bg-dark) 100%);
    min-height: 90vh; display: flex; align-items: center; padding: 80px 0;
    overflow: hidden; /* Impede vazamento dos blobs no mobile */
}

.hero-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.pre-title { display: inline-block; background: rgba(0, 71, 255, 0.1); color: #4da3ff; padding: 6px 15px; border-radius: 50px; font-size: 0.85rem; font-weight: bold; letter-spacing: 1px; margin-bottom: 20px; border: 1px solid rgba(0, 71, 255, 0.3); }
.hero-main-title { color: #ffffff; letter-spacing: -1px; }
.massive-lucro { font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 900; text-transform: uppercase; display: inline-block; margin-top: 5px; line-height: 0.95; text-shadow: 0 0 40px rgba(0, 71, 255, 0.4); }
.hero-subtitle { margin-bottom: 30px; font-size: 1.15rem; color: #A1A1AA; line-height: 1.5; max-width: 90%; }
.micro-copy { font-size: 0.85rem; color: #888; margin-top: 10px; }

/* MOCKUP DINÂMICO */
.dashboard-mockup {
    position: relative; width: 100%; height: 420px;
    background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 25px;
    display: flex; flex-direction: column; box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dashboard-mockup:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }

.dash-header { display: flex; align-items: center; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.dash-circles { display: flex; gap: 8px; margin-right: 15px; }
.dash-circles span { width: 12px; height: 12px; border-radius: 50%; }
.dash-circles span:nth-child(1) { background: #ff5f56; }
.dash-circles span:nth-child(2) { background: #ffbd2e; }
.dash-circles span:nth-child(3) { background: #27c93f; }
.dash-title { color: #888; font-size: 0.9rem; font-weight: 600; }

.chart-container { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; padding: 0 10px; }
.chart-bar { width: 100%; background: linear-gradient(to top, var(--cta-blue), #4F46E5); border-radius: 6px 6px 0 0; opacity: 0; transform: scaleY(0); transform-origin: bottom; animation: growBar 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.chart-bar:nth-child(1) { animation-delay: 0.2s; }
.chart-bar:nth-child(2) { animation-delay: 0.4s; }
.chart-bar:nth-child(3) { animation-delay: 0.6s; }
.chart-bar:nth-child(4) { animation-delay: 0.8s; }
.chart-bar:nth-child(5) { animation-delay: 1.0s; }
@keyframes growBar { to { opacity: 1; transform: scaleY(1); } }

.floating-badge { position: absolute; display: flex; align-items: center; gap: 15px; background: rgba(10, 13, 20, 0.85); backdrop-filter: blur(12px); padding: 15px 20px; border-radius: 12px; border: 1px solid var(--glass-border); box-shadow: 0 15px 35px rgba(0,0,0,0.5); z-index: 10; }
.badge-left { top: 15%; left: -30px; }
.badge-right { bottom: 15%; right: -20px; border-color: var(--cta-blue); }

.feature-tag { position: absolute; background: rgba(10, 13, 20, 0.7); border: 1px solid rgba(0, 71, 255, 0.5); color: #fff; padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; backdrop-filter: blur(10px); z-index: 15; white-space: nowrap; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); }
.tag-1 { top: -20px; right: 20px; }
.tag-2 { bottom: 80px; left: -25px; border-color: #ff5f56; }
.tag-3 { top: 40%; right: -25px; border-color: #27c93f; }

/* =========================================================
   2. FAIXA DE PARCEIROS
========================================================= */
.partners-ribbon-premium { background: var(--bg-dark); padding: 40px 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); text-align: center; }
.ribbon-title { color: #555; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 35px; font-weight: 700; }
.partner-logos-container { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; width: 100%; }
.partner-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.partner-icon-box { width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; padding: 12px; transition: border-color 0.4s ease; }
.partner-brand:hover .partner-icon-box { border-color: var(--cta-blue); }
.partner-icon-box img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: filter 0.3s ease, opacity 0.3s ease; }
.partner-brand:hover .partner-icon-box img { filter: grayscale(0%); opacity: 1; }
.partner-name { font-size: 0.9rem; font-weight: 700; color: #666; transition: color 0.3s ease; }

/* =========================================================
   3. A DOR REAL
========================================================= */
.manifesto { background: radial-gradient(circle at center, #001f7a11 0%, var(--bg-premium) 100%); border-bottom: 1px solid var(--glass-border); }
.dor-real-wrapper { position: relative; max-width: 900px; margin: 40px auto 0; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.dor-sintomas { position: absolute; left: 0; width: 60%; background: rgba(10, 13, 20, 0.9); border: 1px dashed rgba(255, 255, 255, 0.1); z-index: 1; text-align: left; transition: transform 0.4s ease, border-color 0.4s ease; transform-origin: left center; }
.dor-sintomas h4 { color: #666; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px; }
.dor-sintomas ul { list-style: none; padding: 0; color: #888; font-size: 1.15rem; line-height: 1.8; }
.dor-sintomas li { margin-bottom: 15px; }
.dor-causa { position: absolute; right: 0; width: 55%; z-index: 10; background: rgba(2, 3, 5, 0.95); border-color: var(--cta-blue); text-align: left; }
.causa-title { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.3; }
.causa-desc { color: #aaa; margin-top: 15px; font-size: 1.05rem; }
.shadow-glow { box-shadow: 0 0 30px rgba(0, 71, 255, 0.15); }

/* =========================================================
   4. TIMELINE (MÉTODO 3P)
========================================================= */
.method { background: var(--bg-dark); }
.timeline-container { display: flex; flex-direction: column; gap: 40px; max-width: 800px; margin: 0 auto; position: relative; }
.timeline-container::before { content: ''; position: absolute; left: 25px; top: 0; bottom: 0; width: 2px; background: var(--glass-border); }
.timeline-item { display: flex; gap: 30px; position: relative; }
.timeline-dot { width: 50px; height: 50px; background: var(--cta-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem; color: #fff; z-index: 2; flex-shrink: 0; box-shadow: 0 0 15px var(--accent-glow); }
.timeline-content { flex: 1; }

/* =========================================================
   5. MÁQUINA DE CRESCIMENTO (CLICK TO UNLOCK)
========================================================= */
.machine { background: var(--bg-premium); }
.growth-cycle-container { display: flex; justify-content: space-between; gap: 20px; align-items: stretch; }
.cycle-step { flex: 1; position: relative; overflow: hidden; padding: 30px 20px; text-align: center; display: flex; flex-direction: column; justify-content: center; cursor: pointer; }
.step-icon-wrapper { width: 60px; height: 60px; margin: 0 auto 15px; background: rgba(0, 71, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(0, 71, 255, 0.3); }

/* Lógica de Blur (controlada pelo JS) */
.step-content-blur { transition: filter 0.3s ease, opacity 0.3s ease; will-change: filter, opacity; }
.cycle-step.locked .step-content-blur { filter: blur(6px); opacity: 0.3; user-select: none; }
.cycle-step.unlocked .step-content-blur { filter: blur(0px); opacity: 1; }

.lock-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 5; text-align: center; transition: opacity 0.3s ease, visibility 0.3s ease; opacity: 0; visibility: hidden; pointer-events: none; }
.cycle-step.locked .lock-overlay { opacity: 1; visibility: visible; }
.cycle-step.unlocked .lock-overlay { opacity: 0; visibility: hidden; }

/* =========================================================
   6. PORTFÓLIO E MATERIAIS VISUAIS
========================================================= */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto; }
.portfolio-item { position: relative; aspect-ratio: 4/5; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; }
.portfolio-img-wrapper { width: 100%; height: 100%; position: relative; overflow: hidden; border-radius: 12px; background: #000; }
.portfolio-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.4s ease; transform: translateZ(0); }
.portfolio-item:not(.locked-portfolio):hover .portfolio-img { transform: scale(1.05) translateZ(0); }

.portfolio-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); text-align: left; z-index: 2; }
.portfolio-info h4 { color: #fff; font-size: 1.1rem; margin-bottom: 5px; }
.portfolio-info p { color: #aaa; font-size: 0.9rem; margin: 0; }

.locked-portfolio { cursor: pointer; border-color: rgba(255, 255, 255, 0.05); transition: border-color 0.3s ease, transform 0.3s ease; }
.locked-portfolio:hover { border-color: var(--cta-blue); transform: translateY(-3px); }

/* Blurs com desbloqueio via clique (.unlocked) */
.blur-heavy { filter: blur(10px) brightness(0.4); transition: filter 0.4s ease, transform 0.4s ease; will-change: filter, transform; }
.secret-info { opacity: 0; transform: translateY(20px); transition: transform 0.3s ease, opacity 0.3s ease; will-change: transform, opacity; }

.click-unlock { cursor: pointer; }
.click-unlock.unlocked .portfolio-img.blur-heavy { filter: blur(0px) brightness(1); transform: scale(1.05) translateZ(0); }
.click-unlock.unlocked .lock-overlay-portfolio { opacity: 0; visibility: hidden; }
.click-unlock.unlocked .secret-info { opacity: 1; transform: translateY(0); }

.lock-overlay-portfolio { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; width: 90%; z-index: 5; transition: opacity 0.3s ease, visibility 0.3s ease; }

.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.pillar-card { padding: 25px 15px; background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%); }

/* =========================================================
   7. FORMULÁRIO (SPLIT LAYOUT)
========================================================= */
.form-section { background: radial-gradient(circle at bottom, #001f7a44 0%, var(--bg-premium) 50%, var(--bg-dark) 100%); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.benefit-item { display: flex; gap: 15px; margin-bottom: 25px; }
.check-icon { background: rgba(0, 71, 255, 0.2); color: var(--cta-blue); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: #fff; font-size: 0.95rem; }
.form-control { width: 100%; padding: 16px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.2); color: #fff; border-radius: 6px; font-size: 1rem; font-family: inherit; transition: border-color 0.3s; }
.form-control:focus { outline: none; border-color: var(--cta-blue); background: rgba(0,0,0,0.6); }
.form-control option { background: var(--bg-dark); color: #fff; }

.step { display: none; }
.step.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.btn-group { display: flex; gap: 15px; margin-top: 30px; }
.btn-next, .btn-submit, .btn-prev { width: 100%; text-align: center; }
.btn-prev { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff; box-shadow: none; }
.btn-prev:hover { background: rgba(255,255,255,0.1); transform: none; box-shadow: none; }

.form-progress-bg { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: rgba(255,255,255,0.05); }
.form-progress-bar { height: 100%; background: linear-gradient(90deg, #0047FF, #4da3ff); transition: width 0.4s ease; }
.badge-urgency { display: inline-block; background: rgba(220, 38, 38, 0.15); color: #ef4444; border: 1px solid rgba(220, 38, 38, 0.3); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================================
   8. EFEITO TILT 3D 
========================================================= */
.tilt-card { 
    transition: transform 0.1s linear, background 0.3s ease; 
    transform-style: preserve-3d; 
    will-change: transform;
}
.tilt-card:hover { border-color: var(--cta-blue); }
.tilt-card h3, .tilt-card p, .tilt-card .icon-box, .tilt-card h4 { transform: translateZ(30px); }


/* =========================================================
   9. RESPONSIVIDADE E MOBILE FIXES (CORREÇÃO DE VAZAMENTO)
========================================================= */
@media (max-width: 992px) {
    section { padding: 60px 0; }
    .site-header { padding: 20px 0; position: relative; } 
    .site-header .container { justify-content: center; }

    .hero { padding: 40px 0 60px; min-height: auto; }
    .hero-wrapper { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .hero-subtitle { margin: 0 auto 25px; }
    
    /* Desativa o 3D nos tablets/celulares para não explodir a largura da tela */
    .dashboard-mockup { transform: none !important; margin: 0 auto; max-width: 100%; }

    .dor-real-wrapper { flex-direction: column; min-height: auto; gap: 20px; }
    .dor-sintomas, .dor-causa { position: relative; width: 100%; left: auto; right: auto; top: auto; }
    .dor-sintomas:hover { transform: none; } /* Desativa zoom exagerado no hover mobile */

    .growth-cycle-container { flex-direction: column; gap: 15px; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    .split-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    section { padding: 50px 0; }
    .form-box { padding: 25px 15px !important; }
    .btn-group { flex-direction: column; }
    
    /* Proteção e redução das fontes para não quebrarem o grid lateralmente */
    .hero-main-title { font-size: 2.2rem; }
    .massive-lucro { font-size: 2.8rem; }
    .pre-title { white-space: normal; height: auto; text-align: center; }
    
    /* Botões em 100% garantem que o texto não empurre a tela pra direita */
    .btn { width: 100%; padding: 16px; font-size: 1rem; text-align: center; white-space: normal; justify-content: center; }
    .btn-large { padding: 18px 16px; font-size: 1.05rem; }
    .hero-actions { display: flex; flex-direction: column; align-items: center; width: 100%; }

    /* Trava os selos para dentro da caixa do mockup, impedindo o vazamento lateral */
    .dashboard-mockup { padding: 15px; height: 350px; margin-top: 20px; overflow: hidden; }
    .floating-badge { padding: 10px; gap: 10px; }
    .floating-badge strong { font-size: 1rem !important; }
    .badge-left { left: 5px; top: 5%; transform: scale(0.85); transform-origin: left top; }
    .badge-right { right: 5px; bottom: 5%; transform: scale(0.85); transform-origin: right bottom; }
    
    .tag-1 { top: -5px; right: 5px; transform: scale(0.85); transform-origin: right top; }
    .tag-2 { bottom: 20px; left: 5px; transform: scale(0.85); transform-origin: left bottom; }
    .tag-3 { top: 35%; right: 5px; transform: scale(0.85); transform-origin: right center; }

    .timeline-container::before { left: 20px; }
    .timeline-dot { width: 40px; height: 40px; font-size: 1.2rem; }

    .partner-logos-container { gap: 20px; }
    .partner-icon-box { width: 60px; height: 60px; padding: 10px; }
    
    .pillars-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
}