/*
 * IndústrIA — Interface styles
 * Tokens (colors, fonts, radii) come from marca/tokens.css
 *
 * Design: Operate mode (Impeccable). The tool disappears into the task.
 * Accent (#00AEEF) reserved for primary actions and active state only.
 * One font family, tight scale, restrained color, earned familiarity.
 */

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  display: flex;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(0,174,239,.14); color: var(--texto); }
:focus-visible { outline: 2px solid var(--marca-destaque); outline-offset: 2px; border-radius: 4px; }

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════════════════════ */
.sidebar {
  width: 260px; flex-shrink: 0;
  display: flex; flex-direction: column;
  background: #141e30; color: #fff;
  padding: 0; overflow-y: auto;
}
.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 9px; }

.sidebar-topo { padding: 22px 20px 16px; }
.sidebar-topo h1 {
  margin: 0 0 2px;
  font: 700 18px/1.2 var(--fonte-titulos);
  letter-spacing: -.02em;
}
.sidebar-topo small { font-size: 11px; opacity: .4; font-weight: 400; }
.destaque-ia { color: var(--marca-destaque); }

/* UF selector */
.seletor-uf { position: relative; margin: 0 12px 14px; width: calc(100% - 24px); }
.seletor-uf-gatilho {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; height: 34px; padding: 0 12px;
  font: 500 13px var(--fonte-titulos);
  background: rgba(255,255,255,.05); color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.08); border-radius: 6px;
  cursor: pointer; transition: all .15s;
}
.seletor-uf-gatilho:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.seletor-uf.aberto .seletor-uf-gatilho { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.seletor-uf-gatilho.tem-valor { color: #fff; font-weight: 600; }
.seletor-uf-texto { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seletor-uf-seta { flex-shrink: 0; margin-left: 6px; opacity: .35; transition: transform .2s; }
.seletor-uf.aberto .seletor-uf-seta { transform: rotate(180deg); }

.seletor-uf-lista {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  max-height: 320px; overflow-y: auto; z-index: 200;
  background: #1a2640; border: 1px solid rgba(255,255,255,.08); border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5); padding: 4px;
}
.seletor-uf-lista::-webkit-scrollbar { width: 3px; }
.seletor-uf-lista::-webkit-scrollbar-track { background: transparent; }
.seletor-uf-lista::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 9px; }

.seletor-uf-opcao {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px; border-radius: 5px;
  font: 400 13px var(--fonte-titulos); color: rgba(255,255,255,.6);
  cursor: pointer; transition: background .1s;
}
.seletor-uf-opcao:hover { background: rgba(255,255,255,.06); color: #fff; }
.seletor-uf-opcao.selecionada { background: rgba(0,174,239,.15); color: #fff; font-weight: 600; }
.seletor-uf-sigla {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 17px; border-radius: 3px;
  font: 700 9px var(--fonte-titulos); color: rgba(255,255,255,.7); flex-shrink: 0;
  background: rgba(255,255,255,.06);
}
.seletor-uf-opcao.selecionada .seletor-uf-sigla { background: rgba(255,255,255,.12); }
.seletor-uf-separador { height: 1px; margin: 3px 6px; background: rgba(255,255,255,.04); }

/* Navigation */
.sidebar-nav { flex: 1; display: flex; flex-direction: column; gap: 1px; padding: 0 8px; }
.nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border: none; border-radius: 5px;
  background: transparent; color: rgba(255,255,255,.55);
  font: 400 13px var(--fonte-titulos); cursor: pointer;
  text-align: left; transition: all .12s;
  text-decoration: none;
}
.nav-item:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); }
.nav-item.ativo { background: rgba(255,255,255,.08); color: #fff; font-weight: 500; }
.nav-icone { width: 18px; display: inline-flex; align-items: center; justify-content: center; opacity: .5; flex-shrink: 0; }
.nav-item.ativo .nav-icone { opacity: .8; }
.nav-link-externo { text-decoration: none; }
.nav-link-externo::after { content: " ↗"; font-size: 8px; opacity: .3; }
.nav-secao {
  display: block; padding: 16px 10px 4px;
  font: 500 9px var(--fonte-titulos); color: rgba(255,255,255,.2);
  text-transform: uppercase; letter-spacing: .1em;
}

/* Sidebar footer */
.sidebar-rodape { padding: 10px 12px 12px; border-top: 1px solid rgba(255,255,255,.04); }
.botao-nova {
  display: block; width: 100%; padding: 7px; margin-bottom: 10px;
  font: 500 12px var(--fonte-titulos); cursor: pointer;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.08); border-radius: 6px;
  transition: all .15s;
}
.botao-nova:hover { background: rgba(255,255,255,.12); color: #fff; }
.sidebar-assinatura {
  display: flex; flex-direction: column; align-items: center;
  margin: 4px 0 8px; padding: 10px 8px;
  background: rgba(0,0,0,.12); border-radius: 6px;
}
.assinatura-tier { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; }
.assinatura-label { font-size: 7px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.15); }
.assinatura-obs { width: 110px; height: auto; opacity: .5; }
.assinatura-obs:hover { opacity: .7; }
.assinatura-jpi { height: 24px; width: auto; opacity: .6; }
.assinatura-sep { width: 50px; height: 1px; background: rgba(255,255,255,.04); margin: 1px 0; }
.assinatura-realizacao { display: flex; align-items: center; gap: 8px; }
.assinatura-si { height: 16px; width: auto; opacity: .45; }
.assinatura-sebrae { height: 16px; width: auto; opacity: .45; }
.sidebar-sobre { font-size: 10px; opacity: .35; color: inherit; text-decoration: none; display: block; margin-bottom: 2px; transition: opacity .15s; }
.sidebar-sobre:hover { opacity: .6; }
.sidebar-beta { font-size: 9px; opacity: .2; color: inherit; text-decoration: none; cursor: default; display: block; }
.sidebar-beta:hover { opacity: .4; }

/* ═══════════════════════════════════════════════════════════════════════════
   PRINCIPAL
   ═══════════════════════════════════════════════════════════════════════════ */
.principal {
  flex: 1; display: flex; flex-direction: column;
  min-width: 0; height: 100vh;
}
.topo-mobile { display: none; }

.conversa {
  flex: 1; overflow-y: auto;
  max-width: 680px; width: 100%; margin: 0 auto;
  padding: 32px 24px 12px;
}
.conversa::-webkit-scrollbar { width: 4px; }
.conversa::-webkit-scrollbar-thumb { background: rgba(0,0,0,.08); border-radius: 9px; }

/* ── Institutional header bar ─────────────────────────────────────────── */
.bv-assinatura-header {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 12px 28px; margin-bottom: 32px;
  background: #141e30;
  border-radius: 8px;
}
.bvh-logo-obs { height: 13px; max-width: 160px; width: auto; opacity: .7; transition: opacity .2s; }
.bvh-logo-obs:hover { opacity: .9; }
.bvh-logo-jpi { height: 24px; width: auto; opacity: .85; }
.bvh-logo-si  { height: 20px; width: auto; opacity: .6; }
.bvh-logo-sebrae { height: 20px; width: auto; opacity: .6; }
.bvh-sep { width: 1px; height: 18px; background: rgba(255,255,255,.1); }

/* ── Welcome ────────────────────────────────────────────────────────────── */
.boas-vindas {
  display: flex; flex-direction: column; align-items: center;
  padding-bottom: 12px;
}

.bv-hero { text-align: center; margin-bottom: 32px; }
.bv-marcas {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.bv-mascote {
  width: 56px; height: auto;
  opacity: .9;
}
.bv-hero h2 {
  font: 600 24px/1.25 var(--fonte-titulos);
  color: var(--texto);
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.bv-hero p {
  color: var(--texto-suave);
  margin: 0; font-size: 14px;
  max-width: 440px; margin-left: auto; margin-right: auto;
  line-height: 1.6;
}

/* Pillar cards — elevation declared once (border), no shadow */
.bv-pilares {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-bottom: 24px; width: 100%;
}
.bv-pilar {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; background: var(--superficie);
  border: 1px solid var(--borda);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.bv-pilar:hover { border-color: #c0c8d2; transform: translateY(-1px); }
.bv-pilar[data-pergunta]:active { transform: translateY(0); }
.bv-laranja { border-left: 1px solid #F07020; }
.bv-azul    { border-left: 1px solid #003EA5; }
.bv-verde   { border-left: 1px solid #2EAF6D; }
.bv-roxo    { border-left: 1px solid #7B52AB; opacity: .5; cursor: default; }
.bv-roxo:hover { transform: none; border-color: var(--borda); }
.bv-pilar-icone {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; flex-shrink: 0;
}
.bv-laranja .bv-pilar-icone { background: #F07020; }
.bv-azul    .bv-pilar-icone { background: #003EA5; }
.bv-verde   .bv-pilar-icone { background: #2EAF6D; }
.bv-roxo    .bv-pilar-icone { background: #7B52AB; }
.bv-pilar strong { font: 500 13px/1.3 var(--fonte-titulos); color: var(--texto); display: block; }
.bv-pilar small { font-size: 11px; color: var(--texto-suave); line-height: 1.35; }
.em-breve-texto { font-style: italic; }

/* Suggestion chips — ghost style, not primary action */
.bv-sugestoes { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.chip {
  font: 400 12px var(--fonte-titulos); cursor: pointer;
  padding: 6px 14px; border-radius: 6px;
  background: transparent; color: var(--texto-suave);
  border: 1px solid var(--borda);
  transition: all .15s;
}
.chip:hover {
  border-color: var(--marca-primaria);
  color: var(--texto);
}
.chip:active { background: var(--fundo); }

/* ── Messages ──────────────────────────────────────────────────────────── */
.msg { margin: 16px 0; display: flex; }
.msg.usuario { justify-content: flex-end; }
.balao {
  max-width: 80%; padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px; line-height: 1.65;
}
.usuario .balao {
  background: var(--marca-primaria); color: #fff;
  white-space: pre-wrap;
  border-bottom-right-radius: 2px;
}
.assistente .balao {
  background: var(--superficie);
  border: 1px solid var(--borda);
  border-bottom-left-radius: 2px;
}
.assistente .balao > :first-child { margin-top: 0; }
.assistente .balao > :last-child { margin-bottom: 0; }
.erro .balao { border-color: #e74c3c; }

.fontes { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--borda); font-size: 12px; }
.fontes summary { cursor: pointer; color: var(--texto-suave); font-weight: 500; font-size: 12px; }
.fontes ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.fontes li { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.fontes .pasta {
  font-size: 10px; font-weight: 500; padding: 1px 5px; border-radius: 3px;
  background: var(--marca-primaria); color: #fff;
}
.fontes a { color: var(--marca-secundaria, #003EA5); font-size: 12px; }

.feedback-resposta {
  display: flex; align-items: center; gap: 6px;
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--borda);
}
.feedback-label { font-size: 11px; color: var(--texto-suave); }
.feedback-obrigado { font-style: italic; }
.feedback-btn {
  background: none; border: 1px solid var(--borda); border-radius: 4px;
  padding: 2px 6px; cursor: pointer; font-size: 13px;
  transition: all .12s;
}
.feedback-btn:hover { border-color: var(--texto-suave); }
.feedback-btn.like:hover { background: rgba(46,175,109,.06); }
.feedback-btn.dislike:hover { background: rgba(224,49,49,.04); }

.digitando span {
  display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%;
  background: var(--texto-suave); animation: pulsar 1.2s infinite ease-in-out;
}
.digitando span:nth-child(2) { animation-delay: .15s; }
.digitando span:nth-child(3) { animation-delay: .3s; }
@keyframes pulsar { 0%, 80%, 100% { opacity: .15; } 40% { opacity: .6; } }

.chip-anexo {
  display: inline-block; margin-left: 6px; padding: 2px 6px;
  background: rgba(255,255,255,.12); border-radius: 3px;
  font-size: 10px; font-weight: 500; opacity: .7;
}

/* ── Document map ──────────────────────────────────────────────────────── */
.mapa-docs {
  background: var(--superficie); border: 1px solid var(--borda);
  border-radius: 8px; padding: 20px; margin: 14px 0;
}
.mapa-docs h3 { margin: 0 0 14px; font: 500 15px/1.2 var(--fonte-titulos); color: var(--texto); }
.tabela-mapa { width: 100%; border-collapse: collapse; font-size: 13px; }
.tabela-mapa th {
  text-align: left; padding: 8px 10px; font: 500 11px var(--fonte-titulos);
  color: var(--texto-suave); text-transform: uppercase; letter-spacing: .04em;
  border-bottom: 1px solid var(--borda);
}
.tabela-mapa td { padding: 6px 10px; border-bottom: 1px solid rgba(0,0,0,.03); }
.tabela-mapa tr:hover { background: rgba(0,0,0,.012); }
.tabela-mapa a { color: var(--marca-secundaria, #003EA5); font-weight: 500; text-decoration: none; }
.tabela-mapa a:hover { text-decoration: underline; }
.mapa-nacional { background: rgba(27,42,74,.02); }
.mapa-nacional td { font-weight: 500; }

/* ── Input area ────────────────────────────────────────────────────────── */
.entrada {
  max-width: 680px; width: 100%; margin: 0 auto; padding: 8px 24px 0;
}
.entrada-linha {
  display: flex; gap: 4px; align-items: flex-end;
  background: var(--superficie);
  border: 1px solid var(--borda); border-radius: 20px;
  padding: 4px 4px 4px 8px;
  transition: border-color .15s;
}
.entrada-linha:focus-within { border-color: #b0b8c4; }

.entrada textarea {
  flex: 1; resize: none; max-height: 160px;
  font: inherit; font-size: 14px; color: var(--texto);
  padding: 7px 6px; border: none; background: transparent;
  outline: none;
}
.entrada textarea::placeholder { color: var(--texto-suave); opacity: .5; }

.anexar-wrapper { position: relative; }
.botao-anexar {
  display: flex; align-items: center; justify-content: center;
  width: 32px; min-width: 32px; height: 32px;
  border-radius: 6px; cursor: pointer;
  background: transparent; border: none;
  color: var(--texto-suave); opacity: .5;
  transition: all .12s;
}
.botao-anexar:hover { opacity: 1; color: var(--texto); }
.anexar-menu {
  position: absolute; bottom: 40px; left: 0;
  background: var(--superficie); border: 1px solid var(--borda);
  border-radius: 8px; padding: 4px 0; min-width: 250px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08); z-index: 50;
}
.anexar-menu[hidden] { display: none; }
.anexar-opcao {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; cursor: pointer; font: 400 13px var(--fonte-titulos);
  color: var(--texto); transition: background .1s;
}
.anexar-opcao:hover { background: var(--fundo); }
.anexar-opcao svg { flex-shrink: 0; color: var(--texto-suave); }
.anexar-nota {
  display: block; padding: 4px 12px 6px; font-size: 10px;
  color: var(--texto-suave); line-height: 1.4; border-top: 1px solid rgba(0,0,0,.04);
  margin-top: 2px;
}

.upload-preview {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px; background: rgba(0,174,239,.05);
  border-radius: 6px; font-size: 12px; color: var(--texto);
  margin-bottom: 4px;
}
.upload-preview[hidden] { display: none; }
.upload-preview .upload-nome { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-preview .upload-aviso { color: var(--texto-suave); font-size: 10px; white-space: nowrap; flex-shrink: 0; }
.upload-preview .upload-remover {
  background: none; border: none; cursor: pointer; font-size: 14px;
  color: var(--texto-suave); padding: 0 2px;
}
.upload-preview .upload-remover:hover { color: #e74c3c; }
.upload-preview.carregando { opacity: .5; }

.botao-mic {
  display: flex; align-items: center; justify-content: center;
  width: 32px; min-width: 32px; height: 32px;
  border-radius: 6px; cursor: pointer; flex-shrink: 0;
  background: transparent; border: none;
  color: var(--texto-suave); opacity: .5;
  transition: all .12s;
}
.botao-mic:hover { opacity: 1; color: var(--texto); }
.botao-mic.gravando {
  opacity: 1; background: #e74c3c; color: #fff;
  animation: pulsar-mic 1.5s infinite ease-in-out;
}
@keyframes pulsar-mic { 0%, 100% { box-shadow: 0 0 0 0 rgba(231,76,60,.25); } 50% { box-shadow: 0 0 0 5px rgba(231,76,60,0); } }
.botao-mic.transcrevendo { opacity: .3; cursor: wait; }

.botao-enviar {
  border: 0; background: var(--marca-primaria); color: #fff; cursor: pointer;
  width: 32px; min-width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px; transition: opacity .12s; flex-shrink: 0;
}
.botao-enviar:disabled { opacity: .25; cursor: default; }
.botao-enviar:hover:not(:disabled) { opacity: .8; }
.botao-enviar:active:not(:disabled) { transform: scale(.95); }

/* Footer below input */
.rodape-entrada {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  max-width: 680px; width: 100%; margin: 0 auto;
  padding: 6px 24px 14px;
  font-size: 11px; color: var(--texto-suave);
}
.rodape-entrada .aviso { opacity: .45; }
.rodape-entrada .marca-atualizacao { opacity: .35; }
.link-feedback {
  background: var(--marca-primaria); border: none; cursor: pointer;
  font: 600 11px var(--fonte-titulos); color: #fff;
  transition: opacity .12s; padding: 5px 14px; border-radius: 6px;
  text-decoration: none; margin-left: 8px;
}
.link-feedback:hover { opacity: .85; }

.modal-feedback {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.3); overflow-y: auto; padding: 20px;
}
.modal-feedback[hidden] { display: none; }
.modal-feedback-corpo {
  background: var(--superficie); border-radius: 12px; padding: 24px;
  width: 90%; max-width: 400px; box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.modal-feedback-corpo h3 { margin: 0 0 4px; font: 600 16px var(--fonte-titulos); color: var(--texto); }
.modal-feedback-corpo p { margin: 0 0 12px; font-size: 13px; color: var(--texto-suave); }
.modal-feedback-corpo textarea {
  width: 100%; font: inherit; font-size: 14px; padding: 10px;
  border: 1px solid var(--borda); border-radius: 8px; resize: vertical;
  color: var(--texto); background: var(--fundo);
}
.modal-feedback-corpo textarea:focus { outline: 2px solid var(--marca-destaque); outline-offset: -1px; }
.modal-feedback-acoes { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.botao-feedback-cancelar {
  padding: 7px 14px; border: 1px solid var(--borda); border-radius: 6px;
  background: transparent; color: var(--texto-suave); cursor: pointer;
  font: 500 13px var(--fonte-titulos); transition: all .12s;
}
.botao-feedback-cancelar:hover { border-color: var(--texto-suave); }
.botao-feedback-enviar {
  padding: 7px 18px; border: none; border-radius: 6px;
  background: var(--marca-primaria); color: #fff; cursor: pointer;
  font: 500 13px var(--fonte-titulos); transition: opacity .12s;
}
.botao-feedback-enviar:hover { opacity: .85; }

/* ── UF context panel ──────────────────────────────────────────────────── */
.painel-uf {
  position: relative; background: var(--superficie);
  border: 1px solid var(--borda);
  border-radius: 8px; padding: 16px 18px; margin: 14px 0;
}
.painel-uf h3 { margin: 0 0 10px; font: 500 15px/1.2 var(--fonte-titulos); color: var(--texto); }
.painel-secao { margin-bottom: 12px; }
.painel-secao h4 {
  margin: 0 0 6px; font: 500 10px/1 var(--fonte-titulos); color: var(--texto-suave);
  text-transform: uppercase; letter-spacing: .06em;
}
.painel-descricao { margin: 0 0 8px; font-size: 12px; color: var(--texto-suave); line-height: 1.4; }
.painel-docs-destaque { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.painel-doc-destaque {
  display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px;
  background: var(--marca-primaria); border-radius: 6px; text-decoration: none; color: #fff;
  transition: opacity .12s;
}
.painel-doc-destaque:hover { opacity: .88; }
.painel-doc-destaque .painel-doc-icone { font-size: 18px; line-height: 1; flex-shrink: 0; margin-top: 1px; }
.painel-doc-destaque strong { font-size: 12px; font-weight: 500; display: block; margin-bottom: 1px; }
.painel-doc-destaque small { font-size: 10px; color: rgba(255,255,255,.55); line-height: 1.3; }
.painel-docs { display: flex; flex-wrap: wrap; gap: 4px; }
.painel-doc-link {
  display: flex; align-items: center; gap: 5px; padding: 5px 8px;
  background: var(--fundo); border: 1px solid var(--borda); border-radius: 5px;
  text-decoration: none; color: var(--texto); font-size: 11px;
  transition: border-color .12s;
}
.painel-doc-link:hover { border-color: #b0b8c4; }
.painel-doc-link strong { font-size: 11px; font-weight: 500; color: var(--marca-primaria); }
.painel-doc-icone { font-size: 14px; line-height: 1; }
.painel-comite { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px; }
.painel-contato {
  font-size: 11px; padding: 7px 9px; background: var(--fundo);
  border-radius: 5px; border: 1px solid var(--borda);
}
.painel-contato strong { color: var(--texto); display: block; font-size: 12px; font-weight: 500; }
.painel-contato small { color: var(--texto-suave); }
.painel-contato a { color: var(--marca-secundaria, #003EA5); font-size: 10px; }
.contato-links { display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.whatsapp-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; background: #25D366;
  transition: opacity .12s; flex-shrink: 0;
}
.whatsapp-link:hover { opacity: .8; }
.whatsapp-link svg { fill: #fff; }
.painel-fechar {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none; font-size: 16px; color: var(--texto-suave);
  cursor: pointer; line-height: 1; padding: 4px;
}
.painel-fechar:hover { color: var(--texto); }
.painel-link-util { border-color: rgba(0,174,239,.1); }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.25); z-index: 90; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  body { flex-direction: column; }
  .sidebar {
    position: fixed; left: -280px; top: 0; bottom: 0;
    width: 270px; z-index: 100; transition: left .2s ease;
  }
  .sidebar.aberta { left: 0; }
  .principal { width: 100%; height: 100vh; }
  .topo-mobile {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 14px; background: #141e30; color: #fff;
  }
  .menu-toggle {
    background: none; border: none; color: #fff; font-size: 20px;
    cursor: pointer; padding: 4px 8px;
  }
  .topo-mobile-titulo { font: 600 16px var(--fonte-titulos); }
  .botao-nova-mobile {
    background: rgba(255,255,255,.08); border: none; color: #fff;
    font-size: 18px; width: 32px; height: 32px; border-radius: 6px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
  }
  .conversa { padding: 16px 14px 8px; }
  .bv-assinatura-header { padding: 8px 14px; gap: 8px; flex-wrap: wrap; border-radius: 6px; }
  .bvh-logo-jpi { height: 18px; }
  .bvh-logo-si, .bvh-logo-sebrae { height: 16px; }
  .bv-hero h2 { font-size: 18px; }
  .bv-hero p { font-size: 13px; }
  .bv-mascote { width: 40px; }
  .bv-pilares { grid-template-columns: 1fr; gap: 6px; }
  .bv-sugestoes { gap: 5px; }
  .chip { font-size: 11px; padding: 5px 10px; }
  .balao { max-width: 92%; font-size: 14px; }
  .entrada { padding: 6px 12px 0; }
  .entrada-linha { border-radius: 16px; }
  .rodape-entrada { padding: 4px 12px 10px; font-size: 10px; }
  .painel-uf { padding: 12px; margin: 10px 0; }
  .painel-docs-destaque { grid-template-columns: 1fr; }
  .painel-comite { grid-template-columns: 1fr; }
  .mapa-docs { padding: 14px; }
  .tabela-mapa { font-size: 12px; }
  .tabela-mapa th, .tabela-mapa td { padding: 5px 6px; }
  .modal-feedback-corpo { padding: 18px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sidebar { width: 220px; }
}
