/* ================= HERO SLIDE ================= */
.hero {
  width: 100%;
  height: 800px;
  position: relative;
  background: #000;
  overflow: hidden;
  margin-top: 170px; /* altura do header */
}

/* ================= SLIDER ================= */
.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

/* ================= SLIDE ================= */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* ================= OVERLAY ================= */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.995) 0%,  /* quase preto total */
      rgba(0,0,0,0.92) 14%,  /* topo bem fechado */
      rgba(0,0,0,0.70) 28%,  /* começa a abrir */
      rgba(0,0,0,0.40) 45%,  /* transição controlada */
      rgba(0,0,0,0.18) 60%,  
      rgba(0,0,0,0.05) 72%,  
      rgba(0,0,0,0) 85%      /* transparente mais cedo */
    );
  z-index: 1;
}



/* ================= INNER ================= */
.hero-inner {
  width: 90%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;

  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ================= CONTEÚDO ================= */
.hero-content {
  max-width: 600px;
  animation: fadeUp 1s ease both;
}

.hero-kicker {
  font-size: 14px;
  letter-spacing: 4px;
  color: #ffcc66;
  margin-bottom: 14px;
  display: inline-block;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ddd;
}

/* ================= BOTÃO ================= */
.hero-btn {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid #ffcc66;
  color: #ffcc66;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #ffcc66;
  color: #000;
}

/* ================= NAVEGAÇÃO ================= */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 60px;
  color: #ffcc66;
  cursor: pointer;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.hero-nav:hover {
  opacity: 0.7;
}

.hero-nav.prev { left: 30px; }
.hero-nav.next { right: 30px; }

/* ================= ANIMAÇÃO ================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {

  /* altura já existente */
  .hero {
    height: 650px;
  }

  /* 🔥 CENTRALIZA O CONTEÚDO */
  .hero-inner {
    justify-content: center;   /* horizontal */
    align-items: center;       /* vertical */
    text-align: center;
  }

  .hero-content {
    max-width: 90%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-kicker {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 16px;
  }

  /* 🔥 AJUSTE DO GLOW NO MOBILE (CENTRALIZADO) */
  .hero-content::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 420px;
    height: 420px;
  }
}



/* ================= GLOW AMBIENTE NO CONTEÚDO ================= */
.hero-content {
  position: relative;
  z-index: 2;
}

/* halo suave atrás do texto */
.hero-content::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -120px;
  width: 520px;
  height: 520px;

  background: radial-gradient(
    circle,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 35%,
    rgba(0,0,0,0.15) 55%,
    rgba(0,0,0,0) 75%
  );

  z-index: -1;
  pointer-events: none;
}
