/* Reset Básico */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

/* Variáveis de Cor */
: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; }

/* --- 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; }

/* --- DROPDOWN E MENU DESKTOP --- */
@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); }
}

.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; }

/* --- MENU MOBILE --- */
@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .btn-cta-header { display: none; }
    .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-list li { width: 100%; } 
    .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;}
    .dropdown-item:hover { background-color: rgba(255,255,255,0.05); }

    .mobile-only-cta { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-bottom: none !important;}
    .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);}
}

/* --- SEÇÃO PRINCIPAL (HERO) --- */
.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); }
@keyframes floatImageFocused { 0% { transform: translateY(0px) rotate(0deg); } 25% { transform: translateY(-30px) rotate(1deg); } 50% { transform: translateY(-15px) rotate(0deg); } 75% { transform: translateY(-35px) rotate(-1deg); } 100% { transform: translateY(0px) rotate(0deg); } }

/* --- PROVA SOCIAL (MARQUEE DUPLO) E MAPA LEAFLET --- */
.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; }
.marquee-content.right { animation: scrollRight 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);}

@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* Estilos do Mapa Leaflet Clarinho */
.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;}

@keyframes pulseMap { 0% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(3); opacity: 0; } }

/* Tooltips do Leaflet INVERTIDAS (Fundo Roxo, Texto Branco) */
.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;
    font-family: 'Inter', sans-serif !important;
    padding: 6px 12px !important;
    white-space: nowrap !important;
}
.map-custom-tooltip::before { border-top-color: var(--bg-header) !important; }

.leaflet-control-attribution { display: none !important; }

/* --- GERAL DE SEÇÕES --- */
.section-grid { display: flex; align-items: center; gap: 60px; }
.row-reverse { flex-direction: row-reverse; }
.img-no-bg { max-width: 100%; height: auto; box-shadow: none !important; background: transparent !important; border: none !important; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3)); }
.floating-img-subtle { animation: floatImageSubtle 6s ease-in-out infinite; }
@keyframes floatImageSubtle { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }

/* --- SEÇÃO 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; letter-spacing: 0.5px;}
.segmentos-header h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; color: var(--text-dark); letter-spacing: -1px; }
.segmentos-header p { font-size: 1.2rem; color: var(--text-gray); }
.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; box-shadow: 0 4px 6px rgba(0,0,0,0.02); 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;}

/* --- SEÇÃO POR QUE TROCAR (COM TABS NO MOBILE) --- */
.section-porque-trocar { padding: 100px 0; background-color: var(--bg-light); border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0;}
.trocar-header { margin-bottom: 60px; position: relative;}
.trocar-header h2 { font-size: 2.8rem; font-weight: 800; color: var(--text-dark); letter-spacing: -1px; }

/* Desktop View da Seção Trocar */
.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 ul { list-style: none; }
.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;}

/* Garante que os cards apareçam no desktop independente do JS */
@media (min-width: 769px) {
    .trocar-card { display: block !important; }
}

/* --- SEÇÃO COMPARATIVO --- */
.section-comparativo { padding: 100px 0; background: #ffffff; }
.swipe-hint-mobile { display: none; align-items: center; justify-content: center; gap: 10px; color: var(--accent-blue); font-weight: 600; margin-bottom: 15px; animation: swipeAnim 2s infinite;}
@keyframes swipeAnim { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }

.comparativo-tabela-wrapper { overflow-x: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-radius: 12px; -webkit-overflow-scrolling: touch; 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;}
.comparativo-tabela th { background: var(--bg-light); font-size: 1.1rem; font-weight: 700;}
.col-generico { background: #fff5f5; width: 35%;}
.col-varesoft { background: #f0fdf4; width: 40%;}
.comparativo-tabela th.col-varesoft { background: var(--accent-green); color: #fff;}

/* --- SEÇÃO PDV --- */
.section-pdv { padding: 100px 0; background-color: var(--bg-light); border-top: 1px solid #e2e8f0; }
.pdv-text { flex: 1; }
.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 { list-style: none; }
.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; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon-wrapper svg { width: 24px; height: 24px; }
.feature-content { display: flex; flex-direction: column; }
.feature-content strong { font-size: 1.15rem; color: var(--text-dark); margin-bottom: 6px; font-weight: 700; }
.feature-content p { font-size: 1.05rem; color: var(--text-gray); line-height: 1.5; margin: 0; }
.pdv-image { flex: 1; display: flex; justify-content: center; }

/* --- SEÇÃO GESTÃO EM NUVEM E DASHBOARDS VIVOS --- */
.section-nuvem-avancada { padding: 100px 0; background-color: #ffffff; }
.nuvem-avancada-header { margin-bottom: 60px; max-width: 800px; margin-left: auto; margin-right: auto;}
.badge-nuvem { 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; letter-spacing: 0.5px;}
.nuvem-avancada-header h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; color: var(--text-dark); letter-spacing: -1px; }
.nuvem-avancada-header p { font-size: 1.2rem; color: var(--text-gray); line-height: 1.6;}
.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; align-items: flex-start; border: 1px solid #f1f5f9; transition: transform 0.3s ease, box-shadow 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; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.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; }
.nuvem-feature-content h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.nuvem-feature-content p { font-size: 1.05rem; color: var(--text-gray); line-height: 1.6; margin: 0; }
.nuvem-feature-content strong { color: var(--text-dark); }

/* Mini Gráficos Animados 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%); position: relative; 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;}

@keyframes growBar { 0% { transform: scaleY(0); } 100% { transform: scaleY(1); } }
@keyframes spinDonut { 0% { transform: rotate(-90deg); opacity: 0; } 100% { transform: rotate(0deg); opacity: 1; } }

/* --- SEÇÃO TEF/PIX --- */
.section-tef-modern { padding: 100px 0; background: linear-gradient(135deg, #2d164d 0%, #593a8b 50%, var(--accent-orange) 100%); color: #ffffff; }
.tef-image { flex: 1; display: flex; justify-content: center; }
.tef-modern-text { flex: 1; }
.tef-modern-text h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 24px; letter-spacing: -1px; line-height: 1.2; color: #ffffff;}
.text-highlight-orange { color: #fed7aa; }
.tef-modern-text p { font-size: 1.1rem; color: #f1f5f9; line-height: 1.7; margin-bottom: 30px; }
.fast-read-modern { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px;}
.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); }
.read-item-modern p { margin: 0; font-size: 1.1rem; color: #ffffff; font-weight: 500; }
.check-icon-orange { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--accent-orange); color: white; border-radius: 50%; font-weight: bold; font-size: 14px; }
.bank-partners-section { margin-top: 20px; }
.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); color: #ffffff; padding: 8px 18px; border-radius: 30px; font-size: 0.95rem; font-weight: 600; transition: all 0.3s ease; cursor: default; }

/* --- SEÇÃO INTEGRAÇÕES --- */
.section-integracoes-nativa { padding: 100px 0; background: linear-gradient(145deg, #321650 0%, #6b2d86 100%); color: #ffffff; }
.integracoes-header { margin-bottom: 50px; }
.badge-dark { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #ffffff; padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px;}
.integracoes-header h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.integracoes-header p { font-size: 1.15rem; color: #e2e8f0; max-width: 800px; margin: 0 auto;}
.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-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px;}
.eco-card-header svg { color: var(--bg-header); }
.eco-card h3 { font-size: 1.1rem; color: #1e293b; font-weight: 800; margin: 0; text-transform: uppercase; letter-spacing: 0.5px; }
.eco-desc { font-size: 0.95rem; color: var(--text-gray); margin-bottom: 16px; line-height: 1.4;}
.eco-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.eco-tags .tag { background-color: #f1f5f9; color: #334155; padding: 6px 16px; border-radius: 20px; font-size: 0.9rem; font-weight: 500; border: 1px solid #e2e8f0; transition: all 0.2s ease; cursor: default; }
.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É BRANCO --- */
.main-footer-white { background-color: #ffffff; color: var(--text-dark); 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-col-white h4 { color: var(--text-dark); font-size: 1.25rem; margin-bottom: 24px; font-weight: 700; letter-spacing: -0.5px; }
.footer-col-white p, .footer-cnpj { font-size: 0.95rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 16px; }
.footer-cnpj strong { color: var(--text-dark); }
.footer-logo-white { max-height: 45px; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-gray); text-decoration: none; font-size: 0.95rem; 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); flex-shrink: 0; margin-top: 2px; }
.footer-contact-info-white span, .footer-contact-info-white div { font-size: 0.95rem; color: var(--text-gray); line-height: 1.5; }
.footer-contact-info-white strong { color: var(--text-dark); font-weight: 600; }
.footer-bottom-white { text-align: center; padding-top: 24px; border-top: 1px solid #e2e8f0; font-size: 0.85rem; color: #94a3b8; }

/* --- BOTÃO FLUTUANTE WHATSAPP --- */
.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;}

/* --- POPUP DE CAPTURA DE LEADS --- */
.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; transition: color 0.2s; }
.close-popup-btn:hover { color: #0f172a; }
.popup-left { flex: 1; background: linear-gradient(135deg, var(--bg-header) 0%, #3b1473 100%); padding: 50px 40px; color: #ffffff; display: flex; flex-direction: column; justify-content: center; }
.popup-left h3 { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.popup-left p { font-size: 1.1rem; line-height: 1.6; color: #e2e8f0; margin-bottom: 30px; }
.popup-benefits { list-style: none; padding: 0; }
.popup-benefits li { margin-bottom: 15px; font-size: 1.05rem; font-weight: 500; display: flex; align-items: center; gap: 10px;}
.popup-right { flex: 1; padding: 50px 40px; background: #ffffff; }
.popup-right h4 { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.popup-subtitle { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 25px; }
.lead-form .form-group { margin-bottom: 20px; }
.lead-form label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.lead-form input, .lead-form select { width: 100%; padding: 12px 16px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1rem; color: var(--text-dark); transition: all 0.3s ease; background-color: #f8fafc; }
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: var(--accent-green); background-color: #ffffff; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15); }
.select-wrapper { position: relative; }
.select-wrapper::after { content: '▼'; font-size: 12px; color: #64748b; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.lead-form select { appearance: none; -webkit-appearance: none; }
.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; transition: all 0.3s ease; margin-top: 10px; position: relative; overflow: hidden; }
.btn-submit-lead:hover { background-color: var(--accent-green-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3); }
.form-feedback { margin-top: 15px; font-size: 0.95rem; font-weight: 500; text-align: center; }
.form-feedback.success { color: var(--accent-green); }
.form-feedback.error { color: #ef4444; }


/* --- RESPONSIVIDADE (MOBILE/TABLET) --- */
@media (max-width: 1024px) {
    .hero-container, .section-grid { flex-direction: column; text-align: center; padding-top: 40px; gap: 40px; }
    .hero-text, .pdv-text, .tef-modern-text { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
    .hero-buttons { justify-content: center; }
    .hero-image-wrapper { justify-content: center; width: 100%; }
    .floating-img-focused { max-width: 100%; }
    .feature-list li { flex-direction: column; align-items: center; text-align: center; }
    .fast-read-modern { align-items: center; }
    .bank-pills { justify-content: center; }
    .nuvem-avancada-grid, .segmentos-modern-grid { grid-template-columns: 1fr 1fr; }
    
    .lead-popup-content { flex-direction: column; max-height: 90vh; overflow-y: auto; }
    .popup-left { padding: 30px 20px; text-align: center; }
    .popup-left h3 { font-size: 1.8rem; }
    .popup-benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .popup-benefits li { margin-bottom: 0; font-size: 0.9rem; }
    .popup-right { padding: 30px 20px; }
}

@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 { font-size: 2.2rem; letter-spacing: -1px; }
    .nuvem-feature-card { flex-direction: column; align-items: center; text-align: center; padding: 30px 20px;}
    .btn-cta-primary, .btn-cta-secondary { width: 100%; text-align: center; justify-content: center; }
    .segmentos-modern-grid, .nuvem-avancada-grid { grid-template-columns: 1fr; }
    .eco-grid { grid-template-columns: 1fr; }
    
    /* Configuração das Abas/Tabs no Mobile para a seção Por que Trocar */
    .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); cursor: pointer; transition: all 0.3s ease; font-size: 0.95rem;
    }
    .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; animation: fadeInTab 0.4s ease; padding: 30px 20px;}
    .trocar-card.active-card { display: block; }
    
    @keyframes fadeInTab { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
    
    .swipe-hint-mobile { display: flex; }
    
    .footer-col-white { text-align: center; }
    .footer-contact-info-white { flex-direction: column; align-items: center; text-align: center;}
    .footer-logo-white { margin: 0 auto 20px auto; display: block; }
    .footer-links li { text-align: center; }
    
    .floating-whatsapp { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .floating-whatsapp svg { width: 25px; height: 25px; }
    
    .marquee-double-wrapper::before, .marquee-double-wrapper::after { width: 30px; }
    .client-card { font-size: 0.85rem; padding: 10px 16px; }
    .map-container-wrapper { height: 300px; border-radius: 12px;}
}