/* Identidade IBFC adaptada de design-system-portal-admin para CSS puro. */
:root {
  color-scheme: light;
  --marca: #004a60;
  --marca-hover: #006d8f;
  --fundo: #f9fafb;
  --card: #fff;
  --texto: #111827;
  --texto-secundario: #6b7280;
  --borda: #e5e5e5;
  --radius: 0.5rem;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--texto);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 16px; }
header { color: #fff; background: linear-gradient(to right, var(--marca), var(--marca-hover)); box-shadow: 0 1px 3px #0000001a, 0 1px 2px #0000000f; }
.header-content { min-height: 80px; display: flex; align-items: center; gap: 20px; padding-block: 16px; }
.brand { display: block; width: auto; height: 40px; object-fit: contain; flex-shrink: 0; }
.header-context { border-left: 1px solid #ffffff4d; padding-left: 20px; }
.institution { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }
.edital { margin: 4px 0 0; color: #fff; font-size: 12px; line-height: 1.4; }
main { flex: 1; padding-block: 32px 40px; }
.eyebrow { color: var(--marca-hover); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 600; margin: 0 0 8px; }
h1 { color: var(--marca); font-size: 24px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
.intro { color: var(--texto-secundario); font-size: 14px; line-height: 1.6; margin: 0 0 28px; }
.cargos { display: grid; gap: 16px; }
.cargo { border: 1px solid var(--borda); border-left: 4px solid var(--marca); border-radius: 12px; background: var(--card); overflow: hidden; box-shadow: 0 1px 3px #0000001a, 0 1px 2px #0000000f; transition: box-shadow 200ms; }
.cargo:hover { box-shadow: 0 8px 15px -5px #0000001a, 0 3px 6px -3px #0000001a; }
h2 { margin: 0; font-size: 18px; }
.cargo-botao { border: 0; background: var(--card); color: var(--marca); width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; text-align: left; font: inherit; font-weight: 600; line-height: 1.5; cursor: pointer; transition: background-color 200ms; }
.cargo-botao::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--marca-hover); border-bottom: 2px solid var(--marca-hover); transform: rotate(-45deg); margin-right: 5px; flex-shrink: 0; }
.cargo-botao[aria-expanded="true"]::after { transform: rotate(45deg); }
.cargo-botao:hover, .cargo-botao[aria-expanded="true"] { background: var(--fundo); }
.versoes { padding: 20px; border-top: 1px solid var(--borda); }
.versoes p { margin: 0 0 14px; font-size: 14px; color: var(--texto-secundario); }
.links { display: flex; gap: 12px; flex-wrap: wrap; }
.versao { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; padding: 11px 18px; border-radius: calc(var(--radius) - 2px); background: var(--marca); color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; transition: background-color 300ms; }
.versao:hover { background: var(--marca-hover); }
.versao span { font-size: 11px; font-weight: 400; letter-spacing: .04em; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--marca-hover); outline-offset: 3px; }
.cargo-botao:focus-visible { outline-offset: -4px; }
.note { margin: 24px 0 0; font-size: 12px; color: var(--texto-secundario); line-height: 1.6; }
footer { border-top: 1px solid var(--borda); padding-block: 20px; color: var(--texto-secundario); font-size: 12px; line-height: 1.6; }
[hidden] { display: none !important; }
@media (max-width: 520px) {
  .header-content { gap: 16px; }
  .header-context { padding-left: 16px; }
  .cargo-botao { padding: 18px 16px; font-size: 16px; }
  .versoes { padding: 18px 16px; }
  .versao { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print { * { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
