/**
 * Layout inspirado na home de https://bvirtual.com.br/ (Biblioteca Virtual)
 * Escopo: body.repo-layout-bvirtual
 */

:root {
  --bv-navy: #003d6b;
  --bv-navy-dark: #002a4a;
  /* Degradé institucional UAN (referência: #0099BC → #00B7D4 → #00D2DF) */
  --bv-cyan-start: #0099bc;
  --bv-cyan-mid: #00b7d4;
  --bv-cyan-end: #00d2df;
  /* Referência #0dc5db — usar em degradés sobretudo com opacidade baixa + radial ao centro */
  --bv-cyan-pop: #0dc5db;
  --bv-cyan-pop-rgb: 13, 197, 219;
  --bv-cyan-rgb: 0, 153, 188;
  --bv-cyan-bright-rgb: 0, 210, 223;
  /* Acento sólido ≈ meio do degradé (links, ícones, focus) */
  --bv-teal: #00a8c4;
  --bv-teal-dark: #0089a5;
  --bv-text: #3d4f5f;
  --bv-muted: #6b7c8c;
  --bv-nav-h: 72px;
  --bv-header-total: var(--bv-nav-h);
  --bv-brand-grad: linear-gradient(135deg, var(--bv-cyan-start) 0%, var(--bv-cyan-mid) 50%, var(--bv-cyan-end) 100%);
  /* Mesmo degradé do botão «Aceder ao catálogo público» (.bv-stat-hero__btn) */
  --bv-brand-grad-h: linear-gradient(90deg, var(--bv-cyan-start) 0%, var(--bv-cyan-mid) 50%, var(--bv-cyan-end) 100%);
  --bv-grad-catalogo-publico: var(--bv-brand-grad-h);
  /* CTAs: ligeiro ângulo para profundidade */
  --bv-brand-grad-cta: linear-gradient(105deg, var(--bv-cyan-start) 0%, var(--bv-cyan-mid) 48%, var(--bv-cyan-end) 100%);
  --bv-surface-page: #f3fafc;
  --bv-page-bg-layers:
    radial-gradient(ellipse 115% 85% at 100% -8%, rgba(var(--bv-cyan-rgb), 0.11) 0%, transparent 52%),
    radial-gradient(ellipse 90% 65% at -6% 55%, rgba(var(--bv-cyan-bright-rgb), 0.08) 0%, transparent 48%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 61, 107, 0.04) 0%, transparent 45%),
    linear-gradient(180deg, #f5fbfc 0%, #fafefe 42%, #ffffff 100%);
}

body.repo-layout-bvirtual {
  padding-top: 0 !important;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
}

/* Fundo suave institucional — páginas públicas BV (portal tem fundo próprio em portal-app.css) */
body.repo-layout-bvirtual:not(.portal-body) {
  background-color: var(--bv-surface-page);
  background-image: var(--bv-page-bg-layers);
}

@media (prefers-reduced-motion: reduce) {
  body.repo-layout-bvirtual {
    scroll-behavior: auto;
  }
}

body.repo-layout-bvirtual:not(.portal-body) ::selection {
  background: rgba(var(--bv-cyan-rgb), 0.28);
  color: var(--bv-navy-dark);
}

/* Acessibilidade */
.bv-skip:focus {
  position: fixed;
  top: 6px;
  left: 12px;
  z-index: 1100;
  padding: 0.5rem 1rem;
  background: var(--bv-navy);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.bv-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow:
    0 1px 0 rgba(0, 61, 107, 0.06),
    0 10px 40px rgba(0, 61, 107, 0.045);
}

/* Faixa de degradé institucional sob o navbar (identidade do logotipo) */
.bv-header-wrap::after {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  background: var(--bv-brand-grad-h);
  opacity: 0.95;
}

/* Navbar principal */
.bv-navbar {
  min-height: var(--bv-nav-h);
  background: #fff !important;
  padding: 0.35rem 0;
}

.bv-navbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.bv-navbar__toggler {
  border-color: rgba(0, 61, 107, 0.2) !important;
  padding: 0.35rem 0.55rem;
}

.bv-navbar .navbar-toggler-icon {
  filter: invert(20%) sepia(40%) saturate(2000%) hue-rotate(170deg);
}

.bv-brand__mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bv-brand-grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.bv-brand__logo-wrap {
  line-height: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bv-brand__logo {
  height: 56px;
  width: auto;
  max-height: 56px;
  max-width: 48px;
  object-fit: contain;
  display: block;
  filter: contrast(1.12) saturate(1.06) drop-shadow(0 1px 1px rgba(0, 61, 107, 0.12));
}

.bv-brand__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.bv-brand__line1 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bv-muted);
}

.bv-brand__line2 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bv-navy);
}

.bv-nav__link {
  color: var(--bv-text) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  padding: 0.45rem 0.65rem !important;
  border-radius: 6px;
  position: relative;
}

.bv-nav__link:hover {
  color: var(--bv-navy) !important;
  background: rgba(var(--bv-cyan-rgb), 0.09) !important;
}

.bv-nav__link--active {
  color: var(--bv-navy) !important;
}

.bv-nav__link--active::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--bv-brand-grad-h);
}

.bv-dropdown {
  border-radius: 12px !important;
  padding: 0.35rem 0;
  box-shadow: 0 12px 40px rgba(0, 61, 107, 0.12) !important;
}

/* Serviços / Bibliotecas Especializadas: dropdown hover (lg+) — entrada suave, sem lutar com transform do Popper */
@media (min-width: 992px) {
  .bv-header-wrap .bv-nav-dropdown--hover > .dropdown-menu.bv-dropdown--nav-hover {
    display: block !important;
    margin-top: 0.35rem !important;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    border: 1px solid rgba(0, 61, 107, 0.08) !important;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.95) inset,
      0 18px 50px rgba(0, 61, 107, 0.11),
      0 6px 16px rgba(0, 42, 74, 0.06) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.22s ease,
      visibility 0.22s ease,
      box-shadow 0.22s ease;
  }

  .bv-header-wrap .bv-nav-dropdown--hover > .dropdown-menu.bv-dropdown--nav-hover.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .bv-header-wrap .bv-nav-dropdown--hover > .dropdown-menu.bv-dropdown--nav-hover::before {
    content: "";
    display: block;
    height: 2px;
    margin: -0.2rem 0.65rem 0.4rem;
    border-radius: 2px;
    background: linear-gradient(
      90deg,
      rgba(0, 153, 188, 0.35) 0%,
      rgba(0, 183, 212, 0.55) 50%,
      rgba(0, 210, 223, 0.35) 100%
    );
    opacity: 0.95;
  }

  .bv-header-wrap .bv-nav-dropdown--hover:hover > .dropdown-toggle,
  .bv-header-wrap .bv-nav-dropdown--hover:focus-within > .dropdown-toggle {
    color: var(--bv-navy) !important;
    background: rgba(var(--bv-cyan-rgb), 0.1) !important;
  }

  .bv-header-wrap .bv-nav-dropdown--hover > .dropdown-toggle::after {
    transition: transform 0.22s ease;
  }

  .bv-header-wrap .bv-nav-dropdown--hover > .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(-180deg);
  }

  .bv-header-wrap .bv-nav-dropdown--hover .dropdown-item {
    border-radius: 8px;
    margin: 0.08rem 0.4rem;
    padding: 0.42rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition:
      background-color 0.16s ease,
      color 0.16s ease,
      padding-left 0.16s ease;
  }

  .bv-header-wrap .bv-nav-dropdown--hover .dropdown-item:hover,
  .bv-header-wrap .bv-nav-dropdown--hover .dropdown-item:focus {
    background: rgba(var(--bv-cyan-rgb), 0.12);
    color: var(--bv-navy);
    padding-left: 0.85rem;
  }

  .bv-header-wrap .bv-nav-dropdown--hover .dropdown-header {
    padding-left: 1rem;
    padding-right: 1rem;
    letter-spacing: 0.05em;
    color: #64748b;
  }
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
  .bv-header-wrap .bv-nav-dropdown--hover > .dropdown-menu.bv-dropdown--nav-hover {
    transition: none;
  }

  .bv-header-wrap .bv-nav-dropdown--hover > .dropdown-toggle::after {
    transition: none;
  }

  .bv-header-wrap .bv-nav-dropdown--hover .dropdown-item {
    transition: none;
  }
}

/* Menu da conta: mais leve e institucional */
body.repo-layout-bvirtual .bv-dropdown--account {
  padding: 0.45rem 0;
  border-radius: 14px !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 40px rgba(0, 61, 107, 0.09),
    0 2px 8px rgba(0, 42, 74, 0.04) !important;
  border: 1px solid rgba(0, 61, 107, 0.08) !important;
}

body.repo-layout-bvirtual .bv-dropdown--account .dropdown-item {
  border-radius: 8px;
  margin: 0 0.35rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bv-text);
}

body.repo-layout-bvirtual .bv-dropdown--account .dropdown-item:hover,
body.repo-layout-bvirtual .bv-dropdown--account .dropdown-item:focus {
  background: rgba(0, 61, 107, 0.06);
  color: var(--bv-navy);
}

body.repo-layout-bvirtual .bv-dropdown--account .dropdown-divider {
  margin: 0.35rem 0.65rem;
  border-color: rgba(0, 61, 107, 0.08);
}

/* Dropdown «Bibliotecas Especializadas» — sigla UO com cor do tema BV (lista tipo Comunidades/coleções) */
.bv-header-wrap .repo-uo-item-sigla {
  color: var(--bv-navy) !important;
}

.bv-btn-teal {
  --bs-btn-bg: var(--bv-cyan-start);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: var(--bv-teal-dark);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.45rem 1.15rem;
  border-radius: 8px;
  border: none;
  background-image: var(--bv-brand-grad-h) !important;
  box-shadow: 0 4px 16px rgba(var(--bv-cyan-rgb), 0.32);
  transition:
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

body.repo-layout-bvirtual .bv-btn-teal:hover,
body.repo-layout-bvirtual .bv-btn-teal:focus-visible {
  background-image: var(--bv-brand-grad-h) !important;
  filter: brightness(1.04);
  box-shadow: 0 6px 20px rgba(var(--bv-cyan-rgb), 0.38);
}

.bv-btn-navy {
  --bs-btn-bg: var(--bv-navy);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: var(--bv-navy-dark);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.45rem 1.15rem;
  border-radius: 8px;
  border: none;
  background-image: linear-gradient(125deg, var(--bv-navy-dark) 0%, var(--bv-navy) 38%, var(--bv-cyan-start) 100%) !important;
  box-shadow: 0 3px 16px rgba(0, 61, 107, 0.2);
  transition:
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

body.repo-layout-bvirtual .bv-navbar__ctas .bv-btn-navy:hover,
body.repo-layout-bvirtual .bv-navbar__ctas .bv-btn-navy:focus-visible {
  background-image: linear-gradient(125deg, var(--bv-navy) 0%, #005f8c 45%, var(--bv-cyan-mid) 100%) !important;
  box-shadow: 0 5px 22px rgba(var(--bv-cyan-rgb), 0.28);
  filter: brightness(1.03);
}

/* Conta autenticada: pill suave, institucional (sem bloco navy pesado) */
body.repo-layout-bvirtual .bv-navbar-account-btn {
  --bs-btn-bg: rgba(0, 61, 107, 0.05);
  --bs-btn-border-color: rgba(0, 61, 107, 0.12);
  --bs-btn-color: var(--bv-navy);
  --bs-btn-hover-bg: rgba(0, 61, 107, 0.09);
  --bs-btn-hover-border-color: rgba(0, 61, 107, 0.18);
  --bs-btn-hover-color: var(--bv-navy-dark);
  --bs-btn-active-bg: rgba(0, 61, 107, 0.11);
  --bs-btn-active-border-color: rgba(0, 61, 107, 0.22);
  --bs-btn-active-color: var(--bv-navy-dark);
  --bs-btn-focus-shadow-rgb: 0, 61, 107;
  gap: 0.55rem;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.25;
  border-radius: 999px;
  border-width: 1px;
  box-shadow: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body.repo-layout-bvirtual .bv-navbar-account-btn:hover {
  box-shadow: 0 2px 14px rgba(0, 61, 107, 0.07);
}

body.repo-layout-bvirtual .bv-navbar-account-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 61, 107, 0.12);
}

body.repo-layout-bvirtual .bv-navbar-account-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(0, 61, 107, 0.1);
  color: var(--bv-navy);
  font-size: 0.88rem;
}

body.repo-layout-bvirtual .bv-navbar-account-text {
  min-width: 0;
  max-width: 11rem;
}

body.repo-layout-bvirtual .bv-navbar-account-line--nome {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--bv-navy);
}

body.repo-layout-bvirtual .bv-navbar-account-line--perfil {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--bv-muted);
  margin-top: 0.08rem;
}

body.repo-layout-bvirtual .bv-navbar-account-btn::after {
  margin-left: 0.15rem;
  opacity: 0.55;
  vertical-align: 0.08em;
}

/* Conteúdo abaixo do header fixo */
.bv-page {
  padding-top: var(--bv-header-total);
}

/* Pesquisa por UO (BV): estilos só em section.repo-uo-search-hero — título UO, textos e campo pesquisar */
body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero {
  margin-top: calc(-1 * var(--bv-nav-h));
  padding-top: calc(var(--bv-nav-h) + 2rem);
  padding-bottom: 2rem;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero.bv-repo-search-hero {
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(0, 183, 212, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #f4fbfd 0%, #eef8fa 48%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 153, 188, 0.14);
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-hero-inner {
  text-align: center;
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  /* Respiro suave entre o topo da faixa do hero e o conteúdo (breadcrumb, títulos, pesquisa) */
  padding-top: clamp(0.65rem, 1.5vw, 1.1rem);
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-hero__layout:not(.repo-uo-search-hero__layout--with-brand) {
  max-width: min(56rem, 100%);
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-hero__layout--with-brand {
  max-width: none;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-hero__brand {
  opacity: 0.76;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-hero__brand:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-hero__logo {
  max-height: 4.75rem;
  max-width: min(6.75rem, 26vw);
  filter: drop-shadow(0 2px 16px rgba(0, 61, 107, 0.1));
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-hero-search-shell {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-hero__layout--with-brand .repo-uo-hero-search-shell {
  max-width: min(49rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

/* Pesquisa — Nosso Acervo + UO: cartão branco + botão ciano (identidade anexo) */
body.repo-layout-bvirtual.repo-page-nosso-acervo section.repo-acervo-hero.bv-repo-search-hero .repo-acervo-hero-search-shell {
  width: 100%;
  max-width: min(48rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero.bv-repo-search-hero .repo-search-shell.bv-repo-search-shell,
body.repo-layout-bvirtual.repo-page-nosso-acervo section.repo-acervo-hero.bv-repo-search-hero .repo-search-shell.bv-repo-search-shell {
  padding: 0.55rem 0.65rem !important;
  background: #fff !important;
  border: 1px solid rgba(0, 153, 188, 0.2) !important;
  border-radius: 14px !important;
  box-shadow:
    0 4px 24px rgba(0, 61, 107, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.95) inset !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero.bv-repo-search-hero .repo-search-input,
body.repo-layout-bvirtual.repo-page-nosso-acervo section.repo-acervo-hero.bv-repo-search-hero .repo-search-input {
  border-radius: 10px !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  background: #fff !important;
  min-height: 2.65rem;
  box-shadow: none;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero.bv-repo-search-hero .repo-search-input:focus,
body.repo-layout-bvirtual.repo-page-nosso-acervo section.repo-acervo-hero.bv-repo-search-hero .repo-search-input:focus {
  border-color: rgba(0, 183, 212, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(0, 153, 188, 0.12) !important;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero.bv-repo-search-hero .repo-search-submit.btn,
body.repo-layout-bvirtual.repo-page-nosso-acervo section.repo-acervo-hero.bv-repo-search-hero .repo-search-submit.btn {
  --bs-btn-bg: var(--bv-cyan-start);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-bg: var(--bv-teal-dark);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--bv-teal-dark);
  --bs-btn-active-border-color: transparent;
  --bs-btn-active-color: #fff;
  --bs-btn-focus-shadow-rgb: 0, 153, 188;
  background: var(--bv-brand-grad-h) !important;
  background-color: var(--bv-cyan-start) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.02em;
  min-height: 2.65rem;
  padding-left: 1.15rem !important;
  padding-right: 1.15rem !important;
  box-shadow: 0 4px 16px rgba(var(--bv-cyan-rgb), 0.35);
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero.bv-repo-search-hero .repo-search-submit.btn:hover,
body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero.bv-repo-search-hero .repo-search-submit.btn:focus-visible,
body.repo-layout-bvirtual.repo-page-nosso-acervo section.repo-acervo-hero.bv-repo-search-hero .repo-search-submit.btn:hover,
body.repo-layout-bvirtual.repo-page-nosso-acervo section.repo-acervo-hero.bv-repo-search-hero .repo-search-submit.btn:focus-visible {
  background: var(--bv-brand-grad-h) !important;
  color: #fff !important;
  filter: brightness(1.05);
  transform: none;
  box-shadow: 0 6px 22px rgba(var(--bv-cyan-rgb), 0.42);
}

/* Hero pesquisa UO: bloco UO sem cartão, tipografia sóbria */
body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-hgroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-uo-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: min(38rem, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-uo-sub__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0 0 0.75rem;
  width: 100%;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  border-bottom: none;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-uo-sub__sigla {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bv-navy);
  background: rgba(0, 61, 107, 0.06);
  border: 1px solid rgba(0, 61, 107, 0.12);
  box-shadow: none;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-uo-sub__nome {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--bv-navy);
  text-wrap: balance;
  max-width: 32rem;
}

body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-uo-sub__eyebrow {
  margin: 0;
  padding-top: 0.65rem;
  width: 100%;
  text-align: center;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bv-muted);
}

@media (max-width: 575.98px) {
  body.repo-layout-bvirtual.repo-page-uo-search section.repo-uo-search-hero .repo-uo-search-uo-sub__head {
    gap: 0.55rem;
    padding-bottom: 0.65rem;
  }
}

/* —— Hero (home): fundo suave, tipografia e CTAs discretos — institucional UAN —— */
.bv-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fafcfd 0%, #f5f9fb 40%, #f1f6f8 100%);
  padding: 2.15rem 0 2.65rem;
  border-bottom: 1px solid rgba(0, 61, 107, 0.055);
}

.bv-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bv-hero__blob {
  position: absolute;
  border-radius: 50%;
  opacity: 1;
}

.bv-hero__blob--1 {
  width: min(68vw, 480px);
  height: min(68vw, 480px);
  background: radial-gradient(circle at 38% 38%, rgba(var(--bv-cyan-rgb), 0.11) 0%, transparent 70%);
  top: -18%;
  right: -12%;
}

.bv-hero__blob--2 {
  width: min(88vw, 640px);
  height: min(48vw, 360px);
  background: radial-gradient(ellipse at 50% 55%, rgba(0, 61, 107, 0.04) 0%, transparent 74%);
  bottom: -22%;
  left: -28%;
}

.bv-hero__title {
  font-size: clamp(1.75rem, 4.6vw, 2.65rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--bv-navy);
  margin: 0 0 1.1rem;
  text-wrap: balance;
}

.bv-hero__title--stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-wrap: balance;
}

@media (min-width: 992px) {
  .bv-hero__title--stack {
    align-items: flex-start;
  }
}

.bv-hero__title-line {
  display: block;
  max-width: 100%;
}

.bv-hero__title-line--1 {
  line-height: 1.15;
}

.bv-hero__title-line--2 {
  font-size: clamp(1.05rem, 2.75vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--bv-muted);
}

.bv-hero__lead {
  font-size: clamp(0.98rem, 1.9vw, 1.1rem);
  line-height: 1.68;
  color: var(--bv-muted);
  max-width: 34rem;
  margin: 0 0 1.5rem;
}

.bv-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin-bottom: 1.5rem;
}

.bv-hero__btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: #fff !important;
  background: var(--bv-navy) !important;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(0, 61, 107, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bv-hero__btn-navy:hover {
  color: #fff !important;
  filter: brightness(1.05);
  box-shadow: 0 4px 20px rgba(0, 61, 107, 0.18);
  transform: translateY(-1px);
}

.bv-hero__btn-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--bv-navy-dark) !important;
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  border: 1.5px solid rgba(var(--bv-cyan-rgb), 0.42);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.bv-hero__btn-teal:hover {
  color: var(--bv-navy) !important;
  background: rgba(var(--bv-cyan-rgb), 0.09) !important;
  border-color: rgba(var(--bv-cyan-rgb), 0.58);
  box-shadow: 0 2px 12px rgba(var(--bv-cyan-rgb), 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .bv-hero__btn-navy:hover {
    transform: none;
  }
}

.bv-hero__search .repo-search-shell {
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  background: #fff !important;
  box-shadow: 0 8px 30px rgba(0, 61, 107, 0.06) !important;
  max-width: 100%;
}

@media (min-width: 992px) {
  .bv-hero__search .repo-search-shell {
    max-width: 28rem;
  }
}

.bv-hero__search .repo-search-submit {
  background: var(--bv-brand-grad-h) !important;
  border: none !important;
  border-radius: 8px !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(var(--bv-cyan-rgb), 0.28);
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.bv-hero__search .repo-search-submit:hover,
.bv-hero__search .repo-search-submit:focus-visible {
  filter: brightness(1.04);
  box-shadow: 0 6px 18px rgba(var(--bv-cyan-rgb), 0.34);
}

/* Coluna imagem / ilustração */
.bv-hero__media {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .bv-hero__media {
    min-height: 560px;
  }
}

.bv-hero__slant {
  position: absolute;
  top: 8%;
  bottom: 8%;
  right: 0;
  width: 46%;
  max-width: 420px;
  background: linear-gradient(
    158deg,
    rgba(0, 42, 74, 0.06) 0%,
    rgba(0, 61, 107, 0.075) 48%,
    rgba(0, 153, 188, 0.055) 100%
  );
  border-radius: 26px;
  transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 1px 2px rgba(0, 61, 107, 0.04);
  border: 1px solid rgba(0, 61, 107, 0.06);
  z-index: 0;
}

.bv-hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 61, 107, 0.1));
}

.bv-hero__nodes {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.bv-hero__node {
  position: absolute;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.98rem;
  box-shadow: 0 6px 18px rgba(0, 61, 107, 0.12);
}

.bv-hero__node--1 {
  top: 12%;
  left: 4%;
  background: linear-gradient(145deg, #1a5f8a, var(--bv-navy));
  transform: rotate(-10deg);
  opacity: 0.92;
}

.bv-hero__node--2 {
  top: 5%;
  right: 22%;
  width: 3.15rem;
  height: 3.15rem;
  font-size: 1.08rem;
  background: var(--bv-brand-grad);
  transform: rotate(6deg);
  opacity: 0.9;
}

.bv-hero__node--3 {
  bottom: 18%;
  right: 6%;
  background: linear-gradient(145deg, var(--bv-teal), var(--bv-cyan-start));
  transform: rotate(11deg);
  opacity: 0.9;
}

.bv-hero__wires {
  position: absolute;
  inset: 10% 8% 20% 10%;
  z-index: 1;
  width: auto;
  height: auto;
  opacity: 0.75;
}

/* —— Hero: carrossel (3 slides, transição suave) —— */
.bv-hero__carousel {
  position: relative;
  outline: none;
}

.bv-hero__carousel:focus-visible {
  outline: 2px solid var(--bv-teal);
  outline-offset: 6px;
  border-radius: 8px;
}

/* Texto e imagem alternam; botões ficam fora (.bv-hero__actions--static) */
.bv-hero__text-slides-wrap {
  position: relative;
  min-height: clamp(12.5rem, 34vw, 17.5rem);
}

@media (max-width: 767.98px) {
  .bv-hero__text-slides-wrap {
    min-height: clamp(11rem, 48vw, 15rem);
  }
}

.bv-hero__image-slides-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: clamp(280px, 62vw, 440px);
}

@media (min-width: 992px) {
  .bv-hero__image-slides-wrap {
    min-height: 420px;
  }
}

.bv-hero__actions--static {
  margin-top: 1.35rem;
  margin-bottom: 0;
}

.bv-hero__slide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 1.4s cubic-bezier(0.45, 0, 0.25, 1),
    visibility 0s linear 1.4s;
  z-index: 0;
}

.bv-hero__image-slides-wrap .bv-hero__slide--media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bv-hero__slide--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition:
    opacity 1.4s cubic-bezier(0.45, 0, 0.25, 1),
    visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .bv-hero__slide {
    transition: none;
  }

  .bv-hero__slide--active {
    transition: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .bv-hero__slide--active .bv-hero__title,
  .bv-hero__slide--active .bv-hero__lead {
    animation: bvHeroTextIn 1.15s cubic-bezier(0.33, 1, 0.32, 1) both;
  }

  .bv-hero__slide--active .bv-hero__img-link {
    animation: bvHeroImgIn 1.25s cubic-bezier(0.33, 1, 0.32, 1) 0.12s both;
  }
}

@keyframes bvHeroTextIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bvHeroImgIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(1.01);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

h2.bv-hero__title--slide {
  font-size: clamp(1.75rem, 4.6vw, 2.65rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--bv-navy);
  margin: 0 0 1.1rem;
  text-wrap: balance;
}

h2.bv-hero__title--slide.bv-hero__title--stack {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

h2.bv-hero__title--slide.bv-hero__title--stack .bv-hero__title-line--1 {
  font-size: clamp(1.75rem, 4.6vw, 2.65rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--bv-navy);
}

.bv-hero__img-link {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
}

.bv-hero__img-link:focus-visible {
  outline: 2px solid var(--bv-teal);
  outline-offset: 3px;
}

.bv-hero__img-link .bv-hero__photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(0, 61, 107, 0.07);
  filter: drop-shadow(0 8px 26px rgba(0, 61, 107, 0.11));
  transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
}

.bv-hero__img-link:hover .bv-hero__photo,
.bv-hero__img-link:focus-visible .bv-hero__photo {
  transform: scale(1.008);
  filter: drop-shadow(0 12px 32px rgba(0, 61, 107, 0.14));
}

.bv-hero__img-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  margin-top: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bv-muted);
  text-align: center;
  line-height: 1.35;
}

.bv-hero__img-hint i {
  font-size: 0.6rem;
  opacity: 0.75;
}

.bv-hero__carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
  padding-bottom: 0.2rem;
}

.bv-hero__dot {
  width: 1.85rem;
  height: 0.22rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(0, 61, 107, 0.11);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.bv-hero__dot:hover,
.bv-hero__dot:focus-visible {
  background: rgba(0, 61, 107, 0.22);
  outline: none;
}

.bv-hero__dot:focus-visible {
  box-shadow: 0 0 0 2px #fafcfd, 0 0 0 4px rgba(var(--bv-cyan-rgb), 0.45);
}

.bv-hero__dot--active {
  width: 2.35rem;
  background: var(--bv-teal-dark);
}

/* —— Bloco cinza “melhor experiência” —— */
.bv-band {
  background: linear-gradient(180deg, #f4fbfc 0%, #eef6f8 50%, #eaf3f6 100%);
  padding: 3rem 0;
  border-top: 1px solid rgba(var(--bv-cyan-rgb), 0.12);
  border-bottom: 1px solid #e8ecf0;
}

.bv-band__title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--bv-navy);
  text-align: center;
  margin: 0 auto 1rem;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  line-height: 1.25;
}

.bv-band__title-line {
  display: block;
}

.bv-band__title-line--2 {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: #1e4a66;
}

.bv-band__text {
  text-align: center;
  color: var(--bv-text);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 52rem;
  margin: 0 auto;
}

/* —— Três cartões produto —— */
.bv-trio {
  padding: 3rem 0;
  background: #fff;
}

.bv-trio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .bv-trio__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bv-trio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8ecf0;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 61, 107, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.bv-trio-card:hover {
  box-shadow: 0 12px 36px rgba(0, 61, 107, 0.1);
  transform: translateY(-4px);
  color: inherit;
}

.bv-trio-card__visual {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
}

.bv-trio-card__visual--1 {
  background: linear-gradient(135deg, var(--bv-navy) 0%, var(--bv-cyan-start) 100%);
}

.bv-trio-card__visual--2 {
  background: var(--bv-brand-grad);
}

.bv-trio-card__visual--3 {
  background: linear-gradient(135deg, var(--bv-cyan-mid) 0%, var(--bv-navy) 100%);
}

.bv-trio-card__body {
  padding: 1.35rem 1.25rem 1.5rem;
}

.bv-trio-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bv-teal);
  margin-bottom: 0.35rem;
}

.bv-trio-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bv-navy);
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.bv-trio-card__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--bv-muted);
  margin: 0;
}

/* Missão, visão e valor — cartões centrados, ícone suave */
.bv-trio-card--mvv {
  border-radius: 18px;
  border-color: rgba(0, 61, 107, 0.08);
  box-shadow: 0 6px 28px rgba(0, 61, 107, 0.06);
}

.bv-trio-card--mvv:hover {
  box-shadow: 0 16px 42px rgba(0, 61, 107, 0.11);
  transform: translateY(-5px);
}

/* Cartões MVV sem link: sem elevação ao hover (não parecem clicáveis) */
article.bv-trio-card.bv-trio-card--mvv {
  cursor: default;
}

article.bv-trio-card.bv-trio-card--mvv:hover {
  transform: none;
  box-shadow: 0 6px 28px rgba(0, 61, 107, 0.06);
  color: inherit;
}

.bv-trio-card__visual--mvv {
  position: relative;
  height: 124px;
  font-size: 2.15rem;
}

.bv-trio-card__visual--mvv::before {
  content: '';
  position: absolute;
  width: 4.35rem;
  height: 4.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 20px rgba(0, 0, 0, 0.08);
}

.bv-trio-card__visual--mvv i {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.12));
}

.bv-trio-card__visual--1.bv-trio-card__visual--mvv,
.bv-trio-card__visual--2.bv-trio-card__visual--mvv,
.bv-trio-card__visual--3.bv-trio-card__visual--mvv {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, transparent 38%),
    var(--bv-grad-catalogo-publico);
}

.bv-trio-card__body--mvv {
  padding: 1.5rem 1.35rem 1.65rem;
  text-align: center;
}

.bv-trio-card__title--mvv {
  font-size: clamp(1.2rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  color: var(--bv-navy);
}

.bv-trio-card__text--mvv {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 22rem;
  margin: 0 auto;
  color: #5a6b78;
}

/* —— Instituições —— */
.bv-partners {
  padding: 2.75rem 0;
  background: #fafbfc;
  text-align: center;
  border-top: 1px solid #e8ecf0;
}

.bv-partners__intro {
  margin: 0 auto;
  max-width: 36rem;
  padding: 0 0.5rem;
}

.bv-partners__kicker {
  font-size: clamp(1.08rem, 2.5vw, 1.42rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.28;
  color: var(--bv-navy);
  margin: 0;
  text-wrap: balance;
}

.bv-partners__kicker::after {
  content: '';
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0.6rem auto 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(0, 153, 188, 0.15),
    var(--bv-teal),
    rgba(0, 153, 188, 0.15)
  );
  opacity: 0.75;
}

.bv-partners__desc {
  margin: 0.75rem 0 1.6rem;
  font-size: 0.94rem;
  line-height: 1.58;
  font-weight: 400;
  color: rgba(0, 61, 107, 0.58);
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.bv-partners__title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: var(--bv-navy);
  margin: 0 0 1.5rem;
}

.bv-partners__title strong {
  color: var(--bv-teal);
}

.bv-partners__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.bv-partners__logos--fallback {
  justify-content: center;
}

.bv-partners__logo {
  min-width: 100px;
  padding: 0.65rem 1rem;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bv-muted);
}

/* Faixa contínua de logotipos (marquee infinito, duas réplicas) */
.bv-partners__carousel {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 2vw, 0.65rem);
  max-width: 920px;
  margin: 0 auto;
}

.bv-partners__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 0.35rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

@keyframes bv-partners-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.bv-partners__track {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.bv-partners__track--marquee {
  flex-wrap: nowrap;
  gap: 0;
  animation: bv-partners-marquee var(--bv-partners-marquee-duration, 45s) linear infinite;
}

#bvPartnersCarousel:hover .bv-partners__track--marquee {
  animation-play-state: paused;
}

.bv-partners__marquee-group {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.75rem);
  /* Igual ao gap entre células: evita o par colado na junção das duas réplicas (ex.: IEFD | FM). */
  padding-inline-end: clamp(1rem, 3vw, 1.75rem);
  box-sizing: border-box;
}

.bv-partners__cell {
  flex: 0 0 clamp(4.5rem, 10vw, 5.75rem);
  display: flex;
  justify-content: center;
  min-width: 0;
}

.bv-partners__orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(4.5rem, 10vw, 5.75rem);
  height: clamp(4.5rem, 10vw, 5.75rem);
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 61, 107, 0.1);
  box-shadow:
    0 4px 18px rgba(0, 61, 107, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  text-decoration: none;
  color: var(--bv-navy);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
  overflow: hidden;
}

.bv-partners__orb:hover {
  border-color: rgba(0, 153, 188, 0.45);
  box-shadow:
    0 8px 28px rgba(0, 61, 107, 0.12),
    0 0 0 1px rgba(0, 153, 188, 0.15);
  transform: translateY(-3px);
  color: var(--bv-navy-dark);
}

.bv-partners__orb:focus-visible {
  outline: 2px solid var(--bv-teal);
  outline-offset: 3px;
}

.bv-partners__orb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.bv-partners__orb-fallback {
  font-weight: 800;
  font-size: clamp(0.68rem, 1.8vw, 0.82rem);
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.15;
  padding: 0.2rem;
  max-width: 92%;
  color: var(--bv-teal-dark);
}

.bv-partners__arrow {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 61, 107, 0.06);
  color: rgba(0, 61, 107, 0.42);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
  transition:
    opacity 0.35s ease,
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

/* Aproxima os botões da faixa para facilitar passar do orbe ao clique. */
.bv-partners__arrow--prev {
  margin-inline-end: -0.35rem;
}

.bv-partners__arrow--next {
  margin-inline-start: -0.35rem;
}

#bvPartnersCarousel:has(.bv-partners__orb:hover) .bv-partners__arrow,
#bvPartnersCarousel:has(.bv-partners__arrow:hover) .bv-partners__arrow,
#bvPartnersCarousel:focus-within .bv-partners__arrow {
  opacity: 1;
  pointer-events: auto;
}

#bvPartnersCarousel:has(.bv-partners__arrow:hover) .bv-partners__arrow,
#bvPartnersCarousel:has(.bv-partners__arrow:focus-visible) .bv-partners__arrow {
  background: rgba(0, 61, 107, 0.1);
  color: rgba(0, 61, 107, 0.62);
}

.bv-partners__arrow:active {
  transform: scale(0.96);
}

.bv-partners__arrow:focus-visible {
  outline: 2px solid var(--bv-teal);
  outline-offset: 2px;
}

@media (max-width: 575.98px) {
  .bv-partners__carousel {
    max-width: 100%;
    gap: 0.2rem;
  }

  .bv-partners__arrow {
    width: 2.1rem;
    height: 2.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bv-partners__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .bv-partners__track--marquee {
    animation: none;
  }

  .bv-partners__orb {
    transition: none;
  }

  .bv-partners__orb:hover {
    transform: none;
  }
}

/* —— Estatística + texto acervo —— */
.bv-stat-hero {
  padding: 3rem 0;
  background: #fff;
  text-align: center;
}

/* Faixa contadores (tom institucional: sóbrio, paleta UAN) */
.bv-stat-hero__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #003d6b;
  margin: 0 auto 1.1rem;
  max-width: 1100px;
  text-align: center;
}

.bv-stat-strip {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 28%),
    var(--bv-grad-catalogo-publico);
  border-radius: 10px;
  padding: clamp(1.5rem, 3.2vw, 2rem) clamp(1.15rem, 2.8vw, 1.85rem);
  margin: 0 auto 2.5rem;
  max-width: 1100px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 4px 18px rgba(var(--bv-cyan-rgb), 0.3);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.bv-stat-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  align-items: start;
}

.bv-stat-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
  padding: 0.25rem 0.35rem;
}

.bv-stat-strip__icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 61, 107, 0.2);
  opacity: 1;
  filter: drop-shadow(0 1px 1px rgba(0, 50, 80, 0.18));
}

.bv-stat-strip__body {
  min-width: 0;
}

.bv-stat-strip__value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.08em;
  margin: 0 0 0.45rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 700;
  color: #003d6b;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.bv-stat-strip__plus {
  font-weight: 700;
  color: inherit;
}

.bv-stat-strip__num {
  font-variant-numeric: tabular-nums;
}

.bv-stat-strip__suffix {
  font-size: 0.76em;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: inherit;
}

.bv-stat-strip__suffix--empty {
  display: none;
}

.bv-stat-strip__label {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #003d6b;
  max-width: 13rem;
}

@media (max-width: 991.98px) {
  .bv-stat-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .bv-stat-strip {
    border-radius: 8px;
    padding: 1.25rem 1.1rem;
  }

  .bv-stat-strip__grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .bv-stat-strip__item {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }
}

.bv-stat-hero__num {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  color: var(--bv-teal);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.bv-stat-hero__label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bv-navy);
  margin-bottom: 2rem;
}

.bv-stat-hero__h {
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--bv-navy);
  max-width: 44rem;
  margin: 0 auto 1rem;
}

.bv-stat-hero__p {
  color: var(--bv-text);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 46rem;
  margin: 0 auto 1.5rem;
}

.bv-stat-hero__btn {
  display: inline-flex;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--bv-brand-grad-h);
  color: #fff !important;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 18px rgba(var(--bv-cyan-rgb), 0.3);
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.bv-stat-hero__btn:hover {
  color: #fff !important;
  filter: brightness(1.04);
  box-shadow: 0 6px 22px rgba(var(--bv-cyan-rgb), 0.36);
}

/* —— Notícias (home) —— */
.bv-news {
  padding: 2.2rem 0 1.2rem;
  background: linear-gradient(180deg, #f8fcfd 0%, #ffffff 100%);
  border-top: 1px solid rgba(0, 153, 188, 0.12);
}

.bv-news__head {
  margin-bottom: 1rem;
  text-align: center;
}

.bv-news__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 61, 107, 0.62);
}

.bv-news__title {
  color: var(--bv-navy);
  font-size: clamp(1.18rem, 2.1vw, 1.45rem);
  font-weight: 800;
}

.bv-news-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bv-news-carousel__viewport {
  overflow: hidden;
  width: 100%;
}

.bv-news-carousel__track {
  display: flex;
  gap: 0.95rem;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.32, 1);
  will-change: transform;
}

.bv-news-card {
  flex: 0 0 calc((100% - 1.9rem) / 3);
  background: #fff;
  border: 1px solid rgba(0, 61, 107, 0.09);
  border-radius: 14px;
  padding: 1rem 1rem 0.95rem;
  box-shadow:
    0 2px 7px rgba(0, 61, 107, 0.03),
    0 10px 28px rgba(0, 61, 107, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.bv-news-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 153, 188, 0.14), rgba(0, 61, 107, 0.12));
  border: 1px solid rgba(0, 61, 107, 0.08);
}

.bv-news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.bv-news-card:hover,
.bv-news-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(0, 153, 188, 0.28);
  box-shadow:
    0 8px 22px rgba(0, 61, 107, 0.09),
    0 18px 38px rgba(0, 61, 107, 0.12);
}

.bv-news-card:hover .bv-news-card__img,
.bv-news-card:focus-within .bv-news-card__img {
  transform: scale(1.035);
}

.bv-news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.bv-news-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a4964;
  background: rgba(0, 153, 188, 0.13);
}

.bv-news-card__date {
  font-size: 0.74rem;
  color: var(--bv-muted);
  font-weight: 600;
}

.bv-news-card__title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 700;
  color: #0f172a;
}

.bv-news-card__excerpt {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.58;
  color: #475569;
}

.bv-news-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--bv-navy);
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
}

.bv-news-card__link:hover,
.bv-news-card__link:focus-visible {
  color: #00637a;
  text-decoration: underline;
}

.bv-news-carousel__arrow {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 61, 107, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: #355069;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(2px);
}

.bv-news-carousel__arrow:hover,
.bv-news-carousel__arrow:focus-visible {
  background: #fff;
  color: var(--bv-navy);
  border-color: rgba(0, 61, 107, 0.28);
  transform: translateY(-1px);
  outline: none;
}

@media (max-width: 991.98px) {
  .bv-news-card {
    flex-basis: calc((100% - 0.95rem) / 2);
  }
}

@media (max-width: 767.98px) {
  .bv-news {
    padding-top: 1.8rem;
  }

  .bv-news-card {
    flex-basis: 100%;
  }

  .bv-news-carousel {
    gap: 0.35rem;
  }

  .bv-news-carousel__arrow {
    width: 1.8rem;
    height: 1.8rem;
  }
}

/* —— Newsletter / comunidade (fundo suave, alinhado à BV) —— */
.bv-newsletter {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
  border-top: 1px solid #e8ecf0;
  background:
    radial-gradient(ellipse 95% 85% at 50% -35%, rgba(var(--bv-cyan-rgb), 0.1) 0%, transparent 58%),
    radial-gradient(ellipse 70% 55% at 100% 80%, rgba(var(--bv-cyan-bright-rgb), 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #fafcfd 0%, #f4fafc 45%, #eef6f9 100%);
  color: var(--bv-text);
}

.bv-newsletter__feedback {
  max-width: 32rem;
  margin: 0 auto 1.25rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  transition: opacity 0.35s ease, margin 0.35s ease, padding 0.35s ease;
}

.bv-newsletter__feedback--dismissed {
  opacity: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  pointer-events: none;
}

.bv-newsletter__feedback--ok {
  background: rgba(0, 153, 188, 0.12);
  border: 1px solid rgba(0, 153, 188, 0.35);
  color: var(--bv-navy-dark);
}

.bv-newsletter__feedback--invalid,
.bv-newsletter__feedback--err {
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.28);
  color: #7f1d1d;
}

.bv-newsletter__feedback--warn {
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: #78350f;
}

.bv-newsletter__title {
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 800;
  margin: 0 0 0.65rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--bv-navy);
}

.bv-newsletter__title::after {
  content: '';
  display: block;
  width: 2.75rem;
  height: 2px;
  margin: 0.75rem auto 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(0, 153, 188, 0.2),
    var(--bv-teal),
    rgba(0, 153, 188, 0.2)
  );
  opacity: 0.85;
}

.bv-newsletter__form {
  max-width: 28rem;
  margin: 1.35rem auto 0;
}

.bv-newsletter__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bv-newsletter__fieldwrap {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 22px rgba(0, 61, 107, 0.08);
  border: 1px solid rgba(0, 61, 107, 0.1);
}

.bv-newsletter__input {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0.72rem 1rem;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--bv-navy);
  background: #fff;
  border: 1px solid rgba(0, 153, 188, 0.4);
  border-right: none;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bv-newsletter__input::placeholder {
  color: var(--bv-muted);
}

.bv-newsletter__input:focus {
  border-color: var(--bv-cyan-mid);
  box-shadow: inset 0 0 0 1px rgba(0, 183, 212, 0.22);
}

.bv-newsletter__btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.72rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--bv-brand-grad-h);
  background-color: var(--bv-cyan-start);
  border: 1px solid var(--bv-cyan-start);
  border-left: none;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.bv-newsletter__btn:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

.bv-newsletter__btn:active {
  transform: scale(0.99);
}

.bv-newsletter__btn:focus-visible {
  outline: 2px solid var(--bv-cyan-mid);
  outline-offset: 2px;
  z-index: 1;
}

@media (max-width: 480px) {
  .bv-newsletter__fieldwrap {
    flex-direction: column;
  }

  .bv-newsletter__input {
    border-right: 1px solid var(--bv-cyan-start);
    border-bottom: none;
  }

  .bv-newsletter__btn {
    border-left: 1px solid var(--bv-cyan-start);
    border-top: none;
    width: 100%;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }
}

/* —— Catálogo (mantém componentes existentes) —— */
body.repo-layout-bvirtual .repo-modern-filters,
body.repo-layout-bvirtual .repo-modern-results {
  border-radius: 16px;
  border: 1px solid #e8ecf0;
  box-shadow: 0 4px 28px rgba(0, 61, 107, 0.05);
}

body.repo-layout-bvirtual .repo-modern-filters h2 {
  color: var(--bv-navy);
}

body.repo-layout-bvirtual .repo-modern-results-heading {
  color: var(--bv-navy);
  border-bottom-color: #e8ecf0;
}

body.repo-layout-bvirtual .repo-modern-filter-btn {
  border-radius: 10px !important;
  background: var(--bv-navy) !important;
  background-image: none !important;
  border: none !important;
}

/* Catálogo na home: barra institucional + grelha tipo vitrine (sem cartões pesados) */
body.repo-layout-bvirtual .repo-catalog-surface {
  margin-top: 0.5rem;
  background: #f8fafc;
  border-radius: 0 0 12px 12px;
}

body.repo-layout-bvirtual .repo-catalog-bar {
  background: var(--bv-navy);
  padding: 0.65rem 1rem;
  border-radius: 10px 10px 0 0;
  margin: 0 -1px;
}

body.repo-layout-bvirtual .repo-catalog-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

body.repo-layout-bvirtual .repo-catalog-bar__count {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

body.repo-layout-bvirtual #repoItems.repo-catalog-grid,
body.repo-layout-bvirtual #repoItemsPublicados.repo-catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  margin: 0;
  padding: 1.5rem 1rem 1rem;
}

body.repo-layout-bvirtual #repoItems.repo-catalog-grid .repo-empty,
body.repo-layout-bvirtual #repoItemsPublicados.repo-catalog-grid .repo-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.25rem 1rem;
  color: var(--bv-muted);
  font-size: 0.9rem;
}

body.repo-layout-bvirtual .repo-catalog-card {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

body.repo-layout-bvirtual .repo-catalog-card__link,
body.repo-layout-bvirtual .repo-catalog-card__block {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
  border-radius: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

body.repo-layout-bvirtual .repo-catalog-card__link:hover {
  opacity: 0.92;
}

body.repo-layout-bvirtual .repo-catalog-card__link:focus-visible {
  outline: 2px solid var(--bv-teal);
  outline-offset: 3px;
}

body.repo-layout-bvirtual .repo-catalog-card__cover {
  position: relative;
  margin: 0 auto;
  max-width: 11.5rem;
  border-radius: 10px;
  overflow: hidden;
  background: #e8eef3;
  line-height: 0;
  box-shadow: 0 2px 12px rgba(0, 61, 107, 0.07);
}

body.repo-layout-bvirtual .repo-catalog-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 200 / 258;
  object-fit: cover;
  vertical-align: top;
}

body.repo-layout-bvirtual .repo-catalog-card__ribbons {
  position: absolute;
  top: 0.4rem;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  pointer-events: none;
}

body.repo-layout-bvirtual .repo-catalog-ribbon {
  display: block;
  padding: 0.35rem 0.28rem;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-radius: 5px 0 0 5px;
}

body.repo-layout-bvirtual .repo-catalog-ribbon--new {
  background: linear-gradient(180deg, var(--bv-cyan-start) 0%, var(--bv-cyan-mid) 100%);
}

body.repo-layout-bvirtual .repo-catalog-ribbon--pdf {
  background: linear-gradient(180deg, var(--bv-navy) 0%, var(--bv-cyan-start) 100%);
}

body.repo-layout-bvirtual .repo-catalog-card__title {
  margin: 0.85rem 0 0.35rem;
  padding: 0 0.2rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.32;
  color: #0f172a;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

body.repo-layout-bvirtual .repo-catalog-card__author {
  margin: 0;
  padding: 0 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #64748b;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

body.repo-layout-bvirtual .repo-catalog-card--nopdf .repo-catalog-card__cover {
  opacity: 0.92;
}

@media (max-width: 1199.98px) {
  body.repo-layout-bvirtual #repoItems.repo-catalog-grid,
  body.repo-layout-bvirtual #repoItemsPublicados.repo-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  body.repo-layout-bvirtual #repoItems.repo-catalog-grid,
  body.repo-layout-bvirtual #repoItemsPublicados.repo-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem 1rem;
  }
}

@media (max-width: 575.98px) {
  body.repo-layout-bvirtual #repoItems.repo-catalog-grid,
  body.repo-layout-bvirtual #repoItemsPublicados.repo-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 0.65rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  body.repo-layout-bvirtual .repo-catalog-bar {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  body.repo-layout-bvirtual .repo-catalog-card__cover {
    max-width: 100%;
  }
}

/* —— Página Nosso Acervo (paleta suave / moderna) —— */
body.repo-page-nosso-acervo.repo-layout-bvirtual {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 42%, #f1f5f9 100%);
}

/* Faixa de pesquisa — título bicolor + fundo claro (ref. repositório UAN) */
body.repo-layout-bvirtual.repo-page-nosso-acervo section.repo-acervo-hero.bv-repo-search-hero {
  padding: clamp(2rem, 4vw, 2.85rem) 0 clamp(2.35rem, 4.5vw, 3.1rem);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(0, 183, 212, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #f4fbfd 0%, #eef8fa 48%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 153, 188, 0.14);
  box-shadow: none;
}

body.repo-layout-bvirtual.repo-page-nosso-acervo section.repo-acervo-hero.bv-repo-search-hero .repo-acervo-hero__deco {
  display: none;
}

body.repo-layout-bvirtual .bv-repo-search-hero-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bv-brand-grad-h);
  opacity: 0.95;
  z-index: 4;
  pointer-events: none;
}

body.repo-layout-bvirtual .bv-repo-search-hero-head {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0.25rem;
}

body.repo-layout-bvirtual .bv-repo-search-hero-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.05rem, 2.8vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.22;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  text-wrap: balance;
}

body.repo-layout-bvirtual .bv-repo-search-hero-title__navy {
  color: var(--bv-navy);
}

body.repo-layout-bvirtual .bv-repo-search-hero-title__teal {
  position: relative;
  color: var(--bv-cyan-start);
  padding-top: 0.5rem;
}

body.repo-layout-bvirtual .bv-repo-search-hero-title__teal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--bv-brand-grad-h);
  opacity: 0.92;
}

body.repo-layout-bvirtual .bv-repo-search-hero-title--single {
  display: block;
  color: var(--bv-navy);
  letter-spacing: 0.04em;
}

body.repo-layout-bvirtual .bv-repo-search-hero-subtitle {
  margin-top: 0.7rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(0.65rem, 1.3vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 61, 107, 0.48);
}

body.repo-layout-bvirtual.repo-page-uo-search .bv-repo-search-hero .repo-uo-search-uo-sub__sigla {
  color: var(--bv-navy) !important;
  font-weight: 800;
  letter-spacing: 0.06em;
}

body.repo-layout-bvirtual.repo-page-uo-search .bv-repo-search-hero .repo-uo-search-uo-sub__nome {
  position: relative;
  color: var(--bv-cyan-start) !important;
  font-weight: 700;
  padding-top: 0.5rem;
}

body.repo-layout-bvirtual.repo-page-uo-search .bv-repo-search-hero .repo-uo-search-uo-sub__nome::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--bv-brand-grad-h);
  opacity: 0.92;
}

body.repo-layout-bvirtual.repo-page-uo-search .bv-repo-search-hero .repo-uo-search-uo-sub__eyebrow {
  color: rgba(0, 61, 107, 0.48) !important;
  font-size: clamp(0.65rem, 1.3vw, 0.78rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
}

.repo-acervo-page-head {
  position: relative;
  background: #fff;
  border-bottom: 1px solid rgba(0, 61, 107, 0.06);
}

.repo-acervo-page-head::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 153, 188, 0.22) 22%,
    rgba(100, 116, 139, 0.2) 50%,
    rgba(0, 153, 188, 0.18) 78%,
    transparent 100%
  );
  opacity: 1;
}

.repo-acervo-page-head__row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 0;
  gap: 0.35rem;
}

.repo-acervo-page-title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #334155;
}

.repo-acervo-hero {
  position: relative;
  overflow: hidden;
  padding: 2.35rem 0 2.85rem;
  color: var(--bv-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, transparent 48%),
    linear-gradient(135deg, #eef2f7 0%, #e8edf4 40%, #e3eaf2 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 61, 107, 0.06);
}

.repo-acervo-hero__deco {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(48%, 420px);
  pointer-events: none;
  opacity: 0.2;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(0, 61, 107, 0.035) 0 2px,
      transparent 2px 14px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(0, 61, 107, 0.025) 0 40px,
      rgba(0, 61, 107, 0.012) 40px 80px
    );
  mask-image: linear-gradient(90deg, #000 20%, transparent 90%);
  -webkit-mask-image: linear-gradient(90deg, #000 20%, transparent 90%);
}

.repo-acervo-filters {
  background: #fafbfc;
  border-bottom: 1px solid rgba(0, 61, 107, 0.06);
  box-shadow: none;
}

.repo-acervo-filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.repo-acervo-filter-select {
  border-radius: 10px;
  border-color: rgba(0, 61, 107, 0.1);
  font-size: 0.9rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.repo-acervo-filter-select:focus {
  border-color: rgba(0, 153, 188, 0.45);
  box-shadow: 0 0 0 2px rgba(0, 153, 188, 0.12);
}

.repo-acervo-catalog-surface {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 61, 107, 0.08);
  box-shadow: 0 1px 3px rgba(0, 61, 107, 0.04);
}

.repo-acervo-catalog-surface::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(0, 153, 188, 0.35) 0%,
    rgba(148, 163, 184, 0.45) 50%,
    rgba(0, 183, 212, 0.3) 100%
  );
  z-index: 0;
  pointer-events: none;
}

body.repo-page-nosso-acervo.repo-layout-bvirtual .repo-acervo-catalog-surface > * {
  position: relative;
  z-index: 1;
}

body.repo-page-nosso-acervo.repo-layout-bvirtual main.repo-acervo-main {
  background: linear-gradient(180deg, #f1f5f9 0%, #eceff4 100%);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* Barra do catálogo: em Nosso Acervo evita o bloco navy (só nesta página) */
body.repo-page-nosso-acervo.repo-layout-bvirtual .repo-acervo-catalog-surface .repo-catalog-bar {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid rgba(0, 61, 107, 0.06);
}

body.repo-page-nosso-acervo.repo-layout-bvirtual .repo-acervo-catalog-surface .repo-catalog-bar__count {
  color: #475569;
}

/* Nosso Acervo: grelha horizontal 5 livros/linha (igual catálogo BVirtual); caixa branca; capa em cima, título e autor por baixo */
body.repo-page-nosso-acervo.repo-layout-bvirtual #repoItems.repo-catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  margin: 0;
  padding: 1.5rem 1rem 1rem;
}

body.repo-page-nosso-acervo.repo-layout-bvirtual #repoItems.repo-catalog-grid .repo-catalog-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body.repo-page-nosso-acervo.repo-layout-bvirtual #repoItems.repo-catalog-grid .repo-catalog-card__link,
body.repo-page-nosso-acervo.repo-layout-bvirtual #repoItems.repo-catalog-grid .repo-catalog-card--nopdf .repo-catalog-card__block {
  display: block;
  text-align: center;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(0, 61, 107, 0.09);
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 61, 107, 0.05);
  box-sizing: border-box;
}

body.repo-page-nosso-acervo.repo-layout-bvirtual #repoItems.repo-catalog-grid .repo-catalog-card__cover {
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}

body.repo-page-nosso-acervo.repo-layout-bvirtual #repoItems.repo-catalog-grid .repo-catalog-card__title {
  margin: 0.85rem 0 0.35rem;
  padding: 0 0.25rem;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

body.repo-page-nosso-acervo.repo-layout-bvirtual #repoItems.repo-catalog-grid .repo-catalog-card__author {
  margin: 0;
  padding: 0 0.25rem;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media (max-width: 1199.98px) {
  body.repo-page-nosso-acervo.repo-layout-bvirtual #repoItems.repo-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  body.repo-page-nosso-acervo.repo-layout-bvirtual #repoItems.repo-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem 1rem;
  }
}

@media (max-width: 575.98px) {
  body.repo-page-nosso-acervo.repo-layout-bvirtual #repoItems.repo-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 0.65rem;
    padding: 1.25rem 0.35rem 1rem;
  }

  body.repo-page-nosso-acervo.repo-layout-bvirtual #repoItems.repo-catalog-grid .repo-catalog-card__link,
  body.repo-page-nosso-acervo.repo-layout-bvirtual #repoItems.repo-catalog-grid .repo-catalog-card--nopdf .repo-catalog-card__block {
    padding: 0.85rem 0.5rem;
  }
}

/* Fitas NOVO / PDF: degradé institucional (#0099BC → #00B7D4 → #00D2DF) */
body.repo-page-nosso-acervo.repo-layout-bvirtual .repo-catalog-ribbon--new,
body.repo-page-nosso-acervo.repo-layout-bvirtual .repo-catalog-ribbon--pdf {
  background: var(--bv-brand-grad);
}

body.repo-page-nosso-acervo.repo-layout-bvirtual #repoPagination .repo-pg--num.is-active {
  color: #fff;
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  border-color: #334155;
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.12);
}

body.repo-page-nosso-acervo.repo-layout-bvirtual #repoPagination .repo-pg--num.is-active:hover {
  color: #fff;
  background: linear-gradient(135deg, #6b7c8e 0%, #52606f 100%);
  filter: none;
  border-color: #334155;
}

@media (max-width: 575.98px) {
  .repo-acervo-page-head__row {
    flex-direction: column;
    align-items: stretch;
    padding-left: 0;
    padding-right: 0;
  }

  .repo-acervo-page-title {
    text-align: center;
    width: 100%;
  }
}

/* Alto contraste */
body.repo-layout-bvirtual.bv-high-contrast {
  filter: contrast(1.15);
}

body.repo-layout-bvirtual.bv-high-contrast .bv-partners,
body.repo-layout-bvirtual.bv-high-contrast .bv-band {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-partners__kicker {
  color: #fff !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-partners__kicker::after {
  background: #fff !important;
  opacity: 0.85 !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-partners__desc {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-partners__orb {
  background: #000 !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-partners__arrow {
  background: rgba(255, 255, 255, 0.14) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-partners__orb-fallback {
  color: #fff !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-stat-strip {
  background: #000 !important;
  border: 2px solid #fff !important;
  color: #fff !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-stat-strip__icon {
  color: #fff !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-stat-strip__value,
body.repo-layout-bvirtual.bv-high-contrast .bv-stat-strip__label {
  color: #fff !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-newsletter {
  background: #000 !important;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-newsletter__title {
  color: #fff !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-newsletter__title::after {
  background: #fff !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-newsletter__input {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.65) !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-newsletter__btn {
  background: #fff !important;
  background-image: none !important;
  color: #000 !important;
  border-color: #fff !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-newsletter__feedback--ok,
body.repo-layout-bvirtual.bv-high-contrast .bv-newsletter__feedback--warn,
body.repo-layout-bvirtual.bv-high-contrast .bv-newsletter__feedback--invalid,
body.repo-layout-bvirtual.bv-high-contrast .bv-newsletter__feedback--err {
  border-width: 2px !important;
  border-color: #fff !important;
  color: #fff !important;
  background: #000 !important;
}

body.repo-layout-bvirtual.bv-high-contrast .bv-nav__link {
  color: #fff !important;
}

@media (max-width: 991.98px) {
  .bv-nav__link--active::after {
    display: none;
  }

  .bv-hero__media {
    margin-top: 1rem;
  }
}

/* Hero moderno institucional: carrossel em full-banner */
.bv-hero {
  min-height: clamp(400px, 58vw, 560px);
  background: #bcc6ca;
  overflow: hidden;
  padding: 0;
  border-bottom: none;
}

.bv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8, 12, 18, 0.68) 0%, rgba(8, 12, 18, 0.45) 38%, rgba(8, 12, 18, 0.2) 70%, rgba(8, 12, 18, 0.08) 100%),
    radial-gradient(circle at 12% 24%, rgba(255, 255, 255, 0.08) 0%, transparent 42%);
}

.bv-hero .container.position-relative,
.bv-hero .bv-hero__carousel,
.bv-hero #bvHeroSlides {
  position: relative;
  z-index: 2;
  min-height: inherit;
}

/* Mesmo .container do navbar (largura máxima + gutter Bootstrap): alinha painel/texto/CTAs à marca .bv-brand */

.bv-hero .bv-hero__carousel-nav {
  position: relative;
  z-index: 2;
}

.bv-hero #bvHeroSlides {
  align-items: stretch !important;
}

.bv-hero__media-col {
  position: static;
}

/* Full-bleed lateral; fundo #bcc6ca preenchido pela imagem (object-fit: cover em toda a altura) */
.bv-hero__media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  max-width: none;
  min-height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: #bcc6ca;
}

.bv-hero__image-slides-wrap,
.bv-hero__image-slides-wrap .bv-hero__slide--media {
  height: 100%;
  min-height: inherit;
  background-color: #bcc6ca;
}

.bv-hero__img-link {
  display: block;
  flex: 1 1 auto;
  align-self: stretch;
  min-height: 0;
  width: 100%;
  height: 100%;
}

.bv-hero__image-slides-wrap .bv-hero__slide--media {
  align-items: stretch;
}

.bv-hero__image-slides-wrap .bv-hero__slide {
  visibility: visible;
  transition: opacity 1.05s ease-in-out;
}

.bv-hero__image-slides-wrap .bv-hero__slide--active {
  transition: opacity 1.05s ease-in-out;
}

.bv-hero__img-link .bv-hero__photo {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.01);
  transition: transform 1.4s ease;
}

.bv-hero__slant,
.bv-hero__wires {
  display: none;
}

/* Painel de texto: altura conforme conteúdo (grid stack em vez de stretch absoluto) */
.bv-hero__text-slides-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr;
  min-height: 0;
  width: 100%;
  max-width: min(42rem, 100%);
  align-self: start;
  justify-self: start;
}

.bv-hero__text-slides-wrap .bv-hero__slide--text {
  grid-area: 1 / 1;
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: fit-content;
  max-width: 100%;
  height: auto !important;
}

.bv-hero__content-col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 0;
}

.bv-hero__slide--text {
  max-width: min(42rem, 96%);
  padding: clamp(1.1rem, 2.5vw, 1.55rem) clamp(1.15rem, 2.8vw, 1.65rem);
  border-radius: 0;
  border: none;
  background: rgba(107, 114, 128, 0.34);
  box-shadow: 0 12px 36px rgba(2, 10, 20, 0.18);
  backdrop-filter: blur(2px) saturate(1.04);
  -webkit-backdrop-filter: blur(2px) saturate(1.04);
}

/* Hierarquia institucional: título principal / segundo fio / texto de apoio */
.bv-hero__slide--text .bv-hero__title-line--1,
.bv-hero__slide--text h2.bv-hero__title--slide.bv-hero__title--stack .bv-hero__title-line--1 {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.22),
    0 0 1.25rem rgba(255, 255, 255, 0.18);
  -webkit-font-smoothing: antialiased;
}

.bv-hero__slide--text .bv-hero__title-line--2 {
  color: rgba(186, 232, 242, 0.94);
  text-shadow: 0 1px 2px rgba(0, 61, 107, 0.2);
  -webkit-font-smoothing: antialiased;
}

.bv-hero__slide--text .bv-hero__title:not(.bv-hero__title--stack),
.bv-hero__slide--text h2.bv-hero__title--slide:not(.bv-hero__title--stack) {
  color: rgba(255, 255, 255, 0.94);
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.22),
    0 0 1.25rem rgba(255, 255, 255, 0.18);
  -webkit-font-smoothing: antialiased;
}

.bv-hero__slide--text .bv-hero__lead {
  color: rgba(236, 244, 249, 0.96);
  font-weight: 500;
  line-height: 1.72;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 2px 12px rgba(2, 8, 18, 0.35);
  -webkit-font-smoothing: antialiased;
}

.bv-hero__actions--static {
  position: static;
  margin-top: 1.15rem;
  margin-bottom: 0;
  z-index: 4;
}

@media (min-width: 992px) {
  .bv-hero__content-col {
    margin-right: auto;
    align-items: flex-start;
    text-align: left !important;
  }

  .bv-hero__slide--text {
    margin-left: 0;
    margin-right: auto;
  }

  .bv-hero__actions--static {
    justify-content: flex-start !important;
  }
}

.bv-hero__btn-navy,
.bv-hero__btn-teal {
  border-radius: 12px !important;
  min-height: 2.9rem;
  padding: 0.72rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  box-shadow: 0 8px 22px rgba(2, 10, 20, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.bv-hero__btn-navy {
  background: linear-gradient(145deg, #0b1b2d 0%, #152b45 100%) !important;
  border-color: rgba(255, 255, 255, 0.22);
}

.bv-hero__btn-teal {
  background: linear-gradient(145deg, #00a3bd 0%, #00879d 100%) !important;
  color: #f8fcff !important;
  border-color: rgba(255, 255, 255, 0.26);
}

.bv-hero__btn-navy:hover,
.bv-hero__btn-teal:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(2, 10, 20, 0.3);
}

.bv-hero__btn-navy:hover {
  filter: brightness(1.06);
}

.bv-hero__btn-teal:hover {
  filter: brightness(1.05);
}

.bv-hero__nodes {
  opacity: 0.78;
}

.bv-hero__image-slides-wrap .bv-hero__slide--active .bv-hero__photo {
  animation: bvHeroKenBurns 7.4s ease-out both;
}

@keyframes bvHeroKenBurns {
  from {
    transform: scale(1.01);
  }

  to {
    transform: scale(1.08);
  }
}

@media (max-width: 991.98px) {
  .bv-hero {
    min-height: clamp(340px, 72vw, 460px);
    padding-top: 1.7rem;
    padding-bottom: 2rem;
  }

  .bv-hero__content-col {
    padding-bottom: 0;
  }

  .bv-hero__text-slides-wrap {
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .bv-hero__slide--text {
    margin-left: auto;
    margin-right: auto;
  }

  .bv-hero__nodes {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bv-hero__image-slides-wrap .bv-hero__slide--active .bv-hero__photo {
    animation: none;
    transform: scale(1.01);
  }
}

/* —— Login (modelo plataforma BV + ajustes UAN) —— */
body.bv-login-page.repo-layout-bvirtual {
  background-color: var(--bv-surface-page);
  background-image:
    radial-gradient(ellipse 100% 70% at 90% 5%, rgba(var(--bv-cyan-rgb), 0.09) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 10% 90%, rgba(0, 61, 107, 0.05) 0%, transparent 45%),
    linear-gradient(180deg, #f2f6f9 0%, #f7f9fb 100%);
}

.bv-login-section {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.bv-login-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bv-login-section__blob {
  position: absolute;
  border-radius: 50%;
}

.bv-login-section__blob--1 {
  width: min(75vw, 480px);
  height: min(75vw, 480px);
  background: radial-gradient(circle at 30% 30%, rgba(var(--bv-cyan-rgb), 0.14) 0%, transparent 68%);
  top: -18%;
  right: -12%;
}

.bv-login-section__blob--2 {
  width: min(95vw, 620px);
  height: min(55vw, 380px);
  background: radial-gradient(ellipse at center, rgba(0, 61, 107, 0.05) 0%, transparent 72%);
  bottom: -22%;
  left: -28%;
}

.bv-login-card {
  position: relative;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 61, 107, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 8px 32px rgba(0, 61, 107, 0.08),
    0 2px 8px rgba(0, 42, 74, 0.04);
  padding: 1.75rem 1.35rem 1.5rem;
}

.bv-login-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
  background: var(--bv-brand-grad-h);
  pointer-events: none;
}

@media (min-width: 576px) {
  .bv-login-card {
    padding: 2rem 1.75rem 1.65rem;
  }
}

.bv-login-card__welcome {
  font-size: clamp(1.15rem, 3.2vw, 1.35rem);
  font-weight: 700;
  color: var(--bv-navy);
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.bv-login-card__heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.bv-login-card__intro {
  color: #5a6c7d;
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  text-align: left;
}

.bv-login-card__intro strong {
  color: var(--bv-navy);
  font-weight: 600;
}

.bv-login-card .form-label {
  font-weight: 600;
  font-size: 0.8125rem;
  color: #3d4f5f;
  margin-bottom: 0.35rem;
}

.bv-login-input,
.bv-login-card .form-control,
.bv-login-card .form-select {
  border-radius: 4px;
  border: 1px solid #ced4da;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
}

.bv-login-input:focus,
.bv-login-card .form-control:focus,
.bv-login-card .form-select:focus {
  border-color: var(--bv-navy);
  box-shadow: 0 0 0 0.15rem rgba(0, 61, 107, 0.15);
}

.bv-login-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.bv-login-card .form-check-label {
  color: #5a6c7d;
  font-size: 0.875rem;
}

.bv-login-forgot {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bv-teal-dark);
  text-decoration: none;
}

.bv-login-forgot:hover {
  color: var(--bv-navy);
  text-decoration: underline;
}

.bv-login-alert {
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
}

.bv-login-submit.bv-btn-navy {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.bv-login-help-line {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #5a6c7d;
  line-height: 1.5;
}

.bv-login-help-inline {
  font-weight: 600;
  color: var(--bv-navy);
  text-decoration: none;
}

.bv-login-help-inline:hover {
  color: var(--bv-navy-dark);
  text-decoration: underline;
}

.bv-login-register-note {
  margin-top: 1rem;
  line-height: 1.45;
}

.bv-login-register-note a {
  color: var(--bv-teal-dark);
  font-weight: 600;
  text-decoration: none;
}

.bv-login-register-note a:hover {
  color: var(--bv-navy);
  text-decoration: underline;
}

/* —— Ficha pública do documento (documento.php) —— */
body.repo-layout-bvirtual.repo-page-documento {
  background: #f8fafc;
}

.repo-doc-back {
  color: var(--bv-navy);
}

.repo-doc-back:hover {
  color: var(--bv-navy-dark);
}

.repo-doc-page .repo-doc-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--bv-brand-grad-h);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(var(--bv-cyan-rgb), 0.22);
}

.repo-doc-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.repo-doc-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
}

.repo-doc-meta-line {
  line-height: 1.5;
}

.repo-doc-meta-strong {
  font-weight: 600;
  color: #334155;
}

.repo-doc-cover {
  width: 100%;
  max-width: 220px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  background: #fff;
}

.repo-doc-cover__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.repo-doc-cover__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 220 / 286;
  background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
  color: #94a3b8;
  font-size: 3rem;
}

.repo-doc-dl {
  margin: 0;
}

.repo-doc-dl__row {
  display: grid;
  grid-template-columns: minmax(0, 7.5rem) 1fr;
  gap: 0.35rem 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #e8ecf0;
  font-size: 0.9rem;
}

.repo-doc-dl__row:last-child {
  border-bottom: none;
}

.repo-doc-dl dt {
  margin: 0;
  font-weight: 700;
  color: #64748b;
}

.repo-doc-dl dd {
  margin: 0;
  color: #0f172a;
}

.repo-doc-format {
  font-size: 0.85em;
  padding: 0.1rem 0.35rem;
  background: #f1f5f9;
  border-radius: 4px;
}

.repo-doc-license {
  font-weight: 700;
  color: #15803d;
}

.repo-doc-desc__h {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.repo-doc-desc__text {
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
}

.repo-doc-btn-view {
  border: 1px solid var(--bv-cyan-start);
  color: var(--bv-navy);
  font-weight: 700;
  background: #fff;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  border-radius: 5px;
  line-height: 1.35;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.repo-doc-btn-view:hover {
  background: var(--bv-brand-grad-h);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(var(--bv-cyan-rgb), 0.28);
}

.repo-doc-btn-download {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  color: #fff;
  background: var(--bv-brand-grad-cta);
  box-shadow: 0 3px 14px rgba(var(--bv-cyan-rgb), 0.32);
  padding: 0.35rem 0.65rem;
  line-height: 1.35;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.repo-doc-btn-download:hover {
  color: #fff;
  filter: brightness(1.04);
  box-shadow: 0 5px 18px rgba(var(--bv-cyan-bright-rgb), 0.35);
}

.repo-doc-btn-download__inner {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  position: relative;
  padding-right: 2.6rem;
}

.repo-doc-btn-download__ico {
  font-size: 1.1rem;
  opacity: 0.95;
  flex-shrink: 0;
}

.repo-doc-btn-download__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
}

.repo-doc-btn-download__title {
  font-size: 0.8125rem;
  line-height: 1.2;
}

.repo-doc-btn-download__sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.88;
}

.repo-doc-btn-download__size {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.9;
  white-space: nowrap;
}

.repo-doc-aside {
  position: sticky;
  top: 1rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.repo-doc-aside .repo-doc-readalso {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.repo-doc-readalso__h {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: #0f172a;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #e8ecf0;
}

.repo-doc-readalso__item {
  padding: 0.65rem 0;
  border-bottom: 1px solid #eef2f6;
}

.repo-doc-readalso__item:last-child {
  border-bottom: none;
}

.repo-doc-readalso__link {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.4;
}

.repo-doc-readalso__link:hover {
  color: var(--bv-teal-dark);
}

.repo-doc-readalso__title {
  display: block;
}

.repo-doc-readalso__author {
  display: block;
  margin-top: 0.15rem;
  font-weight: 500;
  font-size: 0.82rem;
  color: #64748b;
}

.repo-doc-readalso__tag {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

@media (max-width: 575.98px) {
  .repo-doc-dl__row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* —— Página Sobre (Biblioteca Digital) —— */
body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-page {
  background: transparent;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-hero {
  position: relative;
  padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(2.2rem, 4.2vw, 3rem);
  background:
    radial-gradient(ellipse 120% 80% at 50% -25%, rgba(0, 183, 212, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #f4fbfd 0%, #eef8fa 45%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 153, 188, 0.14);
  overflow: hidden;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-hero__topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bv-brand-grad-h);
  opacity: 0.95;
  z-index: 2;
  pointer-events: none;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-hero__deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(0, 61, 107, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 55% 45% at 0% 80%, rgba(var(--bv-cyan-rgb), 0.07) 0%, transparent 48%);
  pointer-events: none;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-hero__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 61, 107, 0.55);
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-hero__kicker-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--bv-teal);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 153, 188, 0.2);
  box-shadow: 0 2px 10px rgba(0, 61, 107, 0.06);
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-hero__title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--bv-navy);
  text-wrap: balance;
  margin-top: 0.65rem !important;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-hero__subtitle {
  margin-top: 0.65rem;
  font-size: clamp(0.65rem, 1.3vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 61, 107, 0.48);
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-hero__lead {
  margin-top: 1.15rem !important;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--bv-text);
  font-weight: 500;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-content {
  max-width: 1140px;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-tile {
  height: 100%;
  padding: 1.35rem 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(0, 61, 107, 0.08);
  border-radius: 16px;
  box-shadow:
    0 1px 3px rgba(0, 61, 107, 0.04),
    0 16px 40px rgba(0, 61, 107, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-tile:hover {
  border-color: rgba(0, 153, 188, 0.22);
  box-shadow:
    0 4px 16px rgba(0, 153, 188, 0.1),
    0 20px 48px rgba(0, 61, 107, 0.08);
  transform: translateY(-2px);
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  font-size: 1.1rem;
  color: #fff;
  background: var(--bv-brand-grad-cta);
  box-shadow: 0 4px 14px rgba(var(--bv-cyan-rgb), 0.35);
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-tile__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bv-navy);
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-tile__text {
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--bv-muted);
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-editable {
  margin-top: 2.5rem;
  padding: 1.75rem 1.35rem 1.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  border: 1px solid rgba(0, 61, 107, 0.09);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 61, 107, 0.05);
}

@media (min-width: 768px) {
  body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-editable {
    padding: 2rem 2rem 2.1rem;
  }
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-editable__head {
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 61, 107, 0.08);
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-editable__title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--bv-navy);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-editable__sub {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--bv-muted);
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-prose-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-prose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1.25rem;
  }
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-prose-card {
  position: relative;
  margin: 0;
  padding: 1.15rem 1.15rem 1.2rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(0, 61, 107, 0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-prose-card:hover {
  border-color: rgba(0, 153, 188, 0.18);
  box-shadow: 0 8px 28px rgba(0, 61, 107, 0.06);
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-prose-card--lead {
  border-color: rgba(0, 153, 188, 0.15);
  background: linear-gradient(135deg, rgba(0, 153, 188, 0.04) 0%, #ffffff 55%);
}

@media (min-width: 768px) {
  body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-prose-card--lead {
    grid-column: 1 / -1;
  }
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-prose-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--bv-brand-grad);
  opacity: 0.9;
  border-radius: 14px 0 0 14px;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-prose-card__head {
  margin-bottom: 0.65rem;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-prose-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--bv-teal);
  background: rgba(0, 153, 188, 0.1);
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-prose-card--lead .bv-sobre-prose-card__icon {
  color: #fff;
  background: var(--bv-brand-grad-cta);
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-prose-card__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--bv-text);
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-prose-card--lead .bv-sobre-prose-card__text {
  font-size: 0.98rem;
  line-height: 1.68;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-cta__btn {
  padding: 0.55rem 1.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  border: none;
  border-radius: 10px;
  background: var(--bv-brand-grad-cta);
  box-shadow: 0 4px 16px rgba(var(--bv-cyan-rgb), 0.35);
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-cta__btn:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-cta__btn-secondary {
  padding: 0.55rem 1.25rem;
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--bv-navy);
  border-radius: 10px;
  border: 1px solid rgba(0, 61, 107, 0.18);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-cta__btn-secondary:hover {
  color: var(--bv-navy);
  border-color: rgba(0, 153, 188, 0.45);
  background: rgba(0, 153, 188, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-tile:hover,
  body.repo-page-sobre.repo-layout-bvirtual .bv-sobre-cta__btn:hover {
    transform: none;
  }
}

/* —— Página Contacto —— */
body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-page {
  background: transparent;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-hero {
  position: relative;
  padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(2.2rem, 4.2vw, 3rem);
  background:
    radial-gradient(ellipse 120% 80% at 50% -25%, rgba(0, 183, 212, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #f4fbfd 0%, #eef8fa 45%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 153, 188, 0.14);
  overflow: hidden;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-hero__topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bv-brand-grad-h);
  opacity: 0.95;
  z-index: 2;
  pointer-events: none;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-hero__deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(0, 61, 107, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 55% 45% at 0% 80%, rgba(var(--bv-cyan-rgb), 0.07) 0%, transparent 48%);
  pointer-events: none;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-hero__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 61, 107, 0.55);
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-hero__kicker-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--bv-teal);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 153, 188, 0.2);
  box-shadow: 0 2px 10px rgba(0, 61, 107, 0.06);
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-hero__title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--bv-navy);
  text-wrap: balance;
  margin-top: 0.65rem !important;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-hero__subtitle {
  margin-top: 0.65rem;
  font-size: clamp(0.65rem, 1.3vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 61, 107, 0.48);
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-hero__lead {
  margin-top: 1.15rem !important;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--bv-text);
  font-weight: 500;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-content {
  max-width: 1140px;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(0, 61, 107, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 61, 107, 0.06);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-card--link:hover {
  border-color: rgba(0, 153, 188, 0.28);
  box-shadow: 0 8px 32px rgba(0, 153, 188, 0.12);
  transform: translateY(-2px);
  color: inherit;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-card--static {
  cursor: default;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 12px;
  font-size: 1.05rem;
  color: #fff;
  background: var(--bv-brand-grad-cta);
  box-shadow: 0 4px 14px rgba(var(--bv-cyan-rgb), 0.32);
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 61, 107, 0.45);
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-card__value {
  font-size: 1rem;
  font-weight: 650;
  color: var(--bv-navy);
  word-break: break-word;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-card__value--multiline {
  font-weight: 550;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--bv-text);
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-card__chevron {
  flex-shrink: 0;
  align-self: center;
  font-size: 0.75rem;
  color: var(--bv-teal);
  opacity: 0.75;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-quick {
  padding: 1.25rem 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #f8fbfc 100%);
  border: 1px solid rgba(0, 61, 107, 0.08);
  border-radius: 16px;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-quick__title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 61, 107, 0.5);
  margin: 0 0 0.85rem;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-quick__list li + li {
  margin-top: 0.35rem;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-quick__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--bv-navy);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-quick__link i {
  width: 1.25rem;
  text-align: center;
  color: var(--bv-teal);
  font-size: 0.9rem;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-quick__link:hover {
  background: rgba(0, 153, 188, 0.08);
  color: var(--bv-navy-dark);
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-panel {
  height: 100%;
  min-height: 12rem;
  padding: 1.65rem 1.35rem 1.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  border: 1px solid rgba(0, 61, 107, 0.09);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 61, 107, 0.06);
}

@media (min-width: 992px) {
  body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-panel {
    padding: 2rem 2rem 2.1rem;
  }
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-panel__head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 61, 107, 0.08);
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-panel__title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--bv-navy);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-panel__sub {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--bv-muted);
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-prose {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--bv-text);
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-prose p:last-child {
  margin-bottom: 0;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-prose a {
  color: var(--bv-teal-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-prose a:hover {
  color: var(--bv-navy);
}

body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-prose code {
  font-size: 0.88em;
  padding: 0.15em 0.4em;
  border-radius: 6px;
  background: rgba(0, 61, 107, 0.06);
  color: var(--bv-navy-dark);
}

@media (prefers-reduced-motion: reduce) {
  body.repo-page-contacto.repo-layout-bvirtual .bv-contacto-card--link:hover {
    transform: none;
  }
}

/* —— Revista Científica (página em construção) —— */
body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-page {
  background: transparent;
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-hero {
  position: relative;
  padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(2.2rem, 4.2vw, 3rem);
  background:
    radial-gradient(ellipse 120% 80% at 50% -25%, rgba(0, 183, 212, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #f4fbfd 0%, #eef8fa 45%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 153, 188, 0.14);
  overflow: hidden;
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-hero__topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bv-brand-grad-h);
  opacity: 0.95;
  z-index: 2;
  pointer-events: none;
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-hero__deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(0, 61, 107, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 55% 45% at 0% 80%, rgba(var(--bv-cyan-rgb), 0.07) 0%, transparent 48%);
  pointer-events: none;
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-hero__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 61, 107, 0.55);
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-hero__kicker-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--bv-teal);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 153, 188, 0.2);
  box-shadow: 0 2px 10px rgba(0, 61, 107, 0.06);
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-hero__title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
  color: var(--bv-navy);
  text-wrap: balance;
  margin-top: 0.65rem !important;
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-hero__subtitle {
  margin-top: 0.65rem;
  font-size: clamp(0.65rem, 1.3vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 61, 107, 0.48);
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-hero__lead {
  margin-top: 1.15rem !important;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--bv-text);
  font-weight: 500;
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-content {
  max-width: 640px;
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-card {
  padding: 2rem 1.5rem 2.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  border: 1px solid rgba(0, 61, 107, 0.09);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 61, 107, 0.06);
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  font-size: 1.5rem;
  color: #fff;
  background: var(--bv-brand-grad-cta);
  box-shadow: 0 6px 20px rgba(var(--bv-cyan-rgb), 0.35);
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bv-navy);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--bv-muted);
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-btn {
  padding: 0.55rem 1.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  border: none;
  border-radius: 10px;
  background: var(--bv-brand-grad-cta);
  box-shadow: 0 4px 16px rgba(var(--bv-cyan-rgb), 0.35);
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-btn:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-btn-secondary {
  padding: 0.55rem 1.25rem;
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--bv-navy);
  border-radius: 10px;
  border: 1px solid rgba(0, 61, 107, 0.18);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-btn-secondary:hover {
  color: var(--bv-navy);
  border-color: rgba(0, 153, 188, 0.45);
  background: rgba(0, 153, 188, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  body.repo-page-revista-cientifica.repo-layout-bvirtual .bv-revista-wip-btn:hover {
    transform: none;
  }
}
