/* =====================================================================
   Portfólio Beatriz Medeiros — visual inspirado em editor de vídeo de
   timeline clássico (tema cinza escuro, janelas encaixadas) com rosa.
   Cores principais aqui em cima.
   ===================================================================== */
:root {
  --bg: #19191b;              /* fundo entre as janelas */
  --win: #2a2a2d;             /* corpo das janelas */
  --win-2: #232326;           /* barras e áreas internas */
  --win-3: #3a3a3f;           /* botões */
  --field: #1c1c1f;           /* campos e telas */
  --line: #111113;            /* borda escura */
  --edge: rgba(255,255,255,.05); /* brilho de borda */
  --text: #e4e4e8;
  --muted: #b0b0b9;
  --dim: #93939d;
  --accent: #ff5fa8;          /* rosa da marca */
  --accent-hi: #ff8cc3;
  --accent-ink: #2a0016;
  --accent-soft: rgba(255,95,168,.16);
  --t-text: #ff5fa8;          /* trilha 1: legendas */
  --t-fx: #b98cff;            /* trilha 2: efeitos */
  --t-video: #5aa9ff;         /* trilha 3: vídeo */
  --t-audio: #43d19e;         /* trilha 4: áudio */
  --solo: #ffd24d;
  --todo: #f5b524;
  --r: 3px;
  --top: 48px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --display: "Archivo", var(--font);
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .f { fill: currentColor; stroke: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; letter-spacing: -.015em; margin: 0; line-height: 1.06; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 3px; }
.skip:focus { left: 8px; }
.wrap { width: min(1600px, 100% - 12px); margin-inline: auto; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: var(--r); border: 1px solid var(--line);
  font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
  transition: transform .15s, background .15s, box-shadow .2s, filter .15s;
}
.btn:active { transform: scale(.97); }
.btn--accent { background: linear-gradient(#ff74b4, var(--accent)); color: var(--accent-ink); border-color: #b8326f; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.btn--accent:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 22px -6px rgba(255,95,168,.7); }
.btn--ghost { background: linear-gradient(#44444a, #38383d); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.btn--ghost:hover { filter: brightness(1.12); }
.btn--block { width: 100%; }

.eyebrow { display: flex; align-items: center; gap: 8px; font: 700 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 0 4px rgba(255,77,94,.18); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- placeholders a preencher ---------- */
.todo {
  position: relative; border: 1px dashed var(--todo); background: rgba(245,181,36,.08);
  border-radius: 3px; padding: 10px 12px; color: #f7d58a;
}
.todo::before {
  content: "PREENCHER"; display: inline-block; margin-right: 8px; padding: 2px 6px; border-radius: 2px;
  background: var(--todo); color: #241a00; font: 700 10px/1.4 var(--mono); letter-spacing: .04em; vertical-align: 1px;
}

/* =====================================================================
   Barra de menus
   ===================================================================== */
.top {
  position: sticky; top: 0; z-index: 40; height: var(--top);
  display: flex; align-items: center; gap: 14px; padding: 0 10px;
  background: linear-gradient(#2f2f33, #252528); border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--edge);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; min-width: 0; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 3px; display: grid; place-items: center;
  font: 800 13px/1 var(--display); font-stretch: 120%; color: var(--accent-ink);
  background: linear-gradient(135deg, #ffb3d6, var(--accent) 55%, #d93a86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 1px #8a1f52;
}
.brand__txt { display: grid; line-height: 1.15; min-width: 0; }
.brand__txt b { font-size: 13.5px; }
.brand__txt small { font: 500 10.5px/1.3 var(--mono); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu { display: flex; gap: 1px; margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--line); box-shadow: -1px 0 0 var(--edge); }
.menu a { padding: 5px 11px; border-radius: 2px; text-decoration: none; color: var(--muted); font-size: 13px; }
.menu a:hover { background: var(--win-3); color: var(--text); }
.menu a.is-on { color: var(--accent); background: var(--accent-soft); }
.tbar { display: flex; align-items: center; gap: 2px; margin-left: auto; color: var(--dim); }
.tbar svg { width: 28px; height: 26px; padding: 5px; border-radius: 2px; stroke-width: 1.6; }
.tbar i { width: 1px; height: 18px; background: var(--line); box-shadow: 1px 0 0 var(--edge); margin: 0 6px; }
.btn--render { height: 32px; padding: 0 14px; font-size: 13px; }
.btn--render svg { width: 16px; height: 16px; }

/* =====================================================================
   Janelas encaixadas
   ===================================================================== */
.win {
  background: var(--win); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: inset 0 1px 0 var(--edge); overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.win__title {
  display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px 0 6px; flex: none;
  background: linear-gradient(#343438, #2b2b2f); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted);
}
.win__title::before { content: ""; width: 6px; height: 14px; flex: none; background: radial-gradient(circle, #5a5a62 1px, transparent 1.4px) 0 0 / 3px 3px; }
.win__title > span:first-of-type { color: var(--text); font-weight: 600; }
.win__sp { flex: 1; }
.win__k { font: 500 11px/1 var(--mono); color: var(--dim); }
.win__x { color: var(--dim); font-size: 15px; line-height: 1; padding: 0 2px; }
.win__chip { font-size: 11px; padding: 2px 18px 2px 8px; border: 1px solid var(--line); border-radius: 2px; background: var(--win-3) linear-gradient(135deg, transparent 50%, var(--dim) 50%) no-repeat right 7px center / 5px 5px; color: var(--muted); }
.win__pad { padding: clamp(18px, 3vw, 34px); }

/* abas das janelas (embaixo, como no editor) */
.dk { display: flex; flex: none; background: #202023; border-top: 1px solid var(--line); overflow: hidden; }
.dk a, .dk span { padding: 6px 14px; font-size: 12px; color: var(--dim); text-decoration: none; border-right: 1px solid var(--line); white-space: nowrap; }
.dk a:hover { color: var(--text); background: #2a2a2e; }
.dk .is-on { color: var(--text); background: var(--win); box-shadow: inset 0 -2px 0 var(--accent); margin-top: -1px; }

/* =====================================================================
   HERO — área de trabalho
   ===================================================================== */
.ws { padding: 6px; display: grid; gap: 6px; }
.ws__grid {
  display: grid; gap: 6px;
  grid-template-columns: minmax(340px, 1.08fr) minmax(0, 1fr) 270px;
  height: clamp(440px, calc(100svh - var(--top) - 322px), 720px);
}
.win--intro .intro { padding: clamp(18px, 2.2vw, 30px); display: flex; flex-direction: column; flex: 1; overflow: auto; min-height: 0; scrollbar-width: thin; }
.intro h1 { font-size: clamp(30px, 2.75vw, 46px); font-weight: 800; }
.intro h1 mark {
  color: var(--accent-ink); background: var(--accent); padding: 0 .12em; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.intro__sub { color: var(--muted); margin-top: 14px; max-width: 46ch; }
.langs { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.langs li { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 3px; border-radius: 2px; background: var(--field); border: 1px solid var(--line); font-size: 12.5px; color: var(--text); }
.langs b { font: 700 11px/1 var(--mono); background: var(--accent); color: var(--accent-ink); padding: 4px 6px; border-radius: 2px; }
.intro__ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.intro__niches { list-style: none; padding: 0; margin: auto 0 0; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 5px; }
.intro__niches li { font-size: 11.5px; padding: 3px 9px; border-radius: 2px; background: var(--win-2); border: 1px solid var(--line); color: var(--muted); display: flex; align-items: center; gap: 6px; }
.intro__niches i { width: 7px; height: 7px; border-radius: 1px; background: var(--c, var(--accent)); }
.intro__niches .is-focus { color: var(--text); border-color: var(--c); }
.intro__niches b { font: 600 9.5px/1 var(--mono); text-transform: uppercase; padding: 2px 5px; border-radius: 2px; background: var(--c); color: #111; }

/* Visualização de vídeo */
.win--preview { background: #202023; }
.player { flex: 1; min-height: 0; display: grid; place-items: center; padding: 10px; position: relative;
  background: #0c0c0d radial-gradient(60% 60% at 50% 45%, rgba(255,95,168,.09), transparent 70%); }
.player__stage {
  position: relative; height: 100%; max-width: 100%; aspect-ratio: var(--ar, 9 / 16);
  overflow: hidden; background: #000; box-shadow: 0 0 0 1px #000, 0 0 0 2px #2c2c30;
  cursor: pointer;
}
.player__stage video { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.player__seg {
  position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: 2px;
  font: 700 11px/1.2 var(--mono); letter-spacing: .06em; color: var(--accent-ink); background: var(--accent);
  transition: transform .25s, opacity .25s;
}
.player__seg.is-swap { transform: translateY(-4px); opacity: 0 !important; }
.player__safe { position: absolute; inset: 7% 8%; border: 1px dashed rgba(255,255,255,.14); pointer-events: none; }
.pvinfo { margin: 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2px 16px; padding: 6px 10px; border-top: 1px solid var(--line); background: var(--win); font: 500 11px/1.45 var(--mono); }
.pvinfo div { display: flex; gap: 6px; min-width: 0; white-space: nowrap; }
.pvinfo dt { color: var(--dim); }
.pvinfo dd { margin: 0; color: var(--text); overflow: hidden; text-overflow: ellipsis; }

/* Propriedades + medidor */
.props__wrap { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 52px; }
.props { margin: 0; padding: 10px; display: grid; gap: 3px; align-content: start; overflow: auto; font-size: 12px; scrollbar-width: thin; }
.props__grp { color: var(--accent); font: 700 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; margin: 10px 0 4px; }
.props__grp:first-child { margin-top: 0; }
.props__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 8px; background: var(--win-2); border: 1px solid #1d1d20; border-radius: 2px; }
.props__row dt { color: var(--muted); }
.props__row dd { margin: 0; font-weight: 600; text-align: right; display: flex; }
.chk { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 2px; background: var(--accent); }
.chk::after { content: ""; width: 7px; height: 4px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.props__slider { display: grid; gap: 7px; padding: 8px; background: var(--win-2); border: 1px solid #1d1d20; border-radius: 2px; }
.props__slider span { display: flex; justify-content: space-between; color: var(--muted); }
.props__slider span b { color: var(--text); font: 500 11px var(--mono); }
.props__slider i { height: 4px; background: linear-gradient(90deg, var(--accent) var(--v), #151517 var(--v)); position: relative; }
.props__slider i::after { content: ""; position: absolute; left: var(--v); top: 50%; width: 8px; height: 13px; border-radius: 1px; background: linear-gradient(#e4e4e8, #a5a5ad); box-shadow: 0 0 0 1px #111; transform: translate(-50%, -50%); }
.meter { border-left: 1px solid var(--line); background: var(--win-2); display: grid; grid-template-rows: auto 1fr; grid-template-columns: auto auto; justify-content: center; gap: 6px 3px; padding: 8px 4px 10px; }
.meter p { grid-column: 1 / -1; font: 600 9.5px/1 var(--mono); color: var(--dim); text-align: center; }
.meter__bars { display: flex; gap: 3px; }
.meter__bars i { width: 7px; background: #111113; position: relative; overflow: hidden; }
.meter__bars b { position: absolute; inset: 0; background: linear-gradient(to top, var(--accent) 0 62%, #ffb35f 80%, #ff4d4d 100%); clip-path: inset(calc((1 - var(--l, 0)) * 100%) 0 0 0); }
.meter__scale { display: flex; flex-direction: column; justify-content: space-between; font: 500 8.5px/1 var(--mono); color: var(--dim); }

/* =====================================================================
   Linha do tempo
   ===================================================================== */
.tl { background: var(--win); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tl__grid { --hw: 236px; --p: 0; position: relative; display: grid; grid-template-columns: var(--hw) minmax(0, 1fr); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.tl__tc { display: grid; align-content: center; gap: 1px; padding: 4px 10px; background: #1d1d20; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tl__tc b { font: 700 22px/1 var(--mono); color: var(--accent); letter-spacing: .01em; }
.tl__tc small { font: 500 10.5px/1.3 var(--mono); color: var(--dim); }
.tl__rulerwrap { position: relative; border-bottom: 1px solid var(--line); cursor: pointer; }
.tl__markers { position: relative; height: 20px; background: #26262a; border-bottom: 1px solid #1c1c1f; }
.mk { position: absolute; top: 2px; display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--dim); font-size: 10.5px; white-space: nowrap; z-index: 6; }
.mk b { display: grid; place-items: center; min-width: 15px; height: 15px; padding: 0 3px; background: #c9477f; color: #fff; font: 700 9.5px/1 var(--mono); border-radius: 1px; clip-path: polygon(0 0, 100% 0, 100% 100%, 4px 100%, 0 calc(100% - 4px)); }
.mk.is-on b { background: var(--accent); color: var(--accent-ink); }
.mk.is-on span { color: var(--text); }
.mk:hover span { color: var(--text); }
.tl__ruler { position: relative; height: 26px; background: #2e2e32 repeating-linear-gradient(90deg, #55555c 0 1px, transparent 1px 2.5%) bottom / 100% 6px no-repeat; }
.tl__ruler span { position: absolute; top: 4px; font: 500 10px/1 var(--mono); color: var(--muted); padding-left: 4px; }
.tl__ruler span::before { content: ""; position: absolute; left: 0; top: -4px; width: 1px; height: 26px; background: #6a6a72; }
.mkl { position: absolute; top: 20px; bottom: 0; left: calc(var(--hw) + (100% - var(--hw)) * var(--a)); border-left: 1px dashed rgba(255,95,168,.32); pointer-events: none; z-index: 4; }

/* cabeçalhos de trilha */
.th { display: flex; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #333337, #2c2c30); min-width: 0; }
.th--text { --tc: var(--t-text); } .th--fx { --tc: var(--t-fx); } .th--video { --tc: var(--t-video); } .th--audio { --tc: var(--t-audio); }
.th__n { width: 20px; flex: none; display: grid; justify-content: center; padding-top: 5px; background: var(--tc); color: #131315; font: 700 11px/1 var(--mono); box-shadow: inset -1px 0 0 rgba(0,0,0,.4); }
.th__main { flex: 1; min-width: 0; padding: 4px 8px; display: grid; gap: 4px; align-content: center; }
.th__row { display: flex; align-items: center; gap: 3px; min-width: 0; }
.th__row b { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th__b { width: 20px; height: 17px; padding: 0; border: 1px solid #151517; border-radius: 2px; background: linear-gradient(#4a4a50, #3a3a3f); color: var(--muted); font: 700 10px/1 var(--mono); }
.th__b:hover { color: var(--text); }
.th__b[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: #8a1f52; }
.th__b--s[aria-pressed="true"] { background: var(--solo); color: #2a2000; border-color: #8a6e00; }
.th__lvl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; font-size: 10.5px; color: var(--dim); }
.th__lvl output { font: 500 10px/1 var(--mono); color: var(--muted); min-width: 50px; text-align: right; }
.th__lvl input { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; margin: 0; background: transparent; cursor: pointer; }
.th__lvl input::-webkit-slider-runnable-track { height: 4px; background: #151517; border-radius: 1px; box-shadow: 0 1px 0 var(--edge); }
.th__lvl input::-moz-range-track { height: 4px; background: #151517; border-radius: 1px; }
.th__lvl input::-webkit-slider-thumb { -webkit-appearance: none; width: 8px; height: 13px; margin-top: -4.5px; border-radius: 1px; background: linear-gradient(#ececf0, #a8a8b0); box-shadow: 0 0 0 1px #111; }
.th__lvl input::-moz-range-thumb { width: 8px; height: 13px; border: 0; border-radius: 1px; background: linear-gradient(#ececf0, #a8a8b0); box-shadow: 0 0 0 1px #111; }

/* faixas (lanes) e eventos */
.lane { position: relative; border-bottom: 1px solid var(--line); background: #313135; cursor: pointer; }
.lane:nth-of-type(even) { background: #2d2d31; }
.th--text, .lane--text { height: 44px; }
.th--fx, .lane--fx { height: 40px; }
.th--video, .lane--video { height: 62px; }
.th--audio, .lane--audio { height: 50px; }
.lane .ev { position: absolute; top: 2px; bottom: 2px; }
.lane.is-off .ev, .lane.is-off .xf { opacity: .28; filter: grayscale(.8); }
.lane--audio.is-off .ev { opacity: .55; }
.ev { border-radius: 2px; overflow: hidden; border: 1px solid rgba(0,0,0,.55); transition: opacity .2s, filter .2s, box-shadow .2s; }
.ev__name { position: relative; z-index: 1; }
.ev--text { display: flex; align-items: center; padding: 0 8px; background: linear-gradient(#5e2a47, #4a2038); border-color: #2a0c1c; box-shadow: inset 0 2px 0 rgba(255,95,168,.7); }
.ev--text .ev__name { font: 700 10.5px/1 var(--mono); letter-spacing: .03em; color: #ffd3e7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev--text.is-on { background: linear-gradient(#8a3463, #6d2850); box-shadow: inset 0 0 0 1px var(--accent), inset 0 2px 0 var(--accent); }
.xf { position: absolute; top: 2px; bottom: 2px; z-index: 2; background: rgba(255,255,255,.07); pointer-events: none; }
.xf svg { width: 100%; height: 100%; display: block; }
.xf path { stroke: #fff; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.fade { position: absolute; top: 0; bottom: 0; width: 16px; height: 100%; z-index: 2; pointer-events: none; }
.fade path { stroke: #fff; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.fade .sh { fill: rgba(0,0,0,.45); stroke: none; }
.fade--in { left: 0; }
.fade--out { right: 0; }
.ev--fx { display: flex; align-items: center; justify-content: center; padding: 0 14px; background: linear-gradient(#45336a, #382a58); border-color: #1d1430; box-shadow: inset 0 2px 0 rgba(185,140,255,.7); }
.ev--fx .ev__name { font-size: 10.5px; font-weight: 600; color: #e6dbff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev--video { left: 0; width: 100%; background: #16202e; }
.ev__thumbs { position: absolute; left: 0; right: 0; top: 14px; bottom: 0; display: flex; }
.ev__thumbs img { height: 100%; flex: 1 1 0; min-width: 0; object-fit: cover; border-right: 1px solid rgba(0,0,0,.45); }
.ev__bar { position: absolute; left: 0; right: 0; top: 0; height: 14px; display: flex; align-items: center; gap: 4px; padding: 0 18px; background: #3a6aa6; z-index: 1; }
.ev__bar b { flex: 1; font: 500 9.5px/1 var(--mono); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev__bar svg { width: 11px; height: 11px; color: #dbe9ff; stroke-width: 2; }
.ev--audio { left: 0; width: 100%; background: #173a2f; }
.ev--audio .ev__bar { background: #2a8565; }
.ev--audio .wave { position: absolute; left: 0; right: 0; top: 14px; bottom: 0; width: 100%; height: calc(100% - 14px); stroke: none; }
.ev--audio .wave rect { fill: var(--t-audio); }
.env { position: absolute; left: 0; right: 0; top: 8%; height: 0; border-top: 1.5px solid var(--accent); z-index: 3; transition: top .15s; }
.env i { position: absolute; top: 0; width: 6px; height: 6px; background: #fff; border: 1px solid var(--accent); transform: translate(-50%, -50%); }

/* cursor de reprodução */
.tl__head { position: absolute; top: 0; bottom: 0; left: calc(var(--hw) + (100% - var(--hw)) * var(--p)); width: 1px; background: #fff; z-index: 7; pointer-events: none; box-shadow: 0 0 6px rgba(255,255,255,.55); }
.tl__head::before { content: ""; position: absolute; left: -6px; top: 20px; width: 13px; height: 11px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 45%, 50% 100%, 0 45%); }

.tl__grid.is-loading .tl__head { background: var(--accent); animation: blink .7s infinite; }
.tl__grid.is-loading .tl__head::before { background: var(--accent); }

/* barra de transporte */
.transport { display: flex; align-items: center; gap: 14px; padding: 5px 8px; background: var(--win-2); border-top: 1px solid var(--line); }
.transport__btns { display: flex; gap: 3px; }
.tbtn { width: 32px; height: 28px; display: grid; place-items: center; padding: 0; border: 1px solid #141416; border-radius: 2px; background: linear-gradient(#45454b, #36363b); color: #d5d5db; box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.tbtn svg { width: 15px; height: 15px; }
.tbtn:hover { filter: brightness(1.15); }
.tbtn[aria-pressed="true"], .tbtn.is-on { color: var(--accent); background: linear-gradient(#3e2433, #301c28); border-color: #6b2347; }
#heroSound .snd { opacity: .3; }
#heroSound[aria-pressed="true"] .snd { opacity: 1; }
.transport__rate { font: 500 11px var(--mono); color: var(--dim); }
.transport__hint { margin-left: auto; font-size: 11.5px; color: var(--dim); text-align: right; }

/* =====================================================================
   Seções
   ===================================================================== */
.sec { padding: 6px 0 0; }
.sh { margin-bottom: 24px; max-width: 760px; }
.sh h2, .sec h2 { font-size: clamp(26px, 3vw, 42px); font-weight: 800; }
.sh__sub { color: var(--muted); margin-top: 10px; }

/* ---------- Mídia do projeto ---------- */
.media { display: grid; grid-template-columns: 230px minmax(0, 1fr); border: 1px solid var(--line); background: #252528; border-radius: 2px; }
.tree { display: flex; flex-direction: column; gap: 1px; padding: 6px; border-right: 1px solid var(--line); background: var(--win-2); }
.cat { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border: 0; border-radius: 2px; background: none; color: var(--muted); font-size: 12.5px; text-align: left; }
.cat svg { width: 16px; height: 16px; color: var(--c, #f0c36a); }
.cat--sub { padding-left: 24px; }
.cat span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat small { font: 500 10.5px var(--mono); color: var(--dim); }
.cat:hover { color: var(--text); background: #2f2f33; }
.cat[aria-selected="true"] { background: var(--accent-soft); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.cat[aria-selected="true"] small { color: var(--accent-hi); }
.media__main { padding: 12px; min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px 10px; }
.tile { all: unset; cursor: pointer; display: grid; gap: 6px; min-width: 0; animation: tileIn .4s both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(8px); } }
.tile__media { position: relative; aspect-ratio: 3 / 4; border-radius: 2px; overflow: hidden; background: var(--field); outline: 2px solid transparent; outline-offset: -2px; box-shadow: 0 0 0 1px var(--line); transition: outline-color .15s; }
.tile__media::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); }
.tile__media img, .tile__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__media video { z-index: 1; }
.tile__dur { position: absolute; z-index: 2; right: 5px; bottom: 8px; padding: 2px 5px; border-radius: 2px; background: rgba(0,0,0,.75); font: 500 10.5px var(--mono); }
.tile__tag { position: absolute; z-index: 2; left: 5px; top: 5px; padding: 2px 6px; border-radius: 2px; background: var(--accent); color: var(--accent-ink); font: 700 10px var(--mono); }
.tile__add {
  position: absolute; z-index: 2; right: 5px; top: 5px; width: 24px; height: 24px; border-radius: 2px;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); opacity: 0; transform: scale(.7); transition: .18s;
}
.tile__add svg { width: 14px; height: 14px; stroke-width: 2.6; }
.tile:hover .tile__media, .tile:focus-visible .tile__media { outline-color: var(--accent); }
.tile:hover .tile__add, .tile:focus-visible .tile__add { opacity: 1; transform: none; }
.tile__name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__name small { display: block; font-weight: 500; color: var(--dim); font-size: 11px; }
.more { display: flex; margin: 22px auto 4px; }

/* ---------- Efeitos de vídeo / serviços ---------- */
.fx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1000px) { .fx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc { background: var(--win-2); border: 1px solid var(--line); border-radius: 2px; padding-bottom: 14px; transition: box-shadow .2s, transform .2s; }
.svc:hover { box-shadow: 0 0 0 1px var(--accent); transform: translateY(-2px); }
.svc__bar { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; background: #303034; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.svc__bar span { font: 700 10.5px var(--mono); color: var(--accent); }
.svc h3 { font-size: 18px; margin: 12px 12px 6px; }
.svc p { color: var(--muted); font-size: 13.5px; margin: 0 12px; }
.demo { position: relative; height: 150px; margin: 8px 8px 0; overflow: hidden; background: #111113; border: 1px solid #0a0a0b; display: grid; place-items: center; }
.demo--vsl { place-items: stretch; padding: 14px; gap: 6px; align-content: center; }
.demo--vsl .row { position: relative; height: 18px; overflow: hidden; }
.demo--vsl .row i { position: absolute; top: 0; height: 100%; border-radius: 2px; animation: slide 6s linear infinite; }
.demo--vsl .row:nth-child(1) i { background: #5e2a47; box-shadow: inset 0 2px 0 var(--t-text); }
.demo--vsl .row:nth-child(2) i { background: #1f3550; box-shadow: inset 0 2px 0 var(--t-video); }
.demo--vsl .row:nth-child(3) i { background: #173a2f; box-shadow: inset 0 2px 0 var(--t-audio); }
.demo--vsl::after { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 1px; background: #fff; box-shadow: 0 0 6px #fff; }
@keyframes slide { from { transform: translateX(60%); } to { transform: translateX(-160%); } }
.demo--ads .phone { width: 74px; height: 128px; border-radius: 10px; border: 2px solid #3d3d44; background: linear-gradient(160deg, #3a1a2c, #1a2440); position: relative; overflow: hidden; }
.demo--ads .phone b { position: absolute; left: 6px; right: 6px; top: 40%; text-align: center; font: 800 11px/1.1 var(--display); color: var(--accent-ink); background: var(--accent); padding: 4px 2px; border-radius: 2px; animation: pop 1.8s infinite; }
.demo--ads .phone i { position: absolute; left: 8px; right: 8px; bottom: 10px; height: 4px; background: rgba(255,255,255,.2); overflow: hidden; }
.demo--ads .phone i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: prog 1.8s linear infinite; }
@keyframes pop { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.25) rotate(-3deg); } 22% { transform: scale(1); } }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.demo--hooks { perspective: 400px; }
.demo--hooks span { position: absolute; width: 160px; padding: 12px; border-radius: 2px; background: #2c2c30; border: 1px solid var(--line); box-shadow: inset 0 2px 0 var(--accent); font: 700 12px/1.3 var(--font); animation: deck 4.5s infinite; opacity: 0; }
.demo--hooks span b { display: block; font: 700 10px var(--mono); color: var(--accent); margin-bottom: 4px; }
.demo--hooks span:nth-child(2) { animation-delay: 1.5s; }
.demo--hooks span:nth-child(3) { animation-delay: 3s; }
@keyframes deck { 0% { opacity: 0; transform: translateY(26px) scale(.9); } 8%, 30% { opacity: 1; transform: none; } 38%, 100% { opacity: 0; transform: translateY(-26px) scale(.9); } }
.demo--caps p { font: 800 20px/1.2 var(--display); font-stretch: 115%; text-transform: uppercase; text-align: center; padding: 0 16px; }
.demo--caps p span { animation: kar 3s infinite; color: #fff; }
.demo--caps p span:nth-child(2) { animation-delay: .5s; }
.demo--caps p span:nth-child(3) { animation-delay: 1s; }
.demo--caps p span:nth-child(4) { animation-delay: 1.5s; }
@keyframes kar { 0%, 14% { color: var(--accent); text-shadow: 0 0 14px rgba(255,95,168,.6); } 18%, 100% { color: #fff; text-shadow: none; } }
.demo--motion .box { width: 90px; height: 90px; border-radius: 3px; background: conic-gradient(from 0deg, var(--accent), var(--t-fx), var(--t-video), var(--accent)); animation: punch 2.2s cubic-bezier(.2,.9,.2,1) infinite; }
@keyframes punch { 0%, 100% { transform: scale(1) rotate(0); filter: blur(0); } 12% { transform: scale(1.45) rotate(6deg); filter: blur(1.5px); } 26% { transform: scale(1.3) rotate(4deg); filter: blur(0); } 60% { transform: scale(1.3) rotate(4deg); } }
.demo--langs { grid-template-columns: 44px 1fr; place-items: stretch; padding: 14px; gap: 12px; }
.demo--langs .rows { display: grid; gap: 6px; align-content: center; }
.demo--langs .rows span { display: grid; place-items: center; height: 26px; border-radius: 2px; background: #2c2c30; font: 700 11px var(--mono); color: var(--muted); animation: lsel 6s infinite; }
.demo--langs .rows span:nth-child(2) { animation-delay: 2s; }
.demo--langs .rows span:nth-child(3) { animation-delay: 4s; }
.demo--langs p { position: relative; }
.demo--langs p b { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font: 800 15px/1.15 var(--display); font-stretch: 112%; color: #fff; opacity: 0; animation: lshow 6s infinite; }
.demo--langs p b:nth-child(2) { animation-delay: 2s; }
.demo--langs p b:nth-child(3) { animation-delay: 4s; }
@keyframes lsel { 0%, 30% { background: var(--accent); color: var(--accent-ink); } 34%, 100% { background: #2c2c30; color: var(--muted); } }
@keyframes lshow { 0% { opacity: 0; transform: translateY(8px); } 4%, 29% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-8px); } }
.demo--ai { display: flex; align-items: center; justify-content: center; gap: 4px; }
.demo--ai i { width: 5px; background: var(--t-audio); animation: wave 1.1s ease-in-out infinite; height: 20px; }
@keyframes wave { 50% { height: 80px; background: var(--accent); } }

/* ---------- Console de mixagem / idiomas ---------- */
.mix { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.mix__screen { position: relative; margin-top: 22px; min-height: 150px; display: grid; place-content: center; gap: 10px; text-align: center; padding: 34px 20px 30px; background: #000; border: 1px solid var(--line); box-shadow: 0 0 0 2px #2c2c30; }
.mix__screen::before { content: ""; position: absolute; inset: 8% 6%; border: 1px dashed rgba(255,255,255,.12); pointer-events: none; }
.mix__screen p { font: 800 clamp(19px, 2vw, 26px)/1.25 var(--display); font-stretch: 110%; }
.mix__screen p { background: none; }
.mix__lang { position: absolute; left: 10px; top: 10px; padding: 3px 7px; border-radius: 2px; background: var(--accent); color: var(--accent-ink); font: 700 11px/1 var(--mono); }
.mix__screen small { position: absolute; left: 10px; bottom: 8px; font: 500 10.5px var(--mono); color: var(--dim); }
.mix__screen.is-in p { animation: capIn .45s both; }
@keyframes capIn { from { opacity: 0; transform: translateY(8px); } }
.mix__desk { display: flex; gap: 5px; padding: 6px; background: var(--win-2); border: 1px solid var(--line); border-radius: 2px; }
.strip {
  width: 86px; height: 310px; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto; justify-items: center; gap: 8px;
  padding: 6px 6px 10px; border: 1px solid #141416; border-radius: 2px; background: linear-gradient(#38383d, #2c2c30); color: var(--muted);
  box-shadow: inset 0 1px 0 var(--edge); text-align: center;
}
button.strip:hover { filter: brightness(1.1); }
.strip__n { width: 100%; padding: 3px 0; border-radius: 1px; background: #1f1f22; font: 700 10.5px/1 var(--mono); }
.strip__ms { display: flex; gap: 3px; min-height: 17px; }
.strip__ms b { width: 22px; height: 17px; display: grid; place-items: center; border: 1px solid #151517; border-radius: 2px; background: linear-gradient(#4a4a50, #3a3a3f); font: 700 10px/1 var(--mono); }
.strip__body { display: flex; gap: 10px; height: 100%; }
.strip__vu { display: flex; gap: 2px; }
.strip__vu i { width: 6px; background: #111113; position: relative; overflow: hidden; }
.strip__vu i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6%; background: linear-gradient(to top, var(--accent) 0 60%, #ffb35f 80%, #ff4d4d); }
.strip__fader { width: 16px; position: relative; background: linear-gradient(90deg, transparent 7px, #0e0e10 7px 9px, transparent 9px); }
.strip__fader i { position: absolute; left: 0; top: 46%; width: 16px; height: 26px; border-radius: 2px; background: linear-gradient(#e4e4e8, #9c9ca4); box-shadow: 0 0 0 1px #111, 0 3px 6px rgba(0,0,0,.5); transition: top .35s cubic-bezier(.2,.9,.2,1); }
.strip__fader i::after { content: ""; position: absolute; left: 2px; right: 2px; top: 12px; height: 2px; background: #222; }
.strip__tag { font: 800 20px/1 var(--display); font-stretch: 118%; color: var(--text); }
.strip__name { font-size: 11px; }
.strip[aria-checked="true"] { background: linear-gradient(#4a2a3b, #34222c); border-color: #6b2347; color: var(--text); }
.strip[aria-checked="true"] .strip__n { background: var(--accent); color: var(--accent-ink); }
.strip[aria-checked="true"] .s { background: var(--solo); color: #2a2000; border-color: #8a6e00; }
.strip[aria-checked="true"] .strip__tag { color: var(--accent-hi); }
.strip[aria-checked="true"] .strip__fader i { top: 14%; }
.strip[aria-checked="true"] .strip__vu i::after, .strip--master .strip__vu i::after { animation: vu .42s ease-in-out infinite alternate; }
.strip__vu i:nth-child(2)::after { animation-delay: .17s !important; animation-duration: .37s !important; }
@keyframes vu { 0% { height: 34%; } 40% { height: 78%; } 70% { height: 52%; } 100% { height: 88%; } }
.strip--master .strip__n { background: #4a2a3b; color: var(--accent-hi); }
.strip--master .strip__fader i { top: 20%; background: linear-gradient(#ffb3d6, var(--accent)); }

/* ---------- Transições / processo ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps li { position: relative; min-width: 0; }
.ev--step { position: relative; height: 58px; background: linear-gradient(#5e2a47, #4a2038); border-color: #2a0c1c; }
.steps li:not(:last-child) .ev--step { width: calc(100% + 22px); }
.ev--step .ev__bar { background: #b8417a; padding: 0 8px; }
.ev--step .ev__bar b { font-weight: 700; color: #fff; }
.ev--step .ev__name { position: absolute; left: 10px; right: 18px; top: 14px; bottom: 0; display: flex; align-items: center; font-size: 15px; font-weight: 800; line-height: 1.1; }
.ev--step .fade { top: 14px; height: calc(100% - 14px); }
.steps li + li .ev__name { left: 30px; }
.steps li + li .ev__bar { padding-left: 30px; }
.steps .xf { left: 0; top: 0; height: 58px; bottom: auto; width: 22px; z-index: 3; }
.steps li > p { color: var(--muted); font-size: 13.5px; padding: 12px 30px 0 2px; }

/* ---------- Explorador / história ---------- */
.path { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; background: var(--field); border-bottom: 1px solid var(--line); font: 500 12px var(--mono); color: var(--muted); }
.path svg { width: 15px; height: 15px; color: #f0c36a; }
.path i { font-style: normal; color: var(--dim); }
.story { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.story.is-nophoto { grid-template-columns: 1fr; }
.story__photo { margin: 0; aspect-ratio: 3 / 4; border-radius: 2px; overflow: hidden; background: var(--field); border: 1px solid var(--line); position: relative; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__photo:not(.todo) { outline: 2px solid var(--accent); outline-offset: -2px; }
.story__photo figcaption { position: absolute; left: 8px; bottom: 8px; padding: 3px 7px; border-radius: 2px; background: rgba(0,0,0,.72); font: 500 11px var(--mono); color: #fff; }
.story__photo.todo { display: grid; place-content: center; text-align: center; padding: 20px; font-size: 13px; }
.story__photo.todo::before { margin: 0 auto 10px; }
.story__body { display: grid; gap: 12px; margin-top: 18px; color: #d4d4dc; max-width: 64ch; font-size: 16px; }
.ops { margin-top: 26px; }
.ops__k, .tools__k { font: 700 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.ops__list { display: flex; flex-wrap: wrap; gap: 6px; }
.op { display: inline-flex; align-items: center; gap: 8px; padding: 4px 11px 4px 4px; border-radius: 2px; background: var(--win-2); border: 1px solid var(--line); text-decoration: none; font-size: 13px; }
.op:hover { box-shadow: 0 0 0 1px var(--accent); }
.op img, .op .op__ini { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--win-3); display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.op small { color: var(--dim); font: 500 11px var(--mono); }
.op__ok { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: #3897f0; color: #fff; font-size: 9px; font-weight: 800; margin-left: -3px; }
.tools { margin-top: 22px; }
.tools ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tools li { padding: 5px 11px; border-radius: 2px; background: var(--win-3); font-size: 12.5px; }

/* ---------- Renderizar como / contato ---------- */
.dlg { box-shadow: inset 0 1px 0 var(--edge), 0 0 0 1px rgba(255,95,168,.25); }
.dlg__title { background: linear-gradient(#3e2a35, #30222a); }
.exp__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(22px, 4vw, 48px); }
.exp__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.exp__form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; padding: 16px; background: var(--win-2); border: 1px solid var(--line); border-radius: 2px; }
.fld { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); border: 0; padding: 0; margin: 0; min-width: 0; }
.fld legend { padding: 0; margin-bottom: 6px; }
.fld--full { grid-column: 1 / -1; }
.fld input, .fld select, .fld textarea {
  width: 100%; background: var(--field); border: 1px solid #0e0e10; border-radius: 2px; padding: 9px 11px; color: var(--text); font-size: 14px; min-height: 40px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.4);
}
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fld [aria-invalid="true"] { border-color: #ff5d6c; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 11px 0 9px; border-radius: 2px; background: linear-gradient(#3c3c41, #333337); border: 1px solid #141416; color: var(--muted); font-size: 13px; }
.opt i { width: 13px; height: 13px; border-radius: 2px; background: var(--field); border: 1px solid #0e0e10; display: grid; place-items: center; }
.opt[aria-pressed="true"] { color: var(--text); border-color: #6b2347; background: linear-gradient(#4a2a3b, #3a2230); }
.opt[aria-pressed="true"] i { background: var(--accent); border-color: var(--accent); }
.opt[aria-pressed="true"] i::after { content: ""; width: 6px; height: 3px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.dlg__btns { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.dlg__btns .btn { min-width: 220px; }
.exp__bar { position: relative; height: 30px; border-radius: 2px; background: var(--field); border: 1px solid #0e0e10; overflow: hidden; display: grid; place-items: center; font-size: 12.5px; }
.exp__bar i { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, #e24d93 10px 12px); transform-origin: left; transform: scaleX(var(--p, 0)); }
.exp__bar span { position: relative; color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.exp__msg { font-size: 13px; color: var(--muted); min-height: 1em; }
.exp__msg.is-err { color: #ff9aa5; }

/* ---------- Rodapé ---------- */
.foot { padding: 22px 0 28px; color: var(--dim); font-size: 13px; }
.foot__in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 0 4px; }
.foot a { color: var(--muted); text-decoration: none; }

/* ---------- Barra inferior (celular) ---------- */
.dock { display: none; }

/* =====================================================================
   Player em tela cheia (Aparador)
   ===================================================================== */
.lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14,14,16,.97); color: var(--text); }
.lb::backdrop { background: rgba(0,0,0,.7); }
.lb__in { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: 32px minmax(0, 1fr); }
.lb__bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 0 4px 0 12px; background: linear-gradient(#343438, #2b2b2f); border-bottom: 1px solid var(--line); font: 500 12px var(--mono); color: var(--muted); }
.lb__x { width: 30px; height: 26px; border: 1px solid #141416; border-radius: 2px; background: linear-gradient(#4a4a50, #3a3a3f); font-size: 18px; line-height: 1; padding: 0 0 2px; }
.lb__x:hover { background: #c9477f; }
.lb__stage { position: relative; display: grid; place-items: center; padding: 20px 70px; min-height: 0; background: #0b0b0c; }
.lb__player { height: 100%; max-height: calc(100svh - 72px); max-width: 100%; aspect-ratio: var(--ar, 9 / 16); overflow: hidden; background: #000; box-shadow: 0 0 0 1px #000, 0 0 0 2px #2c2c30; }
.lb__player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 2px; border: 1px solid #141416; background: linear-gradient(#45454b, #36363b); font-size: 26px; line-height: 1; display: grid; place-items: center; padding-bottom: 3px; }
.lb__nav:hover { color: var(--accent); }
.lb__nav--prev { left: 14px; }
.lb__nav--next { right: 14px; }
.lb__info { background: var(--win); border-left: 1px solid var(--line); padding: 22px; overflow: auto; display: flex; flex-direction: column; gap: 14px; }
.lb__info h2 { font-size: 26px; }
.lb__meta { display: flex; align-items: center; gap: 7px; font: 500 11.5px var(--mono); color: var(--dim); }
.lb__meta i { width: 8px; height: 8px; border-radius: 1px; background: var(--c); }
.lb__ex { font-size: 12.5px; color: var(--muted); }
.lb__info .btn { margin-top: auto; }
.handles { display: flex; flex-wrap: wrap; gap: 6px; }
.handle { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 2px; background: var(--win-2); border: 1px solid var(--line); text-decoration: none; font-size: 13px; }
.handle:hover { box-shadow: 0 0 0 1px var(--accent); }
.handle small { color: var(--dim); font: 500 11px var(--mono); }
.handle svg { width: 13px; height: 13px; }
body.is-locked { overflow: hidden; }

/* =====================================================================
   Responsivo
   ===================================================================== */
@media (max-width: 1240px) {
  .tbar { display: none; }
  .menu { margin-right: auto; }
}
@media (max-width: 1100px) {
  .ws__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .win--props { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .steps li:nth-child(3n) .ev--step { width: 100%; }
  .steps li:nth-child(3n + 1) .xf { display: none; }
  .mix { grid-template-columns: 1fr; }
  .mix__desk { justify-content: center; }
  .transport__hint { display: none; }
}

@media (max-width: 767px) {
  :root { --top: 50px; }
  body { font-size: 15px; padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .menu, .btn--render { display: none; }
  .top { justify-content: space-between; }
  .ws { padding: 4px; gap: 4px; }
  .ws__grid { grid-template-columns: 1fr; height: auto; gap: 4px; }
  .win--intro .win__title, .dk { display: none; }
  .win--intro .intro { padding: 20px 16px 18px; }
  .intro h1 { font-size: 31px; }
  .intro__sub { margin-top: 12px; font-size: 14.5px; }
  .intro__ctas .btn { flex: 1 1 auto; }
  .intro__niches { display: none; }
  .player { padding: 8px; }
  .player__stage { height: min(58svh, 520px); }
  .pvinfo { grid-template-columns: 1fr; font-size: 10.5px; }
  .pvinfo div:nth-child(4) { display: none; }

  .tl__grid { --hw: 82px; }
  .tl__tc { padding: 4px; }
  .tl__tc b { font-size: 10px; letter-spacing: -.02em; }
  .tl__tc small { font-size: 8.5px; }
  .tl__tc small span { display: block; }
  .mk span { display: none; }
  .tl__ruler span:nth-child(even) { display: none; }
  .th__n { width: 16px; font-size: 10px; }
  .th__main { padding: 3px 5px; gap: 2px; }
  .th__row { justify-content: center; gap: 4px; }
  .th__row b { display: none; }
  .th__b { width: 24px; height: 22px; }
  .th__lvl { display: none; }
  .th--text, .lane--text { height: 38px; }
  .th--fx, .lane--fx { height: 36px; }
  .th--video, .lane--video { height: 46px; }
  .th--audio, .lane--audio { height: 40px; }
  .ev--text { padding: 0 3px; }
  .ev--text .ev__name { font-size: 7.5px; letter-spacing: 0; }
  .ev--fx { padding: 0 6px; }
  .ev--fx .ev__name { font-size: 8px; }
  .fade { width: 8px; }
  .ev__bar { padding: 0 9px; }
  .ev__bar svg { display: none; }
  .transport { gap: 8px; padding: 5px 6px; justify-content: center; }
  .tbtn--hide-sm, .transport__rate { display: none; }
  .tbtn { width: 38px; height: 32px; }

  .media { grid-template-columns: 1fr; }
  .tree { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .tree::-webkit-scrollbar { display: none; }
  .cat { flex: none; }
  .cat--sub { padding-left: 8px; }
  .media__main { padding: 8px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 6px; }
  .tile__name { font-size: 11px; }
  .tile__name small { font-size: 10px; }
  .tile__add { display: none; }
  .fx { grid-template-columns: 1fr; }

  .mix__desk { gap: 4px; padding: 4px; }
  .strip { width: auto; flex: 1 1 0; min-width: 0; height: 250px; padding: 5px 3px 8px; }
  .strip__tag { font-size: 17px; }
  .strip__name { font-size: 10px; }
  .strip__ms b { width: 19px; }
  .mix__screen { min-height: 130px; padding: 32px 14px 28px; }

  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { padding-bottom: 18px; }
  .steps li .ev--step, .steps li:not(:last-child) .ev--step { width: 100%; }
  .steps li + li .ev__name { left: 10px; }
  .steps li + li .ev__bar { padding-left: 8px; }
  .steps .xf, .steps li:nth-child(3n + 1) .xf { display: block; position: relative; left: auto; top: auto; width: 26px; height: 16px; margin: -12px auto 6px; background: none; }
  .steps li > p { padding: 10px 2px 0; }

  .story { grid-template-columns: 1fr; }
  .story__photo { max-width: 260px; }
  .exp__grid { grid-template-columns: 1fr; }
  .exp__form { grid-template-columns: 1fr; padding: 12px; }
  .dlg__btns .btn { width: 100%; min-width: 0; }

  .lb__in { grid-template-columns: 1fr; grid-template-rows: 32px minmax(0, 1fr) auto; }
  .lb__stage { padding: 56px 8px 8px; }
  .lb__player { max-height: calc(100svh - 270px); }
  .lb__nav { width: 40px; height: 40px; top: 8px; transform: none; }
  .lb__nav--prev { left: 8px; }
  .lb__nav--next { left: 54px; right: auto; }
  .lb__info { border-left: 0; border-top: 1px solid var(--line); padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); gap: 10px; max-height: 40svh; }
  .lb__info h2 { font-size: 20px; }

  .dock {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    padding: 5px 5px calc(5px + env(safe-area-inset-bottom)); background: linear-gradient(#2f2f33, #252528);
    border-top: 1px solid var(--line); box-shadow: 0 -1px 0 var(--edge);
  }
  .dock a { display: grid; justify-items: center; gap: 3px; padding: 6px 0; border-radius: 2px; text-decoration: none; color: var(--muted); font-size: 10.5px; font-weight: 500; }
  .dock a svg { width: 20px; height: 20px; }
  .dock a.is-on { color: var(--text); background: rgba(255,255,255,.05); }
  .dock .dock__cta { color: var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
