:root {
  --bg: #08080b;
  --bg-2: #0c0c11;
  --panel: rgba(16, 16, 22, 0.78);
  --panel-solid: #111118;
  --panel-2: #17171f;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --red: #e11d48;
  --red-2: #ff2d4a;
  --red-dim: rgba(225, 29, 72, 0.16);
  --red-glow: rgba(225, 29, 72, 0.28);
  --text: #f4f4f7;
  --muted: #8b8b96;
  --faint: #5c5c68;
  --ok: #34d399;
  --warn: #fbbf24;
  --info: #93c5fd;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --sidebar: 268px;
  --nav: 72px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
html, body { min-height: 100%; margin: 0; }
body {
  color: var(--text);
  background: var(--bg);
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.01em;
}

button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.mono { font-family: "IBM Plex Mono", monospace; }

.app-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(225, 29, 72, 0.16), transparent 55%),
    radial-gradient(700px 420px at 100% 0%, rgba(80, 10, 24, 0.28), transparent 50%),
    linear-gradient(180deg, #0a0a0e 0%, #08080b 48%, #09090e 100%);
}
.app-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 30% 20%, black, transparent 70%);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  min-height: 42px;
  padding: 0 16px;
  transition: 0.2s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #ff3355, #c81a3a);
  color: white;
  box-shadow: 0 8px 24px var(--red-glow);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.05); }
.btn-danger {
  background: var(--red-dim);
  border-color: rgba(225, 29, 72, 0.35);
  color: #fecdd3;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-small { min-height: 34px; padding: 0 12px; font-size: 12px; }

/* ---- shell ---- */
.shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: rgba(8, 8, 11, 0.82);
  backdrop-filter: blur(22px);
  display: flex;
  flex-direction: column;
  /* o menu tem 36 opções: o sidebar rola por conta própria,
     independente do tamanho do conteúdo principal (resultados). */
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
/* mantém o rodapé (Sair/Senha/Histórico) acessível mesmo com o menu rolando */
.sidebar .sidebar-foot {
  position: sticky;
  bottom: -22px;
  background: linear-gradient(180deg, transparent, rgba(8,8,11,0.9) 20%);
  padding-top: 14px;
  z-index: 2;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 6px 8px 22px; }
.brand-logo {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow:
    0 0 10px 2px rgba(255, 24, 56, 0.7),
    0 0 28px 6px rgba(225, 29, 72, 0.45);
}
.brand h1 { margin: 0; font-size: 16px; letter-spacing: 0.12em; }
.brand p { margin: 2px 0 0; color: var(--muted); font-size: 10px; letter-spacing: 0.16em; }

.brand-bolt {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0a0a10;
  border: 1px solid var(--line);
  box-shadow:
    0 0 10px 2px rgba(255, 24, 56, 0.7),
    0 0 28px 6px rgba(225, 29, 72, 0.45);
}
.brand-bolt svg { width: 22px; height: 22px; }

.ring-bolt {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.04), transparent 62%), #0a0a10;
}
.ring-bolt svg { width: 46%; height: 46%; filter: drop-shadow(0 0 14px rgba(255,255,255,0.5)); }
.login-sigil .ring-bolt svg { width: 42%; height: 42%; }

.nav-group { display: flex; flex-direction: column; gap: 4px; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--muted);
  transition: 0.2s ease;
  background: none;
  border: none;
  text-align: left;
  width: 100%;
}
.nav-link:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.nav-link.active {
  background: var(--red-dim);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.25);
}
.nav-link svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  display: block;
  opacity: 0.85;
}
.nav-link:hover svg { opacity: 1; }
.nav-link.active svg { opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 32, 64, 0.65)); }
.sidebar-foot { margin-top: auto; padding-top: 16px; }

.main { min-width: 0; }
.topbar {
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 11, 0.55);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 5;
}
.crumbs { color: var(--muted); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.crumbs strong { color: var(--text); font-weight: 500; }
.content { padding: 28px; }

.user-chip { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red-dim); color: #fecdd3; font-weight: 600;
}

/* ---- search page ---- */
.search-page { position: relative; max-width: 1180px; margin: 0 auto; }
.search-page::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -28px -8px auto;
  height: 340px;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 20, 50, 0.22), transparent 58%),
    repeating-linear-gradient(180deg, transparent 0, transparent 2px, rgba(0, 0, 0, 0.22) 2px, rgba(0, 0, 0, 0.22) 3px);
  mask-image: linear-gradient(180deg, black, transparent 88%);
  z-index: 0;
}
.search-page > * { position: relative; z-index: 1; }

.search-sigil-wrap { display: flex; flex-direction: column; align-items: center; margin: 4px 0 28px; }
.search-sigil-ring {
  width: 168px; height: 168px;
  border-radius: 50%;
  padding: 4px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 40, 70, 0.35), transparent 64%);
  box-shadow:
    0 0 18px 4px rgba(255, 16, 48, 0.7),
    0 0 48px 12px rgba(225, 29, 72, 0.42),
    0 0 110px 24px rgba(90, 0, 18, 0.5);
  animation: sigil-breathe 2.1s ease-in-out infinite;
}
.search-sigil-ring img {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.12);
}
@keyframes sigil-breathe {
  0%, 100% { box-shadow: 0 0 14px 3px rgba(255, 16, 48, 0.55), 0 0 38px 10px rgba(225, 29, 72, 0.32), 0 0 80px 18px rgba(90, 0, 18, 0.38); }
  50% { box-shadow: 0 0 28px 8px rgba(255, 32, 64, 0.95), 0 0 72px 18px rgba(255, 20, 50, 0.55), 0 0 130px 28px rgba(120, 0, 24, 0.55); }
}
.login-sigil { width: 118px; height: 118px; }
.search-slogan {
  margin: 14px 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  animation: slogan-flash 0.12s steps(1) infinite;
}
@keyframes slogan-flash {
  0%, 49% { color: #ff1a3c; text-shadow: 0 0 8px #ff1a3c, 0 0 22px #ff2048; }
  50%, 100% { color: #fff; text-shadow: 0 0 8px #fff, 0 0 18px rgba(255, 255, 255, 0.55); }
}

.search-hero.search-clean {
  position: relative;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid rgba(225, 29, 72, 0.34);
  background:
    linear-gradient(180deg, rgba(225, 29, 72, 0.07), transparent 38%),
    rgba(8, 8, 12, 0.92);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55), 0 12px 40px rgba(225, 29, 72, 0.1);
  overflow: hidden;
}
.search-hero.search-clean::before,
.search-hero.search-clean::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid #ff2d4a;
  pointer-events: none;
  z-index: 2;
}
.search-hero.search-clean::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.search-hero.search-clean::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }

.search-bar { display: flex; gap: 12px; align-items: stretch; }
.search-clean-bar .btn-primary {
  min-width: 140px;
  min-height: 52px;
  border-radius: 6px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}
.search-inline-select {
  min-width: 190px;
  border-radius: 6px;
  border: 1px solid rgba(225, 29, 72, 0.28);
  background: #07070c;
  color: var(--text);
  padding: 0 14px;
  font-size: 13px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.06em;
  outline: none;
}
.search-inline-select:focus { border-color: rgba(225, 29, 72, 0.7); box-shadow: 0 0 0 4px var(--red-dim); }
.search-clean-bar input {
  flex: 1;
  min-height: 52px;
  border-radius: 6px;
  border: 1px solid rgba(225, 29, 72, 0.22);
  background: #07070c;
  padding: 0 18px;
  font-size: 15px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
  outline: none;
}
.search-clean-bar input:focus { border-color: rgba(225, 29, 72, 0.5); box-shadow: 0 0 0 5px var(--red-dim); }

.search-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.search-toolbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-tool-btn { min-height: 34px; padding: 0 12px; font-size: 12px; color: var(--muted); }
.search-tool-btn.active { color: var(--text); border-color: rgba(225, 29, 72, 0.45); background: rgba(225, 29, 72, 0.08); }
.result-meta { color: var(--muted); font-size: 12px; }

.spin { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--red-2);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* ---- resultados ---- */
.page-title { margin: 0 0 6px; font-size: 26px; letter-spacing: 0.04em; }
.page-sub { margin: 0 0 24px; color: var(--muted); }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.result-card { padding: 20px; display: flex; flex-direction: column; gap: 14px; border-top: 3px solid #ef4444; }
.result-card h3 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.result-card-wide { grid-column: 1 / -1; }
.card-kind { color: var(--muted); font-size: 12px; }

.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; color: var(--muted); font-size: 13px; }
.meta b { color: var(--text); font-weight: 500; display: block; overflow-wrap: anywhere; }
.meta a { color: #93c5fd; }
.meta a:hover { text-decoration: underline; }
.wa-link {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 999px;
  padding: 0 7px;
}
.meta-dense { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.consulta-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.consulta-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  height: fit-content;
  align-self: start;
}
.consulta-block h4 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.consulta-item-stack { display: flex; flex-direction: column; gap: 8px; }
.consulta-item-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.18);
}
.consulta-item-card .meta { gap: 6px 12px; }
.consulta-primitive { color: var(--text); font-size: 13px; word-break: break-word; }

.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.empty { padding: 48px 20px; text-align: center; color: var(--muted); }
.error-line { color: #fda4af; font-size: 13px; min-height: 18px; }
.hint-line { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0 0 14px; }
.loading-row {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; padding: 40px 0; color: var(--muted);
}

/* ---- modal ---- */
.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.62);
  display: grid;
  place-items: center;
  z-index: 30;
  padding: 20px;
}
.modal { width: min(720px, 100%); padding: 24px; }
.modal-wide { width: min(980px, 100%); max-height: 88vh; overflow: auto; }
.modal-close-x {
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  min-height: 36px;
  padding: 0 12px;
}
.modal-close-x:hover { color: var(--text); border-color: var(--line-strong); }
.consulta-modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 60vh;
  overflow: auto;
  padding-right: 4px;
}
.json-block {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  background: #0b0b10;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  overflow: auto;
  max-height: 280px;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ---- tabelas (histórico / usuários) ---- */
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { color: var(--muted); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
tr:hover td { background: rgba(255,255,255,0.02); }
.badge-ok { background: rgba(52, 211, 153, 0.12); color: var(--ok); }
.badge-warn { background: rgba(251, 191, 36, 0.12); color: var(--warn); }
.badge-red { background: var(--red-dim); color: #fda4af; }
.badge-mute { background: rgba(255, 255, 255, 0.05); color: var(--muted); }
.status-chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.status-chip--RESOLVIDO { background: rgba(52,211,153,.12); color: var(--ok); }
.status-chip--NAO_ENCONTRADO, .status-chip--SEM_DADOS { background: rgba(251,191,36,.12); color: var(--warn); }
.status-chip--ERRO { background: var(--red-dim); color: #fda4af; }
.role-chip--admin { background: var(--red-dim); color: #fecdd3; }
.role-chip--user { background: rgba(255,255,255,.05); color: var(--muted); }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.admin-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.admin-form input, .admin-form select {
  background: #0c0c12;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--text);
  outline: none;
}
.admin-form input:focus, .admin-form select:focus { border-color: rgba(225, 29, 72, 0.5); box-shadow: 0 0 0 4px var(--red-dim); }
.form-error { color: #fda4af; font-size: 13px; min-height: 18px; margin: 6px 0; }

/* ---- toast ---- */
.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  min-width: 260px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #14141c;
  box-shadow: var(--shadow);
}
.toast.error { border-color: rgba(225, 29, 72, 0.4); }
.toast.ok { border-color: rgba(52, 211, 153, 0.35); }

/* ---- login ---- */
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  padding: 24px;
}
.login-card { width: min(480px, 100%); padding: 32px 36px 36px; }
.login-card h2 { margin: 10px 0 4px; letter-spacing: 0.16em; text-align: center; }
.login-card .sub { color: var(--muted); margin-bottom: 28px; letter-spacing: 0.12em; font-size: 12px; text-align: center; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.field span { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.field input,
.field textarea {
  width: 100%;
  background: #0c0c12;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 44px;
  padding: 10px 14px;
  outline: none;
  transition: 0.2s ease;
  resize: vertical;
}
.field textarea {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.5;
}
.field input:focus { border-color: rgba(225, 29, 72, 0.55); box-shadow: 0 0 0 4px var(--red-dim); }
.login-card .btn-primary { width: 100%; margin-top: 6px; }

/* ---- landing ---- */
.landing-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}
.landing-nav .brand h1 { font-size: 14px; }
.landing-nav .brand p { font-size: 9px; }
.landing-nav .brand-logo { width: 38px; height: 38px; }

.landing {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.landing-title {
  margin: 26px 0 10px;
  font-size: clamp(24px, 5vw, 38px);
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-shadow: 0 0 30px rgba(225, 29, 72, 0.35);
}
.landing-sub {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 560px;
  font-size: 15px;
  line-height: 1.6;
}

.landing-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}
.landing-stats > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.02);
  min-width: 130px;
}
.landing-stats b {
  display: block;
  font-size: 22px;
  color: #ff2d4a;
  text-shadow: 0 0 14px rgba(255, 32, 64, 0.45);
}
.landing-stats span { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

.price-card {
  width: min(560px, 100%);
  padding: 28px 30px 30px;
  text-align: left;
  border-color: rgba(225, 29, 72, 0.34);
  background:
    linear-gradient(180deg, rgba(225, 29, 72, 0.08), transparent 42%),
    var(--panel);
  position: relative;
}
.price-card::before,
.price-card::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid #ff2d4a;
  pointer-events: none;
}
.price-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.price-card::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }

.price-head { margin-bottom: 16px; }
.price-tag {
  display: inline-block;
  background: var(--red-dim);
  color: #fda4af;
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.price-head h3 { margin: 12px 0 0; font-size: 17px; letter-spacing: 0.06em; }

.price-line { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.price-value {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 32, 64, 0.35);
}
.price-period { color: var(--muted); font-size: 15px; }

.price-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.price-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--ok); }
.price-list li b { color: #fff; }

.price-cta {
  width: 100%;
  min-height: 54px;
  border-radius: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}
.price-note {
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}
.price-note b { color: #fca5a5; }

.landing-foot {
  margin-top: 34px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.landing-foot a { color: #fca5a5; }
.landing-foot a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .landing-nav { padding: 14px 16px; }
  .price-card { padding: 22px 18px 24px; }
}

/* ---- responsivo ---- */
.mobile-nav, .menu-btn { display: none; }
@media (max-width: 1100px) {
  .result-grid, .meta-dense { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .search-sigil-ring { width: 132px; height: 132px; }
  .search-slogan { font-size: 11px; letter-spacing: 0.18em; }
  .search-sigil-wrap { margin: 0 0 20px; }
  .price-value { font-size: 40px; }
  .landing-stats { gap: 8px; }
  .landing-stats > div { min-width: 0; flex: 1 1 30%; padding: 10px 8px; }
  .landing-stats b { font-size: 19px; }
  .landing-title { font-size: 22px; }
  .content { padding: 14px 12px 22px; }
  .meta-dense, .result-grid { grid-template-columns: 1fr; }
  .price-line { margin-bottom: 14px; }
  th, td { padding: 10px 8px; }
  .toast-stack { left: 14px; right: 14px; bottom: 14px; }
  .toast { min-width: 0; }
  .row-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 900px) {
  .meta-dense, .consulta-blocks { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    z-index: 20;
    transform: translateX(-110%);
    width: min(84vw, 300px);
    transition: transform 0.22s ease;
    overflow-y: auto;
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 19;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
  }
  .menu-btn { display: inline-flex; }
  .content { padding: 18px 14px; }
  .topbar { padding: 0 14px; }
  .search-bar { flex-direction: column; gap: 10px; }
  .search-clean-bar .btn-primary { width: 100%; }
  .search-hero.search-clean { padding: 12px }
  .result-card { padding: 18px 16px; }
  .modal { padding: 18px 16px; }
  .modal-wide { max-height: 92vh; }
  .consulta-modal-body { max-height: 68vh; }
  .user-chip div:last-child { display: none; }
  .crumbs { font-size: 12px; }

  /* iOS: >=16px impede o zoom automatico ao focar inputs */
  .search-clean-bar input,
  .search-inline-select,
  .field input,
  .admin-form input,
  .admin-form select {
    font-size: 16px;
  }
}
