.faq {
  background-image: url(../images/bg-valores-mobile_02.jpg);
  background-size: cover;
  padding-top: 14vw;
}

/* =========================
   TÍTULOS
========================= */

.faq .title {
  text-align: center;
  font-size: 7.2vw;
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 2vw;
}

.faq .subtitle {
  text-align: center;
  font-weight: 600;
  color: #363636;
}

/* =========================
   BOX FAQ
========================= */

.faq-box {
  position: relative;
  font-size: 4.6vw;
  border-radius: 6vw 3vw 7vw;
  background: #fff;
  width: 90vw;
  margin: 0 auto;
  padding: 10.5vw 7vw 13vw;
  box-shadow:
    inset 0px 4px 3px rgba(226, 226, 226, .29),
    0px 6px 51px rgba(0, 0, 0, 0.05);
}

/* =========================
   ACCORDION
========================= */

.accordion {
  overflow: hidden;
  margin-top: 6vw;
}

.tab {
  position: relative;
  border-bottom: 1px solid #b3b2b3;
  transition: border-color 0.3s ease;
}

.tab:last-of-type {
  border-bottom: none;
}

.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

/* =========================
   LABEL
========================= */

.tab__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 33px 1rem 0;
  font-weight: 600;
  position: relative;
  color: #51174b;
}

/* SETA */

.tab__label::after {
  content: "\276F";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 3vw;
  height: 1.5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab input:checked + .tab__label::after {
  transform: rotate(270deg);
}

/* =========================
   CONTEÚDO (ANIMAÇÃO SUAVE)
========================= */

.tab__content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-0.5vw);
  transition:
    max-height 0.45s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.tab input:checked ~ .tab__content {
  max-height: 200vh;
  opacity: 1;
  transform: translateY(0);
}

.tab__content p {
  margin: 0;
  padding: 0 0 1rem;
  font-size: 4.5vw;
  color: #363636;
  transition: padding 0.3s ease;
}

/* =========================
   FEEDBACK HOVER (DESKTOP)
========================= */

@media (hover: hover) {
  .tab__label:hover {
    opacity: 0.85;
  }
}

/* =========================
   DESKTOP
========================= */

@media screen and (min-width: 1025px) {
  .faq {
    background-image: url(../images/price-bg.jpg);
    padding-top: 5.5vw;
    background-size: auto;
    background-repeat: repeat;
  }

  .faq-box {
    font-size: 1.25vw;
    max-width: 55.5vw;
    border-radius: 1.5vw 4vw 2vw 4vw;
    padding: 2.6vw 4.5vw 3.2vw;
    box-shadow:
      inset 0px 4px 3px rgba(226, 226, 226, .29),
      0px 0vw 3vw rgba(146, 146, 146, 0.27);
  }

  .faq .title {
    font-size: 2.28vw;
    margin-bottom: 0.4vw;
  }

  .accordion {
    margin-top: 3vw;
  }

  .tab__content p {
    font-size: 1.25vw;
    padding-top: 0.2vw;
  }
}
