/* =========================================================================
   Componentes reutilizáveis (catálogo em DECISOES.md §Componentes)
   ========================================================================= */

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) ease,
    border-color var(--t) ease, color var(--t) ease;
}

.btn:hover { text-decoration: none; }
.btn:disabled,
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.btn-primario { background: var(--acc); color: var(--acc-txt); }
.btn-primario:hover { background: var(--acc-hover); transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--acc) 38%, transparent); }

.btn-destaque { background: var(--acc2); color: #fff; }
.btn-destaque:hover { transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--acc2) 35%, transparent); }

.btn-secundario { background: transparent; color: var(--txt); border-color: var(--bd); }
.btn-secundario:hover { border-color: var(--acc); color: var(--acc); }

.btn-fantasma { background: transparent; color: var(--mut); }
.btn-fantasma:hover { background: var(--surf-2); color: var(--txt); }

.btn-perigo { background: var(--critico); color: #fff; }
.btn-perigo:hover { transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--critico) 35%, transparent); }

.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-bloco { width: 100%; }

.btn-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--mut);
  transition: background var(--t-rapida) ease, color var(--t-rapida) ease;
}

.btn-icone:hover { background: var(--surf-2); color: var(--txt); }
.btn-icone.sm { width: 30px; height: 30px; border-radius: 8px; }

.htmx-request.btn,
.btn.htmx-request { opacity: 0.7; pointer-events: none; }

/* ---------- Formulários ---------- */
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.campo > label,
.rotulo { font-size: 13px; font-weight: 600; }
.campo .obrigatorio { color: var(--critico); }

.entrada,
.campo input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.campo select,
.campo textarea,
.filtros input:not([type="checkbox"]),
.filtros select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--txt);
  outline: none;
  transition: border-color var(--t) ease, box-shadow var(--t) ease, background var(--t) ease;
}

.campo textarea { min-height: 96px; resize: vertical; line-height: 1.5; }

.entrada:focus,
.campo input:focus,
.campo select:focus,
.campo textarea:focus,
.filtros input:focus,
.filtros select:focus {
  border-color: var(--acc);
  box-shadow: var(--anel-foco);
  background: var(--surf);
}

.campo input::placeholder,
.campo textarea::placeholder,
.filtros input::placeholder { color: color-mix(in srgb, var(--mut) 75%, transparent); }

.campo-erro input,
.campo-erro select,
.campo-erro textarea { border-color: var(--critico); }
.erro-campo { font-size: 12px; color: var(--critico-txt); }
.ajuda { font-size: 12px; color: var(--mut); }

.erros-form {
  background: var(--critico-bg);
  color: var(--critico-txt);
  border-radius: var(--r);
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 14px;
}

.checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mut); cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--acc); }

.form-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grade .inteiro { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grade { grid-template-columns: minmax(0, 1fr); } }

.form-acoes { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }

/* ---------- Cabeçalho de página e filtros ---------- */
.pagina-cabecalho {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pagina-cabecalho h2 { font-size: 22px; }
.pagina-cabecalho p { color: var(--mut); margin-top: 4px; }
.pagina-acoes { display: flex; gap: 10px; flex-wrap: wrap; }

.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.filtros input:not([type="checkbox"]):not([type="radio"]),
.filtros select { width: auto; min-width: 150px; padding: 9px 12px; font-size: 13px; background: var(--surf); }

.busca { position: relative; flex: 1; min-width: 220px; max-width: 380px; }
.busca .icone { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--mut); pointer-events: none; }
.busca input { width: 100% !important; padding-left: 38px !important; }

/* ---------- Cards ---------- */
.card {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--r-xl);
  box-shadow: var(--sombra-card);
  transition: box-shadow var(--t-lenta) ease, border-color var(--t-lenta) ease;
}

.card-cabecalho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--bd);
}

.card-cabecalho h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.card-corpo { padding: 20px; }
.card-corpo.compacto { padding: 14px 16px; }
.card-rodape { padding: 12px 20px; border-top: 1px solid var(--bd); }

/* KPI (Lumen stat + brilho do kpi-card do Lovable) */
.kpi {
  position: relative;
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  padding: 18px;
  overflow: hidden;
  container-type: inline-size; /* o valor encolhe com a largura do card (moedas na casa dos milhões) */
  transition: transform var(--t) var(--ease), border-color var(--t) ease, box-shadow var(--t) ease;
}

.kpi::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--acc), var(--acc2), transparent);
  opacity: 0;
  transition: opacity var(--t) ease;
}

.kpi:hover { transform: translateY(-3px); border-color: var(--acc); box-shadow: var(--sombra-hover); }
.kpi:hover::before { opacity: 1; }
.kpi-topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--mut); font-size: 13px; }
.kpi-titulo { display: inline-flex; align-items: center; gap: 4px; }
.kpi-dica { display: inline-flex; color: var(--mut); cursor: help; border-radius: 50%; }
.kpi-dica:hover,
.kpi-dica:focus-visible { color: var(--acc); }
.kpi-icone { display: inline-flex; padding: 7px; border-radius: 10px; background: var(--acc-suave); color: var(--acc); }
.kpi-valor {
  display: block;
  font-family: var(--fonte-display);
  font-size: clamp(17px, 9.5cqi, 25px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  margin: 8px 0 2px;
}
.kpi-rodape { font-size: 12px; color: var(--mut); }
.kpi-rodape .positivo,
.kpi-rodape .negativo { font-weight: 600; }
a.kpi { color: inherit; display: block; }
a.kpi:hover { text-decoration: none; }

.kpi.critico .kpi-icone { background: var(--critico-bg); color: var(--critico-txt); }
.kpi.atencao .kpi-icone { background: var(--atencao-bg); color: var(--atencao-txt); }
.kpi.sucesso .kpi-icone { background: var(--sucesso-bg); color: var(--sucesso-txt); }
.kpi.destaque .kpi-icone { background: var(--acc2-suave); color: var(--acc2); }

/* Insight (blocos de IA / "Onde devo focar hoje?") */
.insight {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--bd);
  background: var(--surf);
  border-left: 3px solid var(--acc);
}

.insight .icone { margin-top: 2px; color: var(--acc); }
.insight-titulo { font-weight: 600; font-size: 14px; }
.insight-texto { color: var(--mut); font-size: 13px; margin-top: 2px; }
.insight.critico { border-left-color: var(--critico); }
.insight.critico .icone { color: var(--critico); }
.insight.atencao { border-left-color: var(--atencao); }
.insight.atencao .icone { color: var(--atencao); }
.insight.oportunidade { border-left-color: var(--sucesso); }
.insight.oportunidade .icone { color: var(--sucesso); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  background: var(--surf-2);
  color: var(--mut);
}

.badge-primaria { background: var(--acc-suave); color: var(--acc); }
.badge-sucesso { background: var(--sucesso-bg); color: var(--sucesso-txt); }
.badge-atencao { background: var(--atencao-bg); color: var(--atencao-txt); }
.badge-critico { background: var(--critico-bg); color: var(--critico-txt); }
.badge-info { background: var(--info-bg); color: var(--info-txt); }
.badge-oportunidade { background: var(--oportunidade-bg); color: var(--oportunidade-txt); }
.badge-destaque { background: var(--acc2-suave); color: var(--acc2); }
.badge-ponto::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Tabela ---------- */
.tabela-wrap {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.tabela-rolagem { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.tabela { width: 100%; font-size: 13px; }

.tabela th {
  text-align: left;
  padding: 12px 16px;
  color: var(--mut);
  font-weight: 500;
  font-size: 12px;
  border-bottom: 1px solid var(--bd);
  white-space: nowrap;
  background: var(--surf);
  position: sticky;
  top: 0;
  z-index: 1;
}

.tabela th a { color: inherit; display: inline-flex; align-items: center; gap: 4px; }
.tabela th a:hover { color: var(--txt); text-decoration: none; }
.tabela th.ordenado a { color: var(--acc); font-weight: 600; }

.tabela td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--bd);
  vertical-align: middle;
}

.tabela tbody tr { transition: background var(--t-rapida) ease; }
.tabela tbody tr:hover { background: var(--bg); }
.tabela tbody tr:last-child td { border-bottom: none; }
.tabela tr.clicavel { cursor: pointer; }
.tabela .num { text-align: right; font-variant-numeric: tabular-nums; }
.tabela .acoes { width: 1%; white-space: nowrap; text-align: right; }

.celula { display: flex; align-items: center; gap: 10px; min-width: 0; }
.celula-texto { min-width: 0; }
.celula-texto b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* :where() zera a especificidade: classes como .linha, .badge e utilitárias prevalecem. */
:where(.celula-texto) span { display: block; font-size: 12px; color: var(--mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Paginação ---------- */
.paginacao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--bd);
  font-size: 13px;
  color: var(--mut);
}

.paginacao-links { display: flex; gap: 4px; }

.paginacao-links a,
.paginacao-links span {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--txt);
}

.paginacao-links a:hover { background: var(--surf-2); text-decoration: none; }
.paginacao-links .atual { background: var(--acc); color: var(--acc-txt); font-weight: 600; }
.paginacao-links .desabilitado { color: var(--mut); opacity: 0.5; }

/* ---------- Abas ---------- */
/* position: relative contém os rádios .sr-only (abas-radio) dentro da rolagem; sem isso eles alargam a página no celular. */
.abas { position: relative; display: flex; gap: 4px; padding: 4px; background: var(--surf-2); border-radius: var(--r); width: fit-content; max-width: 100%; overflow-x: auto; }

.abas a,
.abas button {
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--mut);
  white-space: nowrap;
}

.abas a:hover,
.abas button:hover { color: var(--txt); text-decoration: none; }
.abas .ativa { background: var(--surf); color: var(--txt); font-weight: 600; box-shadow: var(--sombra-1); }

/* ---------- Menu suspenso ---------- */
.suspenso { position: relative; display: inline-block; }

.suspenso-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 190px;
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 5px;
  z-index: 50;
  box-shadow: var(--sombra-menu);
  animation: aparecer var(--t) var(--ease);
}

.suspenso.aberto .suspenso-menu { display: block; }
.suspenso-menu.esquerda { left: 0; right: auto; }

.suspenso-menu a,
.suspenso-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 11px;
  font-size: 13px;
  color: var(--txt);
  border-radius: 8px;
  border: none;
  background: none;
  text-align: left;
}

.suspenso-menu a:hover,
.suspenso-menu button:hover { background: var(--bg); text-decoration: none; }
.suspenso-menu .perigo { color: var(--critico-txt); }
.suspenso-menu hr { border: none; border-top: 1px solid var(--bd); margin: 5px 0; }
.suspenso-cabecalho { padding: 8px 11px; font-size: 12px; color: var(--mut); }
.suspenso-nome { display: block; font-size: 13px; font-weight: 600; color: var(--txt); }

@keyframes aparecer {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Overlay, modal e drawer ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  background: var(--overlay);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: surgir var(--t) ease;
}

/* "centro" aqui só centraliza a janela; o texto dela não herda o text-align do utilitário .centro. */
.overlay.centro { align-items: center; justify-content: center; padding: 16px; text-align: start; }

@keyframes surgir { from { opacity: 0; } to { opacity: 1; } }

.modal {
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: var(--sombra-menu);
  animation: pop 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.modal.largo { max-width: 760px; }
.modal.extra-largo { max-width: 1040px; }

@keyframes pop {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.drawer {
  margin-left: auto;
  width: 440px;
  max-width: 100%;
  height: 100%;
  overflow-y: auto;
  background: var(--surf);
  border-left: 1px solid var(--bd);
  padding: 26px;
  animation: deslizar var(--t-lenta) var(--ease);
}

.drawer.largo { width: 640px; }

@keyframes deslizar {
  from { transform: translateX(60px); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}

.janela-cabecalho { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.janela-cabecalho h3 { font-size: 18px; }
.janela-cabecalho p { color: var(--mut); font-size: 13px; margin-top: 4px; }
.janela-acoes { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* ---------- Toasts ---------- */
.toasts {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 32px);
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 12px;
  background: #141822;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--sombra-menu);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-lenta) ease, transform var(--t-lenta) var(--ease);
}

.toast.visivel { opacity: 1; transform: none; }
.toast .icone { width: 18px; height: 18px; }
.toast.sucesso .icone { color: #4ade80; }
.toast.erro .icone { color: #f87171; }
.toast.aviso .icone { color: #fbbf24; }
.toast.info .icone { color: #60a5fa; }

/* ---------- Avatar ---------- */
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--acc);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
  transition: box-shadow var(--t) ease;
}

.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.lg { width: 56px; height: 56px; font-size: 18px; }
.avatar.xl { width: 84px; height: 84px; font-size: 26px; }
.avatar.empresa { border-radius: 10px; background: var(--surf-2); color: var(--acc); }

/* ---------- Estados ---------- */
.vazio { text-align: center; padding: 48px 20px; color: var(--mut); }
.vazio .icone { width: 36px; height: 36px; margin: 0 auto 12px; color: var(--bd-forte); }
.vazio b { display: block; color: var(--txt); font-size: 15px; margin-bottom: 4px; }

.carregando {
  width: 22px;
  height: 22px;
  border: 2px solid var(--bd);
  border-top-color: var(--acc);
  border-radius: 50%;
  animation: girar 0.8s linear infinite;
}

@keyframes girar { to { transform: rotate(360deg); } }

.htmx-indicator { display: none; }
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator { display: inline-block; }
.htmx-request.esmaecer,
.htmx-request .esmaecer { opacity: 0.55; transition: opacity var(--t) ease; }

.esqueleto {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--surf-2) 25%, var(--bd) 50%, var(--surf-2) 75%);
  background-size: 200% 100%;
  animation: brilho 1.4s ease infinite;
  min-height: 14px;
}

@keyframes brilho { to { background-position: -200% 0; } }

.aviso {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--r);
  background: var(--info-bg);
  color: var(--info-txt);
  font-size: 13px;
}

.aviso.atencao { background: var(--atencao-bg); color: var(--atencao-txt); }
.aviso.critico { background: var(--critico-bg); color: var(--critico-txt); }
.aviso.sucesso { background: var(--sucesso-bg); color: var(--sucesso-txt); }

/* ---------- Progresso e score ---------- */
.progresso { height: 8px; border-radius: var(--r-pill); background: var(--surf-2); overflow: hidden; }
.progresso > span { display: block; height: 100%; border-radius: inherit; background: var(--acc); transition: width var(--t-lenta) var(--ease); }
.progresso.sucesso > span { background: var(--sucesso); }
.progresso.atencao > span { background: var(--atencao); }
.progresso.critico > span { background: var(--critico); }

/* ---------- Lista de dados (rótulo: valor) ---------- */
.dados { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: 10px 18px; font-size: 13px; }
.dados dt { color: var(--mut); }
.dados dd { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Kanban ---------- */
.kanban { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; align-items: flex-start; }

.kanban-coluna {
  flex: 0 0 290px;
  background: var(--surf-2);
  border-radius: var(--r-lg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 220px);
}

.kanban-cabecalho { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 10px; font-weight: 600; font-size: 13px; }
.kanban-cabecalho .total { font-size: 12px; color: var(--mut); font-weight: 500; }
.kanban-lista { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 60px; flex: 1; }

.kanban-card {
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 12px;
  cursor: grab;
  transition: box-shadow var(--t) ease, border-color var(--t) ease, transform var(--t) var(--ease);
}

.kanban-card:hover { border-color: var(--acc); box-shadow: var(--sombra-hover); }
.kanban-card.sortable-ghost { opacity: 0.4; }
.kanban-card.sortable-chosen { cursor: grabbing; transform: rotate(1.5deg); }
.kanban-card-titulo { font-weight: 600; font-size: 13px; }
.kanban-card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; font-size: 12px; color: var(--mut); }

/* ---------- Linha do tempo ---------- */
.linha-tempo { position: relative; padding-left: 26px; }
.linha-tempo::before { content: ""; position: absolute; left: 9px; top: 4px; bottom: 4px; width: 2px; background: var(--bd); }
.evento { position: relative; padding-bottom: 18px; }
.evento-ponto {
  position: absolute;
  left: -26px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surf);
  border: 2px solid var(--acc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--acc);
}
.evento-ponto .icone { width: 11px; height: 11px; }
.evento-cabecalho { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.evento-data { font-size: 12px; color: var(--mut); white-space: nowrap; }
.evento-corpo { font-size: 13px; color: var(--mut); margin-top: 4px; white-space: pre-line; }

/* ---------- Gráficos ---------- */
.grafico { position: relative; width: 100%; height: 280px; }
.grafico.baixo { height: 200px; }
.grafico.alto { height: 360px; }

/* ---------- Chips de filtro ativos ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 4px 11px;
  border-radius: var(--r-pill);
  background: var(--acc-suave);
  color: var(--acc);
  font-size: 12px;
  font-weight: 600;
}

.chip a { display: inline-flex; color: inherit; border-radius: 50%; padding: 2px; }
.chip a:hover { background: color-mix(in srgb, var(--acc) 15%, transparent); }

/* ---------- Seções de página ---------- */
.secao { margin-bottom: 24px; }
.secao-titulo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.secao-titulo h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }

.divisor { border: none; border-top: 1px solid var(--bd); margin: 18px 0; }
