/* ============================================
   Concilia Pix - Estilos Principais (CRO Optimized)
   Design: SaaS Moderno (Glassmorphism, Bento Grid)
   Tipografia: Poppins (títulos) + Inter (corpo)
   ============================================ */

:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --secondary: #0f172a;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --danger: #dc2626;
  --border: #e2e8f0;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* === Barra de Progresso de Leitura === */
.reading-progress-bar {
  position: fixed; top: 0; left: 0; height: 4px; width: 0%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  z-index: 2000; transition: width 0.1s linear;
}

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: #ffffff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; color: var(--secondary); }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.text-white { color: #fff; }
.clean-list li { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }

/* === Layout & Utils === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1.5rem; }
.align-center { align-items: center; }

/* === Animações Premium === */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes revealUp {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); filter: blur(10px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes textReveal {
  0% { opacity: 0; transform: translateY(20px); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes ripple {
  0% { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(3); opacity: 0; }
}

[data-reveal="up"] {
  opacity: 0;
}
[data-reveal="up"].animated {
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-reveal="text"] .word {
  display: inline-block;
  opacity: 0;
}
[data-reveal="text"].animated .word {
  animation: textReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger Delays */
[data-stagger="1"], [data-stagger="1"] .word { animation-delay: 0.1s; }
[data-stagger="2"], [data-stagger="2"] .word { animation-delay: 0.2s; }
[data-stagger="3"], [data-stagger="3"] .word { animation-delay: 0.3s; }
[data-stagger="4"], [data-stagger="4"] .word { animation-delay: 0.4s; }
[data-stagger="5"], [data-stagger="5"] .word { animation-delay: 0.5s; }
[data-stagger="6"] { animation-delay: 0.6s; }

.pulse-animation { animation: pulse 2s infinite; }
.floating-phone { animation: float 6s ease-in-out infinite; }

/* === Botões === */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600;
  border-radius: 0.5rem; border: none; cursor: pointer; transition: all 0.3s ease;
  z-index: 1;
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.23); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--secondary); }
.btn-outline:hover { border-color: var(--secondary); background: var(--bg-light); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.39); }

.ripple-circle {
  position: absolute; border-radius: 50%; transform: scale(0);
  animation: ripple 0.6s linear; background: rgba(255, 255, 255, 0.3); pointer-events: none;
}

/* === Navbar === */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; transition: all 0.3s ease; }
.glass-nav { background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--glass-border); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; padding-bottom: 1rem; }
.navbar-logo { display: flex; align-items: center; gap: 0.5rem; }
.navbar-logo img { height: 40px; width: 40px; }
.navbar-logo-text { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.4rem; color: var(--text-dark); letter-spacing: -0.5px; }
.navbar-logo-text strong { color: var(--primary-dark); font-weight: 700; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; margin-bottom: 1rem; }
.footer-logo img { height: 36px; width: 36px; }
.footer-logo .navbar-logo-text { color: #fff; }
.footer-logo .navbar-logo-text strong { color: var(--primary); }
.navbar-menu { display: none; align-items: center; gap: 2rem; }
.navbar-menu a { font-weight: 500; font-size: 0.95rem; }
.navbar-menu a:not(.btn):hover { color: var(--primary); }
.navbar-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.navbar-toggle span { width: 24px; height: 2px; background: var(--secondary); transition: all 0.3s; }
.mobile-menu { 
  display: flex; flex-direction: column; gap: 1rem; position: absolute; top: 100%; left: 0; width: 100%; 
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); box-shadow: var(--shadow-md); 
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); opacity: 0; visibility: hidden; 
  padding: 0 1.5rem; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}
.mobile-menu.active { 
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); opacity: 1; visibility: visible; 
  padding: 1.5rem; 
}

@media (min-width: 768px) {
  .navbar-menu { display: flex; }
  .navbar-toggle { display: none; }
}

/* === Hero Premium === */
.hero-premium {
  position: relative; padding: 10rem 0 6rem; background: var(--bg-light);
  overflow: hidden; min-height: 90vh; display: flex; align-items: center;
}
.hero-glow {
  position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, rgba(255,255,255,0) 70%);
  top: -100px; right: -100px; border-radius: 50%; z-index: 0; filter: blur(40px);
}
.hero-premium .container { display: grid; grid-template-columns: 1fr; gap: 3rem; position: relative; z-index: 1; align-items: center; }
.hero-bg-layers { position: absolute; top: 0; bottom: -10%; right: 0; left: 0; z-index: 0; pointer-events: none; transition: transform 0.1s linear; }
@media (min-width: 768px) {
  .hero-bg-layers { left: auto; width: 60%; }
}
.hero-bg-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-bg-gradient { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248, 250, 252, 1) 0%, rgba(248, 250, 252, 0.8) 45%, rgba(248, 250, 252, 0) 100%); }
.badge-trusted { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; padding: 0.5rem 1rem; border-radius: 2rem; font-size: 0.875rem; font-weight: 500; color: var(--primary-dark); box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; border: 1px solid var(--border); }
.hero-content h1 { font-size: 2.5rem; margin-bottom: 1.5rem; letter-spacing: -1px; }
.text-gradient { background: linear-gradient(90deg, var(--primary-dark), var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 500px; }
.hero-social-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: #fff; padding: 0.5rem 1rem; border-radius: 2rem; font-size: 0.9rem; font-weight: 500; color: var(--text-dark); box-shadow: var(--shadow-sm); border: 1px solid var(--border); margin-bottom: 1.5rem; }
.hero-social-badge .counter { font-weight: 700; color: var(--primary-dark); }

/* === Seta de Scroll Animada (CSS puro) === */
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
.scroll-down-indicator {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; align-items: center; justify-content: center;
}
.scroll-down-arrow {
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
  animation: bounceDown 1.8s ease-in-out infinite;
}
.scroll-down-indicator:hover .scroll-down-arrow { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .scroll-down-arrow { animation: none; }
}

/* === Âncoras Visuais Entre Seções === */
.section-divider {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  max-width: 1200px; margin: 0 auto; padding: 1.75rem 1.5rem;
}
.divider-line {
  flex: 1; height: 1px; max-width: 280px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.divider-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}

/* === Contador Animado (Igrejas) === */
.church-counter-banner {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: 0.6rem; text-align: center; margin: 0 auto 3rem;
  padding: 1rem 1.5rem; max-width: 560px;
}
.church-counter {
  font-family: 'Poppins', sans-serif; font-size: 2.75rem; font-weight: 800;
  color: var(--primary); line-height: 1; letter-spacing: -1px;
}
.church-counter-label {
  font-size: 1.1rem; font-weight: 500; color: var(--secondary);
}

/* === Trusted By Section === */
.trusted-by-section { padding: 4rem 0; background: #fff; border-bottom: 1px solid var(--border); }
.trusted-header { text-align: center; margin-bottom: 3rem; }
.trusted-numbers { display: flex; justify-content: center; align-items: center; gap: 3rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.number-block { display: flex; flex-direction: column; align-items: center; }
.number-block .number { font-size: 3rem; font-weight: 800; color: var(--primary); font-family: 'Poppins', sans-serif; line-height: 1; letter-spacing: -1px; }
.number-block .label { font-size: 1rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.5rem; }
.number-separator { width: 2px; height: 50px; background: var(--border); }
.trusted-subtitle { font-size: 1.125rem; color: var(--secondary); font-weight: 500; }

.trusted-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.trusted-church-card { background: #fff; padding: 1.5rem; border-radius: 1rem; text-align: center; border: 1px solid var(--border); transition: all 0.3s ease; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.trusted-church-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(16, 185, 129, 0.3); }
.church-logo { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
.church-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.trusted-church-card h4 { font-size: 1.05rem; margin: 0; color: var(--text-dark); line-height: 1.4; }

@media (max-width: 768px) {
  .trusted-numbers { gap: 1.5rem; flex-direction: column; }
  .number-separator { width: 50px; height: 2px; }
}
.stars svg { width: 16px; height: 16px; }

.glass-image { border-radius: 1rem; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.5) inset; border: 1px solid var(--border); }

@media (min-width: 1024px) {
  .hero-premium .container { grid-template-columns: 1.2fr 0.8fr; }
  .hero-content { margin-left: -3rem; }
  .hero-content h1 { font-size: 3.5rem; }
}

/* === Section Headers === */
.section-header { margin-bottom: 3rem; max-width: 600px; margin-inline: auto; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 1rem; letter-spacing: -0.5px; }
.section-header p { color: var(--text-muted); font-size: 1.125rem; }

/* === Tilt & Glow Base === */
[data-tilt] {
  transition: transform 0.1s cubic-bezier(0.25, 1, 0.5, 1);
  transform-style: preserve-3d;
  will-change: transform;
}
.glow-effect {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 10;
  pointer-events: none; border-radius: inherit; transition: opacity 0.3s;
  opacity: 0;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(16, 185, 129, 0.15), transparent 40%);
}
[data-tilt]:hover .glow-effect { opacity: 1; }

/* === Stats Section Premium === */
.stats-section { padding: 4rem 0 2rem; background: var(--bg-light); z-index: 2; position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.stat-card {
  background: #fff; padding: 2.5rem; border-radius: 1.5rem; text-align: center;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.stat-card:hover { border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.2); }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 0.5rem; font-family: 'Inter', sans-serif; letter-spacing: -1px; }
.stat-card p { font-weight: 500; color: var(--secondary); margin: 0; font-size: 1.1rem; }

/* === Bancos Homologados (Ticker) === */
.banks-ticker-section { padding: 3rem 0; background: #fff; overflow: hidden; }
.ticker-title { text-align: center; color: var(--text-muted); font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2rem; }
.ticker-wrapper { position: relative; width: 100%; display: flex; align-items: center; }
.ticker-wrapper::before, .ticker-wrapper::after { content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; pointer-events: none; }
.ticker-wrapper::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.ticker-wrapper::after { right: 0; background: linear-gradient(to left, #fff, transparent); }
.ticker-track { display: flex; width: max-content; animation: scrollTicker 30s linear infinite; }
.ticker-logos { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; }
.bank-card { background: #fff; border-radius: 1rem; padding: 1.5rem 2rem; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; width: 220px; height: 100px; border: 1px solid var(--border); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.bank-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.bank-card img { max-width: 100%; max-height: 100%; object-fit: contain; }

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Dores (Problems) === */
.problems-section { padding: 5rem 0; background: var(--bg-light); position: relative; }
.problems-bento-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.problem-card {
  background: #fff; padding: 2rem 1.5rem; border-radius: 1rem; border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02); position: relative; overflow: hidden;
}
.problem-card:hover { border-color: rgba(220, 38, 38, 0.4); box-shadow: 0 20px 40px -10px rgba(220, 38, 38, 0.1); }
.problem-icon-wrapper { background: rgba(220, 38, 38, 0.08); padding: 1rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; color: var(--danger); transform: translateZ(20px); }
.problem-icon-wrapper svg { width: 28px; height: 28px; }
.problem-card p { font-weight: 500; font-size: 1rem; line-height: 1.5; color: var(--secondary); margin: 0; transform: translateZ(10px); }

/* === Bento Box Benefits === */
.benefits-bento { padding: 5rem 0; background: #fff; }
.bento-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.glass-card {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.bento-card { padding: 2.5rem; border-radius: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.02); border: 1px solid var(--border); position: relative; overflow: hidden; }
.bento-card:hover { border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.15); }
.bg-white { background: #fff; }
.primary-gradient { background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%); color: #fff; }
.primary-gradient h3 { color: #fff; font-size: 2rem; margin-bottom: 1rem; transform: translateZ(20px); }
.primary-gradient p { color: #cbd5e1; margin-bottom: 2rem; font-size: 1.125rem; transform: translateZ(10px); }
.bento-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; transform: translateZ(20px); }
.icon-box { background: rgba(16, 185, 129, 0.1); padding: 0.75rem; border-radius: 0.75rem; }
.clean-list { transform: translateZ(10px); }

@media (min-width: 768px) {
  .bento-layout { grid-template-columns: 1fr 1fr; }
  .bento-large { grid-column: span 2; }
}

/* === Features Tabs === */
.features-tabs-section { padding: 5rem 0; background: var(--bg-light); }
.tabs-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 3rem; background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); padding: 0.5rem; border-radius: 1rem; width: max-content; margin-inline: auto; max-width: 100%; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid var(--border); }
.tab-button { padding: 0.75rem 1.5rem; border: none; background: transparent; font-weight: 600; color: var(--text-muted); cursor: pointer; border-radius: 0.5rem; transition: all 0.3s; font-family: 'Inter', sans-serif; position: relative; overflow: hidden; }
.tab-button.active { background: var(--primary); color: #fff; box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: revealUp 0.5s ease forwards; }
.tab-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.centered-tab-grid { display: flex !important; justify-content: center; align-items: center; width: 100%; margin: 0 auto; max-width: 800px; }
.centered-tab-grid .tab-image { width: 100%; }
.centered-tab-grid .tab-image img { width: 100%; max-height: 70vh; object-fit: contain; }
.tab-text h3 { font-size: 2rem; margin-bottom: 1rem; }
.tab-text p { color: var(--text-muted); font-size: 1.125rem; margin-bottom: 1.5rem; }
.feature-checklist li { margin-bottom: 0.5rem; font-weight: 500; display: flex; align-items: center; gap: 0.5rem; }
.tab-image img { border-radius: 1rem; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }

@media (min-width: 768px) {
  .tab-grid:not(.centered-tab-grid) { grid-template-columns: 0.8fr 1.2fr; }
}
@media (min-width: 1024px) {
  .tab-grid:not(.centered-tab-grid) { grid-template-columns: 0.7fr 1.3fr; gap: 4rem; }
}

/* === Mobile App === */
.mobile-app { padding: 5rem 0; overflow: hidden; background: transparent; }
.mobile-app-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.mobile-images-showcase { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; padding: 2rem 0; }
.phone-mockup { position: relative; width: 280px; height: 580px; background: #fff; border: 12px solid #1e293b; border-radius: 40px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); overflow: hidden; }
.phone-mockup::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 25px; background: #1e293b; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; z-index: 10; }
.phone-carousel { position: relative; width: 100%; height: 100%; }
.app-slide { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease-in-out; }
.app-slide.active { opacity: 1; z-index: 2; }
.floating-phone { animation: float 6s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); }
.mobile-app-info h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.mobile-app-info p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 2rem; }
.mobile-store-badges { display: flex; gap: 1rem; flex-wrap: wrap; }
.mobile-store-badges img { height: 40px; }

@media (min-width: 768px) {
  .mobile-app-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* === Access Levels (Premium Dark Grid) === */
.dark-section { background: #0f172a; padding: 6rem 0; position: relative; overflow: hidden; }
.dark-section::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, transparent 60%); z-index: 1; pointer-events: none; }
.dark-section .container { position: relative; z-index: 2; }
.text-white { color: #fff !important; }
.text-light { color: #94a3b8 !important; }

.access-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-top: 3rem; }
.dark-card { background: rgba(30, 41, 59, 0.4); backdrop-filter: blur(12px); border-radius: 1.5rem; padding: 2.5rem 2rem; border: 1px solid rgba(255, 255, 255, 0.05); position: relative; overflow: hidden; text-align: left; }
.dark-card:hover { border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15); }
.card-number { position: absolute; top: -10px; right: -10px; font-size: 8rem; font-weight: 800; color: rgba(255, 255, 255, 0.03); line-height: 1; font-family: 'Inter', sans-serif; transition: all 0.4s ease; transform: translateZ(0); }
.dark-card:hover .card-number { color: rgba(16, 185, 129, 0.08); transform: scale(1.1) translateZ(0); }
.dark-card-content { position: relative; z-index: 2; transform: translateZ(15px); }
.icon-circle-dark { width: 60px; height: 60px; background: rgba(16, 185, 129, 0.15); border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); transition: all 0.3s ease; }
.dark-card:hover .icon-circle-dark { background: #10b981; color: #fff; box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3); transform: scale(1.1); }
.dark-card h3 { color: #f8fafc; margin-bottom: 1rem; font-size: 1.35rem; font-weight: 600; }
.dark-card p { color: #cbd5e1; font-size: 1rem; line-height: 1.6; }

/* === FAQ === */
.faq { padding: 5rem 0; background: transparent; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid var(--border); border-radius: 0.75rem; background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; text-align: left; transition: background 0.3s; }
.faq-question h3 { font-size: 1.05rem; font-family: 'Inter', sans-serif; font-weight: 600; margin: 0; }
.faq-icon { transition: transform 0.3s; color: var(--primary); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 1.5rem 1.5rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 1rem; }
.faq-item.open .faq-answer { display: block; animation: revealUp 0.3s ease forwards; }

/* === CTA & Form === */
.cta-contact-section { padding: 5rem 0; background: var(--secondary); color: #fff; position: relative; overflow: hidden; }
.cta-contact-section::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, rgba(15,23,42,1) 50%); z-index: 0; pointer-events: none; }
.cta-contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; position: relative; z-index: 1; align-items: center; }
.cta-text-area h2 { color: #fff; font-size: 2.5rem; margin-bottom: 1rem; }
.cta-text-area p { color: #cbd5e1; font-size: 1.125rem; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; font-size: 1.1rem; }
.contact-item svg { background: rgba(255,255,255,0.1); padding: 8px; border-radius: 50%; box-sizing: content-box; }

.form-card-glass { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); padding: 2.5rem; border-radius: 1.5rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.form-card-glass h3 { color: #fff; margin-bottom: 0.5rem; font-size: 1.5rem; }
.form-subtitle { color: #94a3b8; font-size: 0.95rem; margin-bottom: 1.5rem; }

.floating-label { position: relative; margin-bottom: 1.5rem; }
.floating-label input { width: 100%; padding: 1.25rem 1rem 0.5rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); border-radius: 0.5rem; color: #fff; font-family: 'Inter', sans-serif; outline: none; transition: all 0.3s; }
.floating-label input:focus { border-color: var(--primary); background: rgba(255,255,255,0.1); }
.floating-label label { position: absolute; top: 1rem; left: 1rem; color: #94a3b8; font-size: 1rem; transition: all 0.2s ease; pointer-events: none; }
.floating-label input:focus ~ label, .floating-label input:not(:placeholder-shown) ~ label { top: 0.3rem; font-size: 0.75rem; color: var(--primary); }

.trust-badge-small { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.75rem; color: #94a3b8; margin-top: 1rem; }

@media (min-width: 1024px) {
  .cta-contact-grid { grid-template-columns: 1fr 1fr; }
}

/* === Footer === */
.modern-footer { background: #020617; color: #94a3b8; padding: 4rem 0 2rem; border-top: 1px solid #1e293b; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-links h4 { color: #fff; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 2rem; text-align: center; font-size: 0.875rem; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* === Modals === */
.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.8); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { background: #fff; width: 100%; max-width: 500px; border-radius: 1.5rem; overflow: hidden; transform: translateY(20px); transition: all 0.3s ease; box-shadow: var(--shadow-lg); margin: 1rem; }
.modal-overlay.active .modal { transform: translateY(0); }
.modal-header { padding: 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-header h2 { font-size: 1.25rem; margin: 0; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--text-muted); }
.modal-close:hover { color: var(--danger); }
.modal-body { padding: 1.5rem; }
.modal-intro { margin-bottom: 1.5rem; color: var(--text-muted); }

/* Modal Inputs dark text adjust since modal is white */
.modal .floating-label input { background: var(--bg-light); border-color: var(--border); color: var(--text-dark); }
.modal .floating-label input:focus { border-color: var(--primary); background: #fff; }

.success-modal { text-align: center; }
.success-icon { display: flex; justify-content: center; }

/* === Toast === */
.toast { position: fixed; bottom: 20px; right: 20px; background: var(--secondary); color: #fff; padding: 1rem 1.5rem; border-radius: 0.5rem; box-shadow: var(--shadow-lg); z-index: 3000; transform: translateY(100px); opacity: 0; transition: all 0.3s; }
.toast.active { transform: translateY(0); opacity: 1; }
.toast.error { background: var(--danger); }

/* === Floating WhatsApp === */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
  background-color: #1ebe57;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@media (max-width: 768px) {
  /* Tipografia Escalonada */
  html { font-size: 15px; }
  .hero-content h1 { font-size: 2.1rem; line-height: 1.1; margin-bottom: 1rem; }
  .section-header h2 { font-size: 1.8rem; }
  .mobile-app-info h2 { font-size: 2rem; }
  .cta-text-area h2 { font-size: 2rem; }
  
  /* Paddings e Espaçamentos de Seções */
  .hero-premium { padding: 6rem 0 2.5rem; min-height: auto; }
  .stats-section { padding: 3rem 0; }
  .problems-section { padding: 4rem 0; }
  .benefits-bento { padding: 4rem 0; }
  .features-tabs-section { padding: 4rem 0; }
  .mobile-app { padding: 4rem 0; }
  .dark-section { padding: 4rem 0; }
  .cta-contact-section { padding: 4rem 0; }
  .faq { padding: 4rem 0; }
  .modern-footer { padding: 3rem 0 2rem; text-align: center; }

  /* Ajustes em Grids e Container (Prevenindo Overflow) */
  .container { padding: 0 1.25rem; }
  
  .problems-bento-grid, 
  .access-grid, 
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Bento Cards e Dark Cards (Reduzir Padding) */
  .bento-card, .problem-card, .dark-card, .stat-card, .form-card-glass {
    padding: 1.5rem;
  }
  
  .dark-card-content { transform: translateZ(5px); }
  .bento-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-bottom: 1rem; }
  
  /* Tabs Navegação (Scroll Horizontal) */
  .tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.5rem;
    margin-inline: 0;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  .tabs-nav::-webkit-scrollbar { display: none; }
  .tab-button {
    flex: 0 0 auto;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--border);
    margin-right: 0.5rem;
  }
  .tab-button.active {
    background: var(--primary);
    border-color: var(--primary);
  }
  .tab-grid { gap: 2rem; }
  
  /* Botões e CTAs */
  .btn { width: 100%; justify-content: center; min-height: 48px; }
  .btn-sm { width: auto; }
  .hero-actions { display: flex; flex-direction: column; width: 100%; }
  
  /* Bancos Homologados */
  .bank-card { width: 160px; height: 80px; padding: 1rem; }
  
  /* Ajustes Hero e Mobile Menu CTA */
  .hero-social-proof { text-align: center; margin-top: 1.5rem; }
  .mobile-menu a.btn { width: 100%; margin-top: 0.5rem; }
  
  /* Modal Ajustes */
  .modal { max-width: calc(100% - 2rem); margin: 1rem auto; max-height: 90vh; overflow-y: auto; }
  .modal-body { padding: 1.25rem; }

  /* Floating WhatsApp */
  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 55px;
    height: 55px;
  }
  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
}

/* Hero compacto: garante que headline + subheadline + CTA + seta
   cabem no "above the fold" em telas pequenas (ex: 375px de largura) */
@media (max-width: 400px) {
  .hero-premium { padding: 5.5rem 0 2rem; }
  .hero-content h1 { font-size: 1.65rem; margin-bottom: 0.75rem; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.25rem; }
  .hero-actions { margin-bottom: 0; }
  .scroll-down-indicator { bottom: 0.5rem; }
  .scroll-down-arrow { width: 38px; height: 38px; }
}

/* === Microcopy abaixo dos CTAs === */
.cta-microcopy {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === CTA Intermediário (após Benefícios) === */
.mid-cta-section {
  padding: 4rem 0;
  text-align: center;
  background: var(--bg-light);
}
.mid-cta-section .btn { display: inline-flex; }
.mid-cta-section .cta-microcopy { display: block; }

/* === Botão Sticky Mobile (WhatsApp) === */
.sticky-mobile-cta {
  display: none;
}

@media (max-width: 767px) {
  body { padding-bottom: 84px; }

  .floating-whatsapp { display: none; }

  .sticky-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    background: #00C853;
    color: #fff;
    border-radius: 12px;
    padding: 0.95rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 1500;
    text-align: center;
  }

  .sticky-mobile-cta svg { width: 22px; height: 22px; flex-shrink: 0; }

  .sticky-mobile-cta:active { transform: scale(0.98); }
}

