:root {
  --bg: #050816;
  --bg-soft: #0f172a;
  --text: #f8fbff;
  --muted: #a8b2c7;
  --accent: #5ee7ff;
  --accent-2: #8b5cf6;
  --accent-3: #7cf7a6;
  --border: rgba(255, 255, 255, 0.16);
}

/* Estilos para o rodapé personalizado (Versão Curva Acentuada) */
.footer-custom {
  position: relative;
  padding: 6rem 0 3rem;
  background: linear-gradient(180deg, var(--bg) 0%, #070b16 100%);
  color: var(--muted);
  z-index: 10;
  overflow: hidden;
  margin-top: auto;
}

.footer-custom::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -10%;
  width: 120%;
  height: 360px;
  background: radial-gradient(
    ellipse 180% 115% at 50% -12%,
    rgba(94, 231, 255, 0.26) 0%,
    rgba(94, 231, 255, 0.11) 38%,
    rgba(139, 92, 246, 0.06) 62%,
    transparent 80%
  );
  z-index: -1;
  filter: blur(2px);
}

.footer-custom::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  z-index: 1;
}

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

.footer-custom h5 {
  color: var(--text);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-custom p {
  color: var(--muted);
  margin-bottom: 0.75rem;
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-custom ul.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-custom ul.list-unstyled li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

.footer-custom ul.list-unstyled li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  transition: transform 0.25s ease;
}

.footer-custom ul.list-unstyled li:hover::before {
  transform: translateX(4px);
}

.footer-custom a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  font-size: 0.95rem;
  display: inline-block;
  position: relative;
}

.footer-custom a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-custom .text-highlight {
  color: var(--accent-3);
}

.footer-custom strong {
  color: var(--text);
}

.footer-custom .small.text-muted {
  font-size: 0.8rem;
}

.footer-custom .footer-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  background: rgba(94, 231, 255, 0.08);
  border: 1px solid rgba(94, 231, 255, 0.2);
  transition: all 0.25s ease;
  margin-bottom: 0.5rem;
}

.footer-custom .footer-badge-link:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 231, 255, 0.32);
  background: rgba(94, 231, 255, 0.12);
}

.footer-custom .footer-badge-link img {
  display: block;
  max-width: 100%;
  height: auto;
}

.footer-custom .footer-note {
  color: #adadae;
  margin-top: 0.25rem;
  line-height: 1.7;
}

.footer-custom .footer-links-group {
  margin-bottom: 1rem;
}

.footer-custom .footer-links-title {
  color: var(--accent-3);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.footer-custom .footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-custom .footer-links-list li {
  margin: 0;
  padding: 0;
}

.footer-custom .footer-links-list li::before {
  display: none;
}

.footer-custom .footer-links-list a {
  color: var(--text);
  font-size: 0.95rem;
}

.footer-custom .footer-links-list a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  background: rgba(94, 231, 255, 0.08);
  border: 1px solid rgba(94, 231, 255, 0.2);
  transition: all 0.25s ease;
  margin-bottom: 0.5rem;
}

.footer-badge-link:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 231, 255, 0.32);
  background: rgba(94, 231, 255, 0.12);
}

.footer-badge-link img {
  display: block;
  max-width: 100%;
  height: auto;
}

.footer-links-group {
  margin-bottom: 1rem;
}

.footer-links-title {
  color: var(--accent-3);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-links-list li {
  margin: 0;
  padding: 0;
}

.footer-links-list li::before {
  display: none;
}

.footer-links-list a {
  color: var(--text);
  font-size: 0.95rem;
}

.footer-links-list a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.social-icons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(94, 231, 255, 0.1);
  border: 1px solid rgba(94, 231, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.social-icons a:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07111f;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(94, 231, 255, 0.18);
}

.social-icons a::before {
  display: none;
}

.footer-divider {
  border-color: var(--border);
  margin: 3rem 0 2rem;
}

/* Responsivo */
@media (max-width: 768px) {
  .footer-custom {
    padding: 11rem 0 2rem;
  }

  .footer-custom::before {
    height: 250px;
    background: radial-gradient(
      ellipse 180% 100% at 50% -20%,
      rgba(94, 231, 255, 0.18) 0%,
      rgba(139, 92, 246, 0.08) 60%,
      transparent 72%
    );
  }

  .footer-custom .mb-4 {
    margin-bottom: 2rem !important;
  }

  .footer-divider {
    margin: 1.5rem 0;
  }

  .footer-custom .text-center p {
    margin-bottom: 0.5rem !important;
  }
}

@media (max-width: 560px) {
  .footer-custom {
    padding: 9rem 0 2rem;
  }

  .footer-custom::before {
    height: 220px;
    background: radial-gradient(
      ellipse 220% 100% at 50% -20%,
      rgba(94, 231, 255, 0.16) 0%,
      rgba(139, 92, 246, 0.08) 60%,
      transparent 74%
    );
  }
}
