:root {
  --bg-0: #0B0F17;
  --bg-1: #0E1526;
  --bg-2: #141B33;
  --surface: #121A2E;
  --surface-2: #161D2E;
  --surface-3: #141A28;
  --border: #232C42;
  --border-soft: #1C2438;
  --text: #EAF0F7;
  --text-dim: #9AA5B8;
  --text-mute: #5A6478;
  --brand-1: #2563EB;
  --brand-2: #7C3AED;
  --accent: #5B8DEF;
  --ok: #12B76A;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; line-height: 1.15; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brand-1); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 999;
}
.skip-link:focus { left: 0; }

*:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ============================== BOTOES ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px;
  border-radius: 12px; padding: 13px 22px; cursor: pointer; border: none;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); color: #fff; box-shadow: 0 10px 30px rgba(37,99,235,.28); }
.btn-primary:hover { opacity: .94; }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--text-dim); border: 1px solid var(--border-soft); }
.btn-ghost:hover { color: var(--text); border-color: var(--border); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ============================== NAV ============================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,15,23,.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px; color: #fff; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); color: #fff;
}
.brand-accent { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 600; color: var(--text-dim); }
.nav-links a:hover { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ============================== HERO ============================== */
.hero { position: relative; padding: 84px 0 100px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55; }
.glow-1 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(37,99,235,.35), transparent 70%); top: -180px; left: -160px; }
.glow-2 { width: 640px; height: 640px; background: radial-gradient(circle, rgba(124,58,237,.30), transparent 70%); bottom: -240px; right: -200px; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 40px; align-items: center; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.eyebrow-center { text-align: center; }

.hero-copy { min-width: 0; }
.painel-copy { min-width: 0; }
.hero-copy h1 { font-size: 48px; letter-spacing: -.5px; margin-bottom: 20px; color: #fff; }
.hero-lead { font-size: 18px; color: var(--text-dim); max-width: 520px; margin-bottom: 26px; }

.hero-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
.hero-bullets li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--text); }
.hero-bullets svg { color: var(--ok); flex-shrink: 0; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* -------- visual do hero: telefone + sinal -------- */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }

.signal { position: absolute; left: 50%; top: 8%; transform: translateX(-50%); width: 10px; height: 10px; z-index: 0; }
.ring { position: absolute; left: 50%; top: 50%; border: 1.5px solid rgba(91,141,239,.45); border-radius: 50%; transform: translate(-50%,-50%); animation: pulse-ring 3.2s ease-out infinite; }
.r1 { width: 60px; height: 60px; animation-delay: 0s; }
.r2 { width: 60px; height: 60px; animation-delay: 1.05s; }
.r3 { width: 60px; height: 60px; animation-delay: 2.1s; }
@keyframes pulse-ring { 0% { width: 20px; height: 20px; opacity: .9; } 100% { width: 340px; height: 340px; opacity: 0; } }

.phone-mock {
  position: relative; z-index: 1; width: 290px; background: #0C1120; border: 8px solid #1a2036;
  border-radius: 40px; box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03);
}
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 90px; height: 18px; background: #1a2036; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { padding: 34px 16px 20px; display: flex; flex-direction: column; gap: 12px; }

.app-header { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.app-header-sm { margin-bottom: 8px; }
.app-logo { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); flex-shrink: 0; }
.app-header-sub { font-size: 10px; color: var(--text-mute); }
.app-header-title { font-size: 14px; font-weight: 700; color: var(--text); }
.app-header-title-sm { font-size: 15px; }

.app-card { border-radius: 14px; padding: 14px; }
.app-card-plan { background: linear-gradient(135deg, var(--brand-1), var(--accent)); }
.app-card-plan.sm { padding: 10px 14px; }
.tag { font-size: 9px; font-weight: 700; letter-spacing: .5px; color: rgba(255,255,255,.85); }
.tag-dim { color: var(--text-mute); }
.plan-name { font-size: 17px; font-weight: 800; color: #fff; margin-top: 3px; }
.plan-price { font-size: 11px; color: rgba(255,255,255,.85); margin-top: 2px; }

.app-card-fatura { background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.app-card-fatura.sm { padding: 10px 14px; }
.fatura-val { font-size: 15px; font-weight: 800; color: var(--text); margin-top: 2px; }
.pill { font-size: 10.5px; font-weight: 700; color: var(--accent); background: rgba(91,141,239,.14); border: 1px solid rgba(91,141,239,.4); border-radius: 20px; padding: 5px 12px; }

.app-card-chart { background: var(--surface-2); border: 1px solid var(--border); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 46px; margin-top: 10px; }
.bars span { flex: 1; background: linear-gradient(180deg, var(--accent), var(--brand-1)); border-radius: 4px; }
.bars-wide { height: 60px; gap: 6px; }
.bars-wide span { border-radius: 3px; }

.app-nav { display: flex; justify-content: space-around; padding-top: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #2A3348; }
.dot.active { background: var(--accent); }

.app-shortcuts { display: flex; gap: 8px; margin-top: 4px; }
.app-shortcuts span { flex: 1; text-align: center; font-size: 10.5px; font-weight: 600; color: var(--text-dim); background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 4px; }

.floating-badge {
  position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--border);
  border-radius: 30px; padding: 10px 16px; font-size: 12.5px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px; box-shadow: 0 14px 30px rgba(0,0,0,.35);
}
.badge-1 { top: 18%; left: -6%; }
.badge-2 { bottom: 12%; right: -4%; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); border: none; color: #fff; }

/* ============================== SECTIONS ============================== */
.section { padding: 96px 0; }
.section-dark { background: var(--bg-1); }

.section-title { font-size: 34px; color: #fff; text-align: center; max-width: 680px; margin: 0 auto 18px; letter-spacing: -.3px; }
.section-lead { font-size: 17px; color: var(--text-dim); text-align: center; max-width: 620px; margin: 0 auto 56px; }

.section-title-left { font-size: 32px; color: #fff; margin-bottom: 16px; letter-spacing: -.3px; }
.section-lead-left { font-size: 16.5px; color: var(--text-dim); margin-bottom: 28px; max-width: 460px; }

/* ============================== FEATURE GRID ============================== */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  padding: 26px 24px; transition: border-color .2s ease, transform .2s ease;
}
.feat-card:hover { border-color: var(--brand-1); transform: translateY(-3px); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(91,141,239,.12); color: var(--accent);
}
.feat-cat { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--text-mute); margin-bottom: 8px; }
.feat-card h3 { font-size: 17.5px; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.feat-card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }

/* ============================== SPOTLIGHT ============================== */
.spotlight {
  padding: 90px 0; text-align: center;
  background: linear-gradient(135deg, #16234A, #241A47);
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
}
.spotlight-inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.spotlight h2 { font-size: 34px; color: #fff; margin-bottom: 16px; letter-spacing: -.3px; }
.spotlight-lead { font-size: 17px; color: #C7D2E8; margin-bottom: 30px; }

/* ============================== PAINEL SECTION ============================== */
.painel-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 56px; align-items: center; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--text); }
.check-list svg { color: var(--ok); flex-shrink: 0; }

.browser-mock { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--surface-3); }
.dot-r, .dot-y, .dot-g { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #E4483C; } .dot-y { background: #F2B01E; } .dot-g { background: #12B76A; }
.browser-url { margin: 0 auto; background: var(--bg-0); border-radius: 8px; padding: 5px 20px; font-size: 12px; color: var(--text-mute); }
.browser-body { display: flex; gap: 16px; padding: 18px; }
.browser-side { width: 150px; flex-shrink: 0; background: var(--surface-3); border-radius: 10px; padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.side-item { font-size: 12.5px; font-weight: 600; color: var(--text-dim); padding: 9px 10px; border-radius: 8px; }
.side-item.active { background: rgba(91,141,239,.16); color: var(--accent); font-weight: 700; }
.browser-content { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: auto auto; gap: 12px; }
.stat-card { background: var(--surface-3); border-radius: 10px; padding: 14px; }
.stat-val { font-size: 20px; font-weight: 800; color: var(--text); margin-top: 4px; }
.chart-card { grid-column: 1 / -1; background: var(--surface-3); border-radius: 10px; padding: 14px; }

/* ============================== TELAS DO APP ============================== */
.tag-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; }
.tag-chip { font-size: 12.5px; font-weight: 700; color: var(--accent); background: rgba(91,141,239,.12); border: 1px solid rgba(91,141,239,.35); border-radius: 20px; padding: 8px 16px; }

.screens-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.phone-sm { width: 216px; }
.phone-sm .phone-screen { padding: 28px 13px 16px; gap: 9px; }
.screen-label { text-align: center; font-size: 13px; color: var(--text-dim); margin-top: 16px; max-width: 216px; }

.phone-screen-login { align-items: center; text-align: center; padding-top: 46px !important; }
.login-logo { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); margin: 0 auto 14px; }
.login-title { font-size: 15px; font-weight: 800; color: var(--text); }
.login-sub { font-size: 11px; color: var(--text-mute); margin-bottom: 18px; }
.fake-input { width: 100%; background: var(--surface-3); border: 1px solid var(--border); border-radius: 10px; padding: 11px; font-size: 11.5px; color: var(--text-mute); text-align: left; margin-bottom: 10px; }
.fake-btn { width: 100%; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); border-radius: 10px; padding: 11px; font-size: 12px; font-weight: 700; color: #fff; text-align: center; }

.pix-box { background: var(--surface-3); border: 1px solid var(--border); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; align-items: center; }
.pix-qr { width: 92px; height: 92px; border-radius: 8px; background: repeating-conic-gradient(#0B0F17 0% 25%, #EAF0F7 0% 50%) 0 0/16px 16px; }

.ticket-card { background: var(--surface-3); border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ticket-title { font-size: 12px; font-weight: 600; color: var(--text); }
.pill-open { color: var(--accent); background: rgba(91,141,239,.14); border-color: rgba(91,141,239,.4); }
.pill-done { color: var(--ok); background: rgba(18,183,106,.14); border-color: rgba(18,183,106,.4); }

/* ============================== INTEGRACAO ============================== */
.integration-box {
  display: flex; align-items: flex-start; gap: 20px; background: var(--surface);
  border: 1px solid var(--brand-1); border-radius: var(--radius-md); padding: 30px 32px; max-width: 820px; margin: 0 auto;
}
.integration-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); flex-shrink: 0; }
.integration-box h3 { font-size: 19px; color: #fff; margin-bottom: 8px; }
.integration-box p { font-size: 15px; color: var(--text-dim); line-height: 1.6; }
.integration-box strong { color: var(--text); }

/* ============================== FAQ ============================== */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; text-align: left; font-family: 'Inter', sans-serif;
  font-size: 15.5px; font-weight: 700; color: var(--text); padding: 20px 22px; cursor: pointer;
}
.faq-chevron { flex-shrink: 0; color: var(--text-mute); transition: transform .2s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 22px 20px; font-size: 14.5px; color: var(--text-dim); line-height: 1.6; }
.faq-cta { display: flex; margin: 40px auto 0; width: fit-content; }

/* ============================== CTA FINAL ============================== */
.cta-final { text-align: center; }
.cta-final-inner { max-width: 620px; margin: 0 auto; }
.cta-final-actions { justify-content: center; margin-top: 8px; }

/* ============================== FOOTER ============================== */
.footer { background: var(--bg-1); border-top: 1px solid var(--border-soft); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr); gap: 40px; padding-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--text-dim); margin-top: 14px; max-width: 320px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--text-dim); }
.footer-col a:hover { color: var(--text); }
.footer-hours { font-size: 13px; color: var(--text-mute); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding: 22px 0; font-size: 13px; color: var(--text-mute); text-align: center; }

/* ============================== RESPONSIVO ============================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); }
  .hero-visual { min-height: 460px; margin-top: 20px; }
  .painel-grid { grid-template-columns: minmax(0,1fr); }
  .feat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-inner { flex-wrap: wrap; row-gap: 0; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; width: 100%; order: 3;
    gap: 16px; padding: 20px 0 4px; border-top: 1px solid var(--border-soft); margin-top: 16px;
  }
  .nav.open .nav-cta {
    display: flex; flex-direction: column; width: 100%; order: 4;
    gap: 10px; padding-bottom: 20px;
  }
  .nav.open .nav-cta .btn { width: 100%; }
  .hero-copy h1 { font-size: 34px; }
  .hero-lead { font-size: 16px; }
  .section-title { font-size: 26px; }
  .spotlight h2 { font-size: 26px; }
  .feat-grid { grid-template-columns: minmax(0,1fr); }
  .footer-grid { grid-template-columns: minmax(0,1fr); }
  .hero-actions, .cta-final-actions { flex-direction: column; align-items: stretch; }
  .badge-1, .badge-2 { position: static; margin: 10px auto 0; width: fit-content; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
