/* =========================================================
   DataLurk — embreve.css (base das páginas "em breve" dos produtos)
   Carrega depois de site.css e antes do CSS do produto (lurklens.css, lurklab.css).
   A cor do produto vem de --ac no <body> (.lens, .lab): é o ponto de luz da página
   (horizonte, selo, o que acende quando um painel termina de montar).
   A página é toda escura: as cores dos produtos sobre grafite têm contraste de sobra.
   ========================================================= */

.lens { --ac: var(--lurklens); }
.lab  { --ac: var(--lurklab); }
.ls { --ac-15: color-mix(in srgb, var(--ac) 15%, transparent); --ac-25: color-mix(in srgb, var(--ac) 25%, transparent);
  --ac-33: color-mix(in srgb, var(--ac) 33%, transparent); --ac-53: color-mix(in srgb, var(--ac) 53%, transparent); }

.ls-back { gap: 8px; }

.ls { position: relative; overflow: hidden; min-height: calc(100svh - 73px); display: flex; flex-direction: column; background: var(--dl-graphite); }
.ls::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 25%, transparent 80%); }

/* ---------- texto ---------- */
.ls__copy { position: relative; z-index: 4; max-width: 820px; margin: 0 auto; padding: clamp(28px, 5vh, 64px) 24px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ls__copy > * { max-width: 100%; }
.ls__brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; letter-spacing: -.01em; }
.ls__brand img { width: 28px; height: 28px; }
.ls__tag { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--ac-33); color: var(--ac); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.ls__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--ac); animation: ls-pulse 1.8s ease-in-out infinite; }
@keyframes ls-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ac) 40%, transparent); } 50% { box-shadow: 0 0 0 6px transparent; } }
.ls h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.03; letter-spacing: -.035em; font-weight: 700; }
.ls h1 em { font-style: normal; color: var(--ac); }
.ls .lead { max-width: 600px; }
.ls__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 4px; }

/* ---------- cena ---------- */
.ls__stage { --hy: 80%; position: relative; flex: 1; min-height: 300px; margin-top: clamp(8px, 2vh, 24px); }
.ls__horizon { position: absolute; left: 0; right: 0; top: var(--hy); height: 2px; z-index: 3;
  background: linear-gradient(90deg, transparent 0%, var(--ac-25) 15%, var(--ac) 50%, var(--ac-25) 85%, transparent 100%);
  box-shadow: 0 0 18px 1px var(--ac-33); transition: box-shadow .4s; }
.ls__horizon.flare { box-shadow: 0 0 34px 4px var(--ac-53); }
.ls__glow { position: absolute; left: 0; right: 0; top: calc(var(--hy) + 2px); bottom: 0; z-index: 1;
  background: radial-gradient(ellipse 30% 80% at 50% 0%, color-mix(in srgb, var(--ac) 9%, transparent), transparent 70%); }

/* Lurkzinho: só os olhos acima da linha (espiando o trabalho) */
.ls__lurk { position: absolute; left: 50%; top: var(--hy); z-index: 2; width: clamp(120px, 12vw, 168px); transform: translate(-50%, -100%); margin-top: 1px;
  clip-path: inset(-200% -200% 0 -200%); }
.ls__lurk svg { display: block; width: 100%; height: auto; overflow: visible; transform: translateY(34%); transform-origin: 50% 100%; animation: ls-bob 5s ease-in-out infinite; }
@keyframes ls-bob { 0%, 100% { transform: translateY(34%); } 50% { transform: translateY(30%); } }
.ls__lurk .eye { transform-box: fill-box; transform-origin: center; transition: transform .09s, opacity .15s; }
.ls__lurk.blink .eye { transform: scaleY(.12); }
.ls__lurk .happy { opacity: 0; transition: opacity .15s; }
.ls__lurk.is-happy .eye { opacity: 0; }
.ls__lurk.is-happy .happy { opacity: 1; }
/* onda que corre pela linha quando ele cai de volta */
.ls__ripple { position: absolute; left: 50%; top: calc(var(--hy) - 1px); z-index: 3; width: 60%; height: 4px; margin-left: -30%; border-radius: 2px; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 50%, var(--ac), transparent 70%); }

/* ---------- painéis em esqueleto (a casca; o miolo fica no CSS do produto) ---------- */
.sk { position: absolute; z-index: 2; width: clamp(200px, 21vw, 272px); padding: 16px 18px; border-radius: 14px; display: flex; flex-direction: column; gap: 14px;
  background: var(--dl-graphite-2); border: 1px dashed var(--ac-25); box-shadow: 0 30px 50px -30px #000;
  animation: ls-float var(--fd, 7s) ease-in-out infinite; animation-delay: var(--fdl, 0s);
  transition: border-color .5s, box-shadow .5s; }
@keyframes ls-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.sk.on { border-style: solid; border-color: var(--ac-53); box-shadow: 0 30px 50px -30px #000, 0 0 32px -8px var(--ac-33); }
/* posições: esquerda, centro (o único no celular), direita */
.sk--l { left: 7%; bottom: calc(100% - var(--hy) + 34px); --fd: 7.5s; }
.sk--c { left: 50%; margin-left: calc(clamp(200px, 21vw, 272px) / -2); bottom: calc(100% - var(--hy) + 96px); --fd: 6.6s; --fdl: -2s; }
.sk--r { right: 7%; bottom: calc(100% - var(--hy) + 52px); --fd: 8s; --fdl: -4s; }

.sk__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sk b { display: block; height: 8px; border-radius: 4px; background: #33373D; position: relative; overflow: hidden; }
.sk b::after { /* brilho de "carregando" */
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, #ffffff14, transparent); animation: ls-shim 1.8s ease-in-out infinite; }
@keyframes ls-shim { to { transform: translateX(100%); } }
.sk__pill { width: 44px; height: 16px !important; border-radius: 999px !important; transition: background-color .5s; }
.sk.on .sk__pill { background: var(--ac-15); }

/* ---------- rodapé ---------- */
.ls__foot { position: relative; z-index: 4; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px var(--pad);
  font-size: 12.5px; color: var(--dl-muted-dark); background: var(--dl-graphite); border-top: 1px solid #22262B; }

/* ---------- entrada ---------- */
.intro .ls__copy > * { animation: ls-up .8s var(--ease) both; }
.intro .ls__copy > :nth-child(2) { animation-delay: .08s; }
.intro .ls__copy > :nth-child(3) { animation-delay: .18s; }
.intro .ls__copy > :nth-child(4) { animation-delay: .28s; }
@keyframes ls-up { from { opacity: 0; transform: translateY(18px); } }
.intro .ls__horizon { animation: ls-line 1.3s cubic-bezier(.6, 0, .2, 1) .3s both; }
@keyframes ls-line { from { transform: scaleX(0); opacity: 0; } 30% { opacity: 1; } }
.intro .ls__glow { animation: ls-fade 1.2s ease 1s both; }
@keyframes ls-fade { from { opacity: 0; } }
.intro .ls__lurk svg { animation: ls-show 2.8s .9s both, ls-bob 5s ease-in-out 3.7s infinite; }
/* o corte fica no .ls__lurk e a animação no svg: nada aparece abaixo da linha durante a subida */
@keyframes ls-show {
  0%   { transform: translateY(102%); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  22%  { transform: translateY(34%); }                                                       /* só os olhos */
  60%  { transform: translateY(34%); animation-timing-function: cubic-bezier(.3, 0, .35, 1); }
  72%  { transform: translateY(-8%) scale(.93, 1.08); animation-timing-function: ease-in; }    /* pulinho */
  84%  { transform: translateY(36%) scale(1.07, .93); animation-timing-function: ease-out; }   /* cai e amassa */
  92%  { transform: translateY(31%) scale(.98, 1.02); }
  100% { transform: translateY(34%); }
}
.intro .ls__ripple { animation: ls-ripple .9s ease-out 3.25s both; }
@keyframes ls-ripple { 0% { opacity: 0; transform: scaleX(.1); } 25% { opacity: .9; } 100% { opacity: 0; transform: scaleX(1.6); } }
/* os painéis surgem quando ele olha; a forma de surgir (--sk-in) é de cada produto */
.intro .sk { animation: var(--sk-in, ls-in) .9s var(--ease) both, ls-float var(--fd, 7s) ease-in-out infinite; animation-delay: var(--in, 1.5s), var(--fdl, 0s); }
.intro .sk--l { --in: 1.65s; } .intro .sk--r { --in: 2.05s; } .intro .sk--c { --in: 2.4s; }
@keyframes ls-in { from { opacity: 0; filter: blur(10px); } } /* entra "focando", como uma lente */

/* ---------- telas menores ---------- */
@media (max-width: 1000px) { .sk--l { left: 3%; } .sk--r { right: 3%; } }
@media (max-width: 780px) {
  .sk--l, .sk--r { display: none; }
  .ls__stage { min-height: 280px; }
  .ls__cta .btn { width: 100%; }
  .ls__foot { justify-content: center; text-align: center; }
}

/* ---------- menos movimento: tudo montado e parado ---------- */
@media (prefers-reduced-motion: reduce) {
  .sk b::after { display: none; }
}
