.footer {
  min-height: 100svh;
  padding: 32px 0 28px;
  display: flex;
  align-items: center;
  position: relative;
}

.footer .container {
  position: relative;
  width: 100%;
}

/* CARD DE ENCERRAMENTO */
.footer-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 22px 20px;
  margin-bottom: 14px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(0, 247, 255, 0.12);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.24),
    0 0 60px rgba(0, 217, 255, 0.05);
  overflow: hidden;
}

.footer-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 25%,
      rgba(0, 247, 255, 0.09),
      transparent 26%
    ),
    radial-gradient(circle at 80% 40%, rgba(0, 217, 255, 0.06), transparent 24%);
  pointer-events: none;
}

.footer-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 7px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 247, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #c9f8ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-cta-card h2 {
  position: relative;
  z-index: 1;
  max-width: 16ch;
  margin: 0 auto 8px;
  text-align: center;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.footer-description {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto 12px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-btn-primary,
.footer-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    background 0.25s ease;
}

.footer-btn-primary {
  color: #041018;
  background: linear-gradient(90deg, var(--neon), var(--neon-strong));
  box-shadow:
    0 0 16px rgba(0, 217, 255, 0.3),
    0 8px 24px rgba(0, 217, 255, 0.14);
}

.footer-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 24px rgba(0, 217, 255, 0.5),
    0 14px 36px rgba(0, 217, 255, 0.18);
}

.footer-btn-secondary {
  color: #e8f7ff;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-btn-secondary:hover {
  transform: translateY(-2px);
  color: var(--neon);
  border-color: rgba(0, 247, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0, 247, 255, 0.1);
}

.footer-trust {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  color: #9fb0cf;
  text-align: center;
}

/* PARTE INFERIOR */
.footer-bottom-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.85fr;
  gap: 8px;
  align-items: start;
  padding: 4px 2px 0;
}

.footer-brand,
.footer-links-block,
.footer-social-block {
  padding: 8px 8px 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: auto;
  padding: 0;
  margin-bottom: 8px;
  border: none;
  border-radius: 0;
  background: transparent;
}

.footer-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.18));
}

.footer-brand p {
  max-width: 32ch;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.footer-title {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  position: relative;
  width: fit-content;
  font-size: 12px;
  color: var(--muted);
  transition: color 0.25s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--neon);
  transition: width 0.25s ease;
}

.footer-links a:hover {
  color: #e9faff;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  color: var(--neon);
  border-color: rgba(0, 247, 255, 0.28);
  box-shadow: 0 10px 24px rgba(0, 247, 255, 0.08);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  padding-top: 10px;
  text-align: center;
}

.footer-bottom p {
  font-size: 10px;
  color: #8fa2c3;
}

/* TABLET */
@media (max-width: 900px) {
  .footer {
    min-height: auto;
    padding: 30px 0 24px;
  }

  .footer-bottom-wrap {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-brand,
  .footer-links-block,
  .footer-social-block {
    padding: 8px 0 0;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .footer {
    min-height: auto;
    padding: 24px 0 20px;
  }

  .footer-cta-card {
    padding: 20px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
  }

  .footer-eyebrow {
    margin-bottom: 10px;
    padding: 6px 10px;
    font-size: 9px;
  }

  .footer-cta-card h2 {
    max-width: 100%;
    font-size: clamp(22px, 8vw, 28px);
    margin-bottom: 8px;
  }

  .footer-description {
    font-size: 12.5px;
    margin-bottom: 12px;
  }

  .footer-actions {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }

  .footer-btn-primary,
  .footer-btn-secondary {
    width: 100%;
    max-width: 320px;
    min-height: 40px;
    padding: 10px 16px;
    font-size: 12px;
  }

  .footer-trust {
    gap: 8px;
    font-size: 10px;
  }

  .footer-logo {
    margin-bottom: 8px;
  }

  .footer-logo img {
    width: 32px;
    height: 32px;
  }

  .footer-title {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .footer-links {
    gap: 7px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-social {
    gap: 8px;
  }

  .footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .footer-bottom {
    padding-top: 10px;
  }

  .footer-bottom p {
    font-size: 10px;
  }
}

/* NOTEBOOK BAIXO */
@media (max-height: 820px) and (min-width: 769px) {
  .footer {
    min-height: auto;
    padding: 24px 0 18px;
  }

  .footer-cta-card {
    padding: 20px 18px;
    margin-bottom: 12px;
  }

  .footer-cta-card h2 {
    font-size: clamp(20px, 2vw, 26px);
    max-width: 17ch;
  }

  .footer-description {
    font-size: 12.5px;
    margin-bottom: 10px;
  }

  .footer-bottom-wrap {
    gap: 6px;
  }
}
