/* ============================================================
   11. COMPONENTE: FOOTER (Editorial Sólido)
   ============================================================ */

/* Esconde o footer na página de blog */
body.blog .ot-footer {
  display: none;
}

.ot-footer {
  background-color: var(--ot-surface); 
  color: var(--ot-text);
  padding: 100px 2.5% 40px; 
  box-sizing: border-box;
  
  /* NOVO MÉTODO PARA QUEBRAR O CONTAINER DO TEMA */
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
}

.ot-footer-container {
  max-width: 95vw;
  margin: 0 auto;
}

/* --- TOPO DO FOOTER --- */
.ot-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 40px;
}

.ot-footer-massive {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -2px;
  margin: 0;
  text-transform: uppercase;
}

.ot-footer-social {
  display: flex;
  gap: 30px;
}

.ot-footer-social a {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ot-branco);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.ot-footer-social a:hover {
  color: var(--ot-accent);
  transform: translateY(-3px);
}

/* --- DIVISÓRIA --- */
.ot-footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0 0 40px 0;
}

/* --- BASE DO FOOTER --- */
.ot-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.ot-footer-links {
  display: flex;
  gap: 30px;
}

.ot-footer-links a {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #A0AAB5; /* Cinza claro para não brigar com a hierarquia */
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.ot-footer-links a:hover {
  color: var(--ot-branco);
}

.ot-footer-copy p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.85rem;
  color: #6A7B8C;
  margin: 0;
}

/* Responsivo rápido para celular */
@media (max-width: 768px) {
  .ot-footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .ot-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .ot-footer-social {
    flex-direction: column;
    gap: 15px;
  }
}

/* ============================================================
   ANULADORES DE CONTAINER DO TEMA NEVE
   ============================================================ */

/* 1. Força o container central do rodapé do Neve a usar 100% da tela */
.footer--row-inner .container {
  max-width: 100% !important;
  padding: 0 !important;
  width: 100% !important;
}

/* 2. Força a coluna "Footer One" (left) a expandir e não esmagar nosso código */
.footer-top-inner .hfg-slot.left, 
.footer-top-inner .builder-item--footer-one-widgets, 
.footer-top-inner .widget_block {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: var(--ot-surface) !important; /* Aqui entra a sua regra mágica! */
}

/* 3. Esconde a barra preta padrão "Neve | Powered by WordPress" */
.hfg_footer_layout_bottom,
.builder-item--footer_copyright {
  display: none !important;
}

/* Remove a barra de copyright padrão do Neve ("Neve | Powered by WordPress") */
.footer-bottom-inner,
.hfg-grid-bottom {
  display: none !important;
}

/* ============================================================
   AJUSTES FINAIS DE COR E OVERLAY (TEMA NEVE)
   ============================================================ */

/* 1. Remove a película de cor de fundo (overlay) do Neve */
.footer--row-inner::before, 
[class*=row-inner]::before {
    background-color: transparent !important;
    opacity: 0 !important;
    display: none !important;
}

/* 2. Força absolutamente todos os textos estáticos para branco */
.ot-footer,
.ot-footer p,
.ot-footer h2,
.ot-footer-copy p {
    color: var(--ot-text) !important;
}

/* 3. Força todos os links para branco */
.ot-footer a,
.ot-footer-social a,
.ot-footer-links a {
    color: var(--ot-text) !important;
    transition: color 0.3s ease, transform 0.3s ease !important;
}

/* 4. O Hover preto que você pediu para todos os links */
.ot-footer a:hover,
.ot-footer-social a:hover,
.ot-footer-links a:hover {
    color: var(--ot-accent) !important; /* Muda para preto */
}

