/* =========================
   CONTACT — EXPERIÊNCIA IMERSIVA (AJUSTADA)
========================= */

.contact {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(
    1200px 600px at 50% 80%,
    rgba(59,130,246,0.15),
    #020617 70%
  );
  padding: 220px 24px;
  overflow: hidden;
}

/* CAMADA INTERATIVA (mouse + entrada) */
.contact-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px 420px at var(--x, 50%) var(--y, 50%),
    rgba(59,130,246,0.28),
    transparent 65%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* ATIVA GLOW NA ENTRADA */
.contact.is-visible .contact-glow {
  opacity: 1;
}

/* CONTAINER */
.contact-core {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;

  padding: 104px 80px;
  border-radius: 36px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.10),
    rgba(255,255,255,0.04)
  );
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(22px);

  transform: translateY(48px) scale(0.95);
  opacity: 0;
  transition:
    transform 0.9s cubic-bezier(.2,.8,.2,1),
    opacity 0.9s ease;
}

/* ENTRADA */
.contact.is-visible .contact-core {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* TEXTOS */

.contact-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--blue-accent);
  opacity: 0.9;
}

.contact-core h3 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 22px 0;
}

.contact-description {
  max-width: 540px;
  margin: 0 auto 64px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* CTA PRINCIPAL */

.contact-main {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;

  padding: 28px 64px;
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    var(--blue-primary),
    var(--blue-secondary)
  );

  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;

  box-shadow:
    0 30px 60px rgba(59,130,246,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.18);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.contact-main::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: radial-gradient(
    circle,
    rgba(59,130,246,0.55),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.contact-main:hover {
  transform: translateY(-8px);
  box-shadow:
    0 40px 80px rgba(59,130,246,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.22);
}

.contact-main:hover::after {
  opacity: 1;
}

.contact-main span {
  font-size: 0.7rem;
  opacity: 0.85;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* LINKS SECUNDÁRIOS */

.contact-secondary {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-secondary a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
}

.contact-secondary a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--blue-accent);
  transition: width 0.3s ease, left 0.3s ease;
}

.contact-secondary a:hover {
  color: var(--blue-accent);
}

.contact-secondary a:hover::after {
  width: 100%;
  left: 0;
}

/* MOBILE — garante experiência sem mouse */
@media (max-width: 768px) {
  .contact {
    padding: 160px 20px;
  }

  .contact-core {
    padding: 72px 32px;
  }

  .contact-glow {
    opacity: 0.35;
  }
}
