/* Cabeçalho compartilhado pelo site e pela documentação estática. */
#site-header { position: sticky; top: 0; z-index: 30; padding: 16px 16px 0; font-family: 'Montserrat', sans-serif; }
#site-header .topbar { max-width: 1280px; margin: 0 auto; padding: 16px 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(50,54,112,.96) 0%, rgba(12,77,147,.94) 55%, rgba(47,108,129,.94) 100%); border: 1px solid rgba(255,255,255,.10); box-shadow: 0 18px 45px rgba(12,77,147,.24); }
#site-header .topbar > div { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; }
#site-header .topbar-logo { width: 150px; height: auto; display: block; filter: brightness(0) invert(1); }
#site-header .topbar-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.88); font-size: 14px; font-weight: 600; line-height: 20px; }
#site-header a { color: inherit; text-decoration: none; }
#site-header .topbar-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: .35rem .75rem; border-radius: 12px; }
#site-header .topbar-nav a:hover { color: #fff; }
#site-header .btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 1.5rem; border-radius: 9999px; background: linear-gradient(135deg,#25D366 0%,#128C7E 100%); color: #fff; font-family: 'LINE Seed Sans', 'Montserrat', sans-serif; font-weight: 800; box-shadow: 0 18px 40px rgba(18,140,126,.24); transition: transform .25s ease,box-shadow .25s ease,opacity .25s ease; }
#site-header .btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 24px 44px rgba(18,140,126,.30); opacity: .98; }
#site-header .icon-whatsapp { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; }
#site-header a:focus-visible { outline: 3px solid #dfb34b; outline-offset: 3px; }
@media (min-width: 768px) {
    #site-header .topbar > div { flex-direction: row; }
    #site-header .topbar-nav { gap: 24px; }
}
/* Keep section anchors visible beneath the shared sticky header. */
.doc-section { scroll-margin-top: 150px; }
@media (max-width: 767px) { .doc-section { scroll-margin-top: 240px; } }
