/* ═══════════════════════════════════════════════════════════════════════════
   VUPT — páginas irmãs (criar-conta · entrar · sobre · termos)
   Reusa landing-premium.css (tokens/base/nav/footer/botões/frames). Aqui só o
   que é específico: auth, formulário, prose/legal. MOBILE-FIRST (o fluxo maior
   é celular): base = telefone; @media(min-width:900px) enriquece pro desktop.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── auth: topo minimal (foco, sem nav completa) ─────────────────────────── */
.auth-top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--nav-h); padding-inline: var(--gutter);
  background: rgba(252, 252, 251, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.auth-top img { width: 106px; height: auto; }
.auth-top .cross { font-size: 14.5px; font-weight: 650; color: var(--muted); }
.auth-top .cross a {
  color: var(--brand-text); font-weight: 700;
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 3px; text-decoration-thickness: 1.5px;
  transition: text-decoration-color .2s var(--ease);
}
.auth-top .cross a:hover { text-decoration-color: currentColor; }

/* ── auth: layout ────────────────────────────────────────────────────────── */
.auth { display: grid; grid-template-columns: 1fr; }
.auth-form-col {
  display: flex; justify-content: center;
  padding: clamp(36px, 8vw, 60px) var(--gutter) 72px;
}
.auth-form { width: 100%; max-width: 436px; }
.auth-form > h1 {
  font-size: clamp(2rem, 6.4vw, 2.6rem);
  font-weight: 750; letter-spacing: -.028em;
}
/* padding (não margem) pra NÃO colapsar com o margin-top do primeiro .field —
   o respiro tem que ser igual no entrar e no criar-conta (que tem honeypot no meio). */
.auth-form > .sub {
  margin-top: 14px; padding-bottom: 16px;
  color: var(--muted); font-size: 16.5px; line-height: 1.55;
}

/* painel visual (só desktop — celular não gasta byte com decoração) */
.auth-visual { display: none; }

@media (min-width: 900px) {
  .auth { grid-template-columns: 1.05fr .95fr; min-height: 100svh; }
  .auth-form-col { align-items: center; padding-block: 88px; }

  /* TUDO BRANCO: superfície limpa, sem cinza e sem gradiente de cor.
     A separação é só a hairline — o contraste vem do respiro, não da tinta. */
  .auth-visual {
    display: flex; flex-direction: column; justify-content: center; gap: 34px;
    padding: 64px clamp(40px, 5vw, 88px);
    background: var(--surface);
    border-left: 1px solid var(--line);
  }
  .auth-visual .pitch-tag {
    align-self: flex-start;
    padding: 6px 14px; border-radius: 999px;
    background: var(--bg); border: 1px solid var(--line);
    font-size: 13px; font-weight: 700; color: var(--brand-text);
  }
  .auth-visual h2 { font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 750; }
  .auth-visual p { color: var(--muted); max-width: 30em; font-size: 16.5px; }
  .auth-visual .frame-phone { width: 248px; }
  .auth-visual .stage { position: relative; align-self: center; }
  .auth-visual .float-ticket { right: -8%; bottom: 12%; }

  /* login: painel sem texto nenhum — só o aparelho, centrado e com mais presença */
  .auth-visual-clean { justify-content: center; align-items: center; }
  .auth-visual-clean .frame-phone { width: 274px; }
}

/* ── formulário ──────────────────────────────────────────────────────────── */
.field { margin-top: 20px; }
.field label {
  display: block; font-size: 13.5px; font-weight: 650; color: var(--text);
  margin-bottom: 8px; letter-spacing: -.004em;
}
.field input, .field select {
  width: 100%; min-height: 54px;                 /* alvo de toque generoso */
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(23, 24, 28, .04);
  font-size: 16px;                                /* ≥16px: iOS não dá zoom no focus */
  color: var(--text);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235d636e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 42px; cursor: pointer;
}
.field input::placeholder { color: var(--faint); }
.field input:hover:not(:focus), .field select:hover:not(:focus) { border-color: rgba(23, 24, 28, .26); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3.5px rgba(244, 81, 30, .13), 0 1px 2px rgba(23, 24, 28, .05);
}
.field .hint { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.field-pass { position: relative; }
.field-pass input { padding-right: 52px; }
.pass-toggle {
  position: absolute; right: 7px; bottom: 7px;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  color: var(--faint); border-radius: 9px;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.pass-toggle:hover { color: var(--text); background: var(--surface-2); }
.pass-toggle svg { width: 20px; height: 20px; }
.pass-toggle .off { display: none; }
.pass-toggle.is-on .on { display: none; }
.pass-toggle.is-on .off { display: block; }

.auth-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 18px; font-size: 14.5px;
}
.auth-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); cursor: pointer; }
.auth-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand); }
.auth-row a {
  color: var(--brand-text); font-weight: 700;
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 3px; text-decoration-thickness: 1.5px;
  transition: text-decoration-color .2s var(--ease);
}
.auth-row a:hover { text-decoration-color: currentColor; }

.auth-form .btn-block {
  width: 100%; justify-content: center; margin-top: 28px;
  box-shadow: 0 1px 2px rgba(23, 24, 28, .10), 0 8px 20px -8px rgba(23, 24, 28, .32);
}
.auth-form .btn-block:hover {
  box-shadow: 0 1px 2px rgba(244, 81, 30, .16), 0 12px 26px -8px rgba(244, 81, 30, .44);
}

.auth-secure {
  display: flex; align-items: center; gap: 9px;
  margin-top: 20px; font-size: 12.5px; color: var(--muted); line-height: 1.4;
}
.auth-secure svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--green-text); }

.form-ok, .form-err {
  margin-top: 20px; padding: 14px 16px; border-radius: 12px;
  font-size: 14.5px; font-weight: 600; line-height: 1.45;
}
.form-ok { background: rgba(11, 138, 92, .09); color: var(--green-text); border: 1px solid rgba(11, 138, 92, .22); }
.form-err { background: rgba(216, 64, 13, .08); color: var(--brand-text); border: 1px solid rgba(216, 64, 13, .22); }
[hidden] { display: none !important; }

.auth-sep {
  display: flex; align-items: center; gap: 14px;
  margin-top: 30px; font-size: 12.5px; font-weight: 650; color: var(--faint);
  text-transform: uppercase; letter-spacing: .04em;
}
.auth-sep::before, .auth-sep::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-foot { margin-top: 26px; font-size: 15px; color: var(--muted); text-align: center; }
.auth-foot a { color: var(--brand-text); font-weight: 700; }

/* entrada suave — some inteira pra quem pediu menos movimento */
@media (prefers-reduced-motion: no-preference) {
  .js .auth-form { animation: auth-in .5s var(--ease) both; }
  .js .auth-visual .stage { animation: auth-in .65s .08s var(--ease) both; }
}
@keyframes auth-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ── páginas de conteúdo (sobre / termos): hero + prose ──────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 88px)) 0 clamp(28px, 4vw, 44px);
}
.page-hero .tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--brand-text);
}
.page-hero h1 { margin-top: 16px; font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 750; }
.page-hero p { margin-top: 18px; max-width: 40em; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.15rem); }

.prose { max-width: 44rem; }
.prose h2 { margin-top: 44px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 750; }
.prose h3 { margin-top: 30px; font-size: 1.16rem; font-weight: 700; }
.prose p { margin-top: 14px; color: var(--muted); line-height: 1.7; }
.prose p strong, .prose li strong { color: var(--text); font-weight: 700; }
.prose ul { margin-top: 14px; padding-left: 22px; }
.prose li { margin-top: 8px; color: var(--muted); line-height: 1.65; }
.prose a { color: var(--brand-text); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.prose .tldr {
  margin-top: 34px; padding: 18px 20px;
  background: var(--surface-2); border-radius: 14px; color: var(--text);
}
.legal-note {
  margin-bottom: 26px; padding: 16px 18px;
  background: rgba(216, 64, 13, .06); border: 1px solid rgba(216, 64, 13, .2);
  border-radius: 12px; font-size: 14px; color: var(--brand-text); line-height: 1.5;
}
.legal-note strong { color: var(--brand-ink); }
.fill { color: var(--brand-text); font-weight: 700; background: rgba(244, 81, 30, .08); padding: 0 4px; border-radius: 4px; }

/* ── sobre: grid de teses + banda CTA ────────────────────────────────────── */
.about-grid {
  margin-top: 22px;
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.tese {
  padding: 22px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-card);
}
.tese h3 { font-size: 1.08rem; font-weight: 750; }
.tese p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }

.about-cta {
  margin-top: clamp(64px, 9vw, 110px);
  background: var(--brand); overflow: clip;
}
.about-cta .inner {
  max-width: var(--container); margin-inline: auto; padding: clamp(56px, 8vw, 96px) var(--gutter);
  display: flex; flex-direction: column; align-items: flex-start; gap: 26px;
}
.about-cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 750; color: var(--brand-ink); }
.about-cta h2 strong { color: #fff; font-weight: inherit; }
.about-cta .btn { background: var(--text); color: #fff; }
.about-cta .btn:hover { background: #26282e; }
.about-cta a:focus-visible { outline-color: var(--brand-ink); }

@media (min-width: 720px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ── prévia do app: tela NEUTRA do marketplace da cidade ──────────────────────
   A face da PLATAFORMA (entrar/criar-conta) mostra o APP DA CIDADE com lojas
   genéricas — NUNCA uma loja bespoke (a Vupt é a plataforma; a loja é cliente).
   In-HTML (sem screenshot de loja real). Desenhado pra ~230px de largura
   interna do aparelho; escala bem entre os frames de 248px e 274px. */
.appscreen {
  width: 100%; aspect-ratio: 390 / 844;
  border-radius: 24px; overflow: hidden;
  background: #fdfdfc; color: var(--text);
  display: flex; flex-direction: column;
  font-size: 9px; line-height: 1.35; -webkit-user-select: none; user-select: none;
}
.appscreen svg { display: block; }
.as-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 0; font-size: 8px; font-weight: 800; }
.as-dots { display: flex; gap: 3px; }
.as-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--text); opacity: .55; }
.as-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 8px; }
.as-loc small { display: block; font-size: 6.5px; font-weight: 800; letter-spacing: .09em; color: var(--faint); }
.as-loc b { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 750; letter-spacing: -.01em; }
.as-loc b svg { width: 11px; height: 11px; }
.as-ava { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #f4511e, #ff9a5c); }
.as-search {
  margin: 0 14px; height: 30px; border-radius: 9px; background: var(--surface-2);
  display: flex; align-items: center; gap: 6px; padding: 0 10px;
  color: var(--muted); font-size: 9.5px; font-weight: 600;
}
.as-search svg { width: 12px; height: 12px; flex: 0 0 auto; }
.as-banner { margin: 11px 14px 0; border-radius: 12px; padding: 11px 13px; background: linear-gradient(135deg, #f4511e, #ff7a3c); color: #fff; }
.as-banner small { display: block; font-size: 6.5px; font-weight: 800; letter-spacing: .11em; opacity: .92; }
.as-banner strong { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 750; letter-spacing: -.01em; line-height: 1.2; }
.as-cats { display: flex; gap: 6px; padding: 11px 14px 2px; }
.as-cats span { font-size: 9px; font-weight: 650; color: var(--muted); background: var(--surface-2); padding: 5px 9px; border-radius: 999px; }
.as-cats span.on { background: var(--text); color: #fff; }
.as-sec { padding: 9px 14px 3px; font-size: 11px; font-weight: 750; letter-spacing: -.01em; }
.as-list { list-style: none; margin: 0; padding: 0 14px; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.as-list li { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid var(--line); }
.as-list li:first-child { border-top: 0; }
.as-thumb { width: 37px; height: 37px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; letter-spacing: -.02em; }
.as-thumb.t1 { background: linear-gradient(135deg, #f4511e, #ff8a4c); }
.as-thumb.t2 { background: linear-gradient(135deg, #e0951f, #f6c453); }
.as-thumb.t3 { background: linear-gradient(135deg, #c0417a, #ec6aa0); }
.as-info { min-width: 0; }
.as-info b { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-info small { display: block; margin-top: 1px; font-size: 8.5px; color: var(--muted); }
.as-list em { margin-left: auto; font-style: normal; font-size: 8px; font-weight: 800; color: var(--green-text); background: rgba(6, 122, 85, .1); padding: 2px 6px; border-radius: 999px; white-space: nowrap; }
.as-tabs { display: flex; align-items: center; justify-content: space-around; height: 42px; padding-bottom: 6px; border-top: 1px solid var(--line); background: var(--surface); }
.as-tabs span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 7px; font-weight: 650; color: var(--faint); }
.as-tabs span svg { width: 15px; height: 15px; }
.as-tabs span.on { color: var(--brand-text); }
