/* PALETA CLARA E VIVA */
:root {
    --azul-claro: #2D9CFF;
    --verde-agua: #00B5A5;
    --azul-escuro: #2E4057;
    --branco: #FFFFFF;
    --fundo-cinza: #F8FAFC; 
    --texto-principal: #334155;
    --texto-secundario: #64748B;
    --borda-suave: #E2E8F0;
    --vermelho-alerta: #ff4d4d;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }

body { background-color: var(--branco); color: var(--texto-principal); line-height: 1.6; overflow-x: hidden; padding-top: 80px; }
h1, h2, h3 { font-family: 'TT Supermolot Neue', sans-serif; color: var(--azul-escuro); letter-spacing: -0.5px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-left { text-align: left !important; }
.text-white { color: var(--branco) !important; }
.text-danger { color: var(--vermelho-alerta); }

/* FUNDOS DAS SECÇÕES */
.bg-white { background-color: var(--branco); }
.bg-light { background-color: var(--fundo-cinza); }
.bg-dark { background-color: var(--azul-escuro); color: var(--branco); }

.gradient-text { background: linear-gradient(135deg, var(--azul-claro), var(--verde-agua)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
.section-desc { text-align: center; font-size: 1.1rem; color: var(--texto-secundario); max-width: 700px; margin: 0 auto 50px auto; }

/* HEADER FIXO */
header { 
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--borda-suave); padding: 20px 0; z-index: 1000; transition: all 0.3s ease;
}
header.scrolled { padding: 10px 0; box-shadow: 0 4px 20px rgba(46, 64, 87, 0.08); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { max-height: 40px; transition: all 0.3s ease; }
header.scrolled .logo { max-height: 32px; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.login-link { color: var(--azul-escuro); text-decoration: none; font-weight: bold; transition: color 0.3s; }
.login-link:hover { color: var(--azul-claro); }
.btn-sm { padding: 10px 20px !important; font-size: 0.9rem; }

/* BOTOES */
.cta-button {
    display: inline-block; padding: 16px 32px; border-radius: 8px; font-weight: bold;
    text-decoration: none; text-align: center; transition: all 0.3s ease; cursor: pointer;
}
.primary-btn { background: linear-gradient(90deg, var(--azul-claro), var(--verde-agua)); color: var(--branco); border: none; }
.shadow-btn { box-shadow: 0 10px 20px rgba(0, 181, 165, 0.3); }
.primary-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(0, 181, 165, 0.4); }
.outline-btn { background: transparent; color: var(--azul-escuro); border: 2px solid var(--azul-claro); }
.outline-btn:hover { background: rgba(45, 156, 255, 0.05); transform: translateY(-3px); }
.block-btn { display: block; width: 100%; margin-top: 20px; }

/* HERO SECTION */
.hero { position: relative; padding: 120px 0 100px 0; text-align: center; overflow: hidden; }
.hero-title { font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; position: relative; z-index: 2; }
.hero .subtitle { font-size: 1.2rem; color: var(--texto-secundario); max-width: 800px; margin: 0 auto 40px auto; position: relative; z-index: 2; }
.hero-buttons { position: relative; z-index: 2; }

/* BLOBS ANIMADOS */
.blob { position: absolute; width: 500px; height: 500px; border-radius: 50%; filter: blur(100px); opacity: 0.4; z-index: 0; animation: moveBlobs 10s infinite alternate ease-in-out; }
.blob-1 { top: -100px; left: -100px; background: var(--azul-claro); }
.blob-2 { bottom: -100px; right: -100px; background: var(--verde-agua); animation-delay: -5s; }
@keyframes moveBlobs { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 50px) scale(1.1); } }

/* CARDS MODERNOS */
.modern-card { background: var(--branco); border: 1px solid var(--borda-suave); border-radius: 16px; padding: 40px 30px; transition: all 0.4s ease; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02); position: relative; z-index: 2; }
.hover-scale:hover { transform: translateY(-10px); border-color: rgba(45, 156, 255, 0.2); box-shadow: 0 20px 40px rgba(45, 156, 255, 0.1); }

/* SECÇÕES GERAIS */
.dor, .solucao, .planos, .passos, .exclusividade, .dashboard-preview, .diferenciais { padding: 90px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }

/* ÍCONES DA SOLUÇÃO */
.icon-feature { font-size: 3rem; color: var(--azul-claro); margin-bottom: 20px; display: block; }
.floating-icon { animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-8px); } }

/* =========================================
   VÍDEO EXPLICATIVO (VIMEO)
   ========================================= */
.video-explicativo { 
    padding: 60px 0 90px 0; 
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.video-container-max {
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px; 
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(46, 64, 87, 0.25); 
    border: 1px solid var(--borda-suave);
    background: var(--azul-escuro);
    aspect-ratio: 16 / 9; 
    z-index: 2;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================
   A DOR DO MERCADO
   ========================================= */
.dor-layout-modern { display: flex; align-items: stretch; gap: 30px; margin-top: 50px; }
.sintomas-lista { flex: 1.1; display: flex; flex-direction: column; gap: 15px; justify-content: space-between; }
.sintoma-card { background: var(--branco); display: flex; align-items: center; gap: 20px; padding: 20px; border-radius: 12px; border: 1px solid var(--borda-suave); border-left: 5px solid #ff8787; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.sintoma-card:hover { border-left-color: var(--vermelho-alerta); transform: translateX(10px); box-shadow: 0 10px 20px rgba(255, 77, 77, 0.08); }
.sintoma-icon-box { width: 55px; height: 55px; background: rgba(255, 77, 77, 0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-sintoma { font-size: 2rem; color: var(--vermelho-alerta); }
.sintoma-text h4 { font-size: 1.1rem; color: var(--azul-escuro); margin-bottom: 4px; }
.sintoma-text p { font-size: 0.95rem; color: var(--texto-secundario); margin: 0; line-height: 1.4; }

.dor-connector { display: flex; align-items: center; justify-content: center; color: var(--vermelho-alerta); font-size: 2.5rem; opacity: 0.7; }
.icon-mobile { display: none; } 

.resultado-box { flex: 1; background: var(--azul-escuro); color: var(--branco); border-radius: 16px; padding: 40px; position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(46, 64, 87, 0.15); display: flex; flex-direction: column; justify-content: center; }
.resultado-glow { position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,77,77,0.2) 0%, transparent 70%); filter: blur(20px); z-index: 0; }
.warning-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; position: relative; z-index: 1; }
.pulse-warning { color: var(--vermelho-alerta); animation: pulseRed 2s infinite; }
.warning-header h3 { font-size: 1.8rem; color: var(--branco); margin: 0; }
.resultado-box .card-desc { color: #CBD5E1; margin-bottom: 30px; font-size: 1.05rem; line-height: 1.6; position: relative; z-index: 1;}

.resultado-impactos { display: flex; flex-direction: column; gap: 15px; position: relative; z-index: 1; }
.impacto-item { display: flex; align-items: center; gap: 15px; background: rgba(255, 255, 255, 0.05); padding: 15px 20px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); }
.impacto-item i { color: var(--vermelho-alerta); font-size: 1.5rem; filter: drop-shadow(0 0 5px rgba(255,77,77,0.4)); }
.impacto-item span { font-size: 0.95rem; color: #F8FAFC; font-weight: 500; }

@keyframes pulseRed { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.7; } 100% { transform: scale(1); opacity: 1; } }

/* =========================================
   DASHBOARD PREVIEW
   ========================================= */
.dash-image-wrapper { position: relative; max-width: 1000px; margin: 0 auto; border-radius: 12px; z-index: 2; transition: all 0.4s ease; }
.dash-image { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 20px 50px rgba(46, 64, 87, 0.15); border: 1px solid var(--borda-suave); display: block; position: relative; z-index: 2; }
.dash-glow { position: absolute; background: linear-gradient(135deg, var(--azul-claro), var(--verde-agua)); width: 80%; height: 80%; top: 10%; left: 10%; opacity: 0.4; filter: blur(80px); z-index: 1; }

/* COMO FUNCIONA */
.passos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.passo-numero { width: 70px; height: 70px; background: var(--branco); border: 2px solid var(--verde-agua); color: var(--verde-agua); font-size: 2rem; font-weight: bold; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px auto; box-shadow: 0 10px 20px rgba(0, 181, 165, 0.15); }
.pulse-anim { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 181, 165, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(0, 181, 165, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 181, 165, 0); } }

/* =========================================
   EXCLUSIVIDADE & HUB DE DADOS
   ========================================= */
.exclusividade-container { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.exclusividade-texto { flex: 1; }
.exclusividade-texto p { color: #CBD5E1; margin-bottom: 20px; font-size: 1.1rem; }
.exclusividade-texto strong { color: var(--branco); }
.exclusividade-imagem { flex: 0.8; text-align: center; position: relative; }

.data-hub-scene { position: relative; width: 320px; height: 320px; margin: 0 auto; display: flex; justify-content: center; align-items: center; }
.hub-core { position: relative; z-index: 10; width: 100px; height: 100px; background: linear-gradient(135deg, var(--azul-claro), var(--verde-agua)); border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 0 30px rgba(0, 181, 165, 0.5); }
.hub-glow { position: absolute; width: 100%; height: 100%; border-radius: 50%; background: inherit; filter: blur(20px); }
.core-icon { font-size: 4rem; color: var(--branco); z-index: 2; }
.hub-orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.15); top: 50%; left: 50%; transform: translate(-50%, -50%); }

.orbit-1 { width: 180px; height: 180px; }
.orbit-2 { width: 250px; height: 250px; }
.orbit-3 { width: 320px; height: 320px; }

.node { position: absolute; border-radius: 50%; box-shadow: 0 0 15px currentColor; }
.node-1 { width: 12px; height: 12px; background: var(--azul-claro); color: var(--azul-claro); top: -6px; left: 50%; transform: translateX(-50%); }
.node-2 { width: 16px; height: 16px; background: var(--verde-agua); color: var(--verde-agua); top: 50%; right: -8px; transform: translateY(-50%); }
.node-3 { width: 10px; height: 10px; background: #ffaa00; color: #ffaa00; bottom: -5px; left: 50%; transform: translateX(-50%); }

.exclusividade.show .data-hub-scene { animation: floatSpace 4s ease-in-out infinite; }
.exclusividade.show .hub-glow { animation: pulseHub 2s infinite alternate; }
.exclusividade.show .orbit-1 { animation: spinOrbit 8s linear infinite; }
.exclusividade.show .orbit-2 { animation: spinOrbitReverse 12s linear infinite; }
.exclusividade.show .orbit-3 { animation: spinOrbit 16s linear infinite; }

@keyframes floatSpace { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }
@keyframes pulseHub { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes spinOrbit { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinOrbitReverse { 0% { transform: translate(-50%, -50%) rotate(360deg); } 100% { transform: translate(-50%, -50%) rotate(0deg); } }

/* =========================================
   SECÇÃO: DIFERENCIAIS
   ========================================= */
.diferenciais-grid, .dif-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.dif-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 30px; transition: all 0.3s ease; }
.dif-card:hover { border-color: var(--verde-agua); background: rgba(255, 255, 255, 0.05); box-shadow: 0 15px 30px rgba(0, 181, 165, 0.1); }
.dif-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 15px; }
.dif-icon { font-size: 2.5rem; color: var(--verde-agua); }
.dif-header h3 { color: var(--branco); margin: 0; font-size: 1.4rem; }
.dif-comparacao { display: flex; flex-direction: column; gap: 15px; }
.dif-item { display: flex; align-items: flex-start; gap: 12px; padding: 15px; border-radius: 8px; }
.dif-item p { margin: 0; font-size: 0.95rem; line-height: 1.5; }

.mercado { background: rgba(255, 77, 77, 0.05); border-left: 3px solid #ff4d4d; }
.mercado i { color: #ff4d4d; font-size: 1.3rem; margin-top: 3px; }
.mercado p { color: #CBD5E1; }
.mercado strong { color: #ff8787; }

.nexa { background: linear-gradient(90deg, rgba(0, 181, 165, 0.1), transparent); border-left: 3px solid var(--verde-agua); }
.nexa i { color: var(--verde-agua); font-size: 1.3rem; margin-top: 3px; }
.nexa p { color: var(--branco); }
.nexa strong { color: var(--verde-agua); }

/* PLANOS */
.planos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; align-items: stretch; }
.plano-card { display: flex; flex-direction: column; }
.plano-pro { border: 2px solid var(--azul-claro); transform: scale(1.05); z-index: 2; box-shadow: 0 20px 40px rgba(45, 156, 255, 0.15); }
.badge-recomendado { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--azul-claro), var(--verde-agua)); color: var(--branco); padding: 6px 20px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; }
.plano-nome { font-size: 1.8rem; margin-bottom: 5px; }
.plano-preco { font-size: 3.5rem; font-weight: bold; line-height: 1; color: var(--azul-escuro); margin-bottom: 5px; }
.moeda { font-size: 1.5rem; color: var(--texto-secundario); vertical-align: super; margin-right: 5px; }
.centavos { font-size: 1.2rem; vertical-align: super; margin-left: 2px; }
.periodo { font-size: 1rem; color: var(--texto-secundario); font-weight: normal; margin-left: 5px;}
.adicional { color: var(--verde-agua); font-size: 0.9rem; margin-top: 5px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--borda-suave); font-weight: bold;}
.plano-features { list-style: none; flex-grow: 1; }
.plano-features li { margin-bottom: 12px; color: var(--texto-secundario); font-size: 0.95rem; display: flex; align-items: flex-start; gap: 10px; }
.plano-features i { color: var(--verde-agua); margin-top: 4px; font-size: 1.2rem; }
.destaque-lista { color: var(--azul-escuro) !important; padding-bottom: 5px; }

/* FINAL CTA */
.final-cta { padding: 100px 0; background: var(--azul-escuro); position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(45,156,255,0.1) 0%, rgba(46,64,87,1) 60%); z-index: 0; }
.final-cta .container { position: relative; z-index: 1; }

/* FOOTER */
footer { padding: 40px 0; text-align: center; color: var(--texto-secundario); background: var(--fundo-cinza); border-top: 1px solid var(--borda-suave); }
.logo-footer { max-height: 30px; margin-bottom: 15px; filter: grayscale(100%); opacity: 0.6; }

/* ESTADOS JS SCROLL REVEAL */
.hidden-state { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.show { opacity: 1 !important; transform: translateY(0) !important; }

/* =========================================
   RESPONSIVIDADE (REFINADA)
   ========================================= */

@media (max-width: 992px) {
    .dor-layout-modern { flex-direction: column; }
    .dor-connector { margin: 20px 0; }
    .icon-desktop { display: none; }
    .icon-mobile { display: block; }
    .exclusividade-container { flex-direction: column; text-align: center; }
    .exclusividade-texto { text-align: center; }
    .exclusividade-texto .section-title { text-align: center !important; }
}

@media (max-width: 768px) {
    /* Ajustes Gerais de Espaçamento e Tipografia para Mobile */
    .dor, .solucao, .planos, .passos, .exclusividade, .dashboard-preview, .diferenciais { padding: 60px 0; }
    .video-explicativo { padding: 40px 0 60px 0; }
    .hero { padding: 100px 0 60px 0; }
    
    .hero-title { font-size: 2.8rem; }
    .hero .subtitle { font-size: 1rem; margin-bottom: 30px; }
    .section-title { font-size: 2rem; }
    
    .header-actions { gap: 10px; }
    .btn-sm { padding: 8px 15px !important; font-size: 0.85rem; }
    
    /* Layouts que viram coluna única */
    .sintoma-card { flex-direction: column; text-align: center; padding: 25px 15px; }
    .sintoma-card:hover { transform: translateY(-5px); } 
    .passos-grid, .dif-grid { grid-template-columns: 1fr; }
    
    /* Cards e Preços */
    .plano-pro { transform: scale(1); } /* Tira o zoom do plano central para não quebrar a tela */
    .plano-preco { font-size: 2.8rem; }
    .resultado-box { padding: 30px 20px; }
    
    /* Hub de Dados (Garante que não transborda em telas pequenas) */
    .data-hub-scene { transform: scale(0.8); }
    
    /* Vídeo menos curvo no telemóvel */
    .video-wrapper { border-radius: 10px; box-shadow: 0 15px 30px rgba(46, 64, 87, 0.15); }
    .video-container-max { padding: 0 15px; }
}

@media (max-width: 480px) {
    /* Ajustes Finos para Telas Muito Pequenas (Ex: iPhone SE) */
    .logo { max-height: 28px; }
    header.scrolled .logo { max-height: 24px; }
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.7rem; }
    .data-hub-scene { transform: scale(0.65); margin: -40px auto; }
    .final-cta h2 { font-size: 2rem !important; }
    .cta-button { padding: 14px 24px; font-size: 1rem; }
}

/* CORREÇÃO DO FUNDO ANIMADO NO MOBILE */
@media (max-width: 768px) {
    .blob { 
        width: 250px !important; 
        height: 250px !important; 
        filter: blur(60px) !important; 
        opacity: 0.3 !important; 
    }
    .blob-1 { 
        top: -20px !important; 
        left: -20px !important; 
    }
    .blob-2 { 
        bottom: -20px !important; 
        right: -20px !important; 
    }
}