/* ═══════════════ HERO ═══════════════ */
.hero {
  padding-top: calc(var(--section-py) + 60px);
  padding-bottom: 120px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--bg) url("../img/hero-bg.png") no-repeat top right / cover;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,7,6,0.94) 0%, rgba(6,7,6,0.75) 38%, rgba(6,7,6,0.25) 65%, rgba(6,7,6,0.1) 100%),
    linear-gradient(180deg, rgba(6,7,6,0.2) 0%, transparent 25%, transparent 75%, var(--bg) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 620px; }

.hero h1 { margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: var(--text-dim); max-width: 560px; margin-bottom: 68px; }

.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-actions .btn-lg { padding-top: 9px; padding-bottom: 9px; }

/* ─── Selo de prova social (avatares + contagem) ─── */
.hero-prova { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.hero-prova-avatars { display: flex; }
.hero-prova-avatars img { height: 40px; width: auto; }
.hero-prova p { font-size: 0.92rem; color: var(--text-dim); }

/* ─── Efeito de brilho contínuo no botão ─── */
.btn-shine { position: relative; }
.btn-shine::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.65) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: btn-shine-sweep 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-shine-sweep {
  0% { left: -60%; }
  55% { left: 130%; }
  100% { left: 130%; }
}

@media (max-width: 960px) {
  .hero-prova { justify-content: center; }
}

@media (max-width: 960px) {
  .hero {
    background-position: 78% top;
    min-height: auto;
    padding-top: calc(var(--section-py) + 110px);
    padding-bottom: 48px;
  }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(6,7,6,0.55) 0%, rgba(6,7,6,0.88) 55%, var(--bg) 100%);
  }
  .hero-content { max-width: 100%; text-align: center; margin-inline: auto; }
  .hero-sub {
    margin-inline: auto;
    max-width: 100%;
    font-size: clamp(0.78rem, 3.6vw, 1.15rem);
    white-space: nowrap;
  }
  .hero-actions { justify-content: center; }
}

@media (max-width: 560px) {
  .hero { background-position: 68% top; }
}
