/* cadastro rápido para baixar: janela na cor do cartão */
.icone-cadeado { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; fill-opacity: 0.18; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.modal-aberto { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 18px; background: rgba(10, 10, 13, 0.72); backdrop-filter: blur(6px); animation: modal-fundo 0.2s ease-out; }
.modal-caixa { position: relative; width: min(100%, 460px); max-height: calc(100vh - 36px); overflow: auto; padding: 38px 30px 26px; border-radius: 30px; box-shadow: 0 14px 0 rgba(0, 0, 0, 0.4); animation: modal-pop 0.34s cubic-bezier(0.2, 1.3, 0.4, 1); }
.modal-caixa.laranja { background: var(--laranja); color: var(--tinta); }
.modal-caixa.roxo { background: var(--roxo); color: #fff; }
.modal-biruta { position: absolute; top: 8px; right: 18px; width: 70px; height: 70px; object-fit: contain; filter: drop-shadow(0 5px 0 rgba(0, 0, 0, 0.3)); transform: rotate(8deg); pointer-events: none; }
.modal-fechar { position: absolute; top: 12px; left: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.18); color: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
.modal-fechar:hover { background: rgba(0, 0, 0, 0.32); }
.modal-caixa .cat { margin: 14px 0 0; }
.modal-caixa h2 { margin: 6px 0 4px; font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 1; text-transform: uppercase; }
.modal-sub { margin: 0 0 18px; font-weight: 600; opacity: 0.9; }
.modal-caixa label { display: block; margin: 12px 0 6px; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.modal-caixa input[type="text"], .modal-caixa input[type="email"] { width: 100%; padding: 14px 16px; border: 3px solid var(--tinta); border-radius: 14px; background: #fff; color: var(--tinta); font: 600 17px var(--f-texto); }
.modal-caixa input:focus { outline: 4px solid rgba(255, 255, 255, 0.85); outline-offset: 2px; }
.modal-caixa .armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.modal-erro { min-height: 24px; margin: 10px 0 0; font-weight: 800; font-size: 14px; }
.modal-caixa.laranja .modal-erro { color: #7a1010; }
.modal-caixa.roxo .modal-erro { color: #ffd6a0; }
.modal-enviar { width: 100%; margin-top: 4px; font-size: 15px; }
.modal-caixa.laranja .modal-enviar { background: var(--tinta); color: #fff; }
.modal-caixa.roxo .modal-enviar { background: var(--laranja); color: var(--tinta); }
.modal-lgpd { display: flex; gap: 12px; margin: 18px 0 0; padding: 14px 16px; border-radius: 16px; background: rgba(0, 0, 0, 0.16); font-size: 13px; line-height: 1.45; }
.modal-lgpd svg { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.modal-lgpd a { color: inherit; font-weight: 800; }
.modal-ok { text-align: center; padding: 18px 0 8px; }
.modal-ok svg { width: 84px; height: 84px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.modal-ok circle { stroke-dasharray: 150; stroke-dashoffset: 150; animation: tracar 0.5s 0.05s forwards; }
.modal-ok path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: tracar 0.35s 0.45s forwards; }
.modal-ok h2 { margin-top: 10px; }
.modal-ok p { margin: 0; font-weight: 600; }
@keyframes modal-fundo { from { opacity: 0; } }
@keyframes modal-pop { from { opacity: 0; transform: translateY(24px) scale(0.92) rotate(-1.5deg); } }
@keyframes tracar { to { stroke-dashoffset: 0; } }
@media (max-width: 520px) { .modal-caixa { padding: 36px 20px 22px; } .modal-caixa h2 { font-size: 34px; } .modal-biruta { width: 58px; height: 58px; } }
@media (prefers-reduced-motion: reduce) { .modal-ok circle, .modal-ok path { stroke-dashoffset: 0; } }
