/* ═══════════════════════════════════════════════════════════════════════════
   Briefenta AI — Páginas públicas (landing, preços, legal, auth)
   Depende dos tokens e fontes do ds.css. NÃO usa Bootstrap.
   ═══════════════════════════════════════════════════════════════════════════ */

/* as páginas públicas rolam normalmente (o app usa overflow:hidden) */
body.pub { overflow: auto; background: var(--surface); }

.pub-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.pub-wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────────────────────────────────────── */

.pub-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 30, 60, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pub-nav.on-light {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--border);
}
.pub-nav-inner {
  height: 62px;
  display: flex; align-items: center; gap: 26px;
}
.pub-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.pub-logo .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
.pub-logo .logo-mark svg { width: 16px; height: 16px; }
.pub-nav.on-light .pub-logo .logo-mark {
  background: var(--brand-lt); border-color: var(--brand-md);
}
.pub-nav.on-light .pub-logo .logo-mark svg { color: var(--brand); }
.pub-nav.on-light .logo-text { color: var(--text-1); }

.pub-nav-links { display: flex; align-items: center; gap: 22px; margin-left: 12px; }
.pub-nav-link {
  font-size: 13.5px; font-weight: 500;
  color: rgba(255, 255, 255, 0.62); text-decoration: none;
  transition: color 0.15s;
}
.pub-nav-link:hover { color: #fff; }
.pub-nav.on-light .pub-nav-link { color: var(--text-2); }
.pub-nav.on-light .pub-nav-link:hover { color: var(--brand); }

.pub-nav-spacer { flex: 1; }
.pub-nav-actions { display: flex; align-items: center; gap: 10px; }

/* ── Botões ─────────────────────────────────────────────────────────────── */

.btn-pub {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  padding: 10px 20px; border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.12s, background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn-pub:active { transform: translateY(1px); }
.btn-pub svg { width: 15px; height: 15px; }

.btn-pub-primary {
  background: var(--brand); color: #fff; border-color: var(--brand);
  box-shadow: 0 6px 18px rgba(67, 97, 238, 0.32);
}
.btn-pub-primary:hover { background: #3550d8; border-color: #3550d8; color: #fff; }

.btn-pub-ghost { background: transparent; color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.22); }
.btn-pub-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.pub-nav.on-light .btn-pub-ghost { color: var(--text-2); border-color: var(--border-md); }
.pub-nav.on-light .btn-pub-ghost:hover { background: var(--bg); color: var(--text-1); }

.btn-pub-light { background: #fff; color: var(--sb-bg); border-color: #fff; }
.btn-pub-light:hover { background: #eef1fd; border-color: #eef1fd; color: var(--sb-bg); }

.btn-pub-outline { background: transparent; color: var(--brand); border-color: var(--brand-md); }
.btn-pub-outline:hover { background: var(--brand-lt); }

.btn-pub-block { width: 100%; }
.btn-pub-lg { padding: 13px 26px; font-size: 14.5px; }

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  background: var(--sb-bg);
  background-image:
    radial-gradient(ellipse 70% 60% at 15% -10%, rgba(99, 130, 255, 0.30) 0%, transparent 62%),
    radial-gradient(ellipse 50% 50% at 90% 10%, rgba(247, 37, 133, 0.16) 0%, transparent 60%);
  color: #fff;
  padding: 76px 0 88px;
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  padding: 5px 13px 5px 8px;
  font-size: 11.5px; font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px rgba(10, 191, 142, 0.25);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -1.6px;
  color: #fff; margin: 0 0 20px;
}
.hero h1 .grad {
  background: linear-gradient(96deg, #7b9fff 10%, #c9a4ff 55%, #ff7ab8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 16px; line-height: 1.62;
  color: rgba(255, 255, 255, 0.66);
  max-width: 30em; margin: 0 0 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-note { font-size: 12.5px; color: rgba(255, 255, 255, 0.45); }
.hero-note strong { color: rgba(255, 255, 255, 0.72); font-weight: 600; }

/* mock do post gerado — ilustração, não um screenshot real */
.hero-mock {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
}
.mock-bar {
  height: 34px; background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px; padding: 0 12px;
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-md); }
.mock-title { margin-left: 6px; font-size: 10.5px; font-weight: 600; color: var(--text-3); }
.mock-body { padding: 16px 18px 18px; }
.mock-head { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.mock-av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #4361ee, #7b5cf6);
  flex-shrink: 0;
}
.mock-name { font-size: 12px; font-weight: 700; color: var(--text-1); }
.mock-meta { font-size: 10.5px; color: var(--text-3); }
.mock-chip {
  margin-left: auto;
  font-size: 9.5px; font-weight: 700;
  background: var(--brand-lt); color: var(--brand);
  padding: 3px 8px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.mock-line { height: 8px; border-radius: 4px; background: var(--border); margin-bottom: 8px; }
.mock-line.w95 { width: 95%; } .mock-line.w88 { width: 88%; }
.mock-line.w72 { width: 72%; } .mock-line.w60 { width: 60%; }
.mock-item {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 8px 0; border-top: 1px solid var(--border);
}
.mock-emoji { font-size: 13px; line-height: 1.2; }
.mock-item-body { flex: 1; }
.mock-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.mock-tag {
  font-size: 9.5px; font-weight: 600; color: var(--brand);
  background: var(--brand-lt); padding: 2px 7px; border-radius: 5px;
}

/* ── Faixa de números ───────────────────────────────────────────────────── */

.stat-strip {
  background: var(--sb-bg2);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 26px 0;
}
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; }
.stat-value {
  font-family: var(--font-display); font-weight: 800;
  font-size: 26px; color: #fff; letter-spacing: -0.8px;
}
.stat-label { font-size: 11.5px; color: rgba(255, 255, 255, 0.45); margin-top: 3px; }

/* ── Seções ─────────────────────────────────────────────────────────────── */

.pub-section { padding: 78px 0; }
.pub-section.alt { background: var(--bg); }
.pub-section.navy {
  background: var(--sb-bg);
  background-image: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(99, 130, 255, 0.2) 0%, transparent 65%);
  color: #fff;
}

.sec-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.sec-tag {
  display: inline-block;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-lt);
  padding: 4px 11px; border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.pub-section.navy .sec-tag { color: #a5bcff; background: rgba(123, 159, 255, 0.16); }
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 35px); font-weight: 800;
  letter-spacing: -1px; line-height: 1.16;
  color: var(--text-1); margin: 0 0 12px;
}
.pub-section.navy .sec-title { color: #fff; }
.sec-sub { font-size: 15px; line-height: 1.6; color: var(--text-2); margin: 0; }
.pub-section.navy .sec-sub { color: rgba(255, 255, 255, 0.6); }

/* ── Passos ─────────────────────────────────────────────────────────────── */

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-card);
  padding: 26px 24px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.step:hover { border-color: var(--brand-md); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.step-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 12px; color: var(--brand);
  background: var(--brand-lt);
  width: 26px; height: 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-icon { width: 22px; height: 22px; color: var(--brand); margin-bottom: 12px; }
.step h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 800;
  letter-spacing: -0.3px; color: var(--text-1); margin: 0 0 8px;
}
.step p { font-size: 13.5px; line-height: 1.6; color: var(--text-2); margin: 0; }

/* ── Recursos ───────────────────────────────────────────────────────────── */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-card);
  padding: 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature:hover { border-color: var(--border-md); box-shadow: var(--shadow-card); }
.feature-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-icon svg { width: 17px; height: 17px; }
.feature-icon.blue   { background: var(--brand-lt);  color: var(--brand); }
.feature-icon.green  { background: var(--green-lt);  color: var(--green); }
.feature-icon.amber  { background: var(--amber-lt);  color: var(--amber); }
.feature-icon.purple { background: var(--purple-lt); color: var(--purple); }
.feature-icon.pink   { background: var(--pink-lt);   color: var(--pink); }
.feature-icon.red    { background: var(--red-lt);    color: var(--red); }
.feature h3 {
  font-family: var(--font-display); font-size: 14.5px; font-weight: 800;
  letter-spacing: -0.2px; color: var(--text-1); margin: 0 0 7px;
}
.feature p { font-size: 13px; line-height: 1.58; color: var(--text-2); margin: 0; }

/* ── Planos ─────────────────────────────────────────────────────────────── */

.billing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  padding: 4px; width: max-content; margin: 0 auto 36px;
}
.billing-opt {
  border: none; background: transparent;
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--text-3);
  padding: 8px 18px; border-radius: var(--r-pill);
  cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.18s, color 0.18s;
}
.billing-opt[aria-selected='true'] { background: var(--brand); color: #fff; }
.billing-save {
  font-size: 10px; font-weight: 700;
  background: var(--green-lt); color: var(--green);
  padding: 2px 7px; border-radius: var(--r-pill);
}
.billing-opt[aria-selected='true'] .billing-save { background: rgba(255, 255, 255, 0.2); color: #fff; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }

.plan-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.plan-card:hover { border-color: var(--border-md); box-shadow: var(--shadow-card); }
.plan-card.popular {
  border-color: var(--brand);
  box-shadow: 0 12px 42px rgba(67, 97, 238, 0.16);
  transform: translateY(-6px);
}
.plan-card.popular:hover { transform: translateY(-8px); }

.plan-badge {
  position: absolute; top: -11px; left: 26px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand), #7b5cf6);
  color: #fff; padding: 4px 11px; border-radius: var(--r-pill);
}
.plan-name {
  font-family: var(--font-display); font-size: 19px; font-weight: 800;
  letter-spacing: -0.4px; color: var(--text-1); margin: 0 0 6px;
}
.plan-tagline { font-size: 12.5px; line-height: 1.5; color: var(--text-3); margin: 0 0 20px; min-height: 38px; }

.plan-price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 4px; }
.plan-price .amount {
  font-family: var(--font-display); font-size: 34px; font-weight: 800;
  letter-spacing: -1.4px; color: var(--text-1); line-height: 1;
}
.plan-price .period { font-size: 12.5px; color: var(--text-3); font-weight: 500; }
.plan-price-note { font-size: 11.5px; color: var(--text-3); min-height: 17px; margin-bottom: 20px; }
.plan-price-note strong { color: var(--green); font-weight: 700; }

.plan-cta { margin-bottom: 22px; }

.plan-features-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--text-3);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.plan-features-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.plan-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; line-height: 1.45; color: var(--text-2);
}
.plan-features li svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--green); }
.plan-features li.off { color: var(--text-3); }
.plan-features li.off svg { color: var(--text-3); }

/* alternância mensal/anual */
.plan-grid[data-billing='month'] .price-year,
.plan-grid[data-billing='year'] .price-month { display: none; }

/* ── Recargas ───────────────────────────────────────────────────────────── */

.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pack {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-card); padding: 20px 22px;
  display: flex; align-items: center; gap: 16px;
}
.pack-credits {
  font-family: var(--font-display); font-size: 24px; font-weight: 800;
  color: var(--brand); letter-spacing: -0.8px; line-height: 1;
}
.pack-unit { font-size: 11px; color: var(--text-3); }
.pack-price { margin-left: auto; text-align: right; }
.pack-price .v { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--text-1); }
.pack-price .u { font-size: 10.5px; color: var(--text-3); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--brand-md); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 16px 20px;
  font-size: 14px; font-weight: 600; color: var(--text-1);
  display: flex; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; margin-left: auto; flex-shrink: 0;
  width: 9px; height: 9px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-item summary:hover { color: var(--brand); }
.faq-body { padding: 0 20px 18px; font-size: 13.5px; line-height: 1.65; color: var(--text-2); }
.faq-body p { margin: 0 0 10px; }
.faq-body p:last-child { margin-bottom: 0; }

/* ── CTA final ──────────────────────────────────────────────────────────── */

.cta-box { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 800;
  letter-spacing: -1.2px; color: #fff; margin: 0 0 14px; line-height: 1.14;
}
.cta-box p { font-size: 15px; color: rgba(255, 255, 255, 0.62); margin: 0 0 28px; line-height: 1.6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── Footer ─────────────────────────────────────────────────────────────── */

.pub-footer { background: var(--sb-bg); color: rgba(255, 255, 255, 0.5); padding: 48px 0 26px; }
.pub-footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px; padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pub-footer-about { font-size: 13px; line-height: 1.62; margin: 14px 0 0; max-width: 30em; }
.pub-footer h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35); margin: 0 0 14px;
}
.pub-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pub-footer a { font-size: 13px; color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.15s; }
.pub-footer a:hover { color: #fff; }
.pub-footer-bottom {
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255, 255, 255, 0.35);
}
.pub-footer-legal { max-width: 62ch; line-height: 1.55; }

/* ── Páginas legais ─────────────────────────────────────────────────────── */

.legal-hero { background: var(--bg); border-bottom: 1px solid var(--border); padding: 48px 0 36px; }
.legal-hero h1 {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  letter-spacing: -1px; color: var(--text-1); margin: 0 0 8px;
}
.legal-hero .updated { font-size: 12.5px; color: var(--text-3); }

.legal-draft {
  background: var(--amber-lt);
  border: 1.5px solid var(--amber);
  border-radius: var(--r-card);
  padding: 16px 18px; margin: 28px 0;
  font-size: 13px; line-height: 1.6; color: #8a5d00;
}
.legal-draft strong { display: block; margin-bottom: 4px; color: #6b4800; }

.legal-body { padding: 40px 0 72px; font-size: 14px; line-height: 1.75; color: var(--text-2); }
.legal-body h2 {
  font-family: var(--font-display); font-size: 19px; font-weight: 800;
  letter-spacing: -0.4px; color: var(--text-1);
  margin: 34px 0 12px; padding-top: 6px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 15px; font-weight: 700; color: var(--text-1); margin: 22px 0 8px; }
.legal-body p { margin: 0 0 13px; }
.legal-body ul, .legal-body ol { margin: 0 0 13px; padding-left: 22px; }
.legal-body li { margin-bottom: 7px; }
.legal-body strong { color: var(--text-1); font-weight: 600; }
.legal-body a { color: var(--brand); }
.legal-toc {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-card); padding: 18px 22px; margin-bottom: 32px;
}
.legal-toc h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-3); margin: 0 0 10px;
}
.legal-toc ol { margin: 0; padding-left: 18px; font-size: 13px; }
.legal-toc li { margin-bottom: 5px; }

/* ── Auth (login / cadastro) ────────────────────────────────────────────── */

body.auth { overflow: auto; }
.auth-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

.auth-aside {
  background: var(--sb-bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(99, 130, 255, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(247, 37, 133, 0.14) 0%, transparent 60%);
  color: #fff;
  padding: 44px 52px;
  display: flex; flex-direction: column;
}
.auth-aside-body { margin: auto 0; max-width: 26em; }
.auth-aside h2 {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800; line-height: 1.16;
  letter-spacing: -1.1px; color: #fff; margin: 0 0 16px;
}
.auth-aside p { font-size: 14.5px; line-height: 1.66; color: rgba(255, 255, 255, 0.6); margin: 0 0 28px; }
.auth-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.auth-points li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.78);
}
.auth-points svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; color: #2ad4a4; }
.auth-aside-foot { font-size: 12px; color: rgba(255, 255, 255, 0.32); }

.auth-main {
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  padding: 44px 24px;
}
.auth-form { width: 100%; max-width: 380px; }
.auth-form h1 {
  font-family: var(--font-display); font-size: 25px; font-weight: 800;
  letter-spacing: -0.7px; color: var(--text-1); margin: 0 0 6px;
}
.auth-form .lead { font-size: 13.5px; color: var(--text-3); margin: 0 0 26px; }

.field { margin-bottom: 15px; }
.field label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-2); margin-bottom: 6px;
}
.field input {
  width: 100%; font-family: inherit; font-size: 13.5px;
  padding: 10px 13px;
  background: var(--surface); color: var(--text-1);
  border: 1.5px solid var(--border-md); border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus { outline: none; border-color: var(--brand-md); box-shadow: 0 0 0 3px var(--brand-lt); }
.field input::placeholder { color: var(--text-3); }
.field .hint { font-size: 11.5px; color: var(--text-3); margin-top: 5px; }
.field-pwd { position: relative; }
.field-pwd input { padding-right: 42px; }
.field-pwd .peek {
  position: absolute; right: 6px; bottom: 5px;
  width: 30px; height: 30px; border: none; background: transparent;
  color: var(--text-3); cursor: pointer; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.field-pwd .peek:hover { background: var(--bg); color: var(--text-1); }
.field-pwd .peek svg { width: 15px; height: 15px; }

.auth-alert {
  border-radius: 10px; padding: 11px 14px; margin-bottom: 18px;
  font-size: 13px; line-height: 1.5;
  display: flex; align-items: flex-start; gap: 9px;
}
.auth-alert svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.auth-alert.err  { background: var(--red-lt);   color: var(--red);   border: 1.5px solid var(--red); }
.auth-alert.ok   { background: var(--green-lt); color: var(--green); border: 1.5px solid var(--green); }
.auth-alert.info { background: var(--brand-lt); color: var(--brand); border: 1.5px solid var(--brand-md); }

.auth-switch { text-align: center; font-size: 13px; color: var(--text-3); margin-top: 20px; }
.auth-switch a { font-weight: 600; }
.auth-terms { font-size: 11.5px; line-height: 1.55; color: var(--text-3); margin-top: 16px; text-align: center; }

/* ── Responsivo ─────────────────────────────────────────────────────────── */

@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-mock { transform: none; max-width: 460px; }
  .step-grid, .feature-grid, .plan-grid, .pack-grid { grid-template-columns: 1fr; }
  .plan-card.popular { transform: none; }
  .plan-card.popular:hover { transform: translateY(-2px); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pub-footer-grid { grid-template-columns: 1fr 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .pub-nav-links { display: none; }
}

@media (max-width: 575.98px) {
  .pub-wrap, .pub-wrap-narrow { padding: 0 16px; }
  .pub-section { padding: 52px 0; }
  .hero { padding: 52px 0 60px; }
  .pub-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-cta .btn-pub { width: 100%; }
  .billing-toggle { width: 100%; }
  .billing-opt { flex: 1; justify-content: center; }
}
