/* Fixes específicos para mobile - Scroll na seção hero */

@media (max-width: 767.98px) {
  /* Garantir que o scroll funcione na seção hero */
  .hero {
    overflow: visible !important;
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
  }
  
  .home-slider {
    overflow: visible !important;
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
  }
  
  .slider-item {
    overflow: visible !important;
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .slider-text {
    overflow: visible !important;
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
    touch-action: pan-y !important;
  }
  
  .one-third,
  .one-forth {
    overflow: visible !important;
    position: relative !important;
    touch-action: pan-y !important;
    width: 100% !important;
  }
  
  /* Garantir que o body e html permitam scroll */
  body, html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    height: auto !important;
  }
  
  /* Forçar scroll nativo no mobile */
  .owl-carousel {
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
    overflow: visible !important;
  }
  
  .owl-stage {
    touch-action: pan-y !important;
    overflow: visible !important;
  }
  
  .owl-item {
    touch-action: pan-y !important;
    overflow: visible !important;
  }
  
  /* Configurações específicas para o carousel home */
  .owl-carousel.home-slider {
    overflow: visible !important;
    height: auto !important;
    min-height: 100vh !important;
  }
  
  .owl-carousel.home-slider .slider-item {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }
  
  .owl-carousel.home-slider .slider-item .slider-text {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }
  
  /* Garantir que o conteúdo seja scrollável */
  .slider-text .text {
    position: relative !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    padding: 2rem 1rem !important;
    margin-top: 2rem !important;
  }
  
  /* Melhorar a responsividade da imagem */
  .one-third.img {
    background-size: cover !important;
    background-position: center center !important;
    min-height: 50vh !important;
    margin-bottom: 2rem !important;
  }
  
  /* Garantir que os botões sejam clicáveis */
  .slider-text .btn {
    position: relative !important;
    z-index: 10 !important;
    margin: 0.5rem !important;
  }
}

/* Fixes adicionais para dispositivos muito pequenos */
@media (max-width: 480px) {
  .hero {
    min-height: 100vh !important;
  }
  
  .slider-item {
    min-height: 100vh !important;
  }
  
  .slider-text {
    min-height: 100vh !important;
  }
  
  .slider-text .text {
    padding: 1rem !important;
    margin-top: 1rem !important;
  }
  
  .slider-text h1 {
    font-size: 32px !important;
    line-height: 1.3 !important;
  }
  
  .slider-text h2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
}
