/* One shared navigation identity for public pages, client, lawyer and admin. */
:root{--dj-nav-height:96px;--dj-brasil:linear-gradient(90deg,#164fb0 0%,#087bb1 19%,#00a46c 40%,#9ebc28 65%,#f3cc19 83%,#f6c317 100%)}
.dj-public-header,#dj-home .dj-public-header{width:100%;padding-top:4px;flex:none;background:#fff;color:#092746;font:14px/1.5 Inter,Arial,sans-serif;border-bottom:1px solid #edf2f8;position:relative;z-index:25}
.dj-public-header *,#dj-home .dj-public-header *{box-sizing:border-box}
.dj-public-header .dj-header,#dj-home .dj-public-header .dj-header{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:calc(var(--dj-nav-height) - 5px);min-height:0;margin:0 auto;padding:12px 36px;gap:32px;flex-wrap:nowrap;border:0}
.dj-public-header button,#dj-home .dj-public-header button{font:inherit;touch-action:manipulation;cursor:pointer}
.dj-public-header .brand,#dj-home .dj-public-header .brand{min-width:0;flex:0 1 auto}
.dj-public-header .brand.brand-logo-button .brand-logo-frame,#dj-home .dj-public-header .brand.brand-logo-button .brand-logo-frame{width:258px!important;max-width:100%!important;height:70px!important;padding:0!important}
.dj-public-header .dj-nav,#dj-home .dj-public-header .dj-nav{display:flex;align-items:center;justify-content:center;margin:0 auto;gap:38px;font-size:14px;font-weight:600;min-width:0;white-space:nowrap}
.dj-public-header .dj-nav button,#dj-home .dj-public-header .dj-nav button{position:relative;padding:12px 0;border:0;background:none;color:#17314e;font-size:14px;font-weight:600;white-space:nowrap;min-height:44px}
.dj-public-header .dj-nav button:after{content:'';position:absolute;bottom:3px;left:0;right:0;height:2px;border-radius:2px;background:#164fb0;transform:scaleX(0);transition:transform .16s}
.dj-public-header .dj-nav button:hover,.dj-public-header .dj-nav button[aria-current=page],#dj-home .dj-public-header .dj-nav button:hover,#dj-home .dj-public-header .dj-nav button[aria-current=page]{color:#164fb0}
.dj-public-header .dj-nav button[aria-current=page]:after,.dj-public-header .dj-nav button:hover:after{transform:scaleX(1)}
.dj-public-header .dj-header-actions,#dj-home .dj-public-header .dj-header-actions{display:flex;align-items:center;gap:12px;margin-left:0;flex:none}
.dj-public-header .dj-register,.dj-public-header .dj-enter,#dj-home .dj-public-header .dj-register,#dj-home .dj-public-header .dj-enter{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 24px;margin:0;border:1px solid #164fb0;border-radius:24px;font-size:14px;font-weight:600;white-space:nowrap;line-height:1.5}
.dj-public-header .dj-register,#dj-home .dj-public-header .dj-register{background:#164fb0;color:#fff;box-shadow:0 3px 9px #164fb012}
.dj-public-header .dj-enter,#dj-home .dj-public-header .dj-enter{background:#fff;color:#164fb0}
.dj-public-header .dj-register:hover,#dj-home .dj-public-header .dj-register:hover{background:#103f91;border-color:#103f91}
.dj-public-header .dj-enter:hover,#dj-home .dj-public-header .dj-enter:hover{background:#eef4ff}
.dj-public-header button:focus-visible,#dj-home .dj-public-header button:focus-visible{outline:3px solid #72a7e7;outline-offset:4px}
/* Account navigation changes only the surrounding chrome; chat/video portals keep their own viewport. */
.dj-account-frame>.dj-public-header,.dj-admin-frame>.dj-public-header{position:sticky;top:0;z-index:35}
.dj-account-frame .account-shell{min-height:calc(100dvh - var(--dj-nav-height))}
.dj-account-frame .account-side,.dj-admin-frame .admin-sidebar{top:var(--dj-nav-height);overflow-y:auto}
.dj-account-frame .account-side>.brand,.dj-admin-frame .admin-brand>.brand{display:none}
.dj-account-frame .account-user{margin-top:0}
.dj-admin-frame .admin-brand{padding-bottom:0;border:0;min-height:0}
.dj-admin-frame .admin-top{top:var(--dj-nav-height)}
.dj-admin-login-frame .admin-login{min-height:calc(100dvh - var(--dj-nav-height))}
.dj-account-frame .account-side nav button.active,.dj-admin-frame .admin-sidebar nav button.active{border-radius:12px;box-shadow:inset 3px 0 #164fb0}
@media(max-width:1120px){
 .dj-public-header .dj-header,#dj-home .dj-public-header .dj-header{padding:10px 24px;gap:20px}
 .dj-public-header .brand.brand-logo-button .brand-logo-frame,#dj-home .dj-public-header .brand.brand-logo-button .brand-logo-frame{width:218px!important}
 .dj-public-header .dj-nav,#dj-home .dj-public-header .dj-nav{gap:22px}
 .dj-public-header .dj-register,.dj-public-header .dj-enter,#dj-home .dj-public-header .dj-register,#dj-home .dj-public-header .dj-enter{padding:10px 19px;font-size:13px}
}
@media(max-width:980px){
 :root{--dj-nav-height:130px}
 .dj-public-header .dj-header,#dj-home .dj-public-header .dj-header{flex-wrap:wrap;gap:0 18px;padding:8px 24px}
 .dj-public-header .brand.brand-logo-button .brand-logo-frame,#dj-home .dj-public-header .brand.brand-logo-button .brand-logo-frame{height:62px!important}
 .dj-public-header .dj-nav,#dj-home .dj-public-header .dj-nav{display:flex;order:3;flex:0 0 100%;gap:32px;padding:0;margin:0}
 .dj-public-header .dj-nav button,#dj-home .dj-public-header .dj-nav button{font-size:13px;padding:9px 0;min-height:42px}
 .dj-public-header .dj-header-actions,#dj-home .dj-public-header .dj-header-actions{margin-left:auto}
}
@media(max-width:600px){
 :root{--dj-nav-height:116px}
 .dj-public-header .dj-header,#dj-home .dj-public-header .dj-header{padding:6px 16px;gap:0 8px}
 .dj-public-header .brand.brand-logo-button .brand-logo-frame,#dj-home .dj-public-header .brand.brand-logo-button .brand-logo-frame{width:154px!important;height:54px!important}
 .dj-public-header .dj-header-actions,#dj-home .dj-public-header .dj-header-actions{gap:7px}
 .dj-public-header .dj-register,.dj-public-header .dj-enter,#dj-home .dj-public-header .dj-register,#dj-home .dj-public-header .dj-enter{font-size:11px;min-height:40px;padding:8px 13px}
 .dj-public-header .dj-nav,#dj-home .dj-public-header .dj-nav{gap:25px}
 .dj-public-header .dj-nav button,#dj-home .dj-public-header .dj-nav button{font-size:12px;min-height:42px;padding:9px 0}
 .dj-public-header .dj-nav button:after{bottom:4px}
}
@media(max-width:365px){
 .dj-public-header .dj-header,#dj-home .dj-public-header .dj-header{padding-left:10px;padding-right:10px}
 .dj-public-header .brand.brand-logo-button .brand-logo-frame,#dj-home .dj-public-header .brand.brand-logo-button .brand-logo-frame{width:132px!important}
 .dj-public-header .dj-register,.dj-public-header .dj-enter,#dj-home .dj-public-header .dj-register,#dj-home .dj-public-header .dj-enter{padding:8px 10px;font-size:10px}
 .dj-public-header .dj-nav,#dj-home .dj-public-header .dj-nav{gap:22px}
 .dj-public-header .dj-nav button,#dj-home .dj-public-header .dj-nav button{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.dj-public-header *{transition:none!important}}
