/* Quadrix — Vanilla HTML/CSS */
:root {
  --bg: #f5f5f5;
  --card: #ffffff;
  --border: #e5e5e5;
  --foreground: #1a1a1a;
  --muted: #6b7280;
  --secondary: #f3f4f6;
  --primary: #1a1a1a;
  --primary-fg: #ffffff;
  --link: #0a66c2;
  --header-bg: #1a1a1a;
  --header-fg: #ffffff;
  --green: #16a013;
  --green-hover: #138a10;
  --destructive: #dc2626;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--foreground);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* Header */
.site-header { background: var(--header-bg); color: var(--header-fg); }
.site-header .top-nav { border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-header .top-nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 12px 16px;
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 12px; font-weight: 600;
}
.site-header .top-nav-inner a {
  color: var(--header-fg); padding: 4px 8px; letter-spacing: .05em;
}
.site-header .top-nav-inner a:hover { color: rgba(255,255,255,0.7); text-decoration: none; }
.site-header .top-nav-inner .sep { color: rgba(255,255,255,0.4); }
.site-header .brand-row {
  max-width: 1280px; margin: 0 auto; padding: 32px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.site-header .brand {
  display: flex; align-items: center; gap: 8px; color: var(--header-fg);
  font-family: 'Oxanium', sans-serif; font-size: 28px; font-weight: 700;
  letter-spacing: .02em;
}
.site-header .brand svg { width: 36px; height: 36px; }
.site-header .brand sup { font-size: 10px; }
.btn-candidato {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.4); background: rgba(0,0,0,0.4);
  color: var(--header-fg); padding: 8px 18px; border-radius: 9999px;
  font-size: 13px; font-weight: 500; transition: background .15s;
}
.btn-candidato:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #fff; }
.site-footer .footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 24px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; }
.site-footer nav a { color: var(--link); }
.site-footer .secure {
  display: flex; align-items: center; gap: 8px; color: var(--link);
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
.site-footer .secure .lock {
  background: rgba(250, 204, 21, .2); color: #ca8a04; padding: 4px;
  border-radius: 4px; width: 28px; height: 28px; display: inline-flex;
  align-items: center; justify-content: center;
}
.site-footer .copy {
  border-top: 1px solid var(--border); text-align: center;
  font-size: 12px; color: var(--muted); padding: 12px;
}

/* Container/Card */
.container { max-width: 1024px; margin: 0 auto; padding: 40px 16px; }
.card { background: var(--card); border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.card-header { border-bottom: 1px solid var(--border); padding: 28px 48px; }
.card-header h1 {
  font-family: 'Oxanium', sans-serif; font-size: 32px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; margin: 0;
}
.card-body { padding: 32px 48px; }
@media (max-width: 768px) {
  .card-header, .card-body { padding: 24px; }
  .card-header h1 { font-size: 26px; }
}

/* Section tab */
.section-tab {
  display: inline-block; background: #4a4a4a; color: #fff;
  padding: 8px 24px; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em; border-radius: 4px;
}

/* Inicio */
.intro { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.intro img { width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; }
.intro .sub { font-size: 14px; color: var(--muted); margin: 0; }
.intro h2 { font-size: 24px; font-weight: 700; margin: 4px 0 12px; line-height: 1.2; }
.intro .dates { margin: 0; font-size: 14px; }

.cta-row { display: flex; justify-content: center; margin-top: 32px; }
.btn-green {
  display: inline-block; background: var(--green); color: #fff !important;
  padding: 12px 32px; border-radius: 6px; font-size: 13px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
}
.btn-green:hover { background: var(--green-hover); text-decoration: none; }

.box-secondary {
  background: var(--secondary); padding: 32px 24px; border-radius: 6px;
  margin-top: 40px;
}
.info-list { margin: 32px 0 0; padding: 0; list-style: none; font-size: 15px; }
.info-list li { padding: 4px 0; }
.info-list.bullets li { display: flex; gap: 8px; }
.info-list.bullets li::before { content: "•"; color: var(--muted); }

.vagas-badge {
  display: flex; justify-content: center; margin-top: 40px;
}
.vagas-badge span {
  display: inline-flex; align-items: center; gap: 8px;
  background: #4a4a4a; color: #fff; padding: 8px 24px;
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; border-radius: 6px;
}

h3.cargo-title { font-size: 18px; font-weight: 600; margin: 24px 0 4px; }
.cargo-desc { font-size: 14px; margin: 4px 0 12px; }

table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden;
}
thead { background: var(--secondary); }
th, td { padding: 12px 16px; text-align: left; }
th { font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 12px; }
th.center, td.center { text-align: center; }
tbody tr { border-top: 1px solid var(--border); }
.table-wrap { overflow-x: auto; }

.pub-list { margin: 32px 0 0; padding: 0; list-style: none; }
.pub-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--border);
}
.pub-list li:first-child { border-top: 0; }
.pdf-badge {
  background: rgba(220, 38, 38, .1); color: var(--destructive);
  font-size: 10px; font-weight: 700; padding: 4px 6px; border-radius: 4px;
  flex-shrink: 0;
}
.pub-list a { text-transform: uppercase; font-size: 13px; }
.pub-list .date { color: var(--muted); text-transform: none; margin-left: 6px; }

.back-row { display: flex; justify-content: flex-end; margin-top: 40px; }
.btn-back {
  display: inline-block; padding: 8px 24px; border-radius: 9999px;
  border: 1px solid var(--border); background: #fff; color: var(--foreground) !important;
  font-size: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.btn-back:hover { background: var(--secondary); text-decoration: none; }

/* Conteúdo das páginas legais */
.prose h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.prose h4 { font-size: 15px; font-weight: 600; margin: 18px 0 6px; }
.prose p { margin: 8px 0; font-size: 15px; }
.prose ul { font-size: 15px; padding-left: 22px; }
.prose li { margin: 4px 0; }

/* Form Área do Candidato */
.form-card { max-width: 720px; margin: 0 auto; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 14px; font-family: inherit;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.btn-primary {
  background: var(--primary); color: var(--primary-fg); border: 0;
  padding: 12px 24px; border-radius: 6px; font-size: 14px; font-weight: 600;
  cursor: pointer;
}
.btn-primary:hover { opacity: .9; }
.note {
  background: #fef3c7; border: 1px solid #fde68a; color: #92400e;
  padding: 12px 16px; border-radius: 6px; font-size: 13px; margin: 16px 0;
}
