* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

a,
p,
span,
h1,
h2,
h3 {
  font-family: "Poppins", sans-serif;
  font-style: normal;
}

#banner {
  width: 100%;
  height: 150px;
  background-image: url("../img/banner-pecas.avif");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-left: 100px;
  color: white;
  font-size: 30px;
}

main {
  width: 100%;
  background-color: #dedede;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#content {
  width: 80%;
  background-color: white;
}

#sobre {
  margin: 50px;
  border-top: 5px solid #008871;
  /* display: flex; */
  align-items: center;
}

#sobre h1 {
  text-align: center;
  margin-top: 25px;
}

#item{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 25px;
  margin-bottom: 25px;
}

#equipamento{
  margin-top: -25px;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#item_desc{
  display: flex;
  width: 50%;
  flex-direction: column;
  align-items: start;
  text-align: left;
}

#item_desc .serie{
  letter-spacing: 5px;
}

.title{
  font-size: 32px;
  font-weight: bolder;
  color: #008871;
}

.subtitle{
  font-size: 24px;
  font-weight: bold;
}

li{
  font-size: 18px;
  line-height: 26px;
}

#img_extrusora{
  display: flex;
  align-self: center;
  justify-self: center;
}

#dimensoes{
  margin: 0px 50px;
}

#dimensoes #title{
  display: flex;
  align-items: end;
  justify-content: space-between;
}

#dimensoes #title a{
  color: #008871;
}

#item2{
  margin: 50px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#item2 #item_desc{
  align-self: flex-end;
}

.wpp-contato{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
  border-radius: 100px;
  background-color: #008871;
}

#text {
  max-width: 50%;
  width: 50%;
  text-align: right;
}

#imagens {
  text-align: center;
}

#pecas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.peca {
  transition: 0.3s ease;
}

.peca img {
  width: 275px;
}

.peca:hover {
  background-color: #dedede;
  z-index: 999999;
}

#catalogo {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 100px;
}

#catalogo h1 {
  font-size: 2.5rem;
}

#catalogo a {
  font-size: 1.563rem;
  color: black;
}

@media (max-width: 992px) {
  #banner {
    height: 120px;
    padding-left: 40px;
    font-size: 1.5rem;
  }

  #content {
    width: 90%;
  }

  #sobre {
    flex-direction: column;
    text-align: center;
  }

  #sobre img {
    width: 80%;
  }

  #text {
    max-width: 100%;
    width: 100%;
    text-align: center;
  }

  #catalogo {
    padding: 50px 20px;
    gap: 30px;
  }

  #catalogo h1 {
    font-size: 2rem;
  }

  #catalogo a {
    font-size: 1.25rem;
  }
}

/* ===== MOBILE AJUSTES EXTRUSORAS ===== */
@media (max-width: 768px) {

  /* Container geral */
  #content {
    width: 95%;
  }

  #sobre {
    margin: 20px 10px;
  }

  /* ITEM PRINCIPAL */
  #item {
    flex-direction: column;
    text-align: center;
  }

  #item img {
    width: 100%;
  }

  #item_desc {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  /* Títulos menores */
  .title {
    font-size: 24px;
  }

  li {
    font-size: 16px;
    line-height: 22px;
  }

  /* Imagem grande */
  #img_extrusora {
    width: 100%;
  }

  /* Dimensões */
  #dimensoes {
    margin: 20px 10px;
  }

  #dimensoes #title {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* ITEM 2 */
  #item2 {
    margin: 20px 10px;
  }

  #item2 img {
    width: 100%;
  }

  #item2 #item_desc {
    align-self: center;
    text-align: center;
  }

  /* Botão WhatsApp menor */
  .wpp-contato {
    width: 60px;
    height: 60px;
  }

  .wpp-contato svg {
    width: 35px;
    height: 35px;
  }
}

/* Celulares */
@media (max-width: 576px) {
  #banner {
    height: 100px;
    padding-left: 20px;
    font-size: 1rem;
    text-align: center;
    justify-content: center;
  }

  #sobre {
    margin: 30px 15px;
    gap: 20px;
  }

  #sobre img {
    width: 100%;
  }

  #text {
    font-size: 0.9rem;
  }

  #pecas {
    gap: 15px;
  }

  .peca img {
    width: 100%;
    max-width: 200px;
  }

  #catalogo {
    padding: 30px 15px;
  }

  #catalogo h1 {
    font-size: 1.5rem;
  }

  #catalogo a {
    font-size: 1rem;
  }
}
