:root {
  --bm-purple: #2F138A;
  --bm-green: #005047;
  --bm-gold: #D29600;
  --bm-white: #ffffff;
  --bm-line-light: rgba(255, 255, 255, .14);
  --bm-max: 1280px;
  --bm-ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.bm-container {
  width: min(var(--bm-max), calc(100% - 48px));
  margin: 0 auto;
}

.bm-footer {
  color: var(--bm-white);
  background-color: #2b087c;
  background-image: url("../assets/svg/pattern-rodape.svg");
  background-size: 260px 704px;
  border-top: 8px solid var(--bm-gold);
}

.bm-footer__main {
  padding: 72px 0 42px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
}

.bm-footer__logo {
  width: 140px;
  height: auto;
  margin-bottom: 24px;
}

.bm-footer__about p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
}

.bm-footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.bm-footer__socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .75);
  transition: background .22s var(--bm-ease), border-color .22s var(--bm-ease), color .22s var(--bm-ease);
}

.bm-footer__socials a:hover,
.bm-footer__socials a:focus-visible {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .24);
  color: var(--bm-white);
}

.bm-footer__socials img {
  width: 20px;
  height: 20px;
}

.bm-footer h4 {
  margin: 0 0 20px;
  color: var(--bm-white);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: .02em;
  font-weight: 600;
}

.bm-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.bm-footer li a {
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 300;
  transition: color .22s var(--bm-ease);
}

.bm-footer li a:hover,
.bm-footer li a:focus-visible {
  color: var(--bm-white);
}

.bm-footer__bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, .52);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 300;
}

@media (max-width: 1080px) {
  .bm-footer__main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .bm-container {
    width: min(100% - 32px, var(--bm-max));
  }

  .bm-footer__main {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .bm-footer__bottom {
    flex-direction: column;
  }
}
