/* ==========================================================================
   VionTech — Rodapé
   Reaproveita os tokens do design system (--vt-*: hero.css/header).
   Componente separado — inclua este arquivo (ou cole no CSS combinado)
   depois dos tokens :root já definidos em hero.css.
   ========================================================================== */

.vt-footer * {
  box-sizing: border-box;
}

.vt-footer {
  position: relative;
  overflow-x: hidden;
  background: #0B0B16;
  padding: 72px 24px 0;
  max-width: 100vw;
  isolation: isolate;
}

.vt-footer__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 15% 0%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 60% at 15% 0%, #000 30%, transparent 85%);
}

.vt-footer__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.vt-footer__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Bloco principal ---------- */
.vt-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 0.85fr 0.85fr 0.85fr 1.3fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Marca ---------- */
.vt-footer__brand {
  min-width: 0;
}

.vt-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--vt-font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--vt-white);
  text-decoration: none;
  margin-bottom: 14px;
}

.vt-footer__logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--vt-purple-500), #38BDF8);
  color: var(--vt-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vt-footer__logo-mark svg {
  width: 16px;
  height: 16px;
}

.vt-footer__desc {
  font-family: var(--vt-font);
  font-size: 13.5px;
  line-height: 1.65;
  color: #9C9CAB;
  max-width: 320px;
  margin: 0 0 22px;
}

.vt-footer__social {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.vt-footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #14141F;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: #B4B4C2;
  font-size: 16px;
  text-decoration: none;
  transition: border-color 140ms ease, color 140ms ease,
              background 140ms ease, transform 140ms ease;
}

.vt-footer__social-link:hover {
  border-color: var(--vt-purple-500);
  color: var(--vt-white);
  background: var(--vt-purple-500);
  transform: translateY(-2px);
}

/* ---------- Colunas de links ---------- */
.vt-footer__col {
  min-width: 0;
}

.vt-footer__col-title {
  display: block;
  font-family: var(--vt-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--vt-white);
  margin-bottom: 18px;
}

.vt-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.vt-footer__links a {
  font-family: var(--vt-font);
  font-size: 13.5px;
  color: #9C9CAB;
  text-decoration: none;
  transition: color 140ms ease, padding-left 140ms ease;
}

.vt-footer__links a:hover {
  color: var(--vt-white);
  padding-left: 3px;
}

/* ---------- Newsletter ---------- */
.vt-footer__newsletter-msg {
  margin: 10px 0 0;
  font-family: var(--vt-font, "Space Grotesk", sans-serif);
  font-size: 13px;
  line-height: 1.5;
  color: #C4B5FD;
}

.vt-footer__newsletter-desc {
  font-family: var(--vt-font);
  font-size: 13px;
  line-height: 1.6;
  color: #9C9CAB;
  margin: 0 0 16px;
}

.vt-footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vt-footer__newsletter-field {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0;
  background: var(--vt-white, #fff);
  border: 1.5px solid var(--vt-ink, #14141A);
  border-radius: 10px;
  box-shadow: 3px 3px 0 0 var(--vt-purple-500, #7C3AED);
  transition: transform 100ms cubic-bezier(0.2, 0, 0.2, 1),
              box-shadow 100ms cubic-bezier(0.2, 0, 0.2, 1),
              border-color 100ms ease,
              background 100ms ease;
}

.vt-footer__newsletter-field:hover {
  background: #FAFAFC;
}

.vt-footer__newsletter-field:focus-within {
  background: #F5F3FF;
  border-color: var(--vt-purple-600, #6D28D9);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--vt-purple-700, #5B21B6);
}

.vt-footer__newsletter-field i {
  flex-shrink: 0;
  padding: 0 0 0 14px;
  color: var(--vt-purple-500, #7C3AED);
  font-size: 16px;
  line-height: 1;
}

.vt-footer__newsletter-field input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 12px 14px 12px 10px;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--vt-font, "Space Grotesk", sans-serif);
  font-size: 14px;
  line-height: 1.4;
  color: var(--vt-ink, #14141A);
  caret-color: var(--vt-purple-500, #7C3AED);
}

.vt-footer__newsletter-field input::placeholder {
  color: var(--vt-gray-600, #55555F);
  opacity: 0.7;
}

.vt-footer__newsletter-field input:-webkit-autofill,
.vt-footer__newsletter-field input:-webkit-autofill:hover,
.vt-footer__newsletter-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--vt-ink, #14141A);
  box-shadow: 0 0 0 48px #fff inset;
  caret-color: var(--vt-purple-500, #7C3AED);
}

.vt-footer__newsletter-btn {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  padding: 12px 18px;
}

.vt-footer__newsletter-btn .vt-btn__icon {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  flex-shrink: 0;
}

/* ---------- Barra inferior ---------- */
.vt-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 0;
}

.vt-footer__copy {
  font-family: var(--vt-font);
  font-size: 12.5px;
  color: #6B6B7A;
}

.vt-footer__legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.vt-footer__legal a {
  font-family: var(--vt-font);
  font-size: 12.5px;
  color: #9C9CAB;
  text-decoration: none;
  transition: color 140ms ease;
}

.vt-footer__legal a:hover {
  color: var(--vt-white);
}

.vt-footer__made {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--vt-font);
  font-size: 12.5px;
  color: #6B6B7A;
}

.vt-footer__made i {
  color: var(--vt-purple-500);
  font-size: 12px;
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 1080px) {
  .vt-footer__top {
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 44px;
  }

  .vt-footer__brand {
    grid-column: 1 / -1;
    max-width: 480px;
  }

  .vt-footer__newsletter {
    grid-column: 1 / -1;
    max-width: 420px;
  }
}

@media (max-width: 680px) {
  .vt-footer {
    padding: 56px 16px 0;
  }

  .vt-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    row-gap: 36px;
    padding-bottom: 40px;
  }

  .vt-footer__brand,
  .vt-footer__newsletter {
    grid-column: 1 / -1;
    max-width: none;
  }

  .vt-footer__newsletter-field input {
    font-size: 16px;
  }

  .vt-footer__desc {
    max-width: none;
  }

  .vt-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0 28px;
  }

  .vt-footer__legal {
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .vt-footer__top {
    grid-template-columns: 1fr;
  }
}
