*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-image: url('fundo.jpg');
  background-size: contain;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: #ED3820;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
  padding: 5vh 5vw 2vh;
  text-align: center;
}

header h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

header p {
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  width: 45%;
  font-weight: bold;
  text-align: left;
  margin-left: 5vw;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.carousel-container {
  width: 90%;
  height: 130px;
  margin: 20px auto;
  position: relative;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
  display: flex;
  opacity: 1;
}

.carousel-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid white;
}

.carousel-item p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  line-height: 1.4;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.3s;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-nav.left {
  left: 10px;
}

.carousel-nav.right {
  right: 10px;
}

/* Responsividade para telas pequenas */
@media (max-width: 600px) {
  .carousel-item {
    flex-direction: column;
    text-align: center;
  }

  .carousel-item img {
    width: 60px;
    height: 60px;
  }
}