/* ============================================================
   ATHENIO — CONVERSION FEATURES CSS
   Exit Intent Popup · Desktop Sticky CTA · LGPD Badge
   ============================================================ */

/* ----------------------------------------------------------
   1. EXIT INTENT POPUP (desktop only)
   ---------------------------------------------------------- */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 12, 12, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.exit-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.exit-popup {
  position: relative;
  max-width: 480px;
  width: 90%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 40px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-out);
}

.exit-popup-overlay.active .exit-popup {
  transform: scale(1);
}

.exit-popup h3 {
  font-family: var(--font-title);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0 0 12px;
}

.exit-popup p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 28px;
}

.exit-popup .btn-exit-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #4FD1C5;
  color: #070C0C;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 0 40px rgba(79, 209, 197, 0.3), 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.exit-popup .btn-exit-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 64px rgba(79, 209, 197, 0.5), 0 16px 48px rgba(0, 0, 0, 0.5);
}

.exit-popup .btn-exit-cta:active {
  transform: translateY(0);
}

.exit-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.exit-popup-close:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}


/* ----------------------------------------------------------
   3. DESKTOP STICKY CTA
   ---------------------------------------------------------- */
.desktop-sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out),
              opacity 0.4s var(--ease-out);
}

.desktop-sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
}

.desktop-sticky-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4FD1C5;
  color: #070C0C;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 0 32px rgba(79, 209, 197, 0.25), 0 6px 24px rgba(0, 0, 0, 0.35);
}

.desktop-sticky-cta:hover {
  box-shadow: 0 0 48px rgba(79, 209, 197, 0.4), 0 12px 36px rgba(0, 0, 0, 0.45);
}

.desktop-sticky-cta:active {
  transform: translateY(2px);
}

@media (max-width: 768px) {
  .desktop-sticky-cta {
    display: none !important;
  }
}

/* ----------------------------------------------------------
   4. LGPD BADGE
   ---------------------------------------------------------- */
.lgpd-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1;
}

.lgpd-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
