/* Humans Behind Fintechs (Capital › aba hbf). Visual próprio: o ângulo das
   barras do F (skew de -18°) desenha barras, faixas e trajetórias.
   Cores com significado fixo: verde = fundou; azul = fintech; navy = banco;
   areia = consultoria; cinza = big tech e outras. */
.hbf, .hbf-gaveta { --hbf-skew: -18deg; --hbf-banco: var(--brand-navy); --hbf-fintech: var(--brand-blue);
  --hbf-consultoria: #c8a46a; --hbf-bigtech: #8d96a3; --hbf-outra: #c3c8cf; --hbf-fundou: var(--brand-green); }

.hbf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.hbf-head h3 { font-size: var(--wf-fs-destaque); font-weight: 700; letter-spacing: -.3px; margin: 0; color: var(--ink); }
.hbf-head p { margin: 4px 0 0; color: var(--muted); font-size: var(--wf-fs-corpo); max-width: 640px; }
.hbf-marca { display: inline-flex; gap: 3px; margin-right: 8px; vertical-align: 2px; }
.hbf-marca i { display: block; width: 5px; height: 16px; transform: skewX(var(--hbf-skew)); border-radius: 1.5px; }

/* filtros */
.hbf-filtros { position: sticky; top: 0; z-index: 5; background: var(--canvas); padding: 10px 0 12px;
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; border-bottom: 1px solid var(--line-2); margin-bottom: 18px; }
.hbf-paises { display: flex; gap: 6px; }
.hbf-pais { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; padding: 0; background: none; cursor: pointer;
  opacity: .45; transition: opacity .14s, border-color .14s; }
.hbf-pais img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.hbf-pais.is-on { opacity: 1; border-color: var(--brand-blue); }
.hbf-pais:hover { opacity: 1; }
.hbf-filtros select, .hbf-filtros input { font: inherit; font-size: var(--wf-fs-apoio); border: 1px solid var(--line); border-radius: var(--r-2);
  padding: 6px 10px; background: var(--page); color: var(--ink); }
.hbf-filtros input { min-width: 220px; }
.hbf-limpar { font-size: var(--wf-fs-apoio); color: var(--accent); background: none; border: 0; cursor: pointer; padding: 4px 2px; }
.hbf-foco { display: inline-flex; align-items: center; gap: 6px; font-size: var(--wf-fs-apoio); background: var(--accent-sf);
  color: var(--accent-dk); border-radius: var(--r-pill); padding: 4px 6px 4px 10px; font-weight: 500; }
.hbf-foco button { border: 0; background: none; color: inherit; cursor: pointer; padding: 0 4px; }

/* bloco */
.hbf-bloco { margin-bottom: 28px; }
.hbf-bloco__t { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.hbf-bloco__t h4 { font-size: var(--wf-fs-forte); font-weight: 650; margin: 0; color: var(--ink); }
.hbf-bloco__t span { font-size: var(--wf-fs-apoio); color: var(--muted); }

/* escolas */
.hbf-escolas { display: grid; grid-auto-flow: column; grid-auto-columns: 236px; gap: 12px; overflow-x: auto; padding-bottom: 6px;
  scroll-snap-type: x proximity; }
.hbf-escola { scroll-snap-align: start; text-align: left; background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3);
  padding: 14px 14px 12px; cursor: pointer; transition: border-color .14s, transform .14s; font: inherit; color: inherit; }
.hbf-escola:hover, .hbf-escola:focus-visible { border-color: var(--brand-blue); transform: translateY(-1px); outline: none; }
.hbf-escola.is-on { border-color: var(--brand-blue); box-shadow: 0 0 0 1px var(--brand-blue) inset; }
.hbf-escola__top { display: flex; align-items: center; gap: 10px; }
.hbf-escola__nome { font-weight: 650; font-size: var(--wf-fs-forte); line-height: 1.15; }
.hbf-escola__tipo { font-size: var(--wf-fs-legenda); color: var(--muted); }
.hbf-escola__num { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; }
.hbf-escola__num b { font-size: 1.6rem; font-weight: 700; letter-spacing: -.5px; color: var(--ink); line-height: 1; }
.hbf-escola__num span { font-size: var(--wf-fs-apoio); color: var(--muted); }
.hbf-escola__seg { font-size: var(--wf-fs-apoio); color: var(--ink-2); margin-top: 6px; }
.hbf-selo { display: inline-block; margin-top: 8px; font-size: var(--wf-fs-legenda); font-weight: 600; color: var(--brand-navy);
  background: #dff9ec; border-radius: var(--r-pill); padding: 2px 8px; }

/* régua inclinada (barras do F) */
.hbf-regua { display: flex; gap: 3px; margin-top: 8px; padding-left: 3px; }
.hbf-regua i { flex: 1; height: 10px; transform: skewX(var(--hbf-skew)); border-radius: 1.5px; background: var(--line-2); }

/* logo redondo */
.hbf-logo { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--hbf-outra);
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden; font-size: 11px; font-weight: 700; color: var(--ink-2); }
.hbf-logo img { width: 74%; height: 74%; object-fit: contain; }
.hbf-logo--sm { width: 24px; height: 24px; border-width: 1.5px; font-size: 9px; }
.hbf-logo--xs { width: 18px; height: 18px; border-width: 1px; font-size: 8px; }
.hbf-logo--lg { width: 48px; height: 48px; font-size: 14px; }
.hbf-logo--pessoa { background: var(--accent-sf); color: var(--accent-dk); border-color: transparent; }

/* seletor de visão */
.hbf-seletor { display: inline-flex; background: var(--line-2); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.hbf-seletor button { border: 0; background: none; font: inherit; font-size: var(--wf-fs-apoio); font-weight: 550; color: var(--ink-2);
  padding: 6px 16px; border-radius: var(--r-pill); cursor: pointer; }
.hbf-seletor button.is-on { background: var(--page); color: var(--ink); box-shadow: 0 1px 2px rgba(20,22,26,.08); }

/* legenda */
.hbf-legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--wf-fs-legenda); color: var(--muted); }
.hbf-legenda span { display: inline-flex; align-items: center; gap: 6px; }
.hbf-legenda i { width: 12px; height: 10px; transform: skewX(var(--hbf-skew)); border-radius: 1.5px; display: inline-block; }

/* ponte */
.hbf-ponte-card { background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3); padding: 18px 18px 8px; position: relative; }
.hbf-ponte-card__cab { display: flex; justify-content: space-between; font-size: var(--wf-fs-legenda); color: var(--muted);
  font-weight: 600; letter-spacing: .2px; margin-bottom: 6px; }
.hbf-ponte svg { width: 100%; height: auto; display: block; }
.hbf-ponte .fita { transition: opacity .16s; cursor: pointer; }
.hbf-ponte.foco .fita { opacity: .07; }
.hbf-ponte.foco .fita.on { opacity: .8; }
.hbf-ponte .no { cursor: pointer; }
.hbf-ponte.foco .no:not(.on) { opacity: .35; }
.hbf-ponte .no:focus { outline: none; }
.hbf-ponte .no:focus-visible .no-barra { stroke: var(--ink); stroke-width: 1.5; }
.hbf-ponte text { font-family: inherit; }
.hbf-dica { position: absolute; pointer-events: none; background: var(--brand-navy); color: #fff; font-size: var(--wf-fs-apoio);
  border-radius: var(--r-2); padding: 7px 10px; max-width: 260px; line-height: 1.35; opacity: 0; transition: opacity .12s; z-index: 4; }
.hbf-dica b { font-weight: 650; }
.hbf-dica.on { opacity: 1; }
.hbf-ponte-lista { display: none; }

/* trajetórias */
.hbf-traj-ctl { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: var(--wf-fs-apoio); color: var(--muted); margin-bottom: 10px; }
.hbf-traj-ctl select { font: inherit; border: 1px solid var(--line); border-radius: var(--r-2); padding: 4px 8px; background: var(--page); }
.hbf-resumo { background: var(--accent-sf); color: var(--accent-dk); border-radius: var(--r-2); padding: 9px 12px; font-size: var(--wf-fs-apoio); margin-bottom: 12px; }
.hbf-grupo { background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3); margin-bottom: 10px; overflow: hidden; }
.hbf-grupo__cab { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); background: var(--tint); }
.hbf-grupo__cab b { font-weight: 650; }
.hbf-grupo__cab small { color: var(--muted); font-size: var(--wf-fs-legenda); }
.hbf-grupo__cab img.bandeira { width: 14px; height: 14px; border-radius: 50%; }
.hbf-linha { display: grid; grid-template-columns: 220px 1fr; gap: 14px; align-items: center; padding: 9px 14px; cursor: pointer;
  border-top: 1px solid var(--line-2); transition: background .12s; }
.hbf-linha:first-of-type { border-top: 0; }
.hbf-linha:hover, .hbf-linha:focus-visible { background: var(--tint); outline: none; }
.hbf-linha__quem { display: flex; align-items: center; gap: 9px; min-width: 0; }
.hbf-linha__quem div { min-width: 0; }
.hbf-linha__quem b { display: block; font-weight: 600; font-size: var(--wf-fs-corpo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbf-linha__quem small { display: block; color: var(--muted); font-size: var(--wf-fs-legenda); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbf-trilha { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-left: 4px; }
.hbf-passo { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; font-size: var(--wf-fs-apoio);
  font-weight: 550; color: #fff; isolation: isolate; }
.hbf-passo::before { content: ''; position: absolute; inset: 0; transform: skewX(var(--hbf-skew)); border-radius: 3px; background: var(--c, var(--hbf-outra)); z-index: -1; }
.hbf-passo .hbf-logo { border-width: 0; }
.hbf-passo--claro { color: var(--ink); }
.hbf-passo--fundou { color: var(--brand-navy); font-weight: 650; }
.hbf-passo--fundou::before { background: var(--hbf-fundou); }
.hbf-seta { width: 14px; height: 2px; background: var(--line-3); position: relative; }
.hbf-seta::after { content: ''; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: var(--line-3); border-right: 0; }
.hbf-rotulo { font-size: var(--wf-fs-micro); color: var(--muted); font-weight: 600; letter-spacing: .3px; text-transform: none; }

/* números */
.hbf-numeros { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 12px; }
.hbf-num { background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3); padding: 16px; min-width: 0; overflow-x: auto; }
.hbf-num h5 { font-size: var(--wf-fs-corpo); font-weight: 650; margin: 0 0 2px; }
.hbf-num p { font-size: var(--wf-fs-legenda); color: var(--muted); margin: 0 0 12px; }
.hbf-pilha { display: flex; gap: 3px; height: 26px; padding-left: 4px; margin-bottom: 12px; }
.hbf-pilha i { transform: skewX(var(--hbf-skew)); border-radius: 2px; }
.hbf-pilha-leg { display: grid; gap: 6px; }
.hbf-pilha-leg div { display: flex; justify-content: space-between; font-size: var(--wf-fs-apoio); }
.hbf-pilha-leg span { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.hbf-pilha-leg i { width: 11px; height: 9px; transform: skewX(var(--hbf-skew)); border-radius: 1.5px; display: inline-block; }
.hbf-barras { display: grid; gap: 7px; }
.hbf-barra { display: grid; grid-template-columns: 118px 1fr 26px; gap: 8px; align-items: center; font-size: var(--wf-fs-apoio); }
.hbf-barra span:first-child { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbf-barra b { text-align: right; font-weight: 650; }
.hbf-barra__trilho { height: 12px; padding-left: 3px; }
.hbf-barra__trilho i { display: block; height: 100%; transform: skewX(var(--hbf-skew)); border-radius: 2px; background: var(--brand-blue); }
.hbf-matriz { width: 100%; border-collapse: collapse; font-size: var(--wf-fs-legenda); }
.hbf-matriz th { font-weight: 600; color: var(--muted); text-align: left; padding: 0 4px 6px; white-space: nowrap; }
.hbf-matriz th.r { writing-mode: vertical-rl; transform: rotate(180deg); text-align: left; height: 92px; padding: 0 0 6px; vertical-align: bottom; }
.hbf-matriz td { padding: 3px 4px; border-top: 1px solid var(--line-2); }
.hbf-matriz td.nome { white-space: nowrap; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.hbf-celula { width: 38px; height: 13px; padding-left: 3px; }
.hbf-celula i { display: block; height: 100%; transform: skewX(var(--hbf-skew)); border-radius: 2px; background: var(--brand-blue); }
.hbf-amostra { font-size: var(--wf-fs-legenda); color: var(--muted); margin-top: 10px; }

/* faixas finais */
.hbf-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.hbf-card { background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3); padding: 13px 14px; cursor: pointer;
  text-align: left; font: inherit; color: inherit; transition: border-color .14s; }
.hbf-card:hover, .hbf-card:focus-visible { border-color: var(--brand-blue); outline: none; }
.hbf-card__top { display: flex; gap: 10px; align-items: center; }
.hbf-card__top b { display: block; font-weight: 650; }
.hbf-card__top small { color: var(--muted); font-size: var(--wf-fs-legenda); }
.hbf-card p { font-size: var(--wf-fs-apoio); color: var(--ink-2); margin: 9px 0 0; }
.hbf-chip-stealth { font-size: var(--wf-fs-micro); font-weight: 700; background: var(--brand-navy); color: #fff; border-radius: var(--r-pill); padding: 2px 7px; margin-left: auto; }

/* gaveta */
.hbf-veu { position: fixed; inset: 0; background: rgba(18,48,95,.18); opacity: 0; pointer-events: none; transition: opacity .18s; z-index: 1040; }
.hbf-veu.on { opacity: 1; pointer-events: auto; }
.hbf-gaveta { position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 100vw; background: var(--page); z-index: 1041;
  border-left: 1px solid var(--line); box-shadow: -12px 0 32px rgba(18,48,95,.12); transform: translateX(100%); transition: transform .2s ease;
  display: flex; flex-direction: column; }
.hbf-gaveta.on { transform: none; }
.hbf-gaveta__cab { padding: 18px 20px 14px; border-bottom: 1px solid var(--line-2); display: flex; gap: 12px; align-items: center; }
.hbf-gaveta__cab h5 { margin: 0; font-size: var(--wf-fs-titulo); font-weight: 700; }
.hbf-gaveta__cab small { color: var(--muted); font-size: var(--wf-fs-apoio); }
.hbf-gaveta__fechar { margin-left: auto; border: 0; background: none; font-size: 20px; color: var(--muted); cursor: pointer; padding: 4px 6px; border-radius: var(--r-1); }
.hbf-gaveta__fechar:hover { background: var(--tint); color: var(--ink); }
.hbf-gaveta__corpo { overflow-y: auto; padding: 16px 20px 28px; flex: 1; }
.hbf-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-2); margin-bottom: 18px; }
.hbf-stats div { padding: 10px 12px; border-left: 1px solid var(--line-2); }
.hbf-stats div:first-child { border-left: 0; }
.hbf-stats b { display: block; font-size: 1.25rem; font-weight: 700; line-height: 1.1; }
.hbf-stats span { font-size: var(--wf-fs-legenda); color: var(--muted); }
.hbf-sec { font-size: var(--wf-fs-legenda); font-weight: 650; color: var(--muted); margin: 18px 0 8px; letter-spacing: .2px; }
.hbf-ft { border-top: 1px solid var(--line-2); }
.hbf-ft summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; }
.hbf-ft summary::-webkit-details-marker { display: none; }
.hbf-ft summary b { font-weight: 650; }
.hbf-ft summary small { color: var(--muted); font-size: var(--wf-fs-legenda); display: flex; align-items: center; gap: 5px; }
.hbf-ft summary small img { width: 12px; height: 12px; border-radius: 50%; }
.hbf-ft summary .bi { margin-left: auto; color: var(--muted); transition: transform .15s; }
.hbf-ft[open] summary .bi { transform: rotate(90deg); }
.hbf-ft__corpo { padding: 0 0 12px 44px; }
.hbf-ft__corpo p { font-size: var(--wf-fs-apoio); color: var(--ink-2); margin: 0 0 8px; }
.hbf-pessoa-li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: var(--wf-fs-apoio); }
.hbf-pessoa-li button { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); font-weight: 600; cursor: pointer; text-align: left; }
.hbf-pessoa-li button:hover { color: var(--accent); }
.hbf-pessoa-li small { color: var(--muted); }
.hbf-in { margin-left: auto; font-size: 10px; font-weight: 700; color: var(--accent); border: 1px solid currentColor; border-radius: 3px; padding: 0 4px; text-decoration: none; }
.hbf-link { font-size: var(--wf-fs-apoio); color: var(--accent); font-weight: 550; text-decoration: none; }
.hbf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hbf-chip { font-size: var(--wf-fs-legenda); background: var(--tint); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px 9px; color: var(--ink-2); }
.hbf-chip b { font-weight: 650; color: var(--ink); }
.hbf-aviso { font-size: var(--wf-fs-legenda); color: var(--muted); margin-top: 18px; }
.hbf-vazio { padding: 40px 16px; text-align: center; color: var(--muted); font-size: var(--wf-fs-corpo); }

@media (max-width: 991px) {
  .hbf-numeros { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hbf-ponte { display: none; }
  .hbf-ponte-lista { display: grid; gap: 8px; }
  .hbf-linha { grid-template-columns: 1fr; gap: 8px; }
  .hbf-filtros input { min-width: 0; flex: 1 1 100%; }
  .hbf-filtros select { flex: 1 1 40%; min-width: 0; }
  .hbf-gaveta { width: 100vw; top: auto; height: 86vh; border-radius: 16px 16px 0 0; transform: translateY(100%); border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hbf *, .hbf-gaveta, .hbf-veu { transition: none !important; }
}

/* ── Relationships & People (ficha da empresa, aba rel) ── */
.rp-resumo { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; background: var(--page); border: 1px solid var(--line);
  border-radius: var(--r-3); padding: 12px 16px; margin-bottom: 22px; font-size: var(--wf-fs-corpo); }
.rp-resumo a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px dashed var(--line-3); }
.rp-resumo a:hover { color: var(--accent); border-color: var(--accent); }
.rp-sep { color: var(--line-3); }
.rp-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.rp-pessoa { text-align: left; font: inherit; color: inherit; background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3);
  padding: 14px; cursor: pointer; transition: border-color .14s, transform .14s; display: flex; flex-direction: column; gap: 9px; }
.rp-pessoa:hover { border-color: var(--brand-blue); transform: translateY(-1px); }
.rp-pessoa__top { display: flex; align-items: center; gap: 10px; }
.rp-pessoa__quem { min-width: 0; flex: 1; }
.rp-pessoa__quem b { display: block; font-weight: 650; font-size: var(--wf-fs-forte); }
.rp-pessoa__quem small { display: block; color: var(--muted); font-size: var(--wf-fs-apoio); }
.rp-in { color: #0a66c2; font-size: 15px; align-self: flex-start; }
.rp-desde { font-size: var(--wf-fs-apoio); color: var(--ink-2); }
.rp-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.rp-chip { font-size: var(--wf-fs-legenda); font-weight: 600; border-radius: var(--r-pill); padding: 2px 8px; background: var(--tint); border: 1px solid var(--line); color: var(--ink-2); }
.rp-chip--fundador { background: #dff9ec; border-color: transparent; color: var(--brand-navy); }
.rp-chip--banco { background: #e8edf5; border-color: transparent; color: var(--brand-navy); }
.rp-chip--fintech { background: var(--accent-sf); border-color: transparent; color: var(--accent-dk); }
.rp-chip--consultoria { background: #f6efe2; border-color: transparent; color: #7a5b23; }
.rp-passou { display: flex; align-items: center; gap: 4px; font-size: var(--wf-fs-legenda); color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 9px; }
.rp-passou > span:first-child { margin-right: 4px; font-weight: 600; }
.rp-passou em { font-style: normal; margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-grupo { margin-top: 16px; }
.rp-sub { font-size: var(--wf-fs-corpo) !important; color: var(--ink-2) !important; }
.rp-vazio { background: var(--page); border: 1px dashed var(--line-3); border-radius: var(--r-3); padding: 18px; color: var(--muted); font-size: var(--wf-fs-corpo); }
.rp-alumni { text-decoration: none; display: block; }
.rp-bandeira { width: 12px; height: 12px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.rp-fundou { margin-left: auto; font-size: var(--wf-fs-micro); font-weight: 700; color: var(--brand-navy); padding: 2px 10px; position: relative; isolation: isolate; }
.rp-fundou::before { content: ''; position: absolute; inset: 0; background: var(--brand-green); transform: skewX(var(--hbf-skew)); border-radius: 3px; z-index: -1; }
.rp-filtro { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.rp-f { font: inherit; font-size: var(--wf-fs-apoio); border: 1px solid var(--line); background: var(--page); border-radius: var(--r-pill);
  padding: 4px 11px; cursor: pointer; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.rp-f i { width: 10px; height: 9px; background: var(--fam); transform: skewX(var(--hbf-skew)); border-radius: 1.5px; }
.rp-f b { font-weight: 650; color: var(--muted); }
.rp-f.is-on { border-color: var(--brand-navy); color: var(--ink); background: var(--tint); }
.rp-rels { display: grid; gap: 8px; }
.rp-rel { display: flex; gap: 12px; align-items: flex-start; background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3);
  padding: 12px 14px; position: relative; overflow: hidden; }
.rp-rel::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--fam); }
.rp-rel__corpo { min-width: 0; flex: 1; }
.rp-rel__cab { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rp-rel__cab b { font-weight: 650; }
.rp-rel__cab a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-3); }
.rp-rel__cab small { margin-left: auto; color: var(--muted); font-size: var(--wf-fs-legenda); }
.rp-tipo { font-size: var(--wf-fs-legenda); font-weight: 600; color: var(--ink-2); padding: 1px 9px; position: relative; isolation: isolate; }
.rp-tipo::before { content: ''; position: absolute; inset: 0; transform: skewX(var(--hbf-skew)); border-radius: 3px; background: var(--fam); opacity: .16; z-index: -1; }
.rp-rel p { margin: 4px 0 0; font-size: var(--wf-fs-apoio); color: var(--ink-2); }
.rp-orig { font-size: 9px; font-weight: 700; color: var(--muted); border: 1px solid var(--line-3); border-radius: 3px; padding: 0 3px; vertical-align: 1px; }
.rp-rede-card { background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3); padding: 14px 14px 12px; height: 100%; }
.rp-rede-sub { font-size: var(--wf-fs-legenda); color: var(--muted); margin: -6px 0 4px; }
.rp-rede { width: 100%; height: auto; display: block; }
@media (max-width: 767px) { .rp-rel__cab small { margin-left: 0; width: 100%; } }

/* ── Página da pessoa (pessoa.html), 16/11/2026 ── */
.pp { max-width: 1100px; }
.pp-voltar { display: inline-flex; align-items: center; gap: 6px; font-size: var(--wf-fs-apoio); color: var(--ink-2); text-decoration: none; margin-bottom: 12px; }
.pp-voltar:hover { color: var(--accent); }
.pp-topo { display: flex; align-items: center; gap: 20px; background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3);
  padding: 24px 26px; margin-bottom: 14px; position: relative; overflow: hidden; }
.pp-topo::after { content: ''; position: absolute; right: -40px; top: -30px; width: 130px; height: 160px; transform: skewX(var(--hbf-skew));
  background: linear-gradient(90deg, var(--brand-blue) 0 38%, transparent 38% 52%, var(--brand-green) 52% 100%); opacity: .12; pointer-events: none; }
.pp-avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--accent-sf); color: var(--accent-dk);
  display: inline-flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; letter-spacing: .5px; }
.pp-quem { min-width: 0; flex: 1; }
.pp-quem h1 { font-size: var(--wf-fs-display); font-weight: 700; letter-spacing: -.5px; margin: 0; color: var(--ink); line-height: 1.1; }
.pp-cargo { font-size: var(--wf-fs-forte); color: var(--ink-2); margin-top: 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pp-cargo a, .pp-cargo > span:last-child { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; text-decoration: none; }
.pp-cargo a:hover { color: var(--accent); }
.pp-em { color: var(--line-3); }
.pp-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: var(--wf-fs-apoio); color: var(--muted); }
.pp-meta span, .pp-meta a { display: inline-flex; align-items: center; gap: 6px; }
.pp-meta a { color: #0a66c2; text-decoration: none; font-weight: 550; }
.pp-bandeira { width: 14px; height: 14px; border-radius: 50%; margin-right: 4px; vertical-align: -2px; }
.pp-seguir { align-self: flex-start; position: relative; z-index: 1; }
.pp-numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.pp-num { background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3); padding: 16px 18px; }
.pp-num b { display: block; font-size: 2rem; font-weight: 700; letter-spacing: -.6px; line-height: 1; color: var(--ink); }
.pp-num span { display: block; font-size: var(--wf-fs-apoio); color: var(--muted); margin-top: 6px; }
.pp-destaques { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.pp-destaque { background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3); padding: 12px 14px 12px 18px; position: relative; overflow: hidden; }
.pp-destaque::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--d, var(--line-3)); }
.pp-destaque b { display: block; font-weight: 650; font-size: var(--wf-fs-corpo); }
.pp-destaque span { display: block; font-size: var(--wf-fs-apoio); color: var(--ink-2); margin-top: 2px; }
.pp-destaque--fundador { --d: var(--brand-green); } .pp-destaque--banco { --d: var(--brand-navy); } .pp-destaque--fintech { --d: var(--brand-blue); }
.pp-destaque--consultoria { --d: #c8a46a; } .pp-destaque--bigtech { --d: #8d96a3; } .pp-destaque--stealth { --d: var(--ink); }
.pp-traj { background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3); padding: 18px 18px 12px; }
.pp-trilha .hbf-passo { font-size: var(--wf-fs-corpo); padding: 6px 14px 6px 10px; }
.pp-trilha .hbf-logo--xs { width: 20px; height: 20px; }
.pp-empresas { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.pp-empresa { display: flex; flex-direction: column; gap: 8px; background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3);
  padding: 14px; color: inherit; text-decoration: none; transition: border-color .14s, transform .14s; }
a.pp-empresa:hover { border-color: var(--brand-blue); transform: translateY(-1px); color: inherit; }
.pp-empresa__top { display: flex; align-items: center; gap: 10px; }
.pp-empresa__top b { display: block; font-weight: 650; }
.pp-empresa__top small { display: flex; align-items: center; color: var(--muted); font-size: var(--wf-fs-legenda); }
.pp-empresa__top .rp-fundou, .pp-empresa__top .pp-tag { margin-left: auto; }
.pp-tag { font-size: var(--wf-fs-micro); font-weight: 700; color: var(--accent-dk); background: var(--accent-sf); border-radius: var(--r-pill); padding: 2px 9px; }
.pp-empresa__cargo { font-size: var(--wf-fs-apoio); color: var(--ink-2); }
.pp-empresa p { margin: 0; font-size: var(--wf-fs-apoio); color: var(--ink-2); }
.pp-link { margin-top: auto; font-size: var(--wf-fs-apoio); color: var(--accent); font-weight: 550; }
.pp-pessoas { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.pp-pessoa { display: flex; align-items: center; gap: 10px; background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3);
  padding: 10px 12px; color: inherit; text-decoration: none; transition: border-color .14s; }
.pp-pessoa:hover { border-color: var(--brand-blue); color: inherit; }
.pp-pessoa div { min-width: 0; flex: 1; }
.pp-pessoa b { display: block; font-weight: 600; font-size: var(--wf-fs-corpo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-pessoa small { display: block; color: var(--muted); font-size: var(--wf-fs-legenda); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-pessoa .bi { color: var(--line-3); }
.pp-mesmo { margin-bottom: 14px; }
.pp-mesmo__cab { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: var(--wf-fs-corpo); color: var(--ink-2); flex-wrap: wrap; }
.pp-mesmo__cab .hbf-link { margin-left: auto; }
.pp-formacao { display: flex; align-items: center; gap: 10px; background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3); padding: 12px 14px; font-size: var(--wf-fs-corpo); }
.pp-formacao .bi { font-size: 18px; color: var(--brand-blue); }
.pp-vazio { text-align: center; padding: 60px 16px; color: var(--muted); }
.pp-vazio .bi { font-size: 34px; display: block; margin-bottom: 8px; }
/* "Ver perfil" nos cards da ficha e no HBF */
.rp-verperfil { font-size: var(--wf-fs-apoio); color: var(--accent); font-weight: 550; text-decoration: none; margin-top: auto; }
.rp-verperfil:hover { text-decoration: underline; }
.hbf-perfil-btn { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.hbf-nome-link { color: inherit; text-decoration: none; }
.hbf-nome-link:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 767px) {
  .pp-topo { flex-wrap: wrap; padding: 18px; }
  .pp-avatar { width: 60px; height: 60px; font-size: 21px; }
  .pp-seguir { width: 100%; }
  .pp-numeros { gap: 8px; }
  .pp-num { padding: 12px; }
  .pp-num b { font-size: 1.5rem; }
  .pp-traj { overflow-x: auto; }
  .pp-trilha { flex-wrap: nowrap; width: max-content; }
}
.rp-fund { color: var(--accent); cursor: pointer; }
.rp-fund:hover { text-decoration: underline; }
.rp-pessoa:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* aba Pessoas da busca avançada */
.sp-quem { display: flex; align-items: center; gap: 9px; }
.sp-quem a { color: var(--ink); text-decoration: none; }
.sp-quem a:hover { color: var(--accent); }
.sp-ini { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-sf); color: var(--accent-dk); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.sp-logos { display: flex; align-items: center; gap: 3px; }
.sp-logo { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; font-size: 9px; font-weight: 700; color: var(--ink-2); flex: none; }
.sp-logo img { width: 74%; height: 74%; object-fit: contain; }
.sp-emp { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }

/* ===================================================== Emerging Fintechs
   16/11/2026 (pages/capital-emerging.js). Mesma família do HBF: barras no
   ângulo do F, cores fixas por origem, verde = fundou. Cartões claros com
   régua fina, sem sombra pesada nem degradê. */
.ef-head h3 { display: flex; align-items: center; }
.ef-legenda { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--wf-fs-apoio); color: var(--muted); }
.ef-legenda span { display: inline-flex; align-items: center; gap: 6px; }
.ef-legenda i, .ef-chip i, .ef-kpi__origem i { width: 11px; height: 10px; display: inline-block; transform: skewX(var(--hbf-skew)); border-radius: 1.5px; }
.ef-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 12px; margin-bottom: 18px; }
.ef-kpi { background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3); padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-width: 0; }
.ef-kpi b { font-size: var(--wf-fs-display); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.ef-kpi span { font-size: var(--wf-fs-apoio); color: var(--muted); }
.ef-kpi__origem { display: inline-flex; align-items: center; gap: 8px; font-size: var(--wf-fs-titulo) !important; letter-spacing: -.01em !important; }
.ef-kpi__origem i { width: 14px; height: 14px; }
.ef-meses { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; height: 64px; align-items: end; }
.ef-mes { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; justify-content: flex-end; }
.ef-mes i { display: block; width: 62%; background: var(--hbf-fundou); transform: skewX(var(--hbf-skew)); border-radius: 1.5px; }
.ef-mes i.is-zero { background: var(--line-2); }
.ef-mes small { font-size: 10px; color: var(--muted); text-transform: lowercase; }
.ef-filtros { gap: 10px 12px; }
.ef-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ef-chip { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: var(--wf-fs-apoio); font-weight: 500; padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--page); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.ef-chip:hover { border-color: var(--brand-navy); }
.ef-chip[aria-pressed="true"] { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }
.ef-chip--sm { padding: 5px 10px; }
.ef-chips--periodo { margin-left: auto; }
.ef-conta { font-size: var(--wf-fs-apoio); color: var(--muted); margin: 0 0 10px; }
.ef-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 14px; }
.ef-card { position: relative; background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px;
  transition: border-color .15s; }
.ef-card:hover { border-color: var(--brand-navy); }
.ef-card.is-nova::before { content: ''; position: absolute; left: 18px; top: 0; width: 34px; height: 4px; background: var(--hbf-fundou); transform: skewX(var(--hbf-skew)); border-radius: 0 0 2px 2px; }
.ef-card__topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: var(--wf-fs-apoio); }
.ef-idade { color: var(--muted); }
.ef-card.is-nova .ef-idade { color: #0a7a45; font-weight: 600; }
.ef-ativ { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--canvas); color: var(--ink-2); font-weight: 500; }
.ef-nome { margin: 2px 0 0; font-size: var(--wf-fs-destaque); font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.ef-onde { margin: 0; font-size: var(--wf-fs-apoio); color: var(--muted); }
.ef-bc { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: var(--wf-fs-micro); font-weight: 600; color: var(--brand-navy);
  background: rgba(18, 48, 95, .07); border-radius: var(--r-pill); padding: 3px 10px; }
.ef-funds { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 4px; }
.ef-funds__rot { font-size: var(--wf-fs-micro); font-weight: 650; color: var(--muted); }
.ef-fund { display: flex; gap: 10px; align-items: flex-start; }
.ef-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--page); border: 2px solid var(--hbf-fundou);
  color: var(--brand-navy); font-weight: 700; font-size: var(--wf-fs-apoio); text-decoration: none; }
.ef-fund--travado .ef-av { border-color: var(--line); color: var(--muted); }
.ef-fund__tx { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ef-fund__nome { font-weight: 650; color: var(--ink); text-decoration: none; }
.ef-fund__nome:hover { text-decoration: underline; }
.ef-origens { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.ef-veio { font-size: var(--wf-fs-micro); color: var(--muted); margin-right: 2px; }
.ef-origem { position: relative; z-index: 0; display: inline-flex; align-items: center; gap: 5px; font-size: var(--wf-fs-micro); font-weight: 600; padding: 2px 9px; color: var(--ink); }
.ef-origem::before { content: ''; position: absolute; inset: 0; transform: skewX(var(--hbf-skew)); border-radius: 3px; background: var(--fam); opacity: .16; z-index: -1; }
.ef-origem::after { content: ''; position: absolute; left: 2px; top: 3px; bottom: 3px; width: 3px; transform: skewX(var(--hbf-skew)); background: var(--fam); border-radius: 1px; }
.ef-origem img { width: 14px; height: 14px; border-radius: 50%; object-fit: contain; background: #fff; margin-left: 4px; }
.ef-outros { font-size: var(--wf-fs-apoio); color: var(--muted); }
.ef-acoes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.ef-travado { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 14px 16px; border-radius: var(--r-3); background: var(--canvas); border: 1px dashed var(--line); font-size: var(--wf-fs-apoio); }
.ef-travado span { flex: 1; min-width: 200px; }
.ef-vazio { text-align: center; padding: 40px 16px 48px; background: var(--page); border: 1px solid var(--line); border-radius: var(--r-3); }
.ef-vazio h4 { margin: 18px 0 6px; font-size: var(--wf-fs-titulo); font-weight: 700; color: var(--ink); }
.ef-vazio p { margin: 0 auto 18px; max-width: 520px; color: var(--muted); }
.ef-vazio__arte { display: inline-flex; gap: 6px; align-items: flex-end; height: 46px; }
.ef-vazio__arte i { width: 12px; transform: skewX(var(--hbf-skew)); border-radius: 2px; }
.ef-vazio__arte i:nth-child(1) { height: 40%; } .ef-vazio__arte i:nth-child(2) { height: 65%; } .ef-vazio__arte i:nth-child(3) { height: 50%; } .ef-vazio__arte i:nth-child(4) { height: 100%; }
.ef-vazio--filtro { padding: 28px 16px; }
@media (max-width: 1100px) { .ef-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ef-kpi--meses { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .ef-kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ef-kpi:nth-child(3) { grid-column: 1 / -1; }
  .ef-chips--periodo { margin-left: 0; }
  .ef-filtros input, .ef-filtros select { flex: 1 1 140px; min-width: 0; }
  .ef-legenda { display: none; }
}
/* página da pessoa: a Emerging Fintech que ela abriu (16/11/2026) */
.pp-ef { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r-3); text-decoration: none; color: var(--ink);
  background: rgba(47, 240, 138, .10); border: 1px solid rgba(47, 240, 138, .45); margin-bottom: 8px; }
.pp-ef .rp-fundou { margin-left: 0; }
.pp-ef span:nth-child(2) { flex: 1; min-width: 200px; font-weight: 600; }
.pp-ef:hover { border-color: var(--hbf-fundou); }
