/* ===== CAROUSEL ===== */

.projects-carousel {
  position: relative;
  margin-top: 40px;
}

.pc__viewport {
  overflow: hidden;
  border-radius: 18px;
  cursor: grab;
}

.pc__viewport:active {
  cursor: grabbing;
}

.pc__track {
  display: flex;
  gap: 20px;
  transition: transform .35s ease;
  will-change: transform;
  user-select: none;
}

/* ===== CARD ===== */

.pc__card {
  flex: 0 0 calc((100% - 40px) / 3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

/* imagem */

.pc__thumb {
  height: 190px;
  overflow: hidden;
  display: block;
  background:
    radial-gradient(900px 380px at 20% 30%, rgba(99, 102, 241, .25), transparent 60%),
    radial-gradient(800px 320px at 80% 25%, rgba(34, 211, 238, .15), transparent 60%),
    rgba(255, 255, 255, .03);
}

.pc__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
}

/* body */

.pc__body {
  padding: 18px 18px 22px;
}

.pc__top {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.pc__body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.pc__body p {
  color: rgba(255, 255, 255, .72);
  margin-bottom: 14px;
  line-height: 1.45;
}

/* ===== BOTÕES ===== */

.pc__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 42px;
  height: 42px;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .10);

  background: rgba(15, 23, 42, .6);
  backdrop-filter: blur(10px);

  color: white;
  font-size: 20px;

  display: grid;
  place-items: center;

  cursor: pointer;
}

.pc__btn--prev {
  left: -10px;
}

.pc__btn--next {
  right: -10px;
}

/* ===== DOTS ===== */

.pc__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.pc__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  border: none;
  cursor: pointer;
}

.pc__dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
}

/* ===== RESPONSIVO ===== */

@media (max-width: 980px) {

  .pc__card {
    flex-basis: calc((100% - 20px) / 2);
  }

}

@media (max-width: 620px) {

  .pc__card {
    flex-basis: 100%;
  }

}