.topbar {
  background: var(--dark);
  color: white;
  padding: 8px max(24px, calc((100vw - 1200px) / 2));
  font-size: 10px;
  letter-spacing: 0.12em;
  display: flex;
  justify-content: space-between;
}
.topbar span {
  letter-spacing: 0.05em;
  opacity: 0.7;
}
header {
  position: sticky;
  top: 0;
  background: #fffffff5;
  z-index: 30;
  box-shadow: 0 1px 0 #073b9b15;
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: Montserrat, Arial;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.035em;
  line-height: 1;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.23em;
  margin-top: 7px;
  font-weight: 600;
}
.brand-mark {
  font-size: 45px;
  letter-spacing: -0.16em;
}
.brand-mark span {
  color: var(--wood);
  font-weight: 400;
  font-size: 40px;
}
.header-inner nav {
  display: flex;
  gap: 22px;
  font-size: 12px;
  font-weight: 500;
}
.header-inner nav a:hover {
  color: var(--wood);
}
.header-cta {
  font-size: 11px;
  padding: 12px 15px;
  gap: 10px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--blue);
  font-size: 27px;
}

.brand img {
  width: 195px;
  height: auto;
  object-fit: contain;
}
footer .brand {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
footer .brand img {
  width: 180px;
}
@media (max-width: 700px) {
  .brand img {
    width: 160px;
  }
}

.topbar {
  justify-content: center;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Mensagens completas, sem rolagem horizontal. */
.topbar {
  position: relative;
  min-height: 40px;
  padding: 8px 18px;
  justify-content: center;
  overflow: hidden;
}
.announcement-messages {
  width: 100%;
  text-align: center;
}
.announcement-message {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 1 !important;
  color: white;
  line-height: 1.5;
}
.announcement-message[hidden] {
  display: none;
}
.announcement-message.is-active {
  animation: announcement-in 0.35s ease-out;
}
@keyframes announcement-in {
  from {
    opacity: 0.5;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .announcement-message.is-active {
    animation: none;
  }
}
