/* Contraste dos indicadores do Swiper sobre o overlay escuro do hero. */
.hero-swiper {
  /* Cobre h1 e h2: o primeiro slide (fallback) usa h1, os demais usam h2,
     e o conteúdo vindo do editor (custom field) pode trazer qualquer um dos dois. */
  h1, h2 {
    font-family: Roboto;
    font-weight: 700;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0;
    color: #ffffff;
    /* Escala entre md e 2xl (breakpoints do Bootstrap, ver tailwind/input.css),
       para o titulo nao ficar grande demais em notebooks e tablets. */
    @media (min-width: 768px) {
      font-size: 40px;
      line-height: 115%;
    }
    @media (min-width: 992px) {
      font-size: 48px;
    }
    @media (min-width: 1200px) {
      font-size: 56px;
    }
    @media (min-width: 1400px) {
      font-size: 64px;
    }
    strong {
      font-weight: 700;
      color: #d0d3d4;
    }
  }
  p {
    font-family: Roboto;
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0;
  }
  .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
  }

  .swiper-pagination-bullet-active {
    opacity: 1;
  }

  /* Paginação sobre a imagem, acima do recorte branco (.white-body tem ~4.4vw
     de altura, mas é diagonal: no centro, onde ficam os bullets, ocupa cerca de
     metade disso). O padrão global (style.css) é position: relative, que jogava
     os bullets brancos para baixo do slide, sobre o fundo branco da página.
     O pb do .hero-content (page-home.php) reserva o espaço desta faixa. */
  .swiper-pagination {
    position: absolute;
    bottom: calc(2.6vw + 0.75rem);
    margin-top: 0;
  }
}

/* No mobile, o padrão global (style.css) transforma a paginação numa linha
   segmentada. No hero da Home ficam os mesmos bullets do desktop, centralizados:
   este bloco desfaz a linha só aqui (seletores mais específicos que os do
   style.css, sem !important). */
@media (max-width: 767.98px) {
  .hero-swiper .swiper-pagination-bullets.swiper-pagination-horizontal {
    --swiper-pagination-bullet-horizontal-gap: 4px;
    display: block;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    margin-inline: 0;
    border-radius: 0;
    background: none;
    text-align: center;
  }

  .hero-swiper .swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet {
    position: static;
    flex: none;
    width: 20px;
    height: 6px;
    border-radius: 80px;
    background: #fff;
    opacity: 0.6;
  }

  .hero-swiper .swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet::after {
    content: none;
  }

  .hero-swiper .swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
  }
}
