/* Banners da conta no topo da página inicial */
.yper-banners {
  position: relative;
  width: 100%;
  min-height: var(--yper-banner-altura, 600px);
  overflow: hidden;
  background: #111;
}

.yper-banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  padding: 80px 8%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0s linear 0.7s;
}

.yper-banner-slide.yper-banner-ativo {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0s;
}

.yper-banners[data-transicao="slide"] .yper-banner-slide { transform: translateX(40px); }
.yper-banners[data-transicao="zoom"] .yper-banner-slide { transform: scale(1.05); }
.yper-banners .yper-banner-slide.yper-banner-ativo { transform: none; }

/* Posição do texto */
.yper-banner-h-left { justify-content: flex-start; text-align: left; }
.yper-banner-h-center { justify-content: center; text-align: center; }
.yper-banner-h-right { justify-content: flex-end; text-align: right; }
.yper-banner-v-top { align-items: flex-start; }
.yper-banner-v-center { align-items: center; }
.yper-banner-v-bottom { align-items: flex-end; }

.yper-banner-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  pointer-events: none;
}

.yper-banner-texto {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
}

.yper-banner-titulo {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.yper-banner-subtitulo {
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  margin: 0 0 12px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.yper-banner-descricao {
  font-size: 1rem;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.yper-banner-botoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.yper-banner-h-center .yper-banner-botoes { justify-content: center; }
.yper-banner-h-right .yper-banner-botoes { justify-content: flex-end; }

.yper-banner-botao {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  background: #f5b301;
  color: #141414;
  border: 2px solid #f5b301;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.yper-banner-botao:hover {
  background: #141414;
  color: #f5b301;
  border-color: #141414;
}

.yper-banner-botao-secundario {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.yper-banner-botao-secundario:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.yper-banner-seta {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.yper-banner-seta:hover { background: rgba(0, 0, 0, 0.7); }
.yper-banner-anterior { left: 16px; }
.yper-banner-proximo { right: 16px; }

.yper-banner-indicadores {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.yper-banner-indicador {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.yper-banner-indicador.yper-banner-ativo { background: #fff; }

@media (max-width: 768px) {
  .yper-banners { min-height: min(var(--yper-banner-altura, 600px), 520px); }
  .yper-banner-slide { padding: 60px 6%; }
  .yper-banner-seta { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .yper-banner-slide { transition: none; }
}
