.business-lead-overlay[hidden], [data-multi-cnpj-quantity][hidden] { display:none !important; }
.business-lead-overlay { position:fixed; inset:0; z-index:2147483000; display:grid; place-items:center; padding:16px; background:rgba(3,4,94,.62); backdrop-filter:blur(4px); }
.business-lead-modal { position:relative; width:min(100%,760px); max-height:min(92vh,900px); display:flex; flex-direction:column; border-radius:28px; background:#fff; box-shadow:0 30px 80px rgba(3,4,94,.28); overflow:hidden; }
.business-lead-close { position:absolute; top:14px; right:14px; z-index:2; width:42px; height:42px; display:grid; place-items:center; border:0; border-radius:50%; background:#e4edff; color:#072ac8; font-size:30px; line-height:1; cursor:pointer; }
.business-lead-close:focus-visible { outline:2px solid #072ac8; outline-offset:2px; }
.business-lead-modal__header { padding:28px 32px 17px; border-bottom:1px solid #e4edff; }
.business-lead-modal__header span { display:block; color:#072ac8; font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.business-lead-modal__header h2 { margin:.4rem 40px .3rem 0; color:#03045e; font-size:clamp(1.45rem,3vw,2rem); line-height:1.2; }
.business-lead-modal__header p { margin:0; color:#39405a; font-size:14px; }
.business-lead-modal__body { overflow-y:auto; padding:20px 32px 32px; overscroll-behavior:contain; }
.business-lead-modal__body .form-section.home-platform-form { padding:0; box-shadow:none; border-radius:0; background:#fff; }
.business-lead-modal__body .form-section-right { width:100%; }
.business-lead-modal__body .compact-lead-form { margin:0; }
.business-page select.form-input, .business-lead-modal select.form-input { appearance:auto; color:#072ac8; }
.business-page [data-multi-cnpj-quantity] small, .business-lead-modal [data-multi-cnpj-quantity] small { color:#4a5568; font-size:12px; line-height:1.5; }
@media(max-width:767px) { .business-lead-overlay { padding:0; } .business-lead-modal { width:100%; max-height:100dvh; height:100dvh; border-radius:0; } .business-lead-modal__header { padding:22px 18px 14px; } .business-lead-modal__body { padding:18px; } .business-lead-close { right:12px; top:12px; } }

/* No formulário de parceria, título e campos rolam juntos; o botão de fechar permanece visível. */
#businessPartnerOverlay .business-lead-modal { width:min(100%,920px); max-height:calc(100dvh - 32px); display:block; overflow-y:auto; scrollbar-width:none; }
#businessPartnerOverlay .business-lead-modal::-webkit-scrollbar { display:none; }
#businessPartnerOverlay .business-lead-close { position:sticky; top:14px; float:right; margin:14px 14px -42px 0; }
#businessPartnerOverlay .business-lead-modal__header { padding:32px 48px 10px; border:0; text-align:center; }
#businessPartnerOverlay .business-lead-modal__header h2 { margin:0; color:#03045e; }
#businessPartnerOverlay .business-lead-modal__body { overflow:visible; padding:16px 48px 42px; }
#businessPartnerOverlay .form-section-right { padding:0; box-shadow:none; }
@media(max-width:767px) {
  #businessPartnerOverlay .business-lead-modal { width:100%; height:100dvh; max-height:100dvh; border-radius:0; }
  #businessPartnerOverlay .business-lead-modal__header { padding:28px 18px 8px; }
  #businessPartnerOverlay .business-lead-modal__body { padding:14px 18px 28px; }
  #businessPartnerOverlay .business-lead-close { top:12px; margin:12px 12px -42px 0; }
}
