/* Menu Tech Core */
#menu.nav {
 gap: 4px;
 align-items: center;
 min-height: 62px;
 padding: 7px;
 margin-top: 4px;
 margin-bottom: 14px;
 border: 1px solid #e6edf5;
 border-radius: 14px;
 background: #f6f9fd;
 box-shadow: 0 3px 12px #102d5005;
}
#menu.nav > a {
 position: relative;
 flex: 1 1 auto;
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 10px 9px;
 border: 0;
 border-radius: 9px;
 color: #263e5e;
 background: transparent;
 font-size: 13px;
 font-weight: 600;
 line-height: 1.25;
 white-space: nowrap;
 text-decoration: none;
 transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
#menu.nav > a:hover,
#menu.nav > a[aria-current="page"] {
 color: #0065ef;
 background: #fff;
 box-shadow: 0 2px 7px #102d5009;
}
#menu.nav > a[aria-current="page"]::after {
 content: "";
 position: absolute;
 bottom: 3px;
 left: 35%;
 right: 35%;
 height: 2px;
 border-radius: 2px;
 background: #006aff;
}
#menu .category-menu { flex: 0 0 auto; margin-right: 6px; }
#menu .category-menu > button {
 min-height: 44px;
 padding: 10px 14px;
 gap: 9px;
 border: 1px solid #18385b;
 border-radius: 10px;
 background: #102d50;
 color: #fff;
 font-size: 12px;
 font-weight: 600;
 box-shadow: none;
 transition: background .18s ease;
}
#menu .category-menu > button:hover,
#menu .category-menu > button[aria-expanded="true"] { background: #174674; }
#menu .category-menu > button svg { width: 18px; height: 18px; }
#menu .category-menu > button > span:last-child { margin-left: 3px; font-size: 20px; transform: rotate(90deg); }
#menu a:focus-visible,
#menu button:focus-visible { outline: 2px solid #0875ff; outline-offset: 3px; }
#menu .professional-categories:not([hidden]) {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 4px 10px;
 width: min(460px, calc(100vw - 40px));
 max-height: 65vh;
 overflow-y: auto;
 padding: 14px;
 top: calc(100% + 14px);
 border: 1px solid #e3eaf3;
 border-radius: 14px;
 box-shadow: 0 16px 42px #102d501a;
}
#menu .professional-categories[hidden] { display: none; }
#menu .category-all-link { grid-column: 1 / -1; border-bottom: 1px solid #edf1f6; margin-bottom: 5px; }
#menu .category-popover a { font-size: 13px; font-weight: 500; }
#menu .category-popover a:hover { background: #edf5ff; color: #0065ef; }
@media (min-width: 768px) {
 #menu.nav { display: flex; flex-direction: row; }
}
@media (min-width: 768px) and (max-width: 1100px) {
 #menu.nav { gap: 1px; }
 #menu.nav > a { font-size: 12px; padding: 10px 6px; }
 #menu .category-menu { margin-right: 3px; }
 #menu .category-menu > button { padding: 10px; }
 #menu .category-menu > button > span:not(:last-child) { font-size: 0; }
 #menu .category-menu > button > span:not(:last-child)::after { content: "Categorias"; font-size: 12px; }
}
@media (max-width: 767px) {
 #menu.nav { display: none; margin-top: 8px; padding: 10px; gap: 7px; min-height: 0; }
 #menu.nav.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
 #menu .category-menu { grid-column: 1 / -1; margin: 0 0 3px; }
 #menu .category-menu > button { width: 100%; justify-content: flex-start; font-size: 13px; }
 #menu .category-menu > button > span:last-child { margin-left: auto; }
 #menu.nav > a { justify-content: flex-start; padding: 13px 14px; background: #fff; border: 1px solid #e7eef7; font-size: 13px; min-height: 46px; }
 #menu .professional-categories:not([hidden]) { position: relative; top: 6px; width: 100%; max-height: 55vh; margin-bottom: 7px; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { #menu * { transition: none !important; } }