/*
  Hero component:
  - video ocupando toda a area principal do hero
  - conteudo sobreposto premium
  - hover suave e entrada com efeito de subida
*/

.hero-section {
  padding: 0;
}

.hero-section .container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-grid {
  display: block;
}

.hero-media {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 100vh;
  width: 100%;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(10 24 32 / 72%) 0%, rgb(16 36 56 / 0%) 38%, rgb(4 21 30 / 0%) 100%),
    linear-gradient(180deg, rgba(9, 24, 21, 0.36), rgba(9, 24, 21, 0.52)),
    linear-gradient(120deg, rgba(44, 195, 168, 0.14), rgba(44, 195, 168, 0.04));
  z-index: 1;
  pointer-events: none;
}

.hero-media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 108vh;
  object-fit: cover;
  display: block;
  filter: hue-rotate(-8deg) saturate(1.35) brightness(0.58) contrast(1.12);
}

.hero-pings {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-ping {
  position: absolute;
  width: clamp(10px, 0.9vw, 15px);
  height: clamp(10px, 0.9vw, 15px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 255, 235, 0.95) 0%, rgba(45, 194, 166, 0.62) 56%, rgba(45, 194, 166, 0) 100%);
  box-shadow: 0 0 16px rgba(95, 240, 214, 0.6);
  opacity: 0;
}

.hero-pings .ping {
  animation: none;
}

.hero-ping.is-active {
  animation: ping 0.45s ease-in both;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(960px, calc(100% - 3rem));
  margin: 0 auto 0 clamp(1rem, 5.6vw, 6.5rem);
  padding: 7.8rem 0 0;
  color: #eef2ff;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(36, 48, 84, 0.4);
  color: #dbe8ff;
  font-size: 0.93rem;
  letter-spacing: 0.06em;
  padding: 0.52rem 1rem;
  margin-bottom: 1.15rem;
  justify-content: center;
}

.hero-badge__icon {
  width: 1rem;
  height: 1rem;
  color: #27d1b4;
}

.hero-badge__icon svg {
  width: 100%;
  height: 100%;
}

.hero-title {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
  color: #f6f8ff;
}

.hero-title span {
  color: #2cc3a8;
}

.hero-description {
  margin: 1.35rem 0 0;
  max-width: 640px;
  font-size: clamp(1rem, 1.8vw, 2rem);
  line-height: 1.45;
  color: rgba(236, 241, 255, 0.9);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3.7rem;
  margin-bottom: 3.7rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  font-size: 1.02rem;
  font-weight: 600;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
}

.hero-btn__icon {
  width: 1rem;
  height: 1rem;
}

.hero-btn__icon svg {
  width: 100%;
  height: 100%;
}

.hero-btn__arrow {
  margin-left: 0.25rem;
}

.hero-btn--primary {
  background: linear-gradient(120deg, #22c3a4, #35d5bb);
  color: #083a33;
  box-shadow: 0 12px 28px rgba(31, 194, 166, 0.3);
}

.hero-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(31, 194, 166, 0.4);
}

.hero-btn--ghost {
  border: 1px solid rgba(226, 231, 255, 0.35);
  color: #eef2ff;
  background: rgba(60, 72, 112, 0.24);
}

.hero-btn--ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 228, 205, 0.7);
  background: rgba(76, 95, 146, 0.32);
}

.hero-features {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(232, 238, 255, 0.92);
  transition: transform 0.35s ease;
}

.hero-feature:hover {
  transform: translateY(-2px);
}

.hero-feature__icon {
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(232, 240, 255, 0.1);
  border: 1px solid rgba(232, 240, 255, 0.14);
}

.hero-feature__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #d3dcff;
}

.hero-feature p {
  margin: 0;
  max-width: 140px;
  line-height: 1.2;
  font-size: 0.96rem;
  text-align: left;
}

.hero-metrics {
  margin-top: 2rem;
  background: #eef2ff33;
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  border: 1px solid rgba(17, 43, 79, 0.08);
  width: min(920px, 100%);
  margin-left: 0;
  margin-right: 0;
}

.hero-metric {
  padding: 0.4rem 0.65rem;
  border-right: 1px solid rgba(8, 31, 62, 0.12);
}

.hero-metric:last-child {
  border-right: 0;
}

.hero-metric strong {
  display: block;
  color: #2cc3a8;
  font-size: 2rem;
  line-height: 1;
}

.hero-metric span {
  color: #2cc3a8;
  font-size: 1rem;
}

.hero-appear {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 1s ease forwards;
}

.hero-appear--1 { animation-delay: 0.12s; }
.hero-appear--2 { animation-delay: 0.26s; }
.hero-appear--3 { animation-delay: 0.42s; }
.hero-appear--4 { animation-delay: 0.56s; }
.hero-appear--5 { animation-delay: 0.72s; }
.hero-appear--6 { animation-delay: 0.88s; }

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-media {
    min-height: 100vh;
  }

  .hero-media__video {
    min-height: 100vh;
  }

  .hero-content {
    width: calc(100% - 2rem);
    padding-top: 6.6rem;
  }

  .hero-ping {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 11px rgba(95, 240, 214, 0.5);
  }

  .hero-actions {
    gap: 0.7rem;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metric {
    border-right: 0;
    border-bottom: 1px solid rgba(8, 31, 62, 0.12);
    padding-bottom: 0.8rem;
  }

  .hero-metric:last-child {
    border-bottom: 0;
    padding-bottom: 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-appear {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-btn,
  .hero-feature {
    transition: none;
  }

  .hero-pings .ping {
    animation: none !important;
  }
}
