/* Navegação inferior, tipografia, seções, busca e filtros. (parte do antigo styles.css) */
/* ---------- navegação inferior (estilo YouTube) ---------- */
/* colada na base, largura total, 5 colunas iguais; aba aberta = ícone cheio e rótulo forte, sem pílula */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; box-sizing: border-box;
  height: calc(var(--nav-h) + var(--safe-b)); padding: 0 0 var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch;
  background: rgb(var(--bg-rgb) / .96);
  border-top: 1px solid var(--line);
}
.nav button { display: grid; align-content: center; justify-items: center; gap: 3px; min-width: 0; color: var(--muted); font-size: 11px; line-height: 1.1; font-weight: 500; letter-spacing: 0; padding: 0; transition: color .15s; }
.nav .ind { position: relative; display: grid; place-items: center; width: 24px; height: 24px; }
.nav .ind svg { width: 24px; height: 24px; grid-area: 1 / 1; }
.nav .ind .f { display: none; }
.nav button[aria-current='page'] { color: var(--text); font-weight: 600; }
.nav button[aria-current='page'] .ind .o { display: none; }
.nav button[aria-current='page'] .ind .f { display: block; }
.nav button:active .ind { transform: scale(.9); }
.nav-live { position: absolute; top: -2px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 2px var(--bg); }

/* ---------- tipografia e seções ---------- */
.h1 { margin: 18px 0 4px; font: 700 28px/1.1 var(--ui); letter-spacing: -.03em; }
.sub { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.sub.small { margin: -6px 0 12px; font-size: 13px; }
.sec { margin-top: 30px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec-head h2 { margin: 0; font: 600 19px/1.2 var(--ui); letter-spacing: -.02em; }
.more { color: var(--muted); font-size: 13px; font-weight: 600; padding: 6px 0; }
.more:hover { color: var(--accent-text); }
.tag-demo { padding: 3px 9px; border-radius: 999px; border: 1px dashed var(--line-2); font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.status { margin: 20px 0; color: var(--muted); min-height: 1.4em; font-size: 14px; }
.hint { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.hint.warn { color: var(--accent-text); }
.foot-note { margin-top: 28px; }
.empty { padding: 18px; border-radius: var(--r-md); background: var(--s1); border: 1px dashed var(--line-2); color: var(--muted); font-size: 14px; }
.empty .pill { margin-top: 12px; }

/* ---------- busca e filtros ---------- */
.field {
  display: flex; align-items: center; gap: 12px; width: 100%; height: 52px; padding: 0 16px; margin-top: 4px;
  border-radius: 16px; background: var(--s1); border: 1px solid var(--line); color: var(--muted); font-size: 15px;
}
.field { margin-top: 12px; }
.field:focus-within { border-color: var(--accent); color: var(--text); }
.field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 16px; color: var(--text); }
.field input::placeholder { color: var(--muted); }

.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px -18px 4px; padding: 2px 18px; }
.pills::-webkit-scrollbar { display: none; }
.pill-btn, .pills select {
  flex: none; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line);
  color: var(--text); font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.pill-btn:hover { border-color: var(--line-2); }
.pill-btn[aria-pressed='true'] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }
.pill-btn svg { width: 16px; height: 16px; }
.pills select { appearance: none; padding-right: 16px; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 14px 0 18px; padding: 4px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); }
.seg button { height: 38px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); text-align: center; }
.seg button[aria-selected='true'] { background: var(--s3); color: var(--text); }
