/* passo 1: resetar estilos padrão */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* passo 2: definir aparência geral da página */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0b1220;
  color: #e5e7eb;
  line-height: 1.6;
}

/* passo 3: padronizar links */
a {
  text-decoration: none;
  color: inherit;
}

/* passo 4: remover marcadores das listas */
li {
  list-style: none;
}

/* passo 5: criar espaçamento padrão para seções */
.secao {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.secao h2 {
  color: #34d399;
  text-align: center;
  margin-bottom: 16px;
  font-size: 2rem;
}

.secaoDescricao {
  text-align: center;
  color: #9ca3af;
  max-width: 760px;
  margin: 0 auto 40px auto;
}

/* passo 6: criar a área hero */
.hero {
  min-height: 100vh;
  background: radial-gradient(circle at top, #0f172a, #020617);
}

/* passo 7: organizar a navegação */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: relative;
}

.logo {
  color: #34d399;
  font-size: 1.5rem;
}

/* passo 8: estilizar menu */
.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  color: #e5e7eb;
  transition: 0.3s;
}

.menu a:hover {
  color: #34d399;
}

/* passo 9: organizar conteúdo inicial em duas colunas */
.heroConteudo {
  max-width: 1100px;
  margin: 0 auto;
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  padding: 40px 24px 80px 24px;
}

.heroTexto {
  text-align: left;
}

.intro {
  color: #34d399;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.heroTexto h2 {
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 14px;
}

.cargo {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.descricao {
  color: #9ca3af;
  max-width: 620px;
  margin-bottom: 30px;
}

/* passo 10: estilizar botões do topo */
.heroBotoes {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.botaoPrimario,
.botaoSecundario {
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s;
}

.botaoPrimario {
  background: #34d399;
  color: #020617;
}

.botaoPrimario:hover {
  background: #10b981;
}

.botaoSecundario {
  border: 1px solid #34d399;
  color: #34d399;
}

.botaoSecundario:hover {
  background: #34d399;
  color: #020617;
}

/* passo 11: estilizar área da foto */
.heroImagem {
  display: flex;
  justify-content: center;
  align-items: center;
}

.heroImagem img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  border: 3px solid #34d399;
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.15);
}

/* passo 12: organizar a seção sobre */
.sobreConteudo {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}

.sobreTexto p {
  color: #9ca3af;
  margin-bottom: 18px;
}

.sobreDados {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dadoCard {
  background: #020617;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 20px;
}

.dadoCard strong {
  display: block;
  color: #34d399;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.dadoCard span {
  color: #9ca3af;
  font-size: 0.95rem;
}

/* passo 13: organizar os projetos */
.projetosContainer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.projetoCard {
  background: #020617;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.projetoCard h3 {
  color: #34d399;
  margin-bottom: 14px;
}

.projetoCard p {
  color: #9ca3af;
  margin-bottom: 14px;
}

.tecnologiasUsadas {
  font-size: 0.95rem;
}

.projetoLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.projetoLinks a {
  display: inline-block;
  border: 1px solid #34d399;
  color: #34d399;
  padding: 10px 16px;
  border-radius: 8px;
  transition: 0.3s;
}

.projetoLinks a:hover {
  background: #34d399;
  color: #020617;
}

/* passo 14: organizar habilidades */
.habilidadesGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.habilidadesBloco {
  background: #020617;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.habilidadesBloco h3 {
  color: #34d399;
  margin-bottom: 16px;
}

.habilidadesLista {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.habilidadesLista li {
  background: #0f172a;
  border: 1px solid #34d399;
  color: #34d399;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  text-align: center;
}

/* passo 15: organizar contatos */
.contatosLista {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.contatoItem {
  background: #020617;
  border: 1px solid #34d399;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.contatoItem strong {
  display: block;
  color: #34d399;
  margin-bottom: 8px;
}

.contatoItem span,
.contatoItem a {
  color: #9ca3af;
}

.contatoItem a:hover {
  color: #34d399;
}

/* passo 16: estilizar redes sociais */
.redesSociais {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.redesSociais a {
  border: 1px solid #34d399;
  border-radius: 10px;
  color: #34d399;
  padding: 10px 20px;
  transition: 0.3s;
}

.redesSociais a:hover {
  color: #020617;
  background: #10b981;
}

/* passo 17: estilizar rodapé */
.footer {
  text-align: center;
  padding: 24px;
  background: #020617;
  color: #9ca3af;
  margin-top: 40px;
}

/* passo 18: esconder botão hambúrguer em telas grandes */
#hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
}

/* passo 19: responsividade */
@media (max-width: 960px) {
  .heroConteudo,
  .sobreConteudo,
  .habilidadesGrid,
  .contatosLista,
  .projetosContainer {
    grid-template-columns: 1fr;
  }

  .heroTexto {
    text-align: center;
  }

  .descricao {
    margin-left: auto;
    margin-right: auto;
  }

  .heroBotoes {
    justify-content: center;
  }

  .heroImagem {
    order: -1;
  }
}

@media (max-width: 768px) {
  #hamburger {
    display: block;
  }

  .menu {
    position: absolute;
    top: 70px;
    right: 24px;
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 10px;
    padding: 16px;
    flex-direction: column;
    display: none;
  }

  .menu.ativa {
    display: flex;
  }

  .navbar {
    padding: 20px 24px;
  }

  .heroTexto h2 {
    font-size: 2.4rem;
  }

  .heroImagem img {
    max-width: 260px;
  }
}