/* Hirxpert — estrutura estilo rede profissional, paleta verde/lima */
:root {
  --green-dark: #244034;
  --green: #31795A;
  --green-soft: #EAF3EE;
  --accent: #D2F34C;
  --accent-hover: #C4E63B;
  --accent-ink: #1E3329;
  --page: #F3F4F1;
  --card: #FFFFFF;
  --ink: #1F2A24;
  --body: #3E4A44;
  --muted: #6B756F;
  --line: #E0E4E1;
  --hover: #F5F7F5;
  --error: #C2412D;
  --warn-bg: #FFF7E6;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 10px;
  --shell: 1128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--body); background: var(--page); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.xsmall { font-size: 12.5px; }
.right { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.inline { display: inline; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.link-strong { font-weight: 600; text-decoration: none; color: var(--green); }
.link-strong:hover { text-decoration: underline; }
.link-btn, .link-plain { background: none; border: 0; padding: 0; font: inherit; color: var(--green); cursor: pointer; }
.link-btn { text-decoration: underline; text-underline-offset: 3px; }
.link-plain { color: var(--body); }
.link-plain:hover { color: var(--ink); text-decoration: underline; }

/* Ícones (máscara SVG, herdam a cor do texto) */
.ico { display: inline-block; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; flex-shrink: 0; vertical-align: middle; }
.ico-home { --i: url(/assets/icons/home.svg); } .ico-jobs { --i: url(/assets/icons/jobs.svg); } .ico-board { --i: url(/assets/icons/board.svg); }
.ico-bell { --i: url(/assets/icons/bell.svg); } .ico-brief { --i: url(/assets/icons/brief.svg); } .ico-star { --i: url(/assets/icons/star.svg); }
.ico-globe { --i: url(/assets/icons/globe.svg); } .ico-search { --i: url(/assets/icons/search.svg); } .ico-money { --i: url(/assets/icons/money.svg); }
.ico-org { --i: url(/assets/icons/org.svg); } .ico-user { --i: url(/assets/icons/user.svg); } .ico-shield { --i: url(/assets/icons/shield.svg); }
.ico-lock { --i: url(/assets/icons/lock.svg); }
.ico-lg { width: 34px; height: 34px; color: var(--green); }
.ico-xl { width: 48px; height: 48px; color: var(--muted); }

/* Barra superior */
.topbar { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: var(--shell); margin: 0 auto; padding: 0 16px; height: 56px; display: flex; align-items: center; gap: 14px; }
.logo { font-family: var(--serif); font-size: 26px; color: var(--green-dark); text-decoration: none; letter-spacing: .2px; flex-shrink: 0; }
.logo span { color: var(--green); font-size: 1.32em; line-height: 0; margin: 0 1px; position: relative; top: .04em; }
.logo-xs { font-size: 16px; }
.top-search { position: relative; width: 280px; }
.top-search .ico { position: absolute; left: 10px; top: 9px; width: 16px; height: 16px; color: var(--muted); }
.top-search input { width: 100%; height: 34px; border: 0; border-radius: 6px; background: #EDF2EF; padding: 0 12px 0 34px; font: inherit; font-size: 14px; color: var(--ink); outline: none; }
.top-search input:focus { box-shadow: 0 0 0 2px var(--green); background: #fff; }
.top-nav { margin-left: auto; display: flex; align-items: center; height: 100%; }
.top-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 76px; height: 56px; padding: 0 6px; text-decoration: none; color: var(--muted); font-size: 12px; cursor: pointer; list-style: none; }
.top-item::-webkit-details-marker { display: none; }
.top-item .ico { width: 24px; height: 24px; margin-bottom: 1px; }
.top-item:hover, .top-item.is-on { color: var(--ink); }
.top-item.is-on::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 0; height: 2px; background: var(--ink); }
.top-premium { border-left: 1px solid var(--line); margin-left: 4px; color: var(--green); }
.top-premium .ico { color: var(--green); }
.top-sep { width: 1px; height: 30px; background: var(--line); margin: 0 10px; }
.top-me, .top-lang { position: relative; }
.me-menu { position: absolute; right: 0; top: 54px; width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 8px 0 8px 8px; box-shadow: 0 8px 28px rgba(0,0,0,.12); padding: 12px; display: grid; gap: 6px; }
.me-menu > a { text-decoration: none; font-size: 14px; color: var(--body); padding: 4px 2px; }
.me-menu > a:hover { color: var(--ink); text-decoration: underline; }
.me-menu-sm { width: 90px; }
.me-head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.me-langs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.me-langs a, .me-menu-sm a { font-size: 12.5px; text-decoration: none; padding: 3px 7px; border-radius: 4px; color: var(--muted); }
.me-langs a.active, .me-menu-sm a.active { background: var(--green-soft); color: var(--green); font-weight: 600; }

/* Avatares e logos */
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--green-dark); color: #fff; font-weight: 600; text-decoration: none; flex-shrink: 0; }
.avatar-xs { width: 24px; height: 24px; font-size: 10px; margin-bottom: 1px; }
.avatar-md { width: 48px; height: 48px; font-size: 17px; }
.avatar-lg { width: 72px; height: 72px; font-size: 24px; border: 3px solid #fff; }
.logo-sq { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 6px; background: var(--green-soft); color: var(--green); font-weight: 600; font-size: 18px; flex-shrink: 0; }
.logo-sq-lg { width: 64px; height: 64px; font-size: 24px; }
.sq { display: inline-block; width: 12px; height: 12px; background: var(--accent); border-radius: 2px; vertical-align: -1px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--sans); font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 999px; padding: 7px 18px; min-height: 34px; border: 1px solid transparent; cursor: pointer; transition: background .12s, color .12s, box-shadow .12s; white-space: nowrap; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary, .btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover, .btn-accent:hover { background: var(--accent-hover); }
.btn-outline, .btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover, .btn-ghost:hover { background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.btn-text { background: transparent; color: var(--body); }
.btn-text:hover { background: var(--hover); color: var(--ink); }
.btn-sm { padding: 5px 14px; min-height: 30px; font-size: 14px; }
.btn-lg { padding: 12px 24px; min-height: 48px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-stack { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }

/* Grelhas da aplicação */
.shell { max-width: var(--shell); margin: 24px auto; padding: 0 16px; display: grid; gap: 24px; align-items: start; }
.shell-3 { grid-template-columns: 225px minmax(0, 1fr) 300px; }
.shell-2 { grid-template-columns: minmax(0, 1fr) 300px; }
.shell-jobs { grid-template-columns: 420px minmax(0, 1fr); gap: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.col-left, .col-right { display: grid; gap: 8px; position: sticky; top: 80px; }
.col-main { display: grid; gap: 8px; min-width: 0; }

/* Cartões */
.card, .panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.card-pad, .panel { padding: 20px 22px; }
.panel { margin-bottom: 8px; }
.card-head { padding: 16px 20px 6px; }
.card-title { font-size: 18px; margin: 0 0 4px; }
.card-foot { display: block; text-align: center; padding: 12px; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--muted); font-size: 14px; }
.card-foot:hover { background: var(--hover); color: var(--ink); }
.card-row { display: block; padding: 12px 16px; border-top: 1px solid var(--line); text-decoration: none; }
.link-row:hover, .premium-row:hover { background: var(--hover); }
.pt0 { padding-top: 0; }
.panel h2 { font-size: 20px; }
.panel h3 { font-size: 17px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.panel-head h2 { margin: 0; }
.panel-premium { border-color: #DDEBA0; background: #FBFDEE; }
.empty { text-align: center; padding: 48px 24px; }

/* Cartão de perfil (coluna esquerda) */
.profile-card { overflow: hidden; text-align: center; }
.cover { height: 58px; background: linear-gradient(120deg, var(--green-dark), var(--green)); position: relative; }
.cover::after { content: ''; position: absolute; right: 14px; top: 12px; width: 26px; height: 26px; background: var(--accent); border-radius: 4px; opacity: .9; }
.profile-card-avatar { margin-top: -36px; }
.profile-card-body { padding: 8px 16px 14px; }
.profile-name { display: block; font-weight: 600; font-size: 16px; text-decoration: none; }
.profile-name:hover { text-decoration: underline; }
.profile-card .card-row { text-align: left; display: grid; gap: 8px; }
.premium-row strong { color: var(--ink); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { padding: 6px 0; }
.side-links a { text-decoration: none; font-size: 14px; font-weight: 500; }
.side-links a:hover { color: var(--green); text-decoration: underline; }
.promo .sq { margin-bottom: 8px; }
.nudge { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-left: 4px solid var(--accent); }

/* Topo do perfil */
.profile-top { overflow: hidden; margin-bottom: 8px; }
.cover-lg { height: 160px; }
.cover-lg::after { width: 44px; height: 44px; right: 24px; top: 24px; }
.profile-top-body { padding: 0 24px 22px; }
.avatar-xl { width: 140px; height: 140px; font-size: 46px; border: 4px solid #fff; margin-top: -84px; }
.profile-top-body h1 { font-size: 26px; margin: 12px 0 2px; }
.profile-top-body p { margin: 0 0 2px; }

/* Linhas de vaga */
.job-row, .list-row { display: flex; gap: 12px; padding: 14px 20px; text-decoration: none; border-top: 1px solid var(--line); color: var(--body); position: relative; }
.job-row:hover, .list-row:hover { background: var(--hover); }
.job-row.is-active { background: var(--green-soft); }
.job-row.is-active::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--green); }
.job-row-body, .list-row-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.job-row-title { font-weight: 600; color: var(--green); font-size: 15.5px; }
.job-row:hover .job-row-title { text-decoration: underline; }
.job-row-co { color: var(--ink); font-size: 14px; }
.job-row-loc { color: var(--muted); font-size: 13.5px; }
.job-row-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.job-row-meta .ok { color: var(--green); font-weight: 600; }
.tag-premium { background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 11.5px; padding: 1px 7px; border-radius: 4px; }
.list-row { align-items: center; }
.list-row strong { color: var(--ink); }

/* Página de vagas */
.filter-bar { background: #fff; border-bottom: 1px solid var(--line); }
.filter-bar-inner { max-width: var(--shell); margin: 0 auto; padding: 10px 16px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pill-input { height: 32px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; font: inherit; font-size: 14px; min-width: 220px; outline: none; }
.pill-input:focus { border-color: var(--green); }
.pill-select { height: 32px; border: 1px solid #C9D0CB; border-radius: 999px; padding: 0 30px 0 14px; font: inherit; font-size: 14px; font-weight: 500; color: var(--body); background: #fff; appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 15px) 14px, calc(100% - 10px) 14px; background-size: 5px 5px; background-repeat: no-repeat; }
.pill-select.is-set { background-color: var(--green); border-color: var(--green); color: #fff; }
.jobs-list { border: 0; border-radius: 0; border-right: 1px solid var(--line); max-height: calc(100vh - 140px); overflow-y: auto; }
.jobs-list-head { padding: 16px 20px 12px; background: var(--green-dark); }
.jobs-list-head .card-title { color: #fff; }
.jobs-list-head .muted { color: rgba(255,255,255,.7); }
.jobs-detail { border: 0; border-radius: 0; max-height: calc(100vh - 140px); overflow-y: auto; }
.premium-strip { display: block; padding: 10px 20px; background: #FBFDEE; border-top: 1px solid var(--line); text-decoration: none; font-size: 13.5px; font-weight: 500; }
.alert-strip { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--hover); }
.pager { display: flex; gap: 4px; justify-content: center; padding: 14px; border-top: 1px solid var(--line); }
.pager a { min-width: 32px; text-align: center; padding: 4px 8px; border-radius: 4px; text-decoration: none; font-weight: 600; color: var(--muted); }
.pager a.active { color: var(--ink); border-bottom: 2px solid var(--ink); border-radius: 0; }

/* Detalhe de vaga */
.job-detail-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.job-detail-head p { margin: 0; }
.job-detail-title { font-size: 24px; margin: 2px 0 4px; }
.job-detail-title a { text-decoration: none; }
.job-detail-title a:hover { text-decoration: underline; }
.job-facts { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; font-size: 14.5px; }
.job-facts li { display: flex; align-items: center; gap: 10px; }
.job-facts .ico { width: 20px; height: 20px; color: var(--muted); }
.job-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 16px 0 6px; }
.job-section { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.job-section h2 { font-size: 19px; }
.prose { font-size: 15px; line-height: 1.65; }
.back-link { display: inline-block; margin-bottom: 6px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.back-link:hover { color: var(--ink); }

/* Formulários */
.field { display: block; margin: 0 0 14px; border: 0; padding: 0; }
.field > span, .field legend { display: block; font-size: 13.5px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.field input, .field select, .field textarea, .panel textarea, .filters input, .filters select, .input-sm { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid #A9B3AD; border-radius: 4px; padding: 9px 12px; outline: none; }
.field textarea, .panel textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .filters input:focus, .filters select:focus { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.hint { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.field-inline { align-self: end; margin-bottom: 22px; }
input[type=radio], input[type=checkbox] { accent-color: var(--green); width: 17px; height: 17px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--body); margin: 6px 0 16px; cursor: pointer; }
.consent input { margin-top: 2px; flex-shrink: 0; }
.field-error { display: block; color: var(--error); font-size: 12.5px; margin-top: 4px; }
.form-note { text-align: center; font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.input-sm { width: 76px; padding: 6px 8px; }
.inline-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.form-panel h2 { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-panel h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.filters { display: grid; grid-template-columns: 2fr repeat(2, 1fr) auto; gap: 8px; margin-bottom: 12px; }

/* Páginas genéricas (perfil, recrutador, alertas, preços, admin) */
.page { padding: 24px 0 60px; }
.wrap { max-width: var(--shell); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.page-head h1 { font-size: 26px; margin: 0; }
.kicker { font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--green); margin: 0 0 4px; }
.center-head { text-align: center; max-width: 620px; margin: 10px auto 28px; }
.center-head h1 { font-size: 34px; }

/* Avisos */
.flashes { margin-top: 16px; }
.flash, .notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 8px; font-size: 14px; border: 1px solid var(--line); background: #fff; }
.flash-success, .notice-ok { border-left: 4px solid var(--green); }
.flash-error, .notice-warn { border-left: 4px solid #D9A23A; background: var(--warn-bg); }
.flash-info, .notice-info { border-left: 4px solid var(--green-dark); }
.notice-premium { display: flex; justify-content: space-between; gap: 16px; align-items: center; background: #FBFDEE; }

/* Pills e tabelas */
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #EEF0EE; color: var(--muted); white-space: nowrap; }
.pill-active, .pill-approved, .pill-published, .pill-shortlisted, .pill-open { background: var(--green-soft); color: var(--green); }
.pill-pending, .pill-sent, .pill-viewed { background: var(--warn-bg); color: #8A6414; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 600; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table a { text-decoration: none; font-weight: 600; color: var(--green); }
.table a:hover { text-decoration: underline; }
.progress { height: 6px; background: #E5E9E6; border-radius: 6px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--green); border-radius: 6px; }
.exp-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.exp-form { margin-top: 18px; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: 6px 0; }
.link-list a { text-decoration: none; }

/* Candidatos */
.applicant-head { display: flex; justify-content: space-between; gap: 16px; }
.applicant-head h3 { margin: 0 0 2px; }
.applicant-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; flex-wrap: wrap; }
.cover { margin: 10px 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--hover); border-radius: 0 6px 6px 0; }

/* Autenticação */
.auth { padding: 40px 16px 70px; }
.auth-card { max-width: 400px; margin: 0 auto; background: #fff; border-radius: 10px; padding: 28px 26px; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.auth-wide { max-width: 680px; }
.auth-card h1 { font-size: 28px; }
.auth-alt { text-align: center; margin: 18px 0 0; font-size: 14.5px; }
.auth-alt a { color: var(--green); font-weight: 600; }
.role-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin: 16px 0 22px; flex-wrap: wrap; }
.role-tabs a { padding: 10px 16px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.role-tabs a.active { color: var(--green); border-bottom-color: var(--green); }

/* Home (visitante) */
.guest-hero { background: #fff; border-bottom: 1px solid var(--line); }
.guest-hero-inner { max-width: var(--shell); margin: 0 auto; padding: 56px 16px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.guest-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.1; color: var(--green-dark); }
.lead { font-size: 18px; color: var(--body); }
.guest-ctas { display: grid; gap: 10px; max-width: 400px; margin-top: 26px; }
.guest-hero-art { position: relative; height: 380px; }
.art-ring { position: absolute; inset: 30px 10px 10px 60px; border-radius: 50%; background: radial-gradient(circle at 60% 40%, var(--green-soft), transparent 70%); }
.art-card { position: absolute; z-index: 1; display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; box-shadow: 0 10px 30px rgba(36,64,52,.08); min-width: 300px; }
.art-card strong { display: block; color: var(--ink); }
.art-card em { font-style: normal; color: var(--muted); font-size: 13.5px; }
.art-1 { top: 30px; left: 0; }
.art-2 { top: 150px; right: 0; }
.art-2 .logo-sq { background: var(--accent); color: var(--accent-ink); }
.art-3 { top: 270px; left: 40px; }
.band { padding: 48px 0; }
.band-soft { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-inner { max-width: var(--shell); margin: 0 auto; padding: 0 16px; }
.band h2 { font-size: 26px; margin-bottom: 18px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-block; padding: 10px 20px; border: 1px solid #C9D0CB; border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; color: var(--body); }
.chip:hover { border-color: var(--green); color: var(--green); background: var(--green-soft); }
.feature h3 { font-size: 18px; margin-top: 10px; }
.feature p { margin: 0; }
.split { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.split .lead { margin: 0; }

/* Preços */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin: 0 auto 24px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 6px 0 6px 24px; position: relative; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.price-big { font-size: 30px; font-weight: 600; color: var(--ink); margin: 4px 0; }
.price-big small { font-size: 14px; color: var(--muted); font-weight: 400; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; position: relative; }
.plan-best { border: 2px solid var(--green); }
.plan .tag-premium { position: absolute; top: -11px; left: 18px; }
.plan form, .plan .btn { margin-top: 12px; }

/* Backoffice */
.adm-badge { font-family: var(--sans); font-size: 11px; background: var(--accent); color: var(--accent-ink); padding: 2px 7px; border-radius: 4px; vertical-align: middle; }
.adm .site-header { background: #fff; border-bottom: 1px solid var(--line); }
.adm .header-inner { max-width: var(--shell); margin: 0 auto; padding: 0 16px; height: 56px; display: flex; align-items: center; gap: 24px; }
.adm-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.adm-nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--body); }
.adm-nav a:hover { color: var(--green); }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.kpi { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; text-decoration: none; }
a.kpi:hover { border-color: var(--green); }
.kpi-value { display: block; font-size: 32px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.kpi-label { color: var(--muted); font-size: 13.5px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 14px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); }
.dash-grid { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }

/* Rodapé */
.site-footer { padding: 28px 16px 36px; text-align: center; font-size: 12.5px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; max-width: 760px; margin: 0 auto 10px; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--green); text-decoration: underline; }
.footer-copy { margin: 0; }

/* Responsivo */
@media (max-width: 1100px) {
  .shell-3 { grid-template-columns: 225px minmax(0, 1fr); }
  .shell-3 .col-right { display: none; }
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .top-search { width: auto; flex: 1; }
  .top-item span:not(.ico):not(.avatar) { display: none; }
  .top-item { min-width: 48px; }
  .top-premium { display: none; }
  .shell-3, .shell-2, .dash-grid { grid-template-columns: 1fr; }
  .col-left, .col-right { position: static; }
  .shell-jobs { grid-template-columns: 1fr; }
  .jobs-detail { display: none; }
  .jobs-list { max-height: none; border-right: 0; }
  .guest-hero-inner { grid-template-columns: 1fr; }
  .guest-hero-art { display: none; }
  .grid-3, .kpi-grid { grid-template-columns: 1fr 1fr; }
}
html, body { overflow-x: hidden; }
@media (max-width: 860px) {
  .top-search { min-width: 0; }
  .topbar-inner { gap: 8px; }
}
@media (max-width: 600px) {
  .logo { font-size: 22px; }
  .topbar-inner { padding: 0 10px; gap: 6px; }
  .top-search { flex: 1 1 auto; max-width: 140px; }
  .top-nav { flex-shrink: 0; }
  .top-item { min-width: 40px; padding: 0 4px; }
  .top-nav .btn-text { display: none; }
  .top-nav .btn-outline { padding: 4px 12px; min-height: 30px; font-size: 13.5px; margin-left: 4px; }
  .guest-hero-inner { padding: 36px 16px 44px; }
  .chip { padding: 8px 16px; font-size: 14px; }
  .top-sep, .top-lang { display: none; }
  .grid-2, .grid-3, .compare, .plans, .filters, .kpi-grid { grid-template-columns: 1fr; }
  .split, .nudge, .alert-strip, .notice-premium { flex-direction: column; align-items: flex-start; }
  .pill-input { min-width: 0; width: 100%; }
  .table { font-size: 13px; }
}

/* ================= v10 — vagas interativas ================= */
@keyframes hx-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes hx-bar { 0% { left: -40%; width: 40%; } 100% { left: 100%; width: 40%; } }

.ico-bookmark { --i: url(/assets/icons/bookmark.svg); } .ico-link { --i: url(/assets/icons/link.svg); } .ico-close { --i: url(/assets/icons/close.svg); }
.btn .ico { width: 17px; height: 17px; }
.btn:active { transform: scale(.98); }
.btn-done { background: var(--green-soft); color: var(--green); cursor: default; }
.btn-outline.is-saved { background: var(--green); color: #fff; }
.btn-outline.is-saved:hover { background: var(--green-dark); }

/* Barra de filtros */
.filter-bar { position: sticky; top: 56px; z-index: 20; box-shadow: 0 1px 0 var(--line); }
.filter-bar-inner { padding: 10px 16px 6px; }
.pill-search { position: relative; display: flex; align-items: center; flex: 1 1 260px; max-width: 360px; }
.pill-search .ico { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--muted); }
.pill-search input { width: 100%; height: 34px; border: 1px solid #C9D0CB; border-radius: 999px; padding: 0 14px 0 34px; font: inherit; font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.pill-search input:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.pill-select { height: 34px; transition: background-color .15s, color .15s, border-color .15s; }
.pill-select:hover { border-color: var(--green); }
.section-tabs { max-width: var(--shell); margin: 0 auto; padding: 0 16px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.section-tabs::-webkit-scrollbar { display: none; }
.section-tabs a { padding: 8px 14px 10px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.section-tabs a:hover { color: var(--ink); }
.section-tabs a.is-on { color: var(--green); border-bottom-color: var(--green); }

/* Vista dividida */
.shell-jobs { margin-top: 16px; grid-template-columns: 400px minmax(0, 1fr); box-shadow: 0 1px 3px rgba(31,42,36,.04); }
.jobs-list, .jobs-detail { max-height: calc(100vh - 170px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #CBD3CE transparent; }
.jobs-list-head { display: flex; justify-content: space-between; align-items: flex-end; padding: 16px 20px; background: linear-gradient(120deg, var(--green-dark), #2C5240); color: rgba(255,255,255,.75); position: sticky; top: 0; z-index: 2; }
.jobs-list-head .card-title { color: #fff; margin: 0; }
.jobs-list-head p { margin: 2px 0 0; color: rgba(255,255,255,.7); }
.kbd-hint { border: 1px solid rgba(255,255,255,.25); border-radius: 4px; padding: 1px 6px; color: rgba(255,255,255,.7); }
.job-row { transition: background-color .12s; }
.job-row-title { line-height: 1.3; }
.job-row-co .muted { color: var(--muted); }
.badge-new { background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 11px; padding: 1px 7px; border-radius: 4px; }
.logo-sq.t1 { background: var(--green-dark); color: var(--accent); }
.logo-sq.t2 { background: var(--accent); color: var(--accent-ink); }
.logo-sq.t3 { background: #DCEBE2; color: var(--green-dark); }
.logo-sq.t4 { background: #EEF2E3; color: #4E6B2A; }
img.logo-img { display: block; object-fit: cover; padding: 0; background: #fff; border: 1px solid rgba(0,0,0,.06); }
.logo-sq-lg { width: 72px; height: 72px; font-size: 26px; }
.logo-up { display: flex; gap: 16px; align-items: flex-start; }
.logo-up-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.logo-up-form label.btn { cursor: pointer; }
.logo-panel h3 { margin-top: 0; }
.jd-gate { position: relative; }
.plans.plans-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 12px; }
.plans.plans-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 0 auto 24px; }
.plans-3 .plan, .plans-2 .plan { display: flex; flex-direction: column; }
.plans-3 .plan .btn, .plans-2 .plan .btn, .plans-3 .plan form, .plans-2 .plan form { margin-top: auto; }
.plans-group { text-align: center; margin: 24px 0 12px; font-size: 18px; }
#recruiters { margin-top: 56px; }
.plan-nudge { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-left: 4px solid var(--accent); }
.plan-nudge h3 { margin: 0 0 4px; }
@media (max-width: 760px) { .plans.plans-3, .plans.plans-2 { grid-template-columns: 1fr; } .plan-nudge { flex-direction: column; align-items: flex-start; } }
.gate-blur { margin: 24px 0 0; display: grid; gap: 12px; filter: blur(3px); opacity: .7; }
.gate-blur span { display: block; height: 12px; border-radius: 6px; background: #E6E9E3; }
.gate-blur span.short { width: 60%; }
.gate-box { position: relative; margin: -40px auto 8px; max-width: 460px; text-align: center; background: #fff; border: 1px solid rgba(36,64,52,.12); border-radius: 12px; padding: 28px 24px; box-shadow: 0 12px 32px rgba(36,64,52,.10); }
.gate-box .ico-lock { display: inline-block; width: 28px; height: 28px; background: var(--green); margin-bottom: 6px; }
.gate-box h2 { margin: 4px 0 6px; font-size: 20px; }
.gate-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 16px 0 10px; }

.jobs-detail { position: relative; padding: 0; }
.jd-close { display: none; }
.jd-progress { position: sticky; top: 0; height: 3px; overflow: hidden; z-index: 3; }
.jobs-detail.is-loading .jd-progress::before { content: ''; position: absolute; top: 0; height: 3px; background: var(--green); animation: hx-bar 1s ease-in-out infinite; }
.jobs-detail.is-loading [data-detail-body] { opacity: .45; transition: opacity .15s; }
[data-detail-body] > .jd { animation: hx-fade .22s ease-out; }

/* Detalhe da vaga */
.jd { padding: 24px 28px 32px; }
.jd-head { display: flex; gap: 16px; align-items: flex-start; }
.jd-head-text { min-width: 0; }
.jd-company { margin: 0; font-size: 14.5px; color: var(--ink); }
.jd-title { font-size: 26px; line-height: 1.2; margin: 4px 0 6px; }
.jd-title a { text-decoration: none; }
.jd-title a:hover { color: var(--green); }
.jd-meta { margin: 0; color: var(--muted); font-size: 14px; }
.jd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 4px; }
.chip-s { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; background: #F0F2EF; color: var(--body); font-size: 13px; font-weight: 500; }
.chip-strong { background: var(--green-soft); color: var(--green); font-weight: 600; }
.chip-money { background: var(--green-dark); color: #fff; font-weight: 600; }
.jd-actions { position: sticky; top: 3px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 0; margin: 6px 0 0; background: #fff; border-bottom: 1px solid var(--line); }
.jd-note { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.jd-section { margin-top: 24px; }
.jd-section h2 { font-size: 19px; margin-bottom: 10px; }
.prose { font-size: 15.5px; line-height: 1.7; color: var(--body); }
.prose p { margin: 0 0 12px; }
.prose h3 { font-size: 16px; color: var(--ink); margin: 20px 0 8px; }
.prose ul { margin: 0 0 14px; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 20px; margin-bottom: 7px; }
.prose li::before { content: ''; position: absolute; left: 3px; top: 10px; width: 6px; height: 6px; border-radius: 2px; background: var(--green); }
.jd-firm { background: var(--hover); border-radius: var(--r); padding: 16px 18px; }
.jd-firm h2 { font-size: 16px; }
.jd-firm-row { display: flex; gap: 12px; align-items: center; }
.jd-firm-row p { margin: 2px 0 0; }

/* Página de vaga isolada */
.col-main > .card-pad > .jd { padding: 0; }

/* Toasts */
.toast-box { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; pointer-events: none; }
.toast { background: var(--green-dark); color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.18); opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: none; }
.flash { transition: opacity .4s, transform .4s; }
.flash.fade { opacity: 0; transform: translateY(-6px); }

/* Cartões: leve elevação ao passar */
.card, .panel { transition: box-shadow .15s; }
.list-row, .job-row { cursor: pointer; }

@media (max-width: 860px) {
  .filter-bar { position: static; }
  .shell-jobs { margin: 12px; border-radius: var(--r); }
  .jobs-list { max-height: none; }
  .jobs-detail { display: none; }
  .jobs-detail.is-open { display: block; position: fixed; inset: 56px 0 0 0; z-index: 40; max-height: none; background: #fff; animation: hx-fade .2s ease-out; }
  .jobs-detail.is-open .jd-close { display: flex; position: sticky; top: 10px; margin: 10px 10px -46px auto; width: 36px; height: 36px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--hover); color: var(--ink); cursor: pointer; z-index: 4; }
  .jd { padding: 20px 18px 40px; }
  .jd-title { font-size: 22px; padding-right: 36px; }
  .kbd-hint { display: none; }
  body.no-scroll { overflow: hidden; }
}
