.acm-footer {
  padding-top: clamp(36px, 4.5vw, 64px);
  border-top: 1px solid #315071;
  background:
    radial-gradient(ellipse at 6% 0, #1f3857, transparent 66%),
    #111e32;
  color: #c8d7eb;
  text-align: left;
  scroll-margin-top: 108px;
}

.acm-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .78fr) minmax(0, 1.1fr) minmax(0, .8fr);
  align-items: start;
  gap: clamp(28px, 3.75vw, 60px);
}

.acm-footer-grid--no-social {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .78fr) minmax(0, 1.1fr);
}

.acm-footer-logo {
  display: inline-grid;
  max-width: 100%;
  min-height: 92px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #d6e4f4;
  border-radius: 16px;
  background: #fff;
  color: #172d4b;
  font-size: 1.25rem;
}

.acm-footer-logo img {
  display: block;
  width: 168px;
  max-width: 100%;
  height: 95px;
  object-fit: contain;
}

.acm-footer-brand p {
  max-width: 36ch;
  margin: 16px 0 0;
  color: #c8d7eb;
  font-size: .9375rem;
  line-height: 1.65;
}

.acm-footer-group h2 {
  margin: 0 0 12px;
  color: #eff6ff;
  font-size: 1rem;
  line-height: 1.3;
}

.acm-footer-group ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acm-footer-group a {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 36px;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  color: #d3e1f4;
  font-size: .9375rem;
  line-height: 1.4;
  text-decoration: none;
}

.acm-footer-group a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.acm-footer-group a:focus-visible {
  outline: 2px solid #a9e7ea;
  outline-offset: 3px;
}

.acm-footer-links a::before {
  width: 5px;
  height: 5px;
  flex: none;
  border-top: 1.5px solid #a8c8ee;
  border-right: 1.5px solid #a8c8ee;
  transform: rotate(45deg);
  content: "";
}

.acm-footer-actions a {
  min-height: 44px;
}

.acm-footer-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border: 1px solid #486382;
  border-radius: 10px;
  background: #203650;
  color: #c5dfff;
}

.acm-footer-icon--chat {
  border-color: #3d6f6b;
  background: #1a3d42;
  color: #a8efce;
}

.acm-footer-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.acm-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: clamp(26px, 3.5vw, 48px);
  padding-block: 18px 22px;
  /* Reserva espaço para o atalho flutuante do WhatsApp. */
  padding-inline-end: max(0px, calc(226px - max(16px, 50% - 720px)));
  border-top: 1px solid #3b526d;
  color: #b8cbe2;
  font-size: .8125rem;
  line-height: 1.45;
}

.acm-footer-version {
  padding: 3px 8px;
  border: 1px solid #435c78;
  border-radius: 999px;
}

.acm-footer-credit {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 9px;
  margin-inline-start: auto;
  padding: 3px 8px 3px 12px;
  border: 1px solid #d6e4f4;
  border-radius: 10px;
  background: #fff;
  color: #193554;
  font-size: .75rem;
  font-weight: 650;
}

.acm-footer-credit img {
  display: block;
  width: 82px;
  height: 46px;
  object-fit: contain;
}

@media (max-width: 1079px) {
  .acm-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .acm-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-inline-end: 64px;
  }

  .acm-footer-credit {
    margin-inline-start: 0;
  }
}

@media (max-width: 599px) {
  .acm-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .acm-footer-links a {
    min-height: 44px;
  }
}

@media (min-width: 360px) and (max-width: 599px) {
  .acm-footer-group .acm-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
  }
}
