/* WeS Audio Editor — site. Tema escuro como o editor; a linha do tempo é o fio condutor. */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JBMono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #05070d;
  --ink-2: #090d17;
  --panel: #0e1422;
  --panel-2: #131b2d;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #e9edf5;
  --muted: #c0c8d6;
  --dim: #a3adc0;
  --cyan: #22d3ee;
  --blue: #60a5fa;
  --violet: #a78bfa;
  --coral: #ff6b5e;
  --amber: #fbbf24;
  --green: #34d399;
  --grad: linear-gradient(90deg, #22d3ee, #60a5fa 45%, #a78bfa);
  --display: "Bricolage", "Instrument", system-ui, sans-serif;
  --body: "Instrument", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JBMono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --r: 14px;
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
/* o atributo hidden sempre esconde (mesmo com display definido pela classe) */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: rgba(34, 211, 238, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 100; top: 10px; left: 10px; background: var(--cyan); color: #000; padding: 8px 14px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.mono { font-family: var(--mono); }
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  /* o degradê só pinta dentro da caixa: com as letras apertadas, a ponta da última letra
     (e as pernas de p, g, ç) passava da caixa e ficava cortada. Folga compensada na margem. */
  padding: 0 .12em .1em 0; margin: 0 -.12em -.1em 0; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* --------------------------------------------------------------- barra (transporte) */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar-h);
  background: rgba(5, 7, 13, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.bar-in { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 22px; }
.bar-logo img { height: 26px; width: auto; }
.bar-nav { display: flex; gap: 4px; margin-left: auto; }
.bar-nav a {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .2s, background .2s;
}
.bar-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.bar-nav a[aria-current="page"] { color: var(--text); }
.bar-nav a[aria-current="page"] .mk { background: var(--cyan); color: #00151a; }
.mk { font: 500 11px/1 var(--mono); padding: 4px 5px; border-radius: 4px; background: rgba(255, 255, 255, .1); color: var(--dim); letter-spacing: .02em; }
.bar-nav-dl { display: none !important; }
.bar-tc { font: 500 14px var(--mono); color: var(--cyan); padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, .35); font-variant-numeric: tabular-nums; }
.bar-rec {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 13px; border-radius: 999px;
  background: var(--coral); color: #1a0402; font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 0 0 0 rgba(255, 107, 94, .5); transition: transform .15s, box-shadow .3s;
}
.bar-rec i { width: 9px; height: 9px; border-radius: 50%; background: #1a0402; }
.bar-rec:hover { transform: translateY(-1px); box-shadow: 0 6px 24px -6px rgba(255, 107, 94, .8); }
.bar-menu { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }
.bar-menu .ic-x { display: none; }
.bar-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.bar-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

/* --------------------------------------------------------------- botões */
.btn-dl {
  position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px 14px 18px; border-radius: 16px;
  background: #fff; color: #05070d; text-decoration: none; min-width: 280px;
  box-shadow: 0 18px 50px -18px rgba(34, 211, 238, .55), inset 0 -2px 0 rgba(0, 0, 0, .12);
  transition: transform .2s, box-shadow .3s;
}
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -16px rgba(34, 211, 238, .75), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn-dl-rec { position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: blink 1.6s infinite; }
.btn-dl-ic { width: 44px; height: 44px; border-radius: 12px; background: #05070d; color: var(--cyan); display: grid; place-items: center; }
.btn-dl-ic .ic { width: 24px; height: 24px; }
.btn-dl-txt { display: flex; flex-direction: column; line-height: 1.25; }
.btn-dl-txt b { font: 700 19px var(--display); letter-spacing: -.01em; }
.btn-dl-txt small { font: 500 12.5px var(--mono); color: #3b4456; }
@keyframes blink { 50% { opacity: .25; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 600;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s;
}
.btn:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .06); }
.btn .ic { transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); text-decoration: none; font-weight: 600; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* --------------------------------------------------------------- rótulos e réguas */
.tag {
  display: inline-flex; align-items: center; gap: 10px; font: 500 13.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.tag .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--cyan)); box-shadow: 0 0 12px var(--c, var(--cyan)); }
.tag b { color: var(--c, var(--cyan)); font-weight: 500; }
.ruler {
  height: 22px; position: relative; border-bottom: 1px solid var(--line-2);
  background:
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 100px) bottom left / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 20px) bottom left / 100% 6px no-repeat;
}

/* --------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(100svh, 980px); padding-top: var(--bar-h); display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(5, 7, 13, .92) 26%, rgba(5, 7, 13, .35) 58%, rgba(5, 7, 13, .1) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(5, 7, 13, 0) 34%);
}
.hero-main { flex: 1; display: flex; align-items: center; }
.hero-copy { max-width: 720px; padding: clamp(40px, 8vh, 100px) 0 40px; }
.hero h1 { font-size: clamp(54px, 9.4vw, 136px); font-weight: 750; letter-spacing: -.045em; line-height: .9; font-stretch: 88%; margin: 22px 0 26px; }
.hero h1 em { font-style: normal; display: block; }
.hero-lead { font-size: clamp(18px, 1.6vw, 21px); color: #e2e7ef; max-width: 560px; margin-bottom: 34px; }
.hero-lead b { color: #fff; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hero-alt { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.hero-alt a { color: var(--text); }
.hero-alt [data-dl-other] a { margin-right: 4px; }

/* linha do tempo do hero: régua, marcadores (atalhos) e a onda */
.tl { position: relative; padding: 0 0 26px; }
.tl-markers { position: relative; height: 34px; }
.tl-marker {
  position: absolute; bottom: 0; left: var(--x); display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px 5px 8px; font: 500 12.5px var(--mono); text-decoration: none; color: #fff; white-space: nowrap;
  background: color-mix(in srgb, var(--c) 30%, #0b1020); border-left: 2px solid var(--c); border-radius: 0 6px 6px 0;
  transition: transform .2s, background .2s;
}
.tl-marker:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--c) 50%, #0b1020); }
.tl-marker .ic { width: 15px; height: 15px; color: var(--c); }
.tl-wave { position: relative; height: 120px; border-bottom: 1px solid var(--line); }
.tl-wave canvas { width: 100%; height: 100%; }
.tl-head { position: absolute; top: 34px; bottom: 0; left: 0; width: 1px; background: var(--coral); pointer-events: none; transform: translateX(var(--px, 30vw)); transition: transform .08s linear; }
.tl-head::before { content: ""; position: absolute; top: 0; left: -6px; border: 6px solid transparent; border-top: 8px solid var(--coral); }
.tl-head span { position: absolute; top: 2px; left: 9px; font: 500 11px var(--mono); color: var(--coral); white-space: nowrap; }

/* --------------------------------------------------------------- seções */
.sec { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.sec-head { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 24px 60px; align-items: start; margin-bottom: clamp(40px, 6vw, 70px); }
.sec-head h2 { font-size: clamp(38px, 5.2vw, 72px); font-stretch: 90%; }
.sec-head p { color: var(--muted); font-size: 19px; max-width: 640px; margin-top: 18px; }
.lede { font-family: var(--body); font-size: clamp(21px, 2.1vw, 28px); line-height: 1.55; letter-spacing: -.005em; font-weight: 400; color: #d6dce7; max-width: 760px; }
.lede strong { color: #fff; font-weight: 600; }
.lede mark { background: none; color: #fff; background-image: linear-gradient(transparent 70%, rgba(34, 211, 238, .3) 70%); padding: 0 .06em; }

/* sobre */
.about { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 24px 60px; }
.about-side { position: sticky; top: calc(var(--bar-h) + 30px); align-self: start; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.fact { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 26px; }
.fact-h { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.fact-h .ic { width: 26px; height: 26px; color: var(--c, var(--cyan)); }
.fact-h h3 { font-size: 22px; letter-spacing: -.01em; }
.fact p { color: var(--muted); margin: 0; font-size: 16px; }

/* ofícios (pistas) */
.craft { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.craft.flip > .craft-media { order: -1; }
.craft + .craft { margin-top: clamp(100px, 14vw, 180px); }
.craft-track { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.craft-track .tag { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 8px; }
.craft-track .ms { display: flex; gap: 4px; }
.craft-track .ms i { font: 700 10.5px var(--mono); font-style: normal; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 5px; background: rgba(255, 255, 255, .06); color: var(--muted); }
.craft-track .ms i.on { background: var(--c); color: #000; }
.craft h2 { font-size: clamp(40px, 5vw, 68px); font-stretch: 88%; margin-bottom: 20px; }
.craft h2 span { color: var(--c); }
.craft-text > p { color: #dde3ec; font-size: 18.5px; max-width: 560px; }
.clips { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 10px; }
.clips li {
  position: relative; padding: 14px 16px 14px 20px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, transparent), transparent 80%);
  border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: 4px 12px 12px 4px;
}
.clips li b { display: block; font-weight: 650; font-size: 16.5px; margin-bottom: 2px; }
.clips li span { color: var(--muted); font-size: 15px; }
.craft-media { position: relative; }
.craft-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.craft-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.craft-media:hover .craft-photo img { transform: scale(1.08); }
.craft-shot {
  position: absolute; width: 78%; right: -6%; bottom: -12%; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .95), 0 0 0 6px rgba(5, 7, 13, .6);
  transform: rotate(-1.6deg); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.craft.flip .craft-shot { right: auto; left: -6%; transform: rotate(1.6deg); }
.craft-media:hover .craft-shot { transform: rotate(0) translateY(-6px); }
.craft-chip {
  position: absolute; top: 22px; left: -18px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
  background: rgba(9, 13, 23, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2);
  font: 500 13px var(--mono); color: var(--text); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8);
}
.craft.flip .craft-chip { left: auto; right: -18px; }
.craft-chip b { color: var(--c); font-size: 18px; }

/* cadeia de efeitos */
.chain { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; margin-top: 10px; }
.chain::before { content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--cyan) 0 8px, transparent 8px 14px); opacity: .5; animation: flow 1.2s linear infinite; background-size: 14px 2px; }
@keyframes flow { to { background-position: 14px 0; } }
.unit {
  position: relative; margin: 0 6px; padding: 18px 14px 16px; border-radius: 14px; background: linear-gradient(180deg, #121a2b, #0b111e);
  border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.unit-h { display: flex; align-items: center; gap: 10px; }
.unit-h h3 { font-size: 16px; letter-spacing: 0; font-family: var(--body); font-weight: 650; line-height: 1.2; }
.unit p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.knob {
  --v: .6; width: 34px; height: 34px; flex: none; border-radius: 50%; position: relative;
  background: conic-gradient(from 225deg, var(--c, var(--cyan)) calc(var(--v) * 270deg), rgba(255, 255, 255, .08) 0 270deg, transparent 0);
}
.knob::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2b3550, #0b1020); box-shadow: 0 2px 4px rgba(0, 0, 0, .6); }
.knob::after { content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 8px; margin-left: -1px; border-radius: 2px; background: #fff; transform-origin: 1px 10px; transform: rotate(calc(-135deg + var(--v) * 270deg)); }

/* faixa de números (medidores) */
.meters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--ink-2); }
.meter { padding: 30px 28px; position: relative; border-right: 1px solid var(--line); }
.meter:last-child { border-right: 0; }
.meter-n { font: 700 clamp(44px, 5vw, 66px)/1 var(--display); letter-spacing: -.04em; font-stretch: 85%; }
.meter-n small { font-size: .45em; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.meter p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }
.meter-bar { display: flex; gap: 3px; margin-top: 20px; height: 8px; }
.meter-bar i { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, .06); transition: background .3s; }
.in .meter-bar i.on { background: var(--green); }
.in .meter-bar i.on.y { background: var(--amber); }
.in .meter-bar i.on.r { background: var(--coral); }

/* chamada de download */
.dlbox {
  position: relative; border-radius: 28px; padding: clamp(36px, 6vw, 72px) clamp(36px, 6vw, 72px) clamp(110px, 10vw, 130px); overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 100% 0%, rgba(167, 139, 250, .22), transparent 50%), radial-gradient(90% 120% at 0% 100%, rgba(34, 211, 238, .2), transparent 55%), var(--ink-2);
  border: 1px solid var(--line-2);
}
.dlbox::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; z-index: -1; opacity: .5; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='90'%3E%3Cpath d='M0 45h8v-6h4v18h4V27h4v36h4V15h4v60h4V33h4v24h4V21h4v48h4V39h4v12h4V9h4v72h4V30h4v30h4V18h4v54h4V36h4v18h4V24h4v42h4V42h4v6h8' fill='none' stroke='%2322d3ee' stroke-width='2'/%3E%3C/svg%3E") repeat-x bottom / 240px 90px; }
.dlbox h2 { font-size: clamp(40px, 6vw, 84px); font-stretch: 85%; max-width: 820px; margin-bottom: 18px; }
.dlbox > p { color: #dde3ec; font-size: 19px; max-width: 620px; margin-bottom: 34px; }
.dl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; }
.dl-others { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-others a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); text-decoration: none; font-size: 14.5px; color: var(--muted); transition: color .2s, border-color .2s; }
.dl-others a:hover { color: var(--text); border-color: var(--cyan); }
.dl-others a .ic { width: 18px; height: 18px; }

/* --------------------------------------------------------------- páginas internas */
.phero { position: relative; padding: calc(var(--bar-h) + clamp(60px, 10vw, 120px)) 0 clamp(50px, 7vw, 80px); overflow: hidden; isolation: isolate; }
.phero h1 { font-size: clamp(48px, 7.6vw, 108px); font-stretch: 86%; letter-spacing: -.04em; max-width: 1000px; margin: 20px 0 22px; }
.phero p { font-size: clamp(18px, 1.6vw, 21px); color: #dde3ec; max-width: 700px; }
.phero-img { position: absolute; inset: 0; z-index: -1; }
.phero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.phero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 15%, rgba(5, 7, 13, .5)), linear-gradient(0deg, var(--ink), transparent 50%); }

/* telas */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; position: sticky; top: calc(var(--bar-h) + 10px); z-index: 5; padding: 8px; border-radius: 14px; background: rgba(9, 13, 23, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.filters button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 9px 14px; border-radius: 9px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 15px; }
.filters button .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--text)); }
.filters button[aria-pressed="true"] { background: rgba(255, 255, 255, .08); color: var(--text); }
.shot { margin: 0 0 clamp(70px, 9vw, 110px); }
.shot-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 50px; align-items: end; margin-bottom: 24px; }
.shot-head h2 { font-size: clamp(30px, 3.4vw, 46px); margin-top: 12px; }
.shot-head p { color: var(--muted); font-size: 17px; margin: 0; max-width: 560px; }
.shot[hidden] { display: none; }
.shot-frame { position: relative; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .6); background: #0b0f19; }
.shot-frame img { border-radius: 13px; width: 100%; cursor: zoom-in; }
.hot {
  position: absolute; z-index: 1; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 20px; height: 20px; border-radius: 50%;
  border: 0; padding: 0; background: var(--c, var(--cyan)); color: #00151a; font: 700 11px var(--mono); cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 0 0 2px rgba(5, 7, 13, .75);
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s;
}
/* ondas que saem do número ativo (como um sinal se propagando) */
.hot::before, .hot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 2px solid var(--c, var(--cyan)); opacity: 0;
}
.hot.on, .hot:hover, .hot:focus-visible {
  z-index: 3; transform: translate(-50%, -50%) scale(1.6);
  box-shadow: 0 0 0 2px rgba(5, 7, 13, .8), 0 0 14px 3px var(--c, var(--cyan)), 0 0 34px 6px color-mix(in srgb, var(--c, var(--cyan)) 45%, transparent);
}
.hot.on::before { animation: ripple 1.8s cubic-bezier(.2, .6, .3, 1) infinite; }
.hot.on::after { animation: ripple 1.8s cubic-bezier(.2, .6, .3, 1) .9s infinite; }
@keyframes ripple { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.shot-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.notes li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s; }
.notes li.on { border-color: color-mix(in srgb, var(--c, var(--cyan)) 45%, transparent); }
/* só o item ativo mostra a explicação: a lista fica mais baixa que a tela ao lado */
.notes li span { display: none; }
.notes li.on span { display: block; }
.notes li.on, .notes li:hover { background: rgba(255, 255, 255, .05); }
.notes li > i { width: 26px; height: 26px; border-radius: 50%; background: var(--c, var(--cyan)); color: #00151a; font: 700 12px var(--mono); font-style: normal; display: grid; place-items: center; }
.notes b { display: block; font-size: 16px; line-height: 1.35; }
.notes span { color: var(--muted); font-size: 15.5px; line-height: 1.5; display: block; margin-top: 2px; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(2, 3, 7, .9); backdrop-filter: blur(6px); }
.lightbox img { max-width: 96vw; max-height: 90vh; border-radius: 10px; }
.lightbox button { position: fixed; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(9, 13, 23, .9); display: grid; place-items: center; cursor: pointer; }

/* rack de efeitos */
.rack { border-radius: 18px; padding: 14px; background: linear-gradient(180deg, #0f1524, #090d17); border: 1px solid var(--line-2); display: grid; gap: 10px; }
.ru {
  display: grid; grid-template-columns: 14px minmax(0, 1.25fr) minmax(0, 1fr) 14px; gap: 22px; align-items: center; padding: 18px 16px; border-radius: 10px;
  background: linear-gradient(180deg, #161e31, #10172a); border: 1px solid rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 6px 14px -10px #000;
}
.ru::before, .ru::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3a4560, #121828); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5); }
.ru::after { grid-column: 4; }
.ru-h { display: flex; align-items: center; gap: 12px; }
.ru-led { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--green)); box-shadow: 0 0 10px var(--c, var(--green)); flex: none; }
.ru h3 { font-size: 21px; letter-spacing: -.01em; }
.ru p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.ru-knobs { display: flex; flex-wrap: wrap; gap: 16px 18px; justify-content: flex-end; }
.ru-k { display: flex; align-items: center; gap: 8px; font: 500 11px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.presets span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: #dde3ec; }

/* duas colunas genéricas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split h2 { font-size: clamp(34px, 4vw, 56px); font-stretch: 90%; margin: 16px 0 18px; }
.split p { color: #dde3ec; font-size: 18px; }
.figure { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px #000; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: #e2e7ef; }
.ticks .ic { color: var(--green); margin-top: 3px; width: 20px; height: 20px; }

/* novidades */
.rel { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px 60px; padding: 60px 0; border-top: 1px solid var(--line); }
.rel-side { position: sticky; top: calc(var(--bar-h) + 30px); align-self: start; }
.rel-v { font: 700 clamp(56px, 6vw, 84px)/1 var(--display); letter-spacing: -.04em; font-stretch: 80%; }
.rel-date { font: 500 13.5px var(--mono); color: var(--muted); margin-top: 10px; }
.rel-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(52, 211, 153, .12); color: var(--green); font: 600 13px var(--body); }
.rel-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rel-intro { font-size: 20px; color: #e2e7ef; margin-bottom: 34px; }
.rel-group { margin-bottom: 34px; }
.rel-group-h { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.rel-group-h .ic { width: 22px; height: 22px; color: var(--c, var(--cyan)); }
.rel-group-h h3 { font-size: 22px; letter-spacing: -.01em; }
.rel-group ul { margin: 0; padding: 0 0 0 4px; list-style: none; display: grid; gap: 9px; }
.rel-group li { position: relative; padding-left: 22px; color: #dde3ec; }
.rel-group li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 4px; border-radius: 2px; background: var(--c, var(--cyan)); }

/* baixar */
.dl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dl-card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--ink-2); }
.dl-card.mine { border-color: color-mix(in srgb, var(--cyan) 60%, transparent); background: radial-gradient(120% 100% at 100% 0%, rgba(34, 211, 238, .12), transparent 60%), var(--ink-2); }
.dl-card.mine::before { content: "Seu sistema"; position: absolute; top: -12px; left: 24px; padding: 4px 10px; border-radius: 6px; background: var(--cyan); color: #00151a; font: 700 12px var(--mono); }
.dl-card-h { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dl-card-h .ic { width: 34px; height: 34px; color: var(--c, var(--text)); }
.dl-card-h h3 { font-size: 24px; letter-spacing: -.01em; line-height: 1.1; }
.dl-card-h small { display: block; font: 500 12.5px var(--mono); color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.dl-card > p { color: var(--muted); font-size: 15px; }
.dl-file { margin-top: auto; padding-top: 18px; }
.dl-file .btn { width: 100%; justify-content: center; background: #fff; color: #05070d; border-color: #fff; }
.dl-file .btn:hover { background: var(--cyan); border-color: var(--cyan); }
.dl-meta { display: flex; justify-content: space-between; gap: 10px; font: 500 13px var(--mono); color: var(--dim); margin-top: 10px; }
.sha { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--dim); font: 500 13px var(--mono); }
.sha:hover { color: var(--text); }
.sha .ic { width: 14px; height: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step { padding: 24px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); }
.step-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step-h .ic { width: 24px; height: 24px; color: var(--c, var(--cyan)); }
.step-h h3 { font-size: 20px; letter-spacing: -.01em; }
.step ol { margin: 0; padding-left: 20px; color: #dde3ec; display: grid; gap: 8px; font-size: 15.5px; }
code, .code { font: 500 13.5px var(--mono); background: rgba(255, 255, 255, .06); padding: 2px 6px; border-radius: 6px; color: #d6f8ff; word-break: break-all; }
.note { padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(251, 191, 36, .3); background: rgba(251, 191, 36, .06); color: #e8dcc0; font-size: 15.5px; }
.note b { color: var(--amber); }
.none { padding: 26px; border-radius: 18px; border: 1px dashed var(--line-2); color: var(--muted); }
.legal { columns: 2 320px; column-gap: 50px; color: var(--muted); font-size: 15.5px; }
.legal h3 { color: var(--text); font-size: 19px; margin: 0 0 8px; break-after: avoid; }
.legal p { break-inside: avoid; }

/* --------------------------------------------------------------- rodapé */
.foot { margin-top: 60px; padding-bottom: 40px; background: var(--ink-2); }
.foot-ruler { height: 26px; border-top: 1px solid var(--line-2); background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 100px) top left / 100% 14px no-repeat, repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 20px) top left / 100% 7px no-repeat; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.foot-brand img { height: 30px; width: auto; margin-bottom: 18px; }
.foot-brand p, .foot-by p { color: var(--muted); font-size: 15px; }
.foot-ver { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--mono); color: var(--text) !important; }
.foot-ver .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col b { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 4px; }
.foot-col a { color: #dde3ec; text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: var(--cyan); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; border-top: 1px solid var(--line); padding-top: 22px; color: var(--dim); font-size: 14.5px; }

/* --------------------------------------------------------------- entrada ao rolar */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- responsivo */
@media (max-width: 1180px) {
  .bar-tc { display: none; }
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .chain::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
/* o menu completo só cabe com folga acima de 1100 px: abaixo disso, menu ☰ */
@media (max-width: 1100px) {
  :root { --bar-h: 60px; }
  .bar-menu { display: inline-flex; }
  .bar-nav {
    position: fixed; inset: var(--bar-h) 0 auto; flex-direction: column; gap: 2px; padding: 14px var(--pad) 24px; margin: 0;
    background: rgba(5, 7, 13, .97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .bar-nav a { font-size: 19px; padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .bar-nav-dl { display: flex !important; }
  .bar.open .bar-nav { transform: none; opacity: 1; visibility: visible; }
  .bar.open .bar-menu .ic-x { display: block; }
  .bar.open .bar-menu .ic:not(.ic-x) { display: none; }
  .bar-rec { margin-left: auto; }
}
@media (max-width: 960px) {
  .sec-head, .about { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .craft, .split { grid-template-columns: 1fr; }
  .shot-body { grid-template-columns: 1fr; gap: 16px; }
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notes li { cursor: default; }
  .notes li span { display: block; }
  .craft.flip > .craft-media { order: 0; }
  .craft-media { margin: 0 4% 12%; }
  .meters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meter:nth-child(2) { border-right: 0; }
  .meter:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .rel { grid-template-columns: 1fr; padding: 44px 0; }
  .rel-side { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
  .dl-cards, .steps, .steps.four { grid-template-columns: 1fr; }
  .ru { grid-template-columns: 14px minmax(0, 1fr) 14px; }
  .ru-knobs { grid-column: 2; justify-content: flex-start; }
  .ru::after { grid-column: 3; grid-row: 1; }
  .tl-marker { font-size: 11px; padding: 4px 8px 4px 6px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-s { display: none; }
  .bar-logo img { height: 21px; }
  .bar-rec { padding: 8px 12px 8px 11px; font-size: 14px; }
  .hero h1 { margin-top: 16px; }
  .hero-bg img { object-position: 78% 50%; opacity: .7; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(5, 7, 13, .55), rgba(5, 7, 13, .8) 45%, var(--ink)); }
  .btn-dl { min-width: 0; width: 100%; }
  .tl-markers { height: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-bottom: 10px; }
  .tl-marker { position: static; justify-content: center; padding: 9px 2px; font: 600 14px/1.1 var(--body); letter-spacing: 0; }
  .tl-marker .ic { display: none; }
  .tl-head { display: none; }
  .tl-wave { height: 80px; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(even) { padding: 22px 0; border-right: 0 !important; }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unit { margin: 0 4px; }
  .craft-shot { width: 86%; right: -3%; bottom: -16%; }
  .craft.flip .craft-shot { left: -3%; }
  .craft-chip { left: 10px; top: 10px; font-size: 12px; }
  .craft.flip .craft-chip { right: 10px; }
  .meter { padding: 22px 18px; }
  .notes { grid-template-columns: 1fr; }
  .shot-head { grid-template-columns: 1fr; }
  .hot { width: 18px; height: 18px; font-size: 10px; }
  .filters { width: 100%; }
  .filters button { padding: 8px 11px; font-size: 14px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .dl-row { flex-direction: column; align-items: stretch; }
}
