/* ── HERO ── */

.hero-images {
  position: absolute;
  inset: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 3s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide:nth-child(1) {
  background-image: url("/apps/hfm4/assets/hero_hmf4.jpg");
}

.hero-slide:nth-child(2) {
  background-image: url("/apps/hfm4/assets/hero_hfm4_2.jpg");
}

.hero-slide:nth-child(3) {
  background-image: url("/apps/hfm4/assets/hero_hfm4_3.jpg");
}
.hero-overlay-hfm4 {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(rgba(13, 20, 19, 0.85), rgba(13, 20, 19, 0.85)),
    radial-gradient(circle at center, rgba(29, 219, 181, 0.12), transparent 70%);

  opacity: 1;

  animation: heroOverlayReveal 3s ease-in-out forwards;

  pointer-events: none;
}

@keyframes heroOverlayReveal {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.2;
  }
}

/* ── NOVA ÁREA DE AÇÕES ── */

.cta-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  margin-top: 1rem;
}
.cta-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.cta-action-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  text-align: center;
}

.section-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── networks ── */
.card-primary {
  background: var(--bg-primary);
  position: relative;
}
.card-secondary {
  background: var(--bg-secondary);
  position: relative;
}
.double-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.services-image {
  width: 100%;
  height: auto;
  display: block;
}

.cla-image {
  width: 70%;
  height: auto;
  display: block;
}

.criar-image {
  width: 70%;
  height: auto;
  display: block;
}

/* ── BOTÃO COM IMAGEM DA PLAY STORE ── */

.cta-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 0.2rem;
  margin-bottom: 2rem;
}

.cta-store-button img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}
.cta-store-button:hover img {
  filter: drop-shadow(0 0 3px rgba(29, 219, 181, 0.8))
    drop-shadow(0 0 7px rgba(29, 219, 181, 0.5))
    drop-shadow(0 0 12px rgba(29, 219, 181, 0.25));

  transform: translateY(-2px);
}

.hero {
  position: relative; /* referência para o posicionamento */
}

.hero-content-text {
  position: absolute;
  z-index: 1;

  bottom: 1rem; /* distância da parte de baixo */
  left: 50%;
  transform: translateX(-50%);

  width: 100%;
  text-align: center;
}
/* ── PRESENTATION ── */
.presentation {
  position: relative;
  background: linear-gradient(
    to bottom,
    var(--bg-secondary) 50%,
    var(--bg-primary) 30%,
    var(--bg-secondary) 50%
  );
}

.presentation .highlight {
  position: relative;
  color: var(--accent);
}

.presentation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.2;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-slide {
    background-position: 78% center;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    background-position: 50% center;
  }

  .services-image {
    width: 100%;
    height: auto;
    display: block;
  }

  .double-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .section-visual {
    height: 250px;
    order: 1;
  }
  .section-content {
    order: 2;
  }
  .cta-actions {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
