:root {
  --ink: #14283D;
  --ink-2: #1F3A56;
  --paper: #EEF1F4;
  --panel: #FFFFFF;
  --line: #D8DEE4;
  --line-soft: #E8ECF0;
  --text: #1B2834;
  --muted: #5A6A79;
  --brass: #9C6F22;
  --brass-soft: #F4EAD5;
  --brass-line: #DDC28C;
  --human: #E2ECF6;
  --human-line: #BCD0E4;
  --note: #FFF6D1;
  --note-line: #E0C25E;
  --danger: #A9302F;
  --danger-soft: #FBE7E6;
  --ok: #2B7553;
  --ok-soft: #E1F1E8;
  --wait: #B5651D;
  --wait-soft: #FCEEDF;
  --focus: #2E6FB0;
  --radius-s: 6px;
  --radius-m: 10px;
  --font: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--focus); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.2; color: var(--ink); }
h1 { font-size: 22px; font-weight: 700; }
h2 { font-size: 18px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botões e campos */
.btn {
  display: inline-flex; align-items: center; gap: 6px; justify-content: center;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink);
  padding: 7px 12px; border-radius: var(--radius-s); cursor: pointer; font-weight: 500;
  white-space: nowrap;
}
.btn:hover { background: #F6F8FA; }
a.btn { text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); }
.btn-brass { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn-brass:hover { background: #87601C; }
.btn-danger { color: var(--danger); border-color: #E6BDBC; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: rgba(20, 40, 61, .06); }
.btn-sm { padding: 4px 9px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; flex: none; }

label.field { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=time], input[type=number], input[type=tel], select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--panel); padding: 7px 9px; color: var(--text);
}
textarea { resize: vertical; min-height: 64px; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(46, 111, 176, .35); border-color: var(--focus); }

/* Login */
.login {
  min-height: 100%; display: grid; place-items: center; padding: 24px;
  background: var(--ink);
}
.login-card {
  width: min(380px, 100%); background: var(--panel); border-radius: var(--radius-m);
  padding: 28px; display: grid; gap: 14px;
}
.login-card .marca { display: flex; align-items: center; gap: 10px; }
.login-card .marca img { width: 36px; height: 36px; }
.erro-form { color: var(--danger); font-size: 14px; min-height: 20px; }

/* Estrutura */
.shell { display: grid; grid-template-columns: 76px 1fr; height: 100vh; }
.rail {
  background: var(--ink); color: #C9D4DF; display: flex; flex-direction: column;
  align-items: stretch; padding: 12px 6px; gap: 4px;
}
.rail .logo { display: grid; place-items: center; padding: 4px 0 14px; }
.rail .logo img { width: 38px; height: 38px; }
.rail a {
  display: grid; justify-items: center; gap: 3px; padding: 9px 2px; border-radius: 8px;
  color: inherit; text-decoration: none; font-size: 11.5px; position: relative;
}
.rail a svg { width: 22px; height: 22px; }
.rail a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.rail a.ativo { background: rgba(201, 163, 90, .18); color: #fff; }
.rail a.ativo::before { content: ''; position: absolute; left: -6px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: #C9A35A; }
.rail .badge { position: absolute; top: 4px; right: 10px; }
.rail .espaco { flex: 1; }
.rail .usuario { font-size: 11px; text-align: center; color: #9FB0C1; padding: 6px 2px; word-break: break-word; }
.main { min-width: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; }

.badge {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700;
}

/* Caixa de entrada */
.inbox { display: grid; grid-template-columns: 340px minmax(0, 1fr) 330px; height: 100%; }
.inbox.sem-detalhes { grid-template-columns: 340px minmax(0, 1fr); }
.lista { background: var(--panel); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.lista-topo { padding: 14px 14px 10px; display: grid; gap: 10px; border-bottom: 1px solid var(--line-soft); }
.lista-topo .linha { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.filtros { display: flex; flex-wrap: wrap; gap: 6px; }
.filtro {
  border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 3px 10px;
  font-size: 13px; cursor: pointer; color: var(--muted); display: inline-flex; gap: 6px; align-items: center;
}
.filtro b { font-weight: 700; color: var(--text); }
.filtro.ativo { background: var(--ink); border-color: var(--ink); color: #fff; }
.filtro.ativo b { color: #fff; }
.itens { overflow-y: auto; flex: 1; }
.vazio { padding: 28px 18px; color: var(--muted); text-align: center; font-size: 14px; }

.item {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 11px 14px 11px 16px;
  border-bottom: 1px solid var(--line-soft); cursor: pointer; position: relative; background: var(--panel);
  width: 100%; text-align: left; border-left: 0; border-right: 0; border-top: 0;
}
.item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--estado, transparent); }
.item:hover { background: #F7F9FB; }
.item.ativo { background: #EDF2F7; }
.item .nome { font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .hora { font-size: 12px; color: var(--muted); }
.item .previa { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .meta { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.item.nao-lida .previa { color: var(--text); font-weight: 500; }
.estado-bot { --estado: var(--brass); }
.estado-fila { --estado: var(--wait); }
.estado-atendimento { --estado: var(--ink); }
.estado-encerrada { --estado: #B7C0C9; }

.selo { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 10px; font-size: 12px; font-weight: 500; }
.selo-urgente { background: var(--danger-soft); color: var(--danger); }
.selo-bot { background: var(--brass-soft); color: #74521A; }
.selo-fila { background: var(--wait-soft); color: #8A4A12; }
.selo-atendimento { background: var(--human); color: var(--ink); }
.selo-encerrada { background: #ECEFF2; color: var(--muted); }
.etq { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.etq i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); display: inline-block; }

/* Conversa */
.chat { display: flex; flex-direction: column; min-height: 0; min-width: 0; background: #F4F6F8; }
.chat-topo { background: var(--panel); border-bottom: 1px solid var(--line); padding: 10px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.chat-topo .quem { min-width: 0; }
.chat-topo .quem h2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-topo .acoes { display: flex; gap: 6px; flex-wrap: wrap; }
.voltar { display: none; }

/* Janela de 24 horas da Meta: barra que se esvazia com o tempo */
.janela { background: var(--panel); border-bottom: 1px solid var(--line); padding: 6px 16px 8px; font-size: 12.5px; color: var(--muted); display: grid; gap: 5px; }
.janela .trilho { height: 5px; background: var(--line-soft); border-radius: 3px; overflow: hidden; }
.janela .barra { height: 100%; background: var(--brass); border-radius: 3px; transition: width .6s ease; }
.janela.alerta .barra { background: var(--wait); }
.janela.fechada { color: var(--danger); }
.janela.fechada .barra { width: 0 !important; }

.mensagens { flex: 1; overflow-y: auto; padding: 16px clamp(12px, 3vw, 36px); display: flex; flex-direction: column; gap: 6px; }
.dia { align-self: center; font-size: 12px; color: var(--muted); background: #E4E9EE; padding: 2px 10px; border-radius: 10px; margin: 10px 0 4px; }
.msg { max-width: min(560px, 82%); padding: 7px 10px 5px; border-radius: 10px; border: 1px solid var(--line-soft); background: var(--panel); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg .autor { font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.msg .rodape { display: flex; gap: 6px; justify-content: flex-end; align-items: center; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.msg .rodape svg { width: 15px; height: 15px; }
.msg.in { align-self: flex-start; border-top-left-radius: 3px; }
.msg.out { align-self: flex-end; border-top-right-radius: 3px; }
.msg.out.atendente { background: var(--human); border-color: var(--human-line); }
.msg.out.atendente .autor { color: var(--ink); }
.msg.out.bot { background: var(--brass-soft); border-color: var(--brass-line); }
.msg.out.bot .autor { color: #74521A; }
.msg.falhou { border-color: #E3A7A6; }
.msg .erro { color: var(--danger); font-size: 12.5px; margin-top: 3px; white-space: normal; }
.lida { color: #2E86DE; }
.msg.note { align-self: stretch; max-width: none; background: var(--note); border: 1px dashed var(--note-line); }
.msg.note .autor { color: #7A5F0C; }
.msg.system { align-self: center; background: transparent; border: 0; color: var(--muted); font-size: 12.5px; padding: 2px 8px; text-align: center; max-width: 90%; }
.midia img { max-width: 260px; max-height: 260px; border-radius: 6px; display: block; margin-bottom: 4px; cursor: zoom-in; }
.midia audio, .midia video { max-width: 280px; display: block; margin-bottom: 4px; }
.midia a.doc { display: inline-flex; gap: 6px; align-items: center; padding: 6px 8px; background: rgba(20, 40, 61, .05); border-radius: 6px; text-decoration: none; color: var(--ink); margin-bottom: 4px; }

.compositor { background: var(--panel); border-top: 1px solid var(--line); padding: 8px 12px 12px; position: relative; }
.compositor .abas { display: flex; gap: 2px; margin-bottom: 6px; }
.compositor .aba { border: 0; background: transparent; padding: 4px 10px; border-radius: 6px; font-size: 13px; color: var(--muted); cursor: pointer; }
.compositor .aba.ativo { background: var(--paper); color: var(--ink); font-weight: 700; }
.compositor.modo-nota textarea { background: var(--note); border-color: var(--note-line); }
.compositor .linha { display: flex; gap: 8px; align-items: flex-end; }
.compositor textarea { min-height: 44px; max-height: 180px; resize: none; }
.compositor .dica { font-size: 12px; color: var(--muted); margin-top: 6px; }
.aviso-janela { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: var(--wait-soft); border: 1px solid #F0CFA8; color: #7A4210; padding: 8px 10px; border-radius: var(--radius-s); margin-bottom: 8px; font-size: 13.5px; }

.atalhos { position: absolute; bottom: calc(100% - 4px); left: 12px; right: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: 0 8px 24px rgba(20, 40, 61, .12); max-height: 260px; overflow-y: auto; z-index: 5; }
.atalhos button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 8px 12px; cursor: pointer; border-bottom: 1px solid var(--line-soft); }
.atalhos button:hover, .atalhos button.ativo { background: #EEF3F8; }
.atalhos b { color: var(--ink); }
.atalhos span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chat-vazio { flex: 1; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 24px; }
.chat-vazio div { max-width: 360px; display: grid; gap: 8px; }

/* Painel de detalhes */
.detalhes { background: var(--panel); border-left: 1px solid var(--line); overflow-y: auto; padding: 14px 16px 30px; display: grid; gap: 18px; align-content: start; }
.detalhes section { display: grid; gap: 10px; }
.detalhes .grade2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detalhes .tel { font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); border-radius: 14px; padding: 2px 10px; font-size: 13px; cursor: pointer; background: var(--panel); display: inline-flex; gap: 6px; align-items: center; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chip.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); color: var(--text); font-weight: 500; }
.resumo-ia { background: var(--brass-soft); border: 1px solid var(--brass-line); border-radius: var(--radius-s); padding: 8px 10px; font-size: 13.5px; }
.toggle { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.toggle input { width: 16px; height: 16px; accent-color: var(--danger); }
.historico a { display: block; font-size: 13px; padding: 3px 0; }

/* Páginas genéricas */
.pagina { overflow-y: auto; height: 100%; }
.pagina-topo select { width: auto; }
.fechar-detalhes { display: none; }
.pagina-topo { padding: 18px 24px 12px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pagina-corpo { padding: 0 24px 32px; }
.cartao { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px; }

/* Funil */
.funil { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; overflow-x: auto; padding: 0 24px 24px; height: calc(100% - 70px); }
.coluna { background: #E6EAEE; border-radius: var(--radius-m); display: flex; flex-direction: column; min-height: 0; }
.coluna header { padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--ink); }
.coluna .cards { padding: 0 8px 10px; overflow-y: auto; display: grid; gap: 8px; align-content: start; flex: 1; min-height: 60px; }
.coluna.sobre { outline: 2px dashed var(--brass); outline-offset: -4px; }
.card { background: var(--panel); border-radius: 8px; padding: 9px 10px; border: 1px solid var(--line); cursor: grab; display: grid; gap: 4px; border-left: 4px solid var(--estado, var(--line)); }
.card:active { cursor: grabbing; }
.card .nome { font-weight: 700; color: var(--ink); }
.card .linha { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--muted); }
.card p { margin: 0; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Relatórios */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px; }
.kpi .valor { font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.kpi .rotulo { font-size: 13px; color: var(--muted); margin-top: 4px; }
.graficos { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 12px; }
.grafico h3 { margin-bottom: 12px; }
.barras-h { display: grid; gap: 8px; }
.barra-h { display: grid; grid-template-columns: 140px 1fr 40px; gap: 8px; align-items: center; font-size: 13.5px; }
.barra-h .trilho { height: 14px; background: var(--line-soft); border-radius: 4px; overflow: hidden; }
.barra-h .valor-barra { height: 100%; background: var(--ink); border-radius: 0 4px 4px 0; min-width: 2px; }
.barra-h .num { text-align: right; font-weight: 700; color: var(--text); }
.colunas-svg { width: 100%; height: auto; display: block; }
.colunas-svg .col { fill: var(--ink); }
.colunas-svg .col:hover { fill: var(--brass); }
.colunas-svg text { font-size: 11px; fill: var(--muted); font-family: var(--font); }
.colunas-svg line { stroke: var(--line-soft); }
.tooltip { position: fixed; pointer-events: none; background: var(--ink); color: #fff; font-size: 12.5px; padding: 5px 8px; border-radius: 6px; z-index: 50; }
table.tabela { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabela th, .tabela td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); }
.tabela th { color: var(--muted); font-weight: 500; font-size: 13px; }
.tabela td.num, .tabela th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Simulador */
.simulador { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 24px; padding: 0 24px 24px; align-items: start; }
.telefone { background: #0F1D2B; border-radius: 28px; padding: 12px; height: min(720px, calc(100vh - 120px)); display: flex; flex-direction: column; }
.tel-tela { background: #ECE5DD; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.tel-topo { background: #1E5A4B; color: #fff; padding: 10px 14px; display: grid; gap: 1px; }
.tel-topo b { font-size: 15px; }
.tel-topo span { font-size: 12px; opacity: .85; }
.tel-msgs { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 5px; }
.tel-msg { max-width: 84%; padding: 6px 9px; border-radius: 8px; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; background: #fff; align-self: flex-start; }
.tel-msg.eu { background: #D9FDD3; align-self: flex-end; }
.tel-msg small { display: block; text-align: right; font-size: 10.5px; color: #667781; }
.tel-digitando { font-size: 12.5px; color: #1E5A4B; padding: 0 14px 6px; font-style: italic; min-height: 22px; }
.tel-entrada { display: flex; gap: 6px; padding: 8px; background: #F0F2F5; }
.tel-entrada input { border-radius: 18px; }
.tel-entrada button { border-radius: 50%; width: 38px; height: 38px; padding: 0; }
.sim-config { display: grid; gap: 14px; max-width: 560px; }

/* Configurações */
.config { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; padding: 0 24px 32px; align-items: start; }
.config nav { display: grid; gap: 2px; position: sticky; top: 0; }
.config nav a { padding: 7px 10px; border-radius: 6px; text-decoration: none; color: var(--text); font-size: 14px; }
.config nav a:hover { background: rgba(20, 40, 61, .06); }
.config nav a.ativo { background: var(--ink); color: #fff; }
.form-grade { display: grid; gap: 12px; max-width: 720px; }
.form-grade .dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dias { display: flex; flex-wrap: wrap; gap: 8px; }
.dias label { display: inline-flex; gap: 4px; align-items: center; font-size: 14px; }
.lista-edit { display: grid; gap: 8px; }
.lista-edit .linha-edit { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--panel); }
.status-int { display: grid; gap: 10px; }
.status-int .linha-int { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--panel); align-items: center; }
.ok-txt { color: var(--ok); font-weight: 700; }
.nao-txt { color: var(--wait); font-weight: 700; }
pre.codigo { background: #F4F6F8; border: 1px solid var(--line); border-radius: 6px; padding: 10px; overflow-x: auto; font-size: 13px; }

/* Diálogos e avisos */
dialog { border: 0; border-radius: var(--radius-m); padding: 0; width: min(520px, calc(100% - 32px)); box-shadow: 0 20px 60px rgba(20, 40, 61, .3); }
dialog::backdrop { background: rgba(20, 40, 61, .45); }
dialog .dlg { padding: 20px; display: grid; gap: 14px; }
dialog .dlg footer { display: flex; justify-content: flex-end; gap: 8px; }
#toasts { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 100; }
.toast { background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; max-width: 360px; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); cursor: pointer; }
.toast.erro { background: var(--danger); }
.toast.urgente { background: var(--danger); }
.toast b { display: block; }
.img-zoom img { max-width: 100%; max-height: 80vh; display: block; margin: auto; }

/* Telas menores: uma coluna por vez */
@media (max-width: 1180px) {
  .inbox, .inbox.sem-detalhes { grid-template-columns: 300px minmax(0, 1fr); }
  .fechar-detalhes { display: inline-flex; }
  .inbox .detalhes { position: fixed; right: 0; top: 0; bottom: 0; width: min(360px, 100%); z-index: 20; box-shadow: -10px 0 30px rgba(20, 40, 61, .15); }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .rail { flex-direction: row; order: 2; padding: 4px; justify-content: space-around; }
  .rail .logo, .rail .espaco, .rail .usuario { display: none; }
  .rail a { flex: 1; font-size: 10.5px; padding: 6px 0; }
  .rail a.ativo::before { display: none; }
  .main { height: calc(100vh - 60px); }
  .inbox, .inbox.sem-detalhes { grid-template-columns: minmax(0, 1fr); }
  .inbox.com-conversa .lista { display: none; }
  .inbox:not(.com-conversa) .chat { display: none; }
  .voltar { display: inline-flex; }
  .simulador, .config { grid-template-columns: 1fr; }
  .form-grade .dupla, .detalhes .grade2 { grid-template-columns: 1fr; }
  .pagina-topo, .pagina-corpo { padding-left: 16px; padding-right: 16px; }
  .barra-h { grid-template-columns: 100px 1fr 34px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Página pública da política de privacidade */
body.pagina-politica { background: var(--panel); }
.politica { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; line-height: 1.6; }
.politica h1 { font-size: 28px; margin-bottom: 18px; }
.politica h2 { font-size: 19px; margin: 28px 0 8px; }
.politica p, .politica li { color: var(--text); }
.politica ul { padding-left: 22px; }
.politica .atualizacao { color: var(--muted); font-size: 14px; margin-top: 32px; }
