/* Rodapé em grafite: painel de contato e a marca grande, que aparece
   conforme sobe (--p), com fumaça e o ponto final da assinatura roubável.
   O logo é o arquivo oficial e nunca é movido, escalado ou recebe efeito. */

.site-footer { background: var(--ink); color: var(--warm); padding: 96px 0 0; overflow: hidden; }
.site-footer .label { color: color-mix(in srgb, var(--warm) 80%, var(--ink)); }
.site-footer :focus-visible { outline-color: var(--warm); }
.footer__panel {
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius);
  background: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--sage) 22%, transparent), transparent 60%), color-mix(in srgb, var(--warm) 5%, var(--ink));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warm) 10%, transparent);
}
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.footer-top h2 { font-size: clamp(40px, 5vw, 72px); }
.footer-contacts { display: grid; gap: 4px; }
.footer-contacts li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--warm) 20%, transparent); }
.footer-contacts a { font-size: 22px; font-weight: 600; text-decoration: none; display: flex; justify-content: space-between; }
.footer-contacts a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 48px; }
.footer-links nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-links .label { margin-left: auto; }

/* Marca grande. */
.wm { --p: 1; position: relative; min-height: 78vh; display: grid; align-items: end; }
.has-motion .wm { --p: 0; }
.wm__stage { position: relative; display: grid; justify-items: center; gap: 4vw; padding: 12vh 16px 7vh; isolation: isolate; }
.wm__smoke { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0; filter: blur(18px); pointer-events: none; }
.wm__stage::before {
  content: "";
  position: absolute;
  inset: -30% -5%;
  z-index: -2;
  background:
    radial-gradient(closest-side at 32% 58%, color-mix(in srgb, var(--sage) 26%, transparent), color-mix(in srgb, var(--sage) 10%, transparent) 55%, transparent),
    radial-gradient(closest-side at 68% 38%, color-mix(in srgb, var(--sun) 12%, transparent), color-mix(in srgb, var(--sun) 4%, transparent) 55%, transparent);
  opacity: calc(var(--p) * 0.9);
  pointer-events: none;
}
.wm__logo { width: min(86vw, 1100px); height: auto; opacity: clamp(0, calc((var(--p) - 0.3) * 2.2), 1); }
.wm__signature { font-size: clamp(28px, 4vw, 56px); opacity: clamp(0, calc((var(--p) - 0.62) * 3.2), 1); }
.wm__dot {
  display: inline-block;
  transform-origin: 50% 100%;
  text-shadow: 0 0 calc(var(--p) * 12px) color-mix(in srgb, var(--sun) 60%, transparent);
  cursor: grab;
  touch-action: none;
}
.wm--hop .wm__dot { animation: wm-hop 0.85s cubic-bezier(0.3, 0, 0.3, 1); }
.wm--snap .wm__dot { animation: wm-snap 0.55s cubic-bezier(0.3, 1.6, 0.5, 1); }
.wm--stolen .wm__dot { opacity: 0; }
@keyframes wm-hop {
  0% { transform: none; }
  25% { transform: translateY(-38%) scale(0.92, 1.08); }
  45% { transform: translateY(0) scale(1.18, 0.82); }
  62% { transform: translateY(-14%) scale(0.97, 1.03); }
  78% { transform: translateY(0) scale(1.06, 0.94); }
  100% { transform: none; }
}
@keyframes wm-snap { 0% { transform: scale(1.35, 0.7); } 100% { transform: none; } }
.wm__hint {
  position: absolute;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--warm) 40%, transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}
.wm__hint.is-on { opacity: 1; transform: none; }
.wm__thief {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2300;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 16px color-mix(in srgb, var(--sun) 60%, transparent);
  pointer-events: none;
  opacity: 0;
}
.wm__thief.is-on { opacity: 1; }

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-links .label { margin-left: 0; width: 100%; }
}
