.card-curso-horizontal-curso {
  flex: 0 0 calc(33.333% - 20px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;
  position: relative;
}

.card-curso-horizontal-curso.ativo-central-curso {
  transform: scale(1.12);
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.img-curso {
  height: 50%;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fdfdfd;
}

.img-curso img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-curso {
  height: 50%;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.info-curso h3 {
  font-size: 1rem;
  color: #333;
  margin-bottom: 6px;
}

.info-curso .descricao {
  font-size: 0.9rem;
  color: #666;
  height: 38px;
  overflow: hidden;
  line-height: 1.2;
}

.btn-detalhes {
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #d41405;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
}

.carrossel-wrapper-curso {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  padding-bottom: 10px;
}

.carrossel-itens-curso {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 20px;
  scroll-behavior: smooth;
  padding-top: 40px;
  padding-bottom: 60px;
  align-items: stretch;
  cursor: default;
}

.carrossel-itens-curso::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.carrossel-box-curso {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 30px 20px;
  margin: 0 auto;
  max-width: 1200px;
  overflow: visible !important;
}

.secao-carrossel-cursos {
  position: relative;
  min-height: 600px;
  padding-top: 60px;
  padding-bottom: 60px;
  overflow: visible !important;
  background-color: #fafafa; /* <-- mesmo tom usado nos produtos */
}

@media (max-width: 768px) {
  .card-curso-horizontal-curso {
    flex: 0 0 80%;
  }
}
