/* Loja Titan: visual calmo, vidro suave, bordas arredondadas. Escuro segue o tema escuro, claro segue o claro. */
:root {
  --a1: #7aa2f7; --a2: #9d8cf5; --grad: linear-gradient(120deg, var(--a1), var(--a2));
  --r-xl: 28px; --r-lg: 22px; --r-pill: 999px; --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 28px);
}
:root[data-theme="dark"] {
  --bg: #0b1020; --text: #eef1fb; --muted: #aab3d0; --faint: #7d88ab;
  --glass: rgba(255,255,255,.05); --glass-2: rgba(255,255,255,.09); --edge: rgba(255,255,255,.14); --edge-2: rgba(255,255,255,.07);
  --shadow: 0 18px 44px -24px rgba(0,0,0,.6); --field: rgba(5,8,20,.5); --ok: #6ee7b7; --banner-dark: 1; --banner-light: 0;
}
:root[data-theme="light"] {
  --a1: #4f7fe8; --a2: #7c6ae6;
  --bg: #f4f6fc; --text: #11183a; --muted: #4c587e; --faint: #7b86a8;
  --glass: rgba(255,255,255,.62); --glass-2: rgba(255,255,255,.85); --edge: rgba(255,255,255,.95); --edge-2: rgba(110,122,180,.16);
  --shadow: 0 18px 40px -26px rgba(60,80,170,.35); --field: rgba(255,255,255,.85); --ok: #059669; --banner-dark: 0; --banner-light: 1;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body { font-family: var(--font); color: var(--text); background: var(--bg); min-height: 100vh; overflow-x: clip; max-width: 100%;
  transition: background .5s var(--ease), color .5s var(--ease); -webkit-font-smoothing: antialiased; touch-action: manipulation; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; touch-action: manipulation; }
img { display: block; max-width: 100%; }
input, textarea, select { font-size: 16px; }              /* 16px evita o zoom automático ao tocar no campo no celular */

.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-img { position: absolute; inset: 0; background-size: cover; background-position: center top; transition: opacity .7s var(--ease); }
.bg-dark { background-image: url(assets/banner-dark.jpg); opacity: var(--banner-dark); }
.bg-light { background-image: url(assets/banner-light.jpg); opacity: var(--banner-light); }

.glass { background: var(--glass); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border: 1px solid var(--edge-2); box-shadow: var(--shadow); position: relative; }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, var(--edge), transparent 40%, transparent 70%, var(--edge-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border-radius: var(--r-pill); font-weight: 650; transition: transform .3s var(--ease), background .3s; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn.primary { background: var(--grad); color: #fff; }
.btn.ghost { background: var(--glass); border: 1px solid var(--edge-2); }
.btn:hover { transform: translateY(-2px); } .btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.hide-s { display: inline-flex; } .show-s { display: none; }

/* navegação */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: min(1100px, calc(100% - 2 * var(--gutter))); z-index: 50; height: 62px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; } .nav-links a { padding: 9px 16px; border-radius: var(--r-pill); color: var(--muted); font-weight: 560; transition: color .3s, background .3s; }
.nav-links a:hover { color: var(--text); background: var(--glass-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { width: 44px; height: 44px; border-radius: 50%; background: var(--glass-2); border: 1px solid var(--edge-2); display: grid; place-items: center; position: relative; overflow: hidden; }
.theme-toggle svg { width: 21px; height: 21px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; position: absolute; transition: transform .5s var(--ease), opacity .3s; }
:root[data-theme="dark"] .sun { transform: translateY(26px); opacity: 0; } :root[data-theme="light"] .moon { transform: translateY(-26px); opacity: 0; }

/* layout */
main { padding-top: 96px; }
.wrap { width: min(1240px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }
h1 { font-size: clamp(2.1rem, 7vw, 4rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; }
h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: -.02em; font-weight: 760; }
.lead { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.15rem); line-height: 1.6; max-width: 52ch; }
.eyebrow { display: inline-flex; padding: 7px 14px; border-radius: var(--r-pill); font-size: .82rem; font-weight: 650; color: var(--muted); }

.hero { padding: clamp(36px, 8vw, 90px) 0 clamp(24px, 5vw, 50px); display: grid; gap: 22px; justify-items: start; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

.section { padding: clamp(28px, 6vw, 56px) 0 8px; scroll-margin-top: 90px; }
.section h2 { margin-bottom: 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.card { border-radius: var(--r-xl); padding: 24px; display: grid; gap: 14px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -26px color-mix(in srgb, var(--a2) 60%, transparent), var(--shadow); }
.icon-tile { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 10px 22px -10px rgba(0,0,0,.5); overflow: hidden; }
.icon-tile img { width: 100%; height: 100%; }
.card h3 { font-size: 1.25rem; letter-spacing: -.015em; } .card p { color: var(--muted); line-height: 1.5; font-size: .98rem; }
.price-row { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--edge-2); }
.price { font-size: 1.2rem; font-weight: 780; letter-spacing: -.01em; } .price small { font-size: .78rem; color: var(--faint); font-weight: 600; display: block; letter-spacing: 0; }
.go { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; flex: none; transition: transform .4s var(--ease); }
.go svg { width: 19px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; } .card:hover .go { transform: translateX(4px); }

.bundle { margin-top: 18px; border-radius: var(--r-xl); padding: 22px 26px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.bundle .stack { display: flex; } .bundle .stack img { width: 46px; height: 46px; border-radius: 14px; margin-left: -12px; border: 2px solid var(--bg); } .bundle .stack img:first-child { margin-left: 0; }
.bundle .txt { flex: 1 1 200px; } .bundle h3 { font-size: 1.15rem; } .bundle p { color: var(--muted); font-size: .95rem; margin-top: 2px; }

/* produto */
.back { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); font-weight: 600; color: var(--muted); margin: 8px 0 22px; min-height: 44px; }
.pp-head { display: flex; gap: 20px; align-items: center; margin-bottom: 26px; }
.pp-head .icon-tile { width: 96px; height: 96px; border-radius: 26px; flex: none; }
.pp-head h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); } .pp-head .lead { margin-top: 8px; }
.pp { display: grid; grid-template-columns: 1.4fr .9fr; gap: 18px; align-items: start; }
.panel { border-radius: var(--r-xl); padding: 24px; } .panel + .panel { margin-top: 18px; }
.panel h3 { font-size: 1.1rem; margin-bottom: 12px; } .panel p { color: var(--muted); line-height: 1.65; }
.feat { list-style: none; padding: 0; display: grid; gap: 12px; }
.feat li { display: flex; gap: 12px; line-height: 1.5; color: var(--muted); }
.feat li::before { content: "\2713"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.buy { border-radius: var(--r-xl); padding: 24px; display: grid; gap: 16px; position: sticky; top: 90px; }
.buy .price { font-size: 1.8rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--r-pill); font-size: .8rem; font-weight: 650; background: var(--glass-2); border: 1px solid var(--edge-2); color: var(--muted); }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--a1)); }
.mini-list { display: grid; gap: 9px; color: var(--muted); font-size: .92rem; } .mini-list div { display: flex; gap: 10px; align-items: center; } .mini-list div::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.cap { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); font-weight: 700; margin-bottom: 8px; display: block; }

/* rodapé */
.footer { width: min(1100px, calc(100% - 2 * var(--gutter))); margin: clamp(50px, 9vw, 90px) auto 22px; border-radius: var(--r-xl); padding: 26px; display: grid; gap: 18px; }
.foot-top { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; } .foot-top p { color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-link { display: inline-flex; align-items: center; gap: 9px; padding: 0 16px; min-height: 44px; border-radius: var(--r-pill); background: var(--glass-2); border: 1px solid var(--edge-2); font-weight: 600; transition: transform .3s var(--ease); }
.chip-link:hover { transform: translateY(-2px); } .chip-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.foot-legal { color: var(--faint); font-size: .85rem; padding-top: 14px; border-top: 1px solid var(--edge-2); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(5,8,20,.5); backdrop-filter: blur(6px); padding: 16px; animation: fade .25s; } .modal[hidden] { display: none; }
.modal-card { width: min(440px, 100%); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 14px; background: color-mix(in srgb, var(--bg) 82%, transparent); animation: pop .4s var(--ease); }
.modal-card p { color: var(--muted); line-height: 1.55; }
.modal-x { position: absolute; right: 12px; top: 10px; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; }
.field { height: 52px; border-radius: var(--r-pill); border: 1px solid var(--edge-2); background: var(--field); color: var(--text); padding: 0 20px; font-family: inherit; outline: none; width: 100%; }
.field:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--a1) 35%, transparent); }
.key-result { min-height: 22px; font-weight: 650; font-size: .95rem; }
@keyframes fade { from { opacity: 0; } } @keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); } .reveal.in { opacity: 1; transform: none; }
.view-enter { animation: viewIn .5s var(--ease); } @keyframes viewIn { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 820px) {
  .pp { grid-template-columns: 1fr; } .buy { position: static; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .hide-s { display: none; } .show-s { display: inline-flex; }
  .pp-head { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { flex: 1 1 100%; } .glass { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .card { padding: 20px; } .panel, .buy { padding: 20px; } .bundle { padding: 20px; }
  .brand-name { font-size: 1.05rem; }
}
.bundle-price { display: grid; text-align: right; } .bundle-price s { color: var(--faint); font-size: .85rem; } .bundle-price strong { font-size: 1.3rem; } .bundle-price small { color: var(--faint); font-size: .75rem; }
/* admin */
.admin { padding: 10px 0 0; display: grid; gap: 18px; } .adm-login { max-width: 420px; display: grid; gap: 14px; } .adm-login p, .note { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.adm-head { display: flex; justify-content: space-between; align-items: center; } .adm-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; } .adm-row .field { flex: 1 1 200px; width: auto; }
.keys { display: grid; gap: 10px; margin-top: 10px; } .key { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 18px; background: var(--glass-2); border: 1px solid var(--edge-2); }
.key code { display: block; font-size: .95rem; font-weight: 700; letter-spacing: .02em; overflow-wrap: anywhere; } .key small { color: var(--faint); } .key-act { display: flex; gap: 8px; }
.foot-legal { display: flex; justify-content: space-between; } .adm { color: var(--faint); font-size: .8rem; }
/* busca, filtros e barra de compra */
.searchrow { margin-bottom: 14px; } .search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: var(--r-pill); }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--text); font-family: inherit; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 2px var(--gutter); } .chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 0 16px; min-height: 38px; border-radius: var(--r-pill); background: var(--glass-2); border: 1px solid var(--edge-2); font-weight: 600; font-size: .9rem; color: var(--muted); }
.chip.on { background: var(--grad); color: #fff; border-color: transparent; }
.empty { color: var(--muted); padding: 20px 4px; grid-column: 1 / -1; }
.buybar { display: none; }
@media (max-width: 560px) {
  /* layout de app de compras: barra cheia no topo, grade de 2 colunas, barra de compra fixa */
  main { padding-top: 76px; }
  .nav { top: 0; width: 100%; border-radius: 0 0 22px 22px; height: 60px; transform: translateX(-50%); }
  .hero { padding: 14px 0 10px; gap: 8px; } .hero .lead, .hero-cta, .eyebrow { display: none; } .hero h1 { font-size: 1.5rem; }
  .section { padding-top: 6px; } .section h2 { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { padding: 10px; gap: 8px; border-radius: 20px; align-content: start; }
  .card .icon-tile { width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px; }
  .card h3 { font-size: .98rem; } .card p { font-size: .8rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card .price-row { padding-top: 8px; } .card .price { font-size: 1rem; } .card .price small { font-size: .68rem; }
  .card .go { width: 32px; height: 32px; } .card .go svg { width: 15px; }
  .bundle { margin-top: 12px; }
  .buybar { display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 10px 10px 20px; border-radius: var(--r-pill); }
  .buybar .btn { flex: 1; max-width: 190px; } .buybar .price { font-size: 1.1rem; }
  .pp .buy .btn { display: none; } .footer { margin-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
.guide { display: grid; gap: 8px; padding: 12px 14px; border-radius: 18px; background: var(--glass-2); border: 1px solid var(--edge-2); }
.guide ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.agree { display: flex; gap: 10px; align-items: center; font-size: .92rem; cursor: pointer; }
.agree input { width: 20px; height: 20px; accent-color: var(--accent, #4f7fe8); flex: none; }
.art { border-radius: 22px; overflow: hidden; margin-bottom: 14px; } .art img { display: block; width: 100%; height: auto; max-height: 280px; object-fit: cover; }
.so { display: grid; gap: 10px; } .so-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; min-height: 64px; color: inherit; text-decoration: none; }
.so-card span { display: grid; flex: 1; min-width: 0; } .so-card b { font-size: 1.05rem; } .so-card small { color: var(--muted); } .so-card svg { width: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; }
.so-card.off { opacity: .55; }
.checkout { display: grid; gap: 14px; max-width: 560px; margin-inline: auto; } .sum { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; } .sum > div:nth-child(2) { flex: 1; min-width: 160px; }
.pay { width: 100%; min-height: 54px; } .pay[disabled] { opacity: .6; }
.bundle { color: inherit; text-decoration: none; }
.center { text-align: center; justify-items: center; }
.one-line { white-space: nowrap; font-size: clamp(1.35rem, 7vw, 2.2rem); }
.ok-wrap { width: 96px; height: 96px; display: grid; place-items: center; }
.ok { width: 96px; height: 96px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ok-c { stroke: var(--accent, #4f7fe8); stroke-width: 3.5; stroke-dasharray: 176; stroke-dashoffset: 176; animation: ok-draw .7s ease-out .1s forwards; }
.ok-t { stroke: var(--accent, #4f7fe8); stroke-width: 5; stroke-dasharray: 40; stroke-dashoffset: 40; animation: ok-draw .45s ease-out .75s forwards; }
.ok-wrap { animation: ok-pop .5s cubic-bezier(.2,1.4,.4,1) 1s both; }
@keyframes ok-draw { to { stroke-dashoffset: 0; } }
@keyframes ok-pop { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ok-c, .ok-t { animation: none; stroke-dashoffset: 0; } .ok-wrap { animation: none; } }
.dls { display: grid; gap: 10px; margin-top: 10px; } .dl { display: flex; justify-content: center; text-align: center; text-decoration: none; }
.adm-form { display: grid; gap: 10px; margin-top: 12px; } .adm-form .field { width: 100%; } .lbl { display: grid; gap: 4px; font-size: .85rem; color: var(--muted); }
.key-main { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; } .key-main small { color: var(--muted); overflow-wrap: anywhere; } .key { align-items: flex-start; } .key-act { flex-wrap: wrap; }
.adm-edit { width: 100%; } .adm-ok { display: grid; gap: 8px; margin-top: 12px; padding: 12px 14px; border-radius: 18px; background: var(--glass-2); border: 1px solid var(--edge-2); }
code.big { font-size: 1.05rem; font-weight: 700; overflow-wrap: anywhere; } .btn.small { min-height: 40px; }

.adm-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
#adm-busca{margin-bottom:10px}

.adm-clean{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}

/* Topo em duas colunas, fundo vivo, faixas laterais e movimento suave */
.hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(20px, 4vw, 56px); justify-items: stretch; }
.hero-txt { display: grid; gap: 18px; justify-items: start; }
.hero-art { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 10px 0; max-width: 460px; justify-self: end; width: 100%; }
.fcard { border-radius: var(--r-xl); padding: 18px; display: grid; justify-items: center; gap: 10px; font-weight: 650; font-size: .92rem; color: var(--muted); animation: flutua 7s ease-in-out infinite; }
.fcard img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; }
.fcard.f1 { animation-delay: 0s; } .fcard.f2 { animation-delay: -1.8s; margin-top: 28px; } .fcard.f3 { animation-delay: -3.6s; margin-top: 4px; } .fcard.f4 { animation-delay: -5.2s; margin-top: 30px; }
@keyframes flutua { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1.2deg); } }

.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(90px); opacity: .32; will-change: transform; }
.aurora .o1 { background: #6d7cff; top: -14vmax; left: -10vmax; animation: deriva1 26s ease-in-out infinite; }
.aurora .o2 { background: #b06cff; top: 20vh; right: -16vmax; animation: deriva2 32s ease-in-out infinite; }
.aurora .o3 { background: #38bdf8; bottom: -20vmax; left: 24vw; opacity: .2; animation: deriva1 38s ease-in-out infinite reverse; }
:root[data-theme="light"] .aurora i { opacity: .2; }
@keyframes deriva1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8vmax, 6vmax) scale(1.12); } }
@keyframes deriva2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-9vmax, 8vmax) scale(.92); } }

.rail { display: none; position: fixed; top: 0; bottom: 0; width: 128px; overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.rail-track { display: grid; gap: 14px; animation: sobe 60s linear infinite; }
.rail-track.rev { animation-direction: reverse; animation-duration: 74s; }
.rail-track span { display: block; padding: 10px 14px; border-radius: var(--r-pill); border: 1px solid var(--edge-2); background: var(--glass); color: var(--faint); font-size: .8rem; font-weight: 650; text-align: center; white-space: nowrap; }
@keyframes sobe { to { transform: translateY(-50%); } }
@media (min-width: 1560px) {
  .rail { display: block; }
  .rail-l { left: calc((100vw - 1240px) / 4 - 64px); } .rail-r { right: calc((100vw - 1240px) / 4 - 64px); }
}
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero-art { display: none; } }
.card, .bundle { will-change: transform; }
.bundle { transition: transform .4s var(--ease), box-shadow .4s var(--ease); } .bundle:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .aurora i, .fcard, .rail-track { animation: none !important; } }

/* Carrossel de imagens dos apps */
.art.slider { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(120% 120% at 20% 0%, color-mix(in srgb, var(--a2) 22%, #0b1020), #0b1020 70%); }
.slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity .5s var(--ease); display: grid; place-items: center; }
.slide.on { opacity: 1; z-index: 1; }
.art.slider .slide img { width: 100%; height: 100%; max-height: none; object-fit: contain; padding: 3%; animation: zoomLento 9s ease-in-out infinite alternate; }
@keyframes zoomLento { from { transform: scale(1); } to { transform: scale(1.035); } }
.slide figcaption { position: absolute; left: 14px; bottom: 40px; padding: 6px 12px; border-radius: var(--r-pill); font-size: .8rem; font-weight: 650; color: #eef1fb; background: rgba(8,12,28,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tagilu { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: var(--r-pill); font-size: .7rem; font-weight: 700; letter-spacing: .03em; color: #eef1fb; background: rgba(8,12,28,.6); border: 1px solid rgba(255,255,255,.18); z-index: 2; }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.dot.on { width: 26px; border-radius: 6px; background: var(--grad); }

/* Pacote Titan em mockup */
.pack-art { aspect-ratio: 4 / 3; position: relative; display: grid; place-items: center; background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--a2) 26%, #0b1020), #0b1020 72%); }
.pack { position: relative; width: min(70%, 420px); aspect-ratio: 1 / .9; margin-top: 12%; }
.pack-glow { position: absolute; left: 50%; top: -6%; width: 120%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--a2) 55%, transparent), transparent); filter: blur(10px); animation: pulsa 5s ease-in-out infinite; }
@keyframes pulsa { 50% { opacity: .55; transform: translateX(-50%) scale(1.08); } }
.papp { position: absolute; width: 27%; aspect-ratio: 1; border-radius: 22%; object-fit: cover; z-index: 2; box-shadow: 0 14px 30px -10px rgba(0,0,0,.6); animation: sai 4.4s ease-in-out infinite; }
.papp.a1 { left: 6%; bottom: 52%; --r: -9deg; animation-delay: 0s; } .papp.a2 { left: 29%; bottom: 62%; --r: -3deg; animation-delay: -1.1s; }
.papp.a3 { left: 52%; bottom: 60%; --r: 4deg; animation-delay: -2.2s; } .papp.a4 { left: 69%; bottom: 50%; --r: 10deg; animation-delay: -3.3s; }
@keyframes sai { 0%, 100% { transform: translateY(14%) rotate(var(--r)); } 50% { transform: translateY(-14%) rotate(calc(var(--r) * -.6)); } }
.pack-box { position: absolute; left: 0; right: 0; bottom: 0; height: 56%; z-index: 3; }
.pack-lid { position: absolute; left: -3%; right: -3%; top: -9%; height: 14%; border-radius: 12px; background: linear-gradient(180deg, #8ea8ff, #6d7cf0); box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); }
.pack-front { position: absolute; inset: 0; border-radius: 6px 6px 20px 20px; background: linear-gradient(160deg, #7aa2f7, #9d8cf5 60%, #b08cf7); display: grid; place-content: center; justify-items: center; gap: 4px; color: #0b1020; box-shadow: 0 24px 40px -18px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.5); animation: balanca 6s ease-in-out infinite; }
.pack-front b { font-size: clamp(1rem, 2.6vw, 1.4rem); letter-spacing: -.01em; } .pack-front small { font-weight: 650; opacity: .75; }
@keyframes balanca { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .papp, .pack-front, .pack-glow, .art.slider .slide img { animation: none !important; } .papp.a1, .papp.a2, .papp.a3, .papp.a4 { transform: translateY(-8%); } }
.art.pack-art .papp { width: 27%; height: auto; max-height: none; aspect-ratio: 1; }
.art.pack-art .pack-front img { width: 46px; height: 46px; max-height: none; border-radius: 12px; }
.pack-front { padding-top: 6%; }

/* Botão de efeitos sonoros */
.som-toggle .s-on, .som-toggle .s-off { transition: opacity .3s; }
.som-toggle .s-on { opacity: 0; } .som-toggle.on .s-on { opacity: 1; } .som-toggle.on .s-off { opacity: 0; }

/* Seletor de plano (Titan Editor) */
button.so-card.plano { width: 100%; text-align: left; cursor: pointer; font: inherit; border: 1px solid transparent; }
button.so-card.plano.on { border-color: #7c6ae6; box-shadow: 0 0 0 2px rgba(124,106,230,.28); }
