.bg-main-acabamentos {
  padding-bottom: 8rem;
  overflow-x: hidden;
}

.bg-main-acabamentos .container {
  padding-top: 8rem;
  position: relative;
}

.bg-main-acabamentos .container::after {
  content: "";
  display: block;
  width: 106rem;
  height: 115.5rem;
  background: url("../../img/linhas-quemsomos-comp.svg");
  background-size: cover;
  position: absolute;
  top: -21.1rem;
  right: -99.7rem;
}

.bg-main-acabamentos .container > .img img {
  margin: 0 auto;
  min-height: 13rem;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.bg-main-acabamentos h1 {
  text-align: center;
  margin-bottom: 6rem;
}

.bg-main-acabamentos .tex {
  margin-top: 4rem;
  margin-bottom: 6rem;
}

.bg-main-acabamentos .acabamentos {
  position: relative;
  z-index: 2;
}

.question input,
.question .answer {
  display: none;
}

.question input:checked ~ .answer {
  display: block;
  /* animation: slideDown 0.8s forwards; */
}

.question label {
  display: flex;
  gap: 2.7rem;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid var(--cinza);
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.question label::after {
  content: "";
  display: block;
  width: 100%;
  height: 2.4rem;
  background: url("../../img/seta-acabamentos.webp");
  transform: rotate(-90deg);
  transition: 0.5s;
  max-width: 2.4rem;
}

.question input:checked ~ label::after {
  transform: rotate(0deg);
  transition: 0.5s;
}

.question .answer {
  max-width: 100.8rem;
  margin: 3rem auto 3rem auto;
}

.question .answer a {
  font-weight: bold;
}

.question .answer a:hover {
  opacity: 0.7;
}

.question {
  border-bottom: 1px solid var(--cor-7);
}

.question:last-child {
  border-bottom: none;
}

.question .answer h3 {
  margin-bottom: 3rem;
}

.question .answer .tex-acab {
  margin-bottom: 4rem;
}

.question .answer ul li {
  list-style-type: disc;
  margin-left: 3rem;
}

.question .galeria-acab {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3.9rem;
}

.question .galeria-acab .def {
  margin-top: 1rem;
}

.question .galeria-acab img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  aspect-ratio: 1/1;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }

  to {
    opacity: 1;
    max-height: 1000rem;
  }
}

@media (max-width: 1400px) {
  .bg-main-acabamentos .container::after {
    top: -42.5rem;
    right: -73rem;
  }
}

@media (max-width: 991px) {
  .bg-main-acabamentos .container::after {
    width: 38.3rem;
    height: 43.6rem;
    top: -10rem;
    right: -24rem;
    background-size: cover;
  }

  .question label {
    gap: 1.5rem;
  }

  .question .galeria-acab {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .question .galeria-acab {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .bg-main-acabamentos .container::after {
    width: 27.3rem;
    height: 26.6rem;
    top: -10rem;
    right: -17rem;
  }

  .bg-main-acabamentos {
    padding-bottom: 4rem;
  }

  .bg-main-acabamentos .container {
    padding-top: 4rem;
  }

  .bg-main-acabamentos h1 {
    margin-bottom: 4rem;
  }

  .bg-main-acabamentos .tex {
    margin-bottom: 4rem;
  }
}

@media (max-width: 350px) {
  .question .galeria-acab {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}
