.spl-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin-top: clamp(56px, 8vw, 112px);
  padding: 0 !important;
  color: #eef0fa;
  background: linear-gradient(180deg, #080b17 0%, #05070e 100%) !important;
  border-top: 1px solid rgba(255,255,255,.08);
  font-family: Inter, Jost, system-ui, -apple-system, sans-serif;
}

.spl-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,92,255,.75), rgba(224,64,251,.55), transparent);
}

.spl-footer-glow {
  position: absolute;
  z-index: -1;
  top: -170px;
  left: 50%;
  width: min(720px, 80vw);
  height: 280px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(124,92,255,.14);
  filter: blur(85px);
  pointer-events: none;
}

.spl-footer-container {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 24px;
}

.spl-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding-bottom: 36px;
}

.spl-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #fff !important;
  text-decoration: none !important;
}

.spl-footer-brand img {
  display: block;
  width: auto;
  max-width: min(220px, 100%);
  max-height: 44px;
  object-fit: contain;
}

.spl-footer-brand strong {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -.03em;
}

.spl-footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #7c5cff, #e040fb);
  box-shadow: 0 8px 24px rgba(124,92,255,.28);
}

.spl-footer-brand-mark .material-icons { font-size: 21px; }

.spl-footer-message {
  margin: 0 !important;
  color: #8b91b0 !important;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.spl-footer-links {
  min-width: 0;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.spl-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #b4bad2 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: .25s ease;
}

.spl-footer-links a:hover {
  color: #fff !important;
  border-color: rgba(167,139,250,.22);
  background: rgba(124,92,255,.1);
  transform: translateY(-1px);
}

.spl-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: #686f8d;
  font-size: 12px;
  text-align: center;
}

.spl-footer-bottom a {
  color: #8b91b0 !important;
  text-decoration: none !important;
}

.spl-footer-bottom a:hover { color: #c4b5fd !important; }

.spl-footer-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #7c5cff;
}

@media (max-width: 900px) {
  .spl-footer-main {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
  }

  .spl-footer-message { max-width: 440px; }
  .spl-footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .spl-footer { margin-top: 48px; }
  .spl-footer-container { width: min(100% - 32px, 1440px); padding-top: 38px; }
  .spl-footer-main { padding-bottom: 28px; }
  .spl-footer-links { flex-direction: column; width: 100%; }
  .spl-footer-links a { justify-content: center; width: 100%; }
  .spl-footer-separator { display: none; }
  .spl-footer-bottom { flex-direction: column; gap: 5px; padding: 18px 0 4px; }
}

/* Preferências compartilhadas de texto e organização. */
.spl-footer-message,.ln-footer__message{min-width:0;overflow-wrap:anywhere}
.spl-footer[data-footer-align="left"] .spl-footer-message,.ln-footer[data-footer-align="left"] .ln-footer__message{text-align:left}
.spl-footer[data-footer-align="center"] .spl-footer-message,.ln-footer[data-footer-align="center"] .ln-footer__message{text-align:center}
.spl-footer[data-footer-align="right"] .spl-footer-message,.ln-footer[data-footer-align="right"] .ln-footer__message{text-align:right}
.spl-footer[data-footer-layout="centered"] .spl-footer-main{grid-template-columns:minmax(0,1fr);justify-items:center;gap:20px}
.spl-footer[data-footer-layout="centered"] .spl-footer-message{width:100%;max-width:none}
.spl-footer[data-footer-layout="centered"] .spl-footer-links{justify-content:center;flex-wrap:wrap}
.ln-footer__message{flex:1}
.ln-footer[data-footer-layout="centered"] .ln-footer__inner{flex-direction:column;align-items:center}
.ln-footer[data-footer-layout="centered"] .ln-footer__message{width:100%}
@media(min-width:901px){.spl-footer[data-footer-layout="columns"][data-footer-message="hidden"] .spl-footer-main{grid-template-columns:minmax(0,1fr) auto}}
@media(max-width:900px){.spl-footer-message,.ln-footer__message{width:100%;max-width:none}}

/* Laterais simétricas mantêm o centro geométrico da mensagem. */
@media(min-width:901px){
  .ln-footer[data-footer-layout="columns"][data-footer-message="visible"] .ln-footer__inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1fr);align-items:center}
  .ln-footer[data-footer-layout="columns"] .ln-footer__inner>strong{min-width:0;overflow-wrap:anywhere}
  .ln-footer[data-footer-layout="columns"] .ln-footer__inner>:last-child{text-align:right}
}
