* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

a:hover {
  color: #219653;
  text-decoration: underline;
}

/* Cabeçalho */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.cabecalho {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo-img {
  height: 40px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #219653;
  color: white;
  text-decoration: none;
}

/* Conteúdo principal */
.conteudo-principal {
  max-width: 900px;
  margin: 50px auto 80px;
  padding: 0 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 40px;
}

.sobre-projeto {
  margin-bottom: 50px;
  border-bottom: 2px solid #27ae60;
  padding-bottom: 30px;
}

.sobre-projeto h2 {
  font-size: 2.5rem;
  color: #27ae60;
  margin-bottom: 10px;
}

.sobre-projeto h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 8px;
}

.sobre-projeto h4 {
  font-size: 1.3rem;
  color: #7f8c8d;
  font-weight: 500;
}

.professor,
.alunos,
.objetivo,
.agradecimentos {
  margin-bottom: 40px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.professor h3,
.alunos h3,
.objetivo h3,
.agradecimentos h3 {
  color: #27ae60;
  font-size: 1.8rem;
  margin-bottom: 15px;
  border-left: 5px solid #27ae60;
  padding-left: 10px;
}

.professor p,
.agradecimentos p {
  font-size: 1.1rem;
  color: #34495e;
  line-height: 1.4;
}

.lista-alunos {
  list-style: none;
  padding-left: 0;
  color: #34495e;
  font-weight: 500;
}

.lista-alunos li {
  background-color: #eaf6ea;
  margin-bottom: 8px;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(39, 174, 96, 0.2);
  transition: background-color 0.3s ease;
}

.lista-alunos li:hover {
  background-color: #d4edda;
}

/* Rodapé */
footer {
  background-color: #2C3E50;
  color: white;
  padding: 40px 0;
  margin-top: 100px;
}

.conteudo-rodape {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-rodape,
.contato-info {
  margin-bottom: 20px;
}

.contato-info {
  margin-top: 65px;
}

.rodape-logo-img {
  height: 50px;
  margin-bottom: 15px;
}

.redes-sociais-icon {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.redes-sociais-icon a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.redes-sociais-icon a i {
  color: white;
}

.redes-sociais-icon a:hover:nth-child(1) {
  background-color: #E1306C;
}

.redes-sociais-icon a:hover:nth-child(2) {
  background-color: #1877F2;
}

.redes-sociais-icon a:hover:nth-child(3) {
  background-color: #0A66C2;
}

.redes-sociais-icon a:hover:nth-child(4) {
  background-color: #1DA1F2;
}


.contato-info h3 {
  margin-bottom: 12px;
  color: #27ae60;
  font-weight: 600;
}

.contato-info p {
  font-size: 1.1rem;
}

/* Botão voltar */
.btn-voltar {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #27ae60;
  color: white;
  font-size: 2rem;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(39, 174, 96, 0.6);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1500;
}

.btn-voltar:hover {
  background-color: #1e8449;
  transform: scale(1.1);
}



/* Responsividade - Adaptada */
@media (max-width: 768px) {
  .cabecalho {
    flex-direction: column;
  }

  nav ul {
    margin-top: 15px;
  }

  nav ul li {
    margin: 0 10px;
  }

  .conteudo-rodape {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contato-info {
    margin-top: 30px;
  }

  .artigo-destaque h1 {
    font-size: 1.6rem;
  }

  .imagem-destaque {
    height: 300px;
  }

  .recomendacoes h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 5px;
  }

  .imagem-destaque {
    height: 200px;
  }

  .conteudo-destaque {
    padding: 20px;
  }

  .grid-recomendacoes {
    grid-template-columns: 1fr;
  }
}