/* ===== Seção de Introdução ===== */
.servicos-intro {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, #0d47a1, #1565c0, #42a5f5, #1e88e5);
  background-size: 400% 400%;
  animation: gradientMove 10s ease infinite;
}

/* Animação do gradiente */
@keyframes gradientMove {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

/* Partículas */
#particles-js {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Caixa de conteúdo com efeito vidro */
.servicos-intro .container {
  position: relative;
  z-index: 2;
  max-width: 850px;
  background: rgba(255, 255, 255, 0.08);
  padding: 50px 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease;
}

/* Título */
.servicos-intro .titulo-principal {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #fff;
}

/* Descrição */
.servicos-intro .descricao-intro {
  font-size: 1.1rem;
  color: #e0e0e0;
  line-height: 1.7;
  margin-bottom: 35px;
}

/* Botão */
.btn-explorar {
  display: inline-block;
  background: linear-gradient(135deg, #64b5f6, #1976d2);
  color: #fff;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-explorar:hover {
  background: linear-gradient(135deg, #90caf9, #0d47a1);
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* Animação suave */
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Responsivo */
@media (max-width: 768px) {
  .servicos-intro {
    height: auto;
    padding: 100px 20px;
  }
  .servicos-intro .titulo-principal {
    font-size: 2rem;
  }
  .servicos-intro .descricao-intro {
    font-size: 1rem;
  }
}

  
/* ===== Fundo geral da seção ===== */
.secao-servicos {
  background: radial-gradient(circle at top left, #0d47a1 0%, #020617 70%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

/* ===== Botões de filtro ===== */
.filtros {
  text-align: center;
  margin-bottom: 3rem;
}

.filtros button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  margin: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.filtros button:hover {
  background: rgba(0, 216, 255, 0.3);
  transform: translateY(-2px);
}

.filtros button.ativo {
  background: linear-gradient(135deg, #00d8ff, #0d47a1);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 216, 255, 0.4);
}

/* ===== Grid de serviços ===== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1300px;
  margin: auto;
}

/* ===== Card de serviço ===== */
.service {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.4s ease;
  transform: perspective(1000px) translateZ(0);
  backdrop-filter: blur(8px);
}

.service:hover {
  transform: perspective(1000px) translateY(-10px) rotateX(3deg) rotateY(-2deg);
  box-shadow: 0 12px 35px rgba(0, 216, 255, 0.35);
}

/* ===== Imagem ===== */
.service img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* ===== Conteúdo ===== */
.service-content {
  padding: 1.2rem;
  text-align: center;
}

.service-content h3 {
  color: #00d8ff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.service-content p {
  color: #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Botão Orçamento ===== */
.botao-orcamento {
  display: block;
  margin: 1rem auto 1.5rem;
  width: 80%;
  text-align: center;
  background: linear-gradient(135deg, #00d8ff, #0d47a1);
  color: #fff;
  padding: 0.9rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 216, 255, 0.2);
}

.botao-orcamento:hover {
  background: linear-gradient(135deg, #42a5f5, #00d8ff);
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 216, 255, 0.5);
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
  .filtros button {
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
  }

  .service-content h3 {
    font-size: 1.1rem;
  }

  .service-content p {
    font-size: 0.9rem;
  }
}

  .diferenciais {
    background-color: #f5faff;
    padding: 80px 20px;
    text-align: center;
  }
  
  .section-title {
    font-size: 32px;
    color: #0d47a1;
    margin-bottom: 10px;
  }
  
  .subtitulo-diferenciais {
    font-size: 16px;
    color: #444;
    margin-bottom: 40px;
  }
  
  .cards-diferenciais {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .card-diferencial {
    background-color: white;
    border-radius: 16px;
    padding: 30px 20px;
    width: 250px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .card-diferencial:hover {
    transform: translateY(-5px);
  }
  
  .card-diferencial img {
    width: 50px;
    margin-bottom: 15px;
  }
  
  .card-diferencial h3 {
    font-size: 20px;
    color: #0d47a1;
    margin-bottom: 10px;
  }
  
  .card-diferencial p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
  }
  
  /* Responsivo */
  @media (max-width: 768px) {
    .cards-diferenciais {
      flex-direction: column;
      align-items: center;
    }
  }
  
  .agendar-consultoria {
    background: linear-gradient(135deg, #1e1e2f, #0d47a1);
    padding: 100px 20px;
    color: white;
    text-align: center;
  }
  
  .consultoria-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
  }
  
  .titulo-consultoria {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
  }
  
  .consultoria-box p {
    font-size: 17px;
    line-height: 1.7;
    color: #e3f2fd;
    margin-bottom: 30px;
  }
  
  .btn-consultoria {
    background-color: #ffffff;
    color: #0d47a1;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .btn-consultoria:hover {
    background-color: #e3f2fd;
    transform: scale(1.05);
  }
  
  /* Responsivo */
  @media (max-width: 600px) {
    .titulo-consultoria {
      font-size: 24px;
    }
    .consultoria-box p {
      font-size: 16px;
    }
  }
  

  .faq {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
  }
  
  .section-title {
    font-size: 32px;
    color: #0d47a1;
    margin-bottom: 10px;
  }
  
  .subtitulo-faq {
    font-size: 16px;
    color: #444;
    margin-bottom: 40px;
  }
  
  .faq-lista {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
  }
  
  .faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
  }
  
  .faq-pergunta {
    background: none;
    border: none;
    color: #0d47a1;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
  }
  
  .faq-resposta {
    display: none;
    padding: 0 0 15px;
    font-size: 16px;
    color: #333;
  }
  
  /* Mostrar resposta quando ativo */
  .faq-item.ativo .faq-resposta {
    display: block;
  }
  
  /* Responsivo */
  @media (max-width: 600px) {
    .faq-pergunta {
      font-size: 16px;
    }
    .faq-resposta {
      font-size: 15px;
    }
  }
  

  .cta-final {
    background: linear-gradient(135deg, #1e1e2f, #0d47a1);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  
  .cta-final::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
  }
  
  .cta-final .container {
    position: relative;
    z-index: 2;
  }
  
  .cta-titulo {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  
  .cta-subtitulo {
    font-size: 18px;
    margin-bottom: 30px;
    color: #e3f2fd;
  }
  
  .btn-cta {
    background-color: #ffffff;
    color: #0d47a1;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  
  .btn-cta:hover {
    background-color: #e3f2fd;
    transform: scale(1.05);
  }
  
  /* Mobile */
  @media (max-width: 600px) {
    .cta-titulo {
      font-size: 26px;
    }
    .cta-subtitulo {
      font-size: 16px;
    }
  }
  
  

  .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.service.hidden {
  display: none;
}

.services-btn {
  text-align: center;
  margin-top: 20px;
}

.services-btn button {
  padding: 12px 25px;
  font-size: 16px;
  background: #007bff;
  border: none;
  color: white;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.services-btn button:hover {
  background: #0056b3;
  transform: scale(1.05);
}

.services-btn button {
  position: relative;
  overflow: hidden;
}

.services-btn button::after {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.2);
  transition: width 0.4s ease;
}

.services-btn button:hover::after {
  width: 100%;
}
.service {
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service.hidden {
  opacity: 0;
  transform: scale(0.95);
  display: none;
}

header {
  animation: slideDown 1s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
