/* ============================================================
   AGÊNCIA EMPREGOS — CSS Global
   Paleta: Azul #1565C0 | Dourado #F9A825 | Navy #0D2137
   Fonte: Nunito (títulos) + Outfit (corpo)
   ============================================================ */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Outfit:wght@300;400;500;600&display=swap');

/* ─── Variáveis (controladas pelo Admin) ───────────────────── */
:root {
  --blue:      #1565C0;
  --blue2:     #1976D2;
  --blue-lt:   #E3F2FD;
  --navy:      #0D2137;
  --gold:      #F9A825;
  --gold-lt:   #FFF8E1;
  --gold-dk:   #E6971A;
  --green:     #2E7D32;
  --green2:    #43A047;
  --red:       #C62828;
  --white:     #FFFFFF;
  --off:       #F4F7FB;
  --muted:     #607D8B;
  --border:    rgba(21,101,192,0.12);
  --shadow-sm: 0 2px 8px rgba(13,33,55,0.08);
  --shadow:    0 4px 24px rgba(13,33,55,0.10);
  --shadow-lg: 0 12px 48px rgba(13,33,55,0.15);
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --transition: .2s ease;
}

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--off);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ─── Tipografia ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(32px, 5vw, 60px); }
h2 { font-size: clamp(24px, 3.5vw, 42px); }
h3 { font-size: clamp(18px, 2.5vw, 26px); }
p  { color: var(--muted); line-height: 1.7; }

/* ─── Utilitários ──────────────────────────────────────────── */
.container      { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.text-center    { text-align: center; }
.text-muted     { color: var(--muted); }
.text-gold      { color: var(--gold); }
.text-blue      { color: var(--blue); }
.text-white     { color: #fff; }
.fw-bold        { font-weight: 700; }
.fw-black       { font-weight: 900; }
.mt-auto        { margin-top: auto; }
.d-flex         { display: flex; }
.align-center   { align-items: center; }
.gap-8          { gap: 8px; }
.gap-12         { gap: 12px; }
.gap-16         { gap: 16px; }
.gap-24         { gap: 24px; }
.w-100          { width: 100%; }

/* ─── Botões ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn-primary   { background: var(--blue);  color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: #0d47a1; border-color: #0d47a1; }

.btn-gold      { background: var(--gold);  color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dk); border-color: var(--gold-dk); }

.btn-outline   { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-danger    { background: var(--red); color: #fff; border-color: var(--red); }
.btn-sm  { padding: 7px 18px; font-size: 12px; }
.btn-lg  { padding: 16px 36px; font-size: 16px; }
.btn-icon { padding: 10px; border-radius: var(--radius-sm); }

/* ─── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
}
.badge-green  { background: #e8f5e9; color: var(--green); }
.badge-blue   { background: var(--blue-lt); color: var(--blue); }
.badge-gold   { background: var(--gold-lt); color: #b45309; }
.badge-red    { background: #ffebee; color: var(--red); }
.badge-gray   { background: #f0f0f0; color: #555; }
.badge-navy   { background: var(--navy); color: var(--gold); }

/* ─── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
}
.card-hover { transition: var(--transition); cursor: pointer; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }

/* ─── Formulários ───────────────────────────────────────────── */
.form-group     { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label     { font-size: 12px; font-weight: 700; color: var(--navy); }
.form-input, .form-select, .form-textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,101,192,.1);
}
.form-input::placeholder { color: var(--muted); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error    { font-size: 12px; color: var(--red); margin-top: 4px; }

/* ─── Alerts / Flash ────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: #e8f5e9; color: var(--green); border-left: 4px solid var(--green); }
.alert-error   { background: #ffebee; color: var(--red);   border-left: 4px solid var(--red); }
.alert-warning { background: var(--gold-lt); color: #92400e; border-left: 4px solid var(--gold); }
.alert-info    { background: var(--blue-lt); color: var(--blue); border-left: 4px solid var(--blue); }

/* ─── Tabelas ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th {
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 8px 12px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--off); }

/* ─── Paginação ─────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}
.page-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-btn:hover, .page-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ─── Tags Input ────────────────────────────────────────────── */
.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 9px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  min-height: 46px;
  cursor: text;
}
.tags-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.1); }
.tag-item {
  background: var(--blue-lt);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tag-item button { background: none; border: none; cursor: pointer; font-size: 14px; color: var(--muted); line-height: 1; padding: 0; }
.tag-input { border: none; outline: none; font-size: 13px; font-family: inherit; flex: 1; min-width: 120px; }

/* ─── Barra de Progresso ────────────────────────────────────── */
.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  border-radius: 4px;
  transition: width .5s ease;
}

/* ─── Sidebar (painéis) ─────────────────────────────────────── */
.sidebar {
  width: 260px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  padding: 24px 14px;
  min-height: 100vh;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.sidebar-logo img { height: 40px; }
.sidebar-logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  line-height: 1.2;
}
.sidebar-badge {
  background: rgba(249,168,37,.15);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  width: fit-content;
}
.nav-section {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
  padding: 0 14px;
  margin: 14px 0 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  color: rgba(255,255,255,.45);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-decoration: none;
  text-align: left;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-item.active { background: rgba(21,101,192,.25); color: var(--gold); }
.nav-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.nav-badge {
  margin-left: auto;
  background: var(--gold);
  color: var(--navy);
  padding: 2px 7px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 900;
}
.sidebar-footer {
  margin-top: auto;
  padding: 16px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.user-card {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  overflow: hidden;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-name { font-size: 13px; font-weight: 700; color: #fff; }
.user-role { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 1px; }
.btn-exit { margin-left: auto; background: none; border: none; color: rgba(255,255,255,.3); cursor: pointer; font-size: 16px; transition: var(--transition); }
.btn-exit:hover { color: var(--gold); }

/* ─── Layout Painel ─────────────────────────────────────────── */
.painel-wrap    { display: flex; flex: 1; min-height: 100vh; }
.painel-main    { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.painel-topbar  {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.painel-topbar h1 { font-size: 20px; font-weight: 900; color: var(--navy); font-family: 'Nunito', sans-serif; }
.painel-content { flex: 1; padding: 28px; overflow-y: auto; }

/* ─── KPI Cards ─────────────────────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.kpi {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
}
.kpi-icon  { font-size: 28px; margin-bottom: 10px; }
.kpi-val   { font-family: 'Nunito', sans-serif; font-size: 28px; font-weight: 900; color: var(--navy); }
.kpi-label { font-size: 12px; color: var(--muted); margin-top: 3px; }
.kpi-delta { font-size: 12px; color: var(--green2); margin-top: 6px; }
.kpi-delta.down { color: var(--red); }

/* ─── Bar Chart simples ─────────────────────────────────────── */
.bar-chart     { display: flex; align-items: flex-end; gap: 6px; height: 100px; }
.bar-item      { flex: 1; border-radius: 4px 4px 0 0; position: relative; transition: .3s; background: linear-gradient(to top, var(--blue), var(--blue2)); min-height: 4px; }
.bar-item:hover { background: linear-gradient(to top, var(--gold), #ffc107); }
.bar-label     { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--muted); white-space: nowrap; }

/* ─── Modal ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,33,55,.7);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 420px;
  width: calc(100% - 32px);
  transform: translateY(16px);
  transition: transform .3s;
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--off);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--border); }
.modal-logo { text-align: center; margin-bottom: 20px; }
.modal-logo img { height: 52px; margin: 0 auto; }
.modal-tabs {
  display: flex;
  gap: 4px;
  background: var(--off);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 22px;
}
.modal-tab {
  flex: 1;
  padding: 9px;
  border-radius: 8px;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: var(--muted);
}
.modal-tab.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.social-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 10px;
}
.social-btn:hover { background: var(--off); border-color: #bbb; }
.modal-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  margin: 14px 0;
}
.modal-divider::before, .modal-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ─── Modal de Cadastro (Candidato / Empresa) ────────────────── */
/* Variante maior/rolável do .modal — os formulários de cadastro
   têm bem mais campos do que o login e precisam de mais espaço. */
.modal-lg {
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 26px; /* respiro entre o conteúdo e a scrollbar fina */
  scrollbar-width: thin;             /* Firefox */
  scrollbar-color: var(--border) transparent;
}
/* Chrome / Safari / Edge — scrollbar fina e discreta, no estilo do card */
.modal-lg::-webkit-scrollbar { width: 6px; }
.modal-lg::-webkit-scrollbar-track { background: transparent; margin: 20px 0; }
.modal-lg::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.modal-lg::-webkit-scrollbar-thumb:hover { background: var(--muted); }

.register-panel { display: none; }
.register-panel.active { display: block; animation: fadeIn .25s ease both; }

/* Em telas baixas, alinha o overlay ao topo (com respiro) em vez de
   centralizar — evita que o modal alto fique cortado/inacessível. */
@media (max-height: 760px) {
  .modal-overlay { align-items: flex-start; padding: 24px 0; }
}
@media (max-width: 768px) {
  .modal-lg { padding: 28px 22px; border-radius: 18px; }
}
@media (max-width: 480px) {
  .modal-overlay { padding: 12px 0; }
  .modal    { width: calc(100% - 16px); padding: 24px 16px; border-radius: 16px; }
  .modal-lg { max-height: 96vh; }
  .modal-tabs { font-size: 12px; }
  .modal-tab  { padding: 8px 4px; font-size: 12px; }
}

/* ─── Páginas de texto legal (Privacidade / Termos) ──────────── */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 20px 70px;
}
.legal-header { margin-bottom: 36px; }
.legal-header-title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.legal-header-title .legal-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.legal-header-title h1 { font-size: 28px; margin: 0; color: var(--navy); }
.legal-updated { color: var(--muted); font-size: 13.5px; margin-left: 56px; }

.legal-content {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 44px;
}
.legal-content > *:first-child { margin-top: 0; }
.legal-content > *:last-child  { margin-bottom: 0; }
.legal-content p { margin: 0 0 18px; color: #33475b; }
.legal-content p em { color: var(--muted); font-style: italic; }
.legal-content strong, .legal-content b { color: var(--navy); font-weight: 700; }
.legal-content h2 {
  font-size: 20px;
  color: var(--navy);
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-lt);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 16.5px;
  color: var(--blue);
  margin: 26px 0 10px;
}
.legal-content h4 {
  font-size: 14.5px;
  color: var(--navy);
  margin: 20px 0 8px;
}
.legal-content ul, .legal-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.legal-content ul { list-style: none; }
.legal-content ul li { position: relative; padding-left: 20px; }
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.legal-content ol li { padding-left: 4px; }
.legal-content a { color: var(--blue); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--blue-lt); }
.legal-content a:hover { border-bottom-color: var(--blue); }

.legal-footer-links {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.legal-footer-links a { color: var(--blue); font-size: 14px; font-weight: 600; text-decoration: none; }
.legal-footer-links a:hover { text-decoration: underline; }
.legal-footer-links a.muted { color: var(--muted); font-weight: 400; }

@media (max-width: 640px) {
  .legal-content { padding: 28px 22px; border-radius: 16px; }
  .legal-updated { margin-left: 0; margin-top: 4px; }
  .legal-header-title h1 { font-size: 23px; }
}

/* ─── Topbar pública ────────────────────────────────────────── */
.topbar-notice {
  background: var(--navy);
  padding: 8px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.topbar-notice strong { color: var(--gold); }

/* ─── Nav pública ───────────────────────────────────────────── */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 200;
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.navbar-logo img { height: 52px; }
.navbar-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.navbar-menu a {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.navbar-menu a:hover { background: var(--blue-lt); color: var(--blue); }
.navbar-actions { display: flex; gap: 10px; align-items: center; }

/* ─── Footer público ────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 60px 32px 28px;
  color: rgba(255,255,255,.5);
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo img { height: 52px; margin-bottom: 16px; }
.footer-desc { font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 380px; }

/* ─── Contato do rodapé (e-mail / telefone / whatsapp) ───────── */
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 22px; }
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: var(--transition);
}
.footer-contact-item:hover { color: #fff; }
.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  font-size: 13px;
  flex-shrink: 0;
  transition: var(--transition);
}
.footer-contact-whatsapp .footer-contact-icon { background: rgba(37,211,102,.16); }
.footer-contact-whatsapp:hover { color: #25D366; }
.footer-contact-whatsapp:hover .footer-contact-icon { background: rgba(37,211,102,.28); }

/* ─── Botões de CTA do rodapé ─────────────────────────────────── */
.footer-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.footer-cta-blue { background: var(--blue); color: #fff; }
.footer-cta-blue:hover { filter: brightness(1.12); transform: translateY(-2px); }
.footer-cta-gold { background: var(--gold); color: var(--navy); }
.footer-cta-gold:hover { filter: brightness(1.08); transform: translateY(-2px); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; transition: var(--transition); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

/* ─── Seção Hero ────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a3060 55%, #0d4a8f 100%);
  padding: 80px 32px 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231565C0' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,168,37,.12);
  border: 1px solid rgba(249,168,37,.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: blink 1.8s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.3} }

.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { color: rgba(255,255,255,.7); font-size: 18px; max-width: 520px; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.hero-stat-val   { font-family: 'Nunito', sans-serif; font-size: 32px; font-weight: 900; color: var(--gold); }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 2px; }

/* ─── Search bar ─────────────────────────────────────────────── */
.search-wrap {
  max-width: 1280px;
  margin: -36px auto 0;
  padding: 0 32px;
  position: relative;
  z-index: 10;
}
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  border: 2px solid var(--border);
}
.search-field { flex: 1; min-width: 160px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.search-icon  { font-size: 18px; color: var(--blue); flex-shrink: 0; }
.search-field input, .search-field select {
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--navy);
  background: transparent;
  width: 100%;
}
.search-divider { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }
.search-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.search-btn:hover { background: #0d47a1; }

/* ─── Seções ────────────────────────────────────────────────── */
.section { padding: 80px 32px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-label.gold { color: var(--gold); }
/* Padrão da plataforma: título e subtítulo de seção sempre centralizados */
.section-label { text-align: center; }
.section-title { margin-bottom: 10px; text-align: center; }
.section-sub   { max-width: 560px; margin: 0 auto 48px; text-align: center; }

/* ─── Cards de Vaga ─────────────────────────────────────────── */
.vaga-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.vaga-card {
  background: #112040;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.06);
  padding: 24px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.vaga-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transition: .3s;
  transform-origin: left;
}
.vaga-card:hover { border-color: rgba(249,168,37,.2); transform: translateY(-4px); }
.vaga-card:hover::after { transform: scaleX(1); }
.vaga-head    { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.vaga-logo    { width: 50px; height: 50px; border-radius: 12px; background: rgba(21,101,192,.15); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; overflow: hidden; }
.vaga-logo img { width: 100%; height: 100%; object-fit: cover; }
.vaga-titulo  { font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 800; color: #fff; }
.vaga-empresa { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 3px; }
.vaga-tags    { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.vaga-tag     { padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 600; background: rgba(255,255,255,.05); color: rgba(255,255,255,.5); }
.vaga-tag.hl  { background: rgba(249,168,37,.12); color: var(--gold); }
.vaga-foot    { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); }
.vaga-sal     { font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 800; color: var(--gold); }
.vaga-data    { font-size: 11px; color: rgba(255,255,255,.25); }

/* ─── Planos ────────────────────────────────────────────────── */
.planos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.plano-card  { border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; position: relative; transition: var(--transition); }
.plano-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plano-card.featured { background: linear-gradient(135deg, var(--blue) 0%, #0d47a1 100%); border-color: var(--blue); color: #fff; }
.plano-badge { position: absolute; top: 20px; right: 20px; background: var(--gold); color: var(--navy); padding: 4px 12px; border-radius: 100px; font-size: 10px; font-weight: 900; }
.plano-nome  { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.plano-card.featured .plano-nome { color: rgba(255,255,255,.6); }
.plano-preco { font-family: 'Nunito', sans-serif; font-size: 44px; font-weight: 900; line-height: 1; color: var(--navy); }
.plano-card.featured .plano-preco { color: #fff; }
.plano-preco span { font-size: 18px; font-weight: 400; }
.plano-periodo { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.plano-card.featured .plano-periodo { color: rgba(255,255,255,.5); }
.plano-feats { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.plano-feats li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.plano-card.featured .plano-feats li { color: rgba(255,255,255,.75); }
.plano-feats li::before { content:'✓'; width:20px; height:20px; background:var(--green2); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:900; flex-shrink:0; }
.plano-card.featured .plano-feats li::before { background:var(--gold); color:var(--navy); }

/* ─── Responsividade ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card  { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .container, .navbar-inner { padding: 0 20px; }
}
@media (max-width: 768px) {
  .navbar-menu { display: none; }
  .sidebar     { display: none; }
  .hero        { padding: 60px 16px 80px; }
  .section     { padding: 60px 16px; }
  .search-wrap { padding: 0 16px; }
  .form-grid   { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .kpi-grid    { grid-template-columns: 1fr 1fr; }
  .painel-content { padding: 16px; }
  .painel-topbar  { padding: 12px 16px; }
}
@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .vaga-grid { grid-template-columns: 1fr; }
  .planos-grid { grid-template-columns: 1fr; }
  .hero-stats  { gap: 20px; }
}

/* ─── Animações ─────────────────────────────────────────────── */
@keyframes fadeIn    { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:none} }
@keyframes slideIn   { from{transform:translateX(-20px);opacity:0} to{transform:none;opacity:1} }
@keyframes spin      { to{transform:rotate(360deg)} }
.animate-fade  { animation: fadeIn .4s ease both; }
.animate-slide { animation: slideIn .3s ease both; }
.spinner       { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--border); border-top-color: var(--blue); border-radius: 50%; animation: spin .7s linear infinite; }

/* ─── Sino de Notificações ──────────────────────────────────── */
.notif-bell-wrap {
  position: relative;
}
.notif-bell-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 20px;
  line-height: 1;
}
.notif-bell-btn:hover { background: var(--blue-lt); }
.notif-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  background: var(--red);
  color: #fff;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  min-width: 17px;
  text-align: center;
  pointer-events: none;
  border: 2px solid #fff;
  display: none;
}
.notif-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-height: 440px;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 9990;
  animation: fadeIn .18s ease both;
}
.notif-panel.open { display: block; }
.notif-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.notif-panel-header span {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 14px;
}
.notif-panel-header button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}
.notif-panel-header button:hover { background: var(--blue-lt); }
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(21,101,192,.06);
  transition: background var(--transition);
  text-decoration: none;
  color: inherit;
}
.notif-item:hover { background: var(--off); }
.notif-item.nao-lida { background: #f0f6ff; }
.notif-item.nao-lida:hover { background: #e3f0ff; }
.notif-item-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.notif-item-body { flex: 1; min-width: 0; }
.notif-item-titulo {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-item-msg {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-item-tempo {
  font-size: 10px;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 2px;
}
.notif-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 5px;
}
.notif-empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
