.tools-titulo {
  font-size: 2em;
  margin-top: 30px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center; 
}

.lista-projetos {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 5%;
}

.lista-projetos li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.lista-projetos li img {
  width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.lista-projetos li .info {
  max-width: 500px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lista-projetos li h3 {
  text-transform: uppercase;
  font-size: 1.4em;
  margin-bottom: 6px;
}

.lista-projetos li:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

.lista-projetos li:nth-child(even) .info {
  align-items: flex-end;
}

.lista-projetos li:nth-child(even) .btn-projeto {
  align-self: flex-end;
}

.lista-projetos li:nth-child(odd) .info {
  align-items: flex-start;
}

.lista-projetos li:nth-child(odd) .btn-projeto {
  align-self: flex-start;
}

.ferramentas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  margin-top: 12px;
  list-style: none;
  padding: 0;
}

.ferramentas li {
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.ferramentas li:hover {
  transform: scale(1.1);
}

.ferramentas li img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
  transition: filter 0.3s ease;
}

.ferramentas li img:hover {
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

body.dark .ferramentas li {
  background-color: transparent;
}

.btn-projeto {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 44px;
  margin-top: 12px;
  padding: 0 18px;
  background-color: #000;
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  text-align: center;
  white-space: nowrap;
}

.btn-projeto:hover {
  background-color: #005fcc;
  transform: scale(1.05);
}

body.dark .btn-projeto {
  background-color: #ccc;
  color: #111;
}

body.dark .btn-projeto:hover {
  background-color: #eee;
}

body.dark .ferramentas li {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .lista-projetos li {
    flex-direction: column !important;
    text-align: left;
  }

  .lista-projetos li .info {
    align-items: flex-start !important;
  }

  .lista-projetos li img {
    width: 100%;
    max-width: 320px;
  }

  .btn-projeto {
    align-self: center !important;
  }
}
