body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
}

.banner-servicos {
  position: relative;
  background: url('../imag/banner3.webp') no-repeat top 30% center / cover;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 2rem;
  margin-bottom: 20px;

}
.banner-servicos::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(48, 1, 1, 0.65); /* Escurece a imagem */
  z-index: 1;
}
.banner-servicos .conteudo {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 800px;
  padding: 1rem;
}
.banner-servicos h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-top: 80px!important;
  align-items: center;
  gap: 0.5rem;
}

/* Responsivo */
@media (max-width: 768px) {
  .banner-servicos {
    text-align: center;
  }
  .banner-servicos h1 {
    justify-content: center;
    margin-top: 20px!important;
  }
}
/* Container geral */
.servicos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px;
  background-color: #f5f5f5;
  justify-content: center;
}

/* Grid dos cards */
.servicos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex: 1 1 60%;
  max-width: 800px;
}

/* Card */
.card-servico {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  transition: transform 0.3s ease;
}

.card-servico:hover {
  transform: translateY(-5px);
}

.imagem-servico {
  position: relative;
}

.imagem-servico img {
  width: 100%;
  height: auto;
  display: block;
}

.tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #8B0000;
  color: white;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: bold;
}

.conteudo-servico {
  padding: 20px;
}

.conteudo-servico h3 {
  margin-bottom: 10px;
  color: #0a0a0a;
}

.conteudo-servico p {
  color: #333;
  font-size: 0.95rem;
}

/* Sidebar */
.sidebar-servico {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  flex: 1 1 250px;
  max-width: 300px;
  height: fit-content;
}

.barra-pesquisa {
  display: flex;
  margin-bottom: 20px;
}

.barra-pesquisa input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.barra-pesquisa button {
  background: #002c6e;
  color: white;
  padding: 10px 16px;
  border: none;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  cursor: pointer;
}

.detalhes-servico {
  border: 1px solid #03adc4;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.detalhes-servico p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #333;
}
.lista-arquivos {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.lista-arquivos li {
  margin-bottom: 8px;
}

.lista-arquivos a {
  color: #ffb74d;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.lista-arquivos a:hover {
  color: #ffffff;
}

.lista-arquivos i {
  margin-right: 8px;
  color: #ff6f61;
  font-size: 16px;
}

.categorias-servico h4 {
  margin-bottom: 10px;
  color: #03adc4;
}

.categorias-servico ul {
  list-style: none;
  padding: 0;
}

.categorias-servico li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #333;
}

.dot {
  height: 6px;
  width: 6px;
  background-color: #ffa500;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

/* Responsivo */
@media (max-width: 992px) {
  .servicos-container {
    flex-direction: column;
    align-items: center;
    padding-left:0%
  }

  .servicos-grid {
    justify-content: center;
  }

  .sidebar-servico {
    max-width: 100%;
    width: 100%;
  }
}
