@font-face {
  font-family: Heebo;
  src: url("visual/heebo.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("visual/roboto.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --azul: #066ac9;
  --azul-escuro: #0555a1;
  --titulo: #24292d;
  --texto: #404448;
  --secundario: #58626d;
  --linha: #dde0e3;
  --fundo: #f5f7f9;
  --sombra: 0 6px 26px rgba(29, 58, 83, .09);
  color: var(--texto);
  font: 100%/1.55 Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; }
[hidden] { display: none !important; }
a { color: var(--azul); text-underline-offset: .19em; }
a:hover { color: var(--azul-escuro); }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .marca, .resumo strong { font-family: Heebo, Arial, sans-serif; color: var(--titulo); }
h1, h2 { line-height: 1.13; letter-spacing: -.035em; }
h1 { max-width: 22ch; font-size: clamp(2.15rem, 4.6vw, 3.65rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
.largura { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }
header { border-bottom: 1px solid #ebedf0; background: white; }
.topo, .cab, .marca, .topo nav, .acoes { display: flex; align-items: center; }
.topo, .cab { justify-content: space-between; gap: 1rem; }
.topo { min-height: 4.5rem; }
.marca { gap: 1rem; font-size: 1rem; font-weight: 700; text-decoration: none; }
.marca img { display: block; width: clamp(6rem, 13vw, 9rem); height: auto; }
.marca span { border-left: 1px solid var(--linha); padding-left: 1rem; }
.topo nav { gap: 1.65rem; }
.topo a, .atalhos a, .botao { text-decoration: none; }
.topo nav a { font-size: .95rem; font-weight: 500; color: var(--texto); }
.topo nav a:hover { color: var(--azul); }
.acesso, .botao, .limpar, .cab > a, button[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; border-radius: .4rem; background: #e6f1fb; color: var(--azul-escuro);
  padding: .55rem .9rem; font: 500 .94rem/1.35 Roboto, Arial, sans-serif; text-decoration: none; cursor: pointer;
}
.acesso[download]::before, .baixar::before {
  content: ""; width: 1rem; height: 1rem; background: currentColor;
  mask: url("visual/download.svg") center/contain no-repeat;
}
.acesso:hover, .botao:hover, .limpar:hover, .cab > a:hover, button[type=submit]:hover { color: #fff; background: var(--azul); }
main { padding-block: 1.75rem 4rem; }
.apresentacao {
  position: relative; isolation: isolate; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 31%); gap: 1.5rem;
  overflow: hidden; border-radius: 1rem; background: #eff6fc; padding: clamp(1.5rem, 3.5vw, 3rem);
}
.apresentacao p { max-width: 66ch; }
.introducao { margin-top: .75rem; font-size: 1.05rem; }
.datas { color: var(--secundario); margin-top: .9rem; font-size: .9rem; }
.arte {
  position: relative; display: grid; place-items: center; align-self: stretch;
  min-height: 10rem; isolation: isolate;
}
.arte::before {
  content: ""; position: absolute; width: min(17rem, 90%); aspect-ratio: 1.35;
  background: #d7e8f8; border-radius: 58% 42% 60% 40% / 52% 57% 43% 48%; transform: rotate(-10deg); z-index: -1;
}
.arte::after {
  content: ""; position: absolute; right: 2%; top: 9%; width: 3rem; height: 2.5rem;
  background: radial-gradient(circle, #8cb6d7 2px, transparent 2.5px) 0 0 / .65rem .65rem; z-index: -1;
}
.arte img { display: block; width: clamp(8.5rem, 15vw, 12.25rem); max-width: 92%; height: auto; transform: rotate(4deg); }
.filtros-bloco, noscript form {
  background: white; padding: 1.3rem 1.5rem; box-shadow: var(--sombra);
  border: 1px solid #e7ebef; border-radius: .75rem; margin-top: 1.25rem;
}
form { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.4fr); gap: 1rem; align-items: end; }
label { display: grid; gap: .4rem; min-width: 0; font-size: .94rem; font-weight: 600; color: var(--titulo); }
.select { position: relative; min-width: 0; }
select {
  appearance: none; width: 100%; height: 2.8rem; min-width: 0; padding: 0 2.2rem 0 .8rem;
  font: 400 1rem Roboto, Arial, sans-serif; border: 1px solid #a8b2bd; border-radius: .4rem;
  background: white; color: var(--texto);
}
.select::after {
  content: ""; position: absolute; right: 1rem; top: 1.02rem; width: .48rem; height: .48rem;
  border: solid var(--secundario); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none;
}
select:hover { border-color: var(--azul); }
option.compativel { font-weight: 700; color: var(--azul-escuro); }
.atalhos { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 1rem; font-size: .9rem; }
.atalhos span { margin-right: .35rem; color: var(--secundario); }
.atalhos a { padding: .26rem .75rem; border-radius: .35rem; color: var(--azul-escuro); background: #eef5fc; font-weight: 500; }
.atalhos a:hover, .atalhos [aria-current=page] { background: var(--azul); color: white; }
.resumo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0 2.6rem; }
.resumo div {
  display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-content: center;
  padding: 1.1rem 1.3rem; background: #fff7df; border-radius: .7rem; --icone: url("visual/mortarboard-fill.svg"); --tinta: #a66e03;
}
.resumo div:nth-child(2) { background: #eee9f9; --icone: url("visual/people-fill.svg"); --tinta: #7042b8; }
.resumo div:nth-child(3) { background: #e3f4f6; --icone: url("visual/bookmark-star-fill.svg"); --tinta: #167b8c; }
.resumo div::before {
  content: ""; width: 2.4rem; height: 2.4rem; align-self: center; grid-row: 1 / 3; background-color: var(--tinta);
  mask: var(--icone) center / contain no-repeat;
}
.resumo strong { grid-column: 2; grid-row: 1; font-weight: 700; font-size: clamp(1.45rem, 2.8vw, 2.15rem); line-height: 1.15; font-variant-numeric: tabular-nums; }
.resumo span { grid-column: 2; grid-row: 2; font-size: .94rem; }
.nota, .rodape, small, .opcoes { color: var(--secundario); }
.nota { max-width: 86ch; margin: .55rem 0 1.2rem; }
.rodape, small { font-size: .88rem; }
.rodape { margin-top: .8rem; }
small { display: block; margin-top: .25rem; }
table { width: 100%; border-spacing: 0; text-align: left; border: 1px solid var(--linha); border-radius: .65rem; }
th, td { padding: .85rem 1rem; }
th { background: #edf3fa; color: #344a60; font-size: .9rem; }
thead th { position: sticky; top: 0; z-index: 2; box-shadow: 0 1px var(--linha); }
th:first-child { border-top-left-radius: .65rem; }
th:last-child { border-top-right-radius: .65rem; }
td { vertical-align: top; }
tbody tr + tr td { border-top: 1px solid var(--linha); }
tbody tr:hover { background: #f8fafc; }
td b { color: var(--titulo); font-weight: 600; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.razao { font-weight: 700; color: var(--azul-escuro); }
th .ordenar { display: block; width: 100%; min-height: 2rem; padding: .15rem 0; border: 0; background: transparent; color: inherit; text-align: inherit; font: inherit; cursor: pointer; text-decoration: none; }
th .ordenar:hover, th .ordenar:focus-visible { text-decoration: underline; }
th[aria-sort] .ordenar { color: var(--azul-escuro); }
.ordenar span { display: inline-block; font-weight: 700; }
.candidatos b { white-space: nowrap; }
.opcoes { width: max-content; margin: .3rem 0 0 auto; font-size: .85rem; }
.opcoes div { display: flex; justify-content: space-between; gap: .65rem; }
.opcoes dt, .opcoes dd { margin: 0; }
.vazio, p[role=alert] { padding: 1.25rem; background: var(--fundo); border-radius: .5rem; }
.mais-curso { margin-top: .5rem; }
.mais-curso summary { display: list-item; width: fit-content; max-width: 100%; padding: .28rem .65rem; border-radius: .35rem; background: #A63D28; color: #ffffff; cursor: pointer; font-weight: 500; font-size: .9rem; }
.mais-curso summary:hover, .mais-curso[open] summary { background: #C24D34; }
.guia-curso, .estado-guia { margin: .8rem 0 .25rem; font-size: .95rem; }
.guia-curso { max-width: 40rem; min-width: min(18rem, 100%); }
.guia-curso p + p { margin-top: .4rem; }
.fontes-curso { font-size: .88rem; overflow-wrap: anywhere; }
.local-curso { margin-top: .85rem; padding-top: .7rem; border-top: 1px solid var(--linha); }
.local-curso h3 { font-size: 1rem; margin-bottom: .25rem; }
.local-curso a { display: inline-block; margin: .35rem .7rem 0 0; font-size: .88rem; }
.local-curso iframe { display: block; width: 100%; height: 12.5rem; margin: .55rem 0 0; border: 1px solid var(--linha); border-radius: .5rem; }
.pacote .apresentacao { min-height: 22rem; }
.acoes { gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 .75rem; }
.botao { padding: .75rem 1.1rem; background: white; }
.botao.principal { color: white; background: var(--azul); }
.botao.principal:hover { background: var(--azul-escuro); }
@media (max-width: 52rem) {
  .largura { width: calc(100% - 2rem); }
  .topo nav { display: none; }
  form { grid-template-columns: 1fr; }
  .resumo div { column-gap: .6rem; padding: .85rem; }
  .resumo div::before { width: 1.8rem; height: 1.8rem; }
  th, td { padding: .65rem; }
}
@media (max-width: 42rem) {
  .topo { min-height: 3.8rem; gap: .4rem; }
  .marca { gap: .55rem; }
  .marca span { font-size: .86rem; padding-left: .55rem; }
  .acesso { font-size: .86rem; padding: .52rem .6rem; }
  main { padding-top: 1rem; }
  .apresentacao { grid-template-columns: 1fr; gap: 0; padding: 1.3rem; }
  .apresentacao h1 { max-width: 23ch; }
  .arte { display: none; }
  .pacote .apresentacao { min-height: 0; }
  .pacote .arte { display: grid; grid-row: 1; min-height: 9rem; margin-bottom: 1rem; }
  .pacote .arte::before { width: 12rem; }
  .filtros-bloco { padding: 1rem; }
  .resumo { gap: .45rem; margin-bottom: 1.8rem; }
  .resumo div { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; padding: .7rem .5rem; }
  .resumo div::before { align-self: flex-start; width: 1.3rem; height: 1.3rem; margin-bottom: .15rem; }
  .resumo strong { order: 1; font-size: clamp(1.1rem, 4.5vw, 1.6rem); }
  .resumo span { order: 2; font-size: .87rem; line-height: 1.25; }
  table, thead, tbody { display: block; }
  thead { position: sticky; top: 0; z-index: 2; background: #edf3fa; box-shadow: 0 1px var(--linha); }
  thead th { position: static; box-shadow: none; }
  tr { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .25rem .45rem; padding: .75rem; }
  th, td { display: block; padding: 0; min-width: 0; overflow-wrap: anywhere; }
  tbody tr + tr { border-top: 1px solid var(--linha); }
  tbody tr + tr td { border: 0; }
  tr > :nth-child(-n+2) { grid-column: span 3; }
  tr > :nth-child(n+3) { grid-column: span 2; }
  .num { text-align: left; }
  tbody tr > :nth-child(n+3) { margin-top: .4rem; padding-top: .3rem; border-top: 1px solid var(--linha); }
  .opcoes { width: auto; max-width: 8rem; margin-left: 0; }
  .opcoes div { gap: .25rem; flex-wrap: wrap; }
  tbody tr:has(.mais-curso[open]) > td:nth-child(-n+2) { grid-column: 1/-1; }
}
