/* Vitrine 4D — Demonstração ao vivo (js/marca.js, bloco [data-demo]). Usado na home e em como-funciona/.
 * Sem JS: aparece a captura com o link "Abrir a apresentação ao vivo". Com JS: abas, iframe só depois do clique, tela cheia. */
.demo { margin-top: 32px; min-width: 0; }
.demo-abas { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.demo-abas button { appearance: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--linha, rgba(255,255,255,.1)); background: transparent; color: var(--texto-2, #94a3b8); font: 600 .92rem/1.2 var(--f-texto, system-ui, sans-serif); cursor: pointer; }
.demo-abas button[aria-selected="true"] { background: var(--fundo-3, #121c3a); color: var(--texto, #e6ecff); border-color: var(--ambar, #fbbf24); }
.demo-abas button:focus-visible { outline: 2px solid var(--ambar, #fbbf24); outline-offset: 2px; }
html:not(.js) .demo-abas { display: none; }

.demo-palco { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--linha, rgba(255,255,255,.1)); background: var(--fundo-2, #070d1e); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); aspect-ratio: 4 / 5; max-height: 78svh; width: 100%; }
@media (min-width: 768px) { .demo-palco { aspect-ratio: 16 / 9; max-height: none; } }
.demo-capa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo-cobre { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px; padding: 24px 16px 28px; text-align: center; background: linear-gradient(180deg, rgba(7, 13, 30, 0) 30%, rgba(7, 13, 30, .88) 100%); }
.demo-titulo { max-width: 26em; color: var(--texto, #e6ecff); font-size: 1rem; line-height: 1.45; text-shadow: 0 1px 12px rgba(7, 13, 30, .8); }
.demo-cobre .btn { min-height: 52px; }
.demo-iniciar::before { content: ""; width: 0; height: 0; margin-right: 10px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }
.demo-quadro { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; background: var(--fundo-2, #070d1e); }
.demo.ao-vivo .demo-cobre { display: none; }
.demo-palco:fullscreen { border-radius: 0; border: 0; max-height: none; aspect-ratio: auto; }
.demo-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.demo-acoes .btn { min-height: 44px; padding: 0 18px; font-size: .9rem; }
.demo-nota { margin-top: 10px; min-height: 1.4em; color: var(--texto-2, #94a3b8); font-size: .92rem; }
.demo.estatico .demo-cheia { display: none; }
