.iubhr-section, .iubhr-section *, .iubhr-viewer, .iubhr-viewer * {
  box-sizing: border-box;
}

.iubhr-section {
  --iubhr-ink: #061018;
  --iubhr-surface-a: rgba(10,43,57,0.96);
  --iubhr-surface-b: rgba(5,22,32,0.98);
  --iubhr-cyan: #19e3ff;
  --iubhr-muted: #a8bbc5;
  --iubhr-text: #f4f8fa;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--iubhr-text);
  -webkit-font-smoothing: antialiased;
}

.iubhr-wrap { max-width: 1180px; margin: 0 auto; padding: 90px 24px; }

.iubhr-eyebrow { color: #7892a0; font-size: 11px; font-weight: 800; letter-spacing: .16em; margin: 0 0 14px; }
.iubhr-eyebrow b { color: var(--iubhr-cyan); }

.iubhr-h2 { font-size: 36px; line-height: 1.08; font-weight: 800; margin: 0 0 16px; max-width: 720px; color: #f4f9fc; }
@media (min-width: 900px) { .iubhr-h2 { font-size: 48px; } }

.iubhr-lead { color: var(--iubhr-muted); font-size: 16px; line-height: 1.6; max-width: 560px; margin: 0 0 34px; }

.iubhr-carousel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.iubhr-hint { color: var(--iubhr-muted); font-size: 13px; }

.iubhr-nav { display: flex; gap: 10px; }
.iubhr-navbtn {
  width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid rgba(24,214,239,.35); background: transparent;
  color: var(--iubhr-cyan); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.iubhr-navbtn:hover { background: rgba(24,214,239,.12); }

.iubhr-rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.iubhr-rail::-webkit-scrollbar { display: none; }

.iubhr-card {
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - 15px);
  background: linear-gradient(145deg, var(--iubhr-surface-a), var(--iubhr-surface-b));
  border: 1px solid rgba(24,214,239,.3);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.2);
  cursor: zoom-in; position: relative;
}
.iubhr-card:focus-visible { outline: 3px solid var(--iubhr-cyan); outline-offset: 3px; }
@media (max-width: 900px) { .iubhr-card { flex: 0 0 82%; } }

.iubhr-card img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: #0a1a24; }

.iubhr-card-body { padding: 16px 18px 18px; }
.iubhr-card-name { font-weight: 800; font-size: 15px; color: #f4f9fc; }
.iubhr-card-tag {
  display: inline-block; margin-top: 8px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  color: var(--iubhr-cyan); background: rgba(24,214,239,.1);
  border: 1px solid rgba(24,214,239,.25);
  padding: 4px 10px; border-radius: 999px;
}

.iubhr-ampliar {
  position: absolute; top: 14px; right: 14px;
  background: var(--iubhr-cyan); color: #06131b;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px; z-index: 2;
}

.iubhr-footnote { margin-top: 28px; font-size: 13px; color: var(--iubhr-muted); display: flex; align-items: center; gap: 10px; }
.iubhr-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--iubhr-cyan); flex: none; }

/* ---------- Visualizador em tela cheia com zoom ---------- */
.iubhr-viewer {
  position: fixed; inset: 0; z-index: 999999;
  background: rgba(2,7,11,.97);
  display: flex; flex-direction: column;
  font-family: 'Inter', Arial, sans-serif; color: #f4f8fa;
}
.iubhr-viewer[hidden] { display: none !important; }
body.iubhr-lock { overflow: hidden; }

.iubhr-vbar {
  display: flex; align-items: center; gap: 8px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.iubhr-vname { font-weight: 700; font-size: 14px; margin-right: auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iubhr-vtag { color: #19e3ff; }
.iubhr-vcount { color: #a8bbc5; font-weight: 600; margin-right: 8px; font-variant-numeric: tabular-nums; }
.iubhr-vbtn {
  min-width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2); background: transparent;
  color: #fff; font: 700 15px 'Inter', Arial, sans-serif;
  cursor: pointer; padding: 0 12px; flex-shrink: 0; line-height: 1;
}
.iubhr-vbtn:hover { background: rgba(255,255,255,.08); }
.iubhr-vbtn:focus-visible, .iubhr-side:focus-visible { outline: 2px solid #19e3ff; }
.iubhr-zoomv { min-width: 52px; text-align: center; font-size: 13px; color: #a8bbc5; font-variant-numeric: tabular-nums; }

.iubhr-stage { flex: 1; position: relative; overflow: hidden; touch-action: none; cursor: grab; }
.iubhr-stage.iubhr-drag { cursor: grabbing; }
.iubhr-stage img {
  position: absolute; left: 0; top: 0;
  transform-origin: 0 0; max-width: none !important; max-height: none !important;
  width: auto; height: auto;
  user-select: none; -webkit-user-drag: none;
  border-radius: 0; box-shadow: none;
}
.iubhr-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #a8bbc5; font-size: 14px; pointer-events: none; }
.iubhr-loading[hidden] { display: none !important; }

.iubhr-side {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(6,16,24,.75);
  color: #fff; font-size: 20px; cursor: pointer; z-index: 2; padding: 0;
}
.iubhr-side:hover { background: rgba(24,214,239,.2); }
.iubhr-prev { left: 14px; }
.iubhr-next { right: 14px; }

.iubhr-vhint { padding: 8px 14px calc(10px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 12px; color: #a8bbc5; }

@media (max-width: 560px) {
  .iubhr-hide-sm { display: none; }
  .iubhr-side { width: 40px; height: 40px; font-size: 17px; }
  .iubhr-vhint { font-size: 11px; }
}
