/* SECTION: HERO KB NINJA */
.hero-kb-ninja {
  background-color: #000;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 0.5rem 0 2rem; /* Reduzido o topo para diminuir distância do nav */
}

.hero-kb-ninja__layout {
  flex: 1;
  display: grid;
  align-items: center;
  gap: 2rem;
  grid-template-areas: "media" "content"; /* Default mobile */
  margin-top: 0;
  padding: 0; /* Corrigido de "0 px; !important" */
}

.hero-kb-ninja__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.hero-kb-ninja__badge {
  display: inline-block;
  background-color: var(--color-ninja-green);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  width: fit-content;
  animation: hero-badge-bounce 1s ease-in-out;
}

.hero-kb-ninja__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.9;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.hero-kb-ninja__title .text-green {
  color: var(--color-ninja-green);
}

span.text-green {
  color: var(--color-ninja-green);
  font-weight: 900;
}

.hero-kb-ninja__description {
  font-size: 1.5rem;
  max-width: 45ch;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-kb-ninja__cta {
  display: inline-block;
  padding: 1.25rem 3rem;
  background-color: var(--color-ninja-green);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 50px;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: fit-content;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 200, 83, 0.3);
  animation: hero-cta-pulse 2s infinite;
}

.hero-kb-ninja__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 200, 83, 0.5);
}

.hero-kb-ninja__media {
  grid-area: media;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-kb-ninja__media img {
  width: 100%;
  max-width: 550px;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

.hero-kb-ninja__scroll {
  text-align: center;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.hero-kb-ninja__scroll:hover {
  opacity: 1;
  color: var(--color-ninja-green);
}

.hero-kb-ninja__scroll p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.hero-kb-ninja__scroll .material-symbols-outlined {
  font-size: 2rem;
  animation: hero-scroll-bounce 2s infinite;
}

/* --- RESPONSIVIDADE HERO SUGERIDA --- */
@media (min-width: 900px) {
  .hero-kb-ninja__layout {
    grid-template-areas: "content media";
    grid-template-columns: minmax(20rem, 1fr) minmax(18rem, 39rem);
  }

  .hero-kb-ninja__media {
    margin-right: clamp(-1rem, -4vw, -2.75rem);
  }
}

@media (max-width: 899px) {
  .hero-kb-ninja {
    min-height: auto;
    padding-top: clamp(1.25rem, 7vw, 2rem);
    padding-bottom: 5.75rem;
  }

  .hero-kb-ninja__content {
    justify-self: center;
    align-items: center;
    margin-inline: auto;
    text-align: center;
  }

  .hero-kb-ninja__title {
    font-size: clamp(2.5rem, 14vw, 4.4rem);
  }

  .hero-kb-ninja__cta {
    width: 100%;
    min-width: 0;
  }

  .hero-kb-ninja__media img {
    width: min(100%, 23rem);
    max-height: none;
  }
}

/* --- ACESSIBILIDADE E ANIMAÇÕES --- */
@media (prefers-reduced-motion: reduce) {
  .hero-kb-ninja__badge,
  .hero-kb-ninja__cta,
  .hero-kb-ninja__scroll .material-symbols-outlined,
  .hero-kb-ninja__media img {
    animation: none !important;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes hero-cta-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes hero-badge-bounce {
  0% { transform: scale(1.34); }
  22% { transform: scale(1.34); }
  48% { transform: scale(0.86); }
  66% { transform: scale(1.1); }
  82% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
