/* Seção de Problemas Empresariais - Carrossel */
.problemas-empresariais-carrossel {
  background: #f8fafc;
  padding: 60px 20px;
  text-align: center;
}

.problemas-empresariais-carrossel h2 {
  font-size: 28px;
  color: #0f172a;
  margin-bottom: 30px;
}

.problemas-swiper {
  padding-bottom: 50px;
  overflow: hidden;
}

.problemas-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  box-sizing: border-box;
  outline: none !important;
  background-color: transparent !important;
}

.problemas-swiper h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* Cards */
.cards-topicos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.card-problema {
  position: relative;
  width: 320px;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: none !important;
  display: flex;
  align-items: flex-end;
  transition: none;
  outline: none !important;
  border: none !important;
  background-color: transparent !important;
  -webkit-tap-highlight-color: transparent;
}

.card-problema:hover,
.card-problema:focus,
.card-problema:active,
.swiper-slide:hover,
.swiper-slide:focus,
.swiper-slide:active,
.cards-topicos:hover,
.cards-topicos:focus,
.cards-topicos:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

/* Remove borda azul de qualquer elemento focado */
*:focus,
*:focus-visible {
  outline: none !important;
}

/* Remove highlight azul de toque em dispositivos móveis */
* {
  -webkit-tap-highlight-color: transparent;
}

.card-texto {
  background: linear-gradient(to top, rgba(0, 46, 92, 0.9), rgba(0, 46, 92, 0.1));
  color: #ffffff;
  padding: 20px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  font-size: 14px;
  box-sizing: border-box;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.card-texto h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Paginação */
.swiper-pagination {
  margin-top: 20px;
  position: relative;
  bottom: 0;
}

.swiper-pagination-bullet {
  background-color: #94a3b8;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #2563eb;
}

/* Setas de navegação */
.swiper-button-next,
.swiper-button-prev {
  display: none;
}

/* Responsivo */
@media (max-width: 768px) {
  .cards-topicos {
    flex-direction: column;
    align-items: center;
  }

  .card-problema {
    width: 90%;
    height: 300px;
  }

  .card-texto {
    padding: 16px;
  }

  .card-texto h4 {
    font-size: 16px;
  }

  .problemas-empresariais-carrossel h2 {
    font-size: 24px;
  }

  .problemas-swiper h3 {
    font-size: 20px;
  }
}
