/* Menu do site SAYO. Um só arquivo para todas as páginas. */
.sm-topo { background: #111111; color: #F6F4EF; padding: 14px var(--margem, 24px); position: relative; z-index: 30; }
.sm-topo .sm-miolo { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sm-logo { display: flex; align-items: center; min-height: 48px; flex: none; }
.sm-logo img { width: 112px; height: auto; display: block; }
.sm-topo a, .sm-topo button { color: #F6F4EF; font-family: "Instrument Sans", system-ui, sans-serif; font-size: 16px; font-weight: 500; }
.sm-topo button { background: none; border: 0; cursor: pointer; padding: 0; }
.sm-topo :focus-visible, .sm-painel :focus-visible { outline: 3px solid #E3A92B; outline-offset: 3px; }

/* computador: itens à vista */
.sm-itens { display: none; list-style: none; margin: 0; padding: 0; align-items: center; gap: 32px; }
.sm-itens > li { position: relative; }
.sm-itens > li > a, .sm-itens > li > button { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; text-decoration: none; border-bottom: 2px solid transparent; }
.sm-itens > li > a:hover, .sm-itens > li > button:hover { border-bottom-color: rgba(246,244,239,.45); }
.sm-itens [aria-current="page"] { border-bottom-color: #F6F4EF !important; }
.sm-seta { width: 10px; height: 10px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
.sm-servicos[aria-expanded="true"] .sm-seta { transform: translateY(2px) rotate(-135deg); }
.sm-caixa { position: absolute; top: calc(100% + 8px); left: -20px; min-width: 260px; list-style: none; margin: 0; padding: 10px 0; background: #111111; border: 1px solid rgba(246,244,239,.22); }
.sm-caixa[hidden] { display: none; }
.sm-caixa a { display: flex; align-items: center; min-height: 48px; padding: 0 20px; text-decoration: none; }
.sm-caixa a:hover, .sm-caixa a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.sm-topo a.sm-zap-topo { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; background: #E3A92B; color: #111111; font-weight: 600; border: 1px solid #E3A92B; border-radius: 2px; text-decoration: none; } /* 24/11: a ação principal do site não pode ser o botão mais apagado do topo */
.sm-topo a.sm-zap-topo:hover { filter: brightness(1.06); }

/* celular: "Faça a conta" + "Menu" */
.sm-cel { display: flex; align-items: center; gap: 16px; }
.sm-cel .sm-conta { display: none; white-space: nowrap; align-items: center; min-height: 48px; text-decoration: none; border-bottom: 2px solid transparent; font-weight: 600; }
.sm-cel .sm-conta[aria-current="page"] { border-bottom-color: #F6F4EF; }
.sm-abre { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600 !important; font-size: 16px !important; }
.sm-riscos { width: 18px; height: 8px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
@media (min-width: 360px) { .sm-cel .sm-conta { display: inline-flex; } }

/* tela do menu no celular */
.sm-painel { position: fixed; inset: 0; z-index: 50; background: #111111; color: #F6F4EF; overflow-y: auto; padding: 14px var(--margem, 24px) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.sm-painel[hidden] { display: none; }
.sm-painel-topo { display: flex; align-items: center; justify-content: space-between; }
.sm-painel-topo img { width: 112px; height: auto; display: block; }
.sm-fecha { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; background: none; border: 0; color: #F6F4EF; font: 600 16px "Instrument Sans", system-ui, sans-serif; cursor: pointer; }
.sm-rotulo { margin: 28px 0 4px; font: 500 14px "Instrument Sans", system-ui, sans-serif; color: #C9D3DD; }
.sm-painel ul { list-style: none; margin: 0; padding: 0; }
.sm-painel .sm-grande a { display: flex; align-items: center; min-height: 52px; font: 700 24px/1.15 Outfit, system-ui, sans-serif; color: #F6F4EF; text-decoration: none; }
.sm-painel .sm-medio { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(246,244,239,.18); }
.sm-painel .sm-medio a { display: flex; align-items: center; min-height: 48px; font: 700 20px/1.2 Outfit, system-ui, sans-serif; color: #F6F4EF; text-decoration: none; }
.sm-painel ul a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.sm-painel .sm-botao { margin-top: auto; padding-top: 28px; }
.sm-painel .sm-botao a { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 24px; background: #E3A92B; color: #111111; font: 600 17px Outfit, system-ui, sans-serif; text-decoration: none; border-radius: 2px; }
html.sm-trava, html.sm-trava body { overflow: hidden; }

/* rodapé: as páginas em duas colunas */
.sm-rodape { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0 28px; max-width: 560px; }
.sm-rodape h2 { font: 600 14px "Instrument Sans", system-ui, sans-serif; color: #C9D3DD; margin: 0 0 6px; max-width: none; }
.sm-rodape ul { list-style: none; margin: 0; padding: 0; }
.sm-rodape a { display: inline-flex; align-items: center; min-height: 48px; font-size: 14px; color: #F6F4EF; text-decoration: underline; text-decoration-color: rgba(246,244,239,.35); text-underline-offset: 4px; }

@media (min-width: 900px) {
  html { scroll-padding-top: 80px; } /* o título da parte não fica escondido atrás do topo preso */
  [id] { scroll-margin-top: 80px; }
  .sm-topo { position: sticky; top: 0; padding-top: 8px; padding-bottom: 8px; min-height: 64px; }
  .sm-itens { display: flex; }
  .sm-cel { display: none; }
  .sm-painel { display: none !important; }
}
