.topo {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.topo .wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.logo-reserva {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 44px;
  padding: 0 var(--space-3);
  border: 1.5px dashed var(--color-reserve-border);
  border-radius: 6px;
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: -.01em;
  line-height: 1.1;
  white-space: nowrap;
  text-decoration: none;
}

.logo-reserva small {
  font-weight: 400;
  font-size: 10px;
  color: var(--color-text-muted);
  letter-spacing: 0;
}

.topo .btn {
  min-height: 44px;
  padding: 0 var(--space-3);
  font-size: var(--text-sm);
  gap: 8px;
  white-space: nowrap;
}

.topo .btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 374px) {
  .topo .btn {
    font-size: 14px;
    padding: 6px 10px;
    white-space: normal;
    line-height: 1.15;
    text-align: left;
    min-width: 0;
  }

  .logo-reserva {
    flex: none;
    padding: 0 var(--space-2);
    font-size: 14px;
  }
}

.aviso {
  position: fixed;
  left: 50%;
  top: calc(var(--header-h) + var(--space-4));
  z-index: 25;
  transform: translate(-50%, -8px);
  max-width: min(440px, calc(100% - 2 * var(--gutter)));
  background: var(--color-surface-strong);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  box-shadow: var(--shadow-float);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease-out), transform var(--dur-normal) var(--ease-out);
}

.aviso.mostra {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .aviso,
  .aviso.mostra {
    transform: translate(-50%, 0);
  }
}
