body .public-header{position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line);background:var(--color-surface)}
/* Altura estável evita ciclos entre compactação e ancoragem da rolagem. */
body .public-header .nav{width:min(1320px,calc(100% - 48px));height:auto;min-height:72px;gap:24px;flex-wrap:nowrap;padding:8px 0}
body .public-header .brand{flex:none}
body .public-header .brand-symbol{width:40px;height:40px;flex:0 0 40px;overflow:visible;padding:5px;border-radius:12px;color:var(--color-surface);background:var(--primary)}
body .public-header .brand-symbol path{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
body .public-header .brand-symbol circle{fill:var(--accent);stroke:var(--color-surface);stroke-width:1.4}
body .public-header .brand-symbol .brand-land{opacity:.58}
body .public-header .brand>span{line-height:1.05}
body .public-header nav{display:flex;width:auto;margin-left:auto;gap:24px;align-items:center;overflow:visible}
body .public-header nav a{font-size:14px;min-height:44px}
body .public-header nav .public-management-link{padding:10px 14px;border:1px solid var(--line);border-radius:var(--radius-button);background:var(--surface-soft);color:var(--primary)}
.public-menu-toggle{min-height:44px;gap:8px;border:1px solid var(--line);color:var(--primary);background:var(--color-surface)}
.public-menu-toggle[hidden],#menu-principal[hidden]{display:none}
@media(max-width:760px){body .public-header .nav{width:calc(100% - 32px);flex-wrap:wrap;gap:8px;min-height:64px}.public-menu-toggle{margin-left:auto}body .public-header nav{width:100%;margin:0;flex-direction:column;align-items:stretch;gap:4px;padding:8px 0}body .public-header nav a{padding:8px 12px}body .public-header .brand{font-size:14px}}
