	/*--------------------------------------------------------------
# Hero Section - Demolidora Rodrigues x8
# Classes exclusivas com sufixo -x8
--------------------------------------------------------------*/

.hero-rodrigues-x8 {
  position: relative;
	padding: 0px;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* Container do carrossel */
.hero-carousel-container-x8 {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Slides container */
.hero-slides-x8 {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Cada slide */
.hero-slide-x8 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.hero-slide-x8.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Background da imagem */
.hero-bg-x8 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 6s ease;
}

.hero-slide-x8.active .hero-bg-x8 {
  transform: scale(1.08);
}

/* Overlay elegante (::after) */
.hero-bg-x8::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

/* Conteúdo do slide - Nome alterado para evitar conflito */
.hero-text-content-x8 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 900px;
  padding: 20px;
  opacity: 0;
  transform: translate(-50%, -30%);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide-x8.active .hero-text-content-x8 {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Subtítulo */
.hero-subtitle-x8 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
	border: solid 1px #df0321;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px 20px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
}

/* Título principal */
.hero-title-x8 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-title-x8 {
    font-size: 4.5rem;
  }
}

@media (min-width: 992px) {
  .hero-title-x8 {
    font-size: 5rem;
  }
}

/* Botões */
.hero-buttons-x8 {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Botão Primário */
.hero-btn-primary-x8 {
  display: inline-block;
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: #df0321;
  color: #ffffff;
  border: 2px solid #df0321;
}

.hero-btn-primary-x8::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transition: left 0.4s ease;
  z-index: -1;
  border-radius: 50px;
}

.hero-btn-primary-x8:hover {
  color: #df0321;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(223, 3, 33, 0.4);
}

.hero-btn-primary-x8:hover::before {
  left: 0;
}

/* Botão Secundário */
.hero-btn-secondary-x8 {
  display: inline-block;
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.hero-btn-secondary-x8::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #df0321;
  transition: left 0.4s ease;
  z-index: -1;
  border-radius: 50px;
}

.hero-btn-secondary-x8:hover {
  color: #ffffff;
  border-color: #df0321;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.hero-btn-secondary-x8:hover::before {
  left: 0;
}

/* Botões de navegação (setas) */
.hero-prev-x8,
.hero-next-x8 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: #ffffff;
  font-size: 24px;
}

.hero-prev-x8 {
  left: 20px;
}

.hero-next-x8 {
  right: 20px;
}

.hero-prev-x8:hover,
.hero-next-x8:hover {
  background: #df0321;
  border-color: #df0321;
  transform: translateY(-50%) scale(1.1);
}

/* Indicadores (dots) */
.hero-dots-x8 {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot-x8 {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot-x8.active {
  width: 30px;
  border-radius: 10px;
  background: #df0321;
  transform: scale(1.1);
}

.hero-dot-x8:hover {
  background: #df0321;
  transform: scale(1.2);
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-rodrigues-x8 {
    min-height: 500px;
    height: 80vh;
  }

  .hero-title-x8 {
    font-size: 2.2rem;
  }

  .hero-subtitle-x8 {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }

  .hero-btn-primary-x8,
  .hero-btn-secondary-x8 {
    padding: 10px 24px;
    font-size: 0.85rem;
  }

  .hero-prev-x8,
  .hero-next-x8 {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .hero-prev-x8 {
    left: 10px;
  }

  .hero-next-x8 {
    right: 10px;
  }

  .hero-buttons-x8 {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-title-x8 {
    font-size: 1.6rem;
  }

  .hero-subtitle-x8 {
    font-size: 0.75rem;
    margin-bottom: 12px;
  }

  .hero-btn-primary-x8,
  .hero-btn-secondary-x8 {
    padding: 8px 20px;
    font-size: 0.75rem;
  }

  .hero-dots-x8 {
    bottom: 15px;
    gap: 8px;
  }

  .hero-dot-x8 {
    width: 8px;
    height: 8px;
  }

  .hero-dot-x8.active {
    width: 20px;
  }
}
