:root {
  --bg: #16181c;
  --bg-alt: #1c1f24;
  --card: #22262c;
  --border: #30353d;
  --text: #d4d7dc;
  --text-strong: #f3f4f6;
  --muted: #8b929c;
  --accent: #1f8ad2;
  --accent-hover: #3aa0e6;
  --teal: #4ec9b0;
  --radius: 10px;
  --font: "Segoe UI", system-ui, -apple-system, Ubuntu, "Noto Sans", sans-serif;
  --mono: "Cascadia Mono", Consolas, "DejaVu Sans Mono", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-hover); }
code { font-family: var(--mono); font-size: 0.85em; }
h1, h2, h3 { color: var(--text-strong); line-height: 1.2; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* navegação */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(22, 24, 28, 0.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text-strong); font-weight: 600; font-size: 18px; text-decoration: none; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--text); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--text-strong); }
.nav nav a.lang { border: 1px solid var(--border); border-radius: 6px; padding: 1px 8px; font-size: 13px; font-weight: 600; }
.nav nav a.lang:hover { border-color: #4a515b; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); color: var(--text-strong); font-weight: 600; font-size: 15px; text-decoration: none; transition: background 0.15s, border-color 0.15s; }
.btn:hover { border-color: #4a515b; background: #2a2f36; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.block { display: flex; width: 100%; margin-top: 10px; }
.btn .size { font-weight: 400; font-size: 13px; opacity: 0.75; }

/* hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1000px 420px at 80% 0%, rgba(31, 138, 210, 0.18), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
/* Itens de grid não podem crescer até a largura natural das capturas (1440px). */
.hero-grid > *, .features > *, .gallery > *, .downloads > *, .pricing > * { min-width: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 600; color: var(--teal); margin: 0 0 8px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); margin: 0 0 16px; }
.lead { font-size: 18px; color: var(--text); margin: 0 0 24px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }

/* capturas */
.shot { display: block; width: 100%; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #1e1e1e; cursor: zoom-in; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); transition: transform 0.2s, border-color 0.2s; }
.shot:hover { transform: translateY(-2px); border-color: #4a515b; }
.hero-shot { box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); }

/* seções */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section h2 { font-size: 32px; margin: 0 0 8px; }
.section-lead { color: var(--muted); margin: 0 0 32px; max-width: 680px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.features article { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.features h3 { margin: 0 0 8px; font-size: 18px; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }

/* galeria: miniaturas pequenas */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery .shot { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.gallery figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }

/* download */
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dl-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.dl-card h3 { margin: 0; font-size: 22px; }
.dl-card .muted { margin: 4px 0 8px; }
.note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.checksums { margin-top: 20px; font-size: 14px; color: var(--muted); }
.checksums summary { cursor: pointer; }
.checksums ul { list-style: none; padding: 0; }
.checksums li { display: flex; flex-direction: column; gap: 2px; margin: 8px 0; }
.checksums code { word-break: break-all; color: var(--text); }

/* compra */
.pricing { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.price-card { background: var(--card); border: 1px solid var(--accent); border-radius: var(--radius); padding: 28px; box-shadow: 0 0 0 4px rgba(31, 138, 210, 0.12); }
.price { font-size: 56px; font-weight: 700; color: var(--text-strong); margin: 0; line-height: 1; }
.price .currency { font-size: 22px; font-weight: 600; vertical-align: top; margin-right: 4px; color: var(--muted); }
.steps { margin: 20px 0 0; padding-left: 20px; font-size: 14px; color: var(--muted); }
.steps li { margin: 6px 0; }
.compare table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; }
.compare th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.compare td:last-child { color: var(--teal); font-weight: 600; }
.compare tr:last-child td { border-bottom: none; }

/* contato */
.contact { text-align: center; }
.contact .email { font-size: 22px; font-weight: 600; text-decoration: none; }

.footer { border-top: 1px solid var(--border); padding: 24px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ampliar captura */
.lightbox { padding: 0; border: none; background: transparent; max-width: min(1440px, 96vw); max-height: 94vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.82); }
.lightbox img { max-height: 90vh; width: auto; border-radius: 8px; border: 1px solid var(--border); cursor: zoom-out; }
.lightbox-close { position: fixed; top: 16px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--text-strong); font-size: 24px; cursor: pointer; }

/* telas menores */
@media (max-width: 960px) {
  .hero-grid, .pricing { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .nav nav a:not(.lang) { display: none; }
  .features, .downloads, .gallery { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .section { padding: 52px 0; }
  .compare th, .compare td { padding: 10px; font-size: 14px; }
}

/* páginas de texto (privacidade) */
.doc { max-width: 760px; }
.doc h1 { font-size: 34px; margin: 0 0 4px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 20px; }
