.banner-home {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0px auto;
}

.banners {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto; /* zera espaçamento para não afetar outros */
}


.banners img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* opcional, apenas se quiser cantos arredondados */
}

.text-banners {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 20px;
  max-width: 900px; /* Aumenta a largura do texto */
  width: 90%;
  overflow: hidden;
}

/* Resto do seu CSS permanece igual */

.text-banners span {
  font-size: 1.5rem;
  font-weight: 600;
}

.text-banners h2 {
  font-size: 3rem;
  margin: 15px 0 10px;
}

.text-banners p {
  word-break: break-word; /* <--- agora funciona em qualquer resolução */
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limita a 3 linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.text-banners a {
  margin-top: 20px;
  background: #cc0000;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.banner-home-mobile {
  display: none;
}

.banner-home.banner4 {
  margin-bottom: 0;
}

.banner5 {
  margin-top: 0;
}

  .banner3 {
  background-color: #ffffff;
  width: 100%;
  max-width: 1920px;
  min-height: 906px; /* mantém altura mínima, mas permite crescer */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  box-sizing: border-box;
}


.banner3-textos {
  text-align: center;
  margin-bottom: 60px;
}

.banner3-textos .top-text,
.banner3-textos .bottom-text {
  word-break: break-word;
  font-size: 1.5rem;
  margin: 20px 0;
  color: #333;
  font-weight: bold; /* <== Deixa em negrito */

  /* Limitar a 2 linhas */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


.banner3-textos .middle-text {
  font-size: 3rem;
  color: #da6d52;
  font-weight: bold;
  margin: 40px 0;

  /* Limita o texto a 2 linhas */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  max-width: 40ch; /* Limita a largura por caracteres */
  margin-left: auto;
  margin-right: auto;
}


.banner3-barra {
  background-color: #da6d52;
  width: 100%;
  max-width: 1121px;
  height: 157px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  box-sizing: border-box;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.banner3-barra:hover {
  background-color: #cc593e;
}


/* Banner 5 estrutura geral */
.banner5 {
  width: 100%;
  margin: 0px auto;
  position: relative;
  display: block;
}

.banner5 img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

/* Botão estilo banner 3 */
.banner5-barra {
  background-color: #da6d52;
  width: 100%;
  max-width: 1121px;
  height: 157px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  box-sizing: border-box;
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.banner5-barra:hover {
  background-color: #cc593e;
}

.banner6 {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  margin-bottom: 10px;
  text-align: center;
  padding: 30px 20px;
}

.banner6 h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
}

.banner6-barra {
  background-color: #da6d52;
  width: 100%;
  max-width: 1121px;
  height: 157px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  box-sizing: border-box;
  margin: 20px auto;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.banner6-barra:hover {
  background-color: #cc593e;
}

/* Estrutura geral */
.banner7 {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 0;
  padding-bottom: 0;
  position: relative;
  display: block;
}

.banner7 .banners {
  position: relative; /* necessário para o posicionamento absoluto funcionar */
}

.banner7 img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

/* Texto sobreposto no topo do banner */
.text-banners7 {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #000000;
  width: 90%;
  max-width: 900px;
}

.text-banners7 h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

/* Botão estilo barra laranja */
.banner7-barra {
  background-color: #ffffff;
  width: 100%;
  max-width: 1121px;
  height: 157px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  box-sizing: border-box;
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(0, 0, 0);
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.banner7-barra:hover {
  background-color: #cc593e;
}

/* Parte da imagem */
.banner8-img {
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: block;
}

.banner8-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

/* Texto sobreposto na imagem */
.text-banners8 {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #000;
  width: 90%;
  max-width: 900px;
}

.text-banners8 h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #000;
  margin: 0;
}

/* Parte branca abaixo da imagem */
.banner8 {
  width: 100%;
  background-color: #ffffff;
  margin: 0 auto;
  padding: 20px;              /* Padding geral */
  padding-top: 0;             /* Remove espaço em cima */
  box-sizing: border-box;
  text-align: center;
}


.banner8-textos {
  max-width: 1200px;
  margin: 0 auto;
}

.banner8-textos .text1,
.banner8-textos .text2 {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin: 20px 0;
  line-height: 1.4;
}

.banner8-barra {
  background-color: #da6d52;
  width: 100%;
  max-width: 1121px;
  height: 157px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  margin: 40px auto 0;
  box-sizing: border-box;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.banner8-barra:hover {
  background-color: #cc593e;
}

/* Corrige largura, alinhamento e placeholder do form */
.form-whatsapp {
  max-width: 1200px;
  margin: 5px auto 40px auto;
  padding: 40px 20px;
  background-color: #f1f1f1;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Estilos gerais para todos os campos do formulário */
.form-whatsapp input[type="text"],
.form-whatsapp input[type="tel"],
.form-whatsapp input[type="email"],
.form-whatsapp input[type="number"],
.form-whatsapp input[type="submit"],
.form-whatsapp select,
.form-whatsapp textarea {
    width: 100%;
    max-width: 100%;
    height: 50px; 
    padding: 15px; 
    margin-bottom: 10px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    color: #000;
    background-color: #fff;
}

.form-whatsapp select:focus {
  outline: none;
  border-color: #da6d52;
  box-shadow: 0 0 0 2px rgba(218, 109, 82, 0.2);
}




.form-whatsapp input::placeholder {
  color: #000;
  opacity: 1;
}

.form-whatsapp input:focus {
  outline: none;
  border-color: #da6d52;
  box-shadow: 0 0 0 2px rgba(218, 109, 82, 0.2);
}

.form-whatsapp input[type="submit"],
.form-whatsapp button {
  background-color: #da6d52;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 15px;
  border: none;
  border-radius: 6px;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-whatsapp input[type="submit"]:hover,
.form-whatsapp button:hover {
  background-color: #cc593e;
}



body.page-id-27633 header.top-bar.header {
  display: none !important;
}



@media (max-width: 768px) {

  * {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.banner-home-mobile,
.banner-home-mobile .banners,
.banner3,
.banner6,
.banner7,
.banner8 {
  max-width: 100%;
  overflow-x: hidden;
}

.text-banners,
.text-banners7,
.banner7-barra,
.text-banners8,
.banner8-barra {
  max-width: 100%;
}

  .banner-home-desktop {
    display: none;
  }

  /* Força o banner 4 desktop a aparecer no mobile */
  .banner-home.banner4.banner-home-desktop {
    display: block;
  }

  .banner-home.banner4.banner-home-desktop img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .banner-home-mobile {
    display: block;
    width: 100%;
  }

  .banner-home-mobile .banners {
    width: 100%;
    position: relative;
    display: block;
  }

  .banner-home-mobile .banners img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .text-banners {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5px;
    text-align: center;
    width: 90%;
    box-sizing: border-box;
  }

  .text-banners h2 {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #ffffff;
    word-break: break-word;
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    text-overflow: initial !important;
    white-space: normal !important;
    box-sizing: border-box;
  }

  .text-banners p {
    font-size: 0.65rem;
    line-height: 1.4;
    color: #ffffff;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    max-height: calc(1rem * 3);
  }

  .banner3 {
    min-height: unset;
    padding: 15px 10px;
    box-sizing: border-box;
  }

  .banner3-textos .top-text,
  .banner3-textos .bottom-text {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 30px;
    display: block !important;
    overflow: visible !important;
    white-space: normal !important;
    box-sizing: border-box;
  }

  .banner3-textos .middle-text {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    color: #da6d52;
    font-weight: bold;
    margin: 20px 0;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    text-overflow: initial !important;
    white-space: normal !important;
  }

  .banner3-barra {
  background-color: #da6d52;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 90%;
  height: auto;
  font-size: 1.2rem;
  padding: 15px 10px;
  position: relative;
  bottom: 20px;
  text-align: center;
  transition: background 0.3s ease;
}

.banner3-barra:hover {
  background-color: #cc593e;
}


  .banner5-barra {
    width: 90%;
    height: auto;
    font-size: 1.2rem;
    padding: 15px 10px;
    bottom: 20px; /* sobe um pouco a barra no mobile */
    text-align: center;
  }

  .banner6-barra {
    width: 90%;
    height: auto;
    font-size: 1.2rem;
    padding: 15px 10px;
    text-align: center;
  }

  .banner6 {
  width: 100%;
  height: auto;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  padding: 30px 20px;
}

  .banner6 h2 {
  width: 90%;
  margin: 0 auto 30px auto; /* centraliza horizontalmente */
  text-align: center;  
  height: auto;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

 .banner7 {
    position: relative;
  }

  .text-banners7 {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    padding: 0;
    z-index: 2;
  }

  .text-banners7 h2 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0;
    color: #ffffff;
  }

  .banner7-barra {
    width: 90%;
    height: auto;
    font-size: 1.2rem;
    padding: 15px 10px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    position: absolute;
    z-index: 2;
  }

  .text-banners8 {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 0;
  z-index: 2;
}

.text-banners8 h2 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
  margin: 0;
}

 .banner8-barra {
    height: auto; /* permite que a altura se ajuste ao conteúdo */
    font-size: 1.2rem;
    padding: 15px 10px;
    margin-top: 20px;
    width: 90%;
  }
  
  .banner8-textos .text1,
.banner8-textos .text2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin: 20px 0;
  line-height: 1.4;
}
  
}