/* Logo à esquerda, navegação no centro e selo à direita. */
#header.dh-header-balanced{--dh-edge:205px;display:grid;grid-template-columns:var(--dh-edge) minmax(0,1fr) var(--dh-edge);align-items:center;column-gap:20px;row-gap:0;padding:9px 3%;height:auto;min-height:90px;box-sizing:border-box}
#header.dh-header-balanced>.brand{grid-column:1;grid-row:1;justify-self:start;display:flex;align-items:center;min-width:0}
#header.dh-header-balanced>.brand img{display:block;width:clamp(130px,12vw,174px);max-height:55px;height:auto;object-fit:contain}
#header.dh-header-balanced>.nav{grid-column:2;grid-row:1;position:static;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 clamp(10px,1.1vw,19px);width:100%;max-width:none;min-width:0;margin:0;padding:0;overflow:visible;background:transparent;box-shadow:none}
#header.dh-header-balanced .nav>a,#header.dh-header-balanced .nav-group-toggle{font-size:clamp(9px,.73vw,11px);letter-spacing:.035em;line-height:1.4;white-space:nowrap}
#header.dh-header-balanced>.dh-header-right{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}
#header.dh-header-balanced .dh-brasil-seal{display:block;width:88px;height:72px;object-fit:contain;padding:5px 7px;background:#fff;border-radius:7px;flex:none;box-sizing:border-box}
#header.dh-header-balanced .menu-toggle{display:none}
#header.dh-header-balanced.scrolled{min-height:78px;padding-top:5px;padding-bottom:5px}
#header.dh-header-balanced.scrolled .dh-brasil-seal{height:64px;width:79px}
@media(min-width:1101px){#header.dh-header-balanced .nav>.nav-group:last-of-type>.nav-submenu{left:auto;right:0}}
@media(max-width:1300px) and (min-width:1101px){#header.dh-header-balanced{--dh-edge:190px;column-gap:14px;padding-left:2.5%;padding-right:2.5%}}
@media(max-width:1100px){
 #header.dh-header-balanced{grid-template-columns:minmax(0,1fr) auto;column-gap:12px;min-height:78px;padding:8px 5%;height:auto}
 #header.dh-header-balanced>.brand{grid-column:1}
 #header.dh-header-balanced>.brand img{width:140px;max-height:49px}
 #header.dh-header-balanced>.dh-header-right{grid-column:2;gap:10px}
 #header.dh-header-balanced .dh-brasil-seal,#header.dh-header-balanced.scrolled .dh-brasil-seal{width:68px;height:58px;padding:4px 5px}
 #header.dh-header-balanced .menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:7px;width:42px;height:42px;padding:9px;background:transparent;border:0;cursor:pointer}
 #header.dh-header-balanced .menu-toggle span{display:block;width:24px;height:2px;background:#fff;flex:none;margin:0}
 #header.dh-header-balanced>.nav{display:none;position:absolute;top:100%;left:0;right:0;grid-column:auto;grid-row:auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:12px;padding:22px 5%;width:100%;max-height:calc(100svh - 78px);overflow-y:auto;overflow-x:hidden;background:#07111d;box-shadow:0 24px 40px #0008;box-sizing:border-box}
 #header.dh-header-balanced>.nav.open{display:flex}
 #header.dh-header-balanced .nav>a,#header.dh-header-balanced .nav-group-toggle{font-size:13px;white-space:normal}
 #header.dh-header-balanced .nav-group-toggle{width:100%;text-align:left;padding:10px 0}
 #header.dh-header-balanced .nav-submenu{position:static;min-width:0;max-width:none;max-height:none;overflow:visible;box-shadow:none;border:0;border-left:1px solid #f4cd44;background:#10253a;margin:4px 0 10px 8px;padding:4px 10px}
 #header.dh-header-balanced .nav-group:not(.expanded)>.nav-submenu{display:none}
 #header.dh-header-balanced .nav-group.expanded>.nav-submenu{display:flex;flex-direction:column}
 #header.dh-header-balanced .nav-submenu a{white-space:normal}
 #header.dh-header-balanced.scrolled{min-height:78px;padding-top:8px;padding-bottom:8px}
}
@media(max-width:420px){#header.dh-header-balanced{padding-left:4%;padding-right:4%;column-gap:8px}#header.dh-header-balanced>.brand img{width:120px}#header.dh-header-balanced .dh-brasil-seal,#header.dh-header-balanced.scrolled .dh-brasil-seal{width:60px;height:53px}#header.dh-header-balanced>.dh-header-right{gap:5px}}

#header.dh-header-balanced .dh-header-social{display:flex;align-items:center;gap:7px;flex:none}
#header.dh-header-balanced .dh-header-social a{display:flex;align-items:center;justify-content:center;width:27px;height:32px;color:#fff;text-decoration:none;border-radius:5px;transition:color .2s,background .2s}
#header.dh-header-balanced .dh-header-social svg{display:block;width:19px;height:19px}
#header.dh-header-balanced .dh-header-social a:hover{color:#f4cd44;background:#ffffff15}
#header.dh-header-balanced .dh-header-social a:focus-visible{outline:2px solid #f4cd44;outline-offset:2px}
@media(max-width:1100px){#header.dh-header-balanced .dh-header-social{gap:3px}#header.dh-header-balanced .dh-header-social a{width:24px;height:36px}#header.dh-header-balanced .dh-header-social svg{width:18px;height:18px}}
@media(max-width:360px){#header.dh-header-balanced>.brand img{width:95px}#header.dh-header-balanced .dh-brasil-seal,#header.dh-header-balanced.scrolled .dh-brasil-seal{width:48px;height:48px}#header.dh-header-balanced .dh-header-social a{width:21px}#header.dh-header-balanced .menu-toggle{width:34px;padding:5px}}
