body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
}
.top-banner {
  position: relative;
  width: 100%;
  height: 350px;
  background: url('../imag/designers-industriais-trabalhando-no-modelo-3d.webp') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
}

/* Camada de sobreposição */
.banner-overlay {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(150, 84, 30, 0.95), rgba(0, 28, 77, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

/* Texto do banner */
.banner-content {
  max-width: 900px;
}

.banner-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.banner-subtitle {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
}

/* Responsivo */
@media (max-width: 768px) {
  .top-banner {
    margin-top: 70px;
      height: 250px;
  }
  .banner-title {
      font-size: 1.8rem;
  }
  .banner-subtitle {
      font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .top-banner {
      height: 200px;
  }
  .banner-title {
      font-size: 1.5rem;
  }
  .banner-subtitle {
      font-size: 0.9rem;
  }
}

.servicos {
  padding: 50px 20px;
  position: relative;
}

.servicos-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.servicos-texto {
  flex: 1 1 400px;
}

.servicos-texto .subtitulo {
  color: #f7b724;
  font-weight: bold;
  margin-bottom: 10px;
}

.servicos-texto h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 20px;
}

.servicos-texto ul {
  list-style: none;
  padding: 0;
}

.servicos-texto ul li {
  margin-bottom: 15px;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.servicos-texto ul li::before {
  content: "•";
  color: #000;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.servicos-imagem {
  flex: 1 1 350px;
  position: relative;
  height: 320px;
}

/* Fundo diagonal para a esquerda */
.servicos-imagem .fundo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #023d7c;
  transform: skew(-20deg);
  z-index: 1;
}

/* Imagem inclinada para a direita */
.servicos-imagem .imagem {
  position: absolute;
  top: -15px; /* sobe a imagem */
  left: 15px; /* desloca para direita */
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: skew(20deg);
  z-index: 2;
}

/* Corrige distorção da foto */
.servicos-imagem .imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: skew(-20deg);
}

.contato {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: #f7b724;
  font-weight: bold;
  z-index: 3;
}

.contato i {
  font-size: 20px;
}

.contato p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}

.contato span {
  font-size: 1rem;
  color: #f7b724;
}

.secao-servicos {
  padding: 40px 20px;
  text-align: center;
}

.texto-topo h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.texto-topo p {
  font-size: 15px;
  color: #555;
  margin-bottom: 40px;
}

.container-servicos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  grid-template-columns: repeat(3, 1fr); /* 3 cards por linha no desktop */
  justify-content: center;
}

.card-servico {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 330px;
  transform: translateY(50px);
  opacity: 0;
  transition: all 1s ease;
  margin-bottom: 40px;
}

.card-servico img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.conteudo-servico {
  padding: 15px;
  text-align: center;
}

.conteudo-servico h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.conteudo-servico p {
  font-size: 14px;
  margin-bottom: 10px;
  color: #444;
  text-align: justify;
}

.botao-servico {
  display: inline-block;
  padding: 8px 16px;
  background: #f7b724;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.3s ease;
  text-align: center;
}

.botao-servico:hover {
  background: #cc4b00;
}

.card-servico.aparecer {
  transform: translateY(0);
  opacity: 1;
}

/* Responsividade */
@media (max-width: 768px) {
  .container-servicos {
    flex-direction: column;
    align-items: center;
  }
  .card-servico {
    max-width: 100%;
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .servicos-container {
      flex-direction: column;
  }

  .servicos-imagem {
      height: 250px;
      width: 100%;
  }

  .servicos-texto h2 {
      font-size: 1.5rem;
  }
}
/* ====== LAYOUT GERAL ====== */
.section-testemunhos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 50px 10%;
  gap: 40px;
}

.texto-area {
  flex: 1 1 350px;
}

.texto-area h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.texto-area p {
  max-width: 400px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.texto-area .linha {
  width: 40px;
  height: 3px;
  background: #fbbd08;
  margin-bottom: 20px;
}

/* ====== SLIDER / CARDS ====== */
.testemunhos-slider {
  display: flex;
  overflow: hidden;       /* mantém o slide no desktop */
  flex: 1 1 500px;
  position: relative;
}

.slide-container {
  display: flex;          /* linha no desktop */
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.testemunho-card {
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
  min-width: calc(50% - 10px); /* 2 por “página” no desktop */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testemunho-card p {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.autor {
  display: flex;
  align-items: center;
  gap: 10px;
}

.autor img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.autor-info {
  text-align: left;
}

.autor-info strong {
  color: #f7b724;
  font-size: 0.95rem;
}

.autor-info span {
  display: block;
  font-size: 0.85rem;
  color: #777;
}

/* ====== IMAGEM LATERAL ====== */
.imagem-area {
  flex: 1 1 300px;
  text-align: center;
}

.imagem-area img {
  max-width: 100%;
  height: 440px;
}

/* ====== MOBILE (≤768px): empilhar cards ====== */
@media (max-width: 768px) {
  .section-testemunhos {
    flex-direction: column;
    padding: 20px;
  }

  .testemunhos-slider {
    width: 100%;
    overflow: visible;           /* permite altura total */
  }

  .slide-container {
    flex-direction: column;      /* EMPILHA os cards */
    gap: 16px;
    transform: none !important;  /* cancela qualquer translate do slider */
  }

  .testemunho-card {
    min-width: 100%;             /* ocupa toda a largura */
    align-items: flex-start;
    text-align: left;
  }

  .autor {
    justify-content: flex-start;
  }

  .imagem-area {
    order: -1;                   /* imagem sobe no mobile (opcional) */
  }
}
