@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

html { scroll-behavior: smooth; }

/* ── Design tokens ── */
:root {
  --nh-orange:     #E8552B;
  --nh-orange-bg:  #FFF7F2;
  --nh-ink:        #0F1115;
  --nh-ink70:      #3D4148;
  --nh-ink50:      #6B7280;
  --nh-line:       #E5E8EE;
  --nh-surface:    #F5F6F8;
  --nh-surface2:   #FAFAFC;
  --nh-dark:       #1D2E3B;
  --nh-green:      #0F8B5C;
  --nh-font-sans:  'Inter', -apple-system, system-ui, sans-serif;
  --nh-font-mono:  'JetBrains Mono', ui-monospace, monospace;
}

/* ── Wrapper ── */
.nh-wrap {
  font-family: var(--nh-font-sans);
  color: var(--nh-ink);
  background: var(--nh-surface2);
  padding-bottom: 3rem;
}
.nh-wrap h1,
.nh-wrap h2 { margin-bottom: 0; }

/* ── Cards base ── */
.nh-card        { border-radius: 16px; overflow: hidden; }
.nh-card-dark   { background: var(--nh-dark); color: #fff; border: none; }
.nh-card-accent { background: var(--nh-orange); color: #fff; border: none; }
.nh-card-white  { background: #fff; border: 1px solid var(--nh-line); }

/* ── Bento row (hero + events) — altura fixa igual para os dois ── */
.nh-bento-hero,
.nh-bento-events { height: 300px; overflow: hidden; }

/* ── Hero internals ── */
.nh-hero-label {
  font-family: var(--nh-font-mono);
  font-size: 11px;
  color: var(--nh-orange);
  letter-spacing: .1em;
}
.nh-hero-title {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: #fff;
}
.nh-hero-stat-label {
  font-family: var(--nh-font-mono);
  font-size: 9.5px;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.nh-hero-stat-val {
  font-family: var(--nh-font-mono);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.nh-hero-stat-val.accent { color: var(--nh-orange); }
.nh-text-faded { color: rgba(255,255,255,.5); }

/* ── Decorations ── */
.nh-deco              { position: absolute; pointer-events: none; }
.nh-deco-brandmark    { right: -20px; top: -20px; opacity: .35; }
.nh-deco-diag         { left: -40px; bottom: -40px; opacity: .3; }
.nh-deco-ring         { right: -20px; top: -20px; opacity: .4; }

/* ── Events card ── */
.nh-events-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.nh-events-action {
  font-size: 11px;
  font-weight: 600;
  color: var(--nh-orange);
  text-decoration: none;
  cursor: pointer;
}
.nh-events-action:hover { color: var(--nh-orange); }

/* ── Timeline ── */
.nh-timeline { position: relative; padding-left: 14px; overflow-y: auto; }
.nh-timeline::-webkit-scrollbar { width: 3px; }
.nh-timeline::-webkit-scrollbar-track { background: transparent; }
.nh-timeline::-webkit-scrollbar-thumb { background: var(--nh-line); border-radius: 2px; }
.nh-timeline::before {
  content: '';
  position: absolute;
  left: 4px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--nh-line);
}
.nh-tl-item  { position: relative; padding: 7px 0; cursor: pointer; }
.nh-tl-item.closed { opacity: .55; }
.nh-tl-dot {
  position: absolute;
  left: -14px; top: 16px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #fff;
}
.nh-tl-dot.active { border: 2px solid var(--nh-orange); }
.nh-tl-dot.closed { border: 2px solid var(--nh-ink50); }
.nh-tl-date  { font-family: var(--nh-font-mono); font-size: 9.5px; color: var(--nh-ink50); letter-spacing: .06em; }
.nh-tl-title { font-size: 12px; font-weight: 600; line-height: 1.3; margin-bottom: 3px; }
.nh-tl-place { font-size: 10.5px; color: var(--nh-ink50); }

/* ── Badges ── */
.nh-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.6;
}
.nh-badge-active { background: var(--nh-orange); color: #fff; }
.nh-badge-closed { background: var(--nh-surface); color: var(--nh-ink70); }

/* ── Section header ── */
.nh-section-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.nh-section-num  { font-family: var(--nh-font-mono); font-size: 12px; color: var(--nh-orange); letter-spacing: .15em; flex-shrink: 0; }
.nh-section-title { font-size: 24px; font-weight: 300; letter-spacing: -.025em; line-height: 1; color: var(--nh-ink50); }
.nh-section-line  { flex: 1; height: 1px; background: var(--nh-line); align-self: center; }
.nh-section-action { font-size: 12.5px; font-weight: 600; color: var(--nh-orange); text-decoration: none; flex-shrink: 0; }
.nh-section-action:hover { color: var(--nh-orange); text-decoration: underline; }

/* ── Cards dentro de colunas: altura e largura 100% ── */
[class*="col"] > .nh-central-card,
[class*="col"] > .nh-course-card,
[class*="col"] > .nh-link-card { height: 100%; width: 100%; }

/* ── Col card wrapper: d-flex garante que height:100% funcione no filho ── */
.nh-card-col { display: flex; }

/* ── Divisor vertical entre grupos de cards ── */
.nh-group-left { position: relative; }
.nh-group-left::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 55%;
  width: 1px;
  background: rgba(15, 17, 21, 0.09);
}

/* ── Central cards ── */
.nh-central-card { border-radius: 16px; padding: 22px 22px 20px; display: flex; flex-direction: column; }
.nh-central-card .nh-btn { margin-top: auto; }

.nh-icon-box {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.nh-icon-box-accent { background: rgba(255,255,255,.18); }
.nh-icon-box-soft   { background: var(--nh-orange-bg); }

.nh-central-code  { font-family: var(--nh-font-mono); font-size: 9.5px; letter-spacing: .1em; margin-bottom: 3px; }
.nh-central-label { font-size: 16px; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }

/* ── Buttons ── */
.nh-btn {
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  font-family: var(--nh-font-sans);
  line-height: 1;
  transition: opacity .15s;
}
.nh-btn:hover { opacity: .85; }
.nh-btn-outline { border: 1px solid var(--nh-orange); background: transparent; color: var(--nh-orange); }
.nh-btn-white   { border: 1px solid rgba(255,255,255,.4); background: #fff; color: var(--nh-orange); }
.nh-btn-ghost   { border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; }

/* ── Course cards ── */
.nh-course-card { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--nh-line); display: flex; flex-direction: column; }
.nh-course-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--nh-surface); }
.nh-course-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nh-check-badge {
  position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #1aa3d9;
  display: grid; place-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.nh-course-body  { padding: 16px 18px 14px; display: flex; flex-direction: column; flex: 1; }
.nh-course-title { font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: var(--nh-ink); margin-bottom: 10px; }
.nh-course-sub   { font-size: 13px; color: var(--nh-ink70); line-height: 1.4; margin-bottom: 10px; }
.nh-tag          { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 4px; }

.nh-course-footer { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--nh-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nh-course-dur    { font-size: 13px; color: var(--nh-ink70); font-weight: 500; }

.nh-progress     { flex: 1; height: 4px; border-radius: 2px; background: var(--nh-surface); max-width: 80px; overflow: hidden; }
.nh-progress-bar { height: 100%; border-radius: 2px; }
.nh-progress-green  { background: var(--nh-green); }
.nh-progress-orange { background: var(--nh-orange); }

/* ── Link cards ── */
.nh-link-card  { border-radius: 16px; padding: 20px; background: #fff; border: 1px solid var(--nh-line); }
.nh-link-icon  { width: 38px; height: 38px; border-radius: 10px; background: var(--nh-surface); display: grid; place-items: center; flex-shrink: 0; }
.nh-link-code  { font-family: var(--nh-font-mono); font-size: 9.5px; color: var(--nh-ink50); letter-spacing: .1em; margin-bottom: 3px; }
.nh-link-label { font-size: 14px; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }

/* ── Hover elevation ── */
.nh-course-card,
.nh-link-card {
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
}
.nh-course-card:hover,
.nh-link-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

/* ── Action cards (seção Ações) ── */
.nh-action-card {
  border-radius: 16px;
  padding: 28px 28px 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.nh-action-code {
  font-family: var(--nh-font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.nh-card-accent .nh-action-code { color: rgba(255,255,255,.6); }
.nh-card-white  .nh-action-code { color: var(--nh-ink50); }
.nh-action-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 10px;
}
.nh-card-accent .nh-action-title { color: #fff; }
.nh-card-white  .nh-action-title { color: var(--nh-ink); }
.nh-action-desc {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 24px;
  flex: 1;
}
.nh-card-accent .nh-action-desc { color: rgba(255,255,255,.75); }
.nh-card-white  .nh-action-desc { color: var(--nh-ink70); }
.nh-btn-dark { background: var(--nh-ink); color: #fff; border: none; }

/* ── Tabela Minhas Bolsas ── */
.nh-bolsas-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--nh-line);
}
.nh-bolsas-table thead th {
  font-family: var(--nh-font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nh-ink50);
  padding: 12px 16px;
  border-bottom: 1.5px solid var(--nh-ink);
  background: transparent;
}
.nh-bolsas-table tbody td {
  padding: 18px 16px;
  font-size: 14px;
  vertical-align: middle;
  border-bottom: 1px solid var(--nh-line);
  color: var(--nh-ink70);
}
.nh-bolsas-table tbody tr:last-child td { border-bottom: none; }
.nh-bolsas-num  { font-family: var(--nh-font-mono); font-size: 13px; color: var(--nh-ink50); width: 48px; }
.nh-bolsas-proj { font-weight: 700; color: var(--nh-ink); letter-spacing: -.01em; }
.nh-bolsas-status {
  font-family: var(--nh-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}
.nh-bolsas-status.orange { color: var(--nh-orange); }
.nh-bolsas-status.green  { color: var(--nh-green); }

/* ── Eventos — seção full-width ── */
.nh-ev-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--nh-line);
}
.nh-ev-item:last-child { border-bottom: none; }
.nh-ev-item.closed { opacity: .55; }
.nh-ev-date {
  width: 52px;
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  flex-shrink: 0;
}
.nh-ev-date.active { background: var(--nh-orange-bg); }
.nh-ev-date.closed { background: var(--nh-surface); }
.nh-ev-month {
  font-family: var(--nh-font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.nh-ev-date.active .nh-ev-month { color: var(--nh-orange); }
.nh-ev-date.closed .nh-ev-month { color: var(--nh-ink50); }
.nh-ev-day {
  font-family: var(--nh-font-mono);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}
.nh-ev-date.active .nh-ev-day { color: var(--nh-orange); }
.nh-ev-date.closed .nh-ev-day { color: var(--nh-ink50); }
.nh-ev-info { flex: 1; }
.nh-ev-title { font-size: 14px; font-weight: 600; color: var(--nh-ink); margin-bottom: 3px; }
.nh-ev-item.closed .nh-ev-title { color: var(--nh-ink70); }
.nh-ev-meta { font-family: var(--nh-font-mono); font-size: 10.5px; color: var(--nh-ink50); }

/* ── Pendências widget ── */
.nh-pend-card {
  background: #fff;
  border: 1px solid rgba(232, 85, 43, 0.28);
  border-radius: 16px;
  padding: 18px 20px;
  height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.nh-pend-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nh-line);
  margin-bottom: 0;
  flex-shrink: 0;
}
.nh-pend-title  { font-size: 15px; font-weight: 600; color: var(--nh-ink); }
.nh-pend-action { font-size: 12px; font-weight: 600; color: var(--nh-orange); text-decoration: none; cursor: pointer; }
a.nh-pend-item, .nh-pend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 6px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background .12s;
  margin: 0 -6px;
}
a.nh-pend-item:hover, .nh-pend-item:hover { background: var(--nh-orange-bg); }
.nh-pend-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(232, 85, 43, 0.12);
  border: 1.5px solid rgba(232, 85, 43, 0.35);
  color: var(--nh-orange);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.nh-pend-body  { flex: 1; min-width: 0; }
.nh-pend-label { font-size: 12.5px; font-weight: 600; color: var(--nh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 1px; }
.nh-pend-sub   { font-size: 11px; color: var(--nh-ink50); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 0; }
.nh-pend-badge { font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: rgba(232,85,43,.1); color: var(--nh-orange); letter-spacing: .06em; text-transform: uppercase; flex-shrink: 0; border: 1px solid rgba(232,85,43,.2); }

/* ── Lucide icons ── */
.nh-icon-box-accent { color: #fff; }
.nh-icon-box-soft   { color: var(--nh-orange); }
.nh-link-icon       { color: var(--nh-ink70); }
.nh-icon-box .lucide  { width: 20px; height: 20px; }
.nh-link-icon .lucide { width: 18px; height: 18px; }
.nh-btn .lucide       { width: 14px; height: 14px; flex-shrink: 0; }
.nh-link-arrow        { flex-shrink: 0; color: var(--nh-ink50); width: 16px; height: 16px; }

/* ── Footer logo ── */
#footer img { max-width: 110px; height: auto; }


/* ══════════════════════════════════════════════ HOME v2 DASHBOARD ══ */

.h2-bg {
  background: #F2F3F7 !important;
  min-height: calc(100vh - 120px);
  padding: 2.5rem 0 4rem;
  font-family: var(--nh-font-sans, 'Inter', sans-serif);
}

/* ── Card base — sobrescreve .card do Odoo/BS (escopo .h2-bg para vencer !important do tema) ── */
.h2-bg .h2-card {
  background: #fff !important;
  border-radius: 16px !important;
  border: none !important;
  overflow: hidden !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 18px rgba(0,0,0,.06) !important;
}

/* ── Stat cards ── */
.h2-bg .h2-stat {
  background: #fff !important;
  border-radius: 16px !important;
  border: none !important;
  padding: 1.4rem 1.5rem !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 18px rgba(0,0,0,.06) !important;
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
}
.h2-bg .h2-stat-dark { background-color: #1D2E3B !important; color: #fff; }

/* ── Labels (TAREFAS, CADASTRO…) ── */
.h2-lbl {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: .6rem;
}
.h2-stat-dark .h2-lbl { color: rgba(255,255,255,.42); }

/* ── Número grande nos stat cards ── */
.h2-stat-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #111827;
  margin-bottom: .45rem;
}
.h2-stat-dark .h2-stat-num { color: #fff; }

.h2-stat-foot {
  font-size: .72rem;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.h2-stat-dark .h2-stat-foot { color: rgba(255,255,255,.42); }

/* ── Botão circular ↗ no stat dark ── */
.h2-stat-arrow {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .78rem;
  transition: all .18s;
}
.h2-stat-arrow:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ── Pills/badges — sobrescreve .badge do BS ── */
.h2-pill {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  padding: 3px 10px !important;
  gap: 3px;
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  border-radius: 50px !important;
  line-height: 1.4 !important;
}
.h2-pill-light { background: rgba(255,255,255,.13) !important; color: rgba(255,255,255,.82) !important; }
.h2-pill-amber { background: #FEF3C7 !important; color: #92400E !important; }
.h2-pill-green { background: #D1FAE5 !important; color: #065F46 !important; }
.h2-pill-gray  { background: #F3F4F6 !important; color: #374151 !important; }
.h2-pill-red   { background: #FEE2E2 !important; color: #991B1B !important; }

/* ── Botões ── */
.h2-bg .btn {
  border-radius: 50px !important;
  font-size: .8rem !important;
  font-weight: 500 !important;
  padding: .42rem 1.1rem !important;
  transition: background-color .18s, border-color .18s, color .18s !important;
}
.h2-bg .btn-primary,
.h2-bg .btn-dark {
  color: #fff !important;
  background-color: #1D2E3B !important;
  border-color: #1D2E3B !important;
}
.h2-bg .btn-primary:hover, .h2-bg .btn-primary:focus,
.h2-bg .btn-dark:hover,    .h2-bg .btn-dark:focus {
  color: #fff !important;
  background-color: #2a3f52 !important;
  border-color: #2a3f52 !important;
}
.h2-bg .btn-outline-secondary {
  color: #374151 !important;
  background-color: transparent !important;
  border-color: #D1D5DB !important;
}
.h2-bg .btn-outline-secondary:hover,
.h2-bg .btn-outline-secondary:focus {
  color: #fff !important;
  background-color: #1D2E3B !important;
  border-color: #1D2E3B !important;
}

/* ── Card header — sobrescreve .card-header do BS ── */
.h2-bg .h2-card-head {
  padding: 1.2rem 1.5rem .9rem !important;
  border-bottom: 1px solid #F0F2F5 !important;
  background: transparent !important;
}
.h2-bg .h2-card-head-nb { border-bottom: none !important; }

/* ── Pendências scroll ── */
.h2-pend-body {
  max-height: 340px;
  overflow-y: auto;
}

/* ── Tarefas scroll ── */
.h2-tarefas-body {
  max-height: 340px;
  overflow-y: auto;
}

/* ── Meus Projetos scroll ── */
.h2-proj-body {
  max-height: 360px;
  overflow-y: auto;
}

/* ── Histórico de Vínculo scroll ── */
.h2-hist-body {
  max-height: 360px;
  overflow-y: auto;
}

/* ── Bolsas e Vínculos (tabela unificada) scroll ── */
.h2-bolsas-body {
  max-height: 340px;
  overflow-y: auto;
}
.h2-bolsas-body::-webkit-scrollbar { width: 4px; height: 4px; }
.h2-bolsas-body::-webkit-scrollbar-track { background: transparent; }
.h2-bolsas-body::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 2px; }

/* ── List items — sobrescreve .list-group-item do BS ── */
.h2-bg .h2-list-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: .75rem !important;
  padding: .85rem 1.25rem !important;
  border: none !important;
  border-bottom: 1px solid #F5F6F8 !important;
  border-radius: 0 !important;
  background: transparent !important;
  transition: background .12s !important;
}
.h2-bg .h2-list-item:last-child {
  border-bottom: none !important;
  border-radius: 0 0 16px 16px !important;
}
.h2-bg .h2-list-item:hover {
  background: #FAFBFC !important;
  color: inherit !important;
}

/* ── Ponto pulsante ── */
@keyframes h2-ripple {
  0%   { transform: scale(1); opacity: .5; }
  100% { transform: scale(3); opacity: 0; }
}
.h2-dot {
  position: relative; width: 10px; height: 10px;
  flex-shrink: 0; margin-top: 4px;
}
.h2-dot::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #F59E0B;
  animation: h2-ripple 1.7s ease-out infinite;
}
.h2-dot-core {
  position: relative; z-index: 1;
  width: 10px; height: 10px;
  border-radius: 50%; background: #F59E0B;
}

/* ── Cards de solicitação (foto insetada) ── */
.h2-sol-photo-wrap {
  padding: .9rem .9rem 0;
  flex-shrink: 0;
}
.h2-sol-photo {
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}
.h2-sol-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, rgba(0,0,0,.65) 100%);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: .75rem 1rem .9rem;
}
.h2-sol-badge-wrap { display: flex; justify-content: flex-end; }
.h2-sol-badge {
  background: rgba(255,255,255,.92);
  color: #1D2E3B;
  font-size: .68rem;
  font-weight: 700;
  border-radius: 50px;
  padding: .2rem .65rem;
  letter-spacing: .01em;
}
.h2-sol-overlay-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
}
.h2-sol-title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.h2-sol-cta-row { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.h2-sol-cta {
  background: #fff;
  color: #1D2E3B !important;
  border-radius: 50px;
  padding: .32rem .9rem;
  font-size: .73rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
  line-height: 1.4;
}
.h2-sol-cta:hover { background: #f0f2f5; }
.h2-sol-cta-sec {
  background: rgba(255,255,255,.18);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50px;
  padding: .28rem .8rem;
  font-size: .71rem;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
  line-height: 1.4;
}
.h2-sol-cta-sec:hover { background: rgba(255,255,255,.3); }
.h2-stat-area > .flex-fill { min-width: 0; overflow: hidden; }
.h2-sol-stat-num { font-size: 1.2rem; font-weight: 800; color: #111827; }
.h2-sol-stat-lbl { font-size: .68rem; color: #9CA3AF; margin-top: .1rem; text-transform: uppercase; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h2-stat-link { color: inherit; transition: background .15s; border-radius: 6px; }
.h2-stat-link:hover { background: rgba(0,0,0,.04); }
/* Amber — stats que exigem atenção do usuário (Pendentes, Requer ação); hover só muda fundo */
.h2-stat-link.h2-stat-warn .h2-sol-stat-num,
.h2-stat-link.h2-stat-warn .h2-sol-stat-lbl { color: #F59E0B; }
.h2-sol-vdiv { width: 1px; background: #F0F2F5; flex-shrink: 0; }

/* ── Rodapé dos cards de solicitação — sobrescreve .card-footer ── */
.h2-bg .h2-sol-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: .65rem 1.2rem !important;
  background: #FAFAFA !important;
  border-top: 1px solid #F0F2F5 !important;
  border-radius: 0 0 16px 16px !important;
}
.h2-sol-andamento {
  font-size: .75rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.h2-sol-andamento strong { color: #111827; font-weight: 700; }
.h2-sol-ver {
  font-size: .75rem;
  font-weight: 600;
  color: #1D2E3B;
  text-decoration: none;
}
.h2-sol-ver:hover { text-decoration: underline; }

/* ── Cards de curso ── */
.h2-curso-card { transition: box-shadow .15s, transform .15s; cursor: pointer; }
.h2-curso-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.12) !important; transform: translateY(-2px); }
.h2-curso-thumb {
  position: relative;
  height: 140px;
  overflow: hidden;
  flex-shrink: 0;
}
.h2-curso-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.h2-curso-cert-badge {
  position: absolute;
  top: .5rem; right: .5rem;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
}
.h2-curso-body {
  padding: .9rem 1rem 1rem;
}
.h2-curso-title {
  font-size: .85rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.h2-curso-progress-wrap {
  height: 5px;
  background: #F0F2F5;
  border-radius: 50px;
  overflow: hidden;
}
.h2-curso-progress-bar {
  height: 100%;
  border-radius: 50px;
  transition: width .3s;
}
.h2-curso-progress-done   { background: #22C55E; }
.h2-curso-progress-active { background: #E8552B; }

/* ── Tabelas (Projetos / Histórico) ── */
.h2-tbl thead th {
  font-size: .6rem !important; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: #9CA3AF;
  padding: .65rem 1rem !important; background: #FAFAFA;
  border-bottom: 1px solid #F0F2F5 !important;
  position: sticky; top: 0; z-index: 1;
}
.h2-tbl tbody td {
  font-size: .82rem; padding: .7rem 1rem !important;
  vertical-align: middle; border-bottom: 1px solid #F5F6F8;
}
.h2-tbl tbody tr:last-child td { border-bottom: none; }
.h2-tbl tbody tr:hover td { background: #FAFBFC; }

/* ══════════════════════════════════════════════════════
   NEES INTERNAL PAGES — shared across all portal/form pages
   ══════════════════════════════════════════════════════ */
.nees-page { background:#F5F6FA !important; min-height:100vh; padding:2.5rem 0; }
.nees-card {
  border-radius:16px!important;
  border:none!important;
  box-shadow:0 1px 2px rgba(0,0,0,.04),0 4px 18px rgba(0,0,0,.06)!important;
}
.nees-card > .card-header {
  background:#fff!important;
  border-bottom:1px solid #F0F2F5!important;
  border-radius:16px 16px 0 0!important;
  padding:1rem 1.5rem!important;
  font-weight:700; font-size:.9rem;
  color:#111827;
}
.nees-card > .card-footer {
  background:#FAFAFA!important;
  border-top:1px solid #F0F2F5!important;
  border-radius:0 0 16px 16px!important;
}
.nees-page-title { font-size:1.3rem; font-weight:700; color:#111827; margin-bottom:.2rem; }
.nees-page-sub   { font-size:.875rem; color:#6B7280; }
/* ── Eventos: corpo com scroll ── */
.h2-bg .h2-ev-encerrado { opacity: .45; }
.h2-bg .h2-ev-encerrado:hover { opacity: .7; }
.h2-bg .h2-eventos-body {
  flex: 1 1 0;
  max-height: 340px;
  overflow-y: auto;
  min-height: 0;
}

/* ── Evento badge (calendário compacto) ── */
.h2-bg .h2-evento-badge {
  width: 44px; min-width: 44px;
  text-align: center;
  background: #E8552B;
  border-radius: 8px;
  padding: 5px 0;
  margin-right: 12px;
  flex-shrink: 0;
}
.h2-bg .h2-evento-mes {
  display: block;
  font-size: .6rem; font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
}
.h2-bg .h2-evento-dia {
  display: block;
  font-size: 1.2rem; font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

/* ══════════════════════════════════════════════════════
   NEES LANDING PAGE (nl-*) — página pública de boas-vindas
   ══════════════════════════════════════════════════════ */

.nl-wrap {
  font-family: var(--nh-font-sans);
  color: var(--nh-ink);
  background: #fff;
}

/* ── Hero ── */
.nl-hero {
  background: var(--nh-dark);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.nl-hero-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── Eyebrow ── */
.nl-eyebrow {
  font-family: var(--nh-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--nh-orange);
  margin-bottom: 1.2rem;
}
.nl-eyebrow.dark { color: var(--nh-orange); }

/* ── Hero title ── */
.nl-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.5rem;
}
.nl-title-accent { color: var(--nh-orange); }

/* ── Hero subtitle ── */
.nl-hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,.65);
  max-width: 480px;
  margin-bottom: 0;
}

/* ── Buttons ── */
.nl-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--nh-orange);
  color: #fff !important;
  font-weight: 600;
  font-size: .95rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none !important;
  transition: background .18s, transform .15s;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.nl-btn-primary:hover { background: #d4491e; transform: translateY(-1px); color: #fff !important; }

.nl-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,.75) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: .75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.22);
  text-decoration: none !important;
  transition: border-color .18s, color .18s;
  white-space: nowrap;
}
.nl-btn-ghost:hover { border-color: rgba(255,255,255,.5); color: #fff !important; }

.nl-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--nh-dark) !important;
  font-weight: 600;
  font-size: .9rem;
  padding: .65rem 1.5rem;
  border-radius: 50px;
  border: 1.5px solid var(--nh-dark);
  text-decoration: none !important;
  transition: background .18s, color .18s;
}
.nl-btn-outline:hover { background: var(--nh-dark); color: #fff !important; }

/* ── Trust strip (hero) ── */
.nl-trust {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--nh-font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.4);
  letter-spacing: .06em;
}
.nl-trust i { color: rgba(255,255,255,.5); }
.nl-trust-sep { color: rgba(255,255,255,.2); }

/* ── Hero visual ── */
.nl-hero-visual {
  position: relative;
  width: 360px;
  height: 360px;
}
.nl-brandmark { width: 100%; height: 100%; }

/* ── Floating cards ── */
.nl-float-card {
  position: absolute;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,.22), 0 1.5px 4px rgba(0,0,0,.1);
  min-width: 170px;
}
.nl-float-top-right  { top: 10px; right: -30px; }
.nl-float-bottom-left { bottom: 24px; left: -20px; }
.nl-float-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nl-float-dot.green { background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.nl-float-label {
  font-family: var(--nh-font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--nh-ink50);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}
.nl-float-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--nh-ink);
  margin-bottom: 0;
}

/* ── Feature strip ── */
.nl-strip {
  padding: 5rem 0;
  background: var(--nh-surface);
}
.nl-strip-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid var(--nh-line);
  transition: box-shadow .2s, transform .2s;
}
.nl-strip-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.nl-strip-card-accent {
  background: var(--nh-dark);
  border-color: var(--nh-dark);
  color: #fff;
}
.nl-strip-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--nh-surface);
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  color: var(--nh-ink70);
}
.nl-strip-icon.accent { background: rgba(232,85,43,.15); color: var(--nh-orange); }
.nl-strip-card-accent .nl-strip-icon { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); }
.nl-strip-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}
.nl-strip-card-accent .nl-strip-title { color: #fff; }
.nl-strip-desc {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--nh-ink50);
  margin-bottom: 0;
}
.nl-strip-card-accent .nl-strip-desc { color: rgba(255,255,255,.6); }

/* ── Feature sections ── */
.nl-feature {
  padding: 6rem 0;
  background: #fff;
}
.nl-feature-alt { background: var(--nh-surface); }
.nl-feature-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--nh-dark);
  margin-bottom: 1.75rem;
}
.nl-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.nl-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--nh-ink70);
  line-height: 1.5;
}
.nl-feature-list li i { color: var(--nh-orange); flex-shrink: 0; margin-top: 1px; }

/* ── Image frame ── */
.nl-img-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.nl-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.nl-img-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--nh-dark);
  display: flex;
  align-items: center;
  gap: .4rem;
  letter-spacing: -.01em;
}
.nl-img-badge i { color: var(--nh-orange); }

/* ── Banner 15 anos NEES ── */
.nl-banner15 {
  border-top: 1px solid var(--nh-line);
  border-bottom: 1px solid var(--nh-line);
  overflow: hidden;   /* barreira externa contra scroll lateral */
}
.nl-banner15-wrapper {
  width: 100%;
  height: 260px;
  overflow: hidden;   /* crop das laterais no mobile */
}
.nl-banner15-img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* escala mantendo proporção, cobre o wrapper */
  object-position: center;    /* sempre centraliza — corta as bordas */
  display: block;
}
@media (min-width: 768px) {
  .nl-banner15-wrapper { height: 320px; }
}
@media (min-width: 1200px) {
  .nl-banner15-wrapper { height: 400px; }
}

/* ── Trust section ── */
.nl-trust-section {
  padding: 5rem 0;
  background: #fff;
  border-top: 1px solid var(--nh-line);
  border-bottom: 1px solid var(--nh-line);
}
.nl-nees-logo {
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
  opacity: .8;
}
.nl-trust-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--nh-ink50);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.nl-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.nl-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--nh-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--nh-ink50);
  background: var(--nh-surface);
  border: 1px solid var(--nh-line);
  border-radius: 50px;
  padding: .4rem 1rem;
}

/* ── CTA final ── */
.nl-cta {
  padding: 7rem 0;
  background: var(--nh-orange-bg);
  border-top: 1px solid rgba(232,85,43,.15);
}
.nl-cta-inner { max-width: 540px; margin: 0 auto; }
.nl-cta-eyebrow { color: var(--nh-orange) !important; }
.nl-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--nh-dark);
  margin-bottom: 1rem;
}
.nl-cta-sub {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--nh-ink50);
  margin-bottom: 2.5rem;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .nl-hero { padding: 5rem 0 4rem; }
  .nl-hero-visual { width: 280px; height: 280px; }
  .nl-float-top-right { right: 0; }
  .nl-float-bottom-left { left: 0; }
  .nl-img { height: 280px; }
}
@media (max-width: 767px) {
  .nl-hero { padding: 3.5rem 0 3rem; }
  .nl-hero-visual { width: 240px; height: 240px; }
  .nl-float-card { padding: 10px 14px; min-width: 140px; }
  .nl-float-top-right { top: 0; right: 10px; }
  .nl-float-bottom-left { bottom: 10px; left: 10px; }
  .nl-img { height: 220px; }
  .nl-feature { padding: 4rem 0; }
  .nl-cta { padding: 4.5rem 0; }
}

/* ── Central de Bolsas card buttons ── */
.h2-bolsa-btn {
  background: var(--nh-dark, #1D2E3B);
  color: #fff;
  border: 1.5px solid var(--nh-dark, #1D2E3B);
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem .75rem;
  transition: background .15s, color .15s;
}
.h2-bolsa-btn:hover { background: #14212c; color: #fff; }
.h2-bolsa-btn-outline {
  background: transparent;
  color: var(--nh-dark, #1D2E3B);
}
.h2-bolsa-btn-outline:hover { background: var(--nh-dark, #1D2E3B); color: #fff; }
