@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-right {
  opacity: 0;
  animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* Galeria Crossfade do Hero */
.hero-gallery {
  position: relative;
  height: 480px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hero-gallery img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  animation: heroSlideshow 12s infinite;
}

.hero-gallery img:nth-child(1) { animation-delay: 0s; }
.hero-gallery img:nth-child(2) { animation-delay: 4s; }
.hero-gallery img:nth-child(3) { animation-delay: 8s; }

@keyframes heroSlideshow {
  0% { opacity: 0; transform: scale(1.05); }
  10% { opacity: 1; transform: scale(1); }
  33% { opacity: 1; }
  43% { opacity: 0; }
  100% { opacity: 0; }
}

@media (max-width: 768px) {
  .hero-gallery {
    height: 260px; /* Reduz altura das imagens da galeria pra caber o conteudo perfeitamente na tela principal do celular */
    box-shadow: none;
    border-radius: 0.5rem;
  }
}
