/* ZMatcher demo3 — Design system
   Mobile-first (375px base). Pecuarista 70 anos OU jovem no celular.
   Tipografia grande. Fluxo vertical. Uma ação por tela. */

/* ===== Fontes ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ===== Tokens ===== */
:root {
  /* Cores */
  --bg: #FAF8F4;            /* bege quente */
  --surface: #FFFFFF;
  --border: #EAE5D9;
  --border-strong: #D4CEBD;

  --text: #1A2332;          /* corpo */
  --text-soft: #5A6573;     /* secundário */
  --text-faint: #98A0AC;

  --green-cta: #2D8C2D;     /* botão principal */
  --green-cta-dark: #246E24;
  --green-zuz: #67962D;     /* selo ZUZ */
  --green-pale: #EBF5E0;
  --green-deep: #3E5C1A;

  --gold: #D4A843;
  --gold-pale: #FDF6E3;

  --red: #C02626;
  --red-pale: #FEE7E6;

  --blue-soft: #E8F0FE;
  --blue-mid: #3A72C4;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(26,35,50,0.04);
  --shadow-md: 0 2px 10px rgba(26,35,50,0.07);
  --shadow-lg: 0 8px 28px rgba(26,35,50,0.10);

  /* Raios */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Espaçamento */
  --gap-1: 4px;
  --gap-2: 8px;
  --gap-3: 12px;
  --gap-4: 16px;
  --gap-5: 20px;
  --gap-6: 24px;
  --gap-7: 32px;
  --gap-8: 48px;

  /* Tipografia */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 18px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 88px;  /* espaço pro rodapé 0800 */
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 var(--gap-5);
}

/* ===== Top bar ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 520px; margin: 0 auto;
  padding: 14px var(--gap-5);
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; color: var(--text);
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--green-zuz), var(--green-cta-dark));
  color: white; display: grid; place-items: center;
  font-weight: 900; font-size: 13px; letter-spacing: -0.5px;
}
.brand-name { line-height: 1.1; }
.brand-name small { display: block; font-size: 11px; font-weight: 500; color: var(--text-soft); letter-spacing: 0.2px; }
.toggle-detalhes {
  font-size: 13px; color: var(--green-deep);
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--green-pale);
  border: 1px solid #B8DCA0;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: all 0.15s;
  white-space: nowrap;
}
.toggle-detalhes:hover {
  background: var(--green-zuz); color: white;
  border-color: var(--green-zuz);
}
.topbar-actions {
  display: flex; gap: 8px; align-items: center;
}
.toggle-indice {
  font-size: 13px; color: var(--text-soft);
  padding: 8px 12px; border-radius: var(--radius-pill);
  background: white;
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: all 0.15s;
  white-space: nowrap;
}
.toggle-indice:hover {
  background: var(--bg); color: var(--text);
  border-color: var(--border-strong);
}

@media (max-width: 420px) {
  .toggle-detalhes, .toggle-indice { font-size: 12px; padding: 7px 10px; }
  .brand-name { font-size: 16px; }
  .brand-name small { display: none; }
}

/* Contexto da transacao (VENDA / COMPRA) abaixo da topbar */
.contexto-bar {
  position: sticky; top: 60px; z-index: 40;
  background: white;
  border-bottom: 1px solid var(--border);
}
.contexto-inner {
  max-width: 520px; margin: 0 auto;
  padding: 8px var(--gap-5);
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px;
}
.contexto-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 11px; letter-spacing: 0.5px;
  text-transform: uppercase;
}
.contexto-chip.venda {
  background: var(--green-pale); color: var(--green-deep);
  border: 1px solid #B8DCA0;
}
.contexto-chip.compra {
  background: var(--gold-pale); color: #8B6914;
  border: 1px solid #E8D9A5;
}
.contexto-label {
  color: var(--text-soft); font-size: 12.5px; font-weight: 500;
}
.contexto-label strong { color: var(--text); font-weight: 700; }

/* ============================================================
   INDICE OVERLAY — menu de telas da demo
   ============================================================ */
.indice-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(12, 26, 44, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: var(--gap-5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
  overflow-y: auto;
}
.indice-overlay.aberto {
  opacity: 1; pointer-events: auto;
}
.indice-card {
  background: white;
  border-radius: var(--radius);
  padding: 0;
  max-width: 480px; width: 100%;
  margin: var(--gap-6) auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.indice-overlay.aberto .indice-card {
  transform: translateY(0);
}
.indice-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: var(--gap-5) var(--gap-5) var(--gap-4);
  border-bottom: 1px solid var(--border);
  gap: var(--gap-3);
}
.indice-head-titulo {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}
.indice-head-sub {
  font-size: 13px; color: var(--text-soft);
  margin-top: 2px;
}
.indice-close {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); color: var(--text-soft);
  border: 1px solid var(--border);
  font-size: 22px; font-weight: 700;
  line-height: 1;
  cursor: pointer; font-family: inherit;
  display: grid; place-items: center;
  transition: all 0.15s;
}
.indice-close:hover {
  background: var(--text); color: white; border-color: var(--text);
}
.indice-lista {
  padding: var(--gap-4) var(--gap-5) var(--gap-5);
}
.indice-grupo { margin-bottom: var(--gap-5); }
.indice-grupo:last-child { margin-bottom: 0; }
.indice-grupo-titulo {
  font-size: 11px; font-weight: 800;
  color: var(--text-soft);
  text-transform: uppercase; letter-spacing: 1.3px;
  margin-bottom: var(--gap-2);
}
.indice-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid transparent;
  margin-bottom: 6px;
  text-decoration: none;
  color: inherit;
  transition: all 0.12s;
}
.indice-item:hover {
  background: var(--green-pale);
  border-color: #C9E0A8;
  transform: translateX(2px);
}
.indice-item.ativo {
  background: linear-gradient(135deg, var(--green-pale), #DDF0C8);
  border-color: var(--green-zuz);
  box-shadow: 0 2px 8px rgba(103,150,45,0.15);
}
.indice-etapa {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-zuz); color: white;
  font-family: var(--font-serif);
  font-weight: 800; font-size: 15px;
  display: grid; place-items: center;
}
.indice-etapa.neutra {
  background: var(--border-strong); color: white; font-size: 18px;
}
.indice-item.ativo .indice-etapa {
  background: var(--green-cta);
  box-shadow: 0 2px 6px rgba(45,140,45,0.35);
}
.indice-item-txt { flex: 1; min-width: 0; }
.indice-item-titulo {
  font-size: 15px; font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.indice-item-desc {
  font-size: 12.5px; color: var(--text-soft);
  margin-top: 2px;
  line-height: 1.35;
}

/* ===== Saudação ===== */
.saudacao {
  padding: var(--gap-7) 0 var(--gap-5);
}
.saudacao h1 {
  font-family: var(--font-serif);
  font-size: 30px; font-weight: 700;
  line-height: 1.15; color: var(--text);
  letter-spacing: -0.5px;
}
.saudacao-sub {
  font-size: 15px; color: var(--text-soft);
  margin-top: 6px;
}

/* ===== Seção (título + lista de cards) ===== */
.secao { margin-bottom: var(--gap-7); }
.secao-titulo {
  font-size: 13px; font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: var(--gap-3);
  padding-left: 2px;
}

/* ===== Card ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--gap-5);
  margin-bottom: var(--gap-3);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s;
}
.card-link { display: block; color: inherit; cursor: pointer; }
.card-link:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.card-neg-header {
  display: flex; align-items: center; gap: var(--gap-3);
  margin-bottom: var(--gap-4);
}
.card-neg-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, #E5D5A8 0%, #C9A871 100%);
  display: grid; place-items: center;
  font-size: 30px; flex-shrink: 0;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,0.08);
}
.card-neg-title {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700;
  color: var(--text); line-height: 1.2;
}
.card-neg-sub {
  font-size: 14px; color: var(--text-soft);
  margin-top: 2px;
}

.status-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: var(--gap-4);
  padding: 12px 14px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green-zuz);
}
.status-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green-cta); flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(45, 140, 45, 0.18);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(45, 140, 45, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(45, 140, 45, 0.05); }
}
.status-text {
  font-size: 15px; font-weight: 600; color: var(--green-deep);
  line-height: 1.3;
}

/* Progresso de etapas (bolinhas) */
.progresso {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: var(--gap-4);
}
.progresso-etapa {
  flex: 1; height: 6px; border-radius: 3px;
  background: var(--border);
}
.progresso-etapa.feita { background: var(--green-zuz); }
.progresso-etapa.atual { background: var(--gold); position: relative; overflow: hidden; }
.progresso-etapa.atual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 1.8s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.progresso-label {
  font-size: 13px; color: var(--text-soft);
  display: flex; justify-content: space-between;
  margin-bottom: var(--gap-2);
}

.card-neg-valor {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: var(--gap-4);
  border-top: 1px dashed var(--border);
}
.valor-label { font-size: 13px; color: var(--text-soft); font-weight: 500; }
.valor-num {
  font-size: 22px; font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}

/* Badge (contagem de ofertas) */
.badge-contagem {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-pale);
  color: #8B6914;
  font-size: 13px; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-pill);
  border: 1px solid #F0DCA0;
}
.badge-contagem strong { font-weight: 900; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 16px 20px;
  border: none; border-radius: var(--radius);
  font-family: inherit; font-size: 18px; font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
  letter-spacing: -0.1px;
}
.btn-primary {
  background: var(--green-cta); color: white;
  box-shadow: 0 4px 14px rgba(45,140,45,0.25);
}
.btn-primary:hover { background: var(--green-cta-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(45,140,45,0.32); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: white; color: var(--green-deep);
  border: 2px solid var(--green-zuz);
}
.btn-secondary:hover { background: var(--green-pale); }

.btn-ghost {
  background: transparent; color: var(--text-soft);
  border: 1.5px solid var(--border);
  font-weight: 600; min-height: 48px; font-size: 16px;
}
.btn-ghost:hover { border-color: var(--border-strong); color: var(--text); }

.btn-stack { display: flex; flex-direction: column; gap: var(--gap-3); }

/* ===== Bloco "começar novo" ===== */
.inicio-bloco {
  background: linear-gradient(135deg, #F6F0DF 0%, #F0E6CC 100%);
  border-radius: var(--radius);
  padding: var(--gap-6) var(--gap-5);
  margin-bottom: var(--gap-6);
  text-align: center;
  border: 1px solid #E8DAB4;
}
.inicio-titulo {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700;
  color: var(--text);
  margin-bottom: var(--gap-2);
}
.inicio-sub {
  font-size: 15px; color: var(--text-soft);
  margin-bottom: var(--gap-4);
}

/* ===== Rodapé 0800 fixo ===== */
.suporte-footer {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--border);
  padding: 12px var(--gap-5);
  display: flex; justify-content: center;
  z-index: 100;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.05);
}
.suporte-inner {
  width: 100%; max-width: 520px;
  display: flex; align-items: center; gap: 10px; justify-content: center;
  font-size: 14px; color: var(--text-soft);
}
.suporte-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: white;
  font-size: 15px; font-weight: 700;
  padding: 10px 18px; border-radius: var(--radius-pill);
  box-shadow: 0 3px 10px rgba(37,211,102,0.35);
  transition: transform 0.15s;
}
.suporte-btn:hover { transform: translateY(-1px); }
.suporte-btn svg { width: 18px; height: 18px; }

/* ===== Mobile tweaks ===== */
@media (max-width: 420px) {
  body { font-size: 17px; }
  .saudacao h1 { font-size: 26px; }
  .card-neg-title { font-size: 18px; }
  .valor-num { font-size: 20px; }
  .inicio-titulo { font-size: 20px; }
  .btn { font-size: 17px; min-height: 56px; }
  .suporte-btn { font-size: 14px; padding: 9px 14px; }
  .suporte-inner { gap: 8px; }
}

/* ===== Gate de senha ===== */
.gate {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--text); color: white;
  display: flex; align-items: center; justify-content: center;
  padding: var(--gap-5);
}
.gate-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: var(--gap-7) var(--gap-5);
  max-width: 360px; width: 100%;
  text-align: center;
}
.gate-mark {
  width: 64px; height: 64px; margin: 0 auto var(--gap-4);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-zuz), var(--green-cta-dark));
  display: grid; place-items: center;
  font-weight: 900; color: white; font-size: 22px;
}
.gate h2 {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 700;
  margin-bottom: var(--gap-2);
}
.gate p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: var(--gap-5); }
.gate-input {
  width: 100%; padding: 16px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: white; font-size: 16px;
  text-align: center; letter-spacing: 4px;
  font-family: inherit;
  margin-bottom: var(--gap-3);
  outline: none;
}
.gate-input:focus { border-color: var(--green-zuz); background: rgba(103,150,45,0.1); }
.gate-input.error { border-color: var(--red); animation: shake 0.4s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)} }
.gate-btn {
  width: 100%;
  background: var(--green-cta); color: white;
  padding: 15px; border: none; border-radius: var(--radius);
  font-weight: 700; font-size: 16px; font-family: inherit;
  cursor: pointer;
}
.gate-btn:hover { background: var(--green-cta-dark); }
.gate-footer { margin-top: var(--gap-5); font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 1.5px; text-transform: uppercase; }

/* ============================================================
   TELA MATCH — oferta recebida
   ============================================================ */

/* Eyebrow no topo */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800;
  color: var(--green-zuz);
  text-transform: uppercase; letter-spacing: 1.8px;
  padding: 6px 12px;
  background: var(--green-pale);
  border-radius: var(--radius-pill);
  margin-bottom: var(--gap-3);
}

/* Titulo forte da tela */
.tela-titulo {
  font-family: var(--font-serif);
  font-size: 30px; font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -0.6px;
  margin-bottom: var(--gap-2);
}
.tela-sub {
  font-size: 16px; color: var(--text-soft);
  margin-bottom: var(--gap-5);
  line-height: 1.4;
}

/* Selo "Combinação muito boa" */
.selo-match {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--green-pale), #DDF0C8);
  border: 1.5px solid var(--green-zuz);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: var(--gap-5);
}
.selo-match-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-zuz); color: white;
  display: grid; place-items: center;
  font-size: 26px; flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(103,150,45,0.3);
}
.selo-match-txt { flex: 1; }
.selo-match-titulo { font-size: 17px; font-weight: 800; color: var(--green-deep); line-height: 1.2; }
.selo-match-sub { font-size: 13px; color: var(--text-soft); margin-top: 2px; }

/* Foto grande do lote — placeholder profissional com numero destacado */
.foto-lote {
  width: 100%; aspect-ratio: 16/10;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 55%),
    linear-gradient(135deg, #7AA14C 0%, #4F7322 55%, #3E5C1A 100%);
  position: relative; overflow: hidden;
  margin-bottom: var(--gap-5);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  color: white;
}
.foto-lote::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 24px);
  pointer-events: none;
}
.foto-lote-center {
  text-align: center; position: relative; z-index: 2;
  padding: var(--gap-5);
}
.foto-lote-num {
  font-family: var(--font-serif);
  font-size: 84px; font-weight: 800;
  line-height: 1; letter-spacing: -3px;
  color: white;
  text-shadow: 0 4px 14px rgba(0,0,0,0.22);
  margin-bottom: 6px;
}
.foto-lote-label {
  font-size: 17px; font-weight: 600;
  letter-spacing: 0.3px;
  opacity: 0.92;
}
.foto-lote-tag {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.45);
  color: white; font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 6px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
}
.foto-lote-zuz {
  position: absolute; top: 12px; right: 12px;
  background: white;
  color: var(--green-zuz); font-size: 11px; font-weight: 800;
  padding: 5px 10px; border-radius: 6px;
  letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 2;
}

/* Tabela de dados do lote */
.dados-grid {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--gap-5);
}
.dados-linha {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.dados-linha:last-child { border-bottom: none; }
.dados-label { color: var(--text-soft); font-weight: 500; }
.dados-valor { color: var(--text); font-weight: 700; text-align: right; }

/* Card de cálculo — "A conta" */
.conta-card {
  background: linear-gradient(135deg, #FBF6E9, #F5EED3);
  border: 1.5px solid #E8D9A5;
  border-radius: var(--radius);
  padding: var(--gap-5);
  margin-bottom: var(--gap-5);
}
.conta-titulo {
  font-size: 13px; font-weight: 800;
  color: #8B6914; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: var(--gap-3);
  display: flex; align-items: center; gap: 8px;
}
.conta-linha {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0;
  font-size: 15px;
}
.conta-linha span:first-child { color: var(--text-soft); }
.conta-linha span:last-child { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.conta-total {
  margin-top: var(--gap-3); padding-top: var(--gap-3);
  border-top: 2px solid #E8D9A5;
  display: flex; justify-content: space-between; align-items: baseline;
}
.conta-total-label {
  font-size: 14px; font-weight: 700;
  color: var(--text); text-transform: uppercase; letter-spacing: 1px;
}
.conta-total-valor {
  font-family: var(--font-serif);
  font-size: 30px; font-weight: 800;
  color: #6B4F0F;
  letter-spacing: -0.8px;
  font-variant-numeric: tabular-nums;
}

/* Chat */
.chat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--gap-5);
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--green-pale);
  border-bottom: 1px solid #C9E0A8;
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--border-strong); color: white;
  display: grid; place-items: center;
  font-size: 18px; flex-shrink: 0;
}
.chat-avatar svg { width: 24px; height: 24px; fill: white; }
.chat-head-info { flex: 1; }
.chat-head-nome {
  font-size: 14px; font-weight: 700; color: var(--green-deep);
}
.chat-head-status {
  font-size: 12px; color: var(--text-soft);
  display: flex; align-items: center; gap: 6px;
}
.chat-online {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-cta);
  box-shadow: 0 0 0 2px rgba(45,140,45,0.2);
}
.chat-msgs {
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
.chat-msg {
  max-width: 85%; display: flex; flex-direction: column; gap: 3px;
}
.chat-msg.me { align-self: flex-end; align-items: flex-end; }
.chat-msg.them { align-self: flex-start; }
.chat-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 16px; line-height: 1.45;
  max-width: 100%;
  word-wrap: break-word;
}
.chat-msg.them .chat-bubble {
  background: var(--bg); color: var(--text);
  border-top-left-radius: 4px;
}
.chat-msg.me .chat-bubble {
  background: var(--green-cta); color: white;
  border-top-right-radius: 4px;
}
.chat-time {
  font-size: 11px; color: var(--text-faint);
  margin: 0 4px;
}

/* Selo de garantia ZUZ */
.garantia-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: white;
  border: 1px solid #DCF0C2;
  border-left: 4px solid var(--green-zuz);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: var(--gap-5);
}
.garantia-icon {
  font-size: 24px; flex-shrink: 0; line-height: 1;
  margin-top: 2px;
}
.garantia-txt { font-size: 14px; line-height: 1.45; }
.garantia-txt strong { color: var(--green-deep); font-weight: 800; }

/* Link discreto */
.link-discreto {
  display: block;
  text-align: center;
  font-size: 15px; color: var(--text-soft);
  padding: 16px;
  font-weight: 500;
}
.link-discreto:hover { color: var(--text); text-decoration: underline; }

/* ============================================================
   TELA FECHAMENTO — revelacao + contrato simples
   ============================================================ */

/* Card de revelacao — 2 pessoas (antes anonimo, agora revelado) */
.reveal-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--gap-5);
  margin-bottom: var(--gap-5);
  box-shadow: var(--shadow-md);
}
.reveal-titulo {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700;
  color: var(--text);
  margin-bottom: var(--gap-4);
}
.reveal-pair {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: var(--gap-3); align-items: center;
}
.reveal-pessoa {
  text-align: center;
  padding: var(--gap-3);
  border-radius: var(--radius-sm);
  background: var(--green-pale);
  border: 1px solid #C9E0A8;
}
.reveal-pessoa-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto var(--gap-2);
  background: var(--green-zuz); color: white;
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  box-shadow: 0 2px 8px rgba(103,150,45,0.3);
}
.reveal-pessoa-papel {
  font-size: 11px; font-weight: 700;
  color: var(--green-zuz); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 3px;
}
.reveal-pessoa-nome {
  font-size: 15px; font-weight: 800; color: var(--text);
  line-height: 1.2;
}
.reveal-pessoa-sub {
  font-size: 12px; color: var(--text-soft);
  margin-top: 2px;
}
.reveal-link {
  font-size: 24px; color: var(--green-zuz);
  font-weight: 900;
}

/* Resumo do contrato — linguagem simples */
.contrato-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--gap-5);
  margin-bottom: var(--gap-5);
}
.contrato-intro {
  font-size: 16px; color: var(--text-soft);
  margin-bottom: var(--gap-4); line-height: 1.5;
}
.contrato-intro strong { color: var(--text); font-weight: 700; }
.contrato-lista {
  list-style: none;
  border-top: 1px solid var(--border);
}
.contrato-lista li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; line-height: 1.45;
}
.contrato-lista li:last-child { border-bottom: none; }
.contrato-icon {
  flex: 0 0 32px;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--green-pale); color: var(--green-zuz);
  display: grid; place-items: center;
  font-size: 16px; font-weight: 800;
}
.contrato-lista li > div:not(.contrato-icon) { flex: 1; }
.contrato-lista li strong { color: var(--text); font-weight: 700; }

/* ============================================================
   TELA DINHEIRO GUARDADO — escrow
   ============================================================ */

/* Card grande do valor no escrow */
.escrow-hero {
  background: linear-gradient(135deg, var(--green-zuz) 0%, var(--green-cta-dark) 100%);
  color: white;
  border-radius: var(--radius);
  padding: var(--gap-6) var(--gap-5);
  margin-bottom: var(--gap-5);
  text-align: center;
  box-shadow: 0 8px 24px rgba(103,150,45,0.25);
}
.escrow-label {
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  opacity: 0.82; margin-bottom: var(--gap-2);
}
.escrow-valor {
  font-family: var(--font-serif);
  font-size: 44px; font-weight: 800;
  line-height: 1; letter-spacing: -1.5px;
  margin-bottom: var(--gap-3);
  font-variant-numeric: tabular-nums;
}
.escrow-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.3px;
}
.escrow-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.35);
}

/* Linha do tempo de etapas (6 passos) */
.linha-tempo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--gap-4) var(--gap-5);
  margin-bottom: var(--gap-5);
  position: relative;
}
.linha-tempo-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0;
  position: relative;
}
.linha-tempo-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 13px; top: 36px; bottom: -4px;
  width: 2px; background: var(--border);
}
.linha-tempo-item.feito::after { background: var(--green-zuz); }
.linha-tempo-dot {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--border); color: white;
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px;
  z-index: 2;
}
.linha-tempo-item.feito .linha-tempo-dot { background: var(--green-zuz); }
.linha-tempo-item.atual .linha-tempo-dot {
  background: var(--gold); color: white;
  box-shadow: 0 0 0 4px rgba(212,168,67,0.25);
  animation: pulse-dot 2s infinite;
}
.linha-tempo-item.futuro .linha-tempo-dot {
  background: var(--bg); color: var(--text-faint);
  border: 1.5px solid var(--border-strong);
}
.linha-tempo-info { flex: 1; padding-top: 2px; }
.linha-tempo-titulo {
  font-size: 15px; font-weight: 700;
  color: var(--text); line-height: 1.3;
}
.linha-tempo-item.futuro .linha-tempo-titulo { color: var(--text-faint); font-weight: 500; }
.linha-tempo-sub {
  font-size: 13px; color: var(--text-soft);
  margin-top: 2px;
}
.linha-tempo-item.atual .linha-tempo-sub { color: #8B6914; font-weight: 600; }

/* Info banner neutro (seguro, banco) */
.info-banner {
  display: flex; gap: 12px; align-items: flex-start;
  background: #F0F5FB;
  border: 1px solid #D9E4F0;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: var(--gap-4);
}
.info-banner-icon { font-size: 22px; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.info-banner-txt { font-size: 14px; color: var(--text); line-height: 1.45; }
.info-banner-txt strong { color: #254A8F; font-weight: 800; }

/* ============================================================
   TELA CONFERENCIA — animacao 32/32
   ============================================================ */
.conferencia-hero {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--gap-7) var(--gap-5);
  text-align: center;
  margin-bottom: var(--gap-5);
  box-shadow: var(--shadow-md);
}
.conferencia-eyebrow {
  font-size: 12px; font-weight: 800;
  color: var(--green-zuz); letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: var(--gap-3);
}
.conferencia-contador {
  display: flex; align-items: baseline; justify-content: center;
  gap: 10px; margin-bottom: var(--gap-3);
}
.conferencia-num-atual {
  font-family: var(--font-serif);
  font-size: 96px; font-weight: 800;
  line-height: 1;
  color: var(--green-zuz);
  letter-spacing: -4px;
  font-variant-numeric: tabular-nums;
}
.conferencia-num-total {
  font-size: 36px; font-weight: 700;
  color: var(--text-faint);
}
.conferencia-label {
  font-size: 16px; color: var(--text-soft);
  margin-bottom: var(--gap-5);
}
.conferencia-barra {
  width: 100%; height: 10px;
  background: var(--border);
  border-radius: 5px; overflow: hidden;
  margin-bottom: var(--gap-4);
}
.conferencia-barra-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-zuz), var(--green-cta));
  width: 0%;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 5px;
}
.conferencia-local {
  font-size: 14px; color: var(--text-soft);
}
.conferencia-local strong { color: var(--text); }

/* Banner de sucesso grande */
.sucesso-banner {
  background: linear-gradient(135deg, var(--green-pale), #D9EEC5);
  border: 2px solid var(--green-zuz);
  border-radius: var(--radius);
  padding: var(--gap-5);
  text-align: center;
  margin-bottom: var(--gap-5);
}
.sucesso-icon-big {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto var(--gap-3);
  background: var(--green-cta); color: white;
  display: grid; place-items: center;
  font-size: 28px; font-weight: 900;
  box-shadow: 0 4px 12px rgba(45,140,45,0.3);
}
.sucesso-titulo {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700;
  color: var(--green-deep);
  margin-bottom: var(--gap-2);
}
.sucesso-sub { font-size: 15px; color: var(--text); }

/* ============================================================
   TELA TRANSPORTE — mapa simples + progresso
   ============================================================ */

.mapa-card {
  background: linear-gradient(135deg, #F4EDD9 0%, #E8DDB6 100%);
  border: 1px solid #D8C88F;
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: var(--gap-5);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.mapa-svg {
  display: block;
  width: 100%;
  height: 200px;
}
.mapa-bar {
  background: white;
  padding: 16px 18px;
  border-top: 1px solid #D8C88F;
}
.mapa-rota {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-soft);
  margin-bottom: 8px;
}
.mapa-rota strong { color: var(--text); font-weight: 700; }
.mapa-progresso-wrap {
  width: 100%; height: 8px;
  background: var(--border); border-radius: 4px; overflow: hidden;
  margin-bottom: 10px;
}
.mapa-progresso-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-zuz), var(--green-cta));
  border-radius: 4px;
  transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.mapa-stats {
  display: flex; justify-content: space-between;
  font-size: 14px;
}
.mapa-stat-label { color: var(--text-soft); }
.mapa-stat-valor { color: var(--text); font-weight: 700; }

/* Caminhao info card */
.info-cards-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: var(--gap-5);
}
.info-mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.info-mini-label {
  font-size: 11px; font-weight: 700;
  color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.info-mini-valor {
  font-size: 15px; font-weight: 700; color: var(--text);
}
.info-mini-sub { font-size: 12px; color: var(--text-soft); margin-top: 2px; }

/* ============================================================
   TELA LIQUIDACAO — final feliz
   ============================================================ */

/* Banner grande de sucesso com confetes-like */
.vitoria-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(212,168,67,0.2), transparent 55%),
    radial-gradient(circle at 20% 90%, rgba(45,140,45,0.2), transparent 50%),
    linear-gradient(135deg, var(--green-pale) 0%, #D9EEC5 100%);
  border: 2px solid var(--green-zuz);
  border-radius: var(--radius);
  padding: var(--gap-7) var(--gap-5);
  text-align: center;
  margin-bottom: var(--gap-5);
  position: relative; overflow: hidden;
}
.vitoria-hero::before {
  content: '🎉';
  position: absolute; top: 12px; right: 16px;
  font-size: 24px; opacity: 0.55;
}
.vitoria-hero::after {
  content: '✨';
  position: absolute; bottom: 16px; left: 18px;
  font-size: 20px; opacity: 0.55;
}
.vitoria-selo {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-cta); color: white;
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 800;
  letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: var(--gap-4);
  box-shadow: 0 3px 10px rgba(45,140,45,0.3);
}
.vitoria-titulo {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 700;
  color: var(--green-deep); line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: var(--gap-3);
}
.vitoria-sub {
  font-size: 16px; color: var(--text);
  line-height: 1.5; max-width: 420px; margin: 0 auto;
}

/* Resumo "o que aconteceu" */
.resumo-final {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--gap-5);
  margin-bottom: var(--gap-5);
}
.resumo-linha {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.resumo-linha:last-child { border-bottom: none; }
.resumo-linha strong { color: var(--text); font-weight: 700; }

/* Estrelas de avaliacao */
.avalia-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--gap-5);
  margin-bottom: var(--gap-5);
  text-align: center;
}
.avalia-titulo {
  font-size: 15px; color: var(--text);
  margin-bottom: var(--gap-3);
}
.avalia-titulo strong { font-weight: 700; }
.avalia-estrelas {
  display: flex; justify-content: center; gap: 8px;
  font-size: 36px;
  margin-bottom: var(--gap-3);
}
.estrela { cursor: pointer; color: var(--border-strong); transition: transform 0.1s, color 0.15s; }
.estrela.ativa { color: var(--gold); }
.estrela:hover { transform: scale(1.1); }
.avalia-label { font-size: 13px; color: var(--text-soft); }

/* ============================================================
   TELA DISPUTA — "tem problema, vamos resolver"
   Tom calmo, nao alarmista. Cliente esta no controle.
   ============================================================ */

/* Card grande do problema */
.problema-card {
  background: linear-gradient(135deg, #FDF0EE 0%, #F9E3DE 100%);
  border: 1.5px solid #EDBFB4;
  border-radius: var(--radius);
  padding: var(--gap-6) var(--gap-5);
  margin-bottom: var(--gap-5);
  text-align: center;
}
.problema-eyebrow {
  display: inline-block;
  background: #B03A1A; color: white;
  padding: 4px 12px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 800;
  letter-spacing: 1.3px; text-transform: uppercase;
  margin-bottom: var(--gap-3);
}
.problema-num {
  font-family: var(--font-serif);
  font-size: 56px; font-weight: 800;
  line-height: 1;
  color: #B03A1A;
  letter-spacing: -2px;
  margin-bottom: var(--gap-2);
}
.problema-sub {
  font-size: 18px; font-weight: 700; color: var(--text);
  margin-bottom: var(--gap-3);
}
.problema-txt {
  font-size: 15px; color: var(--text);
  line-height: 1.55; max-width: 420px; margin: 0 auto;
}

/* Banner calmante "seu dinheiro esta seguro" */
.tranquilo-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--green-pale);
  border: 1px solid #C9E0A8;
  border-left: 4px solid var(--green-cta);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: var(--gap-5);
}
.tranquilo-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--green-cta); color: white;
  display: grid; place-items: center;
  font-size: 22px; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(45,140,45,0.25);
}
.tranquilo-txt { font-size: 14px; line-height: 1.5; color: var(--text); }
.tranquilo-txt strong { color: var(--green-deep); font-weight: 800; }

/* 4 opcoes em cards clicaveis */
.opcao-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: var(--gap-5);
  margin-bottom: var(--gap-3);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all 0.15s;
  display: flex; gap: var(--gap-3); align-items: flex-start;
  font-family: inherit;
  color: inherit;
}
.opcao-card:hover {
  border-color: var(--green-zuz);
  box-shadow: 0 4px 14px rgba(103,150,45,0.12);
  transform: translateY(-1px);
}
.opcao-card.recomendada {
  border-color: var(--green-zuz);
  background: linear-gradient(135deg, #FFFFFF, #F6FBF0);
}
.opcao-badge {
  position: absolute;
  top: -9px; right: 14px;
  background: var(--green-cta); color: white;
  font-size: 10px; font-weight: 800;
  padding: 3px 10px; border-radius: var(--radius-pill);
  letter-spacing: 1px; text-transform: uppercase;
}
.opcao-card { position: relative; }
.opcao-numero {
  flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green-pale); color: var(--green-deep);
  display: grid; place-items: center;
  font-weight: 800; font-size: 17px;
  font-family: var(--font-serif);
}
.opcao-conteudo { flex: 1; }
.opcao-titulo {
  font-size: 16px; font-weight: 800;
  color: var(--text); line-height: 1.3;
  margin-bottom: 4px;
}
.opcao-desc {
  font-size: 14px; color: var(--text-soft);
  line-height: 1.45;
}
.opcao-valor {
  font-size: 14px; color: var(--green-deep);
  font-weight: 700; margin-top: 6px;
}

/* ============================================================
   TELA DISPUTA RESOLVIDA — "pronto, resolvido"
   ============================================================ */

.resolvido-hero {
  background: linear-gradient(135deg, #EFF7FD 0%, #DCECFB 100%);
  border: 2px solid #B6D4F2;
  border-radius: var(--radius);
  padding: var(--gap-7) var(--gap-5);
  text-align: center;
  margin-bottom: var(--gap-5);
}
.resolvido-selo {
  display: inline-flex; align-items: center; gap: 8px;
  background: #3A72C4; color: white;
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 800;
  letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: var(--gap-4);
  box-shadow: 0 3px 10px rgba(58,114,196,0.3);
}
.resolvido-titulo {
  font-family: var(--font-serif);
  font-size: 30px; font-weight: 700;
  color: #1E3A6B; line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: var(--gap-3);
}
.resolvido-sub {
  font-size: 16px; color: var(--text);
  line-height: 1.5; max-width: 420px; margin: 0 auto;
}

/* Ajuste financeiro (antes/depois) */
.ajuste-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--gap-5);
  margin-bottom: var(--gap-5);
}
.ajuste-titulo {
  font-size: 14px; font-weight: 800;
  color: var(--text-soft); text-transform: uppercase; letter-spacing: 1.2px;
  margin-bottom: var(--gap-4);
}
.ajuste-linha {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0;
  font-size: 15px;
}
.ajuste-linha span:first-child { color: var(--text-soft); }
.ajuste-linha span:last-child { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.ajuste-linha.risco span:last-child { color: var(--text-faint); text-decoration: line-through; }
.ajuste-linha.total {
  border-top: 2px solid var(--border);
  margin-top: 10px; padding-top: 14px;
}
.ajuste-linha.total span:first-child { font-weight: 700; color: var(--text); }
.ajuste-linha.total span:last-child {
  font-size: 20px; color: var(--green-deep); font-weight: 800;
}
.ajuste-linha.devolucao span:last-child {
  color: var(--blue-mid); font-size: 18px;
}

/* ============================================================
   TELA INTENCAO — formulario simples de compra/venda
   ============================================================ */

.form-field {
  margin-bottom: var(--gap-4);
}
.form-label {
  display: block;
  font-size: 14px; font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.form-label-sub {
  font-size: 12px; font-weight: 500;
  color: var(--text-soft);
  margin-left: 6px;
}
.form-input,
.form-select {
  width: 100%;
  padding: 16px 18px;
  font-size: 17px;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus {
  border-color: var(--green-zuz);
  box-shadow: 0 0 0 4px rgba(103,150,45,0.12);
}
.form-input::placeholder { color: var(--text-faint); }
.form-select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7' fill='none'%3E%3Cpath d='M1 1 L6 6 L11 1' stroke='%235A6573' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
  padding-right: 42px;
  cursor: pointer;
}
.form-hint {
  font-size: 13px; color: var(--text-soft);
  margin-top: 6px;
  line-height: 1.4;
}

/* Radio pill group */
.radio-group {
  display: flex; gap: 8px;
  flex-wrap: wrap;
}
.radio-pill {
  flex: 1; min-width: 90px;
  padding: 14px 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.radio-pill:hover { border-color: var(--border-strong); }
.radio-pill.ativo {
  background: var(--green-pale);
  border-color: var(--green-zuz);
  color: var(--green-deep);
  font-weight: 800;
}

/* Input com sufixo (R$, kg, @) */
.input-sufixo {
  position: relative;
}
.input-sufixo .form-input {
  padding-right: 60px;
}
.input-sufixo-label {
  position: absolute;
  right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 15px; font-weight: 700;
  color: var(--text-soft);
  pointer-events: none;
}

/* Inputs lado a lado (faixa de peso) */
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ============================================================
   TELA INDEX — gate inicial bonito
   ============================================================ */
.index-bg {
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 15%, rgba(103,150,45,0.25), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(212,168,67,0.2), transparent 55%),
    linear-gradient(135deg, #0E1A2B 0%, #13263E 50%, #0C2340 100%);
  display: flex; align-items: center; justify-content: center;
  padding: var(--gap-5);
  color: white;
}
.index-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: var(--gap-8) var(--gap-6);
  max-width: 440px; width: 100%;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.index-mark {
  width: 80px; height: 80px; margin: 0 auto var(--gap-5);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green-zuz), var(--green-cta-dark));
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-weight: 900; color: white; font-size: 30px; letter-spacing: -1px;
  box-shadow: 0 10px 30px rgba(103,150,45,0.35);
}
.index-brand {
  font-family: var(--font-serif);
  font-size: 38px; font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 6px;
}
.index-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  margin-bottom: var(--gap-7);
  text-transform: uppercase;
  font-weight: 600;
}
.index-card .form-input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: white;
  text-align: center;
  letter-spacing: 5px;
  font-weight: 600;
  margin-bottom: var(--gap-3);
}
.index-card .form-input::placeholder {
  color: rgba(255,255,255,0.3);
  letter-spacing: 5px;
}
.index-card .form-input:focus {
  border-color: var(--green-zuz);
  background: rgba(103,150,45,0.15);
  box-shadow: 0 0 0 4px rgba(103,150,45,0.18);
}
.index-card .form-input.error {
  border-color: var(--red);
  animation: shake 0.4s;
}
.index-footer {
  margin-top: var(--gap-6);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Utilitários */
.hidden { display: none !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--gap-4) !important; }
.mb-5 { margin-bottom: var(--gap-5) !important; }

/* ===== Modal / Dialog in-page (substitui alert/confirm/prompt) ===== */
.zm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 35, 50, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  padding: 0;
}
.zm-modal-overlay.aberto {
  opacity: 1;
  pointer-events: auto;
}

.zm-modal {
  background: var(--surface);
  width: 100%;
  max-width: 480px;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  padding: var(--gap-6) var(--gap-5) var(--gap-5);
  box-shadow: 0 -20px 40px rgba(26,35,50,0.2);
  transform: translateY(20px);
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  max-height: 90vh;
  overflow-y: auto;
}
.zm-modal-overlay.aberto .zm-modal {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .zm-modal-overlay {
    align-items: center;
    padding: var(--gap-5);
  }
  .zm-modal {
    border-radius: var(--radius);
  }
}

.zm-modal-handle {
  width: 40px;
  height: 4px;
  background: var(--border-strong);
  border-radius: 999px;
  margin: -8px auto var(--gap-4);
}

.zm-modal-titulo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: var(--gap-3);
}

.zm-modal-corpo {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: var(--gap-5);
  white-space: pre-wrap;
}

.zm-modal-corpo strong {
  color: var(--text);
  font-weight: 700;
}

.zm-modal-input-wrap {
  display: flex;
  align-items: center;
  gap: var(--gap-2);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: var(--gap-3) var(--gap-4);
  margin-bottom: var(--gap-5);
  background: var(--bg);
}
.zm-modal-input-wrap:focus-within {
  border-color: var(--green-cta);
  background: var(--surface);
}

.zm-modal-prefixo,
.zm-modal-sufixo {
  font-size: 16px;
  color: var(--text-soft);
  font-weight: 600;
  flex-shrink: 0;
}

.zm-modal-input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-body);
  min-width: 0;
}

.zm-modal-botoes {
  display: flex;
  flex-direction: column;
  gap: var(--gap-2);
}

.zm-modal-botao {
  border: 0;
  padding: var(--gap-4);
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s, background 0.12s;
}
.zm-modal-botao:active { transform: scale(0.98); }

.zm-modal-botao.primary {
  background: var(--green-cta);
  color: #FFFFFF;
}
.zm-modal-botao.primary:hover { background: var(--green-cta-dark); }

.zm-modal-botao.secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border-strong);
}
.zm-modal-botao.secondary:hover { border-color: var(--green-cta); color: var(--green-cta); }

.zm-modal-botao.ghost {
  background: transparent;
  color: var(--text-soft);
  font-size: 15px;
  padding: var(--gap-3);
}

.zm-modal-nota {
  margin-top: var(--gap-4);
  padding-top: var(--gap-3);
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.45;
  text-align: center;
}

/* ===== Legenda papel duplo (minha_pagina) ===== */
.papel-duplo-legenda {
  margin-top: var(--gap-4);
  padding: var(--gap-3) var(--gap-4);
  background: linear-gradient(90deg, rgba(103,150,45,0.08), rgba(58,114,196,0.06));
  border-left: 3px solid var(--green-zuz);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
}
.papel-duplo-legenda strong {
  color: var(--text);
  font-weight: 700;
}

/* ===== Cadastrar lote (onramp do vendedor) ===== */
.lote-card {
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  padding: var(--gap-5);
  margin-bottom: var(--gap-3);
  position: relative;
}
.lote-card.lote-selecionado {
  border-color: var(--green-zuz);
  background: linear-gradient(160deg, #FFFFFF 0%, var(--green-pale) 100%);
  box-shadow: var(--shadow-md);
}

.lote-card-head {
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  margin-bottom: var(--gap-4);
}

.lote-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--green-pale);
  color: var(--green-zuz);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.lote-titulo-wrap { flex: 1; }

.lote-titulo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.lote-sub {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 2px;
}

.lote-selo {
  background: var(--green-zuz);
  color: #FFFFFF;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.lote-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-2);
  margin-bottom: var(--gap-4);
}

.lote-stat {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--gap-3) var(--gap-2);
  text-align: center;
}

.lote-stat-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.lote-stat-valor {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

@media (max-width: 480px) {
  .lote-stats { grid-template-columns: repeat(2, 1fr); }
}

.lote-homog {
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-sm);
  padding: var(--gap-3);
}

.lote-homog-bar {
  background: var(--border);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  margin-bottom: var(--gap-2);
}

.lote-homog-fill {
  background: var(--green-zuz);
  height: 100%;
  border-radius: 999px;
}

.lote-homog-txt {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.4;
}
.lote-homog-txt strong { color: var(--green-deep); }

.lote-card-simples {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--gap-3) var(--gap-4);
  margin-bottom: var(--gap-2);
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  opacity: 0.7;
}
.lote-card-simples .lote-icon { width: 38px; height: 38px; font-size: 20px; }

.lote-simples-titulo {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.lote-simples-sub {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 1px;
}
.lote-simples-acao {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ===== Preço card (cadastrar lote) ===== */
.preco-card {
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  padding: var(--gap-5);
  margin-top: var(--gap-3);
}

.preco-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: var(--gap-3);
}

.preco-input-wrap {
  display: flex;
  align-items: center;
  gap: var(--gap-2);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: var(--gap-3) var(--gap-4);
  background: var(--bg);
}
.preco-input-wrap:focus-within {
  border-color: var(--green-cta);
  background: var(--surface);
}

.preco-prefixo,
.preco-sufixo {
  font-size: 20px;
  color: var(--text-soft);
  font-weight: 700;
  flex-shrink: 0;
}

.preco-input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 36px;
  font-weight: 800;
  color: var(--green-deep);
  font-family: var(--font-body);
  min-width: 0;
  text-align: center;
}

.preco-hint {
  margin-top: var(--gap-3);
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.4;
}
.preco-hint strong { color: var(--text); }

/* ============================================================
   NOTA ZUZ — 3 estrelas/manejo + tempo até abate
   Sistema de avaliação do animal, calibração global ZUZ.
   ============================================================ */

.nota-zuz {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--gap-4) var(--gap-4) var(--gap-3);
  margin: var(--gap-4) 0;
  box-shadow: var(--shadow-sm);
}

.nota-zuz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-3);
  margin-bottom: var(--gap-3);
  padding-bottom: var(--gap-3);
  border-bottom: 1px solid var(--border);
}

.nota-zuz-titulo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--green-deep);
  text-transform: uppercase;
}

.nota-zuz-titulo::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--green-zuz), var(--green-cta-dark));
  color: white;
  display: inline-grid;
  place-items: center;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* O "ZUZ" dentro do badge */
.nota-zuz-titulo::before {
  content: 'Z';
  color: white;
  font-family: var(--font-body);
}

.nota-zuz-conf {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.nota-zuz-conf.alta {
  background: var(--green-pale);
  color: var(--green-deep);
  border: 1px solid #B8DCA0;
}
.nota-zuz-conf.media {
  background: var(--gold-pale);
  color: #8B6914;
  border: 1px solid #E8D9A5;
}
.nota-zuz-conf.baixa {
  background: var(--red-pale);
  color: var(--red);
  border: 1px solid #F5C8C5;
}

.nota-linha {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px var(--gap-3);
  align-items: center;
  padding: var(--gap-3) 0;
  border-bottom: 1px solid var(--border);
}
.nota-linha:last-child { border-bottom: 0; padding-bottom: 0; }

.nota-linha-manejo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.nota-linha-manejo .manejo-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

.nota-linha-manejo small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.2px;
  margin-top: 1px;
}

.nota-linha-estrelas {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.estrelas {
  display: inline-flex;
  gap: 2px;
  font-size: 17px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 1px;
}
.estrelas .e-off { color: #E0DACA; }
.estrelas .e-half {
  background: linear-gradient(90deg, var(--gold) 50%, #E0DACA 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.estrelas.compact { font-size: 14px; }
.estrelas.big { font-size: 22px; }

.nota-linha-abate {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.1px;
  white-space: nowrap;
}
.nota-linha-abate strong { color: var(--text); font-weight: 700; }

/* Destaque "Melhor pra X" — manejo com nota mais alta */
.nota-linha.destaque {
  background: linear-gradient(90deg, rgba(103,150,45,0.06), transparent);
  margin: 0 calc(var(--gap-4) * -1);
  padding-left: var(--gap-4);
  padding-right: var(--gap-4);
  border-left: 3px solid var(--green-zuz);
}
.nota-linha.destaque .nota-linha-manejo { color: var(--green-deep); }

.nota-zuz-footer {
  margin-top: var(--gap-3);
  padding-top: var(--gap-3);
  border-top: 1px dashed var(--border);
  font-size: 11.5px;
  color: var(--text-soft);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.nota-zuz-footer .icone-info {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 700;
  border: 1px solid var(--border);
}
.nota-zuz-footer button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue-mid);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* Versão compacta para card de lote na vitrine */
.nota-zuz.compact {
  padding: var(--gap-3);
  margin: var(--gap-3) 0 0;
  box-shadow: none;
  background: var(--bg);
  border: 1px solid var(--border);
}
.nota-zuz.compact .nota-zuz-head { display: none; }
.nota-zuz.compact .nota-linha { padding: 6px 0; }
.nota-zuz.compact .nota-zuz-footer { display: none; }

/* ============================================================
   VITRINE — catálogo de lotes anônimos
   ============================================================ */

.vitrine-intro {
  margin: var(--gap-4) 0 var(--gap-5);
  padding: var(--gap-4);
  background: var(--green-pale);
  border-left: 3px solid var(--green-zuz);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--green-deep);
  line-height: 1.45;
}
.vitrine-intro strong { font-weight: 800; }

.filtros-sticky {
  position: sticky;
  top: 60px;
  z-index: 30;
  background: var(--bg);
  margin: 0 calc(var(--gap-5) * -1);
  padding: var(--gap-3) var(--gap-5) var(--gap-2);
  border-bottom: 1px solid var(--border);
}

.filtros-titulo {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-soft);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.filtros-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.filtros-row::-webkit-scrollbar { display: none; }

.filtro-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  font-family: inherit;
}
.filtro-pill:hover { border-color: var(--border-strong); }
.filtro-pill.ativo {
  background: var(--green-deep);
  color: white;
  border-color: var(--green-deep);
}
.filtro-pill.ativo .pill-icone { filter: brightness(2); }
.filtro-pill .pill-icone { font-size: 14px; }

.filtro-secundario {
  display: flex;
  gap: var(--gap-3);
  align-items: center;
  margin-top: var(--gap-3);
  font-size: 13px;
}
.filtro-secundario label {
  color: var(--text-soft);
  font-weight: 600;
  flex-shrink: 0;
}
.filtro-secundario .estrelas-input {
  display: inline-flex;
  gap: 2px;
  font-size: 22px;
  color: #E0DACA;
  cursor: pointer;
  user-select: none;
}
.filtro-secundario .estrelas-input span.on { color: var(--gold); }
.filtro-secundario .estrelas-input span { transition: color 0.1s; }
.filtro-secundario .reset-link {
  margin-left: auto;
  font-size: 12px;
  color: var(--blue-mid);
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 4px 8px;
}

.busca-resumo {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
  margin: var(--gap-5) 0 var(--gap-3);
}
.busca-resumo strong { color: var(--text); font-weight: 800; }

.lote-vitrine-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--gap-4);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.lote-vitrine-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.lote-vitrine-card.fit {
  border-color: var(--green-zuz);
  box-shadow: 0 2px 14px rgba(103,150,45,0.18);
}

.lote-vitrine-head {
  padding: var(--gap-4) var(--gap-4) var(--gap-3);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--gap-3);
  border-bottom: 1px solid var(--border);
}
.lote-vitrine-head .lote-foto {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #DCE8C4, #B8D293);
  display: grid;
  place-items: center;
  font-size: 34px;
  flex-shrink: 0;
}
.lote-vitrine-info { flex: 1; min-width: 0; }
.lote-vitrine-titulo {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 2px;
}
.lote-vitrine-sub {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.35;
}
.lote-vitrine-fit-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--green-zuz);
  color: white;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.lote-vitrine-fit-tag::before { content: '✓'; font-size: 12px; }

.lote-vitrine-body { padding: var(--gap-3) var(--gap-4) var(--gap-4); }

.lote-vitrine-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-2);
  margin-bottom: var(--gap-3);
}
.lote-vitrine-stat {
  padding: var(--gap-2);
  background: var(--bg);
  border-radius: var(--radius-sm);
  text-align: center;
}
.lote-vitrine-stat-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.lote-vitrine-stat-valor {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}
.lote-vitrine-stat-valor small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0;
}

.lote-vitrine-preco {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--gap-3) 0;
  border-top: 1px solid var(--border);
  margin-top: var(--gap-3);
}
.lote-vitrine-preco-label { font-size: 13px; color: var(--text-soft); font-weight: 600; }
.lote-vitrine-preco-valor {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}
.lote-vitrine-preco-valor small {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

.vitrine-vazio {
  text-align: center;
  padding: var(--gap-7) var(--gap-5);
  color: var(--text-soft);
}
.vitrine-vazio-icone {
  font-size: 38px;
  margin-bottom: var(--gap-3);
  opacity: 0.6;
}
.vitrine-vazio-titulo {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.vitrine-vazio-sub {
  font-size: 14px;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

/* Cabeçalho da vitrine — botão voltar minimalista */
.vitrine-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-soft);
  margin: var(--gap-4) 0 var(--gap-2);
  padding: 6px 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.vitrine-back::before { content: '←'; font-size: 18px; line-height: 1; }
.vitrine-back:hover { color: var(--text); }

/* ============================================================
   MICRO — chip de manejo standalone (pra usar em outros lugares)
   ============================================================ */
.manejo-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: var(--green-pale);
  color: var(--green-deep);
  border: 1px solid #B8DCA0;
}
.manejo-chip .chip-icone { font-size: 12px; }

/* ============================================================
   PAINEL PRIVADO DO VENDEDOR — "Sua Nota ZUZ antes de publicar"
   ============================================================ */
.painel-privado {
  background: linear-gradient(180deg, #FFFCF2, #FFFFFF);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--gap-4);
  margin: var(--gap-5) 0;
  box-shadow: 0 2px 10px rgba(212,168,67,0.12);
}
.painel-privado-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--gap-3);
}
.painel-privado-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: white;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.painel-privado-titulo {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.painel-privado-titulo small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-top: 2px;
}
.painel-privado-recomenda {
  margin-top: var(--gap-3);
  padding: var(--gap-3);
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--green-deep);
  line-height: 1.45;
}
.painel-privado-recomenda strong { font-weight: 800; }

/* ============================================================
   AJUSTES MOBILE — refino cirúrgico
   ============================================================ */
@media (max-width: 400px) {
  .lote-vitrine-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .lote-vitrine-stat { padding: 6px 4px; }
  .lote-vitrine-stat-valor { font-size: 13px; }
  .nota-linha { grid-template-columns: 1fr; gap: 4px; }
  .nota-linha-estrelas { align-items: flex-start; flex-direction: row; gap: var(--gap-3); }
}
