/* Assinatura Vixion Solutions — componente reutilizável para o rodapé dos sites da agência.
   Autocontido: só usa variáveis --vx-*. Cores da marca: roxo #7e22ce, magenta #c026d3, laranja #f97316.
   Ajuste --vx-texto e --vx-texto-mudo para combinar com o rodapé de cada site. */
.vx {
  --vx-roxo: #7e22ce; --vx-magenta: #c026d3; --vx-laranja: #f97316;
  --vx-texto: #ffffff; --vx-texto-mudo: rgba(255, 255, 255, .62);
  --vx-mola: cubic-bezier(.16, 1, .3, 1);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  color: var(--vx-texto-mudo); text-decoration: none; font-size: inherit; line-height: 1.2;
  padding: 6px 10px 6px 6px; margin: -6px -10px -6px -6px; border-radius: 99px;
  isolation: isolate; -webkit-tap-highlight-color: transparent; outline: none;
}
.vx::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(90deg, rgba(126, 34, 206, .18), rgba(249, 115, 22, .14)); opacity: 0; transform: scale(.9); transition: opacity .4s, transform .5s var(--vx-mola); }
.vx:hover::before, .vx:focus-visible::before, .vx.vx--aberto::before { opacity: 1; transform: none; }
.vx:focus-visible { box-shadow: 0 0 0 2px var(--vx-magenta); }
.vx__rotulo { white-space: nowrap; }
.vx__marca { display: inline-flex; align-items: center; gap: 8px; }
.vx__marca img { width: 22px; height: 22px; border-radius: 50%; flex: none; transition: transform .9s var(--vx-mola), filter .4s; }
.vx:hover .vx__marca img, .vx:focus-visible .vx__marca img, .vx--aberto .vx__marca img { transform: rotate(360deg) scale(1.18); filter: drop-shadow(0 0 8px rgba(192, 38, 211, .8)); }
.vx__nome { font-weight: 700; color: var(--vx-texto); white-space: nowrap; background: linear-gradient(90deg, #e9d5ff, #f0abfc, #fdba74, #f0abfc, #e9d5ff) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; transition: color .35s; }
.vx:hover .vx__nome, .vx:focus-visible .vx__nome, .vx--aberto .vx__nome { color: transparent; animation: vx-brilho 2.4s linear infinite; }
@keyframes vx-brilho { to { background-position: 200% 0; } }
.vx__seta { width: 14px; height: 14px; color: var(--vx-texto); opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s, transform .5s var(--vx-mola); }
.vx:hover .vx__seta, .vx:focus-visible .vx__seta, .vx--aberto .vx__seta { opacity: 1; transform: none; }

/* miniatura do site */
.vx__previa {
  position: absolute; right: 0; bottom: calc(100% + 16px); z-index: 90; width: min(300px, calc(100vw - 32px));
  padding: 1.5px; border-radius: 16px; pointer-events: none; perspective: 900px;
  opacity: 0; transform: translateY(14px) scale(.9); transform-origin: 85% 100%; filter: blur(6px);
  transition: opacity .35s, transform .6s var(--vx-mola), filter .4s;
}
.vx__moldura { position: relative; display: block; border-radius: 15px; overflow: hidden; background: #0d0614; transform: rotateX(16deg); transform-origin: bottom; transition: transform .8s var(--vx-mola); box-shadow: 0 30px 60px -12px rgba(0, 0, 0, .7), 0 0 40px -6px rgba(192, 38, 211, .45); }
.vx__previa::before { content: ""; position: absolute; inset: 0; border-radius: 16px; background: conic-gradient(from var(--vx-ang, 0deg), var(--vx-roxo), var(--vx-magenta), var(--vx-laranja), var(--vx-roxo)); animation: vx-gira 3s linear infinite paused; }
@property --vx-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes vx-gira { to { --vx-ang: 360deg; } }
.vx__barra { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #160b22; font: 500 11px/1 system-ui, sans-serif; color: rgba(255, 255, 255, .6); }
.vx__barra i { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; flex: none; }
.vx__barra i:nth-child(2) { background: #febc2e; } .vx__barra i:nth-child(3) { background: #28c840; margin-right: 6px; }
.vx__barra span { flex: 1; padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .07); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx__tela { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 7; }
.vx__tela img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.12); transition: transform 2.4s var(--vx-mola); }
.vx__tela::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .22) 45%, transparent 60%); transform: translateX(-110%); }
.vx__rodape { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: linear-gradient(90deg, var(--vx-roxo), var(--vx-magenta) 55%, var(--vx-laranja)); color: #fff; font: 700 12px/1.2 system-ui, sans-serif; }
.vx__rodape small { font-weight: 500; opacity: .85; }

.vx:hover .vx__previa, .vx:focus-visible .vx__previa, .vx--aberto .vx__previa { opacity: 1; transform: none; filter: none; }
.vx:hover .vx__moldura, .vx:focus-visible .vx__moldura, .vx--aberto .vx__moldura { transform: none; }
.vx:hover .vx__previa::before, .vx:focus-visible .vx__previa::before, .vx--aberto .vx__previa::before { animation-play-state: running; }
.vx:hover .vx__tela img, .vx:focus-visible .vx__tela img, .vx--aberto .vx__tela img { transform: scale(1); }
.vx:hover .vx__tela::after, .vx:focus-visible .vx__tela::after, .vx--aberto .vx__tela::after { transform: translateX(110%); transition: transform 1.2s var(--vx-mola) .25s; }

/* quando a assinatura fica no lado esquerdo (celular), a miniatura abre para a direita */
.vx--esq .vx__previa, .vx.vx--esq .vx__previa { right: auto; left: 0; transform-origin: 15% 100%; }

@media (prefers-reduced-motion: reduce) {
  .vx *, .vx::before { transition-duration: .01ms !important; animation: none !important; }
}
