/* ================================================= */
/* Seção Projetos Customizados                     */
/* ================================================= */

#projetos-customizados {
  background-color: #fff;
  padding: 100px 0;
  text-align: center;
  height: auto; /* Garante que a altura se ajuste ao conteúdo */
}

.projetos-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* Mantém um respiro nas laterais */
}

.projetos-header {
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.projetos-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #182047;
  margin-bottom: 20px;
}

.projetos-header p {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

/* Container dos Cards */
.projetos-cards-container {
  display: grid;
  /* Esta linha é a mágica da responsividade automática */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.projeto-card {
  background-color: #f8f9fa;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: left;
  border: 1px solid #e9ecef;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projeto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(24, 32, 71, 0.08);
}

.projeto-icon {
  display: inline-flex;
  margin-bottom: 25px;
  color: #3b4bbf;
  font-size: 40px;
}

.projeto-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #182047;
  margin-bottom: 15px;
}

.projeto-card p {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 0;
}

/* Botão de Ação (CTA) */
.projetos-cta {
  margin-top: 40px;
}

/* ================================================= */
/* Responsividade da Seção                           */
/* ================================================= */

@media (max-width: 767px) {
  .projetos-header h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  #projetos-customizados {
    padding: 80px 0;
  }
  
  .projetos-header h2 {
    font-size: 2rem;
  }

  .projetos-header p {
    font-size: 1rem;
  }
  
  .projeto-card {
    padding: 30px 25px;
  }
}