/* ═══════════════════════════════════════════════════════
   HERO BANNER SLIDER — Design Moderno
   Substitui WOWSlider pelo Swiper com controles modernos
═══════════════════════════════════════════════════════ */

/* ── Seção ── */
.hero-banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a3d62;
  /* Evita flash branco antes do Swiper inicializar */
  min-height: 260px;
}

/* ── Partículas de fundo ── */
#particles-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Swiper container ── */
.hero-banner-swiper {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1; /* fica acima das partículas */
}

.hero-banner-swiper .swiper-wrapper {
  align-items: stretch;
}

/* ── Slide ── */
.hero-banner-slide {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  line-height: 0; /* remove espaço extra abaixo da imagem */
}

.hero-banner-slide picture {
  display: block;
  width: 100%;
}

.hero-banner-slide img {
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 8s ease;
}

/* Leve zoom no slide ativo (efeito Ken Burns suave) */
.hero-banner-swiper .swiper-slide-active .hero-banner-slide img {
  transform: scale(1.04);
}

/* ── Botões de navegação ── */
.hero-swiper-prev,
.hero-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  user-select: none;
}

.hero-swiper-prev { left: 20px; }
.hero-swiper-next { right: 20px; }

.hero-swiper-prev:hover,
.hero-swiper-next:hover {
  background: rgba(255,255,255,0.32);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.24);
}

/* Ícone chevron */
.hero-swiper-prev::after,
.hero-swiper-next::after {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
}

.hero-swiper-prev::after { transform: rotate(-135deg) translateX(-1px); }
.hero-swiper-next::after { transform: rotate(45deg)  translateX(-1px); }

/* Ocultar o ícone FA se usado */
.hero-swiper-prev .fa,
.hero-swiper-next .fa { display: none; }

/* ── Paginação (bullets) ── */
.hero-swiper-pagination {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.hero-bullet {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 1.5px solid rgba(255,255,255,0.6);
  cursor: pointer;
  pointer-events: all;
  transition: background 0.3s, width 0.3s, border-radius 0.3s;
}

.hero-bullet--active {
  background: #fff;
  width: 28px;
  border-radius: 4px;
  border-color: #fff;
}

/* ── Responsivo ── */
@media (max-width: 767px) {
  .hero-swiper-prev { left: 10px; }
  .hero-swiper-next { right: 10px; }

  .hero-swiper-prev,
  .hero-swiper-next {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .hero-banner-slide img {
    max-height: 420px;
  }

  .hero-bullet { width: 6px; height: 6px; }
  .hero-bullet--active { width: 20px; }
}

@media (max-width: 480px) {
  .hero-banner-section { min-height: 180px; }
  .hero-banner-slide img { max-height: 320px; }
}
