/* ===============================
   BASE SWIPER
=============================== */

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0;
}

/* ===============================
   BANNER
=============================== */

.home-banner {
  position: relative;
  width: 100%;
}

.banner-slide {
  height: 480px;
  position: relative;
  overflow: hidden;
}

.banner-slide picture,
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ===============================
   OVERLAY SUTIL
=============================== */

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 1;
  pointer-events: none;
}

/* ===============================
   LINK CLICÁVEL
=============================== */

.banner-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: inherit;
  text-decoration: none;
}

/* ===============================
   CONTEÚDO — CENTRALIZADO
=============================== */

.banner-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 780px;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ===============================
   TÍTULO — PÍLULA VERDE
=============================== */

.banner-content h2 {
  display: inline-block;
  background: #2f7d32;
  color: #fff;
  border-radius: 999px;
  padding: 16px 44px;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

/* ===============================
   SUBTÍTULO — PÍLULA BRANCA
=============================== */

.banner-subtitle {
  display: inline-block;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  border-radius: 999px;
  padding: 10px 30px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* ===============================
   PREÇO / LOCALIZAÇÃO — PÍLULA ESCURA
=============================== */

.banner-price {
  display: inline-block;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  border-radius: 999px;
  padding: 7px 22px;
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  backdrop-filter: blur(2px);
}

/* ===============================
   TAG DO BANNER (tipo) — mantida acima do h2
=============================== */

.banner-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.banner-tag-promocao     { background: #f97316; }
.banner-tag-inspiracoes  { background: #15803d; }
.banner-tag-institucional{ background: #7c4a1d; }

/* ===============================
   BOTÃO
=============================== */

.banner-btn {
  display: inline-block;
  margin: 0;
  padding: 13px 36px;
  background: #2f7d32;
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background 0.25s, box-shadow 0.25s;
}

.banner-btn:hover {
  background: #1b5e20;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
}

/* ===============================
   MOBILE
=============================== */

@media (max-width: 768px) {

  .banner-slide {
    height: 380px;
  }

  .banner-content {
    gap: 12px;
    padding: 0 18px;
  }

  .banner-content h2 {
    font-size: 1.5rem;
    padding: 13px 28px;
    border-radius: 999px;
  }

  .banner-subtitle {
    font-size: 0.78rem;
    padding: 8px 20px;
    letter-spacing: 0.04em;
  }

  .banner-price {
    font-size: 0.85rem;
    padding: 6px 16px;
  }

  .banner-btn {
    padding: 11px 26px;
    font-size: 0.9rem;
  }

  .banner-tag {
    font-size: 11px;
    padding: 5px 13px;
  }
}

@media (max-width: 420px) {

  .banner-slide {
    height: 320px;
  }

  .banner-content h2 {
    font-size: 1.2rem;
    padding: 11px 22px;
  }

  .banner-subtitle {
    font-size: 0.72rem;
    padding: 7px 16px;
  }
}

/* ===============================
   OVERRIDE SWIPER (CORES)
=============================== */

.home-banner .swiper-button-prev,
.home-banner .swiper-button-next {
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.home-banner .swiper-button-prev:hover,
.home-banner .swiper-button-next:hover {
  color: #c8e6c9 !important;
}

.home-banner .swiper-pagination-bullet {
  background-color: rgba(255,255,255,0.55) !important;
  opacity: 1 !important;
}

.home-banner .swiper-pagination-bullet-active {
  background-color: #fff !important;
}
