/* Squadra Brasil — footer */

.footer__rings,
.footer__purple-dots {
  position: absolute;
  z-index: 3;
  max-width: none;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.site-footer {
  position: relative;
  z-index: 2;
  min-height: 0;
  height: auto;
  overflow: visible;
  color: #eee;
  background: #202020;
}

.footer__inner {
  position: relative;
  z-index: 3;
  width: min(1020px, calc(100% - 48px));
  margin-inline: auto;
  padding: 148px 0 112px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer__inner > nav { display: grid; gap: 16px; font-size: 16px; }
.footer__brand { text-align: center; }
.footer__brand p { margin: 0; }
.footer__social { font-size: 17px; text-align: center; }
.footer__social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.footer__social-links a {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #fff;
  transition: color .2s ease, transform .2s ease;
}

.footer__social-links a:hover,
.footer__social-links a:focus-visible {
  color: var(--cyan);
  transform: translateY(-2px);
}

.footer__social-links svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__social-links .footer__social-dot,
.footer__social-links .footer__social-play {
  fill: currentColor;
  stroke: none;
}

.footer__partners {
  min-height: 49px;
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer__partners img { display: block; width: auto; max-width: none; }
.footer__partners img:first-child { height: 49px; }
.footer__partners img:last-child { height: 24px; }
.footer__address { grid-column: 1 / -1; margin: 30px 0; text-align: center; }

.footer__brand img {
  position: relative;
  left: -3.5px;
  width: 308px;
  filter: none;
  margin: 0 auto;
}

.footer__rings {
  top: -22px;
  left: calc(50% + 359.5px);
  width: 154px;
  z-index: 5;
}

.footer__purple-dots {
  left: calc(50% + 453.5px);
  right: auto;
  bottom: 202px;
  width: 231px;
}

.footer__review-wrap {
  position: relative;
  grid-column: 1 / -1;
  justify-self: center;
  left: -5px;
  width: 425px;
  height: 73px;
  margin-top: 36px;
  text-align: center;
}

.footer__review {
  position: relative;
  z-index: 2;
  width: 425px;
  min-width: 425px;
  height: 73px;
  padding: 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--pink);
  border-radius: 5px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer__google-mark,
.footer__google-target {
  position: absolute;
  z-index: 3;
  display: block;
  pointer-events: none;
}

.footer__google-mark { left: -55px; top: 72px; width: 57px; animation: google-mark-float 5s ease-in-out infinite; }
.footer__google-target { left: -32px; top: 45px; width: 57px; animation: google-target-spin 12s linear infinite; }
.footer__google-mark img,
.footer__google-target img { width: 100%; }

@media (max-width: 900px) {
  .site-footer { height: auto; min-height: 0; }
  .footer__inner { padding: 64px 0 84px; grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer__inner > nav { justify-items: center; }
  .footer__partners { margin-top: 18px; }
  .footer__address {
    grid-column: auto;
    justify-self: center;
    width: min(100%, 320px);
    margin: 8px 0;
    line-height: 1.5;
  }
  .footer__rings { top: -24px; left: auto; right: -32px; width: 130px; }
  .footer__purple-dots { right: -32px; left: auto; bottom: 55px; width: 190px; }
  .footer__brand img { width: min(260px, 82vw); }
  .footer__review-wrap { grid-column: auto; width: min(360px, 100%); margin-top: 10px; }
  .footer__review {
    width: 100%;
    min-width: 0;
    padding-inline: 20px;
    font-size: 14px;
  }
}
