/* Concurso Aqui — folha unica, sem framework e sem build.
   Paleta: azul-marinho institucional + ambar de destaque. */

:root {
  --azul: #10375c;
  --azul-2: #1b6ca8;
  --azul-claro: #eaf2f8;
  --ambar: #f2a007;
  --verde: #147d4c;
  --verde-claro: #e6f5ee;
  --vermelho: #b3261e;
  --texto: #1c2a35;
  --texto-2: #5b7183;
  --borda: #dbe4ec;
  --fundo: #ffffff;
  --fundo-2: #f7fafc;
  --raio: 12px;
  --sombra: 0 1px 3px rgba(16, 55, 92, .08), 0 6px 20px rgba(16, 55, 92, .06);
  --fonte: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 17px;
  line-height: 1.62;
  color: var(--texto);
  background: var(--fundo);
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
main.wrap { padding-bottom: 48px; }

a { color: var(--azul-2); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pular {
  position: absolute; left: -9999px; top: 0; background: var(--azul); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.pular:focus { left: 8px; top: 8px; }

/* ---------- cabecalho ---------- */
.topo { background: var(--azul); color: #fff; }
.topo-linha {
  display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px;
}
.marca { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 20px; }
.marca:hover { text-decoration: none; opacity: .92; }
.marca-icone {
  background: var(--ambar); color: var(--azul); font-family: var(--serif);
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  font-size: 16px; font-weight: 700; letter-spacing: -.5px;
}
.busca-topo { display: flex; flex: 1; max-width: 460px; margin-left: auto; }
.busca-topo input {
  flex: 1; min-width: 0; border: 0; border-radius: 8px 0 0 8px; padding: 9px 12px;
  font-size: 15px; font-family: inherit;
}
.busca-topo button {
  border: 0; background: var(--ambar); color: var(--azul); font-weight: 700;
  padding: 9px 16px; border-radius: 0 8px 8px 0; cursor: pointer; font-size: 15px;
}
.busca-topo button:hover { filter: brightness(1.06); }
.menu-btn {
  display: none; background: rgba(255, 255, 255, .14); color: #fff; border: 0;
  border-radius: 8px; padding: 9px 14px; font: inherit; font-size: 15px; cursor: pointer;
}
.nav {
  display: flex; gap: 4px; flex-wrap: wrap; max-width: 1120px; margin: 0 auto;
  padding: 0 18px 10px; 
}
.nav a {
  color: #cfe0ee; padding: 7px 12px; border-radius: 8px; font-size: 15px; font-weight: 600;
}
.nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- trilha ---------- */
.trilha { font-size: 14px; color: var(--texto-2); margin: 18px 0 6px; }
.trilha .sep { margin: 0 7px; color: var(--borda); }
.trilha a { color: var(--texto-2); }

/* ---------- tipografia ---------- */
h1 { font-family: var(--serif); font-size: 2.05rem; line-height: 1.22; margin: 12px 0 14px; color: var(--azul); }
h2 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; margin: 34px 0 12px; color: var(--azul); }
h3 { font-size: 1.16rem; margin: 24px 0 8px; color: var(--azul); }
p { margin: 0 0 14px; }
.lead { font-size: 1.12rem; color: #33475a; }
.sub { color: var(--texto-2); font-size: 15px; margin-top: -6px; }
.nota { font-size: 14.5px; color: var(--texto-2); border-left: 3px solid var(--borda); padding-left: 12px; }
code { background: var(--fundo-2); padding: 2px 6px; border-radius: 5px; font-size: .92em; }

/* ---------- home ---------- */
.hero {
  background: linear-gradient(160deg, var(--azul-claro), #fff 70%);
  border: 1px solid var(--borda); border-radius: 16px;
  padding: 30px 26px; margin: 20px 0 26px;
}
.hero h1 { margin-top: 0; }
.busca-grande { display: flex; gap: 0; margin: 18px 0 16px; max-width: 660px; }
.busca-grande input {
  flex: 1; min-width: 0; border: 2px solid var(--azul); border-right: 0;
  border-radius: 10px 0 0 10px; padding: 13px 15px; font-size: 16px; font-family: inherit;
}
.busca-grande button {
  border: 2px solid var(--azul); background: var(--azul); color: #fff; font-weight: 700;
  padding: 13px 22px; border-radius: 0 10px 10px 0; cursor: pointer; font-size: 16px; font-family: inherit;
}
.busca-grande button:hover { background: #0c2b47; }
.numeros { list-style: none; display: flex; flex-wrap: wrap; gap: 28px; padding: 0; margin: 6px 0 0; }
.numeros li { display: flex; flex-direction: column; }
.numeros strong { font-family: var(--serif); font-size: 1.7rem; color: var(--azul); line-height: 1.1; }
.numeros span { font-size: 14px; color: var(--texto-2); }

/* ---------- blocos ---------- */
.bloco { margin: 34px 0; }
.bloco-explica { background: var(--fundo-2); border: 1px solid var(--borda); border-radius: 14px; padding: 22px 24px; }
.bloco-cta { background: var(--azul-claro); border-radius: 14px; padding: 20px 24px; }
.caixa-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.caixa-topo h2 { margin-bottom: 10px; }
.ver-todos { font-size: 14px; font-weight: 600; white-space: nowrap; }

.colunas-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.colunas-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; align-items: start; }

.caixa {
  border: 1px solid var(--borda); border-radius: 14px; padding: 16px 18px; background: #fff;
}
.caixa h2 { font-size: 1.16rem; margin: 0 0 8px; }

/* ---------- cards ---------- */
.grade-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; }
.card {
  display: block; border: 1px solid var(--borda); border-radius: 14px; padding: 16px 18px;
  background: #fff; box-shadow: var(--sombra); color: inherit;
}
.card:hover { text-decoration: none; border-color: var(--azul-2); }
.card-titulo { display: block; font-weight: 700; color: var(--azul); font-size: 1.04rem; line-height: 1.35; margin-bottom: 8px; }
.card-titulo:hover { text-decoration: underline; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.card-dados { font-size: 15px; margin: 6px 0; }
.card-resumo { font-size: 14.6px; color: var(--texto-2); margin: 6px 0 0; }
.card-post img { border-radius: 10px; margin-bottom: 10px; display: block; }
.card small { color: var(--texto-2); font-size: 13.5px; }

/* ---------- tags ---------- */
.tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 9px;
  border-radius: 999px; background: var(--azul-claro); color: var(--azul);
}
.tag-verde { background: var(--verde-claro); color: var(--verde); }
.tag-ambar { background: #fdf1d8; color: #8a6100; }
.tag-azul { background: var(--azul-claro); color: var(--azul-2); }
.tag-cinza { background: #eef2f5; color: var(--texto-2); }
.tag-neutra { background: #eef2f5; color: var(--texto-2); }
.tag-vermelha { background: #fdecea; color: var(--vermelho); }

/* ---------- listas ---------- */
.lista-atos, .lista-links, .lista-orgaos { list-style: none; padding: 0; margin: 0; }
.lista-atos li, .lista-links li, .lista-orgaos li {
  padding: 9px 0; border-bottom: 1px solid var(--borda);
}
.lista-atos li:last-child, .lista-links li:last-child, .lista-orgaos li:last-child { border-bottom: 0; }
.lista-atos a { font-weight: 600; font-size: 15.4px; }
.lista-meta { display: block; font-size: 13.4px; color: var(--texto-2); margin-top: 2px; }
.lista-atos-grande li { padding: 13px 0; }
.bullets { padding-left: 20px; }
.bullets li { margin-bottom: 7px; }
.passos { padding-left: 22px; }
.passos li { margin-bottom: 10px; }
.vazio { color: var(--texto-2); background: var(--fundo-2); border-radius: 10px; padding: 18px; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--borda); border-radius: 999px; padding: 6px 14px; font-size: 14.5px;
  background: #fff; color: var(--azul);
}
.chip:hover { border-color: var(--azul-2); text-decoration: none; background: var(--azul-claro); }
.chip b { color: var(--texto-2); font-weight: 700; font-size: 13px; }
.chip-vazio { opacity: .55; }
.chips-grande .chip { font-size: 15px; padding: 8px 16px; }

/* ---------- grade de UF ---------- */
.grade-uf { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.uf-card {
  border: 1px solid var(--borda); border-radius: 12px; padding: 12px 14px; background: #fff;
  display: flex; flex-direction: column; gap: 2px; color: var(--texto);
}
.uf-card:hover { border-color: var(--azul-2); text-decoration: none; }
.uf-card strong { font-family: var(--serif); font-size: 1.2rem; color: var(--azul); }
.uf-card span { font-size: 14px; }
.uf-card b { font-size: 12.5px; color: var(--texto-2); font-weight: 600; }
.uf-vazio { opacity: .6; }

/* ---------- ficha ---------- */
.ficha { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15.4px; }
.ficha th, .ficha td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--borda); vertical-align: top; }
.ficha th { width: 210px; color: var(--texto-2); font-weight: 600; background: var(--fundo-2); }
.ficha thead th { background: var(--azul-claro); color: var(--azul); width: auto; }
.tabela-fontes { font-size: 14.6px; }

.alerta {
  border-left: 4px solid var(--ambar); background: #fdf8ec; padding: 12px 16px;
  border-radius: 0 10px 10px 0; margin: 16px 0;
}
.alerta-verde { border-color: var(--verde); background: var(--verde-claro); }

.cta-oficial { margin: 18px 0; }
.botao {
  display: inline-block; background: var(--azul); color: #fff; font-weight: 700;
  padding: 12px 22px; border-radius: 10px; font-size: 16px;
}
.botao:hover { background: #0c2b47; text-decoration: none; }

.citacao {
  margin: 0; background: var(--fundo-2); border-left: 4px solid var(--azul-2);
  padding: 16px 18px; border-radius: 0 10px 10px 0;
}
.citacao p { font-style: italic; margin-bottom: 8px; }
.citacao cite { font-style: normal; font-size: 14px; color: var(--texto-2); }
.aviso-legal { background: var(--fundo-2); border-radius: 14px; padding: 20px 22px; }

/* ---------- linha do tempo ---------- */
.timeline { list-style: none; padding: 0; margin: 16px 0 0; border-left: 2px solid var(--borda); }
.timeline li { position: relative; padding: 0 0 20px 22px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--azul-2); border: 2px solid #fff;
}
.timeline .tl-abertura::before { background: var(--verde); }
.timeline .tl-homologacao::before, .timeline .tl-resultado::before { background: var(--ambar); }
.timeline .tl-suspensao::before { background: var(--vermelho); }
.tl-data { font-size: 13px; color: var(--texto-2); }
.tl-tipo { font-size: 12.5px; font-weight: 700; color: var(--azul); text-transform: uppercase; letter-spacing: .3px; margin-left: 8px; }
.tl-titulo { display: block; font-weight: 600; margin: 2px 0; }
.tl-fonte { font-size: 13px; color: var(--texto-2); }

/* ---------- texto longo (artigos) ---------- */
.texto { max-width: 760px; }
.texto p, .texto li { font-size: 17.2px; }
.texto h2 { margin-top: 40px; }
.texto ul, .texto ol { padding-left: 22px; }
.texto li { margin-bottom: 8px; }
.texto table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15.5px; }
.texto th, .texto td { border: 1px solid var(--borda); padding: 9px 11px; text-align: left; }
.texto th { background: var(--azul-claro); color: var(--azul); }
.texto blockquote {
  margin: 18px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--ambar);
  color: #33475a; font-style: italic;
}
.meta-artigo { color: var(--texto-2); font-size: 14.6px; margin-top: -6px; }
.fig-capa, .fig-corpo { margin: 20px 0; }
.fig-capa img, .fig-corpo img { border-radius: 12px; border: 1px solid var(--borda); display: block; width: 100%; }
figcaption { font-size: 14px; color: var(--texto-2); margin-top: 7px; text-align: center; }
.destaque {
  background: var(--azul-claro); border-radius: 12px; padding: 16px 20px; margin: 22px 0;
}
.destaque p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--borda); border-radius: 10px; margin-bottom: 10px; background: #fff;
}
.faq-item summary {
  cursor: pointer; padding: 13px 16px; font-weight: 600; color: var(--azul); list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: " +"; float: right; color: var(--texto-2); }
.faq-item[open] summary::after { content: " −"; }
.faq-item > div { padding: 0 16px 12px; }
.faq-item p:last-child { margin-bottom: 0; }

/* ---------- calculadoras ---------- */
.calc {
  border: 1px solid var(--borda); border-radius: 14px; padding: 20px 22px;
  background: var(--fundo-2); margin: 20px 0;
}
.calc-linha { margin-bottom: 14px; display: flex; flex-direction: column; gap: 5px; }
.calc-linha label { font-weight: 600; font-size: 15px; }
.calc-linha small { color: var(--texto-2); font-size: 13.4px; }
.calc input, .calc select {
  border: 1px solid var(--borda); border-radius: 9px; padding: 10px 12px; font-size: 16px;
  font-family: inherit; background: #fff; max-width: 340px;
}
.calc input:focus, .calc select:focus { outline: 2px solid var(--azul-2); outline-offset: 1px; }
.calc-saida {
  margin-top: 18px; padding: 16px 18px; background: #fff; border: 1px solid var(--borda);
  border-radius: 12px; font-size: 15.6px;
}
.calc-saida .destaque-num {
  font-family: var(--serif); font-size: 1.9rem; color: var(--azul); display: block; line-height: 1.2;
}
.calc-saida table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
.calc-saida td { padding: 6px 0; border-bottom: 1px solid var(--borda); }
.calc-saida td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.calc-aviso { color: var(--vermelho); font-weight: 600; }

/* ---------- paginacao, anuncio, feedback ---------- */
.paginacao { display: flex; gap: 16px; align-items: center; margin: 26px 0; font-weight: 600; }
.paginacao span { color: var(--texto-2); font-weight: 400; }
.anuncio { margin: 26px 0; min-height: 90px; text-align: center; }
.feedback {
  margin: 34px 0 10px; padding: 16px 18px; background: var(--fundo-2);
  border-radius: 12px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.feedback p { margin: 0; font-weight: 600; font-size: 15px; }
.feedback-btns { display: flex; gap: 8px; }
.feedback button {
  border: 1px solid var(--borda); background: #fff; border-radius: 999px; padding: 7px 20px;
  cursor: pointer; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--azul);
}
.feedback button:hover { border-color: var(--azul-2); }

/* ---------- rodape (formato do SINTEGRA Brasil) ---------- */
.rodape {
  background: var(--azul); color: #cfe0ee; margin-top: 50px; padding: 30px 0 22px;
  text-align: center;
}
.rodape a { color: #cfe0ee; }
.rodape a:hover { color: #fff; }

.footer-cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px;
  text-align: left; max-width: 880px; margin: 4px auto 22px;
}
.footer-cols .fcol { display: flex; flex-direction: column; gap: 7px; }
.footer-cols h4 {
  margin: 0 0 4px; font-size: 12px; letter-spacing: .6px; text-transform: uppercase;
  color: #8fb0cc; font-weight: 700; font-family: var(--fonte);
}
.footer-cols a { font-size: 14px; text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }

.states-nav {
  font-size: 12.5px; line-height: 2.1; margin: 0 auto 16px; max-width: 620px; color: #8fb0cc;
}
.states-nav span { font-weight: 600; }
.states-nav a {
  padding: 1px 6px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 6px;
  margin: 0 1px; display: inline-block; text-decoration: none;
}
.states-nav a:hover { background: rgba(255, 255, 255, .12); }

.rodape .disclaimer {
  font-size: 13.6px; max-width: 760px; margin: 0 auto 12px; line-height: 1.6;
}
.rodape .disclaimer strong { color: #fff; }
.rodape .counter { font-size: 13.6px; margin: 0 0 6px; }
.rodape .counter #contador-num { font-weight: 700; color: #fff; }
.rodape .contato-rodape { font-size: 13.6px; margin: 0 0 10px; }
.rodape small {
  display: block; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 14px; max-width: 760px; margin: 0 auto;
}

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .colunas-3 { grid-template-columns: 1fr; }
  .colunas-2 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 18px 16px; max-width: 440px; }
}
@media (max-width: 680px) {
  body { font-size: 16.4px; }
  h1 { font-size: 1.72rem; }
  h2 { font-size: 1.32rem; }
  .busca-topo { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .nav { display: none; flex-direction: column; padding-bottom: 12px; }
  .nav.aberto { display: flex; }
  .hero { padding: 22px 18px; }
  .busca-grande { flex-direction: column; }
  .busca-grande input { border-right: 2px solid var(--azul); border-radius: 10px; }
  .busca-grande button { border-radius: 10px; margin-top: 8px; }
  .numeros { gap: 18px; }
  .ficha th { width: 130px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 400px; }
  .texto p, .texto li { font-size: 16.6px; }
}

@media print {
  .topo, .nav, .rodape, .anuncio, .feedback, .cookie-banner { display: none !important; }
  body { font-size: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
