/* Footer: the store's legal data and the studio's signature. Owner, 17/11/2026, after the run-on line ("um bloco de
   texto"), "bem pequeno mesmo", "menor, bem menor" and "tá muito grande esse último rodapé", his own layout:
   1. The store's data goes up to the light panel, under the newsletter consent line, in two columns of two lines: name
      and CNPJ on the left, address on the right. The address has no apartment number on purpose (residential building).
      Very small, the size he settled on (7px).
   2. The dark band at the bottom carries only the studio's signature, a little larger and centred.
   Loads after mainstream-surface.css and mainstream-footer-spacing-20261015.css. */

/* 1. Store data, light panel. */
.mainstream-theme .ms-footer-news .ms-footer-company {
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: start;
  gap: 0 24px;
  margin-top: 14px;
}

.mainstream-theme .ms-footer-news .ms-footer-company p {
  margin: 0;
  color: #667260;
  font-family: 'DM Sans', sans-serif;
  font-size: 7px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
  font-variant-numeric: lining-nums;
}

.mainstream-theme .ms-footer-company span {
  display: block;
}

/* Only when the newsletter is switched off: the same data, centred in the dark band above the signature. */
.mainstream-theme .ms-footer-base .ms-footer-company {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 24px;
  padding-top: 12px;
  text-align: center;
}

.mainstream-theme .ms-footer-base .ms-footer-company p {
  margin: 0;
  color: rgba(220, 227, 216, .74);
  font-size: 7px;
  line-height: 1.6;
  letter-spacing: .02em;
}

/* 2. Signature, dark band. */
.mainstream-theme .ms-footer-base .ms-footer-legal--sign {
  display: flex;
  justify-content: center;
  padding: 12px 0 8px;
  border: 0;
  text-align: center;
}

.mainstream-theme .ms-footer-base .ms-footer-legal--sign .ms-footer-credit {
  max-width: none;
  color: rgba(220, 227, 216, .8);
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .02em;
}

.mainstream-theme .ms-footer-base .ms-footer-legal--sign .ms-footer-credit strong {
  color: #fffef9;
  font-weight: 600;
}

@media (max-width: 600px) {
  .mainstream-theme .ms-footer-base {
    padding-bottom: 10px;
  }

  .mainstream-theme .ms-footer-news .ms-footer-company {
    gap: 0 18px;
    margin-top: 12px;
  }

  /* One line, clear of the floating WhatsApp button at the bottom right. */
  .mainstream-theme .ms-footer-base .ms-footer-legal--sign {
    padding: 10px 0 6px;
  }

  .mainstream-theme .ms-footer-base .ms-footer-legal--sign .ms-footer-credit {
    font-size: 9px;
  }
}

/* Narrow phones (360 and 375px wide): half a pixel less keeps both columns of data on one line each. */
@media (max-width: 380px) {
  .mainstream-theme .ms-footer-news .ms-footer-company p {
    font-size: 6.5px;
  }

  .mainstream-theme .ms-footer-news .ms-footer-company {
    gap: 0 14px;
  }
}
