/* Estilos adicionais para os ajustes solicitados */

/* Header centralizado */
.header-container {
  justify-content: center;
}

/* Hero section com layout flexível */
.hero-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero-image {
  flex: 1;
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Destaque para o texto de urgência */
.urgency-container {
  background-color: rgba(231, 76, 60, 0.1);
  border-left: 4px solid var(--accent-secondary);
  padding: 15px 20px;
  margin: 30px 0;
}

.urgency-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-secondary);
  margin: 0;
}

/* Contador na hero section */
.hero-countdown {
  margin: 30px 0;
  text-align: center;
}

.hero-countdown h3 {
  font-size: 1.6rem;
  margin-bottom: 5px;
  color: var(--accent-color);
}

.hero-countdown p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* Carrossel de autores melhorado */
.authors-carousel {
  margin: 50px 0;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: calc(300px * 28); /* Ajustado para mais imagens e maior tamanho */
}

.author-item {
  flex: 0 0 300px;
  height: 300px;
  margin-right: 20px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-300px * 14)); /* Metade do total para loop perfeito */
  }
}

/* Logo do footer centralizado */
.footer-logo-container {
  text-align: center;
  margin-bottom: 20px;
}

/* Responsividade para os novos elementos */
@media (max-width: 992px) {
  .hero-flex {
    flex-direction: column;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-image {
    order: 1;
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .carousel-track {
    width: calc(250px * 28);
  }
  
  .author-item {
    flex: 0 0 250px;
    height: 250px;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-250px * 14));
    }
  }
}

@media (max-width: 768px) {
  .carousel-track {
    width: calc(200px * 28);
  }
  
  .author-item {
    flex: 0 0 200px;
    height: 200px;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-200px * 14));
    }
  }
}

@media (max-width: 576px) {
  .urgency-text {
    font-size: 1.2rem;
  }
  
  .carousel-track {
    width: calc(180px * 28);
  }
  
  .author-item {
    flex: 0 0 180px;
    height: 180px;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-180px * 14));
    }
  }
}
