.turma {
    display: flex;
    flex-direction: column;
}

.turma .box-turma-superior {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.turma .box-carrossel-fotografias {
    width: 100%;
    height: 350px;
}

.turma .box-lista-alunos {
    width: 100%;
    height: 100px;
}

.box-lista-alunos .lista-alunos {
    display: flex;
    gap: 2rem;
}

.lista-alunos .aluno {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

.lista-alunos .aluno .box-img-aluno {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    overflow: hidden;
}

.lista-alunos .aluno .box-img-aluno img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:root {
  --bg-dark: #0b1033;
  --yellow-accent: #f5b72b;
  --white: #ffffff;
  --text-muted: #d0d3e6;
}

/* Container do elemento */
.profile-wrapper {
  position: relative;
  display: inline-block;
}

/* Foto que aciona o hover */
.avatar-trigger {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--yellow-accent);
  object-fit: cover;
  cursor: pointer;
}

/* Card Oculto por padrão */
.profile-card {
  position: absolute;
  bottom: 110%; /* Exibe acima da imagem */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 280px;
  padding: 24px 20px;
  background-color: var(--bg-dark);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  
  /* Efeito de transição */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 10;
}

/* Revelar Card no Hover */
.profile-wrapper:hover .profile-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Tipografia e Conteúdo */
.card-info h3 {
  color: var(--yellow-accent);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 12px 0 2px 0;
}

.card-info h3:first-child {
  margin-top: 0;
}

.card-info p {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
}

/* Ícones Sociais */
.social-links {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--yellow-accent);
  color: var(--bg-dark);
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Rodapé do Card */
.card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.avatar-mini {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid var(--yellow-accent);
  object-fit: cover;
}

.card-footer h2 {
  color: var(--white);
  font-size: 1.1rem;
  margin: 0;
  font-weight: 700;
}

.card-footer span {
  color: var(--text-muted);
  font-size: 0.8rem;
}