:root {
  /* paleta AutoRenda — dark-first, dourado como accent (regra ~85/10/5, não decorar
     a UI inteira de dourado). nomes de variável mantidos por compatibilidade com
     todo o painel; só os valores mudaram. */
  --ink: #090A0C;
  --surface-deep: #0E1013;
  --surface: #14171B;
  --surface-2: #1B1F24;
  --yellow: #D9AE55;
  --yellow-dark: #B98B35;
  --yellow-soft: #F1D99D;
  --paper: #F5F3EE;
  --text-secondary: #C9C5BC;
  --muted: #8F8B84;
  --urgency: #E1A94C;
  --success: #48B978;
  --danger: #E15D5D;
  --border: rgba(245, 243, 238, 0.08);
  --border-strong: rgba(245, 243, 238, 0.16);
  --shadow-elevated: 0 12px 36px rgba(0, 0, 0, .28);
  --font-display: 'Inter', 'Manrope', -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: 'Inter', 'Manrope', -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}
::selection { background: var(--yellow); color: var(--ink); }
a { color: inherit; }
button, input { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- layout shell ---------- */
.shell { max-width: 1280px; margin: 0 auto; padding: 20px 24px 64px; }
.shell-narrow { max-width: 420px; margin: 0 auto; padding: 20px 24px; }

/* ---------- icons ---------- */
.icon { flex-shrink: 0; }

/* ---------- app shell (sidebar) ---------- */
:root { --sidebar-w: 250px; }

body.has-sidebar { display: flex; align-items: flex-start; min-height: 100vh; }
.main { flex: 1; min-width: 0; }
.main .shell { max-width: 1280px; }

.sidebar-toggle {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--paper); cursor: pointer;
}
.sidebar-backdrop { display: none; }

.sidebar {
  width: var(--sidebar-w); flex-shrink: 0; background: var(--surface-deep);
  border-right: 1px solid var(--border); display: flex; flex-direction: column;
  padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;
}
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 100px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 22px; }
.sidebar-brand .piscou-mark { width: 30px; height: auto; flex-shrink: 0; }
.sidebar-brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.sidebar-brand-text .word { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1; }
.sidebar-brand-text .tag { font-size: 9px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }

.sidebar-nav, .sidebar-cats { display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav a, .sidebar-cats a, .sidebar-footer a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px;
  color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600;
  transition: background .15s, color .15s;
}
.sidebar-nav a span:not(.count-badge), .sidebar-cats a span:not(.count-badge) {
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sidebar-nav a:hover, .sidebar-cats a:hover, .sidebar-footer a:hover { background: var(--surface-2); color: var(--paper); }
.sidebar-nav a.active { background: rgba(217, 174, 85, .12); color: var(--yellow); }
.sidebar-cats a.active { background: var(--surface-2); color: var(--paper); }

.count-badge {
  font-size: 10.5px; font-weight: 700; background: var(--surface-2); color: var(--paper);
  padding: 1px 7px; border-radius: 100px; font-variant-numeric: tabular-nums;
}
.count-badge.muted { background: transparent; color: var(--muted); }

.sidebar-section-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); padding: 18px 10px 6px;
}
.sidebar-cats {
  max-height: 38vh; overflow-y: auto; padding-right: 2px;
  overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;
}
.sidebar-cats::-webkit-scrollbar { width: 6px; }
.sidebar-cats::-webkit-scrollbar-track { background: transparent; }
.sidebar-cats::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 100px; }
.sidebar-cats::-webkit-scrollbar-thumb:hover { background: var(--muted); }

.sidebar-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.sidebar-footer a:hover { color: var(--danger); }

@media (max-width: 880px) {
  .sidebar-toggle { display: flex; position: fixed; top: 14px; left: 14px; z-index: 61; }
  .sidebar {
    position: fixed; left: 0; top: 0; z-index: 60; transform: translateX(-100%);
    transition: transform .2s ease; box-shadow: 0 0 40px rgba(0, 0, 0, .5);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-backdrop {
    display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 55;
  }
  .sidebar-backdrop.open { display: block; }
  .main .shell { padding-top: 68px; }
}

/* ---------- header ---------- */
.piscou-mark { width: 36px; height: auto; flex-shrink: 0; }

.speedline {
  height: 3px; margin: 0 0 20px; border-radius: 3px; overflow: hidden;
  background: var(--border);
  position: relative;
}
.speedline::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  animation: piscou-scan 2.6s ease-in-out infinite;
}
@keyframes piscou-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ---------- flash ---------- */
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; font-size: 13.5px; font-weight: 600; }
.flash.ok { background: rgba(72,185,120,.12); color: var(--success); border: 1px solid rgba(72,185,120,.28); }
.flash.err { background: rgba(225,93,93,.1); color: var(--danger); border: 1px solid rgba(225,93,93,.28); }

/* ---------- type scale (usada em todo o painel) ---------- */
/* xs 11px: badges/notas/labels · sm 13px: corpo/botoes/titulo · price 20px: numero em destaque */

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 14px; border-radius: 9px; border: none;
  font-weight: 700; font-size: 13px; cursor: pointer; line-height: 1;
  transition: background .15s, transform .1s, border-color .15s;
  font-family: var(--font-body);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border-strong); }
.btn-ghost:hover { color: var(--paper); border-color: var(--paper); }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* ---------- inputs ---------- */
.field {
  width: 100%; height: 38px; padding: 0 12px; border-radius: 9px;
  border: 1px solid var(--border-strong); background: var(--ink); color: var(--paper);
  font-size: 13px;
}
.field::placeholder { color: var(--muted); }
.field:focus { outline: none; border-color: var(--yellow); }
label.field-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }

/* ---------- grid / cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 14px; align-items: stretch; }
.card {
  background: var(--surface); border-radius: 16px; padding: 14px;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: border-color .15s, transform .12s;
}
.card:hover { border-color: var(--border-strong); }
.card.batch-eligible { position: relative; }

/* ---------- coleta em lote ---------- */
.batch-check {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  background: rgba(9, 10, 12, .75); border-radius: 7px; cursor: pointer;
}
.batch-check input { width: 16px; height: 16px; accent-color: var(--yellow); cursor: pointer; }

.batch-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 14px; margin-bottom: 16px; font-size: 13px; color: var(--muted);
  transition: border-color .15s;
}
.batch-bar.has-selection { border-color: var(--yellow); }
.batch-select-all { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.batch-select-all input { accent-color: var(--yellow); }
.batch-spacer { flex: 1; }
.batch-count { font-variant-numeric: tabular-nums; white-space: nowrap; }
.batch-bar .btn { width: auto; height: 34px; padding: 0 14px; font-size: 12.5px; }

.batch-progress {
  position: fixed; bottom: 20px; right: 20px; z-index: 2147483000;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px;
  padding: 18px 20px; width: 320px; max-width: 90vw;
  color: var(--paper); box-shadow: var(--shadow-elevated); font-family: var(--font-body);
}
.batch-progress h3 { margin: 0 0 10px; font-size: 14px; color: var(--yellow); font-weight: 700; }
.batch-progress .bp-bar { height: 6px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin-bottom: 8px; }
.batch-progress .bp-fill { height: 100%; background: var(--yellow); width: 0%; transition: width .2s; }
.batch-progress .bp-status { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; min-height: 16px; }
.batch-progress .bp-list { max-height: 120px; overflow-y: auto; font-size: 11.5px; color: var(--muted); margin-bottom: 10px; }
.batch-progress .bp-list div { padding: 2px 0; }
.batch-progress .bp-list .fail { color: var(--danger); }
.batch-progress button {
  width: 100%; padding: 8px; border-radius: 8px; border: 1px solid var(--border-strong); background: transparent;
  color: var(--muted); font-weight: 700; font-size: 12.5px; cursor: pointer; font-family: var(--font-body);
}
.batch-progress button:hover { color: var(--paper); border-color: var(--muted); }
.thumb-wrap { width: 100%; height: 130px; background: #fff; border-radius: 10px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.thumb { width: 100%; height: 100%; object-fit: contain; }
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.badges { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; line-height: 1; padding: 5px 9px; border-radius: 20px;
  background: var(--surface-2); color: var(--muted); white-space: nowrap;
}
.badge.id { color: var(--paper); font-family: var(--font-mono); }
.badge.cat { color: var(--paper); }
.chip-discount {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; line-height: 1;
  padding: 5px 8px; border-radius: 20px; background: rgba(217,174,85,.14); color: var(--yellow);
  white-space: nowrap;
}
.chip-discount.hot { background: rgba(225,169,76,.16); color: var(--urgency); animation: piscou-flash .6s ease-out; }
@keyframes piscou-flash {
  0% { box-shadow: 0 0 0 0 rgba(225,169,76,.5); }
  100% { box-shadow: 0 0 0 8px rgba(225,169,76,0); }
}
.prices { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.price { color: var(--yellow); font-weight: 800; font-size: 20px; font-family: var(--font-mono); line-height: 1; white-space: nowrap; }
.original { text-decoration: line-through; color: var(--muted); font-size: 11px; white-space: nowrap; }
.title {
  font-weight: 700; font-size: 13px; margin: 0 0 10px; line-height: 1.4; color: var(--paper);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.4em * 2);
}
.notes { color: var(--muted); font-size: 11px; margin: 0 0 10px; padding: 8px; background: var(--ink); border-radius: 8px; word-break: break-all; }
.notes a { color: var(--yellow); }
.listing-link {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 8px;
  height: 38px; color: var(--ink); background: var(--yellow); text-decoration: none;
  font-size: 13px; font-weight: 700; padding: 0 14px; border-radius: 9px;
}
.listing-link:hover { background: var(--yellow-dark); }

form.actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.actions-row { display: flex; gap: 8px; }
.actions-row .field { flex: 1; min-width: 0; text-transform: uppercase; }
.btn-icon { flex: 0 0 38px; width: 38px; padding: 0; font-size: 15px; }

.collect-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 38px; border-radius: 9px; border: 1px solid var(--border-strong);
  background: transparent; color: var(--muted); font-weight: 700; font-size: 13px; cursor: pointer;
  margin-bottom: 8px; font-family: var(--font-body); transition: border-color .15s, color .15s;
}
.collect-btn:hover { border-color: var(--paper); color: var(--paper); }

.empty {
  text-align: center; color: var(--muted); padding: 90px 0; font-size: 15px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.empty .icon { color: var(--border-strong); margin-bottom: 6px; }
.empty .big { font-family: var(--font-display); font-size: 22px; color: var(--paper); }

/* ---------- page head + toolbar ---------- */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 8px 0 18px; }
.page-title { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin: 0; line-height: 1.2; }
.page-sub { color: var(--muted); font-size: 12.5px; margin-top: 4px; }

.toolbar-search {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 14px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 9px;
  color: var(--muted); min-width: 260px;
}
.toolbar-search input {
  flex: 1; border: none; background: none; color: var(--paper); font-size: 13px; height: 100%;
  font-family: var(--font-body);
}
.toolbar-search input:focus { outline: none; }
.toolbar-search input::placeholder { color: var(--muted); }
.toolbar-search-clear { display: flex; color: var(--muted); }
.toolbar-search-clear:hover { color: var(--paper); }

.mkt-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.mkt-chip {
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  text-decoration: none; transition: border-color .15s, color .15s;
}
.mkt-chip:hover { color: var(--paper); border-color: var(--border-strong); }
.mkt-chip.active { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* ---------- paginação ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.pagination .btn { width: auto; padding: 0 16px; }
.pagination .btn.disabled { opacity: .4; pointer-events: none; }
.pagination-info { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* ---------- login / signup (split painel de marca + formulário) ---------- */
.word-accent { color: var(--yellow); }

.auth-body { margin: 0; }
.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }

.auth-panel {
  position: relative; overflow: hidden; background: var(--surface-deep);
  display: flex; align-items: center; padding: 60px; border-right: 1px solid var(--border);
}
.auth-panel-watermark {
  position: absolute; right: -60px; bottom: -60px; width: 480px; height: auto;
  opacity: .07; pointer-events: none;
}
.auth-panel-content { position: relative; z-index: 1; max-width: 420px; }
.auth-panel-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 48px; }
.auth-panel-brand img { width: 28px; height: auto; }
.auth-panel-brand span { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--paper); }
.auth-panel-content h1 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2; margin: 0 0 16px; text-wrap: balance;
}
.auth-panel-content p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin: 0 0 28px; }
.auth-panel-trust { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.auth-panel-trust span { display: flex; align-items: center; gap: 8px; }
.auth-panel-trust .icon { color: var(--success); }

.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-form-box { width: 100%; max-width: 360px; }
.auth-form-head { margin-bottom: 26px; }
.auth-form-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin: 0 0 6px; }
.auth-form-head p { color: var(--muted); font-size: 13.5px; margin: 0; }
.auth-form-box form { display: flex; flex-direction: column; gap: 4px; }
.auth-form-box .field { margin-bottom: 14px; }
.auth-form-box .btn-block { margin-top: 8px; }
.auth-form-footnote { color: var(--muted); font-size: 12.5px; margin-top: 20px; text-align: center; }
.auth-form-footnote a { color: var(--yellow); font-weight: 600; }

@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-panel { display: none; }
  .auth-form-side { min-height: 100vh; }
}

/* ---------- generic page card (whatsapp/extensao/manual) ---------- */
.panel-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px; margin-bottom: 16px; }
.panel-card h2 { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0 0 14px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 100px; font-weight: 700; font-size: 13px; margin-bottom: 18px; }
.status-pill.ok { background: rgba(72,185,120,.12); color: var(--success); }
.status-pill.pending { background: rgba(217,174,85,.1); color: var(--yellow); }

code.k { font-family: var(--font-mono); background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: 12.5px; color: var(--yellow); }

/* ---------- status de assinatura (assinatura.php) ---------- */
.sub-status { display:flex; align-items:center; gap:10px; padding:14px 16px; border-radius:12px; margin-bottom:18px; }
.sub-status.pago { background: rgba(72,185,120,.12); color: var(--success); }
.sub-status.pendente { background: rgba(217,174,85,.12); color: var(--yellow); }
.sub-status.vencido, .sub-status.recusado { background: rgba(225,93,93,.12); color: var(--danger); }

/* ============================================================
   Landing page (autorenda.com.br /) — página pública, fora do
   app shell autenticado. Reusa os mesmos tokens de cor/tipografia
   do painel; layout e componentes são próprios desta página.
   ============================================================ */
.lp { background: var(--ink); overflow-x: clip; }

.lp-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 0 auto; padding: 22px 24px;
}
.lp-nav-brand { display: flex; align-items: center; gap: 10px; }
.lp-nav-brand img { width: 30px; height: auto; }
.lp-nav-brand span { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.lp-nav a.btn { width: auto; padding: 0 18px; }

.lp-hero {
  position: relative; max-width: 1180px; margin: 0 auto; padding: 64px 24px 88px;
  text-align: center;
}
.lp-hero::before {
  content: ""; position: absolute; top: -120px; left: 50%; translate: -50% 0;
  width: 900px; height: 560px; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(217,174,85,.16), transparent 65%);
}
.lp-eyebrow {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase;
  letter-spacing: .09em; background: var(--surface); border: 1px solid var(--border-strong);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 26px;
}
.lp-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.lp-hero h1 {
  position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 6vw, 68px); line-height: 1.04; margin: 0 0 22px; letter-spacing: -.025em;
  text-wrap: balance;
}
.lp-hero h1 .word-accent { color: var(--yellow); }
.lp-hero p.lead {
  position: relative; z-index: 1; max-width: 620px; margin: 0 auto 34px;
  color: var(--text-secondary); font-size: 17px; line-height: 1.6;
}
.lp-hero-ctas { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lp-hero-ctas .btn-primary { height: 52px; padding: 0 30px; font-size: 15px; border-radius: 11px; }
.lp-trust-row {
  display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted); font-weight: 600;
}
.lp-trust-row span { display: inline-flex; align-items: center; gap: 6px; }

/* feed ao vivo — elemento de assinatura da página. em vez de um print estático
   do produto, mostra a máquina publicando de verdade, sem parar, com hora
   variando pelo dia inteiro — isso é o que "roda sozinha" quer dizer. */
.lp-feed-wrap { position: relative; z-index: 1; max-width: 420px; margin: 52px auto 0; }
.lp-feed {
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px;
  box-shadow: var(--shadow-elevated); text-align: left; overflow: hidden;
}
.lp-feed-head {
  display: flex; align-items: center; gap: 8px; padding: 14px 18px;
  border-bottom: 1px solid var(--border); font-size: 11.5px; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .06em;
}
.lp-feed-head .dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 3px rgba(72,185,120,.18);
}
.lp-feed-viewport { height: 258px; overflow: hidden; mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent); }
.lp-feed-stream { animation: lp-feed-scroll 22s linear infinite; }
.lp-feed-item { display: flex; align-items: flex-start; gap: 11px; padding: 13px 18px; border-bottom: 1px solid var(--border); }
.lp-feed-item .ch {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: flex;
  align-items: center; justify-content: center; margin-top: 1px;
}
.lp-feed-item .ch.wa { background: #25D366; color: #fff; }
.lp-feed-item .ch.tg { background: #2AABEE; color: #fff; }
.lp-feed-item .body { min-width: 0; }
.lp-feed-item .ts { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.lp-feed-item .txt { font-size: 12.5px; line-height: 1.45; color: var(--paper); margin-top: 2px; }
.lp-feed-item .txt .price { color: var(--yellow); font-weight: 800; font-family: var(--font-mono); }
.lp-feed-item .txt .off { color: var(--success); font-weight: 700; font-size: 11px; }
@keyframes lp-feed-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .lp-feed-stream { animation: none; } }

.lp-marketplaces { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 0 24px 56px; max-width: 900px; margin: 0 auto; }
.lp-marketplaces span {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); padding: 8px 16px; border-radius: 100px;
}

.lp-problem { background: var(--surface-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1180px; margin: 0 auto; padding: 70px 24px; }
.lp-problem-item { text-align: center; }
.lp-problem-item .icon { color: var(--danger); margin-bottom: 14px; }
.lp-problem-item p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.55; margin: 0; }
@media (max-width: 880px) { .lp-problem-grid { grid-template-columns: 1fr 1fr; } }

.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.lp-stat { text-align: center; }
.lp-stat .num { font-family: var(--font-mono); font-weight: 800; font-size: 34px; color: var(--yellow); line-height: 1; }
.lp-stat .label { color: var(--muted); font-size: 12.5px; margin-top: 8px; }
@media (max-width: 880px) { .lp-stats { grid-template-columns: 1fr 1fr; } }

.lp-section { max-width: 1180px; margin: 0 auto; padding: 90px 24px; }
.lp-section.tight { padding-top: 0; }
.lp-section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.lp-section-eyebrow { font-size: 12px; font-weight: 700; color: var(--yellow); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.lp-section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; text-wrap: balance; }
.lp-section-head p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0; }

/* trilho conectado — não são 3 cards soltos, é UM caminho, com a mesma seta
   ascendente do símbolo AR fechando o percurso. a numeração aqui é uma
   sequência real (etapa 1 acontece antes da 2), por isso ganhou o lugar. */
.lp-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.lp-rail::before {
  content: ""; position: absolute; top: 21px; left: calc(100% / 6); right: calc(100% / 6);
  height: 1px; background: linear-gradient(90deg, var(--border-strong), var(--yellow) 85%, var(--yellow));
}
.lp-step { position: relative; padding: 0 20px; text-align: left; }
.lp-step:first-child { padding-left: 0; }
.lp-step:last-child { padding-right: 0; }
.lp-step .n {
  position: relative; z-index: 1; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--ink); background: var(--yellow); width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
  box-shadow: 0 0 0 6px var(--ink);
}
.lp-step:last-child .n { background: var(--ink); color: var(--yellow); border: 1.5px solid var(--yellow); }
.lp-step h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0 0 8px; }
.lp-step p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 0; }
@media (max-width: 880px) {
  .lp-rail { grid-template-columns: 1fr; gap: 32px; }
  .lp-rail::before { top: 0; bottom: 0; left: 20px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--border-strong), var(--yellow)); }
  .lp-step { padding: 0 0 0 52px; }
  .lp-step:first-child, .lp-step:last-child { padding-left: 52px; }
}

.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-feature { padding: 22px; border-radius: 14px; border: 1px solid var(--border); }
.lp-feature .icon { color: var(--yellow); margin-bottom: 14px; }
.lp-feature h4 { font-size: 14.5px; font-weight: 700; margin: 0 0 6px; }
.lp-feature p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }

/* grid de 3 planos — reusado na landing (lp-pricing-wrap) e em /assinatura.php
   (dentro do app shell, sem o wrap). Mesma classe .plan-card nos dois lugares. */
.lp-pricing-wrap { max-width: 980px; margin: 0 auto; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 30px 24px; text-align: center; position: relative; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
/* plano em destaque: não é uma barra decorativa em cima — é o card inteiro
   ganhando peso (fundo sólido, maior, elevado), a mesma lógica de "isso aqui
   é a escolha certa" que uma vitrine física usaria, não um adesivo. */
.plan-card.destaque {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border-color: var(--yellow); transform: scale(1.055); z-index: 1;
  box-shadow: 0 20px 50px -18px rgba(217,174,85,.35);
}
.plan-card.destaque:hover { transform: scale(1.055) translateY(-4px); box-shadow: 0 24px 56px -16px rgba(217,174,85,.4); }
.plan-card .ribbon {
  position: absolute; top: -11px; left: 50%; translate: -50% 0; background: var(--yellow); color: var(--ink);
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 12px; border-radius: 100px; white-space: nowrap;
}
.plan-card .plan-label { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.plan-card.destaque .plan-label { color: var(--yellow); }
.plan-card .plan-amount { font-family: var(--font-mono); font-weight: 800; font-size: 34px; color: var(--paper); line-height: 1; }
.plan-card .plan-amount .cents { font-size: 16px; vertical-align: top; }
.plan-card .plan-per { font-size: 12px; color: var(--muted); margin: 8px 0 4px; }
.plan-card .plan-economy { font-size: 11.5px; color: var(--success); font-weight: 700; min-height: 16px; margin-bottom: 18px; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-card ul li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--text-secondary); }
.plan-card ul li .check { color: var(--success); flex-shrink: 0; margin-top: 1px; }
.plan-card .btn { width: 100%; margin-top: auto; }
@media (max-width: 780px) { .plan-card.destaque { transform: none; } .plan-card.destaque:hover { transform: translateY(-4px); } }
.lp-pricing-guarantee { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 22px; }
.lp-pricing-guarantee .icon { color: var(--success); }
@media (max-width: 780px) { .plan-grid { grid-template-columns: 1fr; } }

.lp-guarantee {
  display: flex; align-items: center; gap: 32px; background: var(--surface-deep);
  border: 1px solid var(--border); border-radius: 20px; padding: 40px;
}
.lp-guarantee .badge {
  flex-shrink: 0; width: 96px; height: 96px; border-radius: 50%;
  background: rgba(217,174,85,.1); border: 1.5px solid var(--yellow);
  display: flex; align-items: center; justify-content: center; color: var(--yellow);
}
.lp-guarantee h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 8px; }
.lp-guarantee p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }

.lp-faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.lp-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.lp-faq summary { cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .chev { color: var(--muted); transition: transform .18s ease; flex-shrink: 0; }
.lp-faq details[open] summary .chev { transform: rotate(180deg); }
.lp-faq p { color: var(--muted); font-size: 13.5px; line-height: 1.65; margin: 12px 0 0; }

.lp-final-cta { text-align: center; padding: 90px 24px 100px; }
.lp-final-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 4vw, 40px); margin: 0 0 16px; text-wrap: balance; }
.lp-final-cta p { color: var(--muted); font-size: 15.5px; margin: 0 0 30px; }

.lp-footer { border-top: 1px solid var(--border); padding: 32px 24px; text-align: center; }
.lp-footer img { height: 22px; width: auto; opacity: .8; margin-bottom: 10px; }
.lp-footer p { color: var(--muted); font-size: 12px; margin: 0; }

@media (max-width: 880px) {
  .lp-features { grid-template-columns: 1fr; }
  .lp-guarantee { flex-direction: column; text-align: center; padding: 32px 24px; }
}

/* ---------- motion (scroll-reveal + hover) ----------
   150-220ms, discreto, sem loop infinito — só entrada ao rolar e hover. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view .reveal-child:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in-view .reveal-child:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.in-view .reveal-child:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.in-view .reveal-child:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.in-view .reveal-child:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.in-view .reveal-child:nth-child(6) { transition-delay: 350ms; }
.reveal-stagger .reveal-child { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.reveal-stagger.in-view .reveal-child { opacity: 1; transform: translateY(0); }
/* .plan-card.destaque também é .reveal-child — as duas regras acima e o scale()
   do destaque disputam a MESMA propriedade transform com especificidade igual;
   sem isso aqui, o scale desaparece silenciosamente (mesma classe de bug que a
   diretriz de design pede pra vigiar: seletores cancelando um ao outro). */
.reveal-stagger .reveal-child.plan-card.destaque { transform: translateY(14px) scale(1.055); }
.reveal-stagger.in-view .reveal-child.plan-card.destaque { transform: scale(1.055); }

.lp-step, .lp-feature, .plan-card {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.lp-step:hover, .lp-feature:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }

.lp-feed-wrap { animation: lp-feed-in .7s cubic-bezier(.2,.7,.3,1) .22s both; }
@keyframes lp-feed-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.lp-hero h1, .lp-hero p.lead, .lp-hero-ctas { animation: lp-fade-up .6s ease both; }
.lp-hero p.lead { animation-delay: .08s; }
.lp-hero-ctas { animation-delay: .16s; }
@keyframes lp-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger .reveal-child { opacity: 1 !important; transform: none !important; transition: none !important; }
  .lp-feed-wrap, .lp-hero h1, .lp-hero p.lead, .lp-hero-ctas { animation: none !important; opacity: 1 !important; transform: none !important; }
}
