/**
 * BeeTransfer — sistema visual.
 *
 * Tema CLARO por padrão, com alternância para escuro. A escolha vem da
 * referência (Wispr Flow): fundo quente em vez de branco frio, tipografia
 * editorial em tamanho grande e respiro generoso. Fundo claro num site de
 * venda transmite mais confiança e conversão que a interface escura — que
 * continua sendo o certo DENTRO do app, onde se julga cor de foto.
 *
 * Tipografia da marca (Adobe Fonts):
 *   neulis-neue     — 9 pesos, com itálicos. Títulos e corpo.
 *   neulis-cursive  — a assinatura. Usada só nas palavras de ênfase, como o
 *                     Flow faz ao misturar romano e itálico na mesma frase.
 */

:root {
  /* ── Claro (padrão) ─────────────────────────────────────────────────── */
  --bg: #FDFCF4;            /* creme quente, nunca branco puro */
  --bg-alt: #F5F3E7;        /* faixas alternadas */
  --surface: #FFFFFF;
  --ink: #142733;           /* navy da marca */
  --ink-soft: #5A6673;
  --ink-faint: #8B95A1;
  --line: rgba(20, 39, 51, .12);
  --lime: #D5F313;
  --lime-deep: #A8C10A;     /* lima escurecida: legível sobre claro */
  --accent-soft: rgba(213, 243, 19, .22);
  --shadow: 0 1px 2px rgba(20,39,51,.04), 0 8px 32px rgba(20,39,51,.06);
  --shadow-lg: 0 2px 8px rgba(20,39,51,.06), 0 24px 64px rgba(20,39,51,.10);

  --max: 1200px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Curva de saída suave: movimento que começa rápido e assenta devagar. */
  --ease: cubic-bezier(.16, 1, .3, 1);
}

[data-theme="dark"] {
  --bg: #0E1A22;
  --bg-alt: #142733;
  --surface: rgba(255,255,255,.04);
  --ink: #F0F3F5;
  --ink-soft: #A8B4BF;
  --ink-faint: #6E7C88;
  --line: rgba(255,255,255,.12);
  --lime-deep: #D5F313;
  --accent-soft: rgba(213, 243, 19, .14);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 32px rgba(0,0,0,.24);
  --shadow-lg: 0 2px 8px rgba(0,0,0,.3), 0 24px 64px rgba(0,0,0,.36);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "neulis-neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Tipografia ───────────────────────────────────────────────────────── */
/* Títulos grandes com entrelinha fechada e espaçamento negativo — é o que
   dá o ar editorial da referência, e só funciona em tamanho grande. */
.display {
  font-size: clamp(38px, 6.4vw, 88px);
  line-height: 1;
  text-wrap: balance;
  letter-spacing: -.035em;
  font-weight: 500;
}

/* A cursiva entra em UMA palavra por frase. Usada demais, vira ruído. */
.cursive {
  font-family: "neulis-cursive", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.01em;
}

h2 {
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 500;
}

h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.lead {
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}

/* ── Estrutura ────────────────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 28px; }
section { padding-block: clamp(72px, 11vw, 148px); }
.band { background: var(--bg-alt); }

/* ── Botões ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform .3s var(--ease), background .25s, box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }

.btn-lime { background: var(--lime); color: #142733; box-shadow: var(--shadow); }
.btn-lime:hover { box-shadow: var(--shadow-lg); }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* ── Cabeçalho ────────────────────────────────────────────────────────── */
.topbar {
  position: fixed; inset: 14px 0 auto; z-index: 100;
  display: flex; justify-content: center; pointer-events: none;
}
.topbar-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 30px;
  padding: 9px 9px 9px 22px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s var(--ease), background .3s;
}
.topbar-inner nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.topbar-inner nav a { color: var(--ink-soft); transition: color .2s; }
.topbar-inner nav a:hover { color: var(--ink); }
.brand img { height: 30px; width: auto; }

.theme-toggle {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--ink-soft); cursor: pointer;
  transition: color .2s, border-color .2s, transform .3s var(--ease);
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink); transform: rotate(20deg); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(150px, 16vw, 200px); padding-bottom: clamp(48px, 6vw, 72px); text-align: center; position: relative; }
.hero .display { margin: 16px 0 22px; }
.hero .lead { max-width: 46ch; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }

/* Anel de texto curvo ao fundo, como na referência. Puramente decorativo:
   fica atrás do conteúdo e não recebe clique. */
.orbit {
  position: absolute; top: 46%; left: 50%;
  width: min(760px, 105vw); aspect-ratio: 1;
  transform: translateX(-50%);
  opacity: .07; pointer-events: none; z-index: 0;
  animation: spin 80s linear infinite;
}
.orbit text { font-size: 14px; letter-spacing: .06em; fill: var(--ink); }
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
.hero .wrap { position: relative; z-index: 1; }

/* ── Faixa deslizante ─────────────────────────────────────────────────── */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  padding-block: 18px; background: var(--bg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 52px; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 11px;
  font-size: 14px; color: var(--ink-soft); white-space: nowrap;
}
.marquee-item svg { width: 17px; height: 17px; color: var(--lime-deep); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Revelação na rolagem ─────────────────────────────────────────────── */
/* Estado inicial aplicado por JS (só quando há suporte), para o conteúdo
   nunca ficar invisível se o script falhar. */
/* O estado escondido só existe quando o JS confirma que consegue revelar
   (classe js-anim na raiz). Sem script, ou se ele falhar, o conteúdo nasce
   visível — página de venda invisível é pior que página sem animação. */
.js-anim .reveal { opacity: 0; transform: translateY(26px); }
.js-anim .reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* Revelação palavra a palavra do título. */
.word { display: inline-block; }
.js-anim .word { opacity: 0; transform: translateY(.5em); }
.js-anim .word.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* ── Recursos ─────────────────────────────────────────────────────────── */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px; margin-top: 54px;
}
.feature {
  padding: 34px 30px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 13px; background: var(--accent-soft); color: var(--lime-deep);
  margin-bottom: 20px;
}
.feature h3 { margin-bottom: 9px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* ── Demonstração passo a passo (seção que gruda) ─────────────────────── */
.steps { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.steps-sticky {
  position: sticky;
  /* Abaixo do cabeçalho flutuante, não centralizado: centralizar fazia a
     caixa subir por cima do título da seção durante a rolagem. */
  top: 120px;
}
.step {
  /* Altura mínima proporcional à janela: garante que só um passo esteja
     "em foco" por vez, dando tempo de ler antes da tela trocar. */
  min-height: 42vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 26px 0; border-top: 1px solid var(--line);
  opacity: .3; transition: opacity .5s var(--ease);
}
.step.is-active { opacity: 1; }
.step-num {
  font-family: "neulis-cursive", Georgia, serif; font-style: italic;
  font-size: 30px; color: var(--lime-deep); line-height: 1;
}
.step h3 { margin: 11px 0 7px; font-size: 21px; }
.step p { color: var(--ink-soft); font-size: 15px; }

.screen {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.screen-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
}
.screen-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.screen-body { padding: 28px; min-height: 300px; }

/* ── Planos ───────────────────────────────────────────────────────────── */
.plan-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 22px; margin-top: 52px; text-align: left;
}
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan.featured { border-color: var(--ink); }
.plan-badge {
  position: absolute; top: -12px; left: 30px;
  padding: 5px 13px; border-radius: 999px;
  background: var(--lime); color: #142733;
  font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}
.plan-price { display: flex; align-items: baseline; gap: 5px; margin: 14px 0 3px; }
.plan-price strong { font-size: 44px; font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.plan-price span { color: var(--ink-faint); font-size: 15px; }
.plan-note { color: var(--ink-faint); font-size: 12.5px; margin-bottom: 26px; }
.plan ul { list-style: none; flex: 1; margin-bottom: 26px; }
.plan li {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 9px 0; font-size: 14.5px; border-bottom: 1px solid var(--line);
}
.plan li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--lime-deep); }
.plan li.off { color: var(--ink-faint); }
.plan li.off svg { color: var(--ink-faint); opacity: .5; }
.plan .btn { width: 100%; }

.legal-note {
  max-width: 64ch; margin: 36px auto 0; text-align: center;
  font-size: 12.5px; line-height: 1.75; color: var(--ink-faint);
}
.legal-note a { color: var(--ink-soft); text-decoration: underline; }

/* ── Download ─────────────────────────────────────────────────────────── */
.download-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px; margin-top: 42px;
}
.download-card {
  display: flex; align-items: center; gap: 17px; padding: 26px 28px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.download-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--ink); }
.download-card strong { display: block; font-size: 17px; }
.download-card span { font-size: 13px; color: var(--ink-faint); }

/* ── Rodapé ───────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding-block: 46px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 26px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { height: 34px; }
footer nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; }
footer nav a { color: var(--ink-soft); transition: color .2s; }
footer nav a:hover { color: var(--ink); }

/* ── Páginas de conteúdo ──────────────────────────────────────────────── */
.page { max-width: 760px; margin: 0 auto; padding: clamp(160px, 17vw, 200px) 28px 90px; }
.page h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -.03em; font-weight: 500; margin-bottom: 12px; }
.page .updated { color: var(--ink-faint); font-size: 13px; margin-bottom: 44px; }
.page h2 { font-size: 24px; margin: 42px 0 14px; }
.page h3 { font-size: 17px; margin: 26px 0 9px; }
.page p, .page li { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 13px; line-height: 1.7; }
.page ul, .page ol { padding-left: 24px; margin-bottom: 18px; }
.page a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.page strong { color: var(--ink); font-weight: 600; }

.callout {
  padding: 22px 24px; border-radius: var(--radius);
  background: var(--accent-soft); border: 1px solid rgba(213,243,19,.4);
  margin: 26px 0;
}
.callout p:last-child { margin-bottom: 0; }

.step-row { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step-badge {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime); color: #142733; font-weight: 700; font-size: 15px;
}
.step-row div p:last-child { margin-bottom: 0; }

/* ── Formulários ──────────────────────────────────────────────────────── */
.form-card {
  padding: 34px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.field input {
  min-height: 50px; padding: 0 15px; border-radius: 11px;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--ink); font: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
[hidden] { display: none !important; }

.msg { padding: 14px 17px; border-radius: 11px; font-size: 14px; margin-bottom: 18px; }
.msg.error { background: rgba(220,80,80,.09); color: #C03A3A; border: 1px solid rgba(220,80,80,.25); }
.msg.ok { background: rgba(40,160,100,.09); color: #1F8A5B; border: 1px solid rgba(40,160,100,.25); }
[data-theme="dark"] .msg.error { color: #FF9292; }
[data-theme="dark"] .msg.ok { color: #65D39A; }

.divider {
  display: flex; align-items: center; gap: 14px;
  margin: 24px 0; color: var(--ink-faint); font-size: 12.5px;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ── Responsivo ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps-sticky { position: static; transform: none; }
  .step { min-height: auto; }
}
@media (max-width: 680px) {
  .topbar-inner { gap: 14px; padding-left: 16px; }
  .topbar-inner nav { gap: 15px; font-size: 13px; }
  .topbar-inner nav a:not(.btn):not(.theme-toggle) { display: none; }
}

/* Quem pediu menos movimento no sistema não deve receber animação nenhuma. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .word { opacity: 1 !important; transform: none !important; }
}


/* ── Seção de destaque (fundo em cor cheia) ───────────────────────────── */
/* Inspirada no bloco verde da referência: quebra o ritmo da página e dá um
   respiro visual antes dos planos. As ondas ao fundo deslocam conforme a
   rolagem, criando profundidade sem pesar. */
.highlight {
  position: relative; overflow: hidden;
  background: var(--brand-deep);
  color: #F6F8F4;
  border-radius: 40px;
  margin-inline: 20px;
}
:root { --brand-deep: #142733; }
[data-theme="dark"] { --brand-deep: #0A1520; }

.highlight .eyebrow { color: rgba(246,248,244,.55); }
.highlight h2 { color: #F6F8F4; }
.highlight .lead { color: rgba(246,248,244,.75); }

/* As ondas: SVG posicionado ao fundo, movido por variável que o JS
   atualiza conforme a rolagem. */
.waves {
  position: absolute; inset: 0; pointer-events: none;
  opacity: .55;
}
.waves svg { width: 100%; height: 100%; }
/* Uma linha só, grossa, que se desenha conforme a seção é percorrida:
   stroke-dashoffset vai de 100% (invisível) a 0 (traçado completo). */
.waves path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset .1s linear;
}

.highlight .wrap { position: relative; z-index: 1; }

.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-top: 48px;
}
.stat {
  padding: 30px 26px; border-radius: var(--radius-lg);
  background: rgba(246,248,244,.06);
  border: 1px solid rgba(246,248,244,.12);
  text-align: center;
}
.stat strong {
  display: block; font-size: 46px; font-weight: 500;
  letter-spacing: -.035em; line-height: 1; margin-bottom: 8px;
}
.stat span { font-size: 14px; color: rgba(246,248,244,.7); }
.stat .cursive { color: var(--lime); }

@media (max-width: 680px) {
  .highlight { border-radius: 26px; margin-inline: 12px; }
}

/* ── Painel de suporte (/suporte.html) ────────────────────────────── */
.sup-page{max-width:1180px}
.sup-quem{font-size:12px;color:var(--ink-soft,#6b7280)}
.sup-entrada{max-width:360px;margin:80px auto;display:flex;flex-direction:column;gap:12px;text-align:center}
.sup-entrada h1{font-size:26px;margin:0 0 4px}
.sup-entrada input{height:46px;border-radius:10px;border:1px solid rgba(20,39,51,.16);padding:0 14px;font-size:14px}
.sup-erro{color:#c4432f;font-size:12px;min-height:16px;margin:0}
.sup-painel{display:grid;grid-template-columns:300px 1fr;gap:20px;height:calc(100vh - 160px);min-height:480px}
.sup-lista{border:1px solid rgba(20,39,51,.12);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;background:#fff}
.sup-lista header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid rgba(20,39,51,.1)}
.sup-lista header button{border:0;background:none;font-size:16px;cursor:pointer;color:#6b7280}
#tickets{overflow-y:auto;flex:1}
.sup-item{display:flex;flex-direction:column;gap:2px;width:100%;padding:12px 16px;border:0;border-bottom:1px solid rgba(20,39,51,.07);background:none;text-align:left;cursor:pointer}
.sup-item:hover{background:rgba(20,39,51,.03)}
.sup-item.ativo{background:rgba(213,243,19,.14)}
.sup-item.fechado{opacity:.5}
.sup-item strong{font-size:13px}
.sup-item small{color:#6b7280;font-size:11px}
.sup-item time{font-size:10px;color:#9aa2ad}
.sup-vazio-lista{padding:20px 16px;color:#6b7280;font-size:12px}
.sup-conversa{border:1px solid rgba(20,39,51,.12);border-radius:16px;background:#fff;display:flex;flex-direction:column;overflow:hidden}
.sup-vazio{margin:auto;color:#9aa2ad;font-size:13px}
#conversa{display:flex;flex-direction:column;height:100%}
.sup-conversa-topo{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid rgba(20,39,51,.1)}
.sup-conversa-topo small{display:block;color:#6b7280;font-size:11px;margin-top:2px}
.sup-mensagens{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:10px}
.sup-msg{max-width:70%;padding:10px 13px;border-radius:12px;font-size:13px;line-height:1.5}
.sup-msg p{margin:0;white-space:pre-wrap;word-break:break-word}
.sup-msg time{display:block;margin-top:4px;font-size:9.5px;opacity:.6}
.sup-msg.cliente{align-self:flex-start;background:rgba(20,39,51,.05)}
.sup-msg.suporte{align-self:flex-end;background:rgba(213,243,19,.18)}
.sup-responder{display:flex;gap:10px;padding:14px;border-top:1px solid rgba(20,39,51,.1)}
.sup-responder textarea{flex:1;resize:none;border-radius:10px;border:1px solid rgba(20,39,51,.16);padding:10px 12px;font:inherit;font-size:13px}
@media(max-width:820px){.sup-painel{grid-template-columns:1fr;height:auto}.sup-lista{max-height:260px}}
