/* ===== Carrossel de Projetos ===== */
.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 40px;
  display: flex;
  align-items: center;
  background: transparent;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}

.projeto-card {
  min-width: 320px;
  max-width: 320px;
  flex: 0 0 320px;
  background: #181818;
  border: 1px solid #00ff88;
  border-radius: 8px;
  padding: 24px 18px;
  box-shadow: 0 2px 12px rgba(0,255,136,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.projeto-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 12px;
  border-bottom: 1px solid #00ff88;
  background: #232323;
  display: block;
}

.carousel-btn {
  background: #181818;
  color: #00ff88;
  border: 2px solid #00ff88;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

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

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

.carousel-btn:hover:not(:disabled),
.carousel-btn:focus:not(:disabled) {
  background: #00ff88;
  color: #181818;
  border-color: #00995e;
}

@media (max-width: 700px) {
  .carousel-container {
    padding: 0 10px;
  }
  .projeto-card {
    min-width: 90vw;
    max-width: 90vw;
  }
  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .projeto-img {
    height: 120px;
  }
}