.remoteFooter {
  /* Alinha a origem do gradiente no centro inferior (50% 100%) */
  background: radial-gradient(
    ellipse 42% 90% at 50% 100%, 
    #fafafa 0%, 
    #e0d7fd 20%, 
    #803bf0 38%, 
    #731cff6c 80%, 
    transparent 100%
  );
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  padding: 20px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
}

.remoteFooterContainer {
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

/* Card Branco Principal (Sem borda de vidro) */
.remoteFooterCard {
  background: #ffffff;
  border-radius: 36px;
  padding: 55px 50px 30px 50px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 20px 40px rgba(31, 12, 95, 0.08);
}

/* --------------------------------------------------------------------------
   GRADE DE COLUNAS E LINKS
   -------------------------------------------------------------------------- */

.remoteFooterGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px 30px;
}

.remoteFooterCol h4 {
  color: #5c44d3;
  font-size: 16px;
  margin-bottom: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.remoteFooterCol h4.subHeading {
  font-size: 12px;
  letter-spacing: 0.8px;
  color: #5c44d3;
}

.remoteFooterCol a {
  display: block;
  color: #475569;
  text-decoration: none;
  margin-bottom: 9px;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.remoteFooterCol a:hover {
  color: #5c44d3;
  transform: translateX(2px);
}

.remoteFooterFullWidth {
  grid-column: 1 / -1; /* Força o elemento a ir da primeira até a última coluna */
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08); /* Linha sutil de divisão */
}

.remoteFooterFullWidth h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-nodeaiot-primary, #000); /* ou a cor do seu tema */
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Separação da seção de Produtos */
.remoteFooterSpan4 {
  grid-column: span 4;
  margin-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 25px;
}

.remoteFooterSpan4 h4 {
  font-size: 16px;
  margin-bottom: 0;
  color: #5c44d3;
}

.remoteFooterDirectLinks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.remoteFooterMainLink {
  color: #5c44d3 !important;
  font-weight: 800;
  font-size: 13px !important;
  text-transform: uppercase;
  margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   SEÇÃO DO LOGO GIGANTE (AJUSTADO PARA FUNDO CLARO)
   -------------------------------------------------------------------------- */

.remoteFooterBigLogoSection {
  width: 100%;
  padding: 40px 0 10px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 30px;
}

.remoteFooterLogoWrapper {
  position: relative;
  width: 100%;    
  height: 350px;
  margin: 0 auto;
}

/* Logo base escuro sobre fundo claro */
.remoteFooterLogoBase {
  position: absolute;
  inset: 0;
  background-image: url('https://cdn.nodeiot.com.br/siteRemoteIO/logotipos/remoteio-logo-outline.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.25;
  filter:
    brightness(0)
    saturate(100%)
    invert(23%)
    sepia(100%)
    saturate(3395%)
    hue-rotate(252deg)
    brightness(98%)
    contrast(96%);
}

/* Feixe de energia ajustado para brilho suave */
.remoteFooterEnergyPulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 35%,
    rgba(92, 68, 211, 0.6) 45%,
    rgba(92, 68, 211, 1) 50%,
    rgba(92, 68, 211, 0.6) 55%,
    transparent 65%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-repeat: no-repeat;
  
  -webkit-mask-image: url('https://cdn.nodeiot.com.br/siteRemoteIO/logotipos/remoteio-logo-outline.png');
  mask-image: url('https://cdn.nodeiot.com.br/siteRemoteIO/logotipos/remoteio-logo-outline.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;

  animation: remoteEnergyFlow 3.5s linear infinite;
  filter: drop-shadow(0 0 8px rgba(92, 68, 211, 0.5));
}

@keyframes remoteEnergyFlow {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* --------------------------------------------------------------------------
   RODAPÉ INFERIOR INTERNO
   -------------------------------------------------------------------------- */

.remoteFooterBottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.remoteFooterBottom a {
  color: #5c44d3;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.remoteFooterBottom a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   RESPONSIVIDADE (ORIGINAL + MOBILE MELHORADO)
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .remoteFooterCard {
    padding: 35px 30px 20px 30px;
  }
  .remoteFooterGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .remoteFooterSpan4 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .remoteFooter {
    padding: 12px;
  }
  .remoteFooterContainer {
    margin: 0;
  }
  .remoteFooterCard {
    border-radius: 24px;
    padding: 28px 20px 20px 20px;
    box-shadow: 0 10px 30px rgba(31, 12, 95, 0.06);
  }
  .remoteFooterGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
  .remoteFooterSpan4 {
    grid-column: span 2;
    margin-top: 5px;
    padding-top: 20px;
  }
  .remoteFooterCol h4 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .remoteFooterCol h4.subHeading {
    font-size: 11px;
  }
  .remoteFooterCol a {
    font-size: 12.5px;
    margin-bottom: 7px;
  }
  .remoteFooterBigLogoSection {
    padding: 24px 0 0;
    margin-top: 20px;
  }
  .remoteFooterLogoWrapper {
    height: 90px;
  }
  .remoteFooterBottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 12px;
    padding-top: 16px;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .remoteFooterGrid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .remoteFooterSpan4 {
    grid-column: span 1;
  }
  .remoteFooterDirectLinks {
    gap: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
  }
  .remoteFooterLogoWrapper {
    height: 80px;
  }
}