/* WBO Sistemas — camada visual nova da home (por cima do /home.css).
   Mesmas cores do site: fundo #07090d e destaque #c8ff00. */

:root {
  --serif: 'Instrument Serif', Georgia, serif;
  --card-glass: rgba(16, 20, 27, .66);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --cyan: #22d3ee;
}

body { background: var(--bg); }

/* ── Largura: a página nunca passa da tela; no computador ocupa mais espaço ── */
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
.wrap { width: min(1600px, 100% - 64px); }
@media (max-width: 1080px) { .wrap { width: calc(100% - 40px); } }
@media (max-width: 640px) { .wrap { width: calc(100% - 24px); } }
.hero-grid > *, .theater > *, .cta-duo > *, .cards > *, .pillars > *, .stats > *,
.sec-head.split > *, .strip-inner > *, .foot-grid > *, .theater-main, .theater-side { min-width: 0; }
img, video, canvas { max-width: 100%; }
main, .foot { position: relative; z-index: 1; }
.topbar { z-index: 50; }

/* ── Fitas de luz no fundo ── */
#ribbons { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; transition: filter 1.2s var(--ease), opacity 1.2s var(--ease); }
#ribbons.soft { filter: blur(28px); opacity: .7; }
.hero-bg .dot-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.hero { background: transparent; }

/* ── Abertura: quadrado verde que voa até o logo ── */
#intro { position: fixed; inset: 0; z-index: 200; background: var(--accent); animation: introSafe .3s 3.5s forwards; }
/* se o script não rodar, a abertura some sozinha */
@keyframes introSafe { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { #intro { display: none; } }
.intro-mark { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: grid; place-items: center; border-radius: 22px; background: var(--accent-ink); color: var(--accent); font: 700 34px var(--display); }
.js-intro .h-in { opacity: 0; transform: translateY(16px); }
.h-in { transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ── Palavra de destaque em serifa itálica ── */
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.hero h1 em.serif { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--accent); font-size: 1.08em; }
h2 em.serif { color: var(--accent); font-style: italic; font-size: 1.08em; }
.hero h1 { font-weight: 600; letter-spacing: -.035em; }

/* ── Menu ── */
.status-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--border-2); background: rgba(255,255,255,.03); font: 400 12px var(--mono); color: var(--text-2); white-space: nowrap; }
.sdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; animation: spulse 2s infinite; }
@keyframes spulse { 0% { box-shadow: 0 0 0 0 rgba(200,255,0,.5); } 70% { box-shadow: 0 0 0 7px rgba(200,255,0,0); } 100% { box-shadow: 0 0 0 0 rgba(200,255,0,0); } }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.status-pill { flex: none; }
@media (max-width: 1320px) { .status-pill { display: none; } }

/* ── Hero ── */
.typed { margin-top: 18px; min-height: 20px; font: 400 12.5px var(--mono); color: var(--text-3); }
.typed::after { content: '▍'; color: var(--accent); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.trust { margin-top: 26px; }

/* Vitrine em vidro com leve inclinação 3D */
.show { perspective: 1600px; }
.show-stage { transform: rotateY(-6deg) rotateX(3deg); transform-style: preserve-3d; transition: transform .7s var(--ease); }
.show-tabs { display: flex; width: max-content; background: var(--card-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.show-tabs::-webkit-scrollbar { display: none; }
.show-tab { white-space: nowrap; flex: none; }
.show-progress i { background: var(--accent); }

/* ── Faixa de segmentos em movimento ── */
.strip { background: rgba(12,15,21,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); position: relative; z-index: 1; }
.marquee { display: flex; overflow: hidden; flex: 1 1 0; min-width: 0; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .strip-list { flex: none; flex-wrap: nowrap; padding-right: 28px; animation: marq 32s linear infinite; }
.marquee:hover .strip-list { animation-play-state: paused; }
.strip-list li { white-space: nowrap; }
@keyframes marq { to { transform: translateX(-100%); } }

/* ── Cabeçalhos de seção em duas colunas ── */
.sec-head.split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 44px; }
.sec-head.split p { margin-top: 0; max-width: 480px; justify-self: end; }
.kicker { display: inline-flex; align-items: center; gap: 10px; letter-spacing: .04em; text-transform: lowercase; color: var(--text-2); font-weight: 400; }
.sec-head h2 { font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
.section, .section-alt { background: transparent; border: 0; position: relative; }

/* ── Cards do catálogo em vidro ── */
.card { background: var(--card-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(255,255,255,.08); }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 14%, transparent), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover::after { opacity: 1; }
.card-custom { background: radial-gradient(120% 80% at 100% 0%, rgba(200,255,0,.1), transparent 60%), var(--card-glass); }
.chip { background: rgba(255,255,255,.02); }
.chip.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ── Painel verde ligado à rolagem ── */
.limesec { position: relative; z-index: 1; height: 170vh; }
.lime-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.lpanel { position: relative; width: min(1600px, calc(100% - 64px)); height: 62vh; border-radius: 32px; background-color: var(--accent); color: var(--accent-ink); background-image: radial-gradient(rgba(11,15,0,.16) 1px, transparent 1px); background-size: 22px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; transform: scale(.06); will-change: transform; }
.lp-label { position: absolute; top: 28px; font: 400 12.5px var(--mono); }
.lp-mark { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-ink); color: var(--accent); font: 700 28px var(--display); margin-bottom: 26px; }
.lpanel h2 { font-size: clamp(34px, 5.2vw, 68px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; max-width: 900px; }
.lpanel h2 em.serif { color: var(--accent-ink); }

/* ── Sala de vídeos ── */
.vtabs { background: var(--card-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow-x: auto; scrollbar-width: none; }
.vtab { white-space: nowrap; padding: 0 10px; }
.vlist { background: var(--card-glass); border: 1px solid var(--border); border-radius: var(--r); padding: 8px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* ── Números ── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.stat { padding: 26px; border-radius: var(--r); border: 1px solid var(--border); background: var(--card-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 6px; }
.st-label { font: 400 12px var(--mono); color: var(--text-3); }
.stat b { font: 600 52px/1 var(--display); letter-spacing: -.03em; color: var(--text); margin-top: 6px; }
.stat > span:not(.st-label) { color: var(--text-2); font-size: 14.5px; }
.st-bar { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; margin-top: 14px; }
.st-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width 1.4s var(--ease); }
.stats.in .st-bar i { width: var(--w); }
.pillar { background: var(--card-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* ── Contato: cartão escuro + cartão verde ── */
.cta-band { background: transparent; border: 0; position: relative; z-index: 1; padding-top: 40px; }
.cta-duo { display: grid; grid-template-columns: 5fr 7fr; gap: 16px; }
.c-dark { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 420px; padding: 34px; border-radius: 24px; border: 1px solid var(--border-2); background: var(--surface); }
.c-ghost { position: absolute; right: -30px; bottom: -90px; font: 700 320px/1 var(--display); color: rgba(255,255,255,.035); pointer-events: none; }
.c-lead { margin-top: 18px; color: var(--text-2); max-width: 320px; }
.c-dark .cta-links { position: relative; }
.c-lime { padding: 40px; border-radius: 24px; background: var(--accent); color: var(--accent-ink); display: flex; flex-direction: column; justify-content: center; }
.c-label { font: 400 12.5px var(--mono); }
.c-lime h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; margin: 16px 0 14px; }
.c-lime h2 em.serif { color: var(--accent-ink); }
.c-lime p { color: rgba(11,15,0,.75); font-size: 17px; max-width: 520px; margin: 0; }
.c-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.btn-ink { background: var(--accent-ink); color: var(--accent); }
.btn-ink-ghost { border: 1px solid rgba(11,15,0,.3); color: var(--accent-ink); }
.btn-ink-ghost:hover { background: rgba(11,15,0,.06); }
.c-lime :focus-visible { outline-color: var(--accent-ink); }
.status-strip { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border); font: 400 12.5px var(--mono); color: var(--text-2); }
.status-strip > span { display: inline-flex; align-items: center; gap: 10px; }
.foot { background: rgba(7,9,13,.85); }

/* ── Revelar ao rolar ── */
.rv { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.rv.in { opacity: 1; transform: none; filter: none; }
.rv .serif { opacity: 0; transition: opacity .8s var(--ease) .15s; }
.rv.in .serif { opacity: 1; }

/* ── Cursor em anel ── */
#cursor { position: fixed; left: 0; top: 0; z-index: 300; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); pointer-events: none; display: none; }
@media (pointer: fine) { .has-cursor #cursor { display: block; } }

/* ── Responsivo ── */
@media (max-width: 900px) {
  /* menu do topo sólido no celular: sem conteúdo aparecendo por trás */
  .topbar, .topbar.scrolled { background: #07090d; }
}
@media (max-width: 1080px) {
  .show-stage { transform: none !important; }
  .sec-head.split { grid-template-columns: 1fr; gap: 16px; }
  .sec-head.split p { justify-self: start; }
  .cta-duo { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .limesec { height: 140vh; }
}
@media (max-width: 640px) {
  .c-dark, .c-lime { padding: 26px; }
  .c-dark { min-height: 0; }
  .stat b { font-size: 44px; }
  .lpanel { padding: 28px 20px; width: calc(100% - 24px); }
  .strip-inner { flex-direction: column; align-items: flex-start; }
  .marquee { flex: none; width: 100%; }
  .vlist { grid-template-columns: 1fr; }
  .card-actions .btn { flex: 1 1 auto; }
  .strip-inner { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .rv .serif, .js-intro .h-in { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee .strip-list, .sdot, .typed::after { animation: none; }
  .lpanel { transform: none !important; }
  .st-bar i { transition: none; }
}
