/* Marca do Dr. Jassônio (monograma JM no rim), escolhida em 17/11. Cabeçalho, rodapé e páginas de orientações. */

.topo .topo__nome,
.blog-topo .blog-topo__nome {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}
.topo__marca { flex: none; display: block; height: 34px; width: auto; color: var(--tinta); }
.topo__nome-texto { display: inline-flex; flex-wrap: wrap; column-gap: .28em; }
.blog-topo .topo__nome-texto { flex-direction: column; }

.rodape__marca { display: block; width: 76px; height: 76px; margin-bottom: 18px; }

@media (min-width: 700px) {
  .blog-topo .topo__nome-texto { flex-direction: row; }
}
@media (max-width: 760px) {
  .topo .topo__nome-texto { flex-direction: column; }
  .topo__marca { height: 32px; }
  .topo .topo__nome, .blog-topo .blog-topo__nome { gap: 8px; }
  .rodape__marca { width: 64px; height: 64px; margin-bottom: 14px; }
}
@media (max-width: 374px) {
  .topo__marca { height: 28px; }
  .topo .topo__nome, .blog-topo .blog-topo__nome { gap: 7px; }
}

.topo__nome-texto > span { white-space: nowrap; }
@media (max-width: 374px) {
  .topo .topo__nome { font-size: 13.5px; }
}

/* Rodapé (18/11): logo ao lado do nome, ícones na mesma linha, uma linha fina,
   e embaixo o © à esquerda e o aviso à direita. Só CSS: o HTML é o modelo do painel. */
.rodape .rodape__grade {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 48px;
  row-gap: 0;
  align-items: start;
  /* embaixo, espaço para o botão do chat não cobrir o aviso */
  padding-block: clamp(48px, 5vw, 72px) 104px;
}
.rodape .rodape__identificacao {
  grid-column: 1; grid-row: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
}
.rodape .rodape__marca { grid-column: 1; grid-row: 1 / span 3; width: 56px; height: 56px; margin: 0; }
.rodape .rodape__identificacao > p { grid-column: 2; }
.rodape .rodape__nome { margin: 1px 0 6px; font-size: 17px; }
.rodape :is(.rodape__profissao, .rodape__registros) { max-width: none; font-size: 15px; text-wrap: pretty; }
.rodape .rodape__redes { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; gap: 0 18px; }
.rodape .rodape__grade::after {
  content: ""; grid-column: 1 / -1; grid-row: 2; align-self: start;
  margin-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--linha);
}
.rodape :is(.rodape__direitos, .rodape__texto) {
  grid-row: 2; margin: clamp(36px, 4vw, 52px) 0 0; padding-top: 20px;
  font-size: 14px; line-height: 1.5; color: var(--tinta-2); max-width: none;
}
.rodape .rodape__direitos { grid-column: 1; justify-self: start; }
.rodape .rodape__texto { grid-column: 2; justify-self: end; text-align: right; }

@media (max-width: 760px) {
  .rodape .rodape__grade { grid-template-columns: minmax(0, 1fr); padding-block: 36px 112px; }
  .rodape .rodape__identificacao { column-gap: 16px; }
  .rodape .rodape__marca { width: 48px; height: 48px; }
  .rodape .rodape__nome { font-size: 17px; }
  .rodape :is(.rodape__profissao, .rodape__registros) { font-size: 15px; }
  .rodape .rodape__redes { grid-column: 1; grid-row: 2; justify-self: start; margin: 18px 0 0 64px; }
  .rodape .rodape__grade::after { grid-row: 3; margin-top: 28px; }
  .rodape :is(.rodape__direitos, .rodape__texto) { grid-column: 1; margin-top: 28px; justify-self: start; text-align: left; }
  .rodape .rodape__direitos { grid-row: 3; }
  .rodape .rodape__texto { grid-row: 4; margin-top: 6px; padding-top: 0; }
}
