/* Landing — "No celular": tour dos apps do gestor e do zelador (static/js/landing_apps.js) */
.la-sec { position: relative; padding: 96px 24px; background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%); overflow: hidden; scroll-margin-top: 80px; }
.la-head { max-width: 780px; margin: 0 auto 28px; text-align: center; }
.la-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #2563eb; background: #eff6ff; border: 1px solid #dbeafe; padding: 6px 12px; border-radius: 99px; }
.la-head h2 { margin-top: 14px; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; font-weight: 900; letter-spacing: -.03em; color: #0f172a; }
.la-head h2 span { background: linear-gradient(90deg, #2563eb, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.la-head p { margin-top: 14px; font-size: 18px; line-height: 1.6; color: #64748b; }

/* Abas: gestor | zelador */
.la-tabs { display: flex; justify-content: center; gap: 8px; margin: 0 auto 36px; padding: 6px; width: max-content; max-width: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 10px 30px -18px rgba(15,23,42,.35); }
.la-tab { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 13px; border: 0; background: transparent; font: inherit; font-weight: 800; font-size: 15px; color: #475569; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.la-tab small { display: block; font-size: 11.5px; font-weight: 600; color: #94a3b8; }
.la-tab i { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #f1f5f9; color: #64748b; font-size: 14px; }
.la-tab span { text-align: left; line-height: 1.2; }
.la-tab.on { background: #0c1f44; color: #fff; box-shadow: 0 10px 24px -12px rgba(12,31,68,.7); }
.la-tab.on small { color: #a5b4fc; }
.la-tab.on i { background: rgba(255,255,255,.14); color: #fff; }
@media (max-width: 560px) { .la-tab { padding: 8px 10px; font-size: 13.5px; gap: 8px; } .la-tab small { display: none; } .la-tab i { width: 28px; height: 28px; } }

.la-wrap { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 1024px) { .la-wrap { grid-template-columns: 1fr; gap: 20px; } }

/* Capítulos */
.la-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 96px; }
@media (max-width: 1024px) { .la-steps { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; } .la-steps::-webkit-scrollbar { display: none; } }
.la-step { position: relative; display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 16px; border: 1px solid transparent; background: transparent; cursor: pointer; font: inherit; color: inherit; transition: background .2s, border-color .2s, box-shadow .2s; overflow: hidden; }
@media (max-width: 1024px) { .la-step { min-width: 210px; } }
.la-step:hover { background: rgba(255,255,255,.7); }
.la-step .ic { width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #e2e8f0; color: #64748b; font-size: 14px; transition: all .2s; }
.la-step b { display: block; font-size: 14px; font-weight: 800; color: #334155; line-height: 1.3; }
.la-step small { display: block; font-size: 12px; color: #94a3b8; line-height: 1.4; margin-top: 2px; }
.la-step.done .ic { background: #ecfdf5; color: #059669; }
.la-step.on { background: #fff; border-color: #c7d2fe; box-shadow: 0 10px 30px -14px rgba(37,99,235,.35); }
.la-step.on .ic { background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; }
.la-step.on b { color: #0f172a; }
.la-step .bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 99px; background: #eef2ff; overflow: hidden; opacity: 0; }
.la-step.on .bar { opacity: 1; }
.la-step.on .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2563eb, #7c3aed); animation: la-bar var(--d, 10s) linear forwards; }
.la-paused .la-step.on .bar i, .la-offscreen .la-step.on .bar i { animation-play-state: paused; }
@keyframes la-bar { to { width: 100%; } }

/* Palco: celular + legenda ao lado */
.la-stage { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; min-width: 0; }
@media (max-width: 860px) { .la-stage { grid-template-columns: 1fr; justify-items: center; gap: 18px; } }

.la-phone { position: relative; width: min(340px, calc((86vh - 70px) * .462)); min-width: 250px; border-radius: 52px; background: #0b1220; padding: 12px; box-shadow: 0 0 0 2px #1e293b, 0 50px 90px -30px rgba(15,23,42,.55), inset 0 0 0 2px #334155; }
@media (max-width: 860px) { .la-phone { width: min(320px, calc((78vh - 70px) * .462)); } }
@media (max-width: 420px) { .la-phone { width: min(100%, 300px); border-radius: 44px; padding: 10px; } }
.la-phone::after { content: ''; position: absolute; top: 19px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); border-radius: 99px; background: #000; z-index: 40; }
.la-glass { position: relative; width: 100%; border-radius: 42px; overflow: hidden; background: #0c1a33; display: flex; flex-direction: column; }
@media (max-width: 420px) { .la-glass { border-radius: 35px; } }
.la-status { flex: 0 0 auto; height: 34px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 9% 0 11%; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.la-status .ic { display: inline-flex; gap: 5px; font-size: 10.5px; opacity: .95; }
.la-screen { position: relative; width: 100%; aspect-ratio: 390 / 844; overflow: hidden; background: #0c1a33; }
.la-cam { position: absolute; inset: 0; transform-origin: 0 0; transition: transform .9s cubic-bezier(.45,.05,.25,1); will-change: transform; }
.la-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .4s ease, transform .45s cubic-bezier(.22,1,.36,1); }
.la-frame.from-right { transform: translateX(28%); }
.la-frame.from-bottom { transform: translateY(18%); }
.la-frame.from-left { transform: translateX(-28%); }
.la-frame.on { opacity: 1; transform: none; }
.la-reveal { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; }
.la-tint { position: absolute; pointer-events: none; opacity: 0; transition: opacity .35s; }
.la-caret { position: absolute; width: .5%; min-width: 2px; background: #2563eb; border-radius: 2px; animation: la-blink .8s steps(1) infinite; pointer-events: none; }
@keyframes la-blink { 50% { opacity: 0; } }
.la-shimmer { position: absolute; border-radius: 12px; background: linear-gradient(90deg, rgba(219,234,254,0) 0%, rgba(165,180,252,.6) 50%, rgba(219,234,254,0) 100%); background-size: 200% 100%; animation: la-shim 1s linear infinite; pointer-events: none; mix-blend-mode: multiply; }
@keyframes la-shim { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.la-ring { position: absolute; border-radius: 14px; box-shadow: 0 0 0 3px rgba(37,99,235,.95), 0 0 0 9999px rgba(15,23,42,.22); pointer-events: none; opacity: 0; transition: opacity .35s ease, left .55s ease, top .55s ease, width .55s ease, height .55s ease; z-index: 20; }
.la-ring.on { opacity: 1; }
.la-ring::after { content: ''; position: absolute; inset: -3px; border-radius: 16px; box-shadow: 0 0 0 3px rgba(37,99,235,.55); animation: la-pulse 1.4s ease-out infinite; }
@keyframes la-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.06); opacity: 0; } }
.la-finger { position: absolute; left: 50%; top: 60%; z-index: 30; width: 11%; aspect-ratio: 1; margin: -5.5% 0 0 -5.5%; border-radius: 99px; background: rgba(15,23,42,.18); border: 2px solid rgba(255,255,255,.95); box-shadow: 0 6px 16px rgba(15,23,42,.35); pointer-events: none; opacity: 0; transition-property: left, top, opacity, transform; transition-duration: .6s; transition-timing-function: cubic-bezier(.45,.05,.25,1); }
.la-finger.on { opacity: 1; }
.la-finger.down { transform: scale(.78); background: rgba(37,99,235,.35); transition-duration: .6s, .6s, .3s, .12s; }
.la-ripple { position: absolute; z-index: 29; width: 8%; aspect-ratio: 1; margin: -4% 0 0 -4%; border-radius: 99px; background: rgba(37,99,235,.35); pointer-events: none; animation: la-ripple .6s ease-out forwards; }
@keyframes la-ripple { to { transform: scale(3.2); opacity: 0; } }
.la-toast { position: absolute; left: 4%; right: 4%; top: 1.5%; z-index: 35; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 14px 30px -12px rgba(15,23,42,.45); transform: translateY(-140%); transition: transform .5s cubic-bezier(.22,1,.36,1); font-size: 12px; line-height: 1.3; color: #0f172a; }
.la-toast.on { transform: none; }
.la-toast .ap { width: 30px; height: 30px; border-radius: 8px; background: #0c1f44; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 900; font-size: 13px; }
.la-toast b { display: block; font-size: 12px; }
.la-toast small { color: #475569; font-size: 11.5px; }

/* Legenda */
.la-side { max-width: 460px; }
@media (max-width: 860px) { .la-side { text-align: center; } }
.la-who { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7c3aed; }
.la-title { margin-top: 10px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; font-weight: 900; letter-spacing: -.02em; color: #0f172a; }
.la-cap { margin-top: 14px; min-height: 5.2em; font-size: 18px; line-height: 1.55; color: #334155; transition: opacity .3s, transform .3s; }
.la-cap.out { opacity: 0; transform: translateY(6px); }
.la-cap b { color: #1d4ed8; }
@media (max-width: 860px) { .la-cap { min-height: 4.8em; font-size: 16px; } }
.la-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
@media (max-width: 860px) { .la-ctrl { justify-content: center; } }
.la-play { width: 42px; height: 42px; border-radius: 99px; border: 1px solid #e2e8f0; background: #fff; color: #334155; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px -4px rgba(15,23,42,.2); }
.la-play:hover { background: #f8fafc; }
.la-count { font-size: 13.5px; color: #64748b; }
.la-real { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #059669; }
