body {
  font-family: 'Poppins', sans-serif;
}
.banner-servicos {
  position: relative;
  background: url('../imag/servicos.webp') no-repeat top 30% center / cover;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 2rem;
  margin-bottom: 100px;
  margin-top: 1000px;
}
.banner-servicos::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(80, 6, 6, 0.65); /* Escurece a imagem */
  z-index: 1;
}
.banner-servicos .conteudo {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 1rem;
}
.banner-servicos h1 {
  font-size: 2.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.banner-servicos .barra {
  display: inline-block;
  width: 6px;
  height: 30px;
  background-color: #690a07; /* Vermelho destaque */
  border-radius: 2px;
}
.banner-servicos p {
  margin-top: 1rem;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #f0f0f0;
}
/* Responsivo */
@media (max-width: 768px) {
  .banner-servicos {
    text-align: center;
  }
  .banner-servicos h1 {
    justify-content: center;
  }
  .banner-servicos p {
    margin-top: 1rem;
    font-size: 1.3rem;
    line-height: 1.5;
    color: #f0f0f0;
  }
}
/* Layout principal */
.pagina-servicos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

/* Cards */
.container-servicos {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
/* Layout principal com grid de 2 colunas: cards + sidebar */
.servicos-wrapper {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
  padding: 2rem;
  align-items: flex-start;
  
}
.container-geral {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 80px;
}

.secao-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  flex: 3;
  gap: 20px;
}

.card-servico {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  padding: 15px;
  transition: transform 0.4s ease, opacity 0.6s ease;
  position: relative;
}

.card-servico img {
  width: 100%;
  height: 180px;
  object-fit: fill;
  border-radius: 12px 12px 0 0;
}

.card-servico h3 {
  font-size: 1.2em;
  margin: 10px 0 5px;
  color: #002147;
}

.card-servico p {
  font-size: 0.95em;
  color: #555;
}

.animar-entrada {
  animation: slideIn 1s ease forwards;
  opacity: 0;
}

@keyframes slideIn {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.overlay-botao {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 12px 12px 0 0;
}

.card-servico:hover .overlay-botao {
  opacity: 1;
}

.btn-orçamento-servico {
  padding: 10px 20px;
  background-color: #690a07;
  color: #faf7f7;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Barra Lateral */
.barra-lateral {
  flex: 1;
  min-width: 280px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.barra-pesquisa {
  display: flex;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 25px;
  overflow: hidden;
}

.barra-pesquisa input {
  flex: 1;
  border: none;
  padding: 10px;
  outline: none;
}

.barra-pesquisa button {
  background: #dfa80f;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

.categorias h3,
.outros-servicos h3 {
  color: #690a07;
  margin-bottom: 10px;
}

.categorias ul {
  list-style: none;
  margin-bottom: 30px;
}

.categorias li {
  font-size: 14px;
  margin-bottom: 5px;
}

.ponto-azul {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #009fe3;
  border-radius: 50%;
  margin-right: 8px;
}

.servico-item {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.servico-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.servico-item h4 {
  font-size: 14px;
  margin-bottom: 3px;
}

.servico-item small {
  font-size: 12px;
  color: #777;
}

.servico-item a {
  color: #002147;
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
}