/* Carrossel Horizontal de Notícias */
.carrossel-session {
  padding: 2rem 0;
  margin: 2rem 0;
  background: #f8f9fa;
}

.carrossel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
}

.carrossel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
}

.carrossel::-webkit-scrollbar {
  display: none;
}

.carrossel-item {
  flex: 0 0 300px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.carrossel-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.materia-miniatura {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.materia-miniatura img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carrossel-item:hover .materia-miniatura img {
  transform: scale(1.05);
}

.materia-horizontal-titulo {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 1rem 1rem 0.5rem;
  color: #333;
}

.materia-horizontal-subtitulo {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 1rem 1rem;
  color: #666;
}

.carrossel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carrossel-btn:hover {
  background: #333;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carrossel-btn.prev {
  left: 0;
}

.carrossel-btn.next {
  right: 0;
}

.carrossel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsivo */
@media (max-width: 768px) {
  .carrossel-container {
    padding: 0 40px;
  }
  
  .carrossel-item {
    flex: 0 0 280px;
  }
  
  .materia-miniatura {
    height: 160px;
  }
  
  .carrossel-btn {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .carrossel-container {
    padding: 0 35px;
  }
  
  .carrossel-item {
    flex: 0 0 260px;
  }
  
  .materia-miniatura {
    height: 140px;
  }
  
  .materia-horizontal-titulo {
    font-size: 1rem;
    margin: 0.8rem 0.8rem 0.4rem;
  }
  
  .materia-horizontal-subtitulo {
    font-size: 0.85rem;
    margin: 0 0.8rem 0.8rem;
  }
}