/* Identidade compartilhada pelo site e pelas páginas da Conta. */
.platform-header {
  position: relative;
  z-index: 50;
  background: rgba(255, 253, 248, .97);
  border-bottom: 1px solid rgba(11, 59, 46, .14);
  box-shadow: 0 3px 18px rgba(11, 59, 46, .04);
}

.platform-header-inner {
  width: min(100% - 48px, 1300px);
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.platform-brand {
  display: flex;
  align-items: center;
  flex: none;
  width: 228px;
  text-decoration: none;
}

.platform-brand img { display: block; width: 100%; height: auto; }

.platform-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.platform-links a {
  padding: 9px 0;
  color: #173b31;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.platform-links a:hover { color: #a57439; }
.platform-links .platform-exit { border-bottom: 1px solid #b88a51; }

/* A página institucional mantém sua navegação própria, mas usa a mesma escala. */
.site-header .header-inner { min-height: 88px; }
.site-header .site-logo { width: 228px; height: auto; }

@media (max-width: 1190px) {
  .site-header .site-logo { width: 200px; }
}

@media (max-width: 970px) {
  .site-header .header-inner { min-height: 78px; }
  .site-header .site-logo { width: 190px; }
}

@media (max-width: 760px) {
  .platform-header-inner {
    width: min(100% - 28px, 1300px);
    min-height: 76px;
    flex-wrap: wrap;
    gap: 4px 16px;
    padding: 8px 0;
  }
  .platform-brand { width: 190px; }
  .platform-links { flex: 1; gap: 5px 14px; }
  .platform-links a { font-size: 12px; }
}

@media (max-width: 480px) {
  .platform-brand { width: 175px; }
  .platform-links { justify-content: flex-start; width: 100%; flex-basis: 100%; }
  .site-header .site-logo { width: 185px; }
}
