:root {
  --bt-primary: #1f6feb;
  --bt-dark: #0f1d33;
  --bt-bg: #f4f6fb;
  --bt-border: #e3e8f1;
  --bt-muted: #6b7486;
  --bs-primary: var(--bt-primary);
  --bs-link-color: var(--bt-primary);
  --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
body { background: var(--bt-bg); color: #1d2433; font-size: .94rem; }
a { color: var(--bt-primary); }
.btn-primary { --bs-btn-bg: var(--bt-primary); --bs-btn-border-color: var(--bt-primary); --bs-btn-hover-bg: color-mix(in srgb, var(--bt-primary) 85%, #000); --bs-btn-hover-border-color: color-mix(in srgb, var(--bt-primary) 85%, #000); --bs-btn-active-bg: color-mix(in srgb, var(--bt-primary) 75%, #000); }
.btn-outline-primary { --bs-btn-color: var(--bt-primary); --bs-btn-border-color: var(--bt-primary); --bs-btn-hover-bg: var(--bt-primary); --bs-btn-hover-border-color: var(--bt-primary); }
.text-primary { color: var(--bt-primary) !important; }
.bg-primary { background-color: var(--bt-primary) !important; }
.text-bg-primary { background-color: var(--bt-primary) !important; }
.form-control:focus, .form-select:focus { border-color: var(--bt-primary); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--bt-primary) 20%, transparent); }
.form-check-input:checked { background-color: var(--bt-primary); border-color: var(--bt-primary); }
.nav-pills .nav-link.active { background: var(--bt-primary); }
.page-link { color: var(--bt-primary); }
.active > .page-link { background: var(--bt-primary); border-color: var(--bt-primary); }

/* ---------- layout painel ---------- */
.app-wrap { display: flex; min-height: 100vh; }
.sidebar { width: 252px; background: var(--bt-dark); color: #c9d3e5; flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { display: flex; align-items: center; gap: .6rem; padding: 1.15rem 1.25rem; color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.07); }
.sidebar .brand .logo { width: 34px; height: 34px; border-radius: 9px; background: var(--bt-primary); display: grid; place-items: center; color: #fff; }
.sidebar .menu-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #7f8ba3; padding: 1.1rem 1.25rem .4rem; }
.sidebar .nav-link { color: #c9d3e5; padding: .55rem 1.25rem; display: flex; align-items: center; gap: .7rem; border-left: 3px solid transparent; }
.sidebar .nav-link i { font-size: 1.05rem; opacity: .85; }
.sidebar .nav-link:hover { color: #fff; background: rgba(255,255,255,.04); }
.sidebar .nav-link.active { color: #fff; background: rgba(255,255,255,.07); border-left-color: var(--bt-primary); }
.main { flex: 1; min-width: 0; }
.topbar { background: #fff; border-bottom: 1px solid var(--bt-border); padding: .7rem 1.5rem; display: flex; align-items: center; gap: 1rem; position: sticky; top: 0; z-index: 100; }
.content { padding: 1.5rem; max-width: 1400px; }
.page-title { font-weight: 700; font-size: 1.35rem; margin: 0; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
@media (max-width: 991.98px) {
  .sidebar { position: fixed; left: -260px; z-index: 1050; transition: left .2s; }
  .sidebar.open { left: 0; box-shadow: 0 0 40px rgba(0,0,0,.35); }
  .content { padding: 1rem; }
}

/* ---------- componentes ---------- */
.card { border: 1px solid var(--bt-border); border-radius: 12px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.card-header { background: #fff; border-bottom: 1px solid var(--bt-border); font-weight: 600; padding: .85rem 1.1rem; border-radius: 12px 12px 0 0 !important; }
.card.stat, .stat { flex-direction: row; padding: 1.1rem 1.2rem; display: flex; gap: 1rem; align-items: center; }
.stat .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0; }
.stat .num { font-size: 1.55rem; font-weight: 700; line-height: 1.1; }
.stat .lbl { color: var(--bt-muted); font-size: .82rem; }
.ico-blue { background: #e8f0fe; color: #1f6feb; } .ico-green { background: #e6f6ee; color: #12805c; }
.ico-amber { background: #fff4e0; color: #b26a00; } .ico-purple { background: #f1eafe; color: #6d3fd1; } .ico-red { background: #fde8e8; color: #c62828; }
.table > :not(caption) > * > * { padding: .7rem .8rem; }
.table thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--bt-muted); font-weight: 600; background: #fafbfd; }
.score-ring { --v: 0; --c: var(--bt-primary); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem;
  background: radial-gradient(closest-side, #fff 78%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--v) * 1%), #e8ecf3 0); flex-shrink: 0; }
.score-ring.lg { width: 92px; height: 92px; font-size: 1.35rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; background: #eef2f8; color: #33415c; border-radius: 99px; padding: .2rem .65rem; font-size: .8rem; margin: 0 .25rem .3rem 0; }
.chip.ok { background: #e6f6ee; color: #12805c; } .chip.no { background: #fde8e8; color: #b42318; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--bt-primary) 15%, #fff); color: var(--bt-primary); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; object-fit: cover; }
.avatar.lg { width: 84px; height: 84px; font-size: 1.8rem; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--bt-muted); }
.empty i { font-size: 2.6rem; display: block; margin-bottom: .6rem; opacity: .5; }
.progress-thin { height: 6px; }
.tags-input { display: flex; flex-wrap: wrap; gap: .3rem; padding: .35rem .5rem; min-height: 42px; cursor: text; position: relative; }
.tags-input input { border: 0; outline: 0; flex: 1; min-width: 140px; padding: .15rem; background: transparent; }
.tags-input .chip { margin: 0; }
.tags-input .chip button { border: 0; background: transparent; padding: 0 0 0 .15rem; line-height: 1; color: inherit; opacity: .7; }
.tags-sug { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; background: #fff; border: 1px solid var(--bt-border); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.08); max-height: 220px; overflow: auto; }
.tags-sug div { padding: .45rem .75rem; cursor: pointer; } .tags-sug div:hover, .tags-sug div.on { background: #f1f5fb; }
.timeline { list-style: none; padding-left: 1rem; border-left: 2px solid var(--bt-border); margin: 0; }
.timeline li { position: relative; padding: 0 0 1rem .9rem; }
.timeline li::before { content: ''; position: absolute; left: -1.42rem; top: .35rem; width: 11px; height: 11px; border-radius: 50%; background: var(--bt-primary); border: 2px solid #fff; }
.aviso-item.nao-lido { background: color-mix(in srgb, var(--bt-primary) 6%, #fff); }
.secret-field { font-family: ui-monospace, monospace; }

/* ---------- publico ---------- */
.pub-nav { background: #fff; border-bottom: 1px solid var(--bt-border); }
.pub-nav .navbar-brand { font-weight: 800; display: flex; align-items: center; gap: .5rem; }
.pub-nav .navbar-brand .logo { width: 32px; height: 32px; border-radius: 9px; background: var(--bt-primary); color: #fff; display: grid; place-items: center; }
.hero { background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--bt-primary) 35%, transparent), transparent), linear-gradient(160deg, var(--bt-dark), #182b4a); color: #fff; padding: 5rem 0 6rem; }
.hero h1 { font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.02em; }
.hero .lead { color: #c6d1e6; }
.hero-search { background: #fff; border-radius: 14px; padding: .5rem; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.hero-search .form-control, .hero-search .form-select { border: 0; }
.feature { padding: 1.5rem; }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem; }
.vaga-card { transition: transform .12s, box-shadow .12s; }
.vaga-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16,24,40,.08); }
.vaga-card.destaque { border-color: color-mix(in srgb, var(--bt-primary) 45%, #fff); }
.plano { height: 100%; }
.plano.top { border: 2px solid var(--bt-primary); }
.plano .preco { font-size: 2.2rem; font-weight: 800; }
.section { padding: 4.5rem 0; }
.footer { background: var(--bt-dark); color: #9aa6bd; padding: 2.5rem 0; font-size: .87rem; }
.footer a { color: #c9d3e5; text-decoration: none; }
.auth-box { max-width: 460px; margin: 3rem auto; }
.auth-box.wide { max-width: 820px; }
.step-badge { width: 28px; height: 28px; border-radius: 50%; background: var(--bt-primary); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: .85rem; margin-right: .5rem; }
@media print { .sidebar, .topbar, .no-print { display: none !important; } .content { padding: 0; } }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
.btn:hover, .nav-link:hover, .dropdown-item:hover, .list-group-item:hover, .navbar-brand:hover, .brand:hover, .stretched-link:hover { text-decoration: none; }
@media (min-width: 768px) { .hero-search { flex-wrap: nowrap !important; } }
.hero-search .btn { white-space: nowrap; }

/* contador de visitas */
.dot-online{display:inline-block;width:8px;height:8px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 0 rgba(22,163,74,.5);animation:pulsa 1.8s infinite;vertical-align:middle}
@keyframes pulsa{0%{box-shadow:0 0 0 0 rgba(22,163,74,.5)}70%{box-shadow:0 0 0 7px rgba(22,163,74,0)}100%{box-shadow:0 0 0 0 rgba(22,163,74,0)}}
.barra-pct{height:6px;border-radius:4px;background:#eef1f6;overflow:hidden}.barra-pct>span{display:block;height:100%;background:var(--bt-primary,#0E8A5F)}
