/* Footer */

.site-footer {
  position: relative;
  padding: 68px 0 26px;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(159, 122, 234, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 12%,
      rgba(142, 220, 255, 0.1),
      transparent 28%
    ),
    linear-gradient(135deg, #21172e 0%, #1b1228 54%, #160f21 100%);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 36%),
    radial-gradient(
      circle at 50% 100%,
      rgba(159, 122, 234, 0.12),
      transparent 36%
    );
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 0.45fr 0.58fr;
  gap: 56px;
  align-items: flex-start;
}

.footer-about {
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: 680px;
}

.footer-brand {
  display: inline-flex;
  flex: 0 0 auto;
  width: fit-content;
  margin-bottom: 0;
}

.footer-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96),
      rgba(241, 234, 255, 0.86)
    ),
    rgba(255, 255, 255, 0.92);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-brand:hover .footer-logo-card {
  transform: translateY(-3px);
  box-shadow:
    0 26px 62px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.footer-logo-card img {
  width: auto;
  max-width: 250px;
  max-height: 150px;
  object-fit: contain;
}

.footer-grid p {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.footer-column strong {
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.footer-column a,
.footer-column span {
  display: block;
  width: fit-content;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-column a:hover {
  color: var(--color-blue);
  transform: translateX(3px);
}

/* Footer serviços */

.footer-services {
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-services__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.footer-services__kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-services__head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.35;
}

.footer-services__head p {
  max-width: 680px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 34px;
}

.footer-service-group {
  min-width: 0;
}

.footer-service-group__title {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.3;
  overflow-wrap: anywhere;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-service-group__title:hover {
  color: var(--color-blue);
  transform: translateX(3px);
}

.footer-service-group__list {
  display: grid;
  gap: 7px;
}

.footer-service-group__link {
  display: block;
  width: fit-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-service-group__link:hover {
  color: var(--color-blue);
  transform: translateX(3px);
}

/* Texto SEO no footer */

.footer-seo-text {
  max-width: 980px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-seo-text strong {
  color: var(--color-blue) !important;
}

.footer-seo-text:empty {
  display: none;
}

.footer-seo-text h2,
.footer-seo-text h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.35;
}

.footer-seo-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
  line-height: 1.75;
}

.footer-seo-text p + p {
  margin-top: 12px;
}

.footer-seo-text a {
  color: var(--color-blue);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-seo-text ul,
.footer-seo-text ol {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-seo-text li {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-puralead {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 154px;
  min-height: 48px;
  padding: 9px 16px;
  border-radius: 999px;
  background: transparent;
  box-shadow:
    0 0 0 rgba(142, 220, 255, 0),
    0 14px 34px rgba(0, 0, 0, 0.22);
  animation: puraleadPulse 2.4s ease-in-out infinite;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.footer-puralead::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0.7;
  filter: blur(10px);
}

.footer-puralead:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 22px rgba(142, 220, 255, 0.32),
    0 18px 42px rgba(0, 0, 0, 0.28);
  background-color: var(--color-muted);
}

.footer-puralead img {
  width: auto;
  max-width: 126px;
  max-height: 30px;
  object-fit: contain;
}

@keyframes puraleadPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 rgba(142, 220, 255, 0),
      0 14px 34px rgba(0, 0, 0, 0.22);
  }

  50% {
    box-shadow:
      0 0 24px rgba(142, 220, 255, 0.32),
      0 14px 34px rgba(0, 0, 0, 0.22);
  }
}

@media (max-width: 1080px) {
  .footer-services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 30px;
  }
}

@media (max-width: 680px) {
  .site-footer {
    padding-top: 52px;
    padding-bottom: 118px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-about {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-logo-card {
    min-width: 154px;
    min-height: 82px;
  }

  .footer-logo-card img {
    max-width: 210px;
    max-height: 120px;
  }

  .footer-services {
    margin-top: 38px;
    padding-top: 30px;
  }

  .footer-services__head {
    margin-bottom: 24px;
  }

  .footer-services__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-service-group__title {
    margin-bottom: 10px;
  }

  .footer-service-group__list {
    gap: 6px;
  }

  .footer-seo-text {
    margin-top: 34px;
    padding-top: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 36px;
  }
}

@media (max-width: 420px) {
  .footer-services__head h2 {
    font-size: 1.06rem;
  }

  .footer-service-group__title {
    font-size: 0.94rem;
  }

  .footer-service-group__link {
    font-size: 0.86rem;
  }

  .footer-seo-text p,
  .footer-seo-text li {
    font-size: 0.9rem;
  }
}