:root {
  --bg: #0b1220;
  --bg-card: #131c2e;
  --border: #263148;
  --text: #e5e9f0;
  --text-dim: #94a3b8;
  --green: #22c55e;
  --green-dim: #16a34a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.logo .mark { width: 32px; height: 32px; border-radius: 8px; background: var(--green); color: #06210f; display: flex; align-items: center; justify-content: center; font-weight: 800; }
nav { display: flex; gap: 32px; }
nav a { color: var(--text-dim); font-size: 15px; transition: color .15s; }
nav a:hover { color: var(--text); }
/* Página atual destacada no menu — pedido explícito: são páginas de verdade agora (URL própria
   cada uma), não âncoras da mesma página, então faz sentido mostrar em qual delas você está. */
nav a.current { color: var(--green); font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-primary { background: var(--green); color: #06210f; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }

.reveal { opacity: 0; transform: translateY(38px) scale(.97); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: .09s; }
.stagger > *:nth-child(3) { transition-delay: .18s; }
.stagger > *:nth-child(4) { transition-delay: .27s; }
.stagger > *:nth-child(5) { transition-delay: .36s; }

@keyframes dotPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 5px; animation: dotPulse 1.8s ease-out infinite; }

@keyframes bubbleIn { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
.phone .bubble { opacity: 0; animation: bubbleIn .5s cubic-bezier(.16,1,.3,1) forwards; }
.phone .bubble:nth-child(2) { animation-delay: .3s; }
.phone .bubble:nth-child(3) { animation-delay: 1.3s; }
.phone .bubble:nth-child(4) { animation-delay: 2.1s; }
.phone .bubble:nth-child(5) { animation-delay: 3.1s; }

.hero { padding: 90px 24px 60px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.08; margin: 0 0 20px; letter-spacing: -0.5px; text-wrap: balance; }
.hero h1 .accent { color: var(--green); }
.hero p.lead { color: var(--text-dim); font-size: 18px; margin: 0 0 32px; max-width: 460px; }
.hero .ctas { display: flex; gap: 14px; margin-bottom: 28px; }
.hero .tag { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 15px; }
.hero .tag .dot { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--green); display: flex; align-items: center; justify-content: center; color: var(--green); }
.hero .tag b { color: var(--green); }

.mock { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; }
.phone { background: #0e1626; border: 1px solid var(--border); border-radius: 24px; padding: 16px; }
.phone .head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.phone .head .av { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #06210f; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.phone .head .meta b { display: block; font-size: 14px; }
.phone .head .meta span { color: var(--green-dim); font-size: 12px; }
.bubble { max-width: 82%; padding: 10px 12px; border-radius: 10px; font-size: 13px; margin-bottom: 10px; }
.bubble.in { background: #1c2740; }
.bubble.out { background: var(--green); color: #06210f; margin-left: auto; }
.bubble .time { display: block; font-size: 10px; opacity: .6; margin-top: 4px; }

.board { background: #0e1626; border: 1px solid var(--border); border-radius: 24px; padding: 18px; }
.board .head { display: flex; align-items: center; justify-content: between; margin-bottom: 14px; font-weight: 600; font-size: 14px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.col-title { font-size: 12px; color: var(--text-dim); margin-bottom: 8px; display: flex; justify-content: space-between; }
.col-title b { color: var(--text); }
.card-mini { background: #1c2740; border-radius: 8px; padding: 8px 10px; font-size: 11px; margin-bottom: 8px; }
.card-mini b { display: block; font-size: 12px; margin-bottom: 2px; }
.card-mini span { color: var(--text-dim); }

section { padding: 70px 24px; }
/* Título de topo das páginas internas (Como funciona/Recursos/Preços/FAQ) — mais alto que uma
   section-head normal porque agora é a PRIMEIRA coisa da página, logo abaixo do header. */
.page-head { text-align: center; max-width: 640px; margin: 0 auto; padding: 64px 24px 8px; }
.page-head h1 { font-size: 40px; margin: 0 0 14px; text-wrap: balance; }
.page-head p { color: var(--text-dim); font-size: 17px; margin: 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; margin: 0 0 12px; text-wrap: balance; }
.section-head p { color: var(--text-dim); font-size: 16px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.feature-card .icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(34,197,94,0.15); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 18px; }
.feature-card h3 { font-size: 16px; margin: 0 0 6px; }
.feature-card p { color: var(--text-dim); font-size: 14px; margin: 0; }

.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.demo-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.demo-panel h4 { font-size: 13px; color: var(--text-dim); margin: 0 0 14px; text-transform: uppercase; letter-spacing: .04em; }
.row-mini { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.row-mini:last-child { border-bottom: none; }
.pill { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(34,197,94,0.15); color: var(--green); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { text-align: center; padding: 24px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; position: relative; }
.step .num { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--green); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 12px; }
.step h4 { font-size: 15px; margin: 0 0 8px; }
.step p { color: var(--text-dim); font-size: 13px; margin: 0; }

.pricing { text-align: center; }
.price-toggle { display: inline-flex; gap: 4px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.toggle-opt { background: transparent; border: none; color: var(--text-dim); font-size: 14px; font-weight: 600; padding: 9px 20px; border-radius: 999px; cursor: pointer; font-family: inherit; }
.toggle-opt.active { background: var(--green); color: #06210f; }
.price-card { max-width: 420px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--green); border-radius: 18px; padding: 40px 32px; }
.price-card .amount { font-size: 40px; font-weight: 800; margin: 10px 0 4px; }
.price-card .amount span { font-size: 16px; color: var(--text-dim); font-weight: 400; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0; text-align: left; }
.price-card li { padding: 8px 0; color: var(--text-dim); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.price-card li:before { content: "✓"; color: var(--green); font-weight: 700; }
#erro-checkout { color: #f87171; margin-top: 14px; font-size: 14px; display: none; }

.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; }
.faq-q .chev { transition: transform .2s; color: var(--green); }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; padding: 0 20px; color: var(--text-dim); font-size: 14px; }
.faq-item.open .faq-a { max-height: 260px; padding: 0 20px 18px; }

footer { text-align: center; padding: 40px 24px; color: var(--text-dim); font-size: 13px; border-top: 1px solid var(--border); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero h1 { font-size: 36px; }
  .mock { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  nav { display: none; }
}
