/* style_servicos.css - Atualizado para Esquema Azul Profissional */

/* Variáveis de cores atualizadas - Esquema Azul Profissional */
:root {
  --primary-dark: #2c3e50;       /* Azul petróleo (header/main color) */
  --primary-blue: #2980b9;       /* Azul principal (botões primários) */
  --secondary-blue: #3498db;     /* Azul médio (botões secundários) */
  --light-blue: #e6f2fa;         /* Azul claro (hover) */
  --light-gray: #ecf0f1;         /* Cinza claro (backgrounds) */
  --dark-text: #2c3e50;          /* Texto escuro */
  --success-blue: #2c82c9;       /* Azul sucesso (substitui o verde) */
  --danger-red: #e74c3c;         /* Vermelho (erro/perigo) */
  --table-header: #2c3e50;       /* Cabeçalho da tabela */
  --table-row-odd: #f8f9fa;      /* Linhas ímpares */
  --table-row-even: #ffffff;     /* Linhas pares */
  --hover-bg: #e6f2fa;           /* Cor de hover */
}

/* Estilos Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f7fa;
  color: var(--dark-text);
  line-height: 1.6;
}

/* Hero Section - Cor sólida sem gradiente */
.services-hero {
  background-color: var(--primary-dark);
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
  border-radius: 8px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.hero-content h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary-blue);
}

.hero-content h1 i {
  margin-right: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Container Principal */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.services-intro {
  text-align: center;
  margin-bottom: 2rem;
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.services-intro h2 {
  font-size: 1.8rem;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.services-intro h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary-blue);
}

.services-intro p {
  color: var(--dark-text);
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Tabela de Serviços - Estilo consistente */
.services-table {
  overflow-x: auto;
  margin-bottom: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background-color: var(--table-header);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

th i {
  margin-right: 8px;
}

td {
  color: var(--dark-text);
  vertical-align: top;
}

td i {
  color: var(--primary-blue);
  margin-right: 10px;
  font-size: 1rem;
  width: 25px;
  text-align: center;
}

.price {
  font-weight: 600;
  color: var(--primary-blue);
}

tr:nth-child(odd) {
  background-color: var(--table-row-odd);
}

tr:nth-child(even) {
  background-color: var(--table-row-even);
}

tr:hover {
  background-color: var(--hover-bg);
}

/* Call to Action - Estilo consistente */
.service-cta {
  text-align: center;
  background: var(--primary-dark);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  margin-top: 1.5rem;
}

.service-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-cta p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-blue);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
}

.cta-button:hover {
  background: #2472a4;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-content h1 {
      font-size: 2rem;
  }
  
  .hero-content p {
      font-size: 1rem;
  }
  
  th, td {
      padding: 0.8rem;
      font-size: 0.9rem;
  }
  
  td i {
      font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
      font-size: 1.5rem;
  }
  
  .services-intro h2 {
      font-size: 1.3rem;
  }
  
  th, td {
      padding: 0.6rem;
      font-size: 0.85rem;
  }
  
  .cta-button {
      width: 100%;
      justify-content: center;
  }
}