/* OVERLAY */
#cta-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 40, 0.75);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

#cta-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* MODAL */
.cta-modal {
  display: flex;
  flex-direction: column;

  background: #ffffff;
  max-width: 595px;
  width: 100%;
  max-height: 85vh;

  /* 🔴 REMOVIDO height: 100% */
  border-radius: 10px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

/* CONTEÚDO (FORM) */
.cta-content {
  padding: 24px;

  flex: 1;                /* 🔥 ocupa todo espaço disponível */
  overflow-y: auto;

  width: 100%;
  box-sizing: border-box;
}

/* BOTÃO DE FECHAR */
.cta-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}

.cta-content form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-content input,
.cta-content textarea,
.cta-content button {
  width: 100%;
  box-sizing: border-box;
}

