.ingresso-form-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 23, 48, 0.78);
  backdrop-filter: blur(5px);
}

.ingresso-form-modal-overlay.ativo {
  display: flex;
}

.ingresso-form-modal {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height: 620px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.ingresso-form-modal:focus {
  outline: none;
}

.ingresso-form-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 14px;
  background: #f7f9fb;
  border-bottom: 1px solid rgba(28, 48, 81, 0.12);
}

.ingresso-form-modal__title {
  margin: 0;
  color: #1c3051;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 900;
  line-height: 1.1;
  text-wrap: balance;
}

.ingresso-form-modal__description {
  max-width: 48ch;
  margin: 6px 0 0;
  color: #3f4b5f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.ingresso-form-modal__close {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #1c3051;
  background: #ffffff;
  border: 1px solid rgba(28, 48, 81, 0.18);
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.ingresso-form-modal__close:hover {
  background: #eef3f8;
  transform: translateY(-1px);
}

.ingresso-form-modal__close:focus-visible {
  outline: 3px solid #df7521;
  outline-offset: 3px;
}

.ingresso-form-modal__close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.ingresso-form-modal__content {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  overflow: auto;
  background: #ffffff;
}

.ingresso-form-modal__iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

@media (max-width: 600px) {
  .ingresso-form-modal-overlay {
    align-items: stretch;
    padding: 10px;
  }

  .ingresso-form-modal {
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .ingresso-form-modal__header {
    padding: 16px 14px 12px;
  }

  .ingresso-form-modal__description {
    font-size: 13px;
  }
}
