footer {
  background: var(--azul) url("/images/footer/pattern.svg") no-repeat
    center/cover;
  background-blend-mode: overlay;
  color: var(--branco);
  position: relative;
  padding: 75px 148px 51px 148px;
  height: 600px;
  align-content: center;
}

footer a {
  font-size: 18px;
  line-height: 30px;
}

footer .circle {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .circle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--branco);
  opacity: 0.2;
  z-index: 1;
}

footer .circle i {
  position: relative;
  z-index: 2;
  font-size: 20px;
  padding: 0;
  cursor: pointer;
}

footer .circle i:hover {
  color: var(--beije);
}

footer .back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  color: var(--beije);
  font-size: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  text-align: center;
  writing-mode: horizontal-tb;
  transform: rotate(180deg);
  padding: 10px 5px;
}

footer .back-to-top:hover {
  color: var(--branco);
}

footer .back-to-top span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.4px;
}

footer .back-to-top .circle i {
  font-size: 24px;
}

footer .back-to-top .circle i:hover {
  color: var(--branco);
}

@media (max-width: 767px) {
  footer {
    background: var(--azul) url("/images/footer/pattern-mobile.svg") no-repeat
      center/contain;
    padding: 50px 30px;
    height: auto;
  }

  footer .col-12 {
    text-align: center;
    margin-bottom: 15px;
  }

  footer .circle {
    width: 40px;
    height: 40px;
  }

  footer .circle i {
    font-size: 18px;
  }

  footer .circle i:hover {
    color: var(--beije);
  }

  footer .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    writing-mode: horizontal-tb;
    transform: rotate(180deg);
  }

  footer .back-to-top span {
    display: none;
  }

  footer .back-to-top .circle i {
    font-size: 30px;
  }

  footer .row.justify-content-between {
    display: block;
    text-align: center;
  }

  footer .row.justify-content-between img {
    max-width: 100%;
    margin-bottom: 20px;
  }
}
