@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500;600&display=swap');

/* ---------------------------------------------------------------
   Tokens — copiados 1:1 do app real (puxai.app/app/globals.css).
   Tema escuro é o único aqui: a LP não tem toggle de tema, o app tem.
   --------------------------------------------------------------- */
:root {
  --canvas: #070c07;
  --elev-1: #141c15;
  --elev-2: #212d24;
  --elev-3: #354736;

  --ink: #f8f4e5;
  --ink-muted: #a9c2a4;

  --lime: #a3ff12;
  --lime-deep: #7fcc0e;
  --lime-glow: rgba(163, 255, 18, 0.32);

  --coral: #ff5c39;
  --coral-deep: #dd3d1b;
  --yellow: #ffe200;

  --shadow-ambient: rgba(0, 0, 0, 0.55);
  --shadow-highlight: rgba(255, 255, 255, 0.05);

  --border: rgba(248, 244, 229, 0.09);
  --border-strong: rgba(248, 244, 229, 0.16);

  --font-sans: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  --radius-md: 0.5rem;
  --radius-lg: 0.625rem;
  --radius-xl: 1.25rem;

  --container: 1120px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
  background: color-mix(in srgb, var(--lime) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--lime) 30%, transparent);
  padding: 6px 12px;
  border-radius: 999px;
}

.dot-live {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}
.dot-live::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--lime);
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  0% { transform: scale(0.9); opacity: 0.9; }
  75%, 100% { transform: scale(2.1); opacity: 0; }
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
p { margin: 0; }

.h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
.h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }
.h3 { font-size: 19px; line-height: 1.3; }
.body-lg { font-size: 18px; line-height: 1.6; color: var(--ink-muted); }
.mono { font-family: var(--font-mono); }

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { margin-top: 14px; }

/* Divisor em gradiente em vez de borda reta — mesma lógica aplicada no
   login do app (ver histórico: "essa linha... ta muito seca"). */
.fade-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 20%, var(--lime-deep) 50%, var(--border-strong) 80%, transparent);
  border: none;
  opacity: 0.6;
}

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 180ms var(--ease-out), background 180ms var(--ease-out), border-color 180ms var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--lime);
  color: #0a1206;
}
.btn-primary:hover { background: var(--lime-deep); }
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------
   Nav
   --------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--lime);
  display: grid;
  place-items: center;
  color: #0a1206;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--ink-muted);
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .btn-ghost.nav-login { display: none; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 12px 4px;
  color: var(--ink-muted);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 12px; }

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero {
  padding: 76px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy .h1 { margin-bottom: 20px; }
.hero-copy .body-lg { max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
}
.hero-note strong { color: var(--ink); font-weight: 500; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy .body-lg { max-width: none; }
}

/* ---------------------------------------------------------------
   Funil — visual assinatura (reaproveitado do login do app)
   --------------------------------------------------------------- */
.funnel-card {
  background: var(--elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: 0 24px 60px -20px var(--shadow-ambient);
}
.funnel-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.funnel-card-head .mono { font-size: 12px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.funnel-diagram { display: flex; flex-direction: column; gap: 0; }
.funnel-stage {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  position: relative;
}
.funnel-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--elev-3);
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
  z-index: 2;
  transition: background 300ms ease, border-color 300ms ease;
}
.funnel-stage.is-active .funnel-node {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 5px var(--lime-glow);
}
.funnel-stage-label { font-weight: 600; font-size: 15px; color: var(--ink-muted); transition: color 300ms ease; }
.funnel-stage.is-active .funnel-stage-label { color: var(--ink); }
.funnel-stage-sub { font-size: 12.5px; color: var(--ink-muted); margin-left: auto; font-family: var(--font-mono); opacity: 0; transition: opacity 300ms ease; }
.funnel-stage.is-active .funnel-stage-sub { opacity: 1; }

.funnel-line {
  width: 2px;
  height: 30px;
  margin-left: 22px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}
.funnel-line::after {
  content: "";
  position: absolute;
  left: -1px;
  top: -100%;
  width: 4px;
  height: 60%;
  background: linear-gradient(180deg, transparent, var(--lime), transparent);
  animation: pulse-travel 3.2s var(--ease-out) infinite;
}
@keyframes pulse-travel {
  0% { top: -60%; }
  100% { top: 160%; }
}
@media (prefers-reduced-motion: reduce) {
  .funnel-line::after { animation: none; display: none; }
}

/* ---------------------------------------------------------------
   Logos / trust strip
   --------------------------------------------------------------- */
.trust-strip {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.trust-strip p {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* ---------------------------------------------------------------
   Canais (busca multicanal) — tabs + painel, evita grid de ícone-card
   --------------------------------------------------------------- */
.channels {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  background: var(--elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.channel-list { border-right: 1px solid var(--border); padding: 12px; }
.channel-tab {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-muted);
  transition: background 180ms ease, color 180ms ease;
}
.channel-tab svg { flex-shrink: 0; width: 20px; height: 20px; }
.channel-tab strong { display: block; font-size: 15px; color: inherit; }
.channel-tab:hover { background: var(--elev-2); color: var(--ink); }
.channel-tab.is-active { background: var(--elev-2); color: var(--lime); }
.channel-tab.is-active strong { color: var(--ink); }

.channel-panel { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.channel-panel-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.channel-panel h3 { font-size: 24px; }
.channel-panel p { color: var(--ink-muted); font-size: 15.5px; max-width: 460px; }
.channel-panel ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.channel-panel li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-muted); }
.channel-panel li svg { color: var(--lime); flex-shrink: 0; width: 16px; height: 16px; }

@media (max-width: 780px) {
  .channels { grid-template-columns: 1fr; }
  .channel-list { border-right: none; border-bottom: 1px solid var(--border); display: flex; overflow-x: auto; gap: 4px; }
  .channel-tab { flex-shrink: 0; width: auto; }
  .channel-tab strong { white-space: nowrap; }
  .channel-panel { padding: 28px 24px; }
}

/* ---------------------------------------------------------------
   Feature rows (WhatsApp / integrações) — cards com borda-viva
   --------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.feature-cell {
  background: var(--elev-1);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-cell-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--lime) 12%, var(--elev-2));
  display: grid;
  place-items: center;
  color: var(--lime);
}
.feature-cell-icon svg { width: 20px; height: 20px; }
.feature-cell h3 { font-size: 16.5px; }
.feature-cell p { font-size: 14.5px; color: var(--ink-muted); }

/* ---------------------------------------------------------------
   Pricing
   --------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.price-card.is-contact { justify-content: space-between; }
.price-value .amount.is-contact-amount { font-size: 26px; }
.price-card {
  background: var(--elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.price-card.is-featured {
  border-color: color-mix(in srgb, var(--lime) 45%, var(--border));
  background: var(--elev-2);
  box-shadow: 0 24px 60px -24px var(--lime-glow);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--lime);
  color: #0a1206;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-name { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); font-family: var(--font-mono); }
.price-value { display: flex; align-items: baseline; gap: 6px; }
.price-value .amount { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.price-value .cycle { color: var(--ink-muted); font-size: 14px; }
.price-desc { font-size: 14.5px; color: var(--ink-muted); }
.price-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.price-list li svg { color: var(--lime); flex-shrink: 0; width: 17px; height: 17px; margin-top: 1px; }
.price-fineprint { font-size: 12px; color: var(--ink-muted); text-align: center; font-family: var(--font-mono); }

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* ---------------------------------------------------------------
   FAQ (accordion)
   --------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { background: var(--elev-1); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  text-align: left;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 600;
}
.faq-q svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--ink-muted); transition: transform 220ms var(--ease-out); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); color: var(--lime); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms var(--ease-out);
}
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-muted); font-size: 14.5px; max-width: 640px; }
.faq-item.is-open .faq-a { max-height: 240px; }

/* ---------------------------------------------------------------
   Final CTA
   --------------------------------------------------------------- */
.final-cta {
  text-align: center;
  padding: 100px 0;
}
.final-cta .h2 { margin-bottom: 16px; }
.final-cta .body-lg { max-width: 520px; margin: 0 auto 32px; }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
footer { padding: 64px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.footer-brand p { margin-top: 14px; color: var(--ink-muted); font-size: 14px; max-width: 260px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-muted); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: var(--ink-muted); font-size: 14.5px; transition: color 150ms ease; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-muted);
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Legal pages (termos/privacidade) */
.legal-page { padding: 64px 0 100px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page .updated { color: var(--ink-muted); font-size: 13.5px; font-family: var(--font-mono); margin-bottom: 40px; }
.legal-page h2 { font-size: 19px; margin: 36px 0 12px; }
.legal-page p, .legal-page li { color: var(--ink-muted); font-size: 15px; line-height: 1.7; }
.legal-page ul { padding-left: 20px; }
.legal-page a.back { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); font-size: 14px; margin-bottom: 32px; }
