/* Enxame de IA montando o site (teste, 04/11/2026). Tudo é só visual: o HTML completo já está na página. */
.sw-hide { visibility: hidden !important; }
.sw-pop { animation: sw-pop .32s cubic-bezier(.2, .9, .3, 1.2) both; }
.sw-flash { box-shadow: 0 0 0 2px var(--sw-cor, #34d399), 0 0 18px var(--sw-cor, #34d399) !important; transition: box-shadow .5s ease; }
.sw-type { animation: sw-type .42s steps(18) both; }
@keyframes sw-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes sw-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

#sw-camada { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 99990; overflow: visible; }
#sw-tela { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 99989; }   /* enxame miúdo (milhares) */
.sw-cursor { position: absolute; left: 0; top: 0; transform: translate(-40px, -40px); transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .4s; will-change: transform; opacity: 0; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55)); }
.sw-cursor.on { opacity: 1; }
.sw-cursor svg { display: block; width: 18px; height: 22px; }
.sw-cursor .sw-nome { position: absolute; left: 14px; top: 16px; padding: 3px 9px; border-radius: 999px; font: 600 11px/1.3 "Plus Jakarta Sans", Sora, system-ui, sans-serif; color: #04110a; background: var(--sw-cor); white-space: nowrap; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.sw-cursor.clique svg { animation: sw-click .18s ease; }
@keyframes sw-click { 50% { transform: scale(.82); } }
.sw-onda { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 2px solid var(--sw-cor); border-radius: 50%; opacity: .9; animation: sw-onda .55s ease-out forwards; pointer-events: none; }
@keyframes sw-onda { to { transform: scale(3.2); opacity: 0; } }

#sw-painel { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 99991; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; border-radius: 999px; background: rgba(5, 7, 13, .78); border: 1px solid rgba(52, 211, 153, .35); backdrop-filter: blur(8px); color: #e9fff4; font: 500 12.5px/1.2 "Plus Jakarta Sans", Sora, system-ui, sans-serif; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: opacity .5s, transform .5s; max-width: calc(100vw - 24px); }
#sw-painel.some { opacity: 0; transform: translate(-50%, 16px); pointer-events: none; }
#sw-painel .sw-pontos { display: inline-flex; gap: 3px; }
#sw-painel .sw-pontos i { width: 6px; height: 6px; border-radius: 50%; background: #34d399; animation: sw-pisca 1s infinite; }
#sw-painel .sw-pontos i:nth-child(2) { animation-delay: .2s; } #sw-painel .sw-pontos i:nth-child(3) { animation-delay: .4s; }
@keyframes sw-pisca { 50% { opacity: .25; } }
#sw-painel .sw-barra { width: 90px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
#sw-painel .sw-barra b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #34d399, #10b981); transition: width .25s; }
#sw-painel button { all: unset; cursor: pointer; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font: 600 12px/1 inherit; }
#sw-painel button:hover { background: rgba(255, 255, 255, .2); }
#sw-replay { position: fixed; left: 14px; bottom: 14px; z-index: 99991; all: unset; position: fixed; left: 14px; bottom: 14px; z-index: 99991; cursor: pointer; padding: 9px 14px; border-radius: 999px; background: rgba(5, 7, 13, .8); border: 1px solid rgba(52, 211, 153, .4); color: #e9fff4; font: 600 12px/1 "Plus Jakarta Sans", Sora, system-ui, sans-serif; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
@media (max-width: 640px) { .sw-cursor .sw-nome { font-size: 10px; padding: 2px 7px; } #sw-painel { bottom: 10px; font-size: 11.5px; gap: 8px; white-space: nowrap; } #sw-painel .sw-barra { width: 56px; } }
@media (prefers-reduced-motion: reduce) { .sw-pop, .sw-type { animation: none !important; } }
