/* Janela de cadastro antes do download (js/public/tools/lead-gate.js) */
.lgt { position: fixed; inset: 0; z-index: 2000; background: rgba(11, 18, 32, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lgt[hidden] { display: none; }
html.lgt-open { overflow: hidden; }
.lgt-box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 18px; padding: 28px 24px 22px; box-shadow: 0 24px 60px rgba(11, 18, 32, .3); text-align: center; }
.lgt-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: #9ca3af; cursor: pointer; border-radius: 10px; }
.lgt-x:hover { background: #f3f4f6; color: #0b1220; }
.lgt-ic { width: 52px; height: 52px; border-radius: 14px; background: #fff4ec; color: #f97316; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 10px; }
.lgt-ic.ok { background: #ecfdf5; color: #10b981; }
.lgt-box h2 { font-size: 21px; font-weight: 800; color: #0b1220; margin: 0 0 6px; }
.lgt-box p { font-size: 14.5px; color: #6b7280; line-height: 1.5; margin: 0 0 18px; }
.lgt-form label { display: block; text-align: left; font-size: 13px; font-weight: 700; color: #0b1220; margin-bottom: 12px; }
.lgt-form label small { font-weight: 500; color: #9ca3af; }
.lgt-form input { display: block; width: 100%; height: 48px; margin-top: 6px; padding: 0 14px; border: 1px solid #d9dde3; border-radius: 10px; font-size: 16px; font-family: inherit; color: #0b1220; }
.lgt-form input::placeholder { color: #b4bac4; }
.lgt-form input:focus { outline: none; border-color: #f97316; box-shadow: 0 0 0 3px rgba(249, 115, 22, .15); }
.lgt-form label.lgt-optin { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; font-size: 13px; color: #6b7280; line-height: 1.45; }
.lgt-form label.lgt-optin input { display: inline-block; width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: #f97316; }
.lgt-err { display: block; color: #ef4444; font-size: 13px; text-align: left; margin: -4px 0 10px; }
.lgt-err[hidden] { display: none; }
.lgt-go { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; height: 50px; border: 0; border-radius: 10px; background: #f97316; color: #fff; font-family: inherit; font-weight: 800; font-size: 16px; cursor: pointer; text-decoration: none; }
.lgt-go:hover { background: #ea580c; color: #fff; text-decoration: none; }
.lgt-go:disabled { opacity: .6; cursor: wait; }
.lgt-fine { display: block; margin-top: 10px; font-size: 12px; color: #9ca3af; }
.lgt-code { font-family: 'IBM Plex Mono', monospace; font-size: 24px; font-weight: 700; letter-spacing: 2px; color: #f97316; background: #fff7ed; border: 1px dashed #fed7aa; border-radius: 10px; padding: 12px; margin: 0 0 16px; }
@media print { .lgt { display: none !important; } }
