/* Tela de login do Trading Fire (preto espelhado + laranja, mesma identidade do sistema) */
:root {
  --bg: #050506; --painel: #0b0b0e; --linha: rgba(255, 255, 255, .08); --linha2: rgba(255, 255, 255, .14);
  --texto: #c9ccd4; --forte: #f4f5f8; --suave: #7b8190;
  --laranja: #ff7a1a; --laranja2: #fb4f14; --verde: #26d07c; --vermelho: #ff5a5f; --azul: #4fc3f7; --lilas: #c4a1ff;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--texto); font: 14px/1.45 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }

.lg { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }

/* ---------- painel da marca ---------- */
.lg-marca {
  position: relative; overflow: hidden; padding: 40px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  border-right: 1px solid var(--linha);
  background: radial-gradient(820px 560px at 8% 0%, rgba(255, 106, 28, .26), transparent 60%), radial-gradient(620px 440px at 100% 100%, rgba(251, 79, 20, .15), transparent 55%), #040405;
}
.lg-marca::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px;
  mask-image: radial-gradient(circle at 30% 40%, #000 0, transparent 72%); -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 0, transparent 72%);
}
.lg-marca > * { position: relative; z-index: 1; }
.lg-logo, .lg-topo { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.02em; color: var(--forte); }
.lg-logo { font-size: 21px; }
.lg-chama { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(145deg, #ff8a3d, #f23f0c); box-shadow: 0 6px 18px -4px rgba(251, 79, 20, .65), inset 0 1px 0 rgba(255, 255, 255, .35); }
.lg-topo .lg-chama { width: 30px; height: 30px; border-radius: 9px; }
.lg-texto h2 { margin: 0; max-width: 520px; font-size: 40px; line-height: 1.08; font-weight: 700; letter-spacing: -.035em; color: var(--forte); text-wrap: balance; }
.lg-texto h2 em { font-style: normal; background: linear-gradient(135deg, #ffb36b, #fb4f14); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-texto p { margin: 14px 0 0; max-width: 460px; font-size: 15px; line-height: 1.6; color: var(--suave); }

/* gráfico animado */
.lg-viz { position: relative; width: 100%; max-width: 860px; }
@media (min-width: 1500px) { .lg-marca { padding: 48px 72px; } .lg-texto h2 { max-width: 700px; font-size: 50px; } .lg-texto p { max-width: 560px; font-size: 17px; } .lg-pts li { font-size: 16px; } }
.lg-janela { border: 1px solid var(--linha2); border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #101014, #060607); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .07); }
.lg-barra { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--linha); font-size: 12px; color: var(--suave); }
.lg-barra b { color: var(--forte); font-size: 13px; letter-spacing: .02em; }
.lg-ia { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #1a0d03; background: linear-gradient(135deg, #ffb36b, #ff7a1a); padding: 2px 7px; border-radius: 99px; }
#vizGrafico { display: block; width: 100%; height: auto; }
.lg-chip { position: absolute; right: -10px; bottom: -14px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--linha2); background: rgba(16, 16, 20, .88); backdrop-filter: blur(8px); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .8); animation: aparecer .7s 3.1s both; }
.lg-chip small { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); }
.lg-chip b { font-size: 20px; letter-spacing: -.02em; background: linear-gradient(135deg, #7df0b0, #26d07c); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lg-pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lg-pts li { display: flex; align-items: center; gap: 10px; color: var(--texto); font-size: 14px; }
.ck { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; color: #ffa45c; background: rgba(255, 122, 26, .14); border: 1px solid rgba(255, 122, 26, .35); }
.lg-rodape { font-size: 12px; color: #596070; }

/* partes do gráfico */
.cd { transform-box: fill-box; transform-origin: center bottom; animation: crescer .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 55ms + .3s); }
.lta, .ext { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tracar 1.1s ease-out forwards; }
.lta { animation-delay: 2.1s; } .ext { animation-delay: 2.6s; }
.faixa { animation: aparecer 1s 1.7s both; }
.zona, .nivel { animation: aparecer .7s both; animation-delay: 2.7s; }
.zona { animation-delay: 2.5s; } .n1 { animation-delay: 2.8s; } .n2 { animation-delay: 3s; } .n3 { animation-delay: 3.2s; } .n4 { animation-delay: 3.4s; }
.ponto { animation: aparecer .4s 2s both; }
.ponto circle.pulso { transform-box: fill-box; transform-origin: center; animation: pulsar 2.2s 2.4s ease-out infinite; }
@keyframes crescer { from { opacity: 0; transform: scaleY(.2); } to { opacity: 1; transform: scaleY(1); } }
@keyframes tracar { to { stroke-dashoffset: 0; } }
@keyframes aparecer { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pulsar { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }

/* ---------- lado do formulário ---------- */
.lg-lado { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 40px 28px; background: radial-gradient(520px 380px at 50% 0%, rgba(255, 122, 26, .07), transparent 70%), var(--bg); }
.lg-topo { display: none; font-size: 18px; }
.lg-cartao { width: 100%; max-width: 410px; padding: 34px 32px 26px; border-radius: 18px; border: 1px solid var(--linha2); background: linear-gradient(180deg, #121216 0%, #09090b 100%); box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .08); }
.lg-cartao h1 { margin: 0; font-size: 25px; letter-spacing: -.03em; color: var(--forte); }
.sub { margin: 6px 0 22px; color: var(--suave); font-size: 14px; }
.lg-f { margin-bottom: 15px; }
.lg-f label { display: block; margin-bottom: 7px; font-size: 12.5px; font-weight: 600; color: #aab0bd; }
.lg-in { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 13px; border-radius: 11px; background: #060607; border: 1px solid var(--linha2); color: var(--suave); transition: border-color .15s, box-shadow .15s; }
.lg-in:focus-within { border-color: var(--laranja); box-shadow: 0 0 0 3px rgba(255, 122, 26, .16); color: #ffa45c; }
.lg-in.ruim { border-color: var(--vermelho); box-shadow: 0 0 0 3px rgba(255, 90, 95, .14); }
.lg-in input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--forte); font: inherit; font-size: 15px; }
.lg-in input::placeholder { color: #4b505c; }
.lg-in input:-webkit-autofill { -webkit-text-fill-color: var(--forte); box-shadow: 0 0 0 40px #060607 inset; caret-color: var(--forte); }
.lg-olho { display: grid; place-items: center; width: 30px; height: 30px; margin-right: -6px; border: 0; border-radius: 8px; background: transparent; color: var(--suave); cursor: pointer; }
.lg-olho:hover { background: rgba(255, 255, 255, .07); color: var(--forte); }
.lg-msg { margin: 6px 2px 0; font-size: 12px; color: var(--vermelho); }
.lg-erro { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 15px; padding: 11px 13px; border-radius: 11px; font-size: 13px; line-height: 1.4; color: #ffb4b6; background: rgba(255, 90, 95, .09); border: 1px solid rgba(255, 90, 95, .3); }
.lg-erro svg { flex: none; margin-top: 1px; }
.lg-cartao.treme { animation: tremer .38s; }
@keyframes tremer { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.lg-lembrar { display: flex; align-items: center; gap: 9px; margin: 4px 0 20px; cursor: pointer; user-select: none; font-size: 13px; color: #aab0bd; }
.lg-lembrar input { position: absolute; opacity: 0; pointer-events: none; }
.bx { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--linha2); background: #060607; color: transparent; transition: .15s; }
.lg-lembrar input:checked + .bx { background: linear-gradient(145deg, #ff8a3d, #f23f0c); border-color: transparent; color: #fff; }
.lg-lembrar input:focus-visible + .bx { box-shadow: 0 0 0 3px rgba(255, 122, 26, .3); }

.lg-ir { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border: 0; border-radius: 12px; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ff8a3d 0%, #fb4f14 100%); box-shadow: 0 12px 28px -10px rgba(251, 79, 20, .8), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .12s, filter .15s, box-shadow .15s; }
.lg-ir:hover { filter: brightness(1.08); box-shadow: 0 16px 34px -10px rgba(251, 79, 20, .95), inset 0 1px 0 rgba(255, 255, 255, .35); }
.lg-ir:active { transform: translateY(1px); }
.lg-ir:disabled { opacity: .65; cursor: progress; }
.lg-ir svg { transition: transform .15s; } .lg-ir:hover svg { transform: translateX(3px); }
.lg-ajuda { margin: 18px 0 0; text-align: center; font-size: 12.5px; color: #656b79; }
.lg-seguro { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #596070; }

/* ---------- celular / tela estreita ---------- */
@media (max-width: 900px) {
  .lg { grid-template-columns: 1fr; }
  .lg-marca { display: none; }
  .lg-topo { display: flex; }
  .lg-lado { min-height: 100vh; justify-content: center; padding: 28px 16px; }
  .lg-cartao { padding: 28px 22px 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } .lta, .ext { stroke-dashoffset: 0; } }

.lg-logo-img { height: 40px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(255, 110, 20, .35)); }
.lg-topo .lg-logo-img { height: 30px; }
