.servicos {
  background: linear-gradient(135deg, #2D4B73 0%, #4C6FA9 50%, #6FA7D9 100%);
  color: #fff;
  padding: 80px 20px;
  font-family: 'Arial', sans-serif;
  text-align: center;
  position: relative;
}

.servicos-container {
  max-width: 900px;
  margin: 0 auto;
}

.servicos-container h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.servicos-container p {
  font-size: 18px;
  color: #fff;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Grid de cards */
.servicos-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

/* Card */
.servico-card {
  background: #fff;
  color: #2D4B73;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.servico-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.servico-card .descricao {
  font-size: 16px;
  color: #2D4B73;
  line-height: 1.5;
  margin-top: 10px;
  max-height: none; /* texto sempre visível */
  overflow: visible;
  padding: 0;
}

.servico-icone {
  width: 60px;       /* tamanho do ícone */
  height: 60px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease;
}

/* Pequena animação ao passar o mouse */
.servico-card:hover .servico-icone {
  transform: scale(1.1);
}

/* Brilho ao fundo do card */
.servico-card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-color: #F2C777;
  opacity: 0;
  border-radius: 20px;
  z-index: -1;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 30px rgba(45, 75, 115, 0.4);
}

.servico-card:hover::before {
  opacity: 1;
}

/* Hover leve do card */
.servico-card:hover {
  transform: translateY(-5px);
}