/* services.css - Versão com categorias e lista completa de serviços */

/* =========================
   HERO SECTION
========================= */
.services-hero {
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #eef2f6;
}

.services-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #475569;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =========================
   SERVICES CATALOG
========================= */
.services-catalog {
  padding: 4rem 1.5rem 5rem;
  background-color: #ffffff;
}

.service-category {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eef2f6;
}

.service-category:last-child {
  border-bottom: none;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.category-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #eef4ff, #e0e9ff);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 1.5rem;
}

.category-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.5px;
}

.category-description {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  padding-left: calc(48px + 1rem);
}

/* Grid de serviços */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background-color: #f9fafc;
  border-radius: 10px;
  border: 1px solid #eef2f6;
  transition: all 0.2s ease;
}

.service-item:hover {
  background-color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px -5px rgba(37, 99, 235, 0.1);
}

.service-icon {
  color: #2563eb;
  font-size: 1rem;
  flex-shrink: 0;
}

.service-name {
  color: #1e293b;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* =========================
   SERVICE SUMMARY (Lista completa)
========================= */
.service-summary {
  margin-top: 4rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 24px;
  border: 1px solid #e2e8f0;
}

.service-summary h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: -0.5px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  color: #334155;
  font-size: 0.95rem;
  border-bottom: 1px dashed #d1d9e6;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li i {
  color: #2563eb;
  font-size: 0.8rem;
}

/* =========================
   CTA SECTION
========================= */
.services-cta {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.cta-content p {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  background-color: white;
  color: #0f172a;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

.btn-primary i {
  transition: transform 0.2s ease;
}

.btn-primary:hover i {
  transform: translateX(5px);
}

/* =========================
   RESPONSIVIDADE
========================= */
@media (max-width: 768px) {
  .services-hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .category-header h2 {
    font-size: 1.6rem;
  }
  
  .category-description {
    padding-left: 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .summary-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-summary {
    padding: 1.5rem;
  }
  
  .service-summary h3 {
    font-size: 1.5rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .service-item {
    padding: 0.7rem 0.8rem;
  }
}