/* Banner Responsive Adjustments */

/* Ajustes para o banner-three com altura automática para desktop */
.banner-three__item {
  /* Padding reduzido para dar mais espaço à imagem */
  padding-top: clamp(1rem, 2vw, 3rem);
  padding-bottom: clamp(1rem, 2vw, 3rem);
}

/* Altura automática para desktop e tablets (≥769px) */
@media (min-width: 769px) {
  .banner-three__item {
    min-height: 60vh !important; /* Altura mínima de 60% da viewport */
    height: auto !important; /* Altura automática baseada na imagem */
    background-size: contain !important; /* Mostra a imagem inteira sem cortar */
  }
  
  .banner-three .slick-slider .slick-slide > div {
    min-height: 60vh !important;
    height: auto !important;
  }
}

/* Ajustes específicos para mobile (≤768px) */
@media (max-width: 768px) {
  .banner-three__item {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    height: 500px !important; /* Altura fixa de 500px para mobile */
    min-height: 500px !important;
    background-size: contain !important; /* Também garante que a imagem não seja cortada */
  }
  
  .banner-three .slick-slider .slick-slide > div {
    height: 500px !important;
    min-height: 500px !important;
  }
}

/* Ajustes para o texto do banner em mobile muito pequeno */
@media (max-width: 480px) {
  .banner-content h1 {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }
  
  .banner-content p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1.5rem !important;
  }
  
  .buttons-wrapper {
    margin-top: 1rem !important;
  }
  
  .buttons-wrapper .btn {
    font-size: 0.8rem !important;
    padding: 0.5rem 1rem !important;
  }
}

/* Ajustes para o texto do banner em mobile */
@media (min-width: 481px) and (max-width: 768px) {
  .banner-content h1 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }
  
  .banner-content p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1.5rem !important;
  }
  
  .buttons-wrapper {
    margin-top: 1rem !important;
  }
  
  .buttons-wrapper .btn {
    font-size: 0.875rem !important;
    padding: 0.5rem 1rem !important;
  }
}

/* Ajustes para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .banner-content h1 {
    font-size: 2.2rem !important;
    line-height: 1.3 !important;
  }
  
  .banner-content p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
}