@media (min-width: 900px) {
  .aluno-destaque-texto {
    display: none;
  }
}
@media (min-width: 900px) {
  .anuncio-abaixo-desktop {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding-left: 64%;
    margin-top: -25em;
  }
  .anuncio-abaixo-img {
    max-width: 470px;
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 4px 18px #0076CA88;
    transition: transform 0.2s;
    cursor: pointer;
    margin-top: 0;
    margin-left: 0;
  }
  .anuncio-abaixo-img:hover {
    transform: scale(1.04);
  }
}
@media (max-width: 899px) {
  .anuncio-abaixo-desktop {
    margin-top: 0 !important;
  }
    margin-top: -16em;
    display: none !important;
  }
}
@media (min-width: 900px) {
  .anuncio-lateral-desktop {
    display: block;
    position: absolute;
    right: -12em;
    top: 26em;
    z-index: 10;
    margin: 0;
    padding: 0;
  }
  .aluno-main {
    position: relative;
  }
  }
  .anuncio-lateral-img {
    max-width: 220px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 18px #0076CA88;
    transition: transform 0.2s;
    cursor: pointer;
  }
  .anuncio-lateral-img:hover {
    transform: scale(1.04);
  }
  .card-verde-movel {
    transform: translateX(-9em) !important;
  }
  .aluno-atalhos {
    transform: translateX(-9em) !important;
  }
  .aluno-acoes > section > a[href="/premium"] img[alt="Anúncio"] {
    float: right;
    margin-right: 2em;
    margin-top: 1em;
    max-width: 320px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 18px #0076CA88;
    transition: transform 0.2s;
    cursor: pointer;
  }
}
@media (min-width: 900px) {
  .aluno-acoes img[alt="Anúncio"] {
    margin-top: 0.7em !important;
    display: block;
  }
  .aluno-main {
    display: flex;
    align-items: flex-start;
    flex-direction: column !important;
  }
  .aluno-acoes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .aluno-acoes img[alt="Anúncio"] {
    margin-top: 0 !important;
    margin-left: 0.8em !important;
    align-self: flex-start;
    display: block;
  }
    .aluno-acoes {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .aluno-atalhos {
      margin-bottom: 1.5em;
    }
    .aluno-acoes img[alt="Anúncio"] {
      margin-top: 0 !important;
      margin-left: 0 !important;
      align-self: center;
      display: block;
      max-width: 290px;
    }
  .aluno-acoes img[alt="Anúncio"] {
    display: none !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 1em;
        margin-bottom: 1.2em;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .card-verde-movel {
    max-width: 780px !important;
    width: 100% !important;
    margin-right: -80px !important;
  }
  .aluno-atalhos {
    margin-left: 5em !important;
  }
  .aluno-dados-azul {
    max-width: 320px !important;
    width: 100% !important;
  }
  .aluno-info-col {
    max-width: 320px !important;
    width: 100% !important;
  }
  .card-verde-movel > section:last-child {
    margin-left: 9em !important;
  }
  .avatar-col-mover {
    margin-left: 5em !important;
  }
}
@media (max-width: 899px) {
  .aluno-atalhos {
    transform: translateX(-14px) !important;
  }
  #btn-notificacoes {
    transform: translateX(-16px) !important;
  }
}
@media (max-width: 899px) {
  .aluno-acoes img[alt="Anúncio"] {
  max-width: 290px !important;
    width: 100% !important;
  }
}
@media (max-width: 899px) {
  .card-verde-movel {
    transform: translateX(-16px) !important;
  max-width: 520px !important;
    padding: 0.5em !important;
  }
}
@media (max-width: 899px) {
  main .aluno-main > section[style*="background: #1ec773"] {
    margin-left: 64px !important;
    position: relative !important;
  left: 0 !important;
  transform: translateX(80px) !important;
  }
}

/* Botão de logout criativo no menu lateral */
/* Botão de logout criativo, menor e mais diferenciado */

/* Botão de logout elegante e flat */

/* Botão de logout divertido, amigável e chamativo */

/* Botão de logout bonito, amigável e moderno */

/* Botão de logout super bonito, moderno e com efeito 3D */
.logout-creative {
  background: linear-gradient(90deg, #00CFFF 0%, #1ec773 100%);
  color: #fff;
  font-size: 0.92em;
  font-family: 'Fredoka', 'Baloo 2', Arial, sans-serif;
  font-weight: 900;
  border: 2px solid #fff;
  border-bottom: 3px solid #0076CA;
  border-radius: 16px 24px 16px 24px;
  padding: 0.38em 1.1em 0.38em 1em;
  cursor: pointer;
  box-shadow: 0 4px 14px #00CFFF33, 0 1px 4px #1ec77322, 0 0 0 2.5px #fffbe7;
  letter-spacing: 0.09em;
  text-decoration: none;
  transition: background 0.22s, color 0.18s, border 0.18s, box-shadow 0.22s, transform 0.18s, filter 0.18s;
  outline: none;
  display: inline-block;
  text-shadow: 0 2px 8px #00CFFF22, 0 1px 0 #fff;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 8px #1ec77322) brightness(1.06);
  position: relative;
  overflow: hidden;
}
.logout-creative::after {
  content: '';
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 100%);
  border-radius: 22px 32px 22px 32px;
  pointer-events: none;
  transition: opacity 0.22s;
}
.logout-creative:hover {
  background: linear-gradient(90deg, #1ec773 0%, #00CFFF 100%);
  color: #fff;
  border-color: #FFD600;
  box-shadow: 0 12px 36px #00CFFF66, 0 4px 16px #1ec77355, 0 0 0 6px #fffbe7;
  transform: translateY(-3px) scale(1.08) rotate(-2deg);
  filter: brightness(1.13) saturate(1.2);
}
.logout-creative:active {
  filter: brightness(0.97);
  transform: scale(0.98);
}
.aluno-progresso-bar {
  width: 60px !important;
  height: 10px;
  vertical-align: middle;
  margin: 0 0.2em;
}
/* Botão Editar Perfil estilizado */
.btn-editar-perfil {
  width: 100%;
  margin-top: 0.7em;
  padding: 0.7em 0;
  background: linear-gradient(90deg, #0076CA 60%, #00CFFF 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.08em;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 12px #0076CA33, 0 1px 4px #00CFFF22;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  outline: none;
  position: relative;
  overflow: hidden;
}
.btn-editar-perfil:hover, .btn-editar-perfil:focus {
  background: linear-gradient(90deg, #00CFFF 60%, #0076CA 100%);
  transform: scale(1.04);
  box-shadow: 0 4px 18px #00CFFF55, 0 2px 8px #0076CA33;
}
/* Card azul menor para informações do aluno */
.aluno-dados-card {
  /* removido do layout principal, mantido para compatibilidade */
}

  .aluno-dados-azul {
  background: #0076CA;
  border-radius: 18px;
  box-shadow: 0 1px 8px #0076CA33;
  padding: 0.7em 1em 0.7em 1em;
  margin: 0.2em 0 0.7em 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2em;
  margin-top: 20px;
  margin-right: 5px;
  margin-left: 5px;
}/* Desktop: remove o card aluno-dados, mantendo os itens internos visíveis e funcionais */





.aluno-info-item {
  color: #fff !important;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 0.2em;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  text-align: left;
  width: 100%;
}

.aluno-progresso-bar {
  vertical-align: middle;
}

/* Garante que a section azul tenha padding suficiente para as informações ficarem totalmente dentro */
.aluno-info section[style*='#0076CA'] {
  padding-left: 2em !important;
  padding-right: 2em !important;
}
section {
  display: block;
  margin: 0;
  padding: 0;
}
/* Estilos exclusivos da página do Aluno */

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Fredoka', 'Baloo 2', Arial, sans-serif;
 
  background-attachment: fixed;
  overflow-x: clip;
  position: relative;
  max-width: 100vw;
  box-sizing: border-box;
}

.bg-figma {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: url('/img/tcc.img/tela inicio.png') center center/cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
  transition: opacity 0.4s;
}

.aluno-main {
  max-width: 100vw;
  width: 100%;
  margin: 1.2em;
 
  
  
  
  
 
  flex-direction: column;
  
  animation: fadeInUp 0.7s;
  box-sizing: inherit;
  
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.aluno-atalhos {
  display: flex;
  gap: 1.2em;
  margin-bottom: 1.5em;
  flex-wrap: wrap;
  justify-content: center;
}

.atalho-circulo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00CFFF 60%, #3bb273 100%);
  color: #fff;
  font-size: 2.1em;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 0.3em;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s;
  border: 2.5px solid #FFD600;
  position: relative;
}
.atalho-circulo span {
  font-size: 0.7em;
  font-weight: 700;
  margin-top: 0.2em;
  color: #FFD600;
  letter-spacing: 0.01em;
}
.atalho-circulo:hover {
  background: linear-gradient(135deg, #3bb273 60%, #00CFFF 100%);
  transform: scale(1.07);
  box-shadow: 0 6px 24px 0 rgba(0, 207, 255, 0.13), 0 2px 8px 0 rgba(0,0,0,0.10);
}

.aluno-main h1 {
  text-align: center;
  font-family: 'Baloo 2', 'Fredoka', Arial, sans-serif;
  font-size: 2em;
  color: #00CFFF;
  font-weight: 800;
  margin-bottom: 1.2em;
  margin-top: 0.5em;
  letter-spacing: 0.01em;
}

.aluno-header {
  display: flex;
  align-items: center;
  gap: 1.2em;
  margin-bottom: 1.2em;
}

.aluno-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #FFD600;
  background: #fffbe7;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
 
}

.aluno-nome h2 {
  font-size: 1.3em;
  color: #3bb273;
  font-weight: 800;
  margin: 0 0 0.2em 0;
}

.aluno-nome-destaque {
  color: #fafaf9;
  font-weight: 800;
}

.aluno-frase {
  font-size: 1em;
  color: #00CFFF;
  margin: 0;
  font-weight: 600;
}

  .aluno-dados {
 
 
  
  
 

}

.aluno-dados p {
 
}

.aluno-ranking {
  color: #00CFFF;
  font-weight: 700;
}

.aluno-progresso {
  color: #3bb273;
  font-weight: 700;
}

.aluno-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-bottom: 1em;
  justify-content: center;
}

.medalhas span {
  
}

.moedas {
  font-size: 1.1em;
  color: #FFD600;
  font-weight: 700;
  background: #fffbe7;
  border-radius: 8px;
  padding: 0.3em 0.8em;
  margin: 0 0.5em;
  display: inline-block;
}

.aluno-premios span {
  font-size: 1.5em;
  margin-right: 0.2em;
}

.aluno-acoes {
  display: flex;
  gap: 1em;
  margin-bottom: 1.2em;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary, .btn-primary, .btn-destaque {
  border: none;
  border-radius: 10px;
  padding: 0.7em 1.3em;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-bottom: 0.2em;
}

.btn-secondary {
  background: #fffbe7;
  color: #3bb273;
  border: 1.5px solid #FFD600;
}

.btn-primary {
  background: #00CFFF;
  color: #fff;
  border: 1.5px solid #00CFFF;
}

.btn-destaque {
  background: linear-gradient(90deg, #FFD600 0%, #3bb273 100%);
  color: #fff;
  border: 1.5px solid #FFD600;
}

.btn-secondary:hover, .btn-primary:hover, .btn-destaque:hover {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.aluno-missoes {
  background: #f7fafd;
  border-radius: 22px;
  padding: 1em 1.2em;
  margin-bottom: 1.2em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  width: 100%;
}

.aluno-missoes h3 {
  color: #00CFFF;
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 0.5em;
}

.aluno-missoes ul {
  padding-left: 1.2em;
  margin: 0;
  color: #3bb273;
  font-size: 1em;
}

.aluno-missoes li {
  margin-bottom: 0.3em;
}

.aluno-destaque {
  background: #fffbe7;
  border-radius: 22px;
  padding: 1em 1.2em;
  margin-bottom: 0.5em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  width: 100%;
  text-align: center;
  color: #3bb273;
  font-weight: 700;
}

.aluno-explorador {
  color: #00CFFF;
  font-weight: 800;
}

@media (max-width: 700px) {
  .aluno-main {
    max-width: 98vw;
    padding: 1.2em 0.5em 1.5em 0.5em;
    border-radius: 10px;
  }
  .aluno-main h1 {
    font-size: 1.25em;
  }
}

/* Desktop adjustments: caprichado e proporcional para telas >= 900px */
@media (min-width: 900px) {
  .aluno-main {
    max-width: 900px;
    padding: 4em;
   
  }
  .aluno-main h1 {
    font-size: 2.7em;
    margin-bottom: 2em;
    margin-top: 1em;
  }
  .aluno-header {
    gap: 2.5em;
    margin-bottom: 2em;
  }
  .aluno-avatar {
    width: 110px;
    height: 110px;
    border-width: 5px;
    box-shadow: 0 6px 24px #FFD60033;
  }
  .aluno-nome h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
  }
  .aluno-frase {
    font-size: 1.25em;
  }
  .aluno-dados, .aluno-missoes, .aluno-destaque {
    padding: 2em 2.5em;
    border-radius: 18px;
    margin-bottom: 2em;
    font-size: 1.18em;
    box-shadow: 0 2px 12px #00CFFF11;
  }
  .aluno-dados p {
    font-size: 1.18em;
  }
  .aluno-atalhos {
    gap: 4em;
    margin-bottom: 2.5em;
  }
  .atalho-circulo {
    width: 138px;
    height: 138px;
    font-size: 3.3em;
    border-width: 5px;
    margin-bottom: 0.7em;
  }
  .atalho-circulo span {
    font-size: 1em;
    margin-top: 0.5em;
  }
  .aluno-badges {
    gap: 2em;
    margin-bottom: 2em;
  }
  .moedas {
    font-size: 1.3em;
    padding: 0.5em 1.2em;
    margin: 0 1em;
  }
  .aluno-premios span {
    font-size: 2em;
  }
  .aluno-acoes {
    gap: 2em;
    margin-bottom: 2em;
  }
  .btn-secondary, .btn-primary, .btn-destaque, .btn-editar-perfil {
    font-size: 1.25em;
    padding: 1em 2em;
    border-radius: 18px;
    box-shadow: 0 4px 16px #00CFFF22;
  }
  .btn-editar-perfil {
    margin-top: 1.2em;
  }
}

/* Mobile-only: diminuir imagem de anúncio para telas menores que 900px */
@media (max-width: 899px) {
  /* Center the ad and make it slightly larger than before, aligned with the green card */
  .anuncio-abaixo-desktop {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin-top: 0.6em !important;
  }
  .anuncio-abaixo-img {
    /* Mobile: aumentar um pouco mais, mantendo centralizado e responsivo */
    max-width: 420px !important;
    width: 92% !important;
    margin: 0.6em auto !important;
    display: block !important;
  }
}

@media (min-width: 900px) {
  body {
    background-image: url('/img/fundoperfil.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

/* Estilos do Slider de Anúncios */
@media (min-width: 900px) {
  .slider-anuncios {
    position: relative;
    width: 100%;
    max-width: 470px;
    overflow: hidden;
    border-radius: 28px;
  }

  .slide-anuncio {
    display: none;
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease-in-out;
  }

  .slide-anuncio a {
    width: 100%;
    height: 100%;
  }

  .slide-anuncio.ativo {
    display: block;
  }

  .anuncio-abaixo-desktop .slider-prev,
  .anuncio-abaixo-desktop .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 118, 202, 0.8);
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    z-index: 20;
    transition: background 0.3s;
  }

  .anuncio-abaixo-desktop .slider-prev:hover,
  .anuncio-abaixo-desktop .slider-next:hover {
    background: rgba(0, 118, 202, 1);
  }

  .anuncio-abaixo-desktop .slider-prev {
    left: 10px;
  }

  .anuncio-abaixo-desktop .slider-next {
    right: 10px;
  }

  .slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 21;
    top: 50%;
    bottom: auto;
    left: 85%;
    transform: translateX(-50%) translateY(-50%);
  }

  .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.3s;
  }

  .dot.ativo {
    background: rgba(0, 118, 202, 1);
  }

  .dot:hover {
    background: rgba(255, 255, 255, 1);
  }
}

/* Seção de Missões do Dia - Desktop */
@media (min-width: 900px) {
  .missoes-do-dia-container {
    width: 100%;
    padding: 2em 1.5em;
    margin-top: 3em;
    margin-bottom: 2em;
  }

  .missoes-titulo {
    color: #0076CA;
    font-family: 'Baloo 2', cursive;
    font-size: 1.3em;
    font-weight: 800;
    margin-bottom: 1.5em;
    display: inline-block;
    background: #fff;
    padding: 0.6em 1.2em;
    border-radius: 20px;
    box-shadow: 0 2px 12px #0076CA22;
    margin-left: 1em;
  }

  .missoes-cards-wrapper {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 1em;
  }

  .missao-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 16px #0076CA22;
    padding: 1.5em;
    display: flex;
    align-items: flex-start;
    gap: 1.2em;
    width: 280px;
    min-height: 140px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
  }

  .missao-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px #0076CA33;
  }

  .missao-icone {
    font-size: 2.5em;
    flex-shrink: 0;
  }

  .missao-conteudo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    height: 100%;
  }

  .missao-texto {
    color: #333;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 1em;
  }

  .missao-recompensa {
    color: #28a745;
    font-family: 'Baloo 2', cursive;
    font-size: 1.2em;
    font-weight: 800;
    text-align: right;
    margin-top: auto;
  }
}

/* Ajuste: mover card verde e slider um pouco para baixo em desktop */
@media (min-width: 900px) {
  .card-verde-movel {
    margin-top: 8rem !important;
  }

  /* Anúncio/slider: aumentar o deslocamento negativo para mover para cima */
  .anuncio-abaixo-desktop {
    margin-top: -26em !important;
  }
}

/* Fixar os cinco atalhos azuis no topo, centralizados (apenas desktop) */
@media (min-width: 900px) {
  .aluno-atalhos {
    position: fixed;
    top: 2.5em;
    left: 50%;
    transform: translateX(-50%);
    z-index: 13000;
    gap: 1rem;
    background: transparent;
    padding: 0.2em 0.6em;
    border-radius: 999px;
  }

  .aluno-atalhos .atalho-circulo {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(0,118,202,0.18);
  }
}

/* Ocultar setinhas do slider no mobile */
@media (max-width: 899px) {
  .slider-prev,
  .slider-next {
    display: none !important;
  }
  
  .slider-anuncios {
    max-width: 92% !important;
    margin: 0 auto;
  }

  .missoes-do-dia-container {
    display: none !important;
  }
}
