/* DataVagas: estilo global */
:root {
  --navy: #003359;
  --navy-deep: #0B1E30;
  --navy-soft: #E8F1F8;
  --orange: #FD4101;
  --orange-ink: #DB3600;
  --orange-dark: #B32D00;
  --orange-soft: #FFF4EF;
  --orange-line: #FFD2BF;
  --ink: #0F1B2A;
  --ink-2: #1F2A37;
  --muted: #4A5565;
  --line: #E3E7EC;
  --line-2: #CBD2DB;
  --ground: #F5F6F8;
  --white: #FFFFFF;
  --ok: #0B5A36;
  --ok-soft: #E6F4EC;
  --warn: #8A3B00;
  --warn-soft: #FFF1E6;
  --danger: #A11A1A;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--ground);
  font-size: 16px;
  line-height: 1.5;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, svg { max-width: 100%; }
a { color: var(--orange-dark); }
a:hover { color: #8A2200; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
[hidden] { display: none !important; }

/* Topo */
.topbar { background: var(--navy); color: var(--white); padding-top: env(safe-area-inset-top, 0px); }
.topbar.light { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand b { color: #FF6A33; font-weight: 800; }
.topbar.light .brand { color: var(--navy); }
.topbar.light .brand b { color: var(--orange-ink); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { color: #D5E0EA; text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 12px; border-radius: var(--r-sm); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,0.1); }
.topbar.light .nav a { color: var(--muted); }
.topbar.light .nav a:hover { color: var(--ink); background: var(--ground); }
.tag-area { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,0.12); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: var(--r-md); border: 0; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--orange-ink); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #00264A; color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.45); }
.btn-ghost:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.btn-line { background: var(--white); color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-line:hover { color: var(--ink); border-color: var(--navy); }
.btn-ok { background: var(--ok); color: var(--white); }
.btn-ok:hover { background: #084428; color: var(--white); }
.btn-text { background: none; color: var(--muted); min-height: 44px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 24px 0 64px; }
.hero .wrap { display: flex; gap: 48px; flex-wrap: wrap; align-items: center; }
.hero-copy { flex: 1 1 460px; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
.hero-copy p { font-size: clamp(17px, 2vw, 19px); color: #D5E0EA; max-width: 560px; }
.hero-card p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pill-loc { align-self: flex-start; font-size: 14px; font-weight: 600; background: rgba(255,255,255,0.12); padding: 7px 12px; border-radius: 999px; }
.hero-card { flex: 1 1 360px; background: var(--white); color: var(--ink); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }

/* Seções */
.section { padding: 56px 0 8px; }
.section h2 { font-size: clamp(26px, 3.2vw, 32px); font-weight: 800; margin-bottom: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.step-card { display: flex; flex-direction: column; gap: 10px; }
.step-num { width: 44px; height: 44px; border-radius: 12px; background: #FFE9DF; color: var(--orange-dark); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.step-card strong { font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 15px; font-weight: 600; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid #D5DBE3; color: var(--navy); }
.trust { margin: 40px 0 0; padding: 22px; border-radius: 18px; background: var(--navy-soft); color: #173A57; display: flex; gap: 14px; align-items: center; }
.band { margin-top: 48px; background: var(--navy); color: var(--white); border-radius: 22px; padding: 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { margin: 0 0 6px; font-size: 26px; }
.band p { color: #D5E0EA; }
.band.band-light { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.band.band-light p { color: var(--muted); }

/* Rodapé */
.footer { margin-top: 64px; border-top: 1px solid var(--line); background: var(--white); }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--muted); }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

/* Formulários */
.page { padding: 28px 0 48px; }
.page-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.page-head h1 { font-size: clamp(28px, 4vw, 34px); font-weight: 800; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.form-card h2 { font-size: 19px; font-weight: 800; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .legend { font-size: 15px; font-weight: 700; }
.field .hint { font-size: 13px; color: var(--muted); }
.field .ok { font-size: 13px; color: var(--ok); font-weight: 600; }
.field .err { font-size: 13px; color: var(--danger); font-weight: 600; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line-2); padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
}
textarea { min-height: 110px; padding: 12px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(0,51,89,0.15); }
input[aria-invalid="true"] { border-color: var(--danger); }
.fields-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset > legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 700; }

.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); font-size: 15px; font-weight: 600; cursor: pointer; }
.opt input:checked + span { border-color: var(--orange-ink); background: var(--orange-soft); color: var(--ink); }
.opt input:checked + span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--orange-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.opt input[type="radio"]:checked + span::before { border-radius: 999px; }
.opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.consent { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #FAFBFC; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--orange-ink); flex-shrink: 0; }
.consent .badge { align-self: flex-start; }
.consent-body { display: flex; flex-direction: column; gap: 6px; }
.consent label { font-size: 15px; line-height: 1.45; color: var(--ink-2); font-weight: 500; }

.badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 8px; }
.b-ok { background: var(--ok-soft); color: var(--ok); }
.b-warn { background: var(--warn-soft); color: var(--warn); }
.b-req { background: #FFE9DF; color: #8A2200; }
.b-opt { background: #E3EEF7; color: var(--navy); }
.b-neutral { background: #F0F3F6; color: var(--ink-2); }

.upload { border: 2px dashed #F2A488; border-radius: 16px; background: #FFF8F4; padding: 24px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.upload .upload-text { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; }
.upload.has-file { border-style: solid; border-color: var(--ok); background: var(--ok-soft); }

/* Stepper */
.progress { height: 6px; border-radius: 999px; background: #EDF0F3; overflow: hidden; }
.progress > div { height: 100%; background: var(--orange-ink); border-radius: 999px; transition: width .3s ease; }
.step-meta { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.step-actions { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; }

/* Layouts */
.split { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.split > .side { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.split > .main { flex: 3 1 560px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sticky { position: sticky; top: 16px; }

/* Vagas */
.job { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.job-body { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.job-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.job-title h3 { font-size: 19px; font-weight: 800; }
.why { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.why .lbl { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.why .yes { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.why .gap { font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.empty { text-align: center; padding: 36px 20px; display: flex; flex-direction: column; gap: 12px; align-items: center; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.kpi strong { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.kpi span { font-size: 13px; color: var(--muted); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 700; padding: 12px 16px; }
td { padding: 12px 16px; border-top: 1px solid #EDF0F3; vertical-align: middle; }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.row-actions .btn { min-height: 44px; padding: 0 14px; font-size: 14px; }

.avatar { width: 44px; height: 44px; border-radius: 999px; background: #E3EEF7; color: var(--navy); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bar { height: 8px; border-radius: 999px; background: #EDF0F3; overflow: hidden; }
.bar > div { height: 100%; background: var(--orange-ink); }

.notice { padding: 14px 16px; border-radius: var(--r-md); font-size: 14px; }
.notice-demo { background: #FFF8E1; color: #6B4E00; border: 1px solid #F3DF9E; }
.notice-ok { background: var(--ok-soft); color: var(--ok); }
.callout { background: var(--orange-soft); border: 1.5px solid var(--orange-line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.counter { background: var(--navy); color: var(--white); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.counter strong { font-size: 54px; line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.counter span { color: #D5E0EA; font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; z-index: 50; max-width: calc(100% - 32px); }

.tabs { display: inline-flex; background: #EDF0F3; border-radius: 12px; padding: 4px; }
.tabs a { padding: 10px 18px; border-radius: 9px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: 15px; }
.tabs a[aria-current="page"] { background: var(--white); color: var(--ink); }

/* Texto legal */
.legal { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 44px); max-width: 820px; margin: 0 auto; }
.legal h1, .legal h2, .legal h3 { margin: 28px 0 10px; }
.legal p, .legal li { line-height: 1.7; color: var(--ink-2); margin-bottom: 10px; }

@media (max-width: 640px) {
  .hero { padding-bottom: 44px; }
  .hero .actions .btn { width: 100%; }
  .band { padding: 24px; }
  .form-card { padding: 18px; }
  .nav a.hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
@media (max-width: 900px) {
  .main-first > .main { order: -1; }
}

/* Card do painel na página para empresas */
.hero-card.hr-card { padding: 0; gap: 0; overflow: hidden; }
.hr-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; border-bottom: 1px solid #EDF0F3; }
.hr-head strong { display: block; font-size: 17px; color: var(--ink); }
.hr-head span:not(.badge) { font-size: 14px; color: var(--muted); }
.hr-list { list-style: none; margin: 0; padding: 6px 22px; }
.hr-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #EDF0F3; }
.hr-list li:last-child { border-bottom: 0; }
.hr-who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.hr-who strong { font-size: 15px; color: var(--ink); }
.hr-who span { font-size: 13px; color: var(--muted); }
.hero-card .hr-foot { margin: 0; padding: 16px 22px; background: var(--ground); color: var(--ink-2); font-size: 14px; line-height: 1.5; }
@media (max-width: 480px) { .hr-list .badge { display: none; } }
