.projetos {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
}

/* HEADER (título) */
.projetos-header {
  width: 100%;
  max-width: 1200px; /* substitui 1535px */
  padding: 75px 50px;
  display: flex;
}

.projetos-header h1 {
  font-family: "Mulish", sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #083761;
  margin: 0;
}

.projetos-grid {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.projeto-item {
  position: relative;
  width: 100%;
  height: 400px; /* pode ajustar */
  overflow: hidden;
  cursor: pointer;
}

.projeto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition: transform 0.4s ease;
}

.projeto-overlay {
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  padding: 20px 25px;

  display: flex;
  flex-direction: column;
  gap: 20px;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.projeto-item:hover .projeto-overlay {
  opacity: 1;
  transform: translateY(0);
}

.projeto-item:hover img {
  transform: scale(1.05);
}

.projeto-overlay h2 {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #d9d9d9;
  margin: 0;
}

.projeto-overlay p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #d9d9d9;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0;
}

@media (max-width: 768px) {
  .projetos-header {
    padding: 50px 20px;
  }

  .projetos-header h1 {
    font-size: 32px;
    text-align: center;
  }

  .projetos-grid {
    padding: 0 20px;
    gap: 30px;
  }

  .projeto-item {
    height: 300px;
  }

  .projeto-overlay {
    padding: 15px 20px;
  }

  .projeto-overlay h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .projeto-overlay p {
    font-size: 14px;
    letter-spacing: 2px;
    line-height: 16px;
  }
}

/* Responsivo - Telas muito pequenas */
@media (max-width: 480px) {
  .projetos-header {
    padding: 30px 15px;
  }

  .projetos-header h1 {
    font-size: 24px;
    text-align: center;
  }

  .projetos-grid {
    padding: 0 15px;
    gap: 20px;
  }

  .projeto-item {
    height: 200px;
  }

  .projeto-item img {
    width: 100%;
    height: 100%;
  }

  .projeto-overlay {
    padding: 12px 15px;
  }

  .projeto-overlay h2 {
    font-size: 18px;
    line-height: 22px;
  }

  .projeto-overlay p {
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 14px;
  }
}

.projetos {
  padding-bottom: 80px;
}
