.footer {
  min-height: auto;
  padding: 52px 0 28px;
  display: block;
  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: 52px 40px;
  margin-bottom: 48px;
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(
    160deg,
    rgba(0, 247, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(0, 247, 255, 0.14);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(0, 217, 255, 0.06);
  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;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon);
  opacity: 0.85;
}

.footer-eyebrow::before,
.footer-eyebrow::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--neon);
  opacity: 0.5;
}

.footer-cta-card h2 {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto 12px;
  text-align: center;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.footer-description {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.footer-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-btn-primary,
.footer-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
  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 20px rgba(0, 217, 255, 0.35),
    0 10px 30px rgba(0, 217, 255, 0.15);
}

.footer-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 28px rgba(0, 217, 255, 0.55),
    0 16px 40px rgba(0, 217, 255, 0.2);
}

.footer-trust {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: #9fb0cf;
  text-align: center;
}

/* PARTE INFERIOR */
.footer-bottom-wrap {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand,
.footer-links-block,
.footer-social-block {
  padding: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  min-width: auto;
  height: auto;
}

.footer-logo img {
  width: 38px;
  height: 38px;
  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: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.footer-title {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  position: relative;
  width: fit-content;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.25s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  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: 38px;
  height: 38px;
  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: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.footer-bottom p {
  font-size: 11px;
  color: #8fa2c3;
}

/* TABLET */
@media (max-width: 900px) {
  .footer {
    min-height: auto;
    padding: 40px 0 28px;
  }

  .footer-bottom-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .footer {
    min-height: auto;
    padding: 32px 0 24px;
  }

  .footer-cta-card {
    padding: 28px 20px;
    border-radius: 20px;
    margin-bottom: 32px;
  }

  /* Badge — menor para não quebrar linha */
  .footer-eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    gap: 8px;
  }

  .footer-eyebrow::before,
  .footer-eyebrow::after {
    width: 16px;
  }

  .footer-cta-card h2 {
    max-width: 100%;
    font-size: clamp(20px, 6vw, 24px);
    margin-bottom: 10px;
    line-height: 1.15;
  }

  .footer-description {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .footer-actions {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
  }

  /* Botão proporcional, não largura total */
  .footer-btn-primary {
    width: auto;
    min-width: 200px;
    max-width: 240px;
    min-height: 46px;
    font-size: 13px;
    padding: 12px 24px;
  }

  .footer-trust {
    gap: 6px;
    font-size: 10.5px;
  }

  /* Bottom wrap — coluna única, espaçado */
  .footer-bottom-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0 16px;
  }

  .footer-brand {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* Logo menor e horizontal */
  .footer-logo {
    margin-bottom: 10px;
  }

  .footer-logo img {
    width: 32px;
    height: 32px;
  }

  .footer-brand p {
    max-width: 100%;
    font-size: 12.5px;
  }

  .footer-title {
    margin-bottom: 10px;
    font-size: 10px;
  }

  /* Links em linha horizontal */
  .footer-links {
    gap: 0;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 8px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-social {
    gap: 10px;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
  }

  .footer-bottom {
    padding-top: 16px;
  }

  .footer-bottom p {
    font-size: 10.5px;
    line-height: 1.5;
  }
}

/* NOTEBOOK BAIXO */
@media (max-height: 820px) and (min-width: 769px) {
  .footer {
    min-height: auto;
    padding: 32px 0 24px;
  }

  .footer-cta-card {
    padding: 36px 32px;
    margin-bottom: 32px;
  }
}