/* Telas de conta (entrar, assinar, obrigado, bloqueio, senha) no visual da landing e do comecar.php. */
:root {
    --bg: #05080F; --card: #0C1424; --card-2: #111B30;
    --line: rgba(148, 170, 210, .12); --line-2: rgba(148, 170, 210, .22);
    --text: #E9EFF9; --muted: #8C9AB5; --dim: #5B6984;
    --blue: #3B7BFF; --blue-2: #77A6FF;
    --green: #19C38E; --amber: #F5A524; --red: #F0506E;
    --f: 'Geist', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --f-mono: 'Geist Mono', ui-monospace, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--text); font-family: var(--f);
    font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--blue-2); text-decoration: none; }
a:hover { color: #A9C6FF; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--f-mono); }

.bg-grid {
    position: fixed; inset: 0; pointer-events: none;
    background-image: linear-gradient(to right, rgba(119,166,255,.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(119,166,255,.06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 15%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 15%, #000 20%, transparent 75%);
}
.bg-glow { position: fixed; width: 900px; height: 700px; left: 50%; top: -340px; margin-left: -450px; pointer-events: none; background: radial-gradient(ellipse at center, rgba(59,123,255,.20), transparent 62%); }

.conta { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 28px 16px 40px; }
.conta-topo { width: 100%; max-width: 980px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(28px, 7vh, 72px); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 18px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo .ico { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(180deg, #4C88FF, #2462F0); display: grid; place-items: center; box-shadow: 0 6px 20px -6px rgba(59,123,255,.8); color: #fff; font-size: 14px; }
.logo b { color: var(--blue-2); font-weight: 800; }
.conta-topo .link { color: var(--muted); font-size: 14px; font-weight: 500; }
.conta-topo .link:hover { color: var(--text); }

.cartao { position: relative; width: 100%; max-width: 440px; background: linear-gradient(180deg, rgba(17,27,48,.92), rgba(12,20,36,.96)); border: 1px solid var(--line-2); border-radius: 18px; padding: 30px 28px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset; }
.cartao.largo { max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.eyebrow.ok { color: #6EE7B7; } .eyebrow.ok::before { background: var(--green); box-shadow: 0 0 12px var(--green); }
.eyebrow.alerta { color: #FCD34D; } .eyebrow.alerta::before { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.eyebrow.erro { color: #FDA4AF; } .eyebrow.erro::before { background: var(--red); box-shadow: 0 0 12px var(--red); }
h1 { margin: 0 0 8px; font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.sub { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.sub strong, .nota strong { color: var(--text); font-weight: 600; }

.campo { margin-bottom: 14px; }
.campo label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.campo label a { font-size: 13px; }
.campo input { width: 100%; background: rgba(5,8,15,.55); border: 1px solid var(--line-2); border-radius: 11px; padding: 12px 14px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.campo input::placeholder { color: var(--dim); }
.campo input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,123,255,.16); }
.campo input[readonly] { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 14px 20px; border-radius: 12px; border: 0; cursor: pointer; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; transition: transform .2s, box-shadow .25s, background .2s, opacity .2s; text-decoration: none; }
.btn-primary { color: #fff; background: linear-gradient(180deg, #4C88FF 0%, #2F66F5 100%); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 10px 30px -10px rgba(59,123,255,.9); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 16px 40px -12px rgba(59,123,255,1), 0 0 0 6px rgba(59,123,255,.14); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.08); }
.btn[disabled], .btn.carregando { opacity: .6; cursor: wait; transform: none; }
.btn + .btn { margin-top: 10px; }

.aviso { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 11px; font-size: 14px; margin-bottom: 18px; border: 1px solid; }
.aviso i { margin-top: 3px; }
.aviso.ok { color: #A7F3D0; background: rgba(25,195,142,.08); border-color: rgba(25,195,142,.3); }
.aviso.erro { color: #FECDD3; background: rgba(240,80,110,.08); border-color: rgba(240,80,110,.3); }
.aviso.info { color: #C7D8FF; background: rgba(59,123,255,.08); border-color: rgba(59,123,255,.3); }

.lista { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; }
.lista li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; }
.lista li i { color: var(--green); margin-top: 4px; font-size: 13px; }
.lista li strong { color: var(--text); font-weight: 600; }

.preco { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 4px 0 18px; }
.preco .valor { font-family: var(--f-mono); font-size: 30px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.preco .per { color: var(--muted); font-size: 14px; }

.linha-tempo { display: grid; grid-template-columns: 14px 1fr; gap: 0 12px; margin: 0 0 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(5,8,15,.35); }
.linha-tempo .pt { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); margin-top: 6px; box-shadow: 0 0 10px var(--blue); }
.linha-tempo .pt.cinza { background: var(--dim); box-shadow: none; }
.linha-tempo .tx { font-size: 14px; color: var(--muted); padding-bottom: 10px; }
.linha-tempo .tx:last-child { padding-bottom: 0; }
.linha-tempo .tx b { color: var(--text); font-weight: 600; }

.nota { margin: 16px 0 0; color: var(--dim); font-size: 13px; text-align: center; }
.selos { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--dim); font-size: 12.5px; }
.selos span { display: inline-flex; align-items: center; gap: 6px; }
.rodape { margin-top: auto; padding-top: 36px; color: var(--dim); font-size: 12.5px; text-align: center; }
.rodape a { color: var(--muted); }

@media (max-width: 480px) {
    .cartao { padding: 24px 18px; border-radius: 16px; }
    h1 { font-size: 23px; }
}

/* ---------- Tela dividida (entrar / recuperar): vitrine do sistema + formulario ---------- */
.split { height: 100vh; min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(400px, .85fr); }
.vitrine { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 36px clamp(28px, 4vw, 64px); background: radial-gradient(ellipse 80% 60% at 30% 0%, rgba(59,123,255,.28), transparent 70%), linear-gradient(160deg, #0A1530 0%, #060B18 60%, #05080F 100%); border-right: 1px solid var(--line); }
.vitrine::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(119,166,255,.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(119,166,255,.07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 40% 30%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 40% 30%, #000 20%, transparent 80%); }
.vitrine > * { position: relative; }
.vitrine-texto { margin: clamp(32px, 8vh, 88px) 0 48px; max-width: 520px; }
.vitrine-texto h2 { margin: 0 0 14px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.06; font-weight: 600; letter-spacing: -.04em; text-wrap: balance; }
.vitrine-texto h2 span { color: var(--blue-2); }
.vitrine-texto p { margin: 0; color: var(--muted); font-size: 16.5px; max-width: 34em; }
.vitrine-palco { position: relative; margin-top: auto; margin-bottom: -140px; margin-right: calc(-1 * clamp(28px, 4vw, 64px) - 40px); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.janela { border-radius: 14px 0 0 0; background: #0B1222; box-shadow: 0 0 0 1px rgba(150,180,255,.16), 0 40px 100px -30px rgba(59,123,255,.55); overflow: hidden; }
.janela-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.janela-bar .dots { display: flex; gap: 6px; }
.janela-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #1E2A42; display: block; }
.janela-bar .url { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 7px; background: rgba(255,255,255,.04); }
.janela-bar .url i { color: var(--green); font-size: 10px; }
.janela img { display: block; width: 100%; height: auto; }
.selo-flutuante { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 13px; background: rgba(12,20,36,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--line-2), 0 18px 40px -16px rgba(0,0,0,.8); font-size: 13px; }
.selo-flutuante .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; }
.selo-flutuante small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.2; }
.selo-flutuante strong { font-weight: 600; letter-spacing: -.01em; }
.selo-1 { left: -14px; top: 42%; }
.selo-2 { right: 72px; top: 16%; }

.lado-form { display: flex; flex-direction: column; padding: 32px clamp(24px, 4vw, 56px); background: #070B15; overflow-y: auto; }
.lado-form .topo-form { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.lado-form .topo-form .logo { display: none; margin-right: auto; }
.lado-form .topo-form .link { color: var(--muted); font-size: 14px; font-weight: 500; }
.lado-form .topo-form .link:hover { color: var(--text); }
.form-centro { width: 100%; max-width: 380px; margin: auto; padding: 40px 0; }
.form-centro h1 { font-size: 30px; }
.lado-form .rodape { padding-top: 0; }

@media (max-width: 960px) {
    .split { grid-template-columns: 1fr; height: auto; min-height: 100vh; }
    .vitrine { display: none; }
    .lado-form { min-height: 100vh; background: radial-gradient(ellipse 90% 45% at 50% 0%, rgba(59,123,255,.16), transparent 70%), var(--bg); padding: 24px 16px 28px; }
    .lado-form .topo-form .logo { display: inline-flex; }
    .form-centro { padding: 32px 0; }
}
