
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  min-height: 700px;
  background-color: var(--cor-pri-3);
  position: relative;
  z-index: 1;
  padding-top: 10rem;
  padding-bottom: 4rem;
  margin-bottom: 0; /* Remove margin negativo */
}

#hero video {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    /* Degradê horizontal – esquerda mais escura */
    linear-gradient(
      45deg,
      /* to right, */
      rgba(0,41,112, 0.90) 0%,
      rgba(7,16,45, 0.70) 25%,
      rgba(7,16,45, 0.30) 60%,
      rgba(7,16,45, 0) 100%
    ),
    /* Degradê vertical existente */
    linear-gradient(
      to bottom,
      rgba(7,16,45,0.85) 0%,
      rgba(0,26,71,0.25) 40%,
      rgba(0,26,71,0.15) 75%,
      rgba(0,26,71,0) 100%
    );
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url('../img/grain.png');
  background-repeat: repeat;
  opacity: 0.60;
  pointer-events: none;
}


#hero .container {
  position: relative;
  z-index: 3;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-weight: 700;
  color: #fff;
}

#hero h2 {
  color: #eee;
  margin-bottom: 50px;
  font-size: 1.5rem;;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}


@media (max-width: 768px) {
 
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
 
  #hero .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #hero h1 {
    font-size: 24px;
    line-height: 1.15;
  }
}


#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    radial-gradient(
      ellipse 1600px 800px at 75% 25%,
      rgba(1, 90, 255, 0.42) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle 500px at 35% 65%,
      rgba(65, 215, 245, 0.26) 0%,
      transparent 60%
    ),
    url('../img/grain.png');
  background-repeat: no-repeat, no-repeat, repeat;
  opacity: 1;
  pointer-events: none;
  animation: subtlePulse 8s ease-in-out infinite;
}

@keyframes subtlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
