.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid rgba(17, 150, 243, 0.18);
  background:
    radial-gradient(circle at 72% 50%, rgba(17, 150, 243, 0.22), transparent 18%),
    radial-gradient(circle at 78% 50%, rgba(17, 150, 243, 0.10), transparent 24%),
    linear-gradient(90deg, #020617 0%, #04101d 45%, #031225 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(3, 3, 10, 0.97) 0%,
      rgba(3, 9, 19, 0.18) 56%,
      rgba(3, 9, 19, 0.82) 100%
    ),
    radial-gradient(circle at 82% 62%, rgba(17, 150, 243, 0.20), transparent 28%);
  backdrop-filter: blur(2px);
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.hero__grid {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(420px, 1.08fr);

  gap: 40px;

  align-items: start;
}


.hero__conteudo {
  max-width: 620px;
}

.hero__conteudo h1 {
  color: #ffffff;

  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;

  line-height: 0.95;
  letter-spacing: -2px;

  text-wrap: balance;
}

.hero__conteudo h1 span {
  color: var(--blue-main);

  text-shadow:
    0 0 12px rgba(17, 150, 243, 0.65),
    0 0 30px rgba(17, 150, 243, 0.35);
}

.hero__conteudo p {
  max-width: 620px;

  margin: 40px 0;

  color: rgba(244, 247, 251, 0.86);

  font-size: 1.25rem;
  line-height: 1.7;
}

.hero__acoes {
  display: flex;
  flex-wrap: wrap;

  gap: 18px;

  margin-top: 28px;

  align-items: center;
}

.hero__acoes .btn {
  display: inline-flex;

  min-width: 230px;
  min-height: 60px;

  align-items: center;
  justify-content: center;

  gap: 14px;

  padding: 0 30px;

  border-radius: 16px;

  font-size: 1rem;
  font-weight: 600;
  line-height: 1;

  text-decoration: none;

  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.hero__acoes .btn:hover {
  transform: translateY(-3px);
}

.btn-icon {
  width: 24px;
  height: 24px;

  flex-shrink: 0;

  color: currentColor;
}

.arrow-down {
  display: flex;

  align-items: center;
  justify-content: center;

  margin-left: 4px;

  font-size: 1rem;
  line-height: 1;

  transform: translateY(-1px);
}

.hero-visual {
  position: relative;

  display: flex;

  width: 100%;

  align-items: center;
  justify-content: center;

  justify-self: end;

  padding-top: 40px;

  transform: translateX(20px);
}

.hero-visual img {
  width: 108%;
  max-width: unset;

  object-fit: contain;

  mix-blend-mode: screen;

  filter:
    brightness(1.05)
    saturate(1.08)
    drop-shadow(0 0 34px rgba(17, 150, 243, 0.42))
    drop-shadow(0 0 90px rgba(17, 150, 243, 0.22));

  animation: float 7s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 980px) {

  .hero {
    padding: 140px 0 70px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 50px;

    align-items: center;
  }

  .hero__conteudo {
    max-width: 700px;

    margin: auto;

    text-align: center;
  }

  .hero__conteudo p {
    margin-inline: auto;
  }

  .hero__acoes {
    justify-content: center;
  }

  .hero-visual {
    padding-top: 0;

    transform: none;
  }

  .hero-visual img {
    width: 100%;
    max-width: 700px;
  }
}

@media (max-width: 640px) {

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero__conteudo h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);

    line-height: 1;

    letter-spacing: -1px;
  }

  .hero__conteudo p {
    font-size: 1rem;
  }

  .hero__acoes {
    flex-direction: column;

    width: 100%;

    align-items: stretch;
  }

  .hero__acoes .btn {
    width: 100%;
    min-width: 100%;
    min-height: 56px;

    padding: 0 24px;

    font-size: 0.95rem;
  }

  .btn-icon {
    width: 22px;
    height: 22px;
  }

  .hero-visual img {
    width: 120%;
  }
}