/* AcolheMente · barra superior e rodapé (js/components/navbar.js), iguais em /, /ceaf/ e /sinan/. */
.sb { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid #e2eaf1; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
.sb .sb-in { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 16px; min-height: 68px; position: relative; }
.sb .brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.sb .brand-logo { height: 42px; width: auto; max-width: 210px; display: block; }
.sb-nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.sb-lista { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.sb-it { position: relative; }
.sb-link, .sb-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; min-height: 40px; border-radius: 10px; border: 0; background: none;
  color: #5b6b7c; font-family: inherit; font-weight: 600; font-size: .9rem; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
.sb-link:hover, .sb-btn:hover, .sb-btn[aria-expanded="true"] { background: #eaf2f9; color: #042a4a; }
.sb-link.ativo { background: #073B66; color: #fff; }
.sb-grupo.ativo > .sb-btn { color: #073B66; box-shadow: inset 0 -3px 0 #FDBA12; }
.sb-btn .ic { width: .75em; height: .75em; transition: transform .15s; }
.sb-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.sb-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; list-style: none; margin: 0; padding: 6px;
  background: #fff; border: 1px solid #e2eaf1; border-radius: 14px; box-shadow: 0 14px 44px rgba(7,59,102,.16); }
.sb-btn[aria-expanded="true"] + .sb-menu { display: block; }
.sb-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: #1d2b3a; text-decoration: none; font-weight: 600; font-size: .9rem; }
.sb-menu a:hover, .sb-menu a:focus-visible { background: #eaf2f9; color: #042a4a; }
.sb-menu a.ativo { background: #073B66; color: #fff; }
.sb :focus-visible { outline: 3px solid rgba(13,79,134,.35); outline-offset: 2px; }
.sb-cta { display: flex; align-items: center; }
.sb-medico { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 16px; border-radius: 999px; border: 0; background: #FDBA12; color: #042a4a;
  font-family: inherit; font-weight: 700; font-size: .88rem; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
.sb-medico:hover { filter: brightness(.96); }
.sb-medico-sinan { font-size: .85rem; white-space: nowrap; }
@media (max-width: 860px) { .sb-medico-sinan { display: block; width: 100%; } }
.sb-medico-sinan .link, .sb-medico-sinan button { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 9px 16px; border-radius: 999px; border: 0;
  background: #FDBA12; color: #042a4a; font-weight: 700; text-decoration: none; cursor: pointer; }
.sb-hamb { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; color: #042a4a; font-size: 1.4rem; cursor: pointer; }
.sb-hamb:hover { background: #eaf2f9; }

@media (max-width: 860px) {
  .sb .brand-logo { height: 36px; max-width: 170px; }
  .sb-hamb { display: inline-flex; align-items: center; justify-content: center; }
  .sb-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 16px 16px;
    background: #fff; border-bottom: 1px solid #e2eaf1; box-shadow: 0 14px 44px rgba(7,59,102,.16); max-height: calc(100vh - 68px); overflow-y: auto; }
  .sb-nav.open { display: flex; }
  .sb-lista { flex-direction: column; align-items: stretch; }
  .sb-link, .sb-btn { width: 100%; min-height: 44px; justify-content: space-between; font-size: 1rem; }
  .sb-menu { position: static; box-shadow: none; border: 0; padding: 0 0 4px 12px; min-width: 0; }
  .sb-menu a { font-size: .97rem; }
  .sb-grupo.ativo > .sb-btn { box-shadow: inset 3px 0 0 #FDBA12; }
  .sb-cta { justify-content: stretch; }
  .sb-medico, .sb-medico-sinan .link, .sb-medico-sinan button { width: 100%; justify-content: center; min-height: 44px; }
}

/* rodapé */
.sb-foot { background: #042a4a; color: #cdddec; padding: 36px 0 28px; margin-top: 40px; font-size: .9rem; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
.sb-foot .container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sb-foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sb-foot strong { color: #fff; }
.sb-foot ul { list-style: none; margin: 8px 0 0; padding: 0; }
.sb-foot li { margin: 0 0 6px; }
.sb-foot a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.sb-foot a:hover { color: #FDBA12; }
.sb-foot .small { font-size: .8rem; color: #a9bfd2; margin: 6px 0 0; }
.sb-foot .brand-accent { color: #FDBA12; }
.sb-foot-txt { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.sb-foot .copyright { display: block; margin: 8px 0 0; color: #a9bfd2; font-size: .76rem; line-height: 1.55; }
@media (max-width: 860px) { .sb-foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .sb-foot-cols { grid-template-columns: 1fr; } .sb .sb-in { padding: 0 14px; } }
