/* Páginas públicas dos concursos (HTML estático, sem React). Mesmas cores do app. */
:root { --bg:#f5f6f8; --panel:#fff; --ink:#141a23; --mut:#5b6472; --line:#dde1e7; --soft:#eef0f3; --acc:#1d3a6e; --acc2:#14284b; --accs:#e8edf6; --gold:#c9a227; --warn:#b4470f; --warns:#fdf0e7; --ok:#1d7448; --oks:#e8f4ed; --shadow:0 1px 2px rgba(16,24,40,.05),0 2px 6px rgba(16,24,40,.04); --shadow-md:0 1px 2px rgba(16,24,40,.05),0 6px 18px rgba(16,24,40,.07); --serif:'Source Serif 4',Georgia,serif; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 16px/1.65 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--acc); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 .7em; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.top { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.top nav { display: flex; align-items: center; gap: 10px; }
.top nav > a:not(.btn) { color: var(--mut); font-weight: 500; font-size: 14px; margin-right: 6px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none !important; }
.logo .mk { width: 32px; height: 32px; border-radius: 8px; background: var(--acc2); display: grid; place-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--acc2); background: var(--acc2); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none !important; white-space: nowrap; }
.btn:hover { filter: brightness(1.12); }
.btn.ghost { background: var(--panel); color: var(--ink); border-color: var(--line); }
.btn.lg { min-height: 46px; padding: 0 20px; font-size: 15px; }
main { padding: 30px 20px 70px; }
.bc { font-size: 13px; color: var(--mut); margin-bottom: 18px; }
.bc a { color: var(--mut); }
.cz-head { margin-bottom: 22px; }
.cz-head .org { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--acc); margin-bottom: 8px; }
.cz-head h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 38px); font-weight: 700; margin-bottom: 12px; }
.cz-head .lead { color: var(--mut); font-size: 17px; max-width: 46em; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip, .st:not(:empty) { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; background: var(--soft); color: var(--mut); border: 1px solid var(--line); }
.st.aberta { background: var(--oks); color: var(--ok); border-color: #bfe0cc; }
.st.breve { background: var(--accs); color: var(--acc); border-color: #cdd8ec; }
.st.fecha { background: var(--warns); color: var(--warn); border-color: #f3d3bd; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 16px; }
.box h2 { font-size: 19px; margin-bottom: 14px; }
.box h3 { font-size: 16px; margin: 18px 0 6px; } .box h3 small { color: var(--mut); font-weight: 500; }
.box ul { margin: 0; padding-left: 20px; } .box li { margin: 3px 0; }
.fatos { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px 22px; margin: 0; }
.fatos dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--mut); }
.fatos dd { margin: 2px 0 0; font-weight: 500; }
.nota { font-size: 14px; color: var(--mut); margin: 14px 0 0; }
.datas { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.datas li { display: grid; grid-template-columns: 110px 1fr; gap: 2px 14px; padding: 10px 0; border-bottom: 1px solid var(--soft); }
.datas li:last-child { border-bottom: 0; }
.datas small { grid-column: 2; color: var(--mut); font-size: 13px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 6px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--soft); }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--mut); }
td:last-child, th:last-child { text-align: right; width: 110px; }
tfoot td { font-weight: 700; border-bottom: 0; }
.links { list-style: none; padding: 0 !important; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--acc2); color: #fff; border-radius: 12px; padding: 22px 24px; margin: 22px 0; box-shadow: var(--shadow-md); }
.cta b { font-size: 18px; font-family: var(--serif); } .cta p { margin: 6px 0 0; color: #c9d4e6; font-size: 15px; max-width: 40em; }
.cta .btn { background: #fff; color: var(--acc2); border-color: #fff; }
.sec { font-size: 20px; margin: 34px 0 14px; }
.grade { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.cz a { display: block; height: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; transition: box-shadow .15s, border-color .15s; }
.cz a:hover { box-shadow: var(--shadow-md); border-color: #c5ccd6; }
.cz-t { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 6px; }
.cz-t .org { font-size: 12px; font-weight: 600; color: var(--acc); text-transform: uppercase; letter-spacing: .04em; }
.cz-t .st { font-size: 12px; padding: 1px 8px; flex: none; }
.cz h3 { font-size: 17px; margin-bottom: 8px; }
.cz-m { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--mut); }
.cz-m span:first-child { color: var(--ink); font-weight: 600; }
.ft { border-top: 1px solid var(--line); background: var(--panel); padding: 22px 0; font-size: 13px; color: var(--mut); }
.ft .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.ft nav { display: flex; gap: 16px; } .ft a { color: var(--mut); }
@media (max-width: 640px) {
  .hide-m { display: none; } .top nav .btn.ghost { display: none; }
  .box { padding: 18px; } .cta { flex-direction: column; align-items: stretch; text-align: left; }
  .datas li { grid-template-columns: 1fr; } .datas small { grid-column: 1; }
}
