/* =========================================================
   Footer
========================================================= */
.nstudioFooterBoxBody {
  display: flex;
  flex-direction: column;
  padding: 55px 0 30px;
  color: var(--color-text-secondary);
  background-color: var(--color-background-primary);
}

/* =========================================================
 Linha principal do footer
========================================================= */
.nstudioFormRowSections {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 48px;
  flex-wrap: wrap;
}

/* =========================================================
 Bloco logo + slogan + form
========================================================= */
.nstudioFooterLogo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  width: 100%;
}

.nstudioFooterLogoLink {
  display: inline-flex;
}

.nstudioFooterSlogan {
  font-size: 16px;
  font-weight: 400;
}

/* =========================================================
 Links
========================================================= */
.nstudioFooterLinks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
}

.nstudioFooterGroup {
  display: flex;
  flex-direction: row;
  gap: 240px;
}

.nstudioFooterLinksTitle {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 12px;
}

.nstudioFooterLinksList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nstudioFooterLinksList li {
  font-size: 23px;
  margin-bottom: 12px;
}

.nstudioFooterLinksList a {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 1;
  position: relative;
}

.linkArrow {
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: 0;

  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-block;
  vertical-align: middle;
  pointer-events: none;
  margin-left: 4px;
}

.nstudioFooterLinksList a:hover .linkArrow {
  opacity: 1;
}


/* animação normal do link */
.nstudioFooterLinksList a:hover {
  color: var(--color-text-primary);
}

/* =========================================================
 Spotlight effect
========================================================= */

/* 1. Transição para tudo */
.nstudioFooterBoxBody * {
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.nstudioFooterBoxBody:has(a:hover) .nstudioFooterLogo,       /* Logo e Slogan */
.nstudioFooterBoxBody:has(a:hover) .nstudioFooterForm,       /* Input e Botão */
.nstudioFooterBoxBody:has(a:hover) .nstudioFooterLinksTitle,  /* Títulos (Acesso rápido/Recursos) */
.nstudioFooterBoxBody:has(a:hover) .nstudioFooterLinksList li, /* TODOS os itens de lista */
.nstudioFooterBoxBody:has(a:hover) .nstudioBox,              /* Logo gigante no fundo */
.nstudioFooterBoxBody:has(a:hover) .nstudioFooterBox {       /* Copyright */
  opacity: 0.3;
}

.nstudioFooterBoxBody .nstudioFooterLinksList li:has(a:hover) {
  opacity: 1 !important;
}

.nstudioFooterBoxBody a:hover {
  opacity: 1 !important;
  color: #ffffff !important;
}

/* =========================================================
 Form
========================================================= */
.nstudioFooterForm {
  width: 100%;
  max-width: 384px;
  padding: 24px 0;
}

.nstudioFooterFormInner {
  display: flex;
  gap: 8px;
  width: 100%;
  height: 40px;
}

.nstudioFooterInput {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: var(--color-outline-secondary);
  background-color: var(--color-background-secondary);
  color: var(--color-text-primary);
  outline: none;
}

.nstudioFooterInput:focus  {
  border: var(--color-outline-primary);
  background-color: var(--color-background-secondary);
}

.nstudioFooterButton {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background-color: var(--color-text-secondary);
  color: var(--node-dark-blue);
  cursor: pointer;
  white-space: nowrap;
}

.nstudioFooterButton:hover {
  background-color: var(--color-text-primary);
  color: var(--node-dark-blue);
}

/* =========================================================
 Box visual (imagem grande)
========================================================= */
.nstudioBox {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1480px;
  margin: 24px auto;
  padding: 0 16px;
}

.nstudioBox img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* =========================================================
 Footer bottom
========================================================= */
.nstudioFooterBox {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 6px;
}

.nstudioFooterCopy {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-secondary);
}

/* =========================================================
 Tablet
========================================================= */
@media (max-width: 1024px) {
  .nstudioFormRowSections {
      gap: 32px;
  }

  .nstudioBox img {
      max-height: 420px;
  }
}

/* =========================================================
 Mobile
========================================================= */
@media (max-width: 900px) {
  .nstudioFooterGroup {
      gap: 200px;
  }
}

@media (max-width: 768px) {
  .nstudioFooterBoxBody {
      padding: 32px 0;
  }

  .nstudioFormRowSections {
      flex-direction: column;
      gap: 32px;
  }

  .nstudioFooterLogo {
      max-width: 100%;
  }

  .nstudioFooterFormInner {
      flex-direction: row;
      height: auto;
  }

  .nstudioFooterInput {
      width: 100%;
      flex: 2;
  }

  .nstudioFooterButton {
      border-radius: 12px;
  }

  .nstudioBox {
      margin: 64px auto;
  }

  .nstudioBox img {
      max-height: 120px;
  }

  .nstudioFooterBox {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
  }
  
  .nstudioFooterLinksList li {
    font-size: 18px;
  }

  .nstudioFooterCopy {
      font-size: 14px;
  }

  .nstudioFooterForm {
      width: 100%;
      max-width: none;
      padding: 24px 0;
  }

  .nstudioFooterGroup {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      gap: 10px;
  }
}