/* =============================================================
   RODAPÉ GLOBAL MST ZERO
   Arquivo independente e completamente isolado por namespace.
   Nenhum seletor genérico de footer, p, a, nav ou .container é usado.
   ============================================================= */

.mstz-global-footer,
.mstz-global-footer * {
  box-sizing: border-box;
}

.mstz-global-footer {
  --mstz-footer-green: #00ff3c;
  --mstz-footer-green-dark: #009c3b;
  --mstz-footer-yellow: #ffdf00;
  --mstz-footer-white: #f4fff1;
  --mstz-footer-muted: rgba(244, 255, 241, .62);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0 0 26px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(244, 255, 241, .70);
  background:
    linear-gradient(180deg, rgba(1, 8, 3, .84), rgba(0, 3, 1, .99)),
    radial-gradient(circle at 15% 10%, rgba(0, 255, 60, .10), transparent 32%);
  font-family: Inter, Barlow, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.mstz-global-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .14;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%);
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.mstz-global-footer__glow {
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: .12;
}

.mstz-global-footer__glow--left {
  top: -150px;
  left: -180px;
  background: var(--mstz-footer-green);
}

.mstz-global-footer__glow--right {
  right: -210px;
  bottom: -220px;
  background: var(--mstz-footer-yellow);
  opacity: .07;
}

.mstz-global-footer__shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0;
}

.mstz-global-footer__topline {
  width: 100%;
  height: 3px;
  margin: 0 0 54px;
  padding: 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--mstz-footer-green) 20%,
    var(--mstz-footer-yellow) 58%,
    transparent
  );
  opacity: .82;
  box-shadow: 0 0 28px rgba(0, 255, 60, .28);
}

.mstz-global-footer__grid {
  display: grid;
  grid-template-columns:
    minmax(250px, 1.35fr)
    minmax(220px, 1fr)
    minmax(240px, 1fr)
    minmax(145px, .62fr);
  gap: 42px;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 0 0 46px;
}

.mstz-global-footer__brand-column {
  width: 100%;
  max-width: 360px;
  margin: 0;
  padding: 0;
}

.mstz-global-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 20px;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.mstz-global-footer__logo {
  display: block;
  flex: 0 0 auto;
  width: 112px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(0, 255, 60, .16));
}

.mstz-global-footer__brand-copy {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 1px solid rgba(255, 255, 255, .14);
  text-align: left;
}

.mstz-global-footer__brand-copy strong {
  margin: 0;
  padding: 0;
  color: var(--mstz-footer-white);
  font-size: .94rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.mstz-global-footer__brand-copy small {
  margin: 0;
  padding: 0;
  color: rgba(244, 255, 241, .46);
  font-size: .67rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.mstz-global-footer__description {
  max-width: 330px;
  margin: 0 0 22px;
  padding: 0;
  color: rgba(244, 255, 241, .58);
  font-size: .91rem;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
}

.mstz-global-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 44px;
  margin: 0;
  padding: 0 17px;
  border: 1px solid rgba(0, 255, 60, .24);
  border-radius: 999px;
  color: var(--mstz-footer-white);
  background: rgba(0, 255, 60, .07);
  box-shadow: none;
  font-size: .79rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .015em;
  text-decoration: none;
  text-transform: none;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.mstz-global-footer__cta svg {
  display: block;
  width: 18px;
  height: 18px;
  color: var(--mstz-footer-green);
  transition: transform .25s ease;
}

.mstz-global-footer__cta:hover {
  color: var(--mstz-footer-white);
  border-color: rgba(0, 255, 60, .48);
  background: rgba(0, 255, 60, .12);
  box-shadow: 0 14px 34px rgba(0, 255, 60, .10);
  transform: translateY(-2px);
}

.mstz-global-footer__cta:hover svg {
  transform: translateX(3px);
}

.mstz-global-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.mstz-global-footer__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 7px;
  padding: 0;
  color: var(--mstz-footer-white);
  font-family: inherit;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .115em;
  text-transform: uppercase;
}

.mstz-global-footer__label::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mstz-footer-green), var(--mstz-footer-yellow));
  box-shadow: 0 0 14px rgba(0, 255, 60, .30);
}

.mstz-global-footer__institutional p {
  max-width: 250px;
  margin: 0;
  padding: 0;
  color: rgba(244, 255, 241, .48);
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.mstz-global-footer__institutional > strong {
  display: block;
  max-width: 255px;
  margin: 0;
  padding: 0;
  color: rgba(244, 255, 241, .88);
  font-size: .81rem;
  font-weight: 800;
  line-height: 1.55;
  text-align: left;
}

.mstz-global-footer__document {
  display: inline-flex;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  color: rgba(244, 255, 241, .58);
  background: rgba(255, 255, 255, .025);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .025em;
}

.mstz-global-footer__contact-column {
  gap: 12px;
}

.mstz-global-footer__contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  color: rgba(244, 255, 241, .74);
  background: transparent;
  text-decoration: none;
  transition: color .22s ease, transform .22s ease;
}

.mstz-global-footer__contact-link:hover {
  color: var(--mstz-footer-white);
  transform: translateX(3px);
}

.mstz-global-footer__icon {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 255, 60, .16);
  border-radius: 12px;
  color: var(--mstz-footer-green);
  background: rgba(0, 255, 60, .055);
}

.mstz-global-footer__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.mstz-global-footer__contact-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.mstz-global-footer__contact-copy small {
  margin: 0;
  padding: 0;
  color: rgba(244, 255, 241, .38);
  font-size: .65rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mstz-global-footer__contact-copy strong {
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
  color: inherit;
  font-size: .79rem;
  font-weight: 800;
  line-height: 1.35;
}

.mstz-global-footer__links-column a {
  position: relative;
  margin: 0;
  padding: 3px 0 3px 15px;
  color: rgba(244, 255, 241, .57);
  background: transparent;
  font-size: .81rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: color .22s ease, transform .22s ease;
}

.mstz-global-footer__links-column a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mstz-footer-green);
  box-shadow: 0 0 8px rgba(0, 255, 60, .35);
  transform: translateY(-50%);
}

.mstz-global-footer__links-column a:hover {
  color: var(--mstz-footer-white);
  transform: translateX(3px);
}

.mstz-global-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .075);
  color: rgba(244, 255, 241, .36);
  font-size: .72rem;
  line-height: 1.5;
  text-align: left;
}

.mstz-global-footer__bottom p,
.mstz-global-footer__bottom a {
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-align: left;
  text-decoration: none;
}

.mstz-global-footer__bottom a {
  transition: color .22s ease;
}

.mstz-global-footer__bottom a:hover {
  color: rgba(244, 255, 241, .72);
}

.mstz-global-footer__bottom strong {
  color: rgba(244, 255, 241, .72);
  font-weight: 800;
}

.mstz-global-footer a:focus-visible {
  outline: 2px solid var(--mstz-footer-yellow);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .mstz-global-footer__grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 38px 46px;
  }
}

@media (max-width: 620px) {
  .mstz-global-footer {
    padding-bottom: 20px;
  }

  .mstz-global-footer__shell {
    width: min(100% - 28px, 1180px);
  }

  .mstz-global-footer__topline {
    margin-bottom: 38px;
  }

  .mstz-global-footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 36px;
  }

  .mstz-global-footer__brand-column,
  .mstz-global-footer__description,
  .mstz-global-footer__institutional p,
  .mstz-global-footer__institutional > strong {
    max-width: 100%;
  }

  .mstz-global-footer__brand {
    align-items: flex-start;
  }

  .mstz-global-footer__logo {
    width: 102px;
    height: 42px;
  }

  .mstz-global-footer__brand-copy {
    padding-left: 12px;
  }

  .mstz-global-footer__contact-link {
    max-width: 310px;
  }

  .mstz-global-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mstz-global-footer__cta,
  .mstz-global-footer__cta svg,
  .mstz-global-footer__contact-link,
  .mstz-global-footer__links-column a {
    transition: none;
  }
}
