/* Barra fixa da demonstração e ajustes de layout para ela não cobrir conteúdo. */
:root { --demo-h: 36px; }
.demo-barra {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300; height: var(--demo-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 16px;
  background: #050507; color: #ececf1; border-bottom: 1px solid rgba(255,255,255,.08);
  font: 400 12.5px/1 system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; letter-spacing: 0; text-transform: none;
}
.demo-barra .demo-txt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(236,236,241,.8); }
.demo-barra a { flex-shrink: 0; white-space: nowrap; color: #fff; text-decoration: none; }
.demo-barra a:hover, .demo-barra a:focus-visible { text-decoration: underline; }
@media (max-width: 520px) { .demo-barra .demo-extra { display: none; } }

html { scroll-padding-top: var(--demo-h); }
body { padding-top: var(--demo-h); }

/* apresentação: menu fixo logo abaixo da barra; blocos de tela cheia descontam a barra */
nav.topo { top: var(--demo-h); }
#abertura { min-height: calc(100vh - var(--demo-h)); }
.maquete-wrap { height: calc(100vh - var(--demo-h)); }
.maquete-painel { max-height: calc(100vh - 8rem - var(--demo-h)); }
@media (max-width: 960px) {
  .maquete-wrap { height: auto; }
  .maquete-painel { max-height: none; }
}

/* portal: avisos curtos da demonstração */
.nota-demo { font-size: .68rem; line-height: 1.6; letter-spacing: .02em; color: rgba(239,230,210,.62); margin-top: 1.1rem; }
