/* CSS dos componentes portados (React Bits: MaskedHeading, WarpText, ElectricLogo, SpecularButton — estrutura copiada, nomes de classe preservados) + estilos do laboratório */
.masked-heading { position: relative; width: 100%; margin: 0; padding: 0; text-wrap: balance; -webkit-font-smoothing: antialiased; }
.masked-heading__measure { color: transparent; }
.masked-heading__word { display: inline-block; white-space: pre; }
.masked-heading__word:not(:last-child)::after { content: ' '; }
.masked-heading__baseline { display: inline-block; width: 0; height: 0; }
.masked-heading__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.masked-heading__reveal { position: absolute; inset: 0; display: block; pointer-events: none; }
.masked-heading__clip { position: absolute; inset: 0; display: block; }
.masked-heading__media { position: absolute; inset: 0; display: block; will-change: transform, filter; }
.masked-heading__source { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }

.fz-warp { position: relative; display: block; width: 100%; min-height: 220px; overflow: hidden; isolation: isolate; border-radius: inherit; }
.fz-warp canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fz-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.fz-specular { position: relative; }
.fz-specular__fx { position: absolute; inset: -20px; pointer-events: none; z-index: 1; }
.fz-specular__fx canvas { display: block; width: 100%; height: 100%; }

/* ── laboratório (palco único) ── */
.bg-stage.is-fx { opacity: 1; display: grid; place-items: center; background: radial-gradient(80% 90% at 50% 40%, #182019, var(--c-dark)); }
.lab-logo { position: relative; width: min(100%, 44rem); height: 100%; }
.lab-warp { width: min(100%, 60rem); min-height: 16rem; color: var(--c-light); }
.lab-mh { width: min(100%, 60rem); min-height: 12rem; display: block; }
.lab-spec { padding: 1.3rem 2.6rem; font: 500 1.15rem/1 var(--font-body); color: var(--c-light); background: #101612; border-radius: 22px; box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%), 0 12px 36px rgb(0 0 0 / 40%); cursor: pointer; transition: transform var(--fz-dur-micro) var(--fz-ease-out); }
.lab-spec:active { transform: scale(0.97); }
