/* ============================================================
   APPA Treinamentos — estilo principal (mobile first)
   ============================================================ */
:root {
  --primaria: #0E8A7E;
  --primaria-forte: #0A6B62;
  --primaria-suave: #E3F4F1;
  --verde: #4CA82E;
  --verde-suave: #E8F6E1;
  --azul: #1E7FC0;
  --azul-suave: #E3F0FA;
  --laranja: #E5850B;
  --laranja-suave: #FDF0DD;
  --vermelho: #D6413B;
  --vermelho-suave: #FCE8E7;
  --amarelo: #F2C230;

  --fundo: #F3F6F5;
  --superficie: #FFFFFF;
  --superficie-2: #F7FAF9;
  --borda: #DDE5E3;
  --texto: #15211F;
  --texto-2: #51625F;
  --texto-3: #81908D;
  --sombra: 0 1px 2px rgba(16, 40, 36, .06), 0 6px 18px rgba(16, 40, 36, .07);
  --sombra-forte: 0 10px 30px rgba(16, 40, 36, .16);
  --gradiente: linear-gradient(135deg, #7CC242 0%, #18A08E 48%, #1E7FC0 100%);

  --raio: 18px;
  --raio-p: 12px;
  --nav-h: 72px;
  --fonte: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --primaria: #2CC3B1;
  --primaria-forte: #5AD8C8;
  --primaria-suave: #10302D;
  --verde: #6BCB4A;
  --verde-suave: #18311A;
  --azul: #58A9E6;
  --azul-suave: #13283A;
  --laranja: #F4A23A;
  --laranja-suave: #3A2A12;
  --vermelho: #F06A63;
  --vermelho-suave: #3D1B1A;

  --fundo: #0B1416;
  --superficie: #13201F;
  --superficie-2: #182826;
  --borda: #24403B;
  --texto: #EAF3F1;
  --texto-2: #A9BEBA;
  --texto-3: #74908B;
  --sombra: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
  --sombra-forte: 0 10px 30px rgba(0, 0, 0, .45);
  --gradiente: linear-gradient(135deg, #3E8F27 0%, #0E7468 48%, #175F92 100%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--fonte); font-size: 17px; line-height: 1.5;
  background: var(--fundo); color: var(--texto); font-weight: 500;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
img, video, canvas { max-width: 100%; }
a { color: var(--primaria); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; font-weight: 900; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.08rem; }
p { margin: 0 0 .8em; }
.muted { color: var(--texto-2); }
.pequeno { font-size: .86rem; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.so-escuro { display: none; }
[data-theme="dark"] .so-escuro { display: inline; }
[data-theme="dark"] .so-claro { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top));
  background: var(--gradiente); color: #fff; min-height: 60px;
}
.topo-logo img { height: 34px; display: block; }
.topo-titulo { flex: 1; font-weight: 800; font-size: 1.02rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topo-voltar { display: flex; align-items: center; gap: 2px; color: #fff; font-weight: 800; padding: 8px 10px 8px 2px; }
.btn-tema {
  border: 0; background: rgba(255, 255, 255, .18); color: #fff; width: 44px; height: 44px;
  border-radius: 50%; display: grid; place-items: center; cursor: pointer;
}
.btn-tema .ic { width: 22px; height: 22px; }

/* ---------- Conteúdo ---------- */
.conteudo { max-width: 760px; margin: 0 auto; padding: 18px 16px 28px; }
.conteudo.com-nav { padding-bottom: calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); }

/* ---------- Navegação inferior ---------- */
.nav-baixo {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; justify-content: space-around; background: var(--superficie);
  border-top: 1px solid var(--borda); box-shadow: 0 -4px 20px rgba(0, 0, 0, .06);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.nav-baixo a {
  flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--texto-3); font-size: .78rem; font-weight: 800; padding: 6px 2px; border-radius: 14px;
}
.nav-baixo a .ic { width: 26px; height: 26px; }
.nav-baixo a.ativo { color: var(--primaria); background: var(--primaria-suave); }

/* ---------- Cartões ---------- */
.card {
  background: var(--superficie); border-radius: var(--raio); box-shadow: var(--sombra);
  padding: 18px; margin-bottom: 16px; border: 1px solid var(--borda);
}
.card-titulo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.card-titulo h2, .card-titulo h3 { margin: 0; }

/* Saudação */
.ola { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; }
.ola-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--gradiente); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.4rem; flex: none;
}
.ola h1 { margin: 0; font-size: 1.5rem; }
.ola p { margin: 0; color: var(--texto-2); }

/* Destaque "continue de onde parou" */
.destaque {
  position: relative; overflow: hidden; border-radius: 22px; color: #fff; margin-bottom: 18px;
  background: var(--gradiente); box-shadow: var(--sombra-forte); display: block;
}
.destaque-img { height: 150px; background-size: cover; background-position: center; opacity: .95; }
.destaque-corpo { padding: 16px 18px 18px; }
.destaque-corpo small { opacity: .9; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .75rem; }
.destaque-corpo h2 { color: #fff; margin: 4px 0 10px; font-size: 1.3rem; }
.destaque .barra { background: rgba(255, 255, 255, .3); }
.destaque .barra span { background: #fff; }
.destaque .btn { margin-top: 14px; background: #fff; color: var(--primaria-forte); }
[data-theme="dark"] .destaque .btn { color: #0A4E47; }

/* Contadores */
.numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.numero { background: var(--superficie); border: 1px solid var(--borda); border-radius: 16px; padding: 12px 8px; text-align: center; box-shadow: var(--sombra); }
.numero b { display: block; font-size: 1.6rem; font-weight: 900; line-height: 1.1; }
.numero span { font-size: .78rem; color: var(--texto-2); font-weight: 800; }
.numero.verde b { color: var(--verde); } .numero.laranja b { color: var(--laranja); } .numero.azul b { color: var(--azul); }

/* Lista de cursos */
.curso-item {
  display: flex; gap: 14px; align-items: center; background: var(--superficie); border: 1px solid var(--borda);
  border-radius: var(--raio); padding: 12px; margin-bottom: 12px; box-shadow: var(--sombra); color: var(--texto);
  transition: transform .15s;
}
.curso-item:active { transform: scale(.98); }
.curso-thumb { width: 84px; height: 84px; border-radius: 14px; background: var(--gradiente) center/cover; flex: none; display: grid; place-items: center; color: #fff; }
.curso-thumb .ic { width: 34px; height: 34px; }
.curso-info { flex: 1; min-width: 0; }
.curso-info h3 { margin: 0 0 4px; font-size: 1.02rem; }
.curso-info .meta { font-size: .82rem; color: var(--texto-2); display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.curso-info .meta span { display: inline-flex; align-items: center; gap: 4px; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 99px; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.chip .ic { width: 15px; height: 15px; }
.chip.verde { background: var(--verde-suave); color: var(--verde); }
.chip.azul { background: var(--azul-suave); color: var(--azul); }
.chip.laranja { background: var(--laranja-suave); color: var(--laranja); }
.chip.vermelho { background: var(--vermelho-suave); color: var(--vermelho); }
.chip.cinza { background: var(--superficie-2); color: var(--texto-2); border: 1px solid var(--borda); }

/* Barra de progresso */
.barra { height: 10px; background: var(--superficie-2); border-radius: 99px; overflow: hidden; border: 1px solid var(--borda); }
.barra span { display: block; height: 100%; background: linear-gradient(90deg, var(--verde), var(--primaria)); border-radius: 99px; transition: width .5s; }
.barra.grossa { height: 16px; }

.anel { position: relative; display: inline-grid; place-items: center; }
.anel svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.anel circle { fill: none; stroke-width: 7; }
.anel-fundo { stroke: var(--superficie-2); }
.anel-valor { stroke: var(--primaria); stroke-linecap: round; transition: stroke-dashoffset .6s; }
.anel b { font-size: .85rem; font-weight: 900; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  font: inherit; font-weight: 900; font-size: 1.05rem; border-radius: 16px; padding: 14px 22px; min-height: 54px;
  background: var(--primaria); color: #fff; text-align: center; transition: transform .1s, filter .2s; line-height: 1.2;
}
[data-theme="dark"] .btn { color: #052421; }
.btn:active { transform: scale(.97); }
.btn:hover { filter: brightness(1.05); }
.btn[disabled], .btn.desab { opacity: .45; pointer-events: none; }
.btn-bloco { display: flex; width: 100%; }
.btn-grande { min-height: 64px; font-size: 1.18rem; border-radius: 20px; }
.btn-verde { background: var(--verde); }
.btn-laranja { background: var(--laranja); }
.btn-vermelho { background: var(--vermelho); color: #fff; }
.btn-claro { background: var(--primaria-suave); color: var(--primaria-forte); }
[data-theme="dark"] .btn-claro { color: var(--primaria-forte); }
.btn-borda { background: transparent; color: var(--primaria); border: 2px solid var(--primaria); }
[data-theme="dark"] .btn-borda { color: var(--primaria); }
.btn-p { min-height: 40px; padding: 8px 14px; font-size: .92rem; border-radius: 12px; }
.btn .ic { width: 1.3em; height: 1.3em; }
.acoes { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Formulários ---------- */
.campo { margin-bottom: 16px; }
.campo label { display: block; font-weight: 800; margin-bottom: 6px; }
.campo .ajuda { font-size: .85rem; color: var(--texto-2); margin-top: 4px; }
.input, select.input, textarea.input {
  width: 100%; font: inherit; font-size: 1.1rem; font-weight: 700; color: var(--texto);
  background: var(--superficie); border: 2px solid var(--borda); border-radius: 14px; padding: 14px 16px; min-height: 56px;
  transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 120px; font-size: 1rem; font-weight: 600; }
.input:focus { outline: none; border-color: var(--primaria); box-shadow: 0 0 0 4px var(--primaria-suave); }
.input-icone { position: relative; }
.input-icone > .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--texto-3); width: 24px; height: 24px; }
.input-icone .input { padding-left: 52px; }
.ver-senha { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--texto-2); padding: 10px; cursor: pointer; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 700; }
.check input { width: 28px; height: 28px; accent-color: var(--primaria); flex: none; margin: 0; }

/* ---------- Alertas ---------- */
.alerta { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 14px; font-weight: 700; }
.alerta .ic { margin-top: 2px; }
.alerta-sucesso { background: var(--verde-suave); color: var(--verde); }
.alerta-erro { background: var(--vermelho-suave); color: var(--vermelho); }
.alerta-aviso { background: var(--laranja-suave); color: var(--laranja); }
.alerta-info { background: var(--azul-suave); color: var(--azul); }

/* ---------- Login ---------- */
.modo-login { background: var(--gradiente); min-height: 100vh; min-height: 100dvh; }
.login { max-width: 440px; margin: 0 auto; padding: 28px 18px 40px; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; }
.login-logo { text-align: center; margin-bottom: 18px; }
.login-logo img { height: 72px; }
.login-logo p { color: #fff; font-weight: 800; margin: 6px 0 0; font-size: 1.05rem; opacity: .95; }
.login .card { padding: 24px 20px; border: 0; border-radius: 26px; }
.login h1 { font-size: 1.45rem; text-align: center; }
.login .dica { background: var(--azul-suave); color: var(--azul); border-radius: 14px; padding: 12px 14px; font-size: .92rem; font-weight: 700; display: flex; gap: 10px; }
.login-tema { position: fixed; top: 14px; right: 14px; }

/* ---------- Página do curso ---------- */
.capa-curso { border-radius: 22px; overflow: hidden; background: var(--gradiente) center/cover; min-height: 170px; position: relative; margin-bottom: 16px; box-shadow: var(--sombra); }
.capa-curso::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .65)); }
.capa-curso div { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; }
.capa-curso h1 { color: #fff; margin: 0; font-size: 1.45rem; text-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.passos { list-style: none; padding: 0; margin: 0; position: relative; }
.passo { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--superficie); border: 2px solid var(--borda); margin-bottom: 10px; color: var(--texto); position: relative; }
.passo-num { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.15rem; flex: none; background: var(--azul-suave); color: var(--azul); }
.passo-num .ic { width: 26px; height: 26px; }
.passo.feito { border-color: var(--verde); }
.passo.feito .passo-num { background: var(--verde); color: #fff; }
.passo.atual { border-color: var(--primaria); box-shadow: 0 0 0 4px var(--primaria-suave); }
.passo.atual .passo-num { background: var(--primaria); color: #fff; animation: pulso 1.8s infinite; }
.passo.bloq { opacity: .55; }
.passo.bloq .passo-num { background: var(--superficie-2); color: var(--texto-3); }
.passo-info { flex: 1; min-width: 0; }
.passo-info h3 { margin: 0 0 2px; font-size: 1rem; }
.passo-info small { color: var(--texto-2); font-weight: 700; display: flex; gap: 6px; align-items: center; }
.passo .seta { color: var(--texto-3); }
@keyframes pulso { 0%, 100% { box-shadow: 0 0 0 0 rgba(14, 138, 126, .45); } 50% { box-shadow: 0 0 0 10px rgba(14, 138, 126, 0); } }

/* ---------- Player ---------- */
.player-topo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.player-topo h1 { font-size: 1.2rem; margin: 0; flex: 1; }
.video-caixa { position: relative; background: #000; border-radius: 18px; overflow: hidden; box-shadow: var(--sombra-forte); aspect-ratio: 16/9; }
.video-caixa video { width: 100%; height: 100%; display: block; background: #000; }
.video-play-grande {
  position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); color: var(--primaria); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4); transition: transform .15s;
}
.video-play-grande .ic { width: 44px; height: 44px; margin-left: 6px; }
.video-play-grande:active { transform: scale(.94); }
.status-aula { display: flex; align-items: center; gap: 12px; background: var(--superficie); border: 1px solid var(--borda); border-radius: 16px; padding: 12px 14px; margin: 14px 0; box-shadow: var(--sombra); }
.status-aula .barra { flex: 1; }
.status-aula b { font-size: 1.05rem; min-width: 46px; text-align: right; }
.tempo-registrado { display: flex; gap: 6px; align-items: center; font-size: .85rem; color: var(--texto-2); font-weight: 800; justify-content: center; }
.tempo-registrado .ponto { width: 9px; height: 9px; border-radius: 50%; background: var(--texto-3); }
.tempo-registrado.ativo .ponto { background: var(--vermelho); animation: piscar 1.2s infinite; }
@keyframes piscar { 50% { opacity: .2; } }

/* Leitor de PDF */
.pdf-caixa { background: var(--superficie-2); border-radius: 18px; border: 1px solid var(--borda); overflow: hidden; position: relative; }
.pdf-pagina { display: flex; justify-content: center; padding: 10px; min-height: 240px; align-items: center; touch-action: pan-y pinch-zoom; }
.pdf-pagina canvas { box-shadow: var(--sombra); border-radius: 6px; background: #fff; max-width: 100%; height: auto !important; }
.pdf-controles { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--superficie); border-top: 1px solid var(--borda); }
.pdf-controles .btn { flex: 1; }
.pdf-contador { font-weight: 900; font-size: 1.05rem; min-width: 74px; text-align: center; }
.pdf-pontos { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; padding: 10px 6px 0; }
.pdf-pontos i { width: 12px; height: 12px; border-radius: 50%; background: var(--borda); display: block; }
.pdf-pontos i.vista { background: var(--verde); }
.pdf-pontos i.atual { outline: 3px solid var(--primaria); outline-offset: 1px; }
.pdf-carregando { padding: 60px 20px; text-align: center; color: var(--texto-2); font-weight: 800; }
.pdf-cronometro { position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, .65); color: #fff; padding: 5px 10px; border-radius: 99px; font-size: .8rem; font-weight: 800; z-index: 2; }

/* Questionário */
.pergunta { margin-bottom: 18px; }
.pergunta-n { font-size: .8rem; font-weight: 900; color: var(--primaria); text-transform: uppercase; letter-spacing: .05em; }
.pergunta h3 { font-size: 1.12rem; margin: 4px 0 12px; }
.opcoes { display: grid; gap: 10px; }
.opcoes.vf { grid-template-columns: 1fr 1fr; }
.opcao { position: relative; }
.opcao input { position: absolute; opacity: 0; }
.opcao span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; padding: 12px; border-radius: 16px;
  border: 2px solid var(--borda); background: var(--superficie); font-weight: 800; cursor: pointer; text-align: center; transition: all .15s;
}
.opcao input:checked + span { border-color: var(--primaria); background: var(--primaria-suave); color: var(--primaria-forte); box-shadow: 0 0 0 3px var(--primaria-suave); }
.opcao input:focus-visible + span { outline: 3px solid var(--azul); }
.opcao.certa span { border-color: var(--verde); background: var(--verde-suave); color: var(--verde); }
.opcao.errada span { border-color: var(--vermelho); background: var(--vermelho-suave); color: var(--vermelho); }
.explicacao { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--superficie-2); font-size: .92rem; font-weight: 700; color: var(--texto-2); }
.quiz-resultado { text-align: center; padding: 10px 0; }
.quiz-resultado .grande { font-size: 3.2rem; font-weight: 900; line-height: 1; }

/* ---------- Modal ---------- */
.modal-fundo { position: fixed; inset: 0; background: rgba(5, 20, 18, .65); z-index: 100; display: none; align-items: flex-end; justify-content: center; backdrop-filter: blur(3px); }
.modal-fundo.aberto { display: flex; animation: aparecer .2s; }
.modal {
  background: var(--superficie); width: 100%; max-width: 560px; border-radius: 26px 26px 0 0; padding: 22px 18px calc(20px + env(safe-area-inset-bottom));
  max-height: 94vh; max-height: 94dvh; overflow-y: auto; box-shadow: var(--sombra-forte); animation: subir .28s ease-out;
}
@media (min-width: 640px) { .modal-fundo { align-items: center; } .modal { border-radius: 26px; } }
.modal-icone { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: var(--verde-suave); color: var(--verde); }
.modal-icone .ic { width: 42px; height: 42px; }
.modal h2 { text-align: center; }
@keyframes aparecer { from { opacity: 0; } }
@keyframes subir { from { transform: translateY(40px); opacity: 0; } }

.ciencia-texto { background: var(--superficie-2); border: 1px solid var(--borda); border-radius: 14px; padding: 14px; font-size: .98rem; font-weight: 600; max-height: 34vh; overflow-y: auto; white-space: pre-line; margin-bottom: 14px; }
.assinatura-caixa { border: 2px dashed var(--borda); border-radius: 16px; background: #fff; position: relative; touch-action: none; }
.assinatura-caixa canvas { display: block; width: 100%; height: 170px; cursor: crosshair; }
.assinatura-caixa .linha { position: absolute; left: 20px; right: 20px; bottom: 38px; border-bottom: 2px solid #ccd; pointer-events: none; }
.assinatura-caixa .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #99a; font-weight: 800; pointer-events: none; }
.assinatura-acoes { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 14px; font-size: .88rem; }
.link-btn { background: none; border: 0; color: var(--primaria); font: inherit; font-weight: 800; cursor: pointer; padding: 6px; }

/* Presença */
.presenca { text-align: center; }

/* Comemoração */
.confete { position: fixed; inset: 0; pointer-events: none; z-index: 120; overflow: hidden; }
.confete i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: cair 2.8s linear forwards; }
@keyframes cair { to { transform: translateY(110vh) rotate(720deg); } }

/* Certificado */
.cert-lista .cert { display: flex; gap: 14px; align-items: center; }
.cert-medalha { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #F7D35C, #E5A50B); display: grid; place-items: center; color: #fff; flex: none; box-shadow: 0 4px 12px rgba(229, 165, 11, .4); }
.cert-medalha .ic { width: 30px; height: 30px; }

/* Vazio */
.vazio { text-align: center; padding: 34px 16px; color: var(--texto-2); }
.vazio .ic { width: 56px; height: 56px; color: var(--texto-3); margin-bottom: 10px; }

/* Tabela simples */
.tabela { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tabela th, .tabela td { padding: 10px 8px; border-bottom: 1px solid var(--borda); text-align: left; vertical-align: top; }
.tabela th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--texto-2); font-weight: 900; }

.lista-dados { display: grid; gap: 2px; }
.lista-dados div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--borda); }
.lista-dados div span:first-child { color: var(--texto-2); font-weight: 700; }
.lista-dados div span:last-child { font-weight: 800; text-align: right; }

.paginacao { display: flex; gap: 6px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.paginacao a { padding: 6px 12px; border-radius: 10px; background: var(--superficie); border: 1px solid var(--borda); font-weight: 800; }
.paginacao a.ativo { background: var(--primaria); color: #fff; border-color: var(--primaria); }

.rodape-legal { text-align: center; font-size: .78rem; color: rgba(255, 255, 255, .85); margin-top: 18px; }

@media (min-width: 720px) {
  body { font-size: 16px; }
  .destaque { display: grid; grid-template-columns: 300px 1fr; }
  .destaque-img { height: 100%; min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print {
  .topo, .nav-baixo, .btn-tema, .nao-imprimir { display: none !important; }
  body { background: #fff; color: #000; }
}
