* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #fff;
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: auto;
}

.carousel-inner {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
  height: 0;
  padding-top: 30%; /* 4:1 proporção */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

/* Botões de navegação */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.prev {
  left: 12px;
}

.next {
  right: 12px;
}

/* Indicadores */
.indicators {
  position: absolute;
  bottom: 12px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-bottom: 5px;
}

.dot {
  width: 30px;
  height: 6px;
  background-color: #ddd;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.dot .progress {
  position: absolute;
  height: 100%;
  width: 0%;
  background-color: #cdfe11;
  transition: width 0s;
}

/* Responsividade */
@media (max-width: 1200px) {
  .carousel {
    margin-top: -23px;
  }
}
@media (max-width: 768px) {
  .carousel-slide {
    padding-top: 33%; /* 3:1 proporção */
  }

  .nav {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .dot {
    width: 20px;
    height: 4px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    padding-top: 50%; /* 2:1 proporção */
  }

  .nav {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .dot {
    width: 16px;
    height: 3px;
  }
}
