.marca img {
  width: 112px;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: 6px;
}

.cabecalho-inner {
  padding-block: 12px;
}

.sidebar {
  overflow-y: auto;
}

.sidebar .marca {
  margin-bottom: 20px;
}

.sidebar .marca img {
  width: 170px;
  height: auto;
}

.login-card .marca {
  display: block;
  margin-bottom: 25px;
}

.login-card .marca img {
  width: 150px;
  height: auto;
}

.rodape .marca img {
  width: 140px;
  height: auto;
}

.hero-visual > img.hero-logo {
  height: auto;
  aspect-ratio: 1280 / 1095;
  object-fit: contain;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 18px 48px #70451c18;
}

.hero-visual:has(.hero-logo)::before {
  border-radius: 18px;
}

.hero-visual:has(.hero-logo) .visual-numero {
  display: none;
}

.login-visual img {
  object-fit: contain;
  height: auto;
  width: min(80%, 560px);
  margin: 70px auto 0;
  filter: none;
  border-radius: 18px;
}

.hero-visual:has(.hero-logo) .foto-legenda {
  display: none;
}

.servico-admin-nome {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 420px;
}

.servico-miniatura {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.selecao-servico img,
.servico-card img {
  object-fit: contain;
  background: #faf6f0;
}

.acao-excluir {
  color: var(--cor-erro);
  border-color: #dfc3c3;
}

.selecao-servico:has(img) {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px;
}

.selecao-servico img {
  width: 100%;
  height: auto;
  max-height: 240px;
  margin: 0;
  object-fit: contain;
  background: transparent;
  border-radius: 8px;
}

.selecao-servico-detalhes {
  min-width: 0;
  overflow-wrap: anywhere;
}

.selecao-servico-detalhes strong {
  margin-bottom: 8px;
}

.selecao-servico-detalhes > span:last-child {
  margin-top: 12px;
  font-weight: 500;
  color: var(--cor-primaria);
}

@media (max-width: 640px) {
  .selecao-servico:has(img) {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
  .selecao-servico-detalhes strong {
    font-size: 20px;
  }
}

.cadastro-previa,
.logo-previa {
  max-width: 100%;
  width: 280px;
  max-height: 280px;
  object-fit: contain;
  border: 1px solid var(--cor-borda);
  border-radius: 8px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .cabecalho .marca img {
    width: 80px;
    height: auto;
  }
}
.credito-dev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--cor-muted);
}

.credito-dev strong {
  font-weight: 700;
  color: var(--cor-texto);
}

.credito-dev img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 4px;
}

.credito-dev:hover strong {
  text-decoration: underline;
}

.credito-dev:focus-visible {
  outline: 2px solid var(--cor-primaria);
  outline-offset: 4px;
  border-radius: 4px;
}
