/* T1 Academy · tela de login (mesmo desenho do login do CRM T1: vitrine escura + formulário limpo) */
.lg-pagina { --lg-ink: #2d2e30; --lg-ink2: #3A3A3A; --lg-mut: #8A8A8A; --lg-line: #E9EDEF; --lg-green: #14FF00; --lg-green-soft: rgba(20,255,0,.14); --lg-ease: cubic-bezier(.2,.8,.2,1);
  background: #FAFAFA; overflow-x: hidden; }
body.fora .top, body.fora .rod { display: none; }

.lg-dots { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(21,21,21,.07) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); }
.lg-glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.lg-glow.g1 { width: 520px; height: 520px; background: rgba(20,255,0,.10); top: -160px; right: -120px; animation: lgDrift 18s ease-in-out infinite; }
.lg-glow.g2 { width: 420px; height: 420px; background: rgba(20,255,0,.06); bottom: -160px; left: -120px; animation: lgDrift 22s ease-in-out infinite reverse; }
@keyframes lgDrift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,30px) scale(1.08); } }

.lg-wrap { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px 24px; }
.lg-shell { width: min(1080px, 100%); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  padding: 10px; border-radius: 34px; position: relative;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 1px 2px rgba(21,21,21,.04), 0 40px 90px -40px rgba(21,21,21,.35), inset 0 1px 0 #fff;
  animation: lgRise .9s var(--lg-ease) both; }
@keyframes lgRise { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- vitrine ---------- */
.lg-vitrine { position: relative; overflow: hidden; border-radius: 26px; padding: 40px 38px 30px; color: #fff; min-height: 560px;
  background: radial-gradient(120% 80% at 0% 0%, rgba(20,255,0,.16), transparent 55%), radial-gradient(90% 60% at 100% 100%, rgba(20,255,0,.06), transparent 60%), #121212;
  display: flex; flex-direction: column; }
.lg-vitrine::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 18px 18px;
  mask-image: linear-gradient(180deg, transparent, #000 60%); }
.lg-vitrine h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; position: relative; z-index: 1; }
.lg-vitrine h2 span { color: var(--lg-green); }
.lg-vitrine > p { margin-top: 12px; font-size: 14px; line-height: 1.55; color: #A9A9A9; max-width: 380px; position: relative; z-index: 1; }

.lg-cenas { position: relative; flex: 1; margin-top: 28px; min-height: 300px; z-index: 1; }
.lg-cena { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--lg-ease), visibility 0s .5s; display: grid; gap: 12px; align-content: start; }
.lg-cena.ativa { opacity: 1; visibility: visible; transition: opacity .5s var(--lg-ease); }
.lg-vt { border-radius: 18px; padding: 16px 18px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateY(14px); }
.lg-cena.ativa .lg-vt { animation: lgVt .7s var(--lg-ease) forwards; }
.lg-cena.ativa .lg-vt:nth-child(2), .lg-cena.ativa > div:nth-child(2) .lg-vt:first-child { animation-delay: .1s; }
.lg-cena.ativa .lg-vt:nth-child(3), .lg-cena.ativa > div:nth-child(2) .lg-vt:nth-child(2) { animation-delay: .2s; }
.lg-cena.ativa .lg-vt:nth-child(4) { animation-delay: .3s; }
@keyframes lgVt { to { opacity: 1; transform: none; } }
.lg-vt small { display: block; font-size: 11.5px; font-weight: 600; color: #9A9A9A; }
.lg-vt b { display: block; font-weight: 800; letter-spacing: -.01em; }
.lg-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.9); color: #151515; margin-bottom: 10px; }
.lg-ico svg, .lg-av svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* cena 1 · aula em vídeo */
.lg-cena[data-cena="0"] { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.lg-player { padding: 10px 10px 14px; }
.lg-tela { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(90% 90% at 80% 10%, rgba(255,255,255,.10), transparent 60%), #1C1E1C; }
.lg-tela .lg-balao { position: absolute; left: 12%; font-size: 10px; font-weight: 600; padding: 6px 9px; border-radius: 9px; max-width: 62%; }
.lg-tela .lg-balao.c { top: 16%; background: rgba(255,255,255,.92); color: #151515; border-top-left-radius: 3px; }
.lg-tela .lg-balao.v { top: 40%; left: auto; right: 10%; background: #DCF6D3; color: #151515; border-top-right-radius: 3px; }
.lg-play { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #151515; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.4); margin-top: 34%; }
.lg-play svg { width: 16px; height: 16px; margin-left: 2px; fill: currentColor; }
.lg-barra { height: 4px; border-radius: 99px; background: rgba(255,255,255,.12); margin: 12px 4px 0; overflow: hidden; }
.lg-barra i { display: block; height: 100%; width: 0; background: var(--lg-green); border-radius: inherit; }
.lg-cena.ativa .lg-barra i { animation: lgAssiste 4.2s linear .4s forwards; }
@keyframes lgAssiste { to { width: 68%; } }
.lg-player b { font-size: 14px; margin: 10px 4px 0; }
.lg-player small { margin: 2px 4px 0; }
.lg-col { display: grid; gap: 12px; align-content: start; }
.lg-mini { display: flex; flex-direction: column; gap: 4px; }
.lg-mini b { font-size: 24px; }
.lg-mini.destaque { background: #fff; border-color: #fff; color: #151515; }
.lg-mini.destaque small { color: rgba(21,21,21,.6); }
.lg-mini.destaque .lg-ico { background: #151515; color: var(--lg-green); }

/* cena 2 · conversa */
.lg-topo { display: flex; align-items: center; justify-content: space-between; }
.lg-topo b { font-size: 20px; margin-top: 2px; }
.lg-tag { font-size: 11px; font-weight: 700; color: #D6D6D6; border: 1px solid rgba(255,255,255,.14); padding: 5px 10px; border-radius: 99px; }
.lg-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.lg-item > div { flex: 1; min-width: 0; }
.lg-item b { font-size: 14px; }
.lg-item small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-av { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #151515; display: grid; place-items: center; flex: none; }
.lg-st { font-size: 11.5px; font-weight: 700; padding: 6px 10px; border-radius: 99px; border: 1px solid rgba(255,255,255,.14); color: #D6D6D6; white-space: nowrap; }
.lg-st.ok { background: var(--lg-green); border-color: var(--lg-green); color: #151515; font-weight: 800; }

/* cena 3 · trilha */
.lg-trilha { display: grid; gap: 12px; }
.lg-fl { display: grid; grid-template-columns: 158px 1fr 32px; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: #BDBDBD; }
.lg-fl i { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.lg-fl i::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: rgba(255,255,255,.85); transform-origin: left; transform: scaleX(0); }
.lg-cena.ativa .lg-fl i::after { animation: lgFx 1s var(--lg-ease) .2s forwards; }
.lg-fl.ok i::after { background: var(--lg-green); }
.lg-fl b { text-align: right; color: #fff; font-size: 12px; }
@keyframes lgFx { to { transform: scaleX(1); } }
.lg-lin { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lg-lin .lg-mini b { font-size: 22px; }

.lg-pontos { display: flex; gap: 6px; position: relative; z-index: 1; margin-top: 18px; }
.lg-pontos button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.22); transition: width .4s var(--lg-ease), background .3s; padding: 0; }
.lg-pontos button.on { width: 26px; background: var(--lg-green); }

/* ---------- formulário ---------- */
.lg-card { padding: 46px 48px 30px; display: flex; flex-direction: column; color: var(--lg-ink); }
.lg-logo { display: block; height: 22px; width: auto; align-self: flex-start; margin-bottom: 12px; }
.lg-eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--lg-mut); padding-bottom: 22px; border-bottom: 1px solid var(--lg-line); margin-bottom: 30px; }
.lg-modo { display: flex; flex-direction: column; }
.lg-modo[hidden] { display: none; }
.lg-modo h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.lg-sub { margin: 6px 0 22px; color: var(--lg-mut); font-size: 14px; line-height: 1.55; }
.lg-modo form { display: grid; gap: 12px; }
.lg-campo { position: relative; display: flex; align-items: center; height: 54px; border-radius: 15px; padding: 0 14px 0 46px;
  background: #F3F4F5; border: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s; }
.lg-campo:focus-within { background: #fff; border-color: var(--lg-ink); box-shadow: 0 0 0 4px var(--lg-green-soft); }
.lg-campo > svg { position: absolute; left: 16px; width: 18px; height: 18px; fill: none; stroke: #9A9A9A; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.lg-campo:focus-within > svg { stroke: var(--lg-ink); }
.lg-campo input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--lg-ink); }
.lg-campo input::placeholder { color: #A5A5A5; font-weight: 500; }
.lg-olho { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--lg-mut); }
.lg-olho:hover { color: var(--lg-ink); background: rgba(21,21,21,.05); }
.lg-olho svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lg-olho.on { color: #0A9A00; }
.lg-lembrar { display: flex; align-items: center; gap: 10px; margin: 4px 2px 2px; cursor: pointer; user-select: none; }
.lg-lembrar input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lg-chave { position: relative; width: 38px; height: 22px; border-radius: 99px; background: #DADDD6; flex: none; transition: background .25s ease; }
.lg-chave::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform .25s cubic-bezier(.33,1,.68,1); }
.lg-lembrar input:checked + .lg-chave { background: #12C900; }
.lg-lembrar input:checked + .lg-chave::after { transform: translateX(16px); }
.lg-lembrar input:focus-visible + .lg-chave { outline: 2px solid #12C900; outline-offset: 2px; }
.lg-lembrar span:last-child { font-size: 13px; font-weight: 600; color: #4A4F47; }
.lg-msg { font-size: 13px; font-weight: 500; color: #E5484D; }
.lg-msg.ok { color: #0A9A00; }
.lg-msg:empty { display: none; }
.lg-btn { height: 56px; margin-top: 6px; border-radius: 15px; background: #12C900; color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden;
  box-shadow: 0 16px 30px -18px rgba(18,201,0,.9); transition: transform .25s var(--lg-ease), box-shadow .25s; }
.lg-btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--lg-ease); }
.lg-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -18px rgba(18,201,0,.9); }
.lg-btn:hover svg { transform: translateX(4px); }
.lg-btn::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent); transform: skewX(-20deg); transition: left .7s var(--lg-ease); }
.lg-btn:hover::after { left: 120%; }
.lg-btn:disabled { opacity: .8; cursor: progress; transform: none; }
.lg-btn.carregando svg { animation: lgGira .8s linear infinite; }
@keyframes lgGira { to { transform: rotate(360deg); } }
.lg-link { align-self: center; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--lg-ink2); padding: 4px 0; }
.lg-link:hover { color: var(--lg-ink); text-decoration: underline; text-underline-offset: 3px; }
.lg-rodape { margin-top: auto; padding-top: 26px; text-align: center; }
.lg-rodape p { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--lg-mut); }
.lg-rodape img { height: 14px; width: auto; display: block; }
.lg-rodape small { display: block; margin-top: 10px; font-size: 11px; color: #B5B5B5; }
.lg-teste { margin-top: 14px; font-size: 12px; color: var(--lg-mut); background: #F3F4F5; padding: 8px 12px; border-radius: 10px; text-align: center; }

/* linha do gráfico atrás do cartão */
.lg-linha { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: visible; }
.lg-linha path { fill: none; vector-effect: non-scaling-stroke; }
.lg-linha .l1 { stroke: #14FF00; stroke-width: 2; stroke-opacity: .55; stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: lgDraw 2.8s var(--lg-ease) .6s forwards; }
.lg-linha .l2 { stroke: #151515; stroke-opacity: .12; stroke-width: 1.5; stroke-dasharray: 6 8; }
@keyframes lgDraw { to { stroke-dashoffset: 0; } }

@media (max-width: 920px) {
  .lg-shell { grid-template-columns: 1fr; max-width: 460px; }
  .lg-vitrine, .lg-linha { display: none; }
}
@media (max-width: 480px) {
  .lg-shell { padding: 0; border-radius: 26px; }
  .lg-card { padding: 34px 24px 24px; }
}
@media (max-width: 700px) { .lg-campo input { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .lg-pagina *, .lg-pagina *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

/* ---------- vitrine clara (sem preto) ---------- */
.lg-vitrine { color: var(--lg-ink); border: 1px solid #EEF0EC;
  background: radial-gradient(110% 70% at 0% 0%, rgba(20,255,0,.07), transparent 55%), radial-gradient(90% 60% at 100% 100%, rgba(21,21,21,.03), transparent 60%), #F6F7F5; }
.lg-vitrine::after { background-image: radial-gradient(rgba(21,21,21,.06) 1px, transparent 1px); }
.lg-vitrine h2 span { color: #0FA800; }
.lg-vitrine > p { color: var(--lg-mut); }
.lg-vt { background: #fff; border-color: #ECEEEA; box-shadow: 0 1px 2px rgba(21,21,21,.03), 0 14px 30px -22px rgba(21,21,21,.25); }
.lg-vt small { color: var(--lg-mut); }
.lg-ico { background: #F3F4F5; color: var(--lg-ink); }
.lg-tela { background: radial-gradient(90% 90% at 80% 10%, #fff, transparent 60%), #EEF0EC; }
.lg-tela .lg-balao.c { background: #fff; box-shadow: 0 1px 2px rgba(21,21,21,.08); }
.lg-play { background: #fff; color: var(--lg-ink); box-shadow: 0 10px 24px -6px rgba(21,21,21,.25); }
.lg-barra { background: #ECEEEA; }
.lg-barra i { background: #12C900; }
.lg-mini.destaque { background: #fff; border-color: #ECEEEA; color: var(--lg-ink); }
.lg-mini.destaque small { color: var(--lg-mut); }
.lg-mini.destaque .lg-ico { background: #EAF8E6; color: #0FA800; }
.lg-tag { color: var(--lg-ink2); border-color: #E3E6E0; }
.lg-av { background: #F3F4F5; }
.lg-st { color: var(--lg-ink2); border-color: #E3E6E0; }
.lg-st.ok { background: #EAF8E6; border-color: #EAF8E6; color: #0A8A00; }
.lg-fl { color: var(--lg-ink2); }
.lg-fl i { background: #EEF0EC; }
.lg-fl i::after { background: #C9CEC4; }
.lg-fl.ok i::after { background: #12C900; }
.lg-fl b { color: var(--lg-ink); }
.lg-pontos button { background: #D5D9D1; }
.lg-pontos button.on { background: #12C900; }
