/* ======================================================================
   HEADER / MENU SBQS
   ====================================================================== */
#sp-header {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

#sp-header>.container-fluid {
  padding-left: 20px;
  padding-right: 20px;
}

#sp-header .container-inner {
  max-width: 1280px;
  margin: 0 auto;
}

#sp-header .row.align-items-center {
  min-height: 82px;
  flex-wrap: nowrap;
}

/* LOGO */
#sp-logo {
  flex: 0 0 auto;
  margin-right: 24px;
}

#sp-logo .logo-image {
  max-height: 52px;
  width: auto;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo a::after {
  content: "SBQS";
  font-weight: var(--weight-bold);
  font-size: 34.26px;
  color: #21305D;
  order: 1
}

.logo a::before {
  content: "2026";
  font-weight: var(--weight-regular);
  font-size: 34.26px;
  color: #21305D;
  order: 2
}

/* BLOCO CENTRAL */
#sp-menu {
  flex: 1 1 auto;
  min-width: 0;
}

#sp-menu>.sp-column {
  gap: 18px;
}

#sp-menu .menu-with-offcanvas {
  gap: 16px;
  min-width: 0;
}

/* MENU PRINCIPAL */
.sp-megamenu-wrapper {
  align-items: center;
}

ul.sp-megamenu-parent {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

ul.sp-megamenu-parent>li.sp-menu-item {
  padding: 0;
  flex: 0 1 auto;
  min-width: 0;
}

ul.sp-megamenu-parent>li.sp-menu-item>a {
  display: inline-flex;
  align-items: center;
  padding: 0 !important;
  height: auto;
  font-size: 14px;
  font-weight: var(--weight-bold);
  line-height: 1.05;
  color: #14344a;
  white-space: nowrap;
  text-align: center;
}

ul.sp-megamenu-parent>li>a[href*="artigos-aceitos"] {
  font-size: 15px;
}

ul.sp-megamenu-parent .sp-has-child>a::after {
  margin-left: 6px;
  font-size: 10px;
}

/* Remove o sublinhado que aparece no hover/active apenas do último item (botão inscrição) */
.sp-megamenu-parent>li:last-child>a::before,
.sp-megamenu-parent>li:last-child>span::before {
  content: none !important;
}

/* ITEM INSCRIÇÃO COMO BOTÃO */
.sp-megamenu-parent>li:last-child>a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 159px;
  height: 42px !important;
  padding: 0 !important;
  border-radius: 999px;
  background: #f3bc09 !important;
  color: #0a2c3f !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* DROPDOWN */
.sp-dropdown.sp-dropdown-main {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.sp-dropdown .sp-dropdown-items>li>a {
  font-size: 14px;
  line-height: 1.35;
}

/* IDIOMAS */
.mod-languages li a::after {
  font-weight: var(--weight-medium);
  font-size: 15px;
  color: #000;
}

/* Português */
.mod-languages li a[href*="/pt/"]::after {
  content: "PT";
}

/* Inglês */
.mod-languages li a[href*="/en-us/"]::after {
  content: "EN";
}

.mod-languages {
  margin-left: 4px;
  flex: 0 0 auto;
}

.mod-languages .lang-inline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mod-languages .lang-inline li a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: var(--weight-bold);
  color: #14344a;
  text-decoration: none;
  white-space: nowrap;
}

.mod-languages .lang-inline li a img {
  width: 18px;
  height: auto;
  display: block;
}

/* PT / EN via CSS */
.mod-languages .lang-inline li a[title*="English"]::after,
.mod-languages .lang-inline li a img[alt*="English"]+*::after {
  content: "EN";
}

.mod-languages .lang-inline li a[title*="Portugu"]::after,
.mod-languages .lang-inline li a img[alt*="Portugu"]+*::after {
  content: "PT";
}

