
/* Cabeçalho, menu e rodapé compartilhados por páginas autônomas */
body.menu-open{overflow:hidden}
.skip-link{position:fixed;left:14px;top:10px;z-index:250;padding:10px 14px;border-radius:10px;background:var(--solid,#fff);color:var(--text,#1d1d1f);box-shadow:0 14px 40px rgba(0,0,0,.16);transform:translateY(-160%);transition:transform .16s;text-decoration:none;font-weight:720}
.skip-link:focus{transform:none}
.site-header{position:sticky!important;top:0;z-index:100!important;display:block!important;background:rgba(245,245,247,.82)!important;border-bottom:1px solid rgba(0,0,0,.06)!important;backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px)}
.site-header .brand-row{width:min(1240px,calc(100% - 32px))!important;min-height:68px!important;margin:0 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important}
.logo-box{width:min(303px,62vw)!important;height:48px!important;display:flex!important;align-items:center!important;overflow:hidden!important}
.logo{display:block!important;width:auto!important;height:auto!important;max-width:303px!important;max-height:40px!important;object-fit:contain!important;object-position:left center!important}
.header-actions{display:flex!important;align-items:center!important;gap:9px!important}
.header-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:0 16px!important;border:0!important;border-radius:999px!important;background:#1d1d1f!important;color:#fff!important;text-decoration:none!important;font-size:13px!important;font-weight:680!important}
.header-cta-icon{display:none;width:19px;height:19px}
.menu-button{width:42px!important;height:42px!important;display:inline-flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:0!important;border:1px solid var(--line,rgba(0,0,0,.12))!important;border-radius:50%!important;background:rgba(255,255,255,.64)!important;color:var(--text,#1d1d1f)!important;cursor:pointer!important}
.menu-button span{width:17px!important;height:1.5px!important;border-radius:2px!important;background:currentColor!important;transition:transform .18s ease,opacity .18s ease!important}
.menu-button[aria-expanded=true] span:nth-child(1){transform:translateY(5.5px) rotate(45deg)!important}
.menu-button[aria-expanded=true] span:nth-child(2){opacity:0!important}
.menu-button[aria-expanded=true] span:nth-child(3){transform:translateY(-5.5px) rotate(-45deg)!important}
.menu-overlay{position:fixed!important;inset:0!important;z-index:90!important;background:rgba(0,0,0,.24)!important;opacity:0!important;visibility:hidden!important;transition:.18s!important}
.menu-overlay.open{opacity:1!important;visibility:visible!important}
.site-menu{position:fixed!important;top:78px!important;right:max(16px,calc((100vw - 1240px)/2))!important;z-index:101!important;width:min(390px,calc(100vw - 32px))!important;max-height:calc(100vh - 96px)!important;overflow:auto!important;padding:12px!important;border:1px solid var(--line,rgba(0,0,0,.12))!important;border-radius:24px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 24px 70px rgba(0,0,0,.18)!important;backdrop-filter:blur(22px)!important;opacity:0!important;visibility:hidden!important;transform:translateY(-8px)!important;transition:.18s!important}
.site-menu.open{opacity:1!important;visibility:visible!important;transform:none!important}
.menu-group{padding:8px!important}
.menu-group+.menu-group{border-top:1px solid var(--line,rgba(0,0,0,.12))!important}
.menu-group-title{display:block!important;padding:7px 10px!important;color:var(--muted,#6e6e73)!important;font-size:11px!important;font-weight:760!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.site-menu a,.menu-theme-item{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;min-height:44px!important;width:100%!important;padding:0 12px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:var(--text,#1d1d1f)!important;font:inherit!important;font-size:14px!important;font-weight:640!important;text-align:left!important;text-decoration:none!important;cursor:pointer!important}
.site-menu a:hover,.menu-theme-item:hover{background:rgba(0,0,0,.045)!important}
.site-menu a[aria-current=page]{background:rgba(0,113,227,.08)!important;color:var(--accent,#0071e3)!important}
.menu-theme-icon{width:22px;height:22px;display:grid;place-items:center;color:var(--accent,#0071e3)}
.menu-theme-icon svg{width:19px;height:19px}
.menu-theme-icon .theme-sun{display:none}
html[data-theme=dark] .menu-theme-icon .theme-moon{display:none}
html[data-theme=dark] .menu-theme-icon .theme-sun{display:block}
.services-footer{display:block!important;margin-top:80px!important;padding:54px 0 0!important;background:#fff!important;border-top:1px solid rgba(0,0,0,.07)!important}.compact-footer{display:block!important;margin-top:0!important;padding:0 0 24px!important;background:#fff!important}
.services-footer>.wrap,.compact-footer>.wrap{width:min(1240px,calc(100% - 32px))!important;margin:0 auto!important}
.footer-grid{display:grid!important;grid-template-columns:1.15fr repeat(3,1fr)!important;gap:34px!important}
.footer-logo{display:block!important;max-width:260px!important;max-height:60px!important;object-fit:contain!important;object-position:left!important}
.footer-copy{max-width:320px!important;color:var(--muted,#6e6e73)!important;font-size:13px!important;line-height:1.55!important}
.footer-title{display:block!important;margin-bottom:12px!important;font-size:12px!important;font-weight:780!important;text-transform:uppercase!important;letter-spacing:.07em!important}
.footer-links{display:grid!important;gap:9px!important}
.footer-links a{color:var(--muted,#6e6e73)!important;font-size:13px!important;text-decoration:none!important}
.footer-links a:hover{color:var(--accent,#0071e3)!important}
.footer-bottom{display:flex!important;justify-content:space-between!important;gap:20px!important;margin-top:34px!important;padding-top:20px!important;border-top:1px solid rgba(0,0,0,.07)!important;color:var(--muted,#6e6e73)!important;font-size:12px!important}
html[data-theme=dark] .site-header{background:rgba(10,12,17,.86)!important;border-color:rgba(255,255,255,.08)!important}
html[data-theme=dark] .menu-button{background:#172236!important;border-color:rgba(255,255,255,.14)!important;color:#f5f7fb!important}
html[data-theme=dark] .site-menu{background:rgba(14,19,29,.98)!important;border-color:rgba(255,255,255,.12)!important}
html[data-theme=dark] .site-menu a:hover,html[data-theme=dark] .menu-theme-item:hover{background:rgba(255,255,255,.06)!important}
html[data-theme=dark] .services-footer,html[data-theme=dark] .compact-footer{background:#0d121c!important}html[data-theme=dark] .services-footer{border-color:rgba(255,255,255,.08)!important}
@media(max-width:860px){.footer-grid{grid-template-columns:1fr 1fr!important}.footer-bottom{flex-direction:column!important}}
@media(max-width:720px){
 .site-header .brand-row{width:min(100% - 20px,1240px)!important;min-height:60px!important}
 .logo-box{width:min(235px,57vw)!important}.logo{max-width:235px!important;max-height:34px!important}
 .header-cta.header-cta-search{width:42px!important;height:42px!important;padding:0!important;border-radius:50%!important}
 .header-cta.header-cta-search .header-cta-label{display:none!important}.header-cta.header-cta-search .header-cta-icon{display:block!important}
 .site-menu{top:68px!important;right:10px!important;width:calc(100vw - 20px)!important;max-height:calc(100vh - 80px)!important}
 .footer-grid{grid-template-columns:1fr!important}
}
@media print{.site-header,.menu-overlay,.site-menu,.services-footer,.compact-footer{display:none!important}}


/* V12: botão de alternância do tema em largura integral */
#siteMenu .menu-theme-item{
  width:100%!important;
  min-height:48px!important;
  padding:0 16px!important;
  border:1px solid #111!important;
  border-radius:14px!important;
  color:#fff!important;
  background:#111!important;
  box-shadow:0 8px 22px rgba(0,0,0,.12)!important;
}
#siteMenu .menu-theme-item .menu-theme-icon{color:#fff!important}
#siteMenu .menu-theme-item:hover{background:#29292c!important}
html[data-theme=dark] #siteMenu .menu-theme-item{
  color:#111318!important;
  background:#fff!important;
  border-color:#fff!important;
  box-shadow:0 8px 24px rgba(0,0,0,.28)!important;
}
html[data-theme=dark] #siteMenu .menu-theme-item .menu-theme-icon{color:#111318!important}
html[data-theme=dark] #siteMenu .menu-theme-item:hover{background:#e9e9ec!important}


/* V13: rodapé mobile em linha única */
@media(max-width:720px){
  .footer-bottom>span:first-child{
    display:block!important;
    white-space:nowrap!important;
    font-size:10px!important;
    letter-spacing:-.015em!important;
  }
}
