/* DMX Studio — site de venda. Mesma paleta da aplicação: azul de palco e um âmbar de luz de trabalho. */
@font-face { font-family: "Plex Sans"; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0d1020; --surface: #141a2e; --surface-2: #1c2340; --line: #283152;
  --text: #e8eaf2; --muted: #9aa2bf; --accent: #f2a93b; --accent-ink: #1d1304; --live: #4cd99a; --danger: #ff6474;
  --sans: "Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }

/* barra */
.bar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); text-decoration: none; font-size: 18px; }
.lamp { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 3px #f2a93b80; }
.bar nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.bar nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.bar nav a:hover { color: var(--text); }
@media (max-width: 760px) { .bar nav a:not(.btn) { display: none; } }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 10px;
  font: 600 16px/1 var(--sans); text-decoration: none; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); cursor: pointer; }
.btn:hover { border-color: #3a4672; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #f6b955; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* topo */
.hero { padding: 72px 0 40px; text-align: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.08; letter-spacing: -.02em; margin: 0 auto 18px; max-width: 16ch; font-weight: 600; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }
.video { margin: 48px auto 0; max-width: 1000px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px #000c, 0 0 0 1px #ffffff08; background: #000; }
.video video { width: 100%; aspect-ratio: 16 / 9; }

/* secções */
section { padding: 72px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 12px; font-weight: 600; }
.sub { color: var(--muted); margin: 0 0 36px; max-width: 680px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
section.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center; margin-bottom: 64px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip { grid-template-columns: 1fr 1.25fr; }
.feature.flip .shot { order: 2; }
.feature .shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px -30px #000b; }
.feature .shot.phone { max-width: 300px; justify-self: center; border-radius: 28px; }
.feature h3 { font-size: 26px; margin: 0 0 12px; line-height: 1.2; }
.feature p { color: var(--muted); margin: 0 0 12px; }
.feature ul { margin: 0; padding-left: 20px; color: var(--text); }
.feature li { margin: 6px 0; }
@media (max-width: 860px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip .shot { order: 0; } }

.compat { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 15px; background: var(--surface-2); }
.chip b { color: var(--live); font-weight: 600; }
.chip i { color: var(--muted); font-style: normal; }

/* tabela de comparação */
table.cmp { width: 100%; border-collapse: collapse; font-size: 16px; }
table.cmp th, table.cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.cmp th { color: var(--muted); font-weight: 500; font-size: 14px; }
table.cmp td:nth-child(2) { color: var(--text); font-weight: 500; }
table.cmp td:nth-child(3) { color: var(--muted); }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }

/* preço */
.price { max-width: 520px; margin: 0 auto; text-align: center; border: 1px solid var(--accent); border-radius: 18px; padding: 36px 28px; background: linear-gradient(180deg, #f2a93b14, transparent 60%), var(--surface); }
.price .amount { font-size: 56px; font-weight: 600; letter-spacing: -.02em; line-height: 1; margin: 8px 0 6px; }
.price .amount small { font-size: 18px; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.price ul { text-align: left; margin: 24px auto; padding: 0; list-style: none; max-width: 360px; }
.price li { padding: 7px 0 7px 30px; position: relative; }
.price li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--live); border-bottom: 2px solid var(--live); transform: rotate(-45deg); }
.price .btn { width: 100%; }
.price .stack { display: grid; gap: 10px; }
.notice { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.notice.err { color: var(--danger); }

/* perguntas */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 500; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; max-width: 760px; }
.faq { max-width: 820px; }

/* rodapé */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* páginas de texto (legal, obrigado, descarregar) */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 0 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: #cfd4e6; }
.doc ol, .doc ul { padding-left: 22px; }
.draft { border: 1px dashed var(--accent); background: #f2a93b12; border-radius: 12px; padding: 14px 18px; color: var(--text); font-size: 15px; margin-bottom: 28px; }
mark.fill { background: #f2a93b33; color: var(--text); border-radius: 4px; padding: 0 4px; }
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 24px 0 8px; }
.downloads .card { display: flex; flex-direction: column; gap: 10px; }
.downloads .card small { color: var(--muted); }
code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: .92em; }
