/* LuzioSelect · landing. Tokens do design system (design-system/project/tokens.json), tema escuro. */
:root {
  --canvas: #141414;
  --surface: #1c1c1c;
  --surface-raised: #262626;
  --surface-hover: #2e2e2e;
  --line: #2b2b2b;
  --line-strong: #737373;
  --ink: #ececec;
  --ink-muted: #9a9a9a;
  --ink-faint: #5e5e5e;
  --accent: #f0a63a;
  --accent-soft: rgba(240, 166, 58, 0.16);
  --on-accent: #1a1206;
  --pick: #35c4bd;
  --stack: #6ea8ff;
  --scrim: rgba(12, 12, 12, 0.72);
  --on-scrim: #f2f2f2;
  --font-sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; }
kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 0 6px;
  font: 500 13px/22px var(--font-mono);
  text-align: center;
  color: var(--ink);
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
}
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }

/* Marca: o nome em Instrument Sans 700, "Select" em tungstênio. */
.brand { font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: -0.01em; }
.brand b { color: var(--accent); font-weight: 700; }
.brand-sm { font-size: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  font: 600 16px/1 var(--font-sans); text-decoration: none;
  border-radius: var(--r-sm); border: 1px solid transparent;
  transition: background-color 120ms ease-out, border-color 120ms ease-out;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #f4b45a; }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-hover); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }

/* Faixa da promoção (acima do topo; some ao rolar) */
.promo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; padding: 9px 16px; background: var(--accent); color: var(--on-accent); text-align: center; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.35; }
.promo-bar[hidden] { display: none; }
.promo-bar-cta { white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.promo-bar:hover .promo-bar-cta { text-decoration-thickness: 2px; }
.promo-bar:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }

/* Topo */
.top { position: sticky; top: 0; z-index: 10; background: rgba(20, 20, 20, 0.86); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.top-nav { display: flex; gap: 22px; margin-left: auto; }
.top-nav a { color: var(--ink-muted); text-decoration: none; font-size: 15px; }
.top-nav a:hover { color: var(--ink); }
.top-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Abertura */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--ink-muted); font: 500 13px/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.lead { margin-top: 20px; font-size: 18px; color: var(--ink-muted); max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { color: var(--ink-muted); font-size: 14px; margin-top: 14px; }
.center { text-align: center; }

/* Vídeo de abertura: vertical (9:16), com som desligado até a pessoa pedir. */
.hero-video { position: relative; margin: 0 auto; width: min(100%, 340px, calc(72svh * 9 / 16)); aspect-ratio: 9 / 16; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(240, 166, 58, 0.08); }
.hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-sound { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; font: 600 13px/1 var(--font-sans); color: var(--on-scrim); background: var(--scrim); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; cursor: pointer; backdrop-filter: blur(6px); }
.video-sound:hover { background: rgba(12, 12, 12, 0.88); }
.video-sound:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.video-sound svg { width: 16px; height: 16px; }

/* Download: dois botões grandes, Windows e macOS; o que ainda não tem instalador mostra "em breve". */
.dl { margin-top: 30px; }
/* Escondido até o download.js saber para quais sistemas há instalador: nada de "em breve" que vira botão depois. */
.dl-main { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; transition: opacity 120ms ease-out; }
.dl-ready .dl-main { opacity: 1; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-soon { color: var(--ink-muted); border: 1px dashed var(--line-strong); cursor: default; }
.btn-soon em { font: 500 12px/1 var(--font-mono); font-style: normal; text-transform: uppercase; letter-spacing: 0.05em; }

/* Faixas */
.band { padding: 84px 0; border-top: 1px solid var(--line); }
.band-alt { background: var(--surface); }
.section-lead { margin-top: 12px; color: var(--ink-muted); font-size: 18px; max-width: 60ch; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.feat { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.feat p { margin-top: 10px; color: var(--ink-muted); font-size: 15px; }

.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--canvas); }
.steps p { margin-top: 10px; color: var(--ink-muted); font-size: 15px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 14px; font: 600 14px/1 var(--font-mono); color: var(--accent); border: 1px solid var(--accent); border-radius: 50%; }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px; border-left: 2px solid var(--pick); border-bottom: 2px solid var(--pick); transform: rotate(-45deg); }

/* Para quem fotografa (fotos do Unsplash, créditos na legenda) */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.shot { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); aspect-ratio: 4 / 3; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 18px 16px; background: linear-gradient(transparent, rgba(12, 12, 12, 0.82)); color: var(--on-scrim); }
.shot b { display: block; font-size: 17px; }
.shot span { display: block; margin-top: 2px; font-size: 14px; color: rgba(242, 242, 242, 0.78); }
.credits { margin-top: 14px; color: var(--ink-faint); font-size: 13px; }
.credits a { color: var(--ink-muted); }

/* Preço */
.price-card { max-width: 440px; margin: 36px auto 0; padding: 32px; background: var(--canvas); border: 1px solid var(--line-strong); border-radius: var(--r-md); display: grid; gap: 24px; }
.price-name { font: 600 13px/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
.cur { font: 600 20px/1 var(--font-sans); color: var(--ink-muted); }
.val { font: 700 56px/1 var(--font-sans); letter-spacing: -0.02em; }
.per { font-size: 18px; color: var(--ink-muted); }
.price-note { margin-top: 8px; color: var(--accent); font-weight: 600; }
.price-old { display: block; margin-top: 12px; color: var(--ink-muted); font: 500 18px/1 var(--font-sans); }
.price-old + .price { margin-top: 4px; }
.price-promo { margin-top: 10px; padding: 8px 12px; border: 1px solid var(--accent); border-radius: var(--r-sm); background: var(--accent-soft); color: var(--ink); font-size: 15px; }
#preco h2 { text-align: center; }

/* Perguntas */
.faq { max-width: 780px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--font-mono); color: var(--ink-muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--ink-muted); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.final { background: var(--surface); }
.final-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.foot { padding: 32px 0; border-top: 1px solid var(--line); }
.foot-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: var(--ink-muted); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--ink); }
.foot .fine { margin: 0 0 0 auto; }

@media (max-width: 960px) {
  .hero-grid, .trust { grid-template-columns: 1fr; }
  /* O vídeo abre a página: vem antes do texto quando a tela é estreita. */
  .hero-video { order: -1; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shot:last-child { display: none; }
  .top-nav { display: none; }
  .top-actions { margin-left: auto; }
}
@media (max-width: 620px) {
  .hero { padding: 48px 0; }
  .top-actions { gap: 6px; }
  .top-actions .btn { padding: 0 10px; font-size: 13px; }
  .band { padding: 60px 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shot:last-child { display: block; }
  .dl-main .btn { flex: 1 1 100%; }
  .foot .fine { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
