/*
 * Home: "A Unitri" (#unit-introduction) e "Infraestrutura" (#infrastructure).
 *
 * Todo seletor novo começa por .apresentacao-home ou .infra-home, classes presentes só no index.php.
 * Onde é preciso vencer regras por ID do style.css (fundo, padding, "#unit-introduction div { width }",
 * "#unit-introduction h1/p", "#infrastructure img"), o seletor leva o ID: .apresentacao-home#unit-introduction ...
 * Única exceção ao prefixo: o estado de animação, que depende da classe js-infra-anim no <html>.
 *
 * Ritmo da página: A Unitri (lavanda) > Infraestrutura (branco) > Cursos (índigo suave) > Ingresso (branco).
 */

/* ------------------------------------------------------------------ */
/* Tokens                                                             */
/* ------------------------------------------------------------------ */
.apresentacao-home,
.infra-home {
  --uh-navy: #120363;
  --uh-navy-deep: #190c6d;
  --uh-yellow: #ffcf00;
  --uh-yellow-dark: #e6b800;
  --uh-ink: #1e1b3a;
  --uh-muted: #5b5876;
  --uh-line: #e6e4f0;
  --uh-tint: #f1effa;
  --uh-green: #1f9d55;
  --uh-radius: 16px;

  /* Azul suavizado: índigo menos saturado, com luz suave */
  --uh-indigo-900: #1c1a4a;
  --uh-indigo-800: #25225e;
  --uh-indigo-700: #322e78;
  --uh-mist: #f6f5fb;
  --uh-bg-soft: radial-gradient(1200px 500px at 85% -10%, rgba(255, 207, 0, 0.08), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(124, 115, 230, 0.22), transparent 60%),
    linear-gradient(180deg, #25225e 0%, #1c1a4a 100%);

  /* Evita barra de rolagem horizontal causada pelo bloco decorativo e pelas sombras. */
  overflow-x: clip;
}

/* ================================================================== */
/* 1. A UNITRI                                                        */
/* ================================================================== */

/* Vence "#unit-introduction { display: flex; padding: 144px 5rem 5rem 48px; background-color }" */
.apresentacao-home#unit-introduction {
  display: block;
  padding: 120px 24px 88px;
  background-color: var(--uh-mist);
  background-image: radial-gradient(800px 420px at 100% 0%, rgba(124, 115, 230, 0.12), transparent 65%);
}

/* "#unit-introduction div { width: 36% }" (e as larguras dos @media) atinge qualquer div da seção. */
.apresentacao-home#unit-introduction div {
  width: auto;
}

.apresentacao-home#unit-introduction .apresentacao-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- Texto (o cabeçalho da seção fica fora da grade: css/secao-cabecalho.css) ---- */
.apresentacao-home#unit-introduction .apresentacao-home__descricao {
  margin: 0 0 28px;
  color: var(--uh-muted);
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
}

/* ---- Pilares ---- */
.apresentacao-home#unit-introduction .apresentacao-home__pilares {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.apresentacao-home#unit-introduction .apresentacao-home__pilares li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--uh-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.apresentacao-home#unit-introduction .apresentacao-home__pilar-icone {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(28, 26, 74, 0.12);
}

/* Uma regra global do tema pinta os <i> de branco: a cor é definida aqui. */
.apresentacao-home#unit-introduction .apresentacao-home__pilar-icone i {
  color: var(--uh-navy);
  font-size: 14px;
}

/* ---- Ações ---- */
.apresentacao-home#unit-introduction .apresentacao-home__acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

.apresentacao-home#unit-introduction .apresentacao-home__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--uh-navy);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.apresentacao-home#unit-introduction .apresentacao-home__cta:hover,
.apresentacao-home#unit-introduction .apresentacao-home__cta:focus-visible {
  background: var(--uh-indigo-800);
  color: #fff;
  text-decoration: none;
}

.apresentacao-home#unit-introduction .apresentacao-home__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--uh-navy);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.apresentacao-home#unit-introduction .apresentacao-home__link::after {
  content: "\2192";
  content: "\2192" / "";
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.apresentacao-home#unit-introduction .apresentacao-home__link:hover,
.apresentacao-home#unit-introduction .apresentacao-home__link:focus-visible {
  color: var(--uh-navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.apresentacao-home#unit-introduction .apresentacao-home__link:hover::after,
.apresentacao-home#unit-introduction .apresentacao-home__link:focus-visible::after {
  transform: translateX(3px);
}

.apresentacao-home#unit-introduction a:focus-visible {
  outline: 3px solid var(--uh-navy);
  outline-offset: 3px;
}

/* ---- Vídeo (fachada) ---- */
/* O wrapper não leva overflow: hidden, senão cortaria o bloco amarelo decorativo (::before).
   O recorte arredondado fica no botão e no iframe (border-radius: inherit). */
.apresentacao-home#unit-introduction .apresentacao-home__video {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(28, 26, 74, 0.35);
}

.apresentacao-home#unit-introduction .apresentacao-home__video::before {
  content: "";
  position: absolute;
  inset: 24px -16px -16px 24px;
  z-index: -1;
  border-radius: 20px;
  background: var(--uh-yellow);
}

.apresentacao-home#unit-introduction .apresentacao-home__play {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  overflow: hidden;
  background: var(--uh-indigo-900);
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.apresentacao-home#unit-introduction .apresentacao-home__play img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Véu índigo por cima da imagem */
.apresentacao-home#unit-introduction .apresentacao-home__play::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(28, 26, 74, 0.15) 0%, rgba(28, 26, 74, 0.7) 100%);
  pointer-events: none;
}

.apresentacao-home#unit-introduction .apresentacao-home__play-icone {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: auto;
  border-radius: 50%;
  background: var(--uh-yellow);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

/* padding-left compensa o centro óptico do triângulo do ícone de play */
.apresentacao-home#unit-introduction .apresentacao-home__play-icone i {
  padding-left: 4px;
  color: var(--uh-navy);
  font-size: 28px;
}

.apresentacao-home#unit-introduction .apresentacao-home__play-rotulo {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.apresentacao-home#unit-introduction .apresentacao-home__play:hover img,
.apresentacao-home#unit-introduction .apresentacao-home__play:focus-visible img {
  transform: scale(1.03);
}

.apresentacao-home#unit-introduction .apresentacao-home__play:hover .apresentacao-home__play-icone,
.apresentacao-home#unit-introduction .apresentacao-home__play:focus-visible .apresentacao-home__play-icone {
  transform: scale(1.08);
}

/* Fundo escuro: foco amarelo, por dentro (o botão recorta o que passa da borda). */
.apresentacao-home#unit-introduction .apresentacao-home__play:focus-visible {
  outline: 3px solid var(--uh-yellow);
  outline-offset: -6px;
}

.apresentacao-home#unit-introduction .apresentacao-home__video iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

/* ================================================================== */
/* 2. INFRAESTRUTURA                                                  */
/* ================================================================== */

/* Vence "#infrastructure { padding: 96px 0; background-color: white }".
   Fundo índigo profundo (o mesmo de "Unitri em ação", css/eventos-localizacao.css). Começa e termina em linha reta. */
.infra-home#infrastructure {
  padding-top: 96px;
  padding-bottom: 96px;
  background-color: #1c1a4a;
  background-image:
    radial-gradient(900px 520px at 88% 0%, rgba(124, 115, 230, 0.3), transparent 60%),
    radial-gradient(700px 520px at 0% 100%, rgba(255, 207, 0, 0.09), transparent 60%),
    linear-gradient(180deg, #25225e 0%, #1c1a4a 100%);
}

/* ---- Mosaico (mobile primeiro: 1 coluna) ---- */
.infra-home .infra-home__mosaico {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 1248px; /* 1200px de conteúdo + 24px de padding de cada lado */
  margin: 0 auto;
  padding: 0 16px;
  list-style: none;
}

.infra-home .infra-tile {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---- Card = foto ---- */
.infra-home .infra-tile__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--uh-bg-soft);
  background-color: var(--uh-indigo-900);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.infra-home .infra-tile__btn:disabled {
  cursor: default;
}

/* Vence "#infrastructure img { width: 300px; height: 200px; border-radius: 12px 12px 0 0 }" */
.infra-home#infrastructure .infra-tile__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Véus índigo: topo (selo e índice) e base (título e descrição) */
.infra-home .infra-tile__btn::before,
.infra-home .infra-tile__btn::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.infra-home .infra-tile__btn::before {
  top: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(28, 26, 74, 0.55), transparent);
}

.infra-home .infra-tile__btn::after {
  bottom: 0;
  height: 70%;
  background: linear-gradient(180deg, transparent, rgba(28, 26, 74, 0.92));
}

.infra-home .infra-tile__topo,
.infra-home .infra-tile__base {
  position: relative;
  z-index: 2;
  padding: 20px 24px;
}

.infra-home .infra-tile__topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.infra-home .infra-tile__base {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.infra-home .infra-tile__indice {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.2;
}

.infra-home .infra-tile__indice small {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.75;
}

.infra-home .infra-tile__fotos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(28, 26, 74, 0.75);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.infra-home .infra-tile__fotos i {
  color: inherit;
}

.infra-home .infra-tile__titulo {
  display: block;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.infra-home .infra-home__mosaico > li:first-child .infra-tile__titulo {
  font-size: 26px;
}

.infra-home .infra-tile__desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.4;
}

.infra-home .infra-tile__acao {
  display: block;
  margin-top: 4px;
  color: var(--uh-yellow);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.infra-home .infra-tile__acao::after {
  content: "\2192";
  content: "\2192" / "";
  display: inline-block;
  margin-left: 6px;
}

/* ---- Hover e foco (só botão habilitado) ---- */
.infra-home#infrastructure .infra-tile__btn:not(:disabled):hover,
.infra-home#infrastructure .infra-tile__btn:not(:disabled):focus-visible {
  box-shadow: 0 28px 56px -18px rgba(0, 0, 0, 0.65);
  transform: translateY(-4px);
}

.infra-home#infrastructure .infra-tile__btn:not(:disabled):hover .infra-tile__img,
.infra-home#infrastructure .infra-tile__btn:not(:disabled):focus-visible .infra-tile__img {
  transform: scale(1.05);
}

.infra-home#infrastructure .infra-tile__btn:not(:disabled):hover .infra-tile__acao,
.infra-home#infrastructure .infra-tile__btn:not(:disabled):focus-visible .infra-tile__acao {
  opacity: 1;
  transform: none;
}

.infra-home#infrastructure .infra-tile__btn:focus-visible {
  outline: 3px solid var(--uh-yellow);
  outline-offset: 3px;
}

/* Touch: sem hover, a chamada fica sempre visível */
@media (hover: none) {
  .infra-home .infra-tile__acao {
    opacity: 1;
    transform: none;
  }
}

/* ---- Capa com erro: fundo de reserva (--uh-bg-soft) e ícone grande no lugar do véu do topo ---- */
.infra-home#infrastructure .infra-tile__btn.is-sem-capa .infra-tile__img {
  opacity: 0;
}

.infra-home#infrastructure .infra-tile__btn.is-sem-capa::before {
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  background: none;
  color: rgba(255, 255, 255, 0.1);
  content: "\f19c";
  content: "\f19c" / "";
  font-family: "Font Awesome 6 Free";
  font-size: 96px;
  font-weight: 900;
}

/* Sem capa o card é só índigo e sumiria no fundo da seção (#1c1a4a): um tom acima (#2d2a72) e borda clara de 1px.
   O véu da base (rgba(28, 26, 74, .92)) escureceria o card até o tom do fundo; sem foto ele não faz falta. */
.infra-home#infrastructure .infra-tile__btn.is-sem-capa {
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #2d2a72;
}

.infra-home#infrastructure .infra-tile__btn.is-sem-capa::after {
  background: none;
}

/* ---- Entrada ao rolar: só esconde se o JS rodou e o usuário aceita movimento ---- */
@media (prefers-reduced-motion: no-preference) {
  html.js-infra-anim .infra-home .infra-tile {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }

  html.js-infra-anim .infra-home .infra-tile.is-visivel {
    opacity: 1;
    transform: none;
  }
}

/* ---- Mobile (< 576px): 4/3 em todos para não alongar a página ---- */
@media (max-width: 575.98px) {
  .infra-home .infra-tile__btn {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

/* ---- Tablet (576px a 991px): 2 colunas, o 1º card ocupa as 2 ---- */
@media (min-width: 576px) and (max-width: 991.98px) {
  .infra-home .infra-home__mosaico {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 260px;
    gap: 20px;
    padding: 0 24px;
  }

  .infra-home .infra-home__mosaico > li:first-child {
    grid-column: 1 / -1;
  }

  /* Evita um card órfão com meia largura no fim da grade */
  .infra-home .infra-home__mosaico > li:last-child:nth-child(even) {
    grid-column: 1 / -1;
  }
}

/* ---- Desktop (>= 992px): 12 colunas ---- */
@media (min-width: 992px) {
  .infra-home .infra-home__mosaico {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: clamp(220px, 18vw, 280px);
    gap: 20px;
    padding: 0 24px;
  }

  /* 4 cards (caso atual) */
  .infra-home .infra-home__mosaico--n4 > li:nth-child(1) {
    grid-column: span 6;
    grid-row: span 2;
  }

  .infra-home .infra-home__mosaico--n4 > li:nth-child(2) {
    grid-column: span 6;
  }

  .infra-home .infra-home__mosaico--n4 > li:nth-child(n + 3) {
    grid-column: span 3;
  }

  /* 3 cards */
  .infra-home .infra-home__mosaico--n3 > li:nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
  }

  .infra-home .infra-home__mosaico--n3 > li:nth-child(n + 2) {
    grid-column: span 5;
  }

  /* 2 cards */
  .infra-home .infra-home__mosaico--n2 > li {
    grid-column: span 6;
    grid-row: span 2;
  }

  /* 1 card */
  .infra-home .infra-home__mosaico--n1 > li {
    grid-column: span 12;
    grid-row: span 2;
  }

  /* 5 ou mais (fallback) */
  .infra-home .infra-home__mosaico:not(.infra-home__mosaico--n1):not(.infra-home__mosaico--n2):not(.infra-home__mosaico--n3):not(.infra-home__mosaico--n4) > li {
    grid-column: span 4;
  }

  .infra-home .infra-home__mosaico:not(.infra-home__mosaico--n1):not(.infra-home__mosaico--n2):not(.infra-home__mosaico--n3):not(.infra-home__mosaico--n4) > li:first-child {
    grid-column: span 8;
    grid-row: span 2;
  }
}

/* ================================================================== */
/* Responsivo (seções)                                                */
/* ================================================================== */

/* Abaixo de 992px: uma coluna, texto antes do vídeo */
@media (max-width: 991.98px) {
  .apresentacao-home#unit-introduction .apresentacao-home__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767.98px) {
  .apresentacao-home#unit-introduction {
    padding: 72px 16px 56px;
  }

  .apresentacao-home#unit-introduction .apresentacao-home__pilares {
    flex-direction: column;
    gap: 12px;
  }

  .apresentacao-home#unit-introduction .apresentacao-home__video::before {
    inset: 12px -12px -12px 12px;
  }

  .apresentacao-home#unit-introduction .apresentacao-home__play-icone {
    width: 64px;
    height: 64px;
  }

  .apresentacao-home#unit-introduction .apresentacao-home__play-icone i {
    font-size: 22px;
  }

  .apresentacao-home#unit-introduction .apresentacao-home__play-rotulo {
    right: 16px;
    bottom: 14px;
    left: 16px;
  }

  .infra-home#infrastructure {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* ================================================================== */
/* Movimento reduzido: sem transform nem transition                   */
/* ================================================================== */
@media (prefers-reduced-motion: reduce) {
  .apresentacao-home *,
  .apresentacao-home *::before,
  .apresentacao-home *::after,
  .infra-home *,
  .infra-home *::before,
  .infra-home *::after {
    transition: none !important;
  }

  .apresentacao-home#unit-introduction .apresentacao-home__play:hover img,
  .apresentacao-home#unit-introduction .apresentacao-home__play:focus-visible img,
  .apresentacao-home#unit-introduction .apresentacao-home__play:hover .apresentacao-home__play-icone,
  .apresentacao-home#unit-introduction .apresentacao-home__play:focus-visible .apresentacao-home__play-icone,
  .apresentacao-home#unit-introduction .apresentacao-home__link:hover::after,
  .apresentacao-home#unit-introduction .apresentacao-home__link:focus-visible::after,
  .infra-home#infrastructure .infra-tile__btn:not(:disabled):hover,
  .infra-home#infrastructure .infra-tile__btn:not(:disabled):focus-visible,
  .infra-home#infrastructure .infra-tile__btn:not(:disabled):hover .infra-tile__img,
  .infra-home#infrastructure .infra-tile__btn:not(:disabled):focus-visible .infra-tile__img,
  .infra-home#infrastructure .infra-tile__btn:not(:disabled):hover .infra-tile__acao,
  .infra-home#infrastructure .infra-tile__btn:not(:disabled):focus-visible .infra-tile__acao {
    transform: none;
  }

  .infra-home .infra-tile__acao {
    transform: none;
  }
}

/* ================================================================== */
/* 3. UNITRI EM AÇÃO (#unit-events)                                   */
/* ================================================================== */
/*
 * As regras de "Unitri em ação" (.eventos-home) foram movidas para css/eventos-localizacao.css,
 * carregado pelo footer.php.
 */

/* ================================================================== */
/* 4. ENTRE EM CONTATO                                                */
/* ================================================================== */
/*
 * As regras do "Entre em contato" (blog-contato.php) foram movidas para css/contato-v2.css, carregado pelo
 * próprio partial em todas as páginas.
 */

/* ================================================================== */
/* Banner da home: sem a faixa azul abaixo dele                       */
/* ================================================================== */

/* O <header> do banner herdava o #190c6d do style.css e o carrossel tinha margin-bottom de 20px:
   sobrava uma faixa azul entre o banner e a inscrição. As bolinhas (bottom: -60px) caíam nessa faixa. */
body.unitri-home header.banner-home {
  background-color: transparent;
}

body.unitri-home header.banner-home #carouselBannerRightIndicators,
body.unitri-home header.banner-home #carouselBannerRightIndicatorsMobile {
  margin-bottom: 0;
}

body.unitri-home header.banner-home .carousel-indicators {
  bottom: 16px;
  margin-bottom: 0;
}

body.unitri-home header.banner-home .carousel-indicators li {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 4px rgba(28, 26, 74, 0.35);
  transition: width 0.25s ease, background-color 0.25s ease;
}

body.unitri-home header.banner-home .carousel-indicators li.active {
  width: 24px;
  border-radius: 999px;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  body.unitri-home header.banner-home .carousel-indicators li {
    transition: none;
  }
}

/* Lightbox2 (aberto por PaginaUnidades.openModalGaleria, só pela Infraestrutura): as setas do Lightbox2 só aparecem no
   hover (opacity: 0) e não existe hover no toque, então o usuário não via como navegar. Aqui ficam sempre visíveis,
   sem trocar as imagens das setas. Só opacity: com 1 foto o Lightbox2 esconde .lb-prev/.lb-next via display: none
   (inline) e nenhuma regra abaixo mexe em display, então a seta continua oculta. */
.lightbox .lb-nav a.lb-prev,
.lightbox .lb-nav a.lb-next {
  min-width: 64px; /* área de toque confortável, a seta fica encostada na borda da foto */
  opacity: 0.85;
  -webkit-tap-highlight-color: transparent;
}

.lightbox .lb-nav a.lb-prev:hover,
.lightbox .lb-nav a.lb-next:hover,
.lightbox .lb-nav a.lb-prev:focus-visible,
.lightbox .lb-nav a.lb-next:focus-visible {
  opacity: 1;
}

.lightbox .lb-nav a.lb-prev:focus-visible,
.lightbox .lb-nav a.lb-next:focus-visible {
  outline: 3px solid var(--uh-yellow, #ffcf00);
  outline-offset: -3px;
}
