/* =====================================================================
   Portfólio Pabllo Soares — visual inspirado em editor de vídeo (estilo app de edição)
   Cores principais aqui em cima.
   ===================================================================== */
:root {
  --bg: #0b0b0d;
  --win: #121215;
  --panel: #17171b;
  --panel-2: #1f1f24;
  --panel-3: #28282e;
  --line: #2b2b32;
  --text: #ededf2;
  --muted: #9a9aa6;
  --dim: #6c6c78;
  --accent: #10d8e6;          /* ciano da marca */
  --accent-ink: #001b1e;
  --accent-soft: rgba(16, 216, 230, .14);
  --c-text: #e3a23b;           /* trilha de texto */
  --c-fx: #9b7bff;             /* trilha de efeitos */
  --c-audio: #2fc59c;          /* trilha de áudio */
  --c-pink: #ff5d8f;
  --todo: #f5b524;
  --r: 10px;
  --r-sm: 6px;
  --top: 54px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Plus Jakarta Sans", 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) + 12px); -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); letter-spacing: -.02em; margin: 0; line-height: 1.08; }
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: 6px; }
.skip:focus { left: 8px; }
.wrap { width: min(1240px, 100% - 24px); margin-inline: auto; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(16,216,230,.0); }
.btn--accent:hover { box-shadow: 0 6px 24px -6px rgba(16,216,230,.6); }
.btn--ghost { background: var(--panel-3); border-color: var(--line); }
.btn--ghost:hover { border-color: #3a3a44; background: #2f2f36; }
.btn--block { width: 100%; }
.ico {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  background: transparent; border: 0; color: var(--text);
}
.ico:hover { background: var(--panel-3); }

.eyebrow { display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--font); 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: 6px; padding: 10px 12px 10px; color: #f7d58a;
}
.todo::before {
  content: "PREENCHER"; display: inline-block; margin-right: 8px; padding: 2px 6px; border-radius: 4px;
  background: var(--todo); color: #241a00; font: 700 10px/1.4 var(--mono); letter-spacing: .04em; vertical-align: 1px;
}

/* =====================================================================
   Barra superior
   ===================================================================== */
.top {
  position: sticky; top: 0; z-index: 40; height: var(--top);
  display: flex; align-items: center; gap: 16px; padding: 0 14px;
  background: rgba(18,18,21,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand__mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  font: 800 13px/1 var(--display); color: var(--accent-ink);
  background: conic-gradient(from 210deg, var(--accent), #6ef3ff, #fff 40%, var(--accent) 60%, #0aa7b3);
}
.brand__txt { display: grid; line-height: 1.15; min-width: 0; }
.brand__txt b { font-size: 14px; }
.brand__txt small { font: 500 11px/1.3 var(--mono); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs { display: flex; gap: 2px; margin-inline: auto; }
.tabs a {
  display: grid; justify-items: center; gap: 2px; padding: 6px 14px; border-radius: 8px;
  text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 500;
}
.tabs a:hover { color: var(--text); background: var(--panel-2); }
.tabs a.is-on { color: var(--accent); }
.btn--export { height: 34px; padding: 0 14px; font-size: 13px; }
.btn--export svg { width: 16px; height: 16px; }

/* =====================================================================
   Painéis
   ===================================================================== */
.pnl { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.pnl__head {
  display: flex; align-items: center; gap: 4px; height: 38px; padding: 0 8px; flex: none;
  border-bottom: 1px solid var(--line); background: var(--win); font-size: 12.5px; color: var(--dim);
}
.pnl__head > span { padding: 5px 10px; border-radius: 6px; }
.pnl__head > .is-on { color: var(--text); background: var(--panel-2); font-weight: 600; }
.pnl__sp { flex: 1; padding: 0 !important; }
.pnl__k { font: 500 11.5px/1 var(--mono); color: var(--muted); }
.pnl__pad { padding: clamp(18px, 3vw, 34px); }

/* =====================================================================
   HERO — área de trabalho
   ===================================================================== */
.ws { padding: 10px; display: grid; gap: 10px; }
.ws__grid {
  display: grid; gap: 10px;
  grid-template-columns: minmax(320px, 470px) minmax(0, 1fr) 270px;
  height: clamp(480px, calc(100svh - var(--top) - 230px), 760px);
}
.pnl--intro .intro { padding: clamp(18px, 2.4vw, 30px); display: flex; flex-direction: column; flex: 1; overflow: auto; }
.intro h1 { font-size: clamp(30px, 2.9vw, 46px); font-weight: 800; }
.intro h1 mark {
  color: var(--accent-ink); background: var(--accent); padding: 0 .14em; border-radius: .14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.intro__sub { color: var(--muted); margin-top: 16px; max-width: 44ch; }
.intro__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.intro__niches { list-style: none; padding: 0; margin: auto 0 0; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.intro__niches li { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--panel-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: 2px; 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; letter-spacing: .04em; padding: 2px 5px; border-radius: 4px; background: var(--c); color: #0b0b0d; }

/* Player */
.pnl--player { background: #0e0e11; }
.player { flex: 1; min-height: 0; display: grid; place-items: center; padding: 14px; position: relative;
  background: radial-gradient(60% 60% at 50% 45%, rgba(16,216,230,.07), transparent 70%); }
.player__stage {
  position: relative; height: 100%; max-width: 100%; aspect-ratio: var(--ar, 9 / 16);
  border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 20px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06);
}
.player__stage video { width: 100%; height: 100%; object-fit: cover; }
.player__seg {
  position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: 5px;
  font: 700 11px/1.2 var(--mono); letter-spacing: .06em; color: #1d1200; background: var(--c-text);
  transition: transform .25s, opacity .25s;
}
.player__seg.is-swap { transform: translateY(-4px); opacity: 0; }
.player__bar { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-top: 1px solid var(--line); background: var(--win); }
.player__bar .tc { margin-right: auto; font: 500 12px/1 var(--mono); color: var(--dim); }
.player__bar .tc b { color: var(--text); font-weight: 500; }
#heroSound .snd { opacity: .3; }
#heroSound[aria-pressed="true"] .snd { opacity: 1; }
#heroSound[aria-pressed="true"] { color: var(--accent); }

/* Painel de propriedades */
.props { margin: 0; padding: 12px; display: grid; gap: 4px; align-content: start; overflow: auto; font-size: 12.5px; scrollbar-width: thin; }
.props__grp { color: var(--muted); font-size: 11px; font-weight: 600; 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: 10px; padding: 7px 10px; border-radius: 7px; background: var(--panel-2); }
.props__row dt { color: var(--muted); }
.props__row dd { margin: 0; font-weight: 600; text-align: right; display: flex; }
.tgl { display: block; width: 30px; height: 17px; border-radius: 99px; background: var(--accent); position: relative; flex: none; }
.tgl::after { content: ""; position: absolute; right: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.props__slider { display: grid; gap: 7px; padding: 10px; border-radius: 7px; background: var(--panel-2); }
.props__slider span { display: flex; justify-content: space-between; color: var(--muted); }
.props__slider span b { color: var(--text); font: 500 12px var(--mono); }
.props__slider i { height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--v), var(--panel-3) var(--v)); position: relative; }
.props__slider i::after { content: ""; position: absolute; left: var(--v); top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }

/* ---------- Linha do tempo ---------- */
.tl { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tl__tools { display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); color: var(--dim); background: var(--win); }
.tl__tools svg { width: 16px; height: 16px; }
.tl__sp { flex: 1; }
.tl__hint { font-size: 11.5px; }
.tl__body { position: relative; padding: 0 12px 10px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.tl__ruler { position: relative; height: 22px; border-bottom: 1px solid var(--line); margin-bottom: 6px;
  background: repeating-linear-gradient(90deg, #3a3a44 0 1px, transparent 1px calc(100% / 40)) bottom / 100% 5px no-repeat; }
.tl__ruler span { position: absolute; top: 3px; font: 500 10px/1 var(--mono); color: var(--dim); transform: translateX(3px); }
.tl__ruler span::before { content: ""; position: absolute; left: -3px; top: -3px; width: 1px; height: 22px; background: #3a3a44; }
.tl__track { position: relative; margin-top: 4px; border-radius: 5px; }
.tl__track--text { height: 24px; }
.tl__track--fx { height: 20px; }
.tl__track--video { height: 50px; background: #101013; }
.tl__track--audio { height: 32px; }
.clip {
  position: absolute; top: 0; bottom: 0; border-radius: 5px; overflow: hidden;
  display: flex; align-items: center; gap: 5px; padding: 0 7px; white-space: nowrap;
  font: 600 10.5px/1 var(--font); letter-spacing: .02em; border: 1px solid rgba(255,255,255,.12);
  transition: box-shadow .2s, filter .2s;
}
.clip svg { width: 12px; height: 12px; }
.clip--text { background: #6b4a16; color: #ffdfa6; border-color: #8a6020; }
.clip--fx { background: #3e2f73; color: #d7ccff; border-color: #574399; font-size: 10px; }
.clip.is-on { box-shadow: 0 0 0 2px #fff inset; filter: brightness(1.25); }
.clip--video { padding: 0; left: 0; right: 0; border: 2px solid var(--accent); display: flex; gap: 0; }
.clip--video img { height: 100%; flex: 1 1 0; min-width: 0; object-fit: cover; border-right: 1px solid rgba(0,0,0,.4); }
.clip--video b { position: absolute; left: 6px; top: 4px; padding: 2px 5px; border-radius: 3px; background: rgba(0,0,0,.6); font: 500 10px var(--mono); color: #fff; }
.clip--audio { left: 0; right: 0; background: #0f3a30; border-color: #1c6b57; padding: 0; }
.clip--audio svg { width: 100%; height: 100%; stroke: none; }
.clip--audio rect { fill: var(--c-audio); }
.clip--audio b { position: absolute; left: 6px; top: 3px; font: 500 10px var(--mono); color: #bff3e2; }
.tl__head { position: absolute; top: 0; bottom: 4px; left: 12px; width: 0; pointer-events: none; z-index: 3; }
.tl__head::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.5); }
.tl__head i { position: absolute; left: -6px; top: 0; width: 12px; height: 14px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }

/* =====================================================================
   Seções
   ===================================================================== */
.sec { padding: 10px 0; }
.sec .wrap { width: min(1240px, 100% - 20px); }
.sh { margin-bottom: 26px; max-width: 720px; }
.sh h2, .sec h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; }
.sh__sub { color: var(--muted); margin-top: 10px; }

/* ---------- Mídia / trabalhos ---------- */
.cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 8px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 500;
}
.cat i { width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--accent)); }
.cat small { font: 500 11px var(--mono); color: var(--dim); }
.cat:hover { color: var(--text); }
.cat[aria-selected="true"] { background: var(--accent-soft); border-color: rgba(16,216,230,.5); color: var(--accent); }
.cat[aria-selected="true"] small { color: var(--accent); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 12px; }
.tile { all: unset; cursor: pointer; display: grid; gap: 7px; 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: 8px; overflow: hidden; background: var(--panel-2); outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .15s; }
.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: 6px; bottom: 6px; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,.72); font: 500 10.5px var(--mono); }
.tile__tag { position: absolute; z-index: 2; left: 6px; top: 6px; padding: 2px 6px; border-radius: 4px; background: var(--c-pink); color: #2a0010; font: 700 10px var(--mono); }
.tile__add {
  position: absolute; z-index: 2; right: 6px; top: 6px; width: 26px; height: 26px; border-radius: 50%;
  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: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__name small { display: block; font-weight: 500; color: var(--dim); font-size: 11.5px; }
.more { display: flex; margin: 24px auto 0; }

/* ---------- Efeitos / serviços ---------- */
.fx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .fx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; transition: border-color .2s, transform .2s; }
.svc:hover { border-color: rgba(16,216,230,.55); transform: translateY(-2px); }
.svc h3 { font-size: 17px; margin: 14px 4px 6px; }
.svc p { color: var(--muted); font-size: 13.5px; margin: 0 4px 6px; }
.demo { position: relative; height: 150px; border-radius: 8px; overflow: hidden; background: #0d0d10; 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: 4px; animation: slide 6s linear infinite; }
.demo--vsl .row:nth-child(1) i { background: #6b4a16; border: 1px solid #8a6020; }
.demo--vsl .row:nth-child(2) i { background: #1a4c55; border: 1px solid var(--accent); }
.demo--vsl .row:nth-child(3) i { background: #0f3a30; border: 1px solid #1c6b57; }
.demo--vsl::after { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 2px; background: #fff; }
@keyframes slide { from { transform: translateX(60%); } to { transform: translateX(-160%); } }
.demo--ads .phone { width: 74px; height: 128px; border-radius: 12px; border: 2px solid #3a3a44; background: linear-gradient(160deg, #2b2240, #0f3a40); 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: #fff; background: var(--c-pink); padding: 4px 2px; border-radius: 4px; animation: pop 1.8s infinite; }
.demo--ads .phone i { position: absolute; left: 8px; right: 8px; bottom: 10px; height: 4px; border-radius: 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: 150px; padding: 12px; border-radius: 8px; background: var(--panel-3); border: 1px solid var(--line); font: 700 12px/1.3 var(--display); 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 19px/1.2 var(--display); 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: #ffe14d; text-shadow: 0 0 12px rgba(255,225,77,.5); } 18%, 100% { color: #fff; text-shadow: none; } }
.demo--motion .box { width: 90px; height: 90px; border-radius: 10px; background: conic-gradient(from 0deg, var(--accent), var(--c-fx), var(--c-pink), 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--ai { display: flex; align-items: center; justify-content: center; gap: 4px; }
.demo--ai i { width: 5px; border-radius: 3px; background: var(--c-audio); animation: wave 1.1s ease-in-out infinite; height: 20px; }
@keyframes wave { 50% { height: 80px; background: var(--accent); } }

/* ---------- Keyframes / processo ---------- */
.kf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; counter-reset: k; }
.kf::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--c-fx)); opacity: .5; }
.kf li { position: relative; padding-top: 38px; counter-increment: k; }
.kf li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 14px; height: 14px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; box-shadow: 0 0 0 4px var(--panel); }
.kf li::after { content: "0" counter(k); position: absolute; left: 30px; top: 3px; font: 500 12px var(--mono); color: var(--dim); }
.kf h3 { font-size: 16px; margin-bottom: 6px; }
.kf p { color: var(--muted); font-size: 13.5px; }

/* ---------- História ---------- */
.story { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.story__photo { margin: 0; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--panel-2); 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: 4px; 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: #cfcfd8; max-width: 64ch; }
.ops { margin-top: 26px; }
.ops__k, .tools__k { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.ops__list { display: flex; flex-wrap: wrap; gap: 8px; }
.op { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); text-decoration: none; font-size: 13px; }
.op:hover { border-color: rgba(16,216,230,.5); }
.op img, .op .op__ini { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--panel-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: 6px; background: var(--panel-3); font-size: 12.5px; }

/* ---------- Exportar / contato ---------- */
.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; }
.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(--panel-2); border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px; color: var(--text); font-size: 14px; min-height: 42px;
}
.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; height: 34px; padding: 0 12px; border-radius: 7px; background: var(--panel-2); border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.opt[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.exp__bar { position: relative; height: 34px; border-radius: 7px; background: var(--panel-2); overflow: hidden; display: grid; place-items: center; font-size: 13px; }
.exp__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, #0aa7b3, var(--accent)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.exp__bar span { position: relative; color: #fff; font-weight: 600; }
.exp__msg { font-size: 13px; color: var(--muted); min-height: 1em; }
.exp__msg.is-err { color: #ff8a96; }

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

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

/* =====================================================================
   Player em tela cheia
   ===================================================================== */
.lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6,6,8,.96); color: var(--text); }
.lb::backdrop { background: rgba(0,0,0,.7); }
.lb__in { height: 100%; display: grid; grid-template-columns: 1fr 340px; }
.lb__stage { position: relative; display: grid; place-items: center; padding: 24px 70px; min-height: 0; }
.lb__player { height: 100%; max-height: calc(100svh - 48px); max-width: 100%; aspect-ratio: var(--ar, 9 / 16); border-radius: 10px; overflow: hidden; background: #000; }
.lb__player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); font-size: 26px; line-height: 1; display: grid; place-items: center; padding-bottom: 3px; }
.lb__nav:hover { border-color: var(--accent); color: var(--accent); }
.lb__nav--prev { left: 14px; }
.lb__nav--next { right: 14px; }
.lb__x { position: absolute; z-index: 5; right: 14px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); font-size: 22px; line-height: 1; }
.lb__info { background: var(--panel); border-left: 1px solid var(--line); padding: 64px 22px 22px; overflow: auto; display: flex; flex-direction: column; gap: 14px; }
.lb__info h2 { font-size: 24px; }
.lb__meta { font: 500 12px var(--mono); color: var(--dim); }
.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: 6px; background: var(--panel-2); border: 1px solid var(--line); text-decoration: none; font-size: 13px; }
.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: 1100px) {
  .ws__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pnl--props { display: none; }
  .kf { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .kf::before { display: none; }
}

@media (max-width: 767px) {
  :root { --top: 52px; }
  body { font-size: 15px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .tabs, .btn--export { display: none; }
  .top { justify-content: space-between; }
  .ws { padding: 8px; gap: 8px; }
  .ws__grid { grid-template-columns: 1fr; height: auto; }
  .pnl--intro .pnl__head { display: none; }
  .pnl--intro .intro { padding: 20px 18px 18px; }
  .intro__sub { margin-top: 12px; font-size: 14.5px; }
  .intro__ctas { margin-top: 18px; }
  .intro__niches { display: none; }
  .player { padding: 10px; }
  .player__stage { height: min(60svh, 520px); }
  .intro h1 { font-size: 30px; }
  .intro__ctas .btn { flex: 1 1 auto; }
  .tl__hint { display: none; }
  .tl__track--fx { display: none; }
  .tl__track--video { height: 40px; }
  .clip--text { font-size: 9.5px; padding: 0 4px; }
  .clip--text svg { display: none; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
  .tile__name { font-size: 11.5px; }
  .tile__name small { font-size: 10.5px; }
  .tile__add { display: none; }
  .fx { grid-template-columns: 1fr; }
  .kf { grid-template-columns: 1fr; gap: 0; }
  .kf li { padding: 0 0 22px 40px; }
  .kf li::before { left: 4px; top: 4px; }
  .kf li::after { left: auto; right: 0; top: 2px; }
  .kf li:not(:last-child) { border-left: 2px solid rgba(16,216,230,.35); margin-left: 10px; padding-left: 28px; }
  .kf li:not(:last-child)::before { left: -8px; }
  .kf li:last-child { margin-left: 10px; padding-left: 30px; }
  .kf li:last-child::before { left: -6px; }
  .story { grid-template-columns: 1fr; }
  .story__photo { max-width: 260px; }
  .exp__grid { grid-template-columns: 1fr; }
  .exp__form { grid-template-columns: 1fr; }
  .lb__in { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lb__stage { padding: 56px 8px 8px; }
  .lb__player { max-height: calc(100svh - 230px); }
  .lb__nav { width: 40px; height: 40px; top: 8px; transform: none; background: rgba(31,31,36,.85); }
  .lb__nav--prev { left: 12px; }
  .lb__nav--next { left: 60px; right: auto; }
  .lb__x { top: 8px; right: 12px; }
  .clip--text { font-size: 8.5px; letter-spacing: 0; }
  .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: 19px; }
  .lb__desc-hide { display: none; }

  .dock {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(18,18,21,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .dock a { display: grid; justify-items: center; gap: 3px; padding: 6px 0; border-radius: 8px; 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); }
  .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; }
}
