/* Sidebar fixa, avatar, menu, ícones sociais */

.barra-lateral {
  position: fixed;
  top: 0; left: 0;
  height: 100dvh;
  width: var(--sidebar-w);
  background-color: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--side-pad-y);
  padding-bottom: var(--side-pad-y);
  z-index: 10;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.foto-perfil {
  width: min(40vw, 180px);
  height: min(40vw, 180px);
  overflow: hidden;
  border-radius: 50%;
  border: 3.5px solid #8b5cf6;
  margin-bottom: clamp(1rem, 3vh, 2rem);
  object-fit: cover;
  transition: box-shadow 0.9s, transform 0.9s cubic-bezier(.77,0,.18,1);
  display: block;
}
.foto-perfil:hover {
  transform: scale(1.08);
  box-shadow: 0 0 10px 3px #a78bfa, 0 0 6px 0.2px #fff;
}
.menu-navegacao {
  font-family: Georgia, 'Times New Roman', Times, serif;
  display: flex;
  flex-direction: column;
  gap: var(--menu-gap);
  color: #fff;
  font-size: var(--menu-fs);
  font-weight: bold;
  margin-top: clamp(2rem, 6vh, 4.5rem);
  margin-bottom: clamp(2rem, 9vh, 6.5rem);
  align-items: center;
}
.link-menu {
  position: relative;
  color: #fff;
  text-decoration: none;
  transition: color 0.8s;
}
.link-menu::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: #4a0e83;
  border-radius: 2px;
  width: 0;
  transition: width 0.9s cubic-bezier(.77,0,.18,1);
}
.link-menu.link-ativo { color: #5c3b7c; }
.link-menu.link-ativo::after,
.link-menu:hover::after { width: 100%; }
.link-menu:hover { color: #4a0e83; }
.icones-sociais {
  display: flex;
  flex-direction: row;
  gap: clamp(0.8rem, 1.2vw, 1.7rem);
  margin-bottom: 0;
  justify-content: center;
  width: 100%;
}
.icone-social { position: relative; display: inline-block; text-decoration: none; padding: 0; }
.tamanho-icone {
  font-size: clamp(1.2rem, 1.2vw + 1rem, 1.6rem);
  color: #fff;
  transition: color 0.6s, transform 0.6s;
}
.tamanho-icone:hover { color: #4a0e83; transform: scale(1.5); }
.icone-social::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 3px;
  background: #4a0e83;
  border-radius: 2px;
  width: 0;
  transition: width 0.7s cubic-bezier(.77,0,.18,1);
}
.icone-social:hover::after { width: 100%; }
