/* tobrand funil · base compartilhada da LP, login e app */
/* fonte no padrão Apple: SF Pro do sistema em iPhone e Mac; Inter (a mais próxima) nos demais.
   A Inter vem por <link> no <head> de cada página (com preconnect), não por @import, para não atrasar o CSS. */
:root {
  --ink: #0a0a0a;
  --ink-2: #141414;
  --ink-3: #1c1c1e;
  --line-d: #242629;
  --line-d2: #34373b;
  --soft-d: #d9dadc;
  --muted-d: #9b9da0;
  --bg: #ffffff;
  --bg-soft: #f5f5f3;
  --bg-soft-2: #ededea;
  --line: #e6e6e2;
  --text: #0a0a0a;
  --muted: #6a6a6a;
  --muted-2: #8a8a88;
  --blue: #4c8dff;
  --blue-ink: #2563eb;
  --blue-soft: rgba(76, 141, 255, 0.12);
  --ok: #1f9d55;
  --err: #d93a3a;
  --r-pill: 999px;
  --r-card: 28px;
  --r-md: 14px;
  --gutter: clamp(16px, 3.75vw, 54px);
  --shadow-card: 0 10px 24px rgba(10, 10, 10, 0.06);
  --shadow-float: 0 18px 40px rgba(10, 10, 10, 0.18);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  /* azul dos botões no padrão Apple (claro sobre fundo escuro) */
  --act: #0071e3; --act-hover: #0077ed; --act-d: #2997ff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; letter-spacing: -0.012em; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, b, strong { font-weight: 600; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* botões no padrão Apple: pílula azul cheia (principal) e pílula com contorno (secundário), só texto */
.btn, .btn-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 980px; font-family: var(--font); font-size: 17px; font-weight: 400; line-height: 1.18; letter-spacing: -0.022em; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.btn .arr, .btn-go .go-fill { display: none; }
.btn-dark, .btn-light, .btn-go { background: var(--act); color: #fff; }
.btn-dark:hover, .btn-light:hover, .btn-go:hover { background: var(--act-hover); }
.btn-ghost { background: transparent; color: var(--act); border-color: var(--act); }
.btn-ghost:hover { background: var(--act); color: #fff; }
.on-dark .btn-ghost, .btn-ghost.on-dark { color: var(--act-d); border-color: var(--act-d); }
.btn-plain { min-height: 40px; padding: 8px 12px; background: transparent; color: var(--ink); }
.btn-plain:hover { color: var(--act); }
.btn-sm { min-height: 36px; padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center !important; }
.btn-go .go-tx { position: static; }
.btn-go:active, .btn:active { transform: scale(0.98); }
/* versão com ícone (ação Criar do app): o ícone vem antes do texto */
.btn-go.light .go-fill { display: inline-flex; order: -1; position: static; width: auto; height: auto; background: none; }
.btn-go.light .go-fill svg { width: 18px; height: 18px; }

.pill-label { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: var(--r-pill); background: var(--bg-soft-2); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow { font-size: 15px; color: var(--muted); }

/* campos */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--err); }
.input, .select { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.input::placeholder { color: #a3a3a0; }
.input:focus, .select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06); }
.input.bad { border-color: var(--err); box-shadow: 0 0 0 3px rgba(217, 58, 58, 0.08); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230a0a0a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.prefix { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.prefix:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06); }
.prefix.bad { border-color: var(--err); }
.prefix span { display: grid; place-items: center; padding: 0 14px; background: var(--bg-soft); border-right: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.prefix .input { border: 0; border-radius: 0; box-shadow: none; }
.err-msg { font-size: 13px; color: var(--err); min-height: 0; }

/* fundo de lousa: grade de pontos */
.dots-bg { background-color: var(--ink); background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1.4px); background-size: 26px 26px; }

/* janela de produto */
.window { background: #fff; border-radius: 20px; box-shadow: var(--shadow-float); overflow: hidden; }
.window-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dcdcd8; }

/* entrada suave dos blocos */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
