/* CABEÇALHO COMPARTILHADO ENTRE TODAS AS PÁGINAS */

/*
 * Reserva permanentemente o espaço da barra de rolagem. Assim, quando um
 * balão bloqueia a rolagem da página, o conteúdo ao fundo não muda de largura
 * nem sofre o pequeno deslocamento lateral causado pelo sumiço da barra.
 */
html {
  scrollbar-gutter: stable;
}

/*
 * A rolagem continua funcionando por toque, roda do mouse, teclado e
 * touchpad, mas o trilho visual fica invisível em todas as páginas e também
 * nas áreas de rolagem internas.
 */
* {
  -ms-overflow-style: none;
  scrollbar-width: none !important;
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.topbar {
  width: 100%;
  height: 54px;
  padding: 0 20px;

  display: flex;
  align-items: center;

  position: sticky;
  top: 0;
  z-index: 100;

  background-color: #ffffff;
  border-bottom: 1px solid #000000;
}

.marca-topo {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #000000;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(36px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -2.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.marca-topo span {
  width: 33.333%;
}

.marca-topo span:nth-child(1) {
  text-align: left;
}

.marca-topo span:nth-child(2) {
  text-align: center;
}

.marca-topo span:nth-child(3) {
  text-align: right;
}

.marca-topo .numero-marca {
  color: #93301e;
}

body.pagina-arquivo .marca-topo {
  color: #ffffff;
}

body.pagina-arquivo .marca-topo .numero-marca {
  color: #1883ff;
}

body.pagina-arquivo .topbar {
  background-color: #36444f;
  border-bottom-color: #ffffff;
}

@media (max-width: 720px) {
  .topbar {
    height: 48px;
    padding: 0 12px;
  }

  .marca-topo {
    font-size: clamp(28px, 9vw, 34px);
    letter-spacing: -2px;
  }
}
