.aluno-page {
  min-height: 100vh;
  background: #f3f6f8;
  color: #1c3145;
}

.aluno-page.hidden {
  display: none;
}

.aluno-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 30px;
  border-bottom: 1px solid #dde5ea;
  background: #ffffff;
}

.aluno-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aluno-brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #183f60;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.aluno-header-brand span,
.aluno-header-brand strong {
  display: block;
}

.aluno-header-brand span {
  color: #778692;
  font-size: 11px;
}

.aluno-header-brand strong {
  color: #183f60;
  font-size: 15px;
}

.aluno-header-user {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: right;
}

.aluno-header-user span,
.aluno-header-user strong {
  display: block;
}

.aluno-header-user span {
  margin-bottom: 3px;
  color: #c69234;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.aluno-header-user strong {
  color: #183f60;
  font-size: 13px;
}

.aluno-btn-sair {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d6dfe5;
  border-radius: 8px;
  cursor: pointer;
  background: #ffffff;
  color: #183f60;
  font-size: 11px;
  font-weight: 700;
}

.aluno-btn-sair:hover {
  background: #f4f7f9;
}

.aluno-main {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 40px 30px;
}

.aluno-welcome {
  margin-bottom: 30px;
}

.aluno-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #c69234;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.aluno-welcome h1 {
  margin: 0 0 9px;
  color: #102d47;
  font-size: 34px;
  letter-spacing: -.025em;
}

.aluno-welcome p {
  margin: 0;
  color: #70808d;
  font-size: 14px;
}

.aluno-resumo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.aluno-resumo-card {
  min-height: 125px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #dde5ea;
  border-radius: 14px;
  background: #ffffff;
}

.aluno-resumo-card span {
  color: #788793;
  font-size: 11px;
  font-weight: 650;
}

.aluno-resumo-card strong {
  margin: 13px 0 6px;
  color: #102d47;
  font-size: 27px;
}

.aluno-resumo-card small {
  color: #96a0a8;
  font-size: 11px;
}

.aluno-turmas-section {
  padding: 28px;
  border: 1px solid #dde5ea;
  border-radius: 16px;
  background: #ffffff;
}

.aluno-section-header {
  margin-bottom: 24px;
}

.aluno-section-header h2 {
  margin: 0;
  color: #102d47;
  font-size: 24px;
}

.aluno-turmas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.aluno-turma-card {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  padding: 21px;
  border: 1px solid #dce4e9;
  border-radius: 13px;
  cursor: pointer;
  background: #fbfcfd;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease;
}

.aluno-turma-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(20,48,72,.08);
}

.aluno-turma-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 25px;
}

.aluno-turma-status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf8f2;
  color: #177245;
  font-size: 9px;
  font-weight: 800;
}

.aluno-turma-periodo {
  color: #8996a0;
  font-size: 10px;
}

.aluno-turma-card h3 {
  margin: 0 0 8px;
  color: #12324d;
  font-size: 17px;
}

.aluno-turma-card p {
  margin: 0;
  color: #75838f;
  font-size: 12px;
  line-height: 1.5;
}

.aluno-turma-footer {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  color: #183f60;
  font-size: 11px;
  font-weight: 700;
}

.aluno-empty-state {
  grid-column: 1 / -1;
  padding: 45px 20px;
  text-align: center;
  color: #75838f;
}

.aluno-empty-state strong {
  display: block;
  margin-bottom: 8px;
  color: #183f60;
}

.aluno-empty-state p {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 900px) {
  .aluno-turmas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .aluno-header {
    padding: 12px 16px;
  }

  .aluno-header-user strong {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .aluno-main {
    padding: 28px 16px;
  }

  .aluno-welcome h1 {
    font-size: 29px;
  }

  .aluno-resumo-grid,
  .aluno-turmas-grid {
    grid-template-columns: 1fr;
  }

  .aluno-turmas-section {
    padding: 21px;
  }
}
