/* Property interest modal — layout-2 (sem Bootstrap) */

.d-none {
  display: none !important;
}

body.property-interest-open {
  overflow: hidden;
}

.property-interest-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height, 72px) + 1rem) 1.25rem 1.25rem;
}

.property-interest-modal[hidden] {
  display: none !important;
}

.property-interest-modal__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.property-interest-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(92vh, 720px);
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--global-white);
  border: 1px solid var(--global-gray-200);
  box-shadow: var(--shadow-lg);
}

.property-interest-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--global-gray-200);
  background: var(--global-white);
  color: var(--global-gray-900);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.property-interest-modal__close:hover {
  background: var(--global-gray-100);
}

.property-interest-modal__scroll {
  max-height: min(calc(92vh - 3.5rem), 660px);
  overflow-x: hidden;
  overflow-y: auto;
}

.property-interest-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--global-gray-500);
}

.property-interest-modal__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--global-gray-900);
}

.property-interest-modal__subtitle {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--global-gray-600);
  line-height: 1.45;
}

.property-interest-modal__property {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  background: var(--global-gray-50);
  border-left: 3px solid var(--global-gray-900);
  font-size: 0.9rem;
}

.property-interest-modal__ref {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--global-gray-500);
}

.property-interest-modal__alert {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.property-interest-modal__alert--success {
  background: #ecfdf5;
  color: #166534;
}

.property-interest-modal__alert--error {
  background: #fef2f2;
  color: #b91c1c;
}

.property-interest-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .property-interest-form__grid {
    grid-template-columns: 1fr;
  }
}

.property-interest-form__field {
  margin-bottom: 0.75rem;
}

.property-interest-form .form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--global-gray-700);
}

.property-interest-form .form-control {
  width: 100%;
  border: 1px solid var(--global-gray-300);
  padding: 0.75rem 1rem;
  font: inherit;
  background: var(--global-white);
}

.property-interest-form__phone {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem;
}

.property-interest-form__privacy {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: var(--global-gray-600);
  margin: 1rem 0;
}

.property-interest-form__submit {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: none;
  background: var(--global-gray-900);
  color: var(--global-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.property-interest-form__submit:hover {
  background: var(--global-blue-5);
}

.property-interest-form__phone-hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--global-gray-500);
}

.text-muted {
  color: var(--global-gray-500);
  font-weight: 400;
}

.w-100 {
  width: 100%;
}

/* Dropdown país (telefone) — acima do painel do modal */
.property-interest-modal .property-interest-form__phone-country .country-list {
  z-index: 5;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}
