/* ===============================
   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: 460px;
}


.banner-slide picture,
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.banner-slide img {
  object-fit: cover;
  object-position: center center;
}

/* Overlay */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}

/* Conteúdo */
.banner-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  max-width: 520px;
  color: #fff;
}

/* ===============================
   TAGS DO BANNER
   =============================== */

.banner-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #fff;
}

/* PROMOÇÕES */
.banner-tag-promocao {
  background: #f97316; /* laranja */
}

/* INSPIRAÇÕES */
.banner-tag-inspiracoes {
  background: #15803d; /* verde */
}

/* INSTITUCIONAL */
.banner-tag-institucional {
  background: #7c4a1d; /* marrom */
}


.banner-content h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.banner-content p {
  font-size: 1rem;
  margin-bottom: 18px;
}

.banner-price {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #22c55e;
}


.banner-btn {
  display: inline-block;
  padding: 12px 26px;
  background: #2f7d32;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.banner-btn:hover {
  background: #256628;
}

.banner-btn.outline {
  background: transparent;
  border: 2px solid #fff;
}

.banner-btn.outline:hover {
  background: #fff;
  color: #2f7d32;
}

@media (min-width: 1024px) {
    .banner-tag {
        font-size: 14px;
        padding: 9px 20px;
    }
}


/* ===============================
   MOBILE (CORRIGIDO)
   =============================== */

@media (max-width: 768px) {

   .banner-slide {
    min-height: 360px;
    max-height: 360px;

}

 .banner-tag {
    margin-bottom: 8px;
    padding: 6px 14px;
    font-size: 12px;
  }
  
  .banner-title {
    font-size: 22px;
    line-height: 1.15;
    margin-bottom: 6px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .banner-subtitle {
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 8px;
    opacity: 0.9;
  }
  .banner-preco {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .banner-cta {
    padding: 10px 18px;
    font-size: 14px;
  }
}



  .banner-content {
    left: 50%;
    top: 58%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 22px;
    max-width: 100%;
  }

  .banner-content h2 {
    font-size: 1.9rem;
  }
  
   .banner-tag {
        font-size: 14px;
        padding: 8px 18px;
    }

    .banner-price {
        font-size: 26px;
    }
}
  
  @media (min-width: 1024px) {

    .banner-tag {
        font-size: 14px;
        padding: 8px 18px;
    }

    .banner-price {
        font-size: 26px;
    }

}



/* ===============================
   OVERRIDE SWIPER (CORES)
   =============================== */

.home-banner .swiper-button-prev,
.home-banner .swiper-button-next {
  color: #2f7d32 !important;
}

.home-banner .swiper-button-prev:hover,
.home-banner .swiper-button-next:hover {
  color: #1b5e20 !important;
}

.home-banner .swiper-pagination-bullet {
  background-color: #c8e6c9 !important;
  opacity: 1 !important;
}

.home-banner .swiper-pagination-bullet-active {
  background-color: #2f7d32 !important;
}
.banner-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: inherit;
  text-decoration: none;
}
.banner-subtitle {
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.35;
    color: #e5e7eb;
    max-width: 520px;
}
