/* =======================================================
   VARESOFT SISTEMAS - CSS PRINCIPAL
   Otimizado para Alta Performance e Animações GSAP/Vanilla
======================================================== */

/* --- RESET BÁSICO E FONTES --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', sans-serif; 
}

/* --- VARIÁVEIS DE COR (THEME VARESOFT) --- */
:root {
    --bg-header: #593a8b; 
    --header-text: #ffffff; 
    --border-color: rgba(255, 255, 255, 0.1);
    --hero-bg-dark: #2d164d; 
    --hero-bg-light: #593a8b; 
    --hero-text: #ffffff; 
    --hero-muted: #e2e8f0;
    --accent-blue: #3b82f6; 
    --accent-green: #10b981; 
    --accent-green-hover: #059669; 
    --accent-orange: #f97316; 
    --text-dark: #0f172a; 
    --text-gray: #475569; 
    --bg-light: #f8fafc;
}

body { 
    background-color: #ffffff; 
    color: var(--text-dark); 
    padding-top: 80px; 
    overflow-x: hidden; 
}

/* --- UTILITÁRIOS --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.alinhado-esquerda { text-align: left; }
.text-green { color: var(--accent-green); }
.text-red { color: #ef4444; }
.mt-4 { margin-top: 24px; }
.section-grid { display: flex; align-items: center; gap: 60px; }
.row-reverse { flex-direction: row-reverse; }

/* --- CABEÇALHO E MENU --- */
.main-header { position: fixed; top: 0; left: 0; width: 100%; background-color: var(--bg-header); z-index: 1000; transition: box-shadow 0.3s ease; border-bottom: 1px solid var(--border-color); }
.main-header.scrolled { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 80px; display: flex; justify-content: space-between; align-items: center; }
.logo a { display: flex; align-items: center; }
.logo-img { max-height: 45px; width: auto; }

.nav-actions { display: flex; align-items: center; }
.btn-cta-header { background-color: var(--accent-green); color: #ffffff; padding: 10px 20px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: background-color 0.2s ease, transform 0.2s ease; border: none; cursor: pointer;}
.btn-cta-header:hover { background-color: var(--accent-green-hover); transform: translateY(-1px); }

.desktop-login { margin-left: 10px; border-left: 1px solid rgba(255,255,255,0.2); padding-left: 24px;}
.login-link { opacity: 0.7; font-size: 0.85rem !important;}
.mobile-only-cta { display: none; }
.chevron { pointer-events: none; }

@media (min-width: 769px) {
    .nav-list { display: flex; align-items: center; list-style: none; gap: 24px; margin: 0;}
    .nav-link { display: flex; align-items: center; text-decoration: none; color: var(--header-text); font-weight: 500; font-size: 0.90rem; transition: opacity 0.2s ease; opacity: 0.85; }
    .nav-link:hover { opacity: 1; }
    .dropdown { position: relative; }
    .dropdown-toggle .chevron { margin-left: 4px; transition: transform 0.3s ease; pointer-events: none;}
    .dropdown:hover .chevron { transform: rotate(180deg); }
    .dropdown-menu { visibility: hidden; opacity: 0; position: absolute; top: calc(100% + 15px); left: -20px; background-color: #ffffff; box-shadow: 0 15px 35px rgba(0,0,0,0.1); min-width: 250px; border-radius: 12px; padding: 12px 0; list-style: none; border: 1px solid #e2e8f0; transform: translateY(10px); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; z-index: 50;}
    .dropdown::before { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 25px; }
    .dropdown:hover .dropdown-menu { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
    .dropdown-item { display: block; padding: 10px 24px; color: var(--text-dark); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: background 0.2s, color 0.2s; }
    .dropdown-item:hover { background-color: #f8fafc; color: var(--bg-header); }
}

/* --- MENU MOBILE --- */
.mobile-toggle { display: none; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; background: transparent; border: none; cursor: pointer; margin-left: 20px; }
.mobile-toggle .bar { height: 2px; width: 100%; background-color: var(--header-text); border-radius: 2px; transition: all 0.3s ease; }

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .btn-cta-header, .desktop-login { display: none; }
    .nav-menu { position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px); background-color: var(--bg-header); display: block; overflow-y: auto; transition: left 0.3s ease; z-index: 999; border-top: 1px solid rgba(255,255,255,0.05); }
    .nav-menu.active { left: 0; }
    .nav-list { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 0; margin: 0; list-style: none; }
    .nav-link { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.05); color: #ffffff; text-decoration: none;}
    .dropdown { width: 100%; }
    .dropdown-menu { display: none; background-color: rgba(0,0,0,0.2); width: 100%; padding: 0; margin: 0; list-style: none; }
    .dropdown.active .dropdown-menu { display: block; }
    .dropdown.active .chevron { transform: rotate(180deg); }
    .dropdown-item { display: block; padding: 15px 24px 15px 40px; color: #e2e8f0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.02); text-decoration: none;}
    .mobile-only-cta { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-bottom: none !important; width: 100%;}
    .btn-cta-mobile, .btn-login-mobile { display: block; text-align: center; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1.1rem; padding: 16px; border: none; width: 100%; cursor: pointer;}
    .btn-cta-mobile { background-color: var(--accent-green); color: #fff; }
    .btn-login-mobile { background-color: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2);}
}

/* --- HERO SECTION --- */
.hero { position: relative; width: 100%; min-height: calc(100vh - 80px); background: linear-gradient(135deg, var(--hero-bg-dark) 0%, var(--hero-bg-light) 100%); display: flex; align-items: center; overflow: hidden; }
#hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-container { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 60px 24px; display: flex; align-items: center; justify-content: space-between; gap: 60px; width: 100%; }
.hero-text { flex: 1; color: var(--hero-text); max-width: 650px; }
.badge { display: inline-block; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; color: #ffffff; backdrop-filter: blur(4px); }
.hero-text h1 { font-size: 3.2rem; line-height: 1.15; margin-bottom: 24px; font-weight: 800; letter-spacing: -1.5px; }
.text-highlight { color: #a78bfa; }
.hero-text p { font-size: 1.15rem; line-height: 1.6; margin-bottom: 32px; color: var(--hero-muted); font-weight: 300; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.btn-cta-primary { background-color: var(--accent-green); color: #ffffff; padding: 16px 32px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 1.05rem; transition: all 0.2s ease; box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4); border: none; cursor: pointer;}
.btn-cta-primary:hover { background-color: var(--accent-green-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6); }
.btn-cta-secondary { display: flex; align-items: center; background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.3); color: #ffffff; padding: 16px 32px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1.05rem; transition: all 0.2s ease; backdrop-filter: blur(8px); }
.btn-cta-secondary:hover { background-color: rgba(255, 255, 255, 0.15); }
.hero-trust p { font-size: 0.9rem; color: #cbd5e1; font-weight: 500;}

.hero-image-wrapper { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; }
.floating-img-focused { display: block; max-width: 120%; height: auto; animation: floatImageFocused 8s ease-in-out infinite; z-index: 2; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)); }
.glow-effect-focused { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; background: radial-gradient(circle, rgba(167, 139, 250, 0.3) 0%, rgba(0, 0, 0, 0) 70%); z-index: 1; filter: blur(60px); }

/* --- MARQUEE E MAPA --- */
.social-proof-strip { background: var(--bg-light); padding: 50px 0; border-bottom: 1px solid #e2e8f0; overflow: hidden; }
.social-proof-title { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 30px; }
.marquee-double-wrapper { display: flex; flex-direction: column; gap: 15px; position: relative; width: 100%; overflow: hidden; margin-bottom: 60px; }
.marquee-double-wrapper::before, .marquee-double-wrapper::after { content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2;}
.marquee-double-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-light), transparent); }
.marquee-double-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-light), transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee-content { display: flex; gap: 20px; padding: 0 10px;}
.marquee-content.left { animation: scrollLeft 35s linear infinite; }
.client-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px 24px; color: #475569; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.95rem; white-space: nowrap; transition: 0.3s;}
.client-card:hover { transform: translateY(-2px); border-color: var(--bg-header); color: var(--bg-header); box-shadow: 0 4px 10px rgba(0,0,0,0.05);}

.regional-presence { display: flex; flex-direction: column; align-items: center; border-top: 1px dashed #cbd5e1; padding-top: 40px; }
.regional-title { font-size: 1.2rem; font-weight: 800; color: var(--bg-header); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.map-container-wrapper { width: 100%; max-width: 800px; height: 400px; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.1); border: 1px solid #e2e8f0; position: relative; z-index: 1; }
#varesoft-leaflet-map { width: 100%; height: 100%; background-color: #f8fafc; }
.map-pin-container { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%;}
.pin-dot { width: 12px; height: 12px; background-color: var(--accent-green); border-radius: 50%; position: relative; z-index: 2; border: 2px solid #fff;}
.pin-pulse { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 25px; height: 25px; background-color: rgba(16, 185, 129, 0.5); border-radius: 50%; animation: pulseMap 2s infinite; z-index: 1;}
.map-custom-tooltip { background: var(--bg-header) !important; border: none !important; box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important; border-radius: 8px !important; font-weight: 700 !important; color: #ffffff !important; padding: 6px 12px !important; }
.map-custom-tooltip::before { border-top-color: var(--bg-header) !important; }

/* --- SEGMENTOS --- */
.section-segmentos { padding: 100px 0; background-color: #ffffff; }
.segmentos-header { margin-bottom: 60px; }
.badge-light { display: inline-block; background: #e0e7ff; color: #4338ca; padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase;}
.segmentos-header h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; color: var(--text-dark); letter-spacing: -1px; }
.segmentos-modern-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.segmento-modern-card { background: #ffffff; padding: 30px; border-radius: 16px; border: 1px solid #e2e8f0; display: flex; align-items: center; gap: 20px; transition: all 0.3s ease; cursor: pointer; }
.seg-icon-wrapper { width: 60px; height: 60px; border-radius: 12px; background: #f8fafc; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s ease; }
.seg-icon-wrapper svg { width: 30px; height: 30px; color: var(--text-gray); transition: all 0.3s ease;}
.segmento-modern-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; transition: color 0.3s ease;}
.seg-desc { font-size: 0.95rem; color: var(--text-gray); line-height: 1.4; margin:0;}
.segmento-modern-card.active-hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); border-color: transparent;}

/* --- POR QUE TROCAR --- */
.section-porque-trocar { padding: 100px 0; background-color: var(--bg-light); border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0;}
.trocar-header h2 { font-size: 2.8rem; font-weight: 800; color: var(--text-dark); letter-spacing: -1px; margin-bottom: 20px;}
.mobile-trocar-toggle { display: none; }
.trocar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.trocar-card { background: #fff; padding: 40px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.trocar-card.pain { border-top: 5px solid #ef4444; }
.trocar-card.solution { border-top: 5px solid var(--accent-green); }
.trocar-icon { font-size: 2rem; font-weight: 900; margin-bottom: 15px;}
.trocar-card h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--text-dark);}
.trocar-card li { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 15px; padding-left: 24px; position: relative; line-height: 1.5;}
.trocar-card.pain li::before { content: '✕'; color: #ef4444; position: absolute; left: 0; font-weight: bold;}
.trocar-card.solution li::before { content: '✓'; color: var(--accent-green); position: absolute; left: 0; font-weight: bold;}
.btn-trocar-agora { margin-top: 20px; width: 100%; padding: 15px; border-radius: 8px; border: none; background: var(--bg-header); color: #fff; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: 0.3s;}
.btn-trocar-agora:hover { background: #3b1473;}

/* --- COMPARATIVO --- */
.section-comparativo { padding: 100px 0; background: #ffffff; }
.swipe-hint-mobile { display: none; }
.comparativo-tabela-wrapper { overflow-x: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-radius: 12px; background: #fff;}
.comparativo-tabela { width: 100%; border-collapse: collapse; min-width: 700px; }
.comparativo-tabela th, .comparativo-tabela td { padding: 20px; text-align: left; border-bottom: 1px solid #e2e8f0; font-size: 1.05rem; min-width: 220px;}
.col-generico { background: #fff5f5; width: 35%;}
.col-varesoft { background: #f0fdf4; width: 40%;}
.comparativo-tabela th.col-varesoft { background: var(--accent-green); color: #fff;}

/* --- PDV --- */
.section-pdv { padding: 100px 0; background-color: var(--bg-light); border-top: 1px solid #e2e8f0; }
.pdv-text h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 24px; letter-spacing: -1px; line-height: 1.2; }
.text-highlight-dark { color: var(--bg-header); }
.pdv-text p { font-size: 1.1rem; color: var(--text-gray); line-height: 1.7; margin-bottom: 30px; }
.feature-list li { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.feature-icon-wrapper { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); padding: 10px; border-radius: 10px; }
.feature-content strong { font-size: 1.15rem; color: var(--text-dark); margin-bottom: 6px; font-weight: 700; }
.img-no-bg { max-width: 100%; height: auto; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3)); }

/* --- NUVEM & DASHBOARDS --- */
.section-nuvem-avancada { padding: 100px 0; background-color: #ffffff; }
.badge-nuvem { display: inline-block; background: #e0e7ff; color: #4338ca; padding: 6px 14px; border-radius: 20px; font-weight: 700; margin-bottom: 16px;}
.nuvem-avancada-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.nuvem-feature-card { background: #ffffff; padding: 40px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); display: flex; gap: 24px; border: 1px solid #f1f5f9; transition: transform 0.3s ease; }
.nuvem-feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.nuvem-icon { font-size: 2.5rem; padding: 15px; border-radius: 12px; }
.nuvem-icon.blue { background: #eff6ff; color: #3b82f6; }
.nuvem-icon.purple { background: #f5f3ff; color: #8b5cf6; }
.nuvem-icon.orange { background: #fff7ed; color: #f97316; }
.nuvem-icon.green { background: #f0fdf4; color: #22c55e; }

/* Mini Dashboards CSS */
.dashboard-card { border-color: #e2e8f0; background: linear-gradient(to bottom right, #ffffff, #f8fafc); }
.mini-dashboard-visual { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 25px; padding-top: 25px; border-top: 1px dashed #cbd5e1; height: 110px;}
.mini-chart-bar-container { display: flex; align-items: flex-end; gap: 10px; height: 100%; flex: 1; }
.bar-col { width: 25px; background-color: #cbd5e1; border-radius: 4px 4px 0 0; animation: growBar 1.5s ease-out forwards; transform-origin: bottom; transform: scaleY(0);}
.bar-col.highlight { background-color: #8b5cf6; }
.mini-chart-donut-wrapper { position: relative; width: 70px; height: 70px; }
.mini-chart-donut { width: 100%; height: 100%; border-radius: 50%; background: conic-gradient(#8b5cf6 0% 78%, #e2e8f0 78% 100%); animation: spinDonut 1.5s ease-out forwards;}
.mini-chart-donut::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 45px; height: 45px; background: #f8fafc; border-radius: 50%;}
.donut-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 0.85rem; font-weight: 800; color: #8b5cf6; z-index: 2;}


/* ========================================== */
/* --- NOVA SEÇÃO INTELIGÊNCIA ARTIFICIAL --- */
/* ========================================== */
.section-ia { padding: 100px 0; background-color: #f8fafc; border-top: 1px solid #e2e8f0; overflow: hidden; }
.section-ia .section-grid { align-items: center; }

.ia-text { flex: 1; min-width: 350px; padding-right: 40px; }
.badge-ai { display: inline-block; color: var(--bg-header); font-size: 0.9rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; background: rgba(89, 58, 139, 0.1); padding: 6px 14px; border-radius: 20px;}
.section-ia h2 { font-size: 2.8rem; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; line-height: 1.2; letter-spacing: -1px; }
.text-highlight-purple { color: var(--bg-header); }
.section-ia p { font-size: 1.1rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 24px; }
.feature-list-ai { list-style: none; margin-bottom: 30px; padding: 0; }
.feature-list-ai li { margin-bottom: 12px; font-size: 1.05rem; color: var(--text-dark); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.check-ai { color: var(--accent-green); font-size: 1.2rem; line-height: 1; }

.ia-visual { flex: 1.2; display: flex; justify-content: center; align-items: center; width: 100%; }
.chat-mockup-container { width: 100%; max-width: 500px; background: #ffffff; border-radius: 16px; box-shadow: 0 20px 40px rgba(89, 58, 139, 0.15); border: 1px solid rgba(89, 58, 139, 0.1); display: flex; flex-direction: column; overflow: hidden; }

.chat-header { background: var(--bg-header); padding: 15px 20px; color: #fff; display: flex; align-items: center; justify-content: space-between; }
.chat-header-info { display: flex; align-items: center; gap: 10px; font-weight: 600; }

.chat-body { padding: 20px; height: 320px; display: flex; flex-direction: column; gap: 15px; background: #f8fafc; overflow-y: auto; scroll-behavior: smooth; }

/* Balões de Mensagem (Injetados via JS depois) */
.chat-msg { max-width: 85%; padding: 12px 16px; border-radius: 12px; font-size: 0.95rem; line-height: 1.4; opacity: 0; transform: translateY(15px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.chat-msg.show { opacity: 1; transform: translateY(0); }
.chat-user { background: #e2e8f0; color: var(--text-dark); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-ai { background: var(--bg-header); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; box-shadow: 0 4px 10px rgba(89, 58, 139, 0.2); }

.chat-typing { align-self: flex-start; background: transparent; padding: 5px 10px; display: none; }
.chat-typing.show { display: flex; gap: 5px; }
.typing-dot { width: 8px; height: 8px; background: #94a3b8; border-radius: 50%; animation: typing 1.4s infinite ease-in-out both; }
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

.chat-input-area { padding: 15px; background: #fff; border-top: 1px solid #e2e8f0; display: flex; gap: 10px; align-items: center; }
.chat-input-fake { flex: 1; padding: 12px 15px; background: #f1f5f9; border-radius: 20px; color: #94a3b8; font-size: 0.9rem; }
.chat-send-btn { width: 40px; height: 40px; background: var(--bg-header); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.chat-send-btn:hover { transform: scale(1.05); }


/* --- TEF & PIX --- */
.section-tef-modern { padding: 100px 0; background: linear-gradient(135deg, #2d164d 0%, #593a8b 50%, var(--accent-orange) 100%); color: #ffffff; }
.tef-modern-text h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 24px; color: #ffffff;}
.text-highlight-orange { color: #fed7aa; }
.tef-modern-text p { font-size: 1.1rem; color: #f1f5f9; margin-bottom: 30px; }
.read-item-modern { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); padding: 16px 20px; border-radius: 8px; border-left: 4px solid var(--accent-orange); margin-bottom: 16px;}
.check-icon-orange { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--accent-orange); border-radius: 50%; font-weight: bold; font-size: 14px; }
.bank-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.bank-pill { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.3); padding: 8px 18px; border-radius: 30px; font-weight: 600; }
.floating-img-subtle { animation: floatImageSubtle 6s ease-in-out infinite; }

/* --- INTEGRAÇÕES --- */
.section-integracoes-nativa { padding: 100px 0; background: linear-gradient(145deg, #321650 0%, #6b2d86 100%); color: #ffffff; }
.badge-dark { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 6px 14px; border-radius: 20px; font-weight: 600; margin-bottom: 20px; text-transform: uppercase;}
.integracoes-header h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px;}
.eco-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.eco-card { background-color: #ffffff; border-radius: 12px; padding: 24px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.eco-card h3 { font-size: 1.1rem; color: #1e293b; font-weight: 800; margin-bottom: 15px; text-transform: uppercase;}
.eco-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.eco-tags .tag { background-color: #f1f5f9; color: #334155; padding: 6px 16px; border-radius: 20px; font-weight: 500; border: 1px solid #e2e8f0; transition: all 0.2s ease;}
.eco-tags .tag.hovered { background-color: var(--bg-header); color: #ffffff; border-color: var(--bg-header); transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* --- RODAPÉ E EXTRAS --- */
.main-footer-white { background-color: #ffffff; padding: 80px 0 20px 0; border-top: 1px solid #e2e8f0; }
.footer-grid-white { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-bottom: 60px; }
.footer-logo-white { max-height: 45px; margin-bottom: 20px; }
.footer-links { list-style: none;}
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-gray); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--bg-header); font-weight: 600; }
.footer-contact-info-white { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-info-white svg { width: 20px; height: 20px; color: var(--bg-header); }

.floating-whatsapp { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4); z-index: 999; transition: transform 0.3s ease; }
.floating-whatsapp:hover { transform: scale(1.1); color: white;}

/* ========================================== */
/* --- MÓDULO PAINEL DE PREÇOS (TV SLIDER) --- */
/* ========================================== */
.section-painel-precos { 
    padding: 100px 0; 
    /* Gradiente roxo premium, padrão VareSoft */
    background: linear-gradient(135deg, #1a0f2e 0%, #4b2d83 100%); 
    color: #ffffff; 
    overflow: hidden; 
}

.badge-painel { 
    display: inline-block; 
    background: rgba(167, 139, 250, 0.15); 
    color: #a78bfa; /* Lilás suave */
    padding: 6px 14px; 
    border-radius: 20px; 
    font-size: 0.85rem; 
    font-weight: 700; 
    margin-bottom: 16px; 
    text-transform: uppercase; 
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.section-painel-precos h2 { 
    font-size: 2.8rem; 
    font-weight: 800; 
    margin-bottom: 16px; 
    line-height: 1.2; 
    letter-spacing: -1px; 
}

.text-highlight-painel { color: #a78bfa; }

.section-painel-precos p { 
    font-size: 1.1rem; 
    color: #e2e8f0; 
    line-height: 1.6; 
    margin-bottom: 24px; 
}

.feature-list-painel { list-style: none; margin-bottom: 30px; padding: 0; }
.feature-list-painel li { margin-bottom: 12px; font-size: 1.05rem; font-weight: 500; display: flex; align-items: center; gap: 10px; color: #f8fafc;}
.check-painel { color: var(--accent-green); font-weight: bold; font-size: 1.2rem; }

/* Botão utilizando o verde padrão de conversão do seu site */
.btn-cta-painel { 
    background-color: var(--accent-green); 
    color: #ffffff; 
    padding: 16px 32px; 
    border-radius: 8px; 
    border: none; 
    font-weight: 700; 
    font-size: 1.05rem; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); 
}
.btn-cta-painel:hover { 
    background-color: var(--accent-green-hover); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5); 
}

/* ========================================== */
/* A MÁGICA DA MOLDURA E DO SLIDER AQUI       */
/* ========================================== */
.tv-frame-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 40px; 
}

.tv-frame { 
    background: #111; 
    padding: 15px 15px 25px 15px; 
    border-radius: 12px; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 2px 5px rgba(255,255,255,0.15); 
    position: relative;
    z-index: 1;
}

.tv-screen { 
    width: 100%; 
    aspect-ratio: 16/9; 
    background: #000; 
    border-radius: 4px; 
    overflow: hidden; 
    position: relative; 
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-img { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    opacity: 0; 
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
}

.slider-img.active { 
    opacity: 1; 
    visibility: visible;
    z-index: 2; 
}

/* Bolinhas Indicadoras (Mudado do vermelho pro Verde VareSoft) */
.slider-indicators { 
    position: absolute; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 12px; 
    z-index: 2;
}

.slider-indicators .dot { 
    width: 12px; 
    height: 12px; 
    background: rgba(255, 255, 255, 0.3); 
    border-radius: 50%; 
    cursor: pointer; 
    transition: all 0.3s ease; 
}

.slider-indicators .dot.active { 
    background: var(--accent-green); 
    transform: scale(1.3); 
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}


/* --- POPUP LEAD --- */
.lead-popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.lead-popup-overlay.show { opacity: 1; visibility: visible; }
.lead-popup-content { background: #ffffff; width: 90%; max-width: 850px; border-radius: 20px; display: flex; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); position: relative; transform: translateY(30px) scale(0.95); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.lead-popup-overlay.show .lead-popup-content { transform: translateY(0) scale(1); }
.close-popup-btn { position: absolute; top: 15px; right: 15px; background: transparent; border: none; font-size: 28px; color: #94a3b8; cursor: pointer; z-index: 10; }
.popup-left { flex: 1; background: linear-gradient(135deg, var(--bg-header) 0%, #3b1473 100%); padding: 50px 40px; color: #ffffff; }
.popup-right { flex: 1; padding: 50px 40px; background: #ffffff; }
.lead-form input, .lead-form select { width: 100%; padding: 12px 16px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1rem; margin-top: 8px; background-color: #f8fafc; }
.btn-submit-lead { width: 100%; background-color: var(--accent-green); color: #ffffff; padding: 14px; border: none; border-radius: 8px; font-size: 1.05rem; font-weight: 700; cursor: pointer; margin-top: 20px; }

/* --- ANIMAÇÕES KEYFRAMES --- */
@keyframes floatImageFocused { 0%, 100% { transform: translateY(0px) rotate(0deg); } 25% { transform: translateY(-30px) rotate(1deg); } 50% { transform: translateY(-15px) rotate(0deg); } 75% { transform: translateY(-35px) rotate(-1deg); } }
@keyframes floatImageSubtle { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes pulseMap { 0% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(3); opacity: 0; } }
@keyframes growBar { 0% { transform: scaleY(0); } 100% { transform: scaleY(1); } }
@keyframes spinDonut { 0% { transform: rotate(-90deg); opacity: 0; } 100% { transform: rotate(0deg); opacity: 1; } }
@keyframes typing { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
@keyframes pulseDotLive { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* --- MEDIA QUERIES MOBILE --- */
@media (max-width: 1024px) {
    .hero-container, .section-grid { flex-direction: column; text-align: center; gap: 40px; }
    .hero-text, .pdv-text, .tef-modern-text, .ia-text { max-width: 100%; align-items: center; padding-right: 0;}
    .hero-buttons { justify-content: center; }
    .feature-list li, .feature-list-ai li { justify-content: center; flex-direction: column; }
    .nuvem-avancada-grid, .segmentos-modern-grid { grid-template-columns: 1fr 1fr; }
    .lead-popup-content { flex-direction: column; max-height: 90vh; overflow-y: auto; }
}

@media (max-width: 768px) {
    .hero-text h1, .pdv-text h2, .nuvem-avancada-header h2, .tef-modern-text h2, .segmentos-header h2, .integracoes-header h2, .trocar-header h2, .section-ia h2 { font-size: 2.2rem; }
    .btn-cta-primary, .btn-cta-secondary { width: 100%; justify-content: center; }
    .segmentos-modern-grid, .nuvem-avancada-grid, .eco-grid { grid-template-columns: 1fr; }
    
    .mobile-trocar-toggle { display: flex; background: #e2e8f0; border-radius: 30px; padding: 5px; margin-bottom: 30px; }
    .trocar-btn-tab { flex: 1; padding: 12px; border: none; background: transparent; border-radius: 25px; font-weight: 700; color: var(--text-gray); }
    .trocar-btn-tab.active { background: #ffffff; color: var(--bg-header); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
    .trocar-grid { display: block; }
    .trocar-card { display: none; padding: 30px 20px;}
    .trocar-card.active-card { display: block; }
    
    .footer-col-white { text-align: center; }
    .footer-contact-info-white { flex-direction: column; align-items: center;}
    .footer-logo-white { margin: 0 auto 20px auto; display: block; }
}