

.cta-parallax {
  position: relative;
  background: url("../img/parallax.webp") center center / cover no-repeat fixed;
  padding: 120px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* OVERLAY DEGRADÊ */
.cta-parallax::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(178,27,28,0.95) 100%
  );
  z-index: 1;
}

/* CONTEÚDO */
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

/* TÍTULO */
.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

/* TEXTO */
.cta-content p {
  font-size: 1.1rem;
  color: #f1f1f1;
  margin-bottom: 30px;
}

/* BOTÃO */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #f6f7f7;
    color: #dd0e0e;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* ÍCONE */
.cta-btn i {
  font-size: 1.2rem;
}

/* HOVER PREMIUM */
.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
}

.cta-btn:hover::before {
  transform: translateX(100%);
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  background: #1ebe5d;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
}

/* CORREÇÃO PARALLAX MOBILE */
@media (max-width: 768px) {
  .cta-parallax {
    background-attachment: scroll;
  }
}
