/* MVB — Portais GCT (refinado)
   Nav: ícones compactos. Contato: faixa elegante. Footer: links leves. */

.mvb-portals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}

.mvb-portal {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: inherit;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s, transform .2s;
}

.mvb-portal__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.mvb-portal__icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.mvb-portal__txt {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  line-height: 1.15;
  min-width: 0;
}

.mvb-portal__kicker {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9a7640;
}

.mvb-portal__label {
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- NAV: só ícones, sem competir com WhatsApp ---------- */
.mvb-portals--nav {
  gap: .35rem;
  padding: .2rem;
  border: 1px solid rgba(3, 6, 36, 0.1);
  border-radius: 8px;
  background: rgba(3, 6, 36, 0.03);
}

.mvb-portals--nav .mvb-portal {
  width: 2.2rem;
  height: 2.2rem;
  justify-content: center;
  border-radius: 6px;
  border: 0;
  padding: 0;
}

.mvb-portals--nav .mvb-portal__txt {
  display: none;
}

.mvb-portals--nav .mvb-portal__icon {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: transparent;
}

.mvb-portals--nav .mvb-portal__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.mvb-portals--nav .mvb-portal--client {
  color: #030624;
  background: linear-gradient(145deg, #e8d5a8, #c7a16a);
}

.mvb-portals--nav .mvb-portal--client:hover {
  box-shadow: 0 0 0 1px rgba(232, 213, 168, 0.5), 0 6px 16px rgba(199, 161, 106, 0.35);
  transform: translateY(-1px);
}

.mvb-portals--nav .mvb-portal--staff {
  color: #030624;
  background: rgba(3, 6, 36, 0.06);
}

.mvb-portals--nav .mvb-portal--staff:hover {
  background: rgba(3, 6, 36, 0.12);
  color: #030624;
  transform: none;
}

.mvb-portals--nav .mvb-portal--client .mvb-portal__icon,
.mvb-portals--nav .mvb-portal--staff .mvb-portal__icon {
  background: transparent;
}

@media (max-width: 780px) {
  .mvb-portals--nav {
    width: 100%;
    justify-content: stretch;
    gap: .5rem;
    padding: .45rem;
  }
  .mvb-portals--nav .mvb-portal {
    flex: 1;
    width: auto;
    height: auto;
    min-height: 2.75rem;
    padding: .55rem .75rem;
    justify-content: flex-start;
    gap: .65rem;
  }
  .mvb-portals--nav .mvb-portal__txt {
    display: flex;
  }
  .mvb-portals--nav .mvb-portal__kicker {
    display: none;
  }
  .mvb-portals--nav .mvb-portal__label {
    font-size: .86rem;
  }
  .mvb-portals--nav .mvb-portal__icon {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 6px;
  }
  .mvb-portals--nav .mvb-portal--client .mvb-portal__icon {
    background: rgba(3, 6, 36, 0.1);
  }
  .mvb-portals--nav .mvb-portal--staff .mvb-portal__icon {
    background: rgba(199, 161, 106, 0.15);
  }
}

/* ---------- CONTATO: faixa limpa, sem “card” pesado ---------- */
.mvb-portals--panel {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  align-items: stretch;
  gap: .75rem 1rem;
  margin-top: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  width: 100%;
  max-width: 40rem;
}

.mvb-portals--panel > .mvb-portals__head {
  grid-column: 1 / -1;
  margin: 0;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(199, 161, 106, 0.28);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #9a7640;
}

.mvb-portals--panel .mvb-portal {
  padding: .95rem 1.05rem;
  border: 1px solid rgba(199, 161, 106, 0.32);
  border-radius: 4px;
  background: #fffdf8;
  min-height: 3.4rem;
}

.mvb-portals--panel .mvb-portal__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 4px;
}

.mvb-portals--panel .mvb-portal__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.mvb-portals--panel .mvb-portal--client {
  border-color: rgba(154, 118, 64, 0.45);
  background: linear-gradient(180deg, #fbf5ea, #f3e6cf);
  color: #141c26;
  box-shadow: inset 3px 0 0 #c7a16a;
}

.mvb-portals--panel .mvb-portal--client .mvb-portal__icon {
  background: rgba(20, 28, 38, 0.08);
  color: #141c26;
}

.mvb-portals--panel .mvb-portal--staff {
  border-color: rgba(20, 28, 38, 0.14);
  background: #fff;
  color: #151a22;
  box-shadow: inset 3px 0 0 #141c26;
}

.mvb-portals--nav .mvb-portal--client {
  color: #141c26;
  background: linear-gradient(145deg, #e8d5a8, #c7a16a);
}

.mvb-portals--nav .mvb-portal--staff {
  color: #141c26;
  background: rgba(20, 28, 38, 0.06);
}

.mvb-access {
  display: none;
}

.mvb-portals--panel .mvb-portal--staff .mvb-portal__icon {
  background: rgba(3, 6, 36, 0.06);
  color: #9a7640;
}

.mvb-portals--panel .mvb-portal:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 161, 106, 0.65);
}

.cta .mvb-portals--panel,
.section--dark .mvb-portals--panel {
  max-width: 40rem;
}

.cta .mvb-portals--panel > .mvb-portals__head,
.section--dark .mvb-portals--panel > .mvb-portals__head {
  color: #e8d5a8;
  border-bottom-color: rgba(199, 161, 106, 0.35);
}

.cta .mvb-portals--panel .mvb-portal--client,
.section--dark .mvb-portals--panel .mvb-portal--client {
  background: linear-gradient(180deg, #ead7ad, #c7a16a);
  color: #030624;
}

.cta .mvb-portals--panel .mvb-portal--staff,
.section--dark .mvb-portals--panel .mvb-portal--staff {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(199, 161, 106, 0.35);
  color: #f6ecdc;
  box-shadow: inset 3px 0 0 #c7a16a;
}

.cta .mvb-portals--panel .mvb-portal--staff .mvb-portal__icon,
.section--dark .mvb-portals--panel .mvb-portal--staff .mvb-portal__icon {
  background: rgba(199, 161, 106, 0.15);
  color: #e8d5a8;
}

.cta .mvb-portals--panel .mvb-portal--staff .mvb-portal__kicker,
.section--dark .mvb-portals--panel .mvb-portal--staff .mvb-portal__kicker {
  color: #e8d5a8;
}

@media (max-width: 700px) {
  .mvb-portals--panel {
    grid-template-columns: 1fr;
  }
}

/* ---------- FOOTER: links leves, sem botão cheio ---------- */
.mvb-portals--footer {
  flex-direction: column;
  align-items: stretch;
  gap: .35rem;
}

.mvb-portals--footer .mvb-portal {
  width: 100%;
  padding: .55rem 0;
  border: 0;
  border-bottom: 1px solid rgba(199, 161, 106, 0.18);
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  min-height: 0;
}

.mvb-portals--footer .mvb-portal:last-child {
  border-bottom: 0;
}

.mvb-portals--footer .mvb-portal__icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 4px;
  background: rgba(199, 161, 106, 0.14);
  color: #c7a16a;
}

.mvb-portals--footer .mvb-portal--client .mvb-portal__icon {
  background: linear-gradient(145deg, #e8d5a8, #c7a16a);
  color: #030624;
}

.mvb-portals--footer .mvb-portal__kicker {
  display: none;
}

.mvb-portals--footer .mvb-portal__label {
  font-size: .9rem;
  font-weight: 600;
}

.mvb-portals--footer .mvb-portal:hover {
  transform: none;
  color: #c7a16a;
}

.footer--dark .mvb-portals--footer .mvb-portal,
.footer .mvb-portals--footer .mvb-portal {
  border-bottom-color: rgba(199, 161, 106, 0.2);
}

/* ---------- MODELO C rail ---------- */
.mvb-portals--rail {
  flex-direction: column;
  gap: .4rem;
  width: 100%;
  align-items: center;
  padding: 0 .3rem .35rem;
  border: 0;
  background: transparent;
}

.mvb-portals--rail .mvb-portal {
  width: 2.15rem;
  height: 2.15rem;
  justify-content: center;
  border-radius: 6px;
  padding: 0;
}

.mvb-portals--rail .mvb-portal__txt {
  display: none;
}

.mvb-portals--rail .mvb-portal__icon {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.mvb-portals--rail .mvb-portal--client {
  background: linear-gradient(145deg, #e8d5a8, #c7a16a);
  color: #030624;
}

.mvb-portals--rail .mvb-portal--staff {
  background: rgba(3, 6, 36, 0.06);
  color: #030624;
  border: 1px solid rgba(3, 6, 36, 0.1);
}

.mvb-portals--rail .mvb-portal--client .mvb-portal__icon,
.mvb-portals--rail .mvb-portal--staff .mvb-portal__icon {
  background: transparent;
}

/* Nav compacta: dropdown Acesso (estilo institucional) */
.mvb-access {
  position: relative;
  font-size: .9rem;
  font-weight: 500;
}
.mvb-access summary {
  list-style: none;
  cursor: pointer;
  color: #030624;
  opacity: .72;
  padding: .35rem 0;
  user-select: none;
}
.mvb-access summary::-webkit-details-marker { display: none; }
.mvb-access summary::after {
  content: "";
  display: inline-block;
  margin-left: .35rem;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
  opacity: .55;
}
.mvb-access summary:hover,
.mvb-access[open] summary { opacity: 1; }
.mvb-access__menu {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  min-width: 13rem;
  display: grid;
  gap: .15rem;
  padding: .45rem;
  background: #fff;
  border: 1px solid rgba(3, 6, 36, 0.1);
  border-radius: 10px;
  z-index: 80;
}
.mvb-access__menu a {
  display: block;
  padding: .65rem .75rem;
  border-radius: 8px;
  color: #030624;
  font-weight: 500;
  font-size: .88rem;
}
.mvb-access__menu a:hover {
  background: rgba(3, 6, 36, 0.05);
}
@media (max-width: 780px) {
  .mvb-access { width: 100%; }
  .mvb-access__menu {
    position: static;
    margin-top: .35rem;
    min-width: 0;
  }
}
