/* ------ WIDGET: CARROSSEL HERO ----- */

.hero-carousel-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-carousel {
  width: 100%;
  height: 90vh;
  min-height: 620px;
  position: relative;
  overflow: hidden;
  background-color: #07111f;
}

/* ------ SLIDES ----- */

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease,
    transform 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide picture,
.hero-slide-img {
  width: 100%;
  height: 100%;
}

.hero-slide-img {
  object-fit: cover;
  object-position: center;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 135px;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.38) 46%,
      rgba(0, 0, 0, 0) 100%
    );
  transition:
    height 0.35s ease,
    background 0.35s ease;
}

body.more-menu-open .hero-slide.active .hero-slide-overlay {
  height: 430px;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.52) 32%,
      rgba(0, 0, 0, 0.28) 68%,
      rgba(0, 0, 0, 0) 100%
    );
}

/* ------ CONTEÚDO DO SLIDE ----- */

.hero-slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.hero-slide-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-slide-content h1,
.hero-slide-content h2 {
  margin: 0;
  max-width: 780px;
  font-family: var(--font-secondary);
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-slide-content p {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.3vw, 1.28rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
}

/* ------ PAGINAÇÃO DESKTOP ----- */

.hero-pagination {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background-color: rgba(7, 17, 31, 0.42);
  backdrop-filter: blur(16px);
}

.hero-pagination button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background-color: transparent;
  font-size: 0.92rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.hero-pagination button:hover,
.hero-pagination button.active {
  color: #07111f;
  background-color: #ffffff;
}

/* ------ SETAS MOBILE ----- */

.hero-mobile-arrow {
  display: none;
}

/* ------ SCROLL MOBILE ----- */

.hero-mobile-scroll {
  display: none;
}

/* ------ RESPONSIVO / TABLET ----- */

@media (max-width: 991.98px) {
  .hero-carousel {
    min-height: 560px;
  }

  .hero-slide-content h1,
  .hero-slide-content h2 {
    max-width: 680px;
  }
}

/* ------ RESPONSIVO / MOBILE ----- */

@media (max-width: 767.98px) {
  .hero-carousel-section {
    min-height: var(--qc-hero-mobile-height, 100svh);
  }

  .hero-carousel {
    height: var(--qc-hero-mobile-height, 100svh);
    min-height: 0;
  }

  .hero-slide,
  .hero-slide picture,
  .hero-slide-img {
    height: var(--qc-hero-mobile-height, 100svh);
    min-height: 0;
  }

  .hero-slide picture {
    display: block;
  }

  .hero-slide-img {
    object-fit: cover;
    object-position: center center;
  }

  .hero-slide-overlay {
	  height: 112.5px;
	  background:
		linear-gradient(
		  180deg,
		  rgba(0, 0, 0, 0.65) 0%,
		  rgba(0, 0, 0, 0.32) 48%,
		  rgba(0, 0, 0, 0) 100%
		);
	}

  .hero-slide-content {
    align-items: flex-end;
    padding-bottom: 128px;
  }

  .hero-slide-kicker {
    margin-bottom: 14px;
    font-size: 0.68rem;
  }

  .hero-slide-content h1,
  .hero-slide-content h2 {
    font-size: clamp(2.35rem, 13vw, 4.3rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
  }

  .hero-slide-content p {
    margin-top: 18px;
    max-width: 92%;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-pagination {
    display: none;
  }

  .hero-mobile-arrow {
    display: none !important;
    pointer-events: none;
  }

  .hero-mobile-scroll {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 6;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
  }

  .hero-mobile-scroll .material-symbols-rounded {
    font-size: 1.65rem;
    animation: heroScrollIcon 1.35s ease-in-out infinite;
  }

  .hero-mobile-scroll small {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
	
	body.more-menu-open .hero-slide.active .hero-slide-overlay {
	  height: 150px;
	}
}

@keyframes heroScrollIcon {
  0% {
    transform: translateY(0);
    opacity: 0.55;
  }

  50% {
    transform: translateY(7px);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
}

/* ------ MOBILE BAIXO ----- */

@media (max-width: 380px) {
  .hero-carousel {
    min-height: 0;
  }

  .hero-slide-content {
    padding-bottom: 116px;
  }

  .hero-slide-content p {
    font-size: 0.9rem;
  }
}
