/* ==========================================================================
   Header Bioglobal + mega-menu
   Figma: 2026_Website_Bioglobal › navMenu_Desktop (1285:26417) — frame 1920px
   ========================================================================== */

:root {
  --bio-blue: #05bcd8;          /* Blue Primary 100 */
  --bio-black: #111111;         /* Black Soft */
  --bio-grey: #8a8a89;          /* Grey Neutral Light */
  --bio-tile: #f0f0f0;
  --bio-blue-dark: #049fb7;
  --bio-gradient-hover: linear-gradient(90deg, #049fb7 0%, #3fd1e6 100%);
  --bio-line: #d9d9d9;
  --bio-font: Calibri, Carlito, "Segoe UI", Arial, sans-serif;

  --bio-header-gap: 10px;       /* distância do header às margens do ecrã */
  --bio-header-h: 129px;        /* altura da barra */
  --bio-header-offset: calc(var(--bio-header-gap) + var(--bio-header-h)); /* altura total ocupada pelo header */
  --bio-container: 1280px;      /* 320px → 1600px no frame de 1920 */
}

/* O header é fixo e fica sempre por cima do conteúdo (em todas as páginas).
   Para empurrar o início de uma secção para baixo do header usar var(--bio-header-offset). */

.bio-header {
  position: fixed;
  z-index: 999;
  top: var(--bio-header-gap);
  left: var(--bio-header-gap);
  right: var(--bio-header-gap);
  font-family: var(--bio-font);
  color: var(--bio-black);
}

.admin-bar .bio-header {
  top: calc(var(--bio-header-gap) + 32px);
}

@media (max-width: 782px) {
  .admin-bar .bio-header {
    top: calc(var(--bio-header-gap) + 46px);
  }
}

.bio-header *,
.bio-header *::before,
.bio-header *::after {
  box-sizing: border-box;
}

.bio-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bio-header p {
  margin: 0;
}

.bio-header a {
  color: inherit;
  text-decoration: none;
}

/* --- Caixa (fechado: vidro translúcido / aberto: gradiente + sombra) --- */

.bio-header__box {
  position: relative;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(4.15px);
  backdrop-filter: blur(4.15px);
  transition: box-shadow 0.3s ease;
}

.bio-header__box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffffff 0%, #f5f5f5 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bio-header.is-open .bio-header__box {
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.25);
}

.bio-header.is-open .bio-header__box::before {
  opacity: 1;
}

/* --- Barra --- */

.bio-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--bio-container);
  height: var(--bio-header-h);
  margin: 0 auto;
}

.bio-header__logo {
  flex: 0 0 auto;
  display: block;
  width: 279px;
  align-self: flex-start;
  margin-top: 6px;              /* logo a 16px do topo do ecrã */
}

.bio-header__logo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 790 / 331;
}

.bio-header__menu {
  display: flex;
  align-items: center;
  margin-right: -20px !important; /* o padding do último item fica fora da grelha, como no Figma */
}

.bio-header__link {
  display: block;
  padding: 15px 20px;
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--bio-black) !important;
  transition: color 0.2s ease;
}

.bio-header__link:hover,
.bio-header__link:focus-visible,
.bio-header__link.is-active,
.bio-header__item.is-current .bio-header__link {
  color: var(--bio-blue) !important;
}

.bio-header__link:focus-visible,
.bio-header a:focus-visible,
.bio-header button:focus-visible {
  outline: 2px solid var(--bio-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Mega-menu --- */

.bio-header__mega {
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.bio-mega[hidden] {
  display: none;
}

.bio-mega__inner {
  display: grid;
  grid-template-columns: 285px 1px 1fr;
  max-width: var(--bio-container);
  margin: 0 auto;
  padding: 14px 0 40px;
}

.bio-mega--groups .bio-mega__inner {
  display: block;
}

.bio-mega__sidebar {
  display: flex;
  flex-direction: column;
}

.bio-mega__side-link {
  display: flex;
  align-items: center;
  height: 51px;
  font-size: 18px;
  line-height: 26px;
  color: var(--bio-black) !important;
  transition: color 0.2s ease;
}

.bio-mega__side-link.is-active,
.bio-mega__side-link:hover {
  color: var(--bio-blue) !important;
}

.bio-mega__divider {
  display: block;
  width: 1px;
  margin-top: 20px;
  background: var(--bio-line);
}

.bio-mega__content {
  min-width: 0;
  padding-top: 20px;
  padding-left: 40px;
}

.bio-mega--image .bio-mega__content,
.bio-mega--tiles .bio-mega__content {
  padding-left: 60px;
}

.bio-mega--posts .bio-mega__content,
.bio-mega--groups .bio-mega__content {
  padding: 0;
}

.bio-mega--posts .bio-mega__content {
  padding-left: 40px;
}

.bio-mega__heading {
  display: flex;
  align-items: center;
  height: 51px;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
}

/* Quem somos — imagem */
.bio-mega__image {
  display: block;
  width: 255px;
  height: 172px;
  border-radius: 10px;
  overflow: hidden;
}

.bio-mega__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Vistas da direita trocadas pelo hover nos links da sidebar (variantes M01–M05 / S01–S02).
   Ficam empilhadas na mesma célula para o painel não mudar de altura. */
.bio-mega__content {
  display: grid;
  align-content: start;
}

.bio-mega__view {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.bio-mega__view.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}

/* Quem somos › Parcerias */
.bio-mega__logos {
  display: grid;
  grid-template-columns: repeat(3, 163px);
  grid-auto-rows: 79px;
  gap: 12px;
}

.bio-mega__logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bio-mega__logos img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Quem somos › Certificações */
.bio-mega__certs {
  display: flex;
  gap: 12px;
}

.bio-mega__certs li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 208px;
  height: 100px;
  border: 0.899px solid #bdbdbd;
  border-radius: 10px;
  background: #f8f8f8;
}

.bio-mega__certs span {
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.0899px;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(90deg, #565655 0%, #8a8a89 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.bio-mega__image:hover img {
  transform: scale(1.04);
}

/* Soluções / Setores — cartões com ícone */
.bio-mega__tiles {
  display: grid;
  grid-template-columns: repeat(3, 276px);
  grid-auto-rows: 60px;
  gap: 24px;
}

.bio-mega__tiles .is-tall {
  grid-row: span 2;
}

/* Cartões (Soluções / Setores / Enviar mensagem) e pills (Casos / Documentação)
   Hover (Figma: NavMenu_Setores Variant2 / NavMenu_Casos_item Hover):
   gradiente azul + texto branco; nos cartões o ícone passa a branco e ganha borda #049FB7.
   O gradiente fica num ::before para poder fazer fade (gradientes não têm transição). */
.bio-tile,
.bio-pill {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  border-radius: 10px;
  background: var(--bio-tile);
  font-size: 18px;
  line-height: 26px;
  color: var(--bio-black) !important;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.bio-tile::before,
.bio-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--bio-gradient-hover);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bio-tile:hover,
.bio-tile:focus-visible,
.bio-pill:hover,
.bio-pill:focus-visible {
  color: #fff !important;
}

.bio-tile:hover::before,
.bio-tile:focus-visible::before,
.bio-pill:hover::before,
.bio-pill:focus-visible::before {
  opacity: 1;
}

.bio-tile {
  gap: 10px;
  height: 100%;
  min-height: 60px;
  padding: 0 20px 0 9px;
  border: 1px solid transparent;
}

.bio-tile:hover,
.bio-tile:focus-visible {
  border-color: var(--bio-blue-dark);
}

.bio-icon {
  position: relative;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  background: linear-gradient(90deg, #111111 0%, #1c1c1c 100%);
  -webkit-mask: var(--icon) center / 60px 60px no-repeat;
  mask: var(--icon) center / 60px 60px no-repeat;
}

/* versão branca do ícone (dentro da máscara) */
.bio-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffffff 0%, #f5f5f5 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bio-tile:hover .bio-icon::after,
.bio-tile:focus-visible .bio-icon::after {
  opacity: 1;
}

.bio-pill {
  height: 43px;
  padding: 0 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bio-mega__groups {
  display: grid;
  grid-template-columns: repeat(4, 285px);
  justify-content: space-between;
  row-gap: 20px;
}

.bio-mega__pills,
.bio-mega__list {
  display: grid;
  gap: 10px;
}

.bio-mega__list {
  grid-template-columns: repeat(3, 285px);
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 41px;
}

/* Notícias — últimos artigos */
.bio-mega__posts {
  display: grid;
  grid-template-columns: repeat(3, 302px);
  gap: 24px;
}

.bio-post {
  display: flex;
  flex-direction: column;
  color: var(--bio-black) !important;
}

.bio-post__thumb {
  display: block;
  width: 302px;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  background: #e5e5e5;
}

.bio-post__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bio-post:hover .bio-post__thumb img {
  transform: scale(1.04);
}

.bio-post__date {
  font-size: 10px;
  line-height: 26px;
  color: var(--bio-grey);
}

.bio-post__title {
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
}

.bio-post__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
}

.bio-post__more {
  margin-top: 10px;
  font-size: 14px;
  line-height: 20px;
  text-decoration: underline;
}

.bio-post:hover .bio-post__title,
.bio-post:hover .bio-post__more {
  color: var(--bio-blue);
}

.bio-mega__empty {
  font-size: 14px;
  line-height: 20px;
  color: var(--bio-grey);
}

/* Contactos */
.bio-mega__contacts {
  display: grid;
  grid-template-columns: 189px 185px 246px 276px;
  align-items: start;
}

.bio-contact__label {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
}

.bio-contact__value {
  margin-top: 7px !important;
  font-size: 14px;
  line-height: 20px;
  color: #000;
}

.bio-contact__value a {
  display: block;
  color: #000 !important;
}

.bio-contact__value a:hover {
  color: var(--bio-blue) !important;
}

.bio-contact__value--phone {
  margin-top: 10px !important;
  line-height: 14px;
  letter-spacing: 0.2px;
}

.bio-contact__value--phone small {
  display: block;
  font-size: 10px;
  line-height: 14px;
}

.bio-mega__contacts .bio-tile {
  height: 60px;
}

/* --- Toggle e menu mobile (só ≤ 1199px) --- */

.bio-header__toggle,
.bio-mnav {
  display: none;
}

/* --- Ecrãs intermédios (≤ 1440px) --- */

@media (max-width: 1440px) {
  :root {
    --bio-container: calc(100% - 80px);
  }

  .bio-header__logo {
    width: 220px;
    margin-top: 16px;
  }

  .bio-header__link {
    padding: 15px 12px;
    font-size: 14px;
  }

  .bio-header__menu {
    margin-right: -12px !important;
  }

  .bio-mega__groups {
    grid-template-columns: repeat(4, minmax(0, 285px));
  }

  .bio-mega__tiles {
    grid-template-columns: repeat(3, minmax(0, 276px));
  }

  .bio-mega__list {
    grid-template-columns: repeat(3, minmax(0, 285px));
  }

  .bio-mega__posts {
    grid-template-columns: repeat(3, minmax(0, 302px));
  }

  .bio-post__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 302 / 220;
  }

  .bio-mega__contacts {
    grid-template-columns: repeat(3, auto) 276px;
    column-gap: 24px;
  }
}

/* ==========================================================================
   Mobile / tablet (≤ 1199px) — Figma: navMenu_Mobile (2812:46418), frame 390px
   ========================================================================== */

@media (max-width: 1199px) {
  :root {
    --bio-header-gap: 5px;
    --bio-header-h: 80px;
    --bio-container: calc(100% - 30px);
  }

  .bio-header__box {
    border-radius: 5px;
  }

  .bio-header__nav,
  .bio-header__mega {
    display: none;
  }

  .bio-header__logo {
    width: 142px;
    margin-top: 10px; /* logo a 15px do topo do ecrã */
  }

  /* --- Estado aberto: o header mantém-se, só passa a ocupar a largura toda (branco) --- */

  .bio-header {
    transition: top 0.3s ease, left 0.3s ease, right 0.3s ease;
  }

  .bio-header__box {
    z-index: 2; /* por cima do painel do menu */
    transition: border-radius 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  }

  .bio-header__bar {
    transition: height 0.3s ease, max-width 0.3s ease;
  }

  .bio-header__logo {
    transition: margin-top 0.3s ease;
  }

  .bio-header.is-mnav-open {
    --bio-header-gap: 0px;
    --bio-header-h: 90px;
    --bio-container: calc(100% - 40px);
  }

  .bio-header.is-mnav-open .bio-header__box {
    border-radius: 0;
    background: #fff;
    box-shadow: inset 0 -1px 0 #ebebeb;
  }

  .bio-header.is-mnav-open .bio-header__logo {
    margin-top: 15px;
  }

  /* --- Hambúrguer → X ---
     Linhas com a geometria do ícone do Figma (35×35): 26,25 px de largura (a do meio 21,875),
     2,19 px de espessura, 6,2 px de intervalo. Ao abrir, a de cima e a de baixo vão para o
     centro e cruzam-se a 45° (o X do Figma); a do meio desaparece. */

  .bio-header__toggle {
    position: relative;
    display: block;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .bio-header__toggle:hover,
  .bio-header__toggle:focus {
    background: none;
  }

  .bio-burger {
    position: absolute;
    inset: 0;
  }

  /* Duas fases (sem "giro"): ao abrir, as linhas juntam-se ao centro e depois cruzam-se;
     ao fechar, descruzam-se e depois afastam-se. */
  .bio-burger span {
    position: absolute;
    top: 50%;
    left: 4.375px;
    width: 26.25px;
    height: 2.1875px;
    margin-top: -1.09375px;
    border-radius: 2px;
    background: #000;
    transform-origin: 50% 50%;
    translate: 0 0;
    rotate: 0deg;
    /* fechar: primeiro roda (0–150ms), depois afasta-se (150–300ms) */
    transition:
      rotate 0.15s cubic-bezier(0.4, 0, 0.2, 1) 0s,
      translate 0.15s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
      opacity 0.1s ease 0.15s,
      width 0.15s ease 0.15s;
  }

  .bio-burger span:nth-child(1) {
    translate: 0 -6.2px;
  }

  .bio-burger span:nth-child(2) {
    width: 21.875px;
  }

  .bio-burger span:nth-child(3) {
    translate: 0 6.2px;
  }

  /* abrir: primeiro junta ao centro (0–150ms), depois roda (150–300ms) */
  .bio-header.is-mnav-open .bio-burger span {
    transition:
      translate 0.15s cubic-bezier(0.4, 0, 0.2, 1) 0s,
      rotate 0.15s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
      opacity 0.1s ease 0s,
      width 0.15s ease 0s;
  }

  .bio-header.is-mnav-open .bio-burger span:nth-child(1) {
    translate: 0 0;
    rotate: 45deg;
  }

  .bio-header.is-mnav-open .bio-burger span:nth-child(2) {
    width: 0;
    opacity: 0;
  }

  .bio-header.is-mnav-open .bio-burger span:nth-child(3) {
    translate: 0 0;
    rotate: -45deg;
  }

  @media (prefers-reduced-motion: reduce) {
    .bio-burger span,
    .bio-header.is-mnav-open .bio-burger span {
      transition: none;
    }
  }

  /* --- Painel do menu (por baixo do header) --- */

  .bio-mnav {
    position: fixed;
    inset: 90px 0 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    font-family: var(--bio-font);
    color: #000;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .bio-mnav[hidden] {
    display: none;
  }

  .bio-mnav.is-open {
    opacity: 1;
    transform: none;
  }

  .admin-bar .bio-mnav {
    top: calc(46px + 90px);
  }

  html.bio-mnav-lock,
  html.bio-mnav-lock body {
    overflow: hidden;
  }

  .bio-mnav button {
    font-family: inherit;
  }

  .bio-mnav button:hover,
  .bio-mnav button:focus {
    background: none;
  }

  /* --- Vistas (drill-down) --- */

  .bio-mnav__views {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .bio-mnav__view {
    position: absolute;
    inset: 0;
    padding: 8px 20px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.35s;
  }

  .bio-mnav__view[data-mview="root"] {
    padding-top: 12px;
    transform: translateX(-30%);
  }

  .bio-mnav__view.is-active {
    transform: none;
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
  }

  @media (prefers-reduced-motion: reduce) {
    .bio-mnav,
    .bio-mnav__view {
      transition: none;
    }
  }

  /* Lista principal */
  .bio-mnav__item,
  .bio-mnav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid #ebebeb;
    border-radius: 0;
    background: none;
    color: #000 !important;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .bio-mnav__item span,
  .bio-mnav__link span {
    flex: 1 1 auto;
    min-width: 0;
  }

  .bio-mnav__item {
    font-weight: 700;
    font-size: 22px;
    line-height: 1.15;
  }

  .bio-mnav__link {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.35;
  }

  .bio-mnav__chevron {
    flex: 0 0 auto;
    display: block;
    width: 8px;
    height: 14px;
    transition: transform 0.2s ease;
  }

  .bio-mnav__item:hover .bio-mnav__chevron,
  .bio-mnav__link:hover .bio-mnav__chevron {
    transform: translateX(3px);
  }

  .bio-mnav__item:active,
  .bio-mnav__link:active {
    color: var(--bio-blue) !important;
  }

  /* Sub-painel */
  .bio-mnav__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0 10px;
    border: 0;
    background: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.35;
    color: var(--bio-blue);
    cursor: pointer;
  }

  .bio-mnav__back img {
    display: block;
  }

  .bio-mnav__title {
    margin: 0 0 12px;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.15;
    color: #000;
  }

  .bio-mnav__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0 12px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.35;
    color: var(--bio-blue) !important;
  }

  .bio-mnav__all img {
    display: block;
  }

  .bio-mnav__label {
    margin: 0;
    padding: 20px 0 6px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 0.52px;
    text-transform: uppercase;
    color: #676766;
  }

  .bio-mnav__label--group {
    padding: 28px 0 4px;
    line-height: normal;
  }

  .bio-mnav__all + .bio-mnav__label--group {
    padding-top: 16px;
  }

  /* Setores — cartões com ícone */
  .bio-mnav__cards li {
    padding: 10px 0;
    border-bottom: 1px solid #ebebeb;
  }

  .bio-mnav__cards .bio-tile {
    width: 276px;
    max-width: 100%;
    height: 60px;
  }

  /* Casos de sucesso — pills */
  .bio-mnav__pills {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 6px !important;
  }

  .bio-mnav__pills .bio-pill {
    width: 100%;
  }

  /* Notícias — artigos */
  .bio-mnav__post {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #ebebeb;
    color: #000 !important;
  }

  .bio-mnav__post-thumb {
    flex: 0 0 104px;
    width: 104px;
    height: 76px;
    border-radius: 3.44px;
    overflow: hidden;
    background: #e5e5e5;
  }

  .bio-mnav__post-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .bio-mnav__post-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    line-height: 1.35;
  }

  .bio-mnav__post-text time {
    font-size: 13px;
    color: #676766;
  }

  .bio-mnav__post-text strong {
    font-weight: 700;
    font-size: 16px;
  }

  .bio-mnav__post-text em {
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    color: var(--bio-blue);
  }

  .bio-mnav__empty {
    margin: 8px 0 0;
    font-size: 14px;
    color: #676766;
  }

  /* Contactos */
  .bio-mnav__value {
    display: block;
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    color: #111 !important;
  }

  .bio-mnav__note {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    color: #676766;
  }

  /* --- Rodapé fixo --- */

  .bio-mnav__foot {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 14px;
    padding: 20px 20px 28px;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
    border-top: 1px solid #ebebeb;
    background: #fff;
  }

  .bio-mnav__cta {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    margin: 0 28px;
    border: 1.5px solid #000;
    border-radius: 6px;
    overflow: hidden;
    font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-align: center;
    color: #000 !important;
    transition: color 0.3s ease;
  }

  /* preenchimento preto da esquerda para a direita (Botão normal preto) */
  .bio-mnav__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #000;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .bio-mnav__cta:hover,
  .bio-mnav__cta:focus-visible,
  .bio-mnav__cta:active {
    color: #fff !important;
  }

  .bio-mnav__cta:hover::before,
  .bio-mnav__cta:focus-visible::before,
  .bio-mnav__cta:active::before {
    transform: scaleX(1);
  }

  .bio-mnav__contact {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    color: #676766;
  }

  .bio-mnav__contact a {
    color: inherit !important;
  }
}

@media (min-width: 783px) and (max-width: 1199px) {
  .admin-bar .bio-mnav {
    top: calc(32px + 90px);
  }
}
