/* =========================================================
   Popup de proteção de checkout (assets/checkout.js).
   Independente da página: funciona com lp.css (replay) e styles.css (página de vendas).
   Paleta Grafite e ouro.
   ========================================================= */

.ck-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.ck-modal[hidden] { display: none; }
.ck-fundo { position: absolute; inset: 0; background: rgba(10, 11, 13, 0.72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: ck-in .2s ease; }
.ck-caixa { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; background: #1b1d21; color: #ffffff; border: 1px solid rgba(201, 162, 75, 0.6); border-radius: 22px; padding: 36px 32px 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); animation: ck-sobe .25s ease; box-sizing: border-box; }
.ck-caixa *, .ck-caixa *::before, .ck-caixa *::after { box-sizing: border-box; }
.ck-caixa h2 { color: #ffffff; font-size: clamp(1.45rem, 5vw, 1.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 10px; padding-right: 40px; }
.ck-sub { color: rgba(255, 255, 255, 0.86); font-size: .98rem; line-height: 1.5; margin: 0 0 20px; }
.ck-fechar { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.08); color: #ffffff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.ck-fechar:hover { background: rgba(255, 255, 255, 0.16); }
.ck-fechar svg { width: 20px; height: 20px; }
.ck-campo { margin-bottom: 12px; }
.ck-input { display: block; width: 100%; background: rgba(255, 255, 255, 0.05); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 14px 16px; font: inherit; font-size: 1rem; outline: none; -webkit-appearance: none; appearance: none; }
.ck-input::placeholder { color: rgba(255, 255, 255, 0.68); }
.ck-input:focus { border-color: #c9a24b; box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.25); }
.ck-input.ck-invalido { border-color: #ffb4a8; }
.ck-btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; padding: 16px 24px; border: 0; border-radius: 999px; background: #c9a24b; color: #1b1d21; font: inherit; font-size: 1rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; transition: transform .15s ease; }
.ck-btn:hover { transform: translateY(-1px); }
.ck-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.ck-erro { color: #ffb4a8; font-size: .9rem; margin: 10px 0 0; display: none; }
.ck-erro.ck-mostra { display: block; }
.ck-nota { color: rgba(255, 255, 255, 0.68); font-size: .8rem; line-height: 1.5; margin: 16px 0 0; text-align: center; }
.ck-nota a { color: rgba(255, 255, 255, 0.86); text-decoration: underline; }
body.ck-aberto { overflow: hidden; }
[data-checkout][hidden] { display: none !important; }
@keyframes ck-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ck-sobe { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .ck-caixa { padding: 34px 20px 24px; border-radius: 20px; } }
