/* Header em duas linhas:
   Linha 1: logo + nome
   Linha 2: menu de opções (scroll horizontal no mobile) */

.site-topbar {
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.site-topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 16px 10px;
  display: flex;
  flex-direction: column; /* duas linhas */
  gap: 10px;
}

/* Linha 1: somente logo + nome */
.topbar-brandrow {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topbar-brandrow .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topbar-brandrow .brand img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  background: #ffffff;
  flex: 0 0 auto;
}

.topbar-brandrow .brand .name {
  font-weight: 800;
  font-size: 42px;
  letter-spacing: 0.2px;
  color: #f9fafb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Linha 2: menu */
.topbar-menubar {
  display: flex;
  gap: 10px;
  align-items: center;

  /* melhor para celular: uma linha rolável */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;

  scrollbar-width: none;
}
.topbar-menubar::-webkit-scrollbar { display: none; }

/* opções menores */
.topbar-menubar .pill-link {
  flex: 0 0 auto;
  font-size: 13px;     /* DIMINUA AQUI a fonte do menu */
  padding: 7px 10px;   /* DIMINUA AQUI o tamanho do "pill" */
  white-space: nowrap;
}

/* Ajustes mobile pequenos */
@media (max-width: 380px) {
  .topbar-brandrow .brand img { width: 40px; height: 40px; }
  .topbar-brandrow .brand .name { font-size: 16px; }
  .topbar-menubar .pill-link { font-size: 12px; padding: 7px 9px; }
}