/* MODAL DE CAPTURA + FORMULÁRIO — usado por qualquer página com o popup de assets/popup.js
   (investir, home, palazzo). Depende das variáveis --white/--navy/--serif/--sans/--gold/--gold-lt
   já definidas no :root de cada página. */
.zafar-modal { position: fixed; inset: 0; background: rgba(13,30,53,0.6); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 1rem; }
.zafar-modal.is-open { display: flex; }
.zafar-modal__card { background: var(--white); border-radius: 8px; padding: 2rem; max-width: 400px; width: 100%; position: relative; }
.zafar-modal__x { position: absolute; top: 0.75rem; right: 0.75rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #999; }
.zafar-modal__card h3 { font-family: var(--serif); color: var(--navy); margin-bottom: 0.25rem; }
.zafar-modal__sub { color: #777; font-size: 0.9rem; margin-bottom: 1.25rem; }
.zafar-form label { display: block; margin-bottom: 1rem; font-size: 0.85rem; color: var(--navy); }
.zafar-form input { width: 100%; margin-top: 0.35rem; padding: 0.7rem; border: 1px solid #ddd; border-radius: 4px; font-family: var(--sans); font-size: 1rem; }
.zafar-form small { display: block; margin-top: 0.3rem; color: #999; font-weight: 400; }
.zafar-form__send { width: 100%; background: var(--gold); color: var(--white); border: none; padding: 0.9rem; border-radius: 4px; font-family: var(--sans); font-weight: 500; font-size: 1rem; cursor: pointer; }
.zafar-form__send:hover { background: var(--gold-lt); }
.zafar-form__send:disabled { opacity: 0.6; cursor: not-allowed; }
.zafar-form__err { color: #c0392b; font-size: 0.85rem; margin-top: 0.75rem; }
.zafar-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
