/* Concursos Cloud — portal público.
   Tokens no :root: troque aqui para mudar a identidade inteira (a marca definitiva vem depois). */
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/SchibstedGrotesk.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/SourceSerif4.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/SourceSerif4-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --paper: #f2f5f9;
  --surface: #ffffff;
  --ink: #10233a;
  --ink-2: #44566c;
  --ink-3: #6b7b8f;
  --line: #d6dfea;
  --line-2: #e6ecf3;
  --sky: #1b5fd9;
  --sky-deep: #0f3f9b;
  --sky-soft: #e3ecfc;
  --hoje: #c9261c;
  --hoje-soft: #fbe6e4;
  --semana: #c96a00;
  --semana-soft: #fdeed9;
  --folga: #13805a;
  --folga-soft: #dff3ea;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip-link:focus { top: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--ink-3); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: 0 1.1rem; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: #1b3553; }
.btn--sky { background: var(--sky); border-color: var(--sky); }
.btn--sky:hover { background: var(--sky-deep); border-color: var(--sky-deep); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: inherit; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); min-height: 64px; }
.wordmark { display: inline-flex; align-items: baseline; gap: .28em; text-decoration: none; font-size: 1.35rem; letter-spacing: -0.035em; line-height: 1; flex: none; }
.wordmark span { font-weight: 800; color: var(--ink); }
.wordmark b { font-weight: 500; color: var(--sky); }
.brand-logo { display: inline-flex; flex: none; line-height: 0; }
.brand-logo img { height: 36px; width: auto; }
.wordmark--icon { align-items: center; gap: .35em; }
.wordmark--icon img { width: 40px; height: 40px; margin-right: .2em; }
.wordmark--light span { color: #fff; }
.wordmark--light b { color: #8fb4ff; }
.main-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); font-weight: 600; font-size: .95rem; margin-left: auto; }
.main-nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { border-bottom-color: var(--sky); }
.main-nav .nav-cta { background: var(--sky-soft); color: var(--sky-deep); padding: 8px 14px; border-radius: var(--r); border-bottom: 0; }
.main-nav .nav-cta:hover { background: var(--sky); color: #fff; }
.header-search input { width: clamp(150px, 16vw, 230px); min-height: 40px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); }
.header-search input:focus { border-color: var(--sky); outline: none; background: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; margin-left: auto; position: relative; cursor: pointer; }
.menu-toggle i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .2s; }
.menu-toggle i:first-of-type { top: 17px; } .menu-toggle i:last-of-type { top: 25px; }
.menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .header-bar { flex-wrap: wrap; padding-block: 10px; }
  .main-nav { display: none; flex-direction: column; align-items: stretch; width: 100%; order: 3; margin: 0; padding-bottom: 8px; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-2); }
  .main-nav .nav-cta { margin-top: 10px; text-align: center; }
  .header-search { order: 2; width: 100%; }
  .header-search input { width: 100%; }
}

/* ---------- Estrutura de página ---------- */
main { display: block; }
.section { padding-block: clamp(36px, 6vw, 72px); }
.section--tight { padding-block: clamp(24px, 4vw, 44px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.section-head p { color: var(--ink-2); max-width: 60ch; }
.more { font-weight: 700; color: var(--sky-deep); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--ink-3); padding-top: 22px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }

/* ---------- Início ---------- */
.hero { padding-block: clamp(34px, 6vw, 68px) clamp(20px, 3vw, 32px); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); max-width: 22ch; letter-spacing: -0.035em; }
.hero__sub { margin-top: 16px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 58ch; }
.hero__sub strong { color: var(--ink); }

/* Quadro de prazos: o elemento central do site */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.board__col { padding: 20px clamp(12px, 1.6vw, 22px) 22px; border-right: 1px solid var(--line); border-top: 5px solid var(--tone, var(--line)); margin-top: -1px; background: var(--surface); }
.board__col:last-child { border-right: 0; }
.board__col--hoje { --tone: var(--hoje); } .board__col--semana { --tone: var(--semana); } .board__col--folga { --tone: var(--folga); } .board__col--mes { --tone: var(--sky); }
.board__title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.board__title h3 { font-size: 1.1rem; color: var(--tone); }
.board__count { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.board__hint { font-size: .85rem; color: var(--ink-3); margin-bottom: 8px; }
.deadline { padding: 14px 0; border-top: 1px solid var(--line-2); }
.deadline:first-of-type { border-top: 0; }
.deadline a { text-decoration: none; display: block; }
.deadline a:hover .deadline__name { text-decoration: underline; text-underline-offset: 3px; }
.deadline__name { font-weight: 700; line-height: 1.25; }
.deadline__meta { margin-top: 4px; font-size: .86rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 2px 10px; }
.deadline__meta b { font-weight: 700; color: var(--ink); }
.timebar { display: block; margin-top: 9px; height: 5px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.timebar i { display: block; height: 100%; width: var(--w, 100%); background: var(--tone, var(--folga)); border-radius: 3px; }
.board__empty { padding: 18px 0; color: var(--ink-3); font-size: .92rem; }
.board__all { display: inline-block; margin-top: 8px; font-weight: 700; font-size: .92rem; color: var(--tone); text-decoration: none; }
.board__all:hover { text-decoration: underline; }
@media (max-width: 980px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .board__col:nth-child(2) { border-right: 0; } .board__col { border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .board { grid-template-columns: 1fr; } .board__col { border-right: 0; } }

/* Mapa de quadrinhos do Brasil */
.explore { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.tilemap { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; max-width: 460px; }
.tile { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--r); background: var(--line-2); color: var(--ink-3); text-decoration: none; font-weight: 800; font-size: clamp(.8rem, 1.6vw, 1rem); line-height: 1.05; border: 1.5px solid transparent; }
.tile small { font-weight: 600; font-size: .68rem; margin-top: 2px; font-variant-numeric: tabular-nums; }
.tile--on { background: var(--sky-soft); color: var(--sky-deep); }
.tile--hot { background: var(--sky); color: #fff; }
.tile:hover, .tile:focus-visible { border-color: var(--ink); }
.tile--br { grid-column: 1 / -1; aspect-ratio: auto; padding: 10px; flex-direction: row; gap: 10px; background: var(--ink); color: #fff; }
.tile--br small { margin: 0; color: #c9d6ea; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: .84rem; color: var(--ink-2); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.levels { display: grid; gap: 0; }
.level { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.level:last-child { border-bottom: 1px solid var(--line); }
.level strong { font-size: 1.25rem; letter-spacing: -0.02em; }
.level span { color: var(--ink-2); font-size: .92rem; }
.level b { font-variant-numeric: tabular-nums; font-size: 1.25rem; color: var(--sky-deep); }
.level:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 820px) { .explore { grid-template-columns: 1fr; } }

/* Linha de prova (data à esquerda) */
.dated { display: grid; gap: 0; }
.dated__row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.dated__row:last-child { border-bottom: 1px solid var(--line); }
.dated__date { text-align: center; line-height: 1; }
.dated__date b { display: block; font-size: 2rem; letter-spacing: -0.04em; }
.dated__date span { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.dated__name { font-weight: 700; }
.dated__sub { color: var(--ink-2); font-size: .9rem; margin-top: 2px; }
.dated__tag { font-size: .85rem; color: var(--ink-2); text-align: right; }
.dated__row:hover .dated__name { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .dated__row { grid-template-columns: 58px minmax(0, 1fr); } .dated__tag { grid-column: 2; text-align: left; } }

/* Lista de notícias */
.news-list { display: grid; gap: 0; }
.news-item { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; }
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item:not(:has(img)) { grid-template-columns: 1fr; }
.news-item h3 { font-size: 1.2rem; }
.news-item p { color: var(--ink-2); margin-top: 6px; font-size: .96rem; }
.news-item small { display: block; margin-top: 8px; color: var(--ink-3); font-size: .82rem; }
.news-item img { width: 140px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.news-item:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .news-item { grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; } .news-item img { width: 96px; } }

/* ---------- Lista de concursos ---------- */
.page-head { padding-block: 22px clamp(18px, 3vw, 30px); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: 14px; }
.page-head p { color: var(--ink-2); margin-top: 10px; max-width: 62ch; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; padding: 16px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; }
.filters label { display: grid; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.filters select, .filters input[type=search] { min-height: 44px; min-width: 150px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; font-weight: 500; color: var(--ink); }
.filters select:focus, .filters input:focus { border-color: var(--sky); outline: none; }
.filters .grow { flex: 1 1 220px; }
.result-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 0 6px; color: var(--ink-2); font-size: .94rem; }
.list { display: grid; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 8px 28px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; align-items: center; }
.row:last-child { border-bottom: 1px solid var(--line); }
.row__name { font-size: 1.18rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.row:hover .row__name { text-decoration: underline; text-underline-offset: 3px; }
.row__facts { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--ink-2); font-size: .92rem; }
.row__facts b { color: var(--ink); font-weight: 700; }
.row__when { text-align: right; }
.row__when strong { display: block; font-size: 1rem; color: var(--tone, var(--ink)); }
.row__when span { display: block; font-size: .84rem; color: var(--ink-3); margin-top: 2px; }
.row__when .timebar { margin-top: 8px; }
.u-hoje { --tone: var(--hoje); } .u-semana { --tone: var(--semana); } .u-folga { --tone: var(--folga); } .u-none { --tone: var(--ink-3); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: .78rem; font-weight: 700; background: var(--line-2); color: var(--ink-2); vertical-align: 1px; margin-right: 6px; }
.badge--uf { background: var(--ink); color: #fff; }
.badge--abertas { background: var(--folga-soft); color: var(--folga); }
.badge--prova, .badge--edital { background: var(--sky-soft); color: var(--sky-deep); }
.badge--encerradas, .badge--suspenso, .badge--cancelado { background: var(--hoje-soft); color: var(--hoje); }
.empty { padding: 48px 0; text-align: center; color: var(--ink-2); }
.empty h2 { color: var(--ink); margin-bottom: 8px; font-size: 1.4rem; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 700; padding: 0 12px; background: #fff; }
.pager span { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 680px) { .row { grid-template-columns: 1fr; } .row__when { text-align: left; } }

/* ---------- Página do concurso ---------- */
.fact-sheet { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(36px, 6vw, 72px); }
.concurso-title { padding-block: 14px 8px; }
.concurso-title h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); letter-spacing: -0.03em; }
.concurso-title .badges { margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--ink-2); margin-top: 14px; max-width: 60ch; }
.clock { padding: 22px 22px 20px; background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--tone, var(--line)); border-radius: 0 0 var(--r) var(--r); position: sticky; top: 84px; }
.clock__days { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: var(--tone, var(--ink)); }
.clock__days small { font-size: 1.1rem; font-weight: 700; letter-spacing: 0; margin-left: 6px; }
.clock__label { margin-top: 6px; color: var(--ink-2); font-weight: 600; }
.clock .timebar { margin-top: 14px; height: 7px; }
.clock dl { margin: 18px 0 0; display: grid; gap: 0; }
.clock dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: .94rem; }
.clock dt { color: var(--ink-3); } .clock dd { margin: 0; font-weight: 700; text-align: right; }
.clock .btn { width: 100%; margin-top: 18px; }
.clock .btn + .btn { margin-top: 10px; }
.clock__warn { margin-top: 14px; font-size: .82rem; color: var(--ink-3); line-height: 1.4; }
.timeline { counter-reset: step; margin: 6px 0 0; display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink-3); }
.timeline li.done::before { background: var(--ink-3); }
.timeline li.now::before { background: var(--tone, var(--sky)); border-color: var(--tone, var(--sky)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone, var(--sky)) 22%, transparent); }
.timeline strong { display: block; }
.timeline span { color: var(--ink-2); font-size: .94rem; }
.block { margin-top: clamp(30px, 5vw, 48px); }
.block > h2 { font-size: 1.5rem; margin-bottom: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table.cargos { width: 100%; border-collapse: collapse; min-width: 480px; }
.cargos th, .cargos td { padding: 12px 14px; text-align: left; border-top: 1px solid var(--line-2); font-size: .95rem; }
.cargos thead th { border-top: 0; background: var(--paper); font-size: .8rem; color: var(--ink-2); }
.cargos td:nth-child(2), .cargos td:nth-child(3), .cargos th:nth-child(2), .cargos th:nth-child(3) { text-align: right; font-variant-numeric: tabular-nums; }
.prose { font-family: var(--serif); font-size: 1.14rem; line-height: 1.72; max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--sans); font-size: 1.55rem; margin-top: 1.8em; }
.prose h3 { font-family: var(--sans); font-size: 1.2rem; margin-top: 1.5em; }
.prose a { color: var(--sky-deep); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; list-style: revert; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--r); }
.prose blockquote { margin-inline: 0; padding-left: 1.1em; border-left: 3px solid var(--sky); color: var(--ink-2); }
.prose table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.official { display: flex; flex-wrap: wrap; gap: 10px; }
.notice { margin-top: 28px; padding: 14px 16px; border-left: 3px solid var(--semana); background: var(--semana-soft); font-size: .92rem; color: #5a3300; max-width: 68ch; }
@media (max-width: 900px) { .fact-sheet { grid-template-columns: 1fr; } .clock { position: static; order: -1; } }

/* ---------- Calendário ---------- */
.month { margin-top: clamp(26px, 4vw, 44px); }
.month h2 { font-size: 1.5rem; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.month .dated__row:first-child { border-top: 0; }

/* ---------- Notícia ---------- */
.article { padding-bottom: clamp(36px, 6vw, 72px); }
.article__head { padding-block: 14px 24px; max-width: 820px; }
.article__head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -0.032em; }
.article__head .lead { font-family: var(--serif); }
.article__meta { margin-top: 14px; color: var(--ink-3); font-size: .9rem; }
.article__cover { margin-bottom: 28px; max-width: 980px; }
.article__cover img { border-radius: var(--r); width: 100%; }
.article__body { max-width: 68ch; }
.article__source { margin-top: 28px; font-size: .9rem; color: var(--ink-3); }
.related-box { margin: 32px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--sky); background: var(--surface); border-radius: var(--r); max-width: 68ch; }
.related-box p { font-size: .84rem; color: var(--ink-3); font-weight: 600; }
.related-box a { font-weight: 800; font-size: 1.1rem; text-decoration: none; display: block; margin-top: 4px; }
.related-box a:hover { text-decoration: underline; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.share a, .share button { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r); font-weight: 700; font-size: .9rem; text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; }
.share a:hover, .share button:hover { border-color: var(--ink); }

/* ---------- Faixa de alertas / rodapé ---------- */
.site-footer { background: var(--ink); color: #dbe5f2; margin-top: clamp(30px, 5vw, 60px); }
.alert-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding-block: clamp(36px, 6vw, 64px); border-bottom: 1px solid #2a4260; align-items: start; }
.alert-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.alert-band p { margin-top: 12px; color: #b8c8dc; max-width: 48ch; }
.alert-form__row { display: flex; gap: 8px; }
.alert-form input[type=email] { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1.5px solid #3a5577; border-radius: var(--r); background: #0b1b2e; color: #fff; }
.alert-form input[type=email]:focus { border-color: #8fb4ff; outline: none; }
.alert-form .btn { min-height: 48px; }
.alert-form__pick { display: flex; gap: 8px; margin-top: 10px; }
.alert-form__pick label { flex: 1; display: grid; gap: 4px; font-size: .78rem; font-weight: 700; color: #b8c8dc; }
.alert-form__pick select { min-height: 44px; padding: 0 10px; border: 1.5px solid #3a5577; border-radius: var(--r); background: #0b1b2e; color: #fff; }
.alert-form__consent { display: flex; gap: 10px; margin-top: 12px; font-size: .84rem; color: #b8c8dc; line-height: 1.4; }
.alert-form__consent input { margin-top: 3px; flex: none; }
.alert-form__msg { margin-top: 12px; font-weight: 700; color: #bff0d9; font-size: .95rem; }
.alert-form__msg--error { color: #ffc9c4; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding-block: 36px; }
.footer-cols h3 { font-size: .9rem; color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.footer-cols li + li { margin-top: 8px; }
.footer-cols a { text-decoration: none; color: #b8c8dc; font-size: .94rem; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-note { margin-top: 14px; color: #93a8c2; font-size: .88rem; max-width: 38ch; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px 28px; border-top: 1px solid #2a4260; color: #93a8c2; font-size: .88rem; }
@media (max-width: 860px) { .alert-band { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .alert-form__row { flex-direction: column; } .footer-cols { grid-template-columns: 1fr; } }

/* ---------- Aviso de cookies e anúncios ---------- */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; max-width: 640px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; box-shadow: 0 10px 40px rgba(16, 35, 58, .22); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.consent[hidden] { display: none; }
.consent p { flex: 1 1 280px; font-size: .9rem; color: var(--ink-2); }
.consent__actions { display: flex; gap: 8px; }
.ad-slot { margin: 28px 0; text-align: center; }
.ad-slot__label { display: block; font-size: .7rem; color: var(--ink-3); margin-bottom: 4px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
@media print { .site-header, .site-footer, .consent, .clock .btn { display: none; } body { background: #fff; } }

/* Seções de apostilas, cadernos e cursos */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 16px; }
.offer { --tone: var(--sky); --tone-soft: var(--sky-soft); display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.offer:hover { border-color: var(--tone); box-shadow: 0 8px 24px rgba(16, 35, 58, .10); transform: translateY(-2px); }
.offer--caderno, .offer--mapa, .offer--simulado { --tone: var(--folga); --tone-soft: var(--folga-soft); }
.offer--curso { --tone: var(--semana); --tone-soft: var(--semana-soft); }
.offer--combo { --tone: #6a3fc4; --tone-soft: #ece5fa; }
.offer__cover { display: grid; place-items: center; align-self: start; aspect-ratio: 3 / 4; background: linear-gradient(160deg, var(--tone-soft), #fff); border-radius: 6px; overflow: hidden; border: 1px solid var(--line-2); }
.offer__cover img { width: 100%; height: 100%; object-fit: contain; }
.offer__ph { padding: 8px; text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--tone); }
.offer__body { display: flex; flex-direction: column; min-width: 0; }
.offer__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.offer__kind, .offer__fmt { padding: 2px 8px; border-radius: 3px; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.offer__kind { background: var(--tone-soft); color: var(--tone); }
.offer__fmt { background: var(--line-2); color: var(--ink-2); }
.offer h3 { font-size: 1.05rem; line-height: 1.25; }
.offer h3 a { text-decoration: none; }
.offer h3 a:hover { text-decoration: underline; }
.offer__cargo { margin-top: 6px; color: var(--ink-2); font-size: .94rem; line-height: 1.35; }
.offer__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.offer__price { display: flex; flex-direction: column; line-height: 1.1; }
.offer__price span { font-size: .72rem; color: var(--ink-3); }
.offer__price strong { font-size: 1.3rem; letter-spacing: -.02em; }
.offer .btn { min-height: 40px; padding: 0 .9rem; font-size: .92rem; }
@media (max-width: 420px) { .offer { grid-template-columns: 88px 1fr; gap: 12px; } .offer-grid { grid-template-columns: 1fr; } }

/* ======================================================================
   Visual v2 — base no Digital Direto (espaçamento, cabeçalho, destaque, carrossel),
   com editais no lugar de notícias. Regra de ouro: nada que tire o foco (sem anúncio, sem cotação).
   ====================================================================== */
:root { --wrap: 1680px; --gutter: 24px; --r: 8px; --r-lg: 18px; --shadow: 0 24px 70px rgba(5, 8, 13, .12); --navy: #0a2d55; --navy-2: #0b3a6b; --mint: #12c4a5; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); }

/* Cabeçalho: 78px, menu em uma linha só, busca recolhida */
.header-bar { min-height: 78px; gap: clamp(16px, 2.4vw, 30px); }
.brand-logo img { height: 40px; }
.main-nav { gap: clamp(14px, 2vw, 28px); font-size: .86rem; font-weight: 700; white-space: nowrap; }
.main-nav a { padding-block: 28px; border-bottom: 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--sky); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a[aria-current]::after, .main-nav a:focus-visible::after { right: 0; }
.main-nav .nav-cta { padding: 10px 16px; border-radius: 999px; background: var(--sky); color: #fff; box-shadow: 0 8px 22px rgba(27, 95, 217, .28); }
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--sky-deep); }
.header-search { position: relative; }
.header-search input { width: 40px; padding: 0; cursor: pointer; border-radius: 999px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310233a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 10px center / 18px; color: transparent; transition: width .25s ease, padding .25s ease; }
.header-search input::placeholder { color: transparent; }
.header-search input:focus, .header-search input:not(:placeholder-shown) { width: clamp(180px, 20vw, 260px); padding: 0 14px 0 38px; cursor: text; color: var(--ink); }
.header-search input:focus::placeholder { color: var(--ink-3); }
@media (max-width: 980px) { .header-search input { width: 100%; padding: 0 14px 0 38px; color: var(--ink); cursor: text; } .header-search input::placeholder { color: var(--ink-3); } .header-bar { min-height: 64px; } .main-nav a { padding-block: 14px; } .main-nav a::after { display: none; } }

/* Ritmo das seções (igual ao do Digital Direto) */
.section { padding-block: clamp(48px, 6vw, 84px); }
.section--tight { padding-block: clamp(32px, 4.4vw, 56px); }
.section-head { margin-bottom: 26px; }
.hero--compact { padding-block: 26px 4px; }
.hero--compact .hero__sub { margin-top: 0; font-size: 1.02rem; }
.board { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(16, 35, 58, .06); }

/* Faixa "Em foco" (só prazos; para quando o mouse está em cima) */
.focus-bar { background: var(--navy); color: #fff; font-size: .78rem; }
.focus-bar__in { display: flex; align-items: center; gap: 14px; min-height: 36px; }
.focus-bar__tag { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; flex: none; }
.focus-bar__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(18, 196, 165, .18); animation: cc-pulse 2s ease-in-out infinite; }
.focus-bar__track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.focus-bar__list { display: flex; width: max-content; gap: 34px; animation: cc-marquee 60s linear infinite; }
.focus-bar__track:hover .focus-bar__list, .focus-bar__track:focus-within .focus-bar__list { animation-play-state: paused; }
.focus-bar__list a { text-decoration: none; white-space: nowrap; opacity: .92; }
.focus-bar__list a:hover { opacity: 1; text-decoration: underline; }
.focus-bar__list b { color: #8fd3ff; font-weight: 700; margin-left: 6px; }
.focus-bar__date { color: #9db6d1; flex: none; }
@keyframes cc-marquee { to { transform: translateX(-50%); } }
@keyframes cc-pulse { 50% { box-shadow: 0 0 0 7px rgba(18, 196, 165, 0); } }

/* Destaque */
.spot { padding-block: 26px 8px; background: none; }
.spot__kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
.spot__kicker b { color: var(--ink); } .spot__kicker span { width: 54px; height: 1px; background: var(--ink-3); } .spot__kicker em { font-style: normal; color: var(--ink-3); }
.spot__grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 20px; }
.spot__main { position: relative; display: flex; align-items: flex-end; min-height: 380px; padding: clamp(22px, 3.4vw, 42px); border-radius: var(--r-lg); color: #fff; text-decoration: none; overflow: hidden; background: radial-gradient(120% 140% at 100% 0%, #1e90ff 0%, rgba(30, 144, 255, 0) 55%), linear-gradient(150deg, var(--navy-2), var(--navy)); box-shadow: var(--shadow); isolation: isolate; transition: transform .3s ease; }
.spot__main::before { content: ""; position: absolute; inset: auto -10% -45% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(18, 196, 165, .35), transparent 65%); z-index: -1; animation: cc-float 9s ease-in-out infinite; }
.spot__main:hover { transform: translateY(-3px); }
@keyframes cc-float { 50% { transform: translate(-6%, -8%) scale(1.08); } }
.spot__badge { position: absolute; top: 20px; left: 22px; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: #04251f; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.spot__body { max-width: 62ch; }
.spot__org { color: #8fd3ff; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.spot__main h2 { margin-top: 10px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.06; letter-spacing: -.02em; }
.spot__sum { margin-top: 12px; color: #d3e3f6; max-width: 56ch; }
.spot__facts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; color: #bcd3ee; font-size: .92rem; }
.spot__facts b { color: #fff; }
.spot__clock { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 12px; max-width: 420px; }
.spot__clock strong { font-size: 1.5rem; letter-spacing: -.02em; }
.spot__clock span { color: #bcd3ee; font-size: .9rem; }
.spot__clock .timebar { grid-column: 1 / -1; height: 6px; background: rgba(255, 255, 255, .18); margin-top: 6px; }
.spot__clock .timebar b { display: block; height: 100%; width: var(--w); background: var(--mint); border-radius: 3px; transform-origin: left; animation: cc-grow 1.2s ease-out both; }
.spot__main.u-hoje .timebar b { background: #ff8a80; } .spot__main.u-semana .timebar b { background: #ffbd5a; }
@keyframes cc-grow { from { transform: scaleX(0); } }
.spot__side { display: grid; gap: 14px; grid-auto-rows: 1fr; }
.spot__card { --tone: var(--folga); display: grid; grid-template-columns: 84px 1fr; align-items: stretch; background: var(--surface); border-radius: 14px; overflow: hidden; text-decoration: none; box-shadow: 0 8px 26px rgba(16, 35, 58, .07); border: 1px solid var(--line-2); transition: transform .2s ease, box-shadow .2s ease; }
.spot__card.u-hoje { --tone: var(--hoje); } .spot__card.u-semana { --tone: var(--semana); }
.spot__card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(16, 35, 58, .13); }
.spot__days { display: grid; place-content: center; text-align: center; background: color-mix(in srgb, var(--tone) 12%, #fff); color: var(--tone); }
.spot__days b { font-size: 2rem; line-height: 1; letter-spacing: -.03em; } .spot__days small { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.spot__txt { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 16px; min-width: 0; }
.spot__txt small { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.spot__txt strong { font-family: var(--serif); font-size: 1.04rem; line-height: 1.25; }
@media (max-width: 900px) { .spot__grid { grid-template-columns: 1fr; } .spot__main { min-height: 340px; } .spot__side { grid-auto-rows: auto; } }

/* Carrossel escuro "Fecham primeiro" */
.rail { background: linear-gradient(180deg, var(--navy), #071f3b); color: #fff; padding-block: clamp(40px, 5vw, 64px); margin-top: clamp(40px, 5vw, 72px); }
.rail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, var(--sky), var(--mint), transparent) 1; }
.rail__kicker { color: #8fd3ff; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.rail h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 4px; }
.rail__nav { display: flex; gap: 8px; }
.rail__nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .15s; }
.rail__nav button:hover { background: rgba(255, 255, 255, .18); }
.rail__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
.rail__track li { flex: 0 0 min(300px, 78%); scroll-snap-align: start; }
.rail__card { --tone: var(--mint); display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 220px; padding: 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.rail__card.u-hoje { --tone: #ff8a80; } .rail__card.u-semana { --tone: #ffbd5a; }
.rail__card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .11); border-color: var(--tone); }
.rail__uf { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--tone); color: #04251f; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.rail__card strong { font-family: var(--serif); font-size: 1.18rem; line-height: 1.22; }
.rail__meta { color: #bcd3ee; font-size: .88rem; }
.rail__foot { margin-top: auto; display: grid; gap: 8px; }
.rail__foot b { color: var(--tone); font-size: .95rem; }
.rail__foot .timebar { height: 5px; background: rgba(255, 255, 255, .16); margin: 0; }
.rail__foot .timebar b { display: block; height: 100%; width: var(--w); background: var(--tone); border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { .focus-bar__list, .spot__main::before, .focus-bar__tag i, .spot__clock .timebar b { animation: none !important; } .focus-bar__track { overflow-x: auto; } .rail__track { scroll-behavior: auto; } }

/* Encontre o seu concurso: mapa + escolaridade + resultado ao vivo */
.finder { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 44px); box-shadow: 0 10px 40px rgba(16, 35, 58, .06); }
.finder__head { margin-bottom: 26px; }
.finder__kicker { color: var(--sky); }
.finder__head h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 4px; }
.finder__head p { color: var(--ink-2); margin-top: 8px; max-width: 58ch; }
.finder__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.finder .tilemap { max-width: 480px; gap: 7px; }
.finder .tile { background: var(--line-2); color: var(--ink-3); border-radius: 10px; transition: transform .15s ease, background .25s ease, color .25s ease, box-shadow .15s ease; }
.finder .tile.h1 { background: #cfe0fb; color: var(--sky-deep); }
.finder .tile.h2 { background: #7fa8f1; color: #08275f; }
.finder .tile.h3 { background: var(--sky); color: #fff; }
.finder .tile:hover, .finder .tile:focus-visible { transform: translateY(-2px) scale(1.06); border-color: transparent; box-shadow: 0 8px 20px rgba(16, 35, 58, .18); z-index: 1; }
.finder .tile.is-sel { background: var(--navy); color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--mint); transform: scale(1.06); z-index: 1; }
.finder .tile--br { background: var(--ink); color: #fff; transform: none; }
.finder .tile--br.is-sel { background: var(--navy); }
.legend i.h0 { background: var(--line-2); } .legend i.h1 { background: #cfe0fb; } .legend i.h2 { background: #7fa8f1; } .legend i.h3 { background: var(--sky); }
.finder__label { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chip { position: relative; display: grid; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.chip strong { font-size: 1.08rem; letter-spacing: -.01em; }
.chip span { color: var(--ink-2); font-size: .84rem; }
.chip b { position: absolute; top: 12px; right: 14px; font-size: 1.1rem; color: var(--sky-deep); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--sky); transform: translateY(-2px); }
.chip.is-sel { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-sel span { color: #bcd3ee; } .chip.is-sel b { color: var(--mint); }
.result { margin-top: 20px; padding: 20px 22px; border-radius: 14px; background: linear-gradient(150deg, var(--navy-2), var(--navy)); color: #fff; }
.result__who { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8fd3ff; }
.result__big { margin-top: 4px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.result__big strong { font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.result__big span { color: #d3e3f6; }
.result__sub { margin-top: 4px; color: #bcd3ee; font-size: .92rem; min-height: 1.3em; }
.result__list { margin: 14px 0 4px; display: grid; gap: 2px; }
.result__list a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .14); text-decoration: none; font-size: .92rem; }
.result__list a:hover span:first-child { text-decoration: underline; }
.result__list b { color: var(--mint); white-space: nowrap; font-weight: 700; }
.result__cta { margin-top: 14px; width: 100%; }
.result__clear { display: block; margin: 10px auto 0; background: none; border: 0; color: #bcd3ee; text-decoration: underline; cursor: pointer; font-size: .86rem; }
@media (max-width: 820px) { .finder__grid { grid-template-columns: 1fr; } .chips { grid-template-columns: 1fr 1fr; } }

/* Página de produto (layout padrão) */
.prod { --tone: var(--sky); --tone-soft: var(--sky-soft); display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); align-items: start; margin-top: 18px; padding: clamp(20px, 3.4vw, 40px); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 10px 40px rgba(16, 35, 58, .06); }
.prod--caderno, .prod--mapa, .prod--simulado { --tone: var(--folga); --tone-soft: var(--folga-soft); }
.prod--curso { --tone: var(--semana); --tone-soft: var(--semana-soft); }
.prod--combo { --tone: #6a3fc4; --tone-soft: #ece5fa; }
.prod__cover { display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 14px; background: linear-gradient(160deg, var(--tone-soft), #fff); border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 18px 44px rgba(16, 35, 58, .12); }
.prod__cover img { width: 100%; height: 100%; object-fit: contain; }
.prod .offer__kind { background: var(--tone-soft); color: var(--tone); }
.prod .offer__ph { color: var(--tone); }
.prod h1 { margin-top: 8px; font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.08; }
.prod__cargo { margin-top: 10px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--ink-2); }
.prod__price { margin-top: 22px; display: flex; flex-direction: column; line-height: 1.1; }
.prod__price span { font-size: .78rem; color: var(--ink-3); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.prod__price strong { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.03em; }
.prod__cta { margin-top: 18px; min-height: 52px; padding: 0 2rem; font-size: 1.05rem; border-radius: 999px; }
.prod__note { margin-top: 14px; max-width: 52ch; color: var(--ink-3); font-size: .9rem; }
.prod__cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(32px, 5vw, 56px); }
.prod__cols h2 { font-family: var(--serif); font-size: 1.5rem; }
.prod__h2 { margin-top: 28px; }
.prod__lead { margin-top: 10px; color: var(--ink-2); max-width: 62ch; font-size: 1.06rem; }
.steps { margin-top: 12px; display: grid; gap: 10px; counter-reset: s; }
.steps li { position: relative; padding-left: 40px; color: var(--ink-2); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--sky-soft); color: var(--sky-deep); font-weight: 800; font-size: .86rem; }
.steps b { color: var(--ink); }
.spec { margin-top: 12px; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--ink-3); font-size: .9rem; } .spec dd { margin: 0; font-weight: 700; text-align: right; }
@media (max-width: 820px) { .prod, .prod__cols { grid-template-columns: 1fr; } .prod__cover { max-width: 260px; } }

@media (max-width: 720px) { :root { --gutter: 14px; } }

/* Rodapé enxuto */
.site-footer { margin-top: clamp(40px, 6vw, 72px); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 20px 36px; flex-wrap: wrap; padding-block: 28px; }
.footer-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-note { margin: 0; max-width: 46ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; }
.footer-links a { color: #b8c8dc; text-decoration: none; } .footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-cta { flex: none; border-radius: 999px; }
.footer-base { padding-block: 14px 18px; }
@media (max-width: 860px) { .footer-main { flex-direction: column; align-items: flex-start; } }

/* Pop-up de alertas (no meio da tela) */
.alert-dialog { width: min(520px, calc(100% - 28px)); max-height: calc(100% - 28px); margin: auto; padding: clamp(22px, 4vw, 34px); border: 0; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 30px 90px rgba(5, 20, 40, .45); overflow: auto; }
.alert-dialog::backdrop { background: rgba(6, 26, 54, .62); backdrop-filter: blur(3px); }
.alert-dialog[open] { animation: cc-pop .22s ease-out; }
@keyframes cc-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.alert-dialog h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 1.9rem); padding-right: 30px; }
.alert-dialog > p { margin-top: 10px; color: var(--ink-2); }
.alert-dialog__x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--line-2); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.alert-dialog__x:hover { background: var(--line); }
.alert-dialog .alert-form { margin-top: 18px; }
.alert-dialog .alert-form__row { flex-direction: column; }
.alert-dialog .alert-form input[type=email], .alert-dialog .alert-form__pick select { background: #fff; color: var(--ink); border-color: var(--line); }
.alert-dialog .alert-form input[type=email]:focus { border-color: var(--sky); }
.alert-dialog .alert-form__pick label, .alert-dialog .alert-form__consent { color: var(--ink-2); }
.alert-dialog .alert-form__msg { color: var(--folga); } .alert-dialog .alert-form__msg--error { color: var(--hoje); }

/* Concurso encerrado e atalho para Finalizados */
.notice--ended { margin: 0 0 16px; border-left: 4px solid #b45309; }
.ended-link { margin: 28px 0 0; color: var(--muted, #5b6b7f); font-size: .92rem; }

/* Edital em PDF: pop-ups centrais com fundo desfocado; etapas e horários */
.edital-dialog::backdrop { background: rgba(8, 16, 36, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.edital-dialog { margin: auto; }
.edital-dialog--thanks { text-align: center; }
.edital-dialog__hint { font-size: .88rem; opacity: .8; }
.edital-dialog--thanks .btn { margin: 4px; }
.steps { display: grid; gap: 14px; margin: 6px 0 0; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps__n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sky, #4527d9); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.steps strong { display: block; }
.steps span:not(.steps__n), .steps small { display: block; color: var(--ink-2); font-size: .94rem; }

/* Materiais de estudo na página do concurso */
.block--study { margin-top: 36px; }
.study__group { margin: 18px 0 10px; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }

/* Abas de região (página Editais) */
.region-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.region-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .92rem; color: var(--ink); text-decoration: none; }
.region-tabs a:hover { border-color: var(--sky, #4527d9); }
.region-tabs a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 620px) { .region-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; } .region-tabs a { white-space: nowrap; } }

/* Início: o título é o protagonista; a foto só dá clima (desfocada e escurecida) */
.hero__title { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.gtile { position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--r-lg); color: #fff; text-decoration: none; background: linear-gradient(135deg, #1f3a73, #16295e); isolation: isolate; min-height: 220px; box-shadow: 0 10px 34px rgba(16, 35, 58, .18); }
.gtile img { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); max-width: none; object-fit: cover; filter: blur(1.5px) saturate(.95) brightness(.66); transition: transform .5s ease, filter .3s ease; z-index: -2; }
.gtile:hover img { transform: scale(1.05); filter: blur(0) saturate(1) brightness(.74); }
.gtile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(8, 18, 48, .35) 0%, rgba(8, 18, 48, .78) 100%); }
.gtile__icon { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; opacity: .35; z-index: -1; }
.gtile--saude { background: linear-gradient(135deg, #0f766e, #14532d); }
.gtile--educacao { background: linear-gradient(135deg, #7c3aed, #3b2a8f); }
.gtile--seguranca { background: linear-gradient(135deg, #1e3a8a, #0b1b3a); }
.gtile--justica { background: linear-gradient(135deg, #92400e, #451a03); }
.gtile--legislativo { background: linear-gradient(135deg, #be123c, #4c0519); }
.gtile--ambiente { background: linear-gradient(135deg, #15803d, #052e16); }
.gtile--fazenda { background: linear-gradient(135deg, #0e7490, #082f49); }
.gtile__new { position: absolute; right: 14px; top: 14px; background: #12a150; color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .05em; padding: 3px 9px; border-radius: 99px; }
.gtile__text { width: 100%; padding: 22px 22px 20px; display: grid; gap: 8px; }
.gtile__text strong { font-family: var(--sans); font-weight: 800; letter-spacing: -.025em; line-height: 1.02; font-size: clamp(1.3rem, 1.75vw, 1.7rem); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.gtile__text small { font-size: .78rem; color: #cfe0f7; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gtile--big .gtile__text { padding: 30px 32px 28px; }
.gtile--big .gtile__text strong { font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1; }
.gtile--big .gtile__text small { font-size: .9rem; }
.gallery { display: grid; gap: 14px; margin-top: 14px; }
.gallery--mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; }
.gallery--mosaic .gtile { min-height: 0; }
.gallery--mosaic .gtile--big { grid-column: span 2; grid-row: span 2; }
.gallery--row { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-rows: 240px; }
.gallery--row .gtile { min-height: 0; }
.region { padding-top: clamp(20px, 3vw, 36px); }
.region__empty { color: var(--ink-2); padding: 6px 0; }
@media (max-width: 980px) { .gallery--mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery--mosaic { grid-template-columns: 1fr; grid-auto-rows: 210px; } .gallery--mosaic .gtile--big { grid-column: auto; grid-row: span 2; } .gallery--row { grid-template-columns: 1fr; } }

/* Últimos editais: carrossel infinito na faixa azul-escura */
.rail--latest { margin-top: clamp(32px, 4vw, 56px); }
.rail--latest .rail__nav { align-items: center; }
.rail__all { color: #8fd3ff; font-weight: 800; font-size: .9rem; margin-right: 10px; text-decoration: none; }
.rail__all:hover { text-decoration: underline; }
.rail--latest .region-tabs { margin: 0 0 22px; }
.rail--latest .region-tabs a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .24); color: #fff; }
.rail--latest .region-tabs a small { background: rgba(255, 255, 255, .16); color: #dbe8f8; }
.rail--latest .region-tabs a:hover { border-color: #8fd3ff; }
.rail--latest .region-tabs a[aria-current="page"] { background: #fff; color: var(--navy); border-color: #fff; }
.rail--latest .region-tabs a[aria-current="page"] small { background: #e8eef8; color: var(--navy); }
.rail__empty { color: #bcd3ee; padding: 18px 0 8px; }
.rail__empty a { color: #8fd3ff; font-weight: 700; }
.rail__track--loop { gap: 20px; scroll-snap-type: none; scroll-behavior: auto; scrollbar-width: none; padding: 6px 2px 22px; }
.rail__track--loop::-webkit-scrollbar { display: none; }
.rail__track--loop li { flex: 0 0 min(300px, 78%); scroll-snap-align: none; }
.rail__track--loop .gtile { height: 320px; box-shadow: none; border: 1px solid rgba(255, 255, 255, .14); }
.rail__track--loop li[data-dup] { display: none; }
.rail__track--loop.has-loop li[data-dup] { display: block; }
@media (max-width: 620px) { .rail--latest .region-tabs { flex-wrap: nowrap; overflow-x: auto; } }
.rail .ecard, .rail .ecard h3 { color: var(--ink); }
.rail .ecard__org, .rail .ecard__sum { color: var(--ink-2); }

.source-note { margin-top: 10px; font-size: .72rem; color: var(--ink-3, #7a8799); letter-spacing: .02em; }
.muted { color: var(--ink-2); }
.gtile__text--long strong { font-size: clamp(1.25rem, 1.9vw, 1.75rem); overflow-wrap: normal; letter-spacing: -.02em; }
.gtile--big .gtile__text--long strong { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.gtile__what { font-size: .95rem; line-height: 1.25; color: #fff; font-weight: 600; opacity: .95; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gtile--big .gtile__what { font-size: 1.1rem; }
.gtile__text { gap: 7px; }
.rail__track--loop .gtile { height: 340px; }
/* Título completo, sem cortar: o carrossel usa letra um pouco menor e tile mais alto; a linha dos cargos pode ter 3 linhas */
.rail__track--loop .gtile { height: 380px; }
.rail__track--loop .gtile__text strong { font-size: clamp(1.15rem, 1.45vw, 1.4rem); -webkit-line-clamp: 7; }
.gtile__text strong { -webkit-line-clamp: 6; }
.gtile__what { -webkit-line-clamp: 3; }

/* Abertura: título e visão geral à esquerda, carrossel na metade direita até a borda da página */
.rail--hero { margin-top: 0; padding-block: clamp(36px, 5vw, 72px); overflow: hidden; }
.hero2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero2__left { display: grid; gap: 22px; align-content: start; }
.hero2 h1 { font-family: var(--sans); font-weight: 800; letter-spacing: -.035em; line-height: 1; font-size: clamp(2.6rem, 5.4vw, 5rem); text-wrap: balance; }
.hero2 h1 span { color: var(--mint, #35e0b0); }
.hero2__stats { font-size: 1.15rem; color: #cfe0f7; }
.hero2__stats b { color: #fff; font-size: 1.35rem; }
.hero2__block h2 { font-family: var(--sans); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8fd3ff; margin: 0 0 10px; }
.closing { display: grid; gap: 6px; }
.closing a { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-weight: 700; }
.closing a:hover { background: rgba(255, 255, 255, .13); }
.closing small { color: #9db6da; font-weight: 700; margin-left: 6px; }
.closing em { font-style: normal; font-size: .82rem; font-weight: 800; white-space: nowrap; color: #6ee7b7; }
.closing em.u-hoje { color: #ff8a80; } .closing em.u-semana { color: #ffbd5a; }
.uf-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.uf-chips a { display: inline-flex; gap: 7px; align-items: center; padding: 6px 12px; border-radius: 99px; border: 1.5px solid rgba(255, 255, 255, .24); color: #fff; text-decoration: none; font-weight: 700; font-size: .86rem; }
.uf-chips a b { background: rgba(255, 255, 255, .16); border-radius: 99px; padding: 0 8px; font-size: .76rem; }
.uf-chips a:hover { border-color: #8fd3ff; }
.hero2__car { min-width: 0; margin-right: calc((min(100vw - 2 * var(--gutter), var(--wrap)) - 100vw) / 2); }
.hero2__car .rail__head { margin-right: calc((100vw - min(100vw - 2 * var(--gutter), var(--wrap))) / 2); }
.hero2__car .rail__track--loop { padding-right: 0; }
.hero2__car .rail__track--loop li { flex: 0 0 min(300px, 62%); }
.hero2__car .rail__track--loop .gtile { height: 460px; }
@media (max-width: 980px) { .hero2 { grid-template-columns: 1fr; } .hero2__car { margin-right: 0; } .hero2__car .rail__head { margin-right: 0; } }

/* Carrossel de uma imagem por vez */
.hero2__car .rail__track--slide { scroll-snap-type: x mandatory; gap: 16px; }
.hero2__car .rail__track--slide li { flex: 0 0 100%; scroll-snap-align: start; }
.hero2__car .rail__track--slide .gtile { height: clamp(420px, 44vw, 560px); }
.hero2__car .rail__track--slide .gtile__text strong { font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.04; -webkit-line-clamp: 6; }
.hero2__car .rail__track--slide .gtile__what { font-size: 1.1rem; }
.hero2__car { margin-right: calc((min(100vw - 2 * var(--gutter), var(--wrap)) - 100vw) / 2); }
.hero2__car .rail__track--slide li:last-child { margin-right: 0; }
/* Inscrições se encerrando: segunda seção */
.closing-sec { padding-top: clamp(28px, 4vw, 52px); }
.cl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.cl__row { --tone: #12a150; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--tone); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.cl__row:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16, 35, 58, .1); }
.cl__row.u-hoje { --tone: #d6336c; } .cl__row.u-semana { --tone: #e8890c; }
.cl__uf { grid-row: span 2; font-weight: 800; font-size: .8rem; letter-spacing: .04em; background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 10px; }
.cl__name strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.cl__name small { display: block; color: var(--ink2); font-size: .84rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl__when { display: grid; gap: 5px; margin-top: 4px; }
.cl__when em { font-style: normal; font-weight: 800; font-size: .86rem; color: var(--tone); }
.cl__when .timebar { height: 5px; background: var(--line); border-radius: 3px; margin: 0; overflow: hidden; }
.cl__when .timebar b { display: block; height: 100%; width: var(--w); background: var(--tone); }
@media (max-width: 980px) { .cl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cl { grid-template-columns: 1fr; } }

/* Título no alto da abertura (junto ao logo); estados e material na base, alinhados ao fim da imagem */
.hero2 { align-items: stretch; }
.hero2__left { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.hero2__top { display: grid; gap: 18px; align-content: start; }
.hero2__bottom { display: grid; gap: 22px; }
@media (max-width: 980px) { .hero2__left { gap: 22px; } }

/* Barra de busca da abertura */
.hero2__search { display: flex; gap: 8px; align-items: center; margin-top: 8px; max-width: 620px; padding: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .28); transition: border-color .15s, background .15s; }
.hero2__search:focus-within { border-color: #8fd3ff; background: rgba(255, 255, 255, .13); }
.hero2__search input { flex: 1; min-width: 0; min-height: 50px; padding: 0 20px; border: 0; background: transparent; color: #fff; font-size: 1.05rem; outline: none; }
.hero2__search input::placeholder { color: #a9bddd; }
.hero2__search button { min-height: 50px; padding: 0 26px; border: 0; border-radius: 99px; background: #fff; color: var(--navy); font-weight: 800; font-size: .98rem; cursor: pointer; }
.hero2__search button:hover { background: #dbe8ff; }

/* Carrossel só com as fotos: sem título, maior e sem colar na margem da página */
.hero2__car { margin-right: 0; position: relative; display: flex; align-items: stretch; }
.hero2__car .rail__track { width: 100%; }
.hero2__car .rail__track--slide .gtile { height: clamp(460px, 46vw, 640px); }
.hero2__car .rail__track--loop { padding: 0; }
.hero2__nav { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; pointer-events: none; z-index: 3; }
.hero2__nav button { pointer-events: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(8, 18, 48, .55); backdrop-filter: blur(6px); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .15s; }
.hero2__nav button:hover { background: rgba(8, 18, 48, .85); }

/* Regiões: cada uma é uma faixa com fundo, cor e formato de galeria próprios */
.region { position: relative; overflow: hidden; background: var(--rbg); padding-block: clamp(38px, 5vw, 70px); margin-top: 0; padding-top: clamp(38px, 5vw, 70px); }
.region::before { content: attr(data-nome); position: absolute; right: -1%; top: 4px; font-family: var(--sans); font-weight: 800; letter-spacing: -.05em; line-height: .9; font-size: clamp(5rem, 15vw, 13rem); color: var(--racc); opacity: .08; pointer-events: none; white-space: nowrap; }
.region .wrap { position: relative; }
.region .section-head h2 { color: var(--ink); display: flex; align-items: center; gap: 12px; }
.region .section-head h2::before { content: ""; width: 10px; height: 1.15em; border-radius: 4px; background: var(--racc); }
.region .more { color: var(--racc); font-weight: 800; }
.region--norte { --rbg: #e4f3ea; --racc: #15803d; }
.region--nordeste { --rbg: #fdeedb; --racc: #c2410c; }
.region--centro-oeste { --rbg: #e3eefb; --racc: #1d4ed8; }
.region--sudeste { --rbg: #ebe8fb; --racc: #5b45d6; }
.region--sul { --rbg: #dcf2f1; --racc: #0f766e; }
.region--nacional { --rbg: #e6e9f0; --racc: #334155; }
.gallery .gtile { min-height: 0; }
/* Norte e Nacional: fileira de fotos altas */
.gallery--trio, .gallery--strip { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.gallery--trio { grid-auto-rows: 330px; }
.gallery--strip { grid-auto-rows: 400px; }
/* Centro-Oeste: a principal fica à direita, duas menores à esquerda */
.gallery--right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); grid-auto-rows: 220px; }
.gallery--right .gtile--big { grid-column: 2; grid-row: 1 / span 2; }
.gallery--right[data-n="1"] { grid-template-columns: 1fr; grid-auto-rows: 330px; }
.gallery--right[data-n="2"] { grid-auto-rows: 330px; }
/* Sudeste: duas grandes em cima, as outras embaixo */
.gallery--twotop { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 300px 200px; grid-auto-rows: 200px; }
.gallery--twotop .gtile { grid-column: span 2; }
.gallery--twotop .gtile:nth-child(-n+2) { grid-column: span 3; }
.gallery--twotop .gtile:nth-child(-n+2) .gtile__text strong { font-size: clamp(1.5rem, 2.3vw, 2.1rem); }
.gallery--twotop[data-n="1"] .gtile { grid-column: span 6; }
.gallery--twotop[data-n="2"] { grid-template-rows: 340px; }
.gallery--twotop[data-n="3"] .gtile:nth-child(3) { grid-column: span 6; }
.gallery--twotop[data-n="4"] .gtile:nth-child(n+3) { grid-column: span 3; }
@media (max-width: 980px) {
  .gallery--trio, .gallery--strip, .gallery--twotop { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 280px; }
  .gallery--twotop .gtile, .gallery--twotop .gtile:nth-child(-n+2), .gallery--twotop[data-n] .gtile:nth-child(n) { grid-column: auto; }
  .gallery--right { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--right .gtile--big { grid-column: 1 / -1; grid-row: auto; min-height: 300px; }
}
@media (max-width: 560px) {
  .gallery--trio, .gallery--strip, .gallery--twotop, .gallery--right { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery--right .gtile--big { grid-column: auto; }
}

/* Regiões em tons neutros: alternam branco e cinza-claro; um só azul discreto de acento */
.region { --racc: #16295e; border-top: 1px solid #e1e6ef; }
.region--norte, .region--centro-oeste, .region--sul { --rbg: #ffffff; --racc: #16295e; }
.region--nordeste, .region--sudeste, .region--nacional { --rbg: #eef1f6; --racc: #16295e; }
.region::before { opacity: .045; }
.region .section-head h2::before { background: #16295e; }
.region .more { color: #16295e; }

/* Regiões: fundo neutro, sem nome gigante; só a barrinha colorida antes do título */
.region::before { content: none; }
.region--norte { --racc: #15803d; }
.region--nordeste { --racc: #ea580c; }
.region--centro-oeste { --racc: #7c3aed; }
.region--sudeste { --racc: #2563eb; }
.region--sul { --racc: #0f766e; }
.region--nacional { --racc: #334155; }
.region .section-head h2::before { background: var(--racc); }
.region .more { color: var(--ink); }

/* Concursos: abertura escura, mapa clicável e painel de escolaridade/carreira */
.rail--pagehero { margin-top: 0; padding-block: clamp(36px, 5vw, 68px); }
.pagehero { display: grid; gap: 14px; }
.pagehero h1 { font-family: var(--sans); font-weight: 800; letter-spacing: -.035em; line-height: 1; font-size: clamp(2.6rem, 5.4vw, 5rem); }
.pagehero h1 span { color: var(--mint, #35e0b0); }
.pagehero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #cfe0f7; }
.pagehero__search { max-width: 720px; margin-top: 10px; }
.pagehero__stats { color: #cfe0f7; font-size: 1.05rem; }
.pagehero__stats b { color: #fff; font-size: 1.25rem; }
.finder2 { padding-block: clamp(28px, 4vw, 52px) 8px; }
.finder2__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.finder2__head p { color: var(--ink-2); margin-top: 4px; }
.finder2__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; margin-top: 18px; }
.finder2__map { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 16px 12px; box-shadow: 0 10px 40px rgba(16, 35, 58, .06); }
.brmap { display: block; width: 100%; height: auto; max-height: 620px; }
.brmap__s path { fill: #dfe5f0; stroke: #fff; stroke-width: 1.4px; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .15s ease; cursor: pointer; }
.brmap__s.m1 path { fill: #c3d3fa; } .brmap__s.m2 path { fill: #94b0f6; } .brmap__s.m3 path { fill: #5f88ec; } .brmap__s.m4 path { fill: #2b4fe0; }
.brmap__s:hover path, .brmap__s:focus-visible path { fill: #16295e; }
.brmap__s.is-sel path { fill: #16295e; stroke: #35e0b0; stroke-width: 2.5px; }
.brmap__l text { font: 800 .62px var(--sans); text-anchor: middle; dominant-baseline: central; fill: #0f1f3d; pointer-events: none; }
.brmap__l text.l3, .brmap__l text.l4, .brmap__l text.is-sel { fill: #fff; }
.brmap__s:hover + .brmap__s { }
.brmap__legend { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: .78rem; color: var(--ink-2); }
.brmap__legend i { width: 26px; height: 10px; border-radius: 3px; background: #dfe5f0; }
.brmap__legend i.m1 { background: #c3d3fa; } .brmap__legend i.m2 { background: #94b0f6; } .brmap__legend i.m3 { background: #5f88ec; } .brmap__legend i.m4 { background: #2b4fe0; }
.finder2__side { display: grid; gap: 18px; }
.fpanel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: 0 10px 40px rgba(16, 35, 58, .06); }
.fpanel h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .92rem; color: var(--ink); text-decoration: none; }
.fchip b { background: #eef1f6; border-radius: 99px; padding: 1px 8px; font-size: .78rem; color: var(--ink-2); }
.fchip:hover { border-color: #2b4fe0; }
.fchip.is-on { background: var(--navy, #16295e); border-color: var(--navy, #16295e); color: #fff; }
.fchip.is-on b { background: rgba(255, 255, 255, .2); color: #fff; }
.fsel { font-size: .95rem; color: var(--ink-2); } .fsel strong { color: var(--ink); } .fsel a { margin-left: 8px; font-weight: 800; color: #2b4fe0; }
.more-filters { margin: 22px 0 6px; } .more-filters summary { cursor: pointer; font-weight: 700; color: var(--ink-2); }
.more-filters .filters { margin-top: 12px; }
@media (max-width: 880px) { .finder2__grid { grid-template-columns: 1fr; } }

/* Resultados em faixa branca; filtros sempre visíveis; atualização sem recarregar */
.results { background: #fff; border-top: 1px solid var(--line); margin-top: clamp(28px, 4vw, 48px); padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 72px); }
.results .crumbs { margin-bottom: 14px; }
.results__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.results__head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.02em; }
.results__head h2 span:first-child { color: var(--brand, #2b4fe0); }
.results__clear { font-weight: 800; color: #2b4fe0; }
.filters--bar { margin: 18px 0 8px; padding: 14px 16px; background: #f4f6fa; border: 1px solid var(--line); border-radius: var(--r-lg); }
.results .list { margin-top: 8px; }
.results .row { padding: 22px 8px; border-radius: 12px; transition: background .12s ease; }
.results .row:hover { background: #f4f6fa; }
.more-wrap { display: flex; justify-content: center; margin-top: 22px; }
.fgo { display: inline-flex; align-self: start; font-weight: 800; color: #fff; background: var(--navy, #16295e); padding: 12px 18px; border-radius: 99px; text-decoration: none; }
.fgo:hover { background: #2b4fe0; }
.fchip.is-zero { opacity: .45; }
.js-live .pager { display: none; }
.finder2 { padding-bottom: clamp(20px, 3vw, 36px); }
.js-live #f-submit { display: none !important; }

/* Rolagem automática até a lista: o título fixo do site não cobre o começo da seção */
#resultados, #finder { scroll-margin-top: 84px; }
.results__links { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; }
.results__back { font-weight: 700; color: var(--ink-2); font-size: .92rem; }
.results__back:hover { color: #2b4fe0; }
.fgo { gap: .4em; align-items: baseline; }

/* Botão de limpar seleções no cabeçalho do mapa */
.finder2__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fclear-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 99px; background: var(--navy, #16295e); color: #fff; font-weight: 800; font-size: .95rem; text-decoration: none; box-shadow: 0 8px 22px rgba(22, 41, 94, .25); white-space: nowrap; }
.fclear-btn:hover { background: #d6336c; }
.fclear-btn[hidden] { display: none; }

/* ======================================================================
   Página do edital e página de produto — v3 (profissional, sem vazios)
   Faixa escura no topo com o prazo ao lado, ficha de dados, seções em cartões e índice lateral.
   ====================================================================== */
.btn--mint { background: var(--mint); border-color: var(--mint); color: #04251f; }
.btn--mint:hover { background: #3fe0c4; border-color: #3fe0c4; }
.btn--line { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--line:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* Faixa de abertura do edital */
.ed-hero { --tone: var(--folga); position: relative; isolation: isolate; color: #fff; padding-bottom: clamp(70px, 8vw, 104px); background: radial-gradient(90% 140% at 100% 0%, rgba(30, 144, 255, .55) 0%, rgba(30, 144, 255, 0) 60%), linear-gradient(150deg, var(--navy-2), var(--navy)); overflow: hidden; }
.ed-hero::before { content: ""; position: absolute; z-index: -1; left: -8%; bottom: -60%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(18, 196, 165, .26), transparent 66%); }
.ed-hero.u-hoje { --tone: var(--hoje); } .ed-hero.u-semana { --tone: var(--semana); } .ed-hero.u-none { --tone: var(--ink-3); }
.ed-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 4vw, 64px); align-items: center; }
.ed-hero .crumbs { color: #a9c3e2; padding-top: 22px; }
.ed-hero .crumbs a { color: #cfe0f7; }
.ed-hero .badges { margin: 22px 0 14px; }
.ed-hero .badge { background: rgba(255, 255, 255, .12); color: #fff; }
.ed-hero .badge--uf { background: #fff; color: var(--navy); }
.ed-hero .badge--abertas { background: var(--mint); color: #04251f; }
.ed-hero h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.02; letter-spacing: -.04em; max-width: 26ch; }
.ed-hero__lead { margin-top: 18px; max-width: 76ch; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #d3e3f6; }
.ed-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ed-hero__cta .btn { min-height: 48px; padding-inline: 1.5rem; border-radius: 999px; }
.ed-hero__main { padding-bottom: 6px; }

/* Cartão do prazo (dentro da faixa) */
.ed-clock { align-self: center; margin-top: 26px; padding: 24px 24px 20px; background: var(--surface); color: var(--ink); border-radius: var(--r-lg); border-top: 6px solid var(--tone); box-shadow: var(--shadow); }
.ed-clock__days { font-size: clamp(3rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--tone); }
.ed-clock__days small { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; margin-left: 8px; }
.ed-clock__days--text { font-size: 1.9rem; letter-spacing: -.03em; }
.ed-clock__label { margin-top: 8px; font-weight: 700; color: var(--ink-2); }
.ed-clock .timebar { margin-top: 16px; height: 8px; }
.ed-clock__date { margin-top: 14px; color: var(--ink-2); font-size: .95rem; }
.ed-clock__date b { color: var(--ink); }
.ed-clock__warn { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: .82rem; color: var(--ink-3); line-height: 1.45; }

/* Ficha de dados: fichas que sobem sobre a faixa */
.ed-facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: calc(-1 * clamp(40px, 5vw, 60px)) 0 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 18px 50px rgba(16, 35, 58, .12); overflow: hidden; }
.ed-facts > div { padding: 18px 22px; border-left: 1px solid var(--line-2); min-width: 0; }
.ed-facts > div:first-child { border-left: 0; }
.ed-facts > .wide { grid-column: span 2; }
.ed-facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ed-facts dd { margin: 6px 0 0; font-size: 1.08rem; font-weight: 800; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.ed-ended { margin: 0; position: relative; z-index: 1; margin-top: -40px; margin-bottom: 18px; max-width: none; }

/* Corpo: conteúdo + índice lateral */
.ed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(22px, 3vw, 44px); align-items: start; margin-top: clamp(24px, 3.4vw, 40px); padding-bottom: clamp(24px, 4vw, 48px); }
.ed-main { display: grid; gap: clamp(16px, 2vw, 24px); min-width: 0; }
.ed-panel { padding: clamp(20px, 2.6vw, 32px); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 8px 28px rgba(16, 35, 58, .05); scroll-margin-top: 96px; }
.ed-panel > h2, .ed-panel h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.02em; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.ed-panel > h2::before, .ed-panel--dl h2::before { content: ""; flex: none; width: 5px; height: 1.1em; border-radius: 3px; background: var(--sky); }
.ed-panel .prose { max-width: none; font-size: 1.08rem; }
.ed-panel--flush { padding: 0; overflow: hidden; }
.ed-panel--flush > h2 { padding: clamp(20px, 2.6vw, 32px) clamp(20px, 2.6vw, 32px) 0; }
.ed-panel--flush .table-wrap { border: 0; border-radius: 0; border-top: 1px solid var(--line-2); }
.ed-panel--flush .cargos tbody tr:hover { background: #f7f9fc; }
.ed-panel--flush .cargos th, .ed-panel--flush .cargos td { padding: 14px clamp(14px, 2vw, 24px); }
.ed-panel--flush .cargos tbody td:first-child { font-weight: 700; }
.ed-panel--dl { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(150deg, var(--navy-2), var(--navy)); color: #fff; border: 0; }
.ed-panel--dl h2 { margin-bottom: 6px; }
.ed-panel--dl h2::before { background: var(--mint); }
.ed-panel--dl p { color: #d3e3f6; max-width: 52ch; }
.ed-panel--dl .btn { background: var(--mint); border-color: var(--mint); color: #04251f; min-height: 48px; border-radius: 999px; padding-inline: 1.5rem; }
.ed-notice { margin: 0; max-width: none; border-radius: 12px; }

/* Datas: cartões em grade em vez de lista comprida */
.ed-dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.ed-dates li { --tone: var(--ink-3); display: grid; gap: 4px; align-content: start; padding: 16px 16px 14px; border: 1px solid var(--line-2); border-top: 4px solid var(--line); border-radius: 14px; background: #fafbfd; }
.ed-dates li.now { border-top-color: var(--tone); background: color-mix(in srgb, var(--tone) 7%, #fff); }
.ed-dates li.u-folga { --tone: var(--folga); } .ed-dates li.u-semana { --tone: var(--semana); } .ed-dates li.u-hoje { --tone: var(--hoje); }
.ed-dates li.done { opacity: .62; }
.ed-dates__day { display: flex; align-items: baseline; gap: 8px; }
.ed-dates__day b { font-size: 1.7rem; letter-spacing: -.04em; line-height: 1; text-transform: capitalize; }
.ed-dates li.now .ed-dates__day b { color: var(--tone); }
.ed-dates__day small { color: var(--ink-3); font-weight: 700; }
.ed-dates strong { margin-top: 6px; line-height: 1.25; }
.ed-dates em { font-style: normal; font-size: .86rem; font-weight: 700; color: var(--ink-3); min-height: 1.2em; }
.ed-dates li.now em { color: var(--tone); }

/* Etapas: cartões numerados em duas colunas */
.ed-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; counter-reset: none; }
.ed-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; background: #fafbfd; }
.ed-steps li::before { display: none; }
.ed-steps__n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
.ed-steps strong { display: block; line-height: 1.3; }
.ed-steps span:not(.ed-steps__n) { display: block; margin-top: 3px; color: var(--ink-2); font-size: .94rem; }
.ed-steps small { display: block; margin-top: 2px; color: var(--ink-3); }

/* Índice lateral */
.ed-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.ed-toc { padding: 20px 20px 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 8px 28px rgba(16, 35, 58, .05); }
.ed-toc h2 { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.ed-toc li a { display: block; padding: 10px 12px; margin-inline: -12px; border-radius: 10px; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--ink-2); transition: background .15s, color .15s; }
.ed-toc li a:hover { background: var(--sky-soft); color: var(--sky-deep); }
.ed-side .share { margin: 0; }
.ed-side .share button { width: 100%; justify-content: center; border-radius: 999px; }
.ed-study { padding-block: clamp(10px, 2vw, 24px) clamp(28px, 4vw, 48px); scroll-margin-top: 96px; }
.ed .source-note { margin-top: -8px; }

@media (max-width: 1000px) {
  .ed-hero__in { grid-template-columns: 1fr; }
  .ed-clock { margin-top: 0; }
  .ed-layout { grid-template-columns: 1fr; }
  .ed-side { position: static; order: -1; }
  .ed-toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .ed-toc li a { margin: 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; }
  .ed-side .share { display: none; }
}
@media (max-width: 620px) {
  .ed-facts > .wide { grid-column: 1 / -1; }
  .ed-facts > div { border-left: 0; border-top: 1px solid var(--line-2); }
  .ed-facts > div:first-child { border-top: 0; }
  .ed-steps { grid-template-columns: 1fr; }
}

/* Produto (apostila, caderno, curso...) */
.pd { --tone: var(--sky); --tone-soft: var(--sky-soft); }
.pd--caderno, .pd--mapa, .pd--simulado { --tone: var(--folga); --tone-soft: var(--folga-soft); }
.pd--curso { --tone: var(--semana); --tone-soft: var(--semana-soft); }
.pd--combo { --tone: #6a3fc4; --tone-soft: #ece5fa; }
.pd-hero { position: relative; isolation: isolate; color: #fff; padding-bottom: clamp(36px, 5vw, 64px); background: radial-gradient(90% 140% at 0% 0%, rgba(30, 144, 255, .45) 0%, rgba(30, 144, 255, 0) 60%), linear-gradient(150deg, var(--navy-2), var(--navy)); overflow: hidden; }
.pd-hero::before { content: ""; position: absolute; z-index: -1; right: -6%; bottom: -55%; width: 44%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(18, 196, 165, .24), transparent 66%); }
.pd-hero .crumbs { color: #a9c3e2; padding-top: 22px; }
.pd-hero .crumbs a { color: #cfe0f7; }
.pd-hero__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(22px, 3.4vw, 56px); align-items: center; margin-top: 26px; }
.pd-cover { display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 28px 60px rgba(0, 0, 0, .38); transform: rotate(-1.5deg); }
.pd-cover img { width: 100%; height: 100%; object-fit: contain; }
.pd-cover .offer__ph { color: var(--tone); }
.pd-info .offer__kind { background: var(--mint); color: #04251f; }
.pd-info .offer__fmt { background: rgba(255, 255, 255, .14); color: #fff; }
.pd-info h1 { margin-top: 14px; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.04em; }
.pd-info__cargo { margin-top: 12px; font-size: clamp(1.05rem, 1.7vw, 1.35rem); color: #d3e3f6; max-width: 40ch; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pd-chips div { padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); }
.pd-chips dt { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8fd3ff; }
.pd-chips dd { margin: 2px 0 0; font-weight: 800; }
.pd-buy { padding: 26px; background: var(--surface); color: var(--ink); border-radius: var(--r-lg); border-top: 6px solid var(--tone); box-shadow: var(--shadow); }
.pd-buy__price { display: flex; flex-direction: column; line-height: 1.05; }
.pd-buy__price span { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pd-buy__price strong { margin-top: 6px; font-size: clamp(2.3rem, 4vw, 3rem); letter-spacing: -.04em; }
.pd-buy__cta { width: 100%; margin-top: 18px; min-height: 54px; font-size: 1.08rem; border-radius: 999px; box-shadow: 0 10px 26px rgba(27, 95, 217, .3); }
.pd-buy__note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); color: var(--ink-3); font-size: .85rem; line-height: 1.45; }
.pd-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(22px, 3vw, 44px); align-items: start; margin-top: clamp(24px, 3.4vw, 40px); padding-bottom: clamp(24px, 4vw, 44px); }
.pd-main { display: grid; gap: clamp(16px, 2vw, 24px); min-width: 0; }
.pd-lead { color: var(--ink-2); font-size: 1.1rem; max-width: 70ch; }
.pd-checks { padding: clamp(20px, 2.6vw, 32px); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 8px 28px rgba(16, 35, 58, .05); }
.pd-checks h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.02em; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.pd-checks h2::before { content: ""; flex: none; width: 5px; height: 1.1em; border-radius: 3px; background: var(--sky); }
.pd-checks ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.pd-checks li { padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; background: #fafbfd; }
.pd-checks li span { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.pd-checks b { display: block; line-height: 1.25; }
.pd-checks p { margin-top: 6px; color: var(--ink-2); font-size: .93rem; }
.pd-checks a { color: var(--sky-deep); text-underline-offset: 3px; }
.pd-spec { position: sticky; top: 96px; padding: clamp(20px, 2.4vw, 28px); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 8px 28px rgba(16, 35, 58, .05); }
.pd-spec h2 { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.pd-spec .spec { margin-top: 8px; border-top: 0; }
.pd-spec .spec div:last-child { border-bottom: 0; }
.pd-spec .spec dd { overflow-wrap: anywhere; }

@media (max-width: 1000px) {
  .pd-hero__grid { grid-template-columns: 200px minmax(0, 1fr); }
  .pd-buy { grid-column: 1 / -1; }
  .pd-cols { grid-template-columns: 1fr; }
  .pd-spec { position: static; }
}
@media (max-width: 620px) {
  .pd-hero__grid { grid-template-columns: 1fr; }
  .pd-cover { max-width: 220px; margin-inline: auto; transform: none; }
}

/* "Mais concursos" na página do edital: cartões em grade, não lista de linhas */
.ed-more { padding-block: clamp(8px, 2vw, 20px) clamp(36px, 5vw, 64px); }
.ed-more .section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ed-more .section-head h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -.02em; }
.ed-more .section-head h2::before { content: ""; width: 5px; height: 1.1em; border-radius: 3px; background: var(--sky); }
.ed-more .section-head .more { padding: 9px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; font-size: .9rem; text-decoration: none; }
.ed-more .section-head .more:hover { background: var(--sky); }
.ed-more .list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.ed-more .row { --tone: var(--ink-3); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line-2); border-top: 5px solid var(--tone); border-radius: var(--r-lg); box-shadow: 0 8px 28px rgba(16, 35, 58, .05); transition: transform .2s ease, box-shadow .2s ease; }
.ed-more .row:last-child { border-bottom: 1px solid var(--line-2); }
.ed-more .row.u-folga { --tone: var(--folga); } .ed-more .row.u-semana { --tone: var(--semana); } .ed-more .row.u-hoje { --tone: var(--hoje); }
.ed-more .row:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(16, 35, 58, .12); }
.ed-more .row:hover .row__name { text-decoration: none; color: var(--sky-deep); }
.ed-more .row__name { display: flex; gap: 10px; align-items: flex-start; font-size: 1.1rem; }
.ed-more .row__name .badge { flex: none; margin-top: 2px; }
.ed-more .row__facts { flex-direction: column; gap: 3px; margin-top: 12px; }
.ed-more .row__when { text-align: left; padding-top: 14px; border-top: 1px solid var(--line-2); }

/* Destaques dentro da faixa do edital (vagas, salário, escolaridade) */
.ed-hero__stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; max-width: 760px; }
.ed-hero__stats > div { flex: 1 1 150px; padding: 4px 24px 4px 0; margin-right: 24px; border-right: 1px solid rgba(255, 255, 255, .2); min-width: 0; }
.ed-hero__stats > div:last-child { border-right: 0; margin-right: 0; }
.ed-hero__stats dt { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8fd3ff; }
.ed-hero__stats dd { margin: 6px 0 0; font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
@media (max-width: 620px) { .ed-hero__stats > div { border-right: 0; flex-basis: 45%; margin-right: 0; } }

/* Produto: a compra fica dentro da coluna de informação, em faixa horizontal */
.pd-info { display: flex; flex-direction: column; align-items: flex-start; }
.pd-info h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.pd-info__cargo { max-width: 60ch; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.pd-buy { grid-column: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 28px; align-items: center; width: 100%; max-width: 760px; margin-top: 26px; padding: 22px 26px; border-top: 0; border-left: 6px solid var(--tone); }
.pd-buy__cta { width: auto; margin: 0; padding-inline: 2.2rem; }
.pd-buy__note { grid-column: 1 / -1; margin-top: 4px; }
.pd-hero__grid .pd-buy { align-self: stretch; }
.pd-hero__grid { align-items: center; }

/* Editais e Calendário: faixa de abertura + cartões */
.rail--pagehero .crumbs { color: #a9c3e2; padding-top: 0; margin-bottom: 6px; }
.rail--pagehero .crumbs a { color: #cfe0f7; }
.pg-body { padding-top: clamp(22px, 3vw, 36px); padding-bottom: clamp(36px, 5vw, 64px); }
.pg-body .region-tabs { margin-top: 0; }
.pg-body .ed-more { padding-block: 8px 0; }
.pg-body .result-meta { margin-bottom: 14px; }
.pg-body .pager { margin-top: 28px; }

.cal .month { margin-top: clamp(28px, 4vw, 44px); }
.cal .month:first-of-type { margin-top: 0; }
.cal .month h2 { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; margin-bottom: 18px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; }
.cal .month h2::before { content: ""; width: 5px; height: 1.1em; border-radius: 3px; background: var(--sky); }
.cal .dated { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 16px; }
.cal .dated__row { grid-template-columns: 70px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 8px 28px rgba(16, 35, 58, .05); transition: transform .2s ease, box-shadow .2s ease; }
.cal .dated__row:last-child { border-bottom: 1px solid var(--line-2); }
.cal .dated__row:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(16, 35, 58, .12); }
.cal .dated__row:hover .dated__name { text-decoration: none; color: var(--sky-deep); }
.cal .dated__date { grid-row: span 2; padding: 10px 0; border-radius: 14px; background: var(--navy); color: #fff; }
.cal .dated__date span { color: #8fd3ff; }
.cal .dated__name { line-height: 1.25; }
.cal .dated__tag { grid-column: 2; text-align: left; justify-self: start; margin-top: 6px; padding: 3px 12px; border-radius: 999px; background: var(--sky-soft); color: var(--sky-deep); font-weight: 800; }
@media (max-width: 460px) { .cal .dated { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .pd-hero__grid { grid-template-columns: 220px minmax(0, 1fr); } .pd-buy { grid-column: 1 / -1; } }
@media (max-width: 620px) { .pd-hero__grid { grid-template-columns: 1fr; } .pd-buy { grid-template-columns: 1fr; } .pd-buy__cta { width: 100%; } }
.ed-more .row__when { width: 100%; box-sizing: border-box; }

/* Editais v2: filtros em barra, chips de situação e cartões ricos com miniatura */
.eds .rail--pagehero { padding-bottom: clamp(70px, 8vw, 100px); }
.eds-body { padding-bottom: clamp(36px, 5vw, 64px); }
.eds-filters { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(150px, 1fr)) auto; gap: 12px; margin-top: calc(-1 * clamp(36px, 4.5vw, 52px)); padding: 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 18px 50px rgba(16, 35, 58, .14); }
.eds-filters select, .eds-search { height: 50px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 600; color: var(--ink); }
.eds-filters select { width: 100%; padding: 0 14px; cursor: pointer; }
.eds-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.eds-search svg { width: 20px; height: 20px; flex: none; color: var(--ink-3); }
.eds-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); }
.eds-search:focus-within, .eds-filters select:focus { border-color: var(--sky); outline: 0; }
.eds-filters .btn { height: 50px; padding-inline: 1.8rem; border-radius: 12px; background: var(--sky); border-color: var(--sky); }
.eds-filters .btn:hover { background: var(--sky-deep); border-color: var(--sky-deep); }
.eds-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.eds-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .93rem; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.eds-chips a b { padding: 1px 9px; border-radius: 999px; background: var(--paper); font-size: .78rem; color: var(--ink-2); }
.eds-chips a:hover { border-color: var(--sky); }
.eds-chips a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.eds-chips a[aria-current="page"] b { background: rgba(255, 255, 255, .2); color: #fff; }
.eds-count { margin: 14px 0 12px; color: var(--ink-2); }
.eds-list { display: grid; gap: 16px; }
.ec { --tone: var(--ink-3); display: grid; grid-template-columns: 190px minmax(0, 1fr) 240px; gap: clamp(16px, 2.4vw, 32px); align-items: center; padding: 16px; background: var(--surface); border: 1px solid var(--line-2); border-left: 6px solid var(--tone); border-radius: var(--r-lg); box-shadow: 0 8px 28px rgba(16, 35, 58, .05); transition: transform .2s ease, box-shadow .2s ease; }
.ec:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(16, 35, 58, .12); }
.ec.u-folga { --tone: var(--folga); } .ec.u-semana { --tone: var(--semana); } .ec.u-hoje { --tone: var(--hoje); }
.ec--edital { --tone: var(--sky); }
.ec__thumb { display: grid; place-items: center; width: 190px; height: 128px; border-radius: 14px; overflow: hidden; color: rgba(255, 255, 255, .85); background: linear-gradient(135deg, #1f3a73, #16295e); }
.ec__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ec__thumb svg { width: 56px; height: 56px; }
.ec__uf { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-deep); }
.ec__title { margin-top: 4px; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.2; letter-spacing: -.02em; }
.ec__title a { text-decoration: none; } .ec__title a:hover { color: var(--sky-deep); }
.ec__org { margin-top: 4px; color: var(--ink-2); font-size: .95rem; }
.ec__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
.ec__meta li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .93rem; }
.ec__meta svg { width: 18px; height: 18px; flex: none; color: var(--sky); }
.ec__side { display: grid; gap: 2px; justify-items: start; padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line-2); align-self: stretch; align-content: center; }
.ec__st { font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: var(--tone); }
.ec__when { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.ec__left { font-size: .9rem; font-weight: 700; color: var(--tone); }
.ec__cta { margin-top: 12px; min-height: 44px; border-radius: 12px; padding-inline: 1.2rem; background: var(--navy); border-color: var(--navy); }
.ec__cta:hover { background: var(--sky); border-color: var(--sky); }
.eds .pager { margin-top: 28px; }
@media (max-width: 1100px) { .eds-filters { grid-template-columns: 1fr 1fr; } .eds-search { grid-column: 1 / -1; } .eds-filters .btn { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .ec { grid-template-columns: 130px minmax(0, 1fr); }
  .ec__thumb { width: 130px; height: 100px; }
  .ec__side { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .ec__st { grid-column: 1; } .ec__when, .ec__left { grid-column: 1; } .ec__cta { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}
@media (max-width: 560px) { .eds-filters { grid-template-columns: 1fr; } .ec { grid-template-columns: 1fr; } .ec__thumb { width: 100%; height: 140px; } }
.ec__stats { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 0; margin-top: 16px; }
.ec__stats > div { padding: 2px 22px 2px 0; margin-right: 22px; border-right: 1px solid var(--line-2); min-width: 0; }
.ec__stats > div:last-child { border-right: 0; margin-right: 0; }
.ec__stats dt { display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ec__stats dt svg { width: 15px; height: 15px; color: var(--sky); }
.ec__stats dd { margin: 4px 0 0; font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ec__cargos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.ec__cargos span { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.ec__cargos em { font-style: normal; font-size: .84rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--sky-soft); color: var(--sky-deep); }
.ec__cargos .ec__more { background: var(--paper); color: var(--ink-2); font-weight: 800; }
.ec__new { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 999px; background: var(--mint); color: #04251f; letter-spacing: .06em; }
.ec__side .timebar { width: 100%; height: 6px; margin-top: 6px; }
.ec { align-items: stretch; }
.ec__thumb { height: 100%; min-height: 150px; align-self: stretch; }
@media (max-width: 1180px) { .ec__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; } .ec__stats > div:nth-child(2) { border-right: 0; margin-right: 0; } }
@media (max-width: 860px) { .ec__thumb { height: 100px; min-height: 0; } }

/* Rodapé em colunas (05/11/2026) */
.fx { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(5, minmax(110px, 1fr)); gap: 32px clamp(24px, 4vw, 64px); padding-block: clamp(36px, 5vw, 56px); align-items: start; }
.fx:has(.fx__col:nth-of-type(4):last-child) { grid-template-columns: minmax(260px, 1.7fr) repeat(4, minmax(120px, 1fr)); }
.fx__brand { display: grid; gap: 16px; justify-items: start; }
.fx__note { margin: 0; color: #93a8c2; font-size: .92rem; line-height: 1.55; max-width: 44ch; }
.fx__cta { border-radius: 999px; margin-top: 4px; }
.fx__col { display: grid; gap: 10px; align-content: start; }
.fx__col h3 { margin: 0 0 4px; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: #fff; }
.fx__col a { color: #b8c8dc; text-decoration: none; font-size: .94rem; }
.fx__col a:hover, .fx__col a:focus-visible { color: #fff; text-decoration: underline; }
.footer-base { padding-block: 16px 22px; }
@media (max-width: 1000px) { .fx, .fx:has(.fx__col:nth-of-type(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fx__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .fx { gap: 28px 20px; } }

/* Crédito da Agência Criei no rodapé (igual ao Digital_Direto) */
.footer-base { align-items: center; }
.footer-credit { display: inline-flex; align-items: center; gap: 7px; color: #8f9ab0; font-size: .78rem; text-decoration: none; transition: color .2s; }
.footer-credit img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.footer-credit strong { color: #eaf0fa; font-size: .82rem; }
.footer-credit:hover, .footer-credit:hover strong { color: var(--mint, #12c4a5); }
.footer-base .link-btn { margin-left: 6px; }

/* Movimento: pulso do Radar, entrada suave ao rolar e cartões que reagem ao mouse */
.pulse { display: inline-flex; align-items: center; gap: 9px; margin-top: 2px; padding: 6px 13px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #dbe7f8; font-size: .86rem; line-height: 1.3; }
.pulse b { color: #fff; }
.pulse i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #12c4a5; animation: cc-pulse 2s ease-out infinite; box-shadow: 0 0 0 0 rgba(18, 196, 165, .55); }
.pulse em { font-style: normal; color: #fff; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal] .gtile { opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .55s ease calc(var(--i, 0) * 90ms), transform .6s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 90ms), box-shadow .25s ease; }
.js [data-reveal].is-in .gtile { opacity: 1; transform: none; }
.gtile img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.gtile:hover img, .gtile:focus-visible img { transform: scale(1.07); }
.gtile:hover, .gtile:focus-visible { box-shadow: 0 14px 34px rgba(16, 35, 58, .28); }
@media (prefers-reduced-motion: reduce) { .js [data-reveal], .js [data-reveal] .gtile { opacity: 1 !important; transform: none !important; } .pulse i { animation: none !important; } }

/* Carrossel único por região (início) */
.regcar { padding-block: clamp(26px, 3.4vw, 46px); background: var(--line-2, #eef2f8); }
.regcar__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.regcar__head h2 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.regcar__tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.regcar__tab { font: inherit; font-weight: 700; font-size: .92rem; padding: 8px 15px; border-radius: 999px; border: 1.5px solid #c6d2e4; background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.regcar__tab small { margin-left: 4px; padding: 1px 7px; border-radius: 99px; background: #e8eef8; font-weight: 700; font-size: .74rem; }
.regcar__tab:hover { border-color: var(--ink); transform: translateY(-1px); }
.regcar__tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.regcar__tab[aria-selected="true"] small { background: rgba(255, 255, 255, .2); color: #fff; }
.regcar__track { list-style: none; margin: 0; padding: 2px 2px 10px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.regcar__track::-webkit-scrollbar { display: none; }
.regcar__track { scroll-snap-type: none; padding: 4px 2px 14px; }
.regcar__track li { flex: 0 0 min(300px, 78%); }
.ecard { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 12px 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; user-select: none; }
.ecard:hover, .ecard:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16, 35, 58, .16); }
.ecard__img { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; color: rgba(255, 255, 255, .85); background: linear-gradient(135deg, #1f3a73, #1b2a4e); margin-bottom: 4px; }
.ecard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.ecard:hover .ecard__img img { transform: scale(1.06); }
.ecard__img svg { width: 44%; height: 44%; }
.ecard__img--saude { background: linear-gradient(135deg, #0f766e, #14532d); } .ecard__img--educacao { background: linear-gradient(135deg, #7c3aed, #3b2a8f); } .ecard__img--seguranca { background: linear-gradient(135deg, #1e3a8a, #0b1b3a); } .ecard__img--justica { background: linear-gradient(135deg, #92400e, #451a03); } .ecard__img--legislativo { background: linear-gradient(135deg, #be123c, #4c0519); } .ecard__img--ambiente { background: linear-gradient(135deg, #15803d, #052e16); } .ecard__img--fazenda { background: linear-gradient(135deg, #0e7490, #082f49); }
.ecard__kicker { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--racc, #4f5bd5); padding: 0 4px; }
.ecard__title { font-size: 1.08rem; line-height: 1.25; padding: 0 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ecard__meta { margin-top: auto; padding: 4px 4px 0; font-size: .76rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3, #5b6b82); }
.ecard__meta em { display: block; margin-top: 3px; font-style: normal; color: var(--ink); }
.regcar__panel:not([hidden]) { animation: cc-pop .45s ease; }
.regcar__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.regcar__nav { display: flex; gap: 8px; }
.regcar__nav button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #c6d2e4; background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); }
.regcar__nav button:hover { border-color: var(--ink); }
@media (max-width: 620px) { .regcar__tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; } .regcar__tab { flex: none; } }

/* Últimos dias: cartões com contagem em destaque */
.cl-dot { display: inline-block; width: 11px; height: 11px; margin-right: 11px; border-radius: 50%; background: #d6336c; vertical-align: .08em; animation: cc-pulse 1.6s ease-out infinite; box-shadow: 0 0 0 0 rgba(214, 51, 108, .5); }
.cd-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cd { --tone: #12a150; --tone-soft: #e6f6ec; position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.cd.u-hoje { --tone: #d6336c; --tone-soft: #fdeaf1; } .cd.u-semana { --tone: #e8890c; --tone-soft: #fff1de; }
.cd:hover, .cd:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(16, 35, 58, .16); border-color: var(--tone); }
.cd__clock { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 12px 6px; background: var(--tone); color: #fff; text-align: center; }
.cd__clock b { font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.cd__clock b.w { font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0; }
.cd__clock small { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; opacity: .9; }
.cd__clock b:not(.w) { font-size: 2.4rem; }
.cd__body { display: grid; align-content: start; gap: 4px; padding: 14px 16px 20px; min-width: 0; }
.cd__meta { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--tone); }
.cd__body strong { font-size: 1.08rem; line-height: 1.2; }
.cd__what { color: var(--ink-2); font-size: .85rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd__facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cd__facts i { font-style: normal; font-size: .76rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--tone-soft); color: var(--ink); }
.cd__go { position: absolute; right: 14px; bottom: 11px; font-size: .78rem; font-weight: 800; color: var(--tone); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.cd:hover .cd__go, .cd:focus-visible .cd__go { opacity: 1; transform: none; }
.cd__bar { position: absolute; left: 104px; right: 0; bottom: 0; height: 5px; background: var(--line); }
.cd__bar b { display: block; height: 100%; width: var(--w); background: var(--tone); transform-origin: left; animation: cc-grow 1s ease both; }
@media (max-width: 1100px) { .cd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cd-grid { grid-template-columns: 1fr; } .cd { grid-template-columns: 76px minmax(0, 1fr); } .cd__bar { left: 76px; } }

/* Pop-up do edital: cabeçalho azul com o concurso, campos com ícone, botão verde grande. */
.edital-dialog { width: min(470px, calc(100% - 24px)); padding: 0; border-radius: 18px; overflow: auto; }
.edital-dialog .alert-dialog__x { z-index: 2; top: 14px; right: 14px; background: rgba(255, 255, 255, .18); color: #fff; }
.edital-dialog .alert-dialog__x:hover { background: rgba(255, 255, 255, .32); }
.ed-head { display: flex; align-items: center; gap: 14px; padding: 26px 64px 24px 26px; background: linear-gradient(135deg, #1b5fd9 0%, #0f3f9b 100%); color: #fff; }
.ed-head--ok { background: linear-gradient(135deg, #16a36f 0%, #0d7352 100%); }
.ed-head__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: rgba(255, 255, 255, .17); }
.ed-head__icon svg { width: 26px; height: 26px; }
.ed-head h2, .edital-dialog .ed-head h2 { padding: 0; font-family: var(--sans); font-size: 1.5rem; letter-spacing: -.02em; color: #fff; }
.ed-head__sub { margin-top: 3px; font-size: .88rem; line-height: 1.35; color: rgba(255, 255, 255, .86); }
.ed-form { display: grid; gap: 14px; padding: 24px 26px 26px; }
.ed-field { display: grid; gap: 6px; }
.ed-field > span:first-child { font-size: .8rem; font-weight: 800; letter-spacing: .01em; color: var(--ink-2); }
.ed-field em { font-style: normal; font-weight: 600; color: var(--ink-3); }
.ed-input { position: relative; display: block; }
.ed-input > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.ed-input input, .ed-input select { width: 100%; min-height: 52px; padding: 0 14px 0 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #f8fafd; color: var(--ink); font-size: 1rem; transition: border-color .15s, box-shadow .15s, background .15s; }
.ed-input select { appearance: none; -webkit-appearance: none; padding-right: 14px; }
.ed-input input::placeholder { color: #9aa8b8; }
.ed-input input:focus, .ed-input select:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(27, 95, 217, .14); }
.ed-input:focus-within > svg { color: var(--sky); }
.ed-msg { padding: 11px 14px; border-radius: 10px; background: var(--hoje-soft); color: var(--hoje); font-size: .9rem; font-weight: 700; }
.ed-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 20px; border: 0; border-radius: 14px; background: linear-gradient(180deg, #19a874, #13805a); color: #fff; font-size: 1.08rem; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(19, 128, 90, .3); transition: transform .12s, box-shadow .12s, filter .12s; }
.ed-submit:hover { filter: brightness(1.06); box-shadow: 0 10px 24px rgba(19, 128, 90, .38); }
.ed-submit:active { transform: translateY(1px); }
.ed-submit:disabled { opacity: .7; cursor: progress; }
.ed-submit svg { width: 22px; height: 22px; }
.ed-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .8rem; line-height: 1.4; color: var(--ink-3); }
.ed-consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: #13805a; }
.ed-thanks { display: grid; gap: 14px; padding: 22px 26px 26px; text-align: center; }
.ed-thanks__hint { font-size: .9rem; color: var(--ink-2); }
.ed-thanks__actions { display: flex; gap: 10px; }
.ed-submit--sm { min-height: 48px; font-size: 1rem; flex: 1; box-shadow: none; }
.ed-ghost { flex: none; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-weight: 700; cursor: pointer; }
.ed-ghost:hover { background: var(--paper); }
@media (max-width: 480px) { .ed-head { padding: 22px 58px 20px 20px; } .ed-form { padding: 20px; } .ed-thanks { padding: 20px; } }


/* Páginas por carreira e por cidade (cargo.php, cidade.php). */
.cp { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 52px); padding-block: clamp(26px, 4vw, 44px) clamp(40px, 6vw, 72px); }
.cp-crumbs { margin: 0 0 10px; font-size: .86rem; color: rgba(255, 255, 255, .78); }
.cp-crumbs a { color: #fff; text-decoration: none; opacity: .92; }
.cp-crumbs a:hover { text-decoration: underline; }
.cp-intro { max-width: 78ch; }
.cp-intro p { margin: 0; font-size: 1.08rem; line-height: 1.7; color: var(--ink-2); }
.cp-intro strong { color: var(--ink); }
.cp-intro a { color: var(--sky); font-weight: 700; }
.cp-table td { vertical-align: top; }
.cp-table th:nth-child(2), .cp-table td:nth-child(2), .cp-table th:nth-child(3), .cp-table td:nth-child(3) { text-align: right; white-space: nowrap; }
.cp-table th:nth-child(4), .cp-table td:nth-child(4) { text-align: left; }
.cp-table__c a { color: var(--sky); font-weight: 700; text-decoration: none; }
.cp-table__c a:hover { text-decoration: underline; }
.cp-faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 10px; }
.cp-faq summary { cursor: pointer; padding: 15px 18px; font-weight: 800; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.cp-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--sky); }
.cp-faq details[open] summary::after { content: "–"; }
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq details p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); line-height: 1.65; }
.cp-links h2 { font-size: 1.15rem; margin: 22px 0 12px; }
.cp-links h2:first-child { margin-top: 0; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.cp-chips a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; }
.cp-chips a:hover { border-color: var(--sky); color: var(--sky); }
.cp-chips small { padding: 1px 7px; border-radius: 999px; background: var(--sky-soft); color: var(--sky-deep); font-weight: 800; font-size: .78rem; }
.cp-more { margin: 16px 0 0; font-weight: 800; }
.cp-more a { color: var(--sky); text-decoration: none; }

/* Responsivo: filhos de grid/flex podem encolher (tabelas rolam dentro do próprio quadro) */
.cp > *, .wrap > * { min-width: 0; }
img, video, iframe { max-width: 100%; }

/* Celulares pequenos (320px): colunas de grid encolhem, nada passa da margem */
@media (max-width: 880px) { .finder2__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1100px) { .eds-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .eds-filters { grid-template-columns: minmax(0, 1fr); } .ec { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) { .row { grid-template-columns: minmax(0, 1fr); } }
.finder2__grid > *, .finder2__side > *, .eds-filters > *, .ed-more > *, .ed-more .row, .row > *, .regcar > *, .regcar__head > *, .fpanel > * { min-width: 0; }
.ed-more .row { max-width: 100%; box-sizing: border-box; }
.fpanel, .finder2__map { box-sizing: border-box; max-width: 100%; }
.regcar__head { min-width: 0; max-width: 100%; }
.regcar__track { max-width: 100%; }
@media (max-width: 380px) { .fpanel { padding: 16px 14px; } .finder2__map { padding: 12px 10px; } .fgo { white-space: normal; } }
body { overflow-x: clip; }
/* Grades com largura mínima nunca passam da tela */
.ed-more .list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.offer-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ed-steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cal .dated { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.regcar__foot { flex-wrap: wrap; }

/* Notícias: cards de edital no padrão de portal de notícias (chip de tema, título em serifa, data) */
.nalta__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 26px 0 14px; padding-bottom: 12px; border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, #2563eb, #7c3aed 55%, rgba(236, 72, 153, .15)) 1; }
.nalta__head small, .nhead small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(90deg, #2563eb, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nalta__head h2 { margin: 2px 0 0; font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; }
.nalta__live { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.nalta__live i { width: 8px; height: 8px; border-radius: 50%; background: #12a150; }
.nhead { margin: 34px 0 14px; }
.nalta__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.nalta__grid .ncard--big { grid-column: span 2; grid-row: span 2; }
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.ncard { position: relative; display: flex; text-decoration: none; color: inherit; min-width: 0; }
.ncard__chip { justify-self: start; align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 5px 12px; border-radius: 999px; background: linear-gradient(90deg, #2563eb, #7c3aed); }
.ncard--saude .ncard__chip { background: linear-gradient(90deg, #0d9488, #16a34a); }
.ncard--educacao .ncard__chip { background: linear-gradient(90deg, #7c3aed, #c026d3); }
.ncard--seguranca .ncard__chip { background: linear-gradient(90deg, #1d4ed8, #0ea5e9); }
.ncard--justica .ncard__chip { background: linear-gradient(90deg, #b45309, #dc2626); }
.ncard--legislativo .ncard__chip { background: linear-gradient(90deg, #be123c, #db2777); }
.ncard--ambiente .ncard__chip { background: linear-gradient(90deg, #15803d, #65a30d); }
.ncard--fazenda .ncard__chip { background: linear-gradient(90deg, #0e7490, #2563eb); }
.ncard strong { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; line-height: 1.12; overflow-wrap: anywhere; }
.ncard small { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ncard small i { margin: 0 9px; font-style: normal; }
.ncard--card { flex-direction: column; gap: 14px; background: #fff; border-radius: 22px; padding: 12px 12px 18px; box-shadow: 0 8px 28px rgba(16, 35, 58, .08); transition: transform .2s ease, box-shadow .2s ease; }
.ncard--card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16, 35, 58, .14); }
.ncard--card .ncard__img { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #1f3a73, #16295e); color: rgba(255, 255, 255, .4); }
.ncard--card .ncard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ncard--card .ncard__img svg { width: 56px; height: 56px; margin: 18% auto 0; display: block; }
.ncard--card .ncard__body { display: grid; gap: 9px; padding: 2px 8px 0; }
.ncard--card strong { font-size: 1.28rem; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard--card small { color: var(--ink-2); }
.ncard--over { align-items: flex-end; overflow: hidden; border-radius: 22px; color: #fff; isolation: isolate; background: linear-gradient(135deg, #1f3a73, #16295e); box-shadow: 0 10px 30px rgba(16, 35, 58, .18); }
.ncard--over .ncard__img { position: absolute; inset: 0; z-index: -2; color: rgba(255, 255, 255, .3); }
.ncard--over .ncard__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); transition: transform .5s ease; }
.ncard--over:hover .ncard__img img { transform: scale(1.05); }
.ncard--over .ncard__img svg { position: absolute; right: 18px; top: 50px; width: 44px; height: 44px; }
.ncard--over::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 18, 48, .05) 25%, rgba(8, 18, 48, .85) 100%); }
.ncard--over .ncard__body { display: grid; gap: 9px; padding: 20px; width: 100%; }
.ncard--over strong { font-size: 1.12rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.ncard--over small { color: #dbe6f7; }
.ncard--over.ncard--big .ncard__body { padding: 28px 30px; }
.ncard--over.ncard--big strong { font-size: clamp(1.7rem, 2.8vw, 2.6rem); -webkit-line-clamp: 4; }
.ncard__what { font-size: 1rem; line-height: 1.3; opacity: .92; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__rank { position: absolute; right: 18px; top: 8px; font-family: var(--serif); font-weight: 800; font-size: 3.4rem; line-height: 1; color: #fff; text-shadow: 0 3px 16px rgba(0, 0, 0, .45); }
.ncard--big .ncard__rank { font-size: clamp(4.5rem, 8vw, 7rem); right: 24px; top: 12px; }
@media (max-width: 900px) { .nalta__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nalta__grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 220px; } .nalta__grid .ncard--big { grid-column: auto; grid-row: span 2; } .nalta__live { display: none; } }
.nsearch { display: flex; align-items: center; gap: 10px; max-width: 720px; margin-top: 18px; padding: 6px 6px 6px 18px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; box-shadow: 0 6px 22px rgba(16, 35, 58, .06); }
.nsearch:focus-within { border-color: #2563eb; }
.nsearch svg { width: 20px; height: 20px; flex: none; color: var(--ink-2); }
.nsearch input { flex: 1; min-width: 0; min-height: 46px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.02rem; color: var(--ink); }
.nsearch button { min-height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: #2563eb; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.nuf { margin-top: 16px; }
.nuf a { padding: 8px 14px; }

/* Seletor de estado em botões: alvo de toque grande, sem depender de mapa */
.finder2__map { padding: 12px; }
.ufgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 96px), 1fr)); gap: 8px; }
.ufb { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; min-height: 52px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; }
.ufb__uf { font-size: 1.02rem; min-width: 1.9em; }
.ufb__name { font-size: .8rem; font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ufb__n { min-width: 28px; padding: 2px 8px; border-radius: 99px; background: var(--paper); font-size: .82rem; text-align: center; }
.ufb.m0 { opacity: .55; }
.ufb.m3 .ufb__n, .ufb.m4 .ufb__n { background: #2b4fe0; color: #fff; }
.ufb:hover, .ufb:focus-visible { border-color: #2b4fe0; }
.ufb.is-sel { background: #16295e; border-color: #16295e; color: #fff; }
.ufb.is-sel .ufb__name { color: #cfe0f7; } .ufb.is-sel .ufb__n { background: #35e0b0; color: #0b1b3a; }
@media (max-width: 560px) { .ufgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ufb { grid-template-columns: 1fr auto; min-height: 54px; padding: 8px 10px; } .ufb__name { display: none; } }

/* Encontre + resultados num só cartão */
.unif { padding-block: clamp(24px, 3vw, 40px) clamp(32px, 4vw, 64px); }
.unif__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 10px 40px rgba(16, 35, 58, .06); padding: clamp(16px, 2.6vw, 32px); }
.unif .finder2 { padding: 0; }
.unif .finder2__map, .unif .fpanel { background: var(--paper); box-shadow: none; }
.unif .results { background: none; border-top: 1px solid var(--line); margin-top: clamp(22px, 3vw, 32px); padding: clamp(20px, 3vw, 30px) 0 0; }
.unif .results .row { padding-inline: 4px; }
@media (max-width: 560px) { .unif { padding-inline: 8px; } .unif__card { padding: 14px 12px; border-radius: 18px; } }

/* Hero: destaques de hoje */
.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.picks a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 11px 16px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; transition: border-color .15s, background .15s; }
.picks a:hover { border-color: #8fd3ff; background: rgba(255, 255, 255, .12); }
.picks small { grid-column: 1 / -1; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8fd3ff; }
.picks strong { font-size: .98rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.picks strong i { font-style: normal; font-size: .72rem; opacity: .7; margin-left: 4px; }
.picks span { font-weight: 800; font-size: .92rem; color: #35e0b0; white-space: nowrap; }
@media (max-width: 420px) { .picks strong { white-space: normal; } }
/* Encontre: o cartão dos estados acompanha a altura dos painéis ao lado (sem vazio embaixo) */
@media (min-width: 881px) { .unif .finder2__grid { align-items: stretch; } .unif .finder2__map { display: flex; } .unif .ufgrid { flex: 1; width: 100%; grid-auto-rows: 1fr; align-content: stretch; } }
