/* ============================================================
   Rodapé, marca d'água e crédito de desenvolvimento
   ============================================================ */

.rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.rodape-marca { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; letter-spacing: 0.14em; }
.rodape-marca .logo-ultron { width: 22px; height: 22px; }
.rodape-sep { opacity: 0.5; }
.rodape-nota { letter-spacing: 0; font-weight: 400; opacity: 0.8; }

.credito { display: inline-flex; align-items: center; gap: 0.5rem; }
.credito-texto { opacity: 0.75; }
.credito strong { font-weight: 800; letter-spacing: 0.08em; }
.selo-vl { display: block; filter: drop-shadow(0 4px 10px rgba(106, 90, 205, 0.35)); transition: transform 0.25s ease; }
.credito:hover .selo-vl { transform: rotate(-6deg) scale(1.06); }

/* Marca d'água */
.marca-dagua {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.8;
  font-size: clamp(9rem, 24vw, 26rem);
}
.marca-dagua-landing { right: -1.5vw; left: auto; bottom: -2.5vw; color: #ffffff; opacity: 0.18; }
:root[data-tema="escuro"] .marca-dagua-landing { color: #ffffff; opacity: 0.09; }
.marca-dagua-app { right: 1vw; bottom: 2.5rem; color: var(--primaria); opacity: 0.06; }

/* ---------- Landing: rodapé translúcido sobre os dois lados ---------- */
.rodape-landing {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  max-width: none;
  margin: 0;
  padding: 1rem clamp(1.5rem, 5vw, 4.5rem) 1.1rem;
  color: var(--l-texto, #3F3768);
  border-top: 1px solid rgba(106, 90, 205, 0.25);
  background: none;
}
.landing .landing-grade { padding-bottom: 4.5rem; }

/* ---------- Área logada ---------- */
.topo, .abas, .conteudo { position: relative; z-index: 1; }
.rodape-app {
  position: relative; z-index: 1;
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding: 1.1rem 1.25rem 1.6rem;
  color: var(--texto-suave);
  border-top: 1px solid var(--borda);
}
.rodape-app .rodape-marca { color: var(--texto); }
.rodape-app .credito strong { color: var(--texto); }

@media (max-width: 700px) {
  .rodape { justify-content: center; text-align: center; }
  .rodape-nota { display: none; }
  .rodape-sep { display: none; }
  .landing .landing-grade { padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .selo-vl { transition: none; }
}
