.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* carrossel de fundo */
.hero-bg-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeCarousel 12s infinite;
}

.hero-bg-carousel img:nth-child(1) { animation-delay: 0s; }
.hero-bg-carousel img:nth-child(2) { animation-delay: 4s; }
.hero-bg-carousel img:nth-child(3) { animation-delay: 8s; }

@keyframes fadeCarousel {
  0% { opacity: 0; }
  5% { opacity: 1; }
  28% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

/* overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--overlay-color) 0%,
    rgba(0,0,0,0.4) 40%,
    transparent 80%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-overlay-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  padding: 0 5% 4% 5%;
  width: 100%;
  height: 100%;
}

.hero-main-block {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
  max-width: 620px;
}

.hero-main-logo {
  height: 280px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 35px rgb(230, 230, 230));
  transition: transform 0.4s ease;
}

.hero-main-block:hover .hero-main-logo {
  transform: scale(1.03);
}

.hero-text-right { flex: 1; }

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 4rem 0 0.6rem;
  line-height: 1;
  text-shadow: var(--text-shadow-heavy), var(--glow-primary);
}

.hero-info {
  font-size: 1.0rem;
  line-height: 1.5;
  max-width: 680px;
  text-shadow: var(--text-shadow-heavy);
  opacity: 0.96;
  margin-bottom: 1rem;
}
