/* Hero com imagem em tela cheia + vinhetas escuras (sem degradé laranja) */

.nuuvem-hero {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  overflow-x: clip;
  isolation: isolate;
  min-height: clamp(400px, 62vw, 720px);
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 0;
}

.nuuvem-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(6rem, 20vw, 13rem);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 21, 0) 0%,
    rgba(18, 18, 21, 0.03) 18%,
    rgba(18, 18, 21, 0.18) 42%,
    rgba(18, 18, 21, 0.55) 72%,
    rgba(18, 18, 21, 0.92) 92%,
    rgb(18, 18, 21) 100%
  );
}

.nuuvem-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #060a12;
}

.nuuvem-hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  transform: scale(1.02);
}

/* Vinhetas: leitura à esquerda + degradé longo na base (até cor do body) */
.nuuvem-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
      90deg,
      rgba(4, 8, 18, 0.82) 0%,
      rgba(4, 8, 18, 0.45) 28%,
      rgba(4, 8, 18, 0.12) 48%,
      transparent 62%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 32%,
      rgba(8, 10, 18, 0.12) 52%,
      rgba(12, 13, 20, 0.38) 68%,
      rgba(16, 17, 21, 0.72) 82%,
      rgba(18, 18, 21, 0.88) 92%,
      rgb(18, 18, 21) 100%
    ),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, 0.25) 100%);
}

.nuuvem-hero__inner {
  position: relative;
  z-index: 2;
}

.nuuvem-hero__grid {
  display: block;
  max-width: 38rem;
}

.nuuvem-hero__copy {
  padding-bottom: 0;
}

.nuuvem-hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem 0.5rem;
  margin: 0 0 1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  font-size: clamp(0.7rem, 1.1vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.nuuvem-hero__pill-accent {
  color: #7ee787;
  margin-left: 0.35rem;
  font-weight: 800;
}

.nuuvem-hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.nuuvem-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0 1.35rem;
  border-radius: 0.5rem;
  background: #fff;
  color: #1a1a1f;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nuuvem-hero__cta:hover {
  background: #f4f4f7;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.nuuvem-hero__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .nuuvem-hero {
    min-height: clamp(340px, 88vw, 520px);
  }

  .nuuvem-hero__bg-image {
    object-position: center 35%;
  }

  .nuuvem-hero::after {
    height: clamp(5.5rem, 32vw, 11rem);
    background: linear-gradient(
      to bottom,
      rgba(18, 18, 21, 0) 0%,
      rgba(18, 18, 21, 0.06) 22%,
      rgba(18, 18, 21, 0.28) 48%,
      rgba(18, 18, 21, 0.78) 82%,
      rgb(18, 18, 21) 100%
    );
  }

  .nuuvem-hero__bg::after {
    background: linear-gradient(
        180deg,
        rgba(4, 8, 18, 0.45) 0%,
        rgba(4, 8, 18, 0.18) 28%,
        transparent 42%
      ),
      linear-gradient(
        180deg,
        transparent 0%,
        transparent 26%,
        rgba(8, 10, 18, 0.18) 48%,
        rgba(14, 15, 21, 0.62) 76%,
        rgba(18, 18, 21, 0.9) 94%,
        rgb(18, 18, 21) 100%
      );
  }

  .nuuvem-hero__grid {
    max-width: none;
    text-align: center;
  }

  .nuuvem-hero__pill {
    margin-left: auto;
    margin-right: auto;
  }

  .nuuvem-hero__cta {
    width: 100%;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }
}
