:root {
  color-scheme: dark;
  --fundo: #09090b;
  --fundo-2: #0f0f12;
  --cartao: #131316;
  --cartao-2: #1c1c20;
  --borda: #26262b;
  --borda-forte: #3a3a41;
  --texto: #fafafa;
  --suave: #a1a1aa;
  --fraco: #80808a;
  --onda: #3f3f46;
  --acento: #e60a0a;
  --acento-2: #ff5a4d;
  --amarelo: #ffe600;
  --ok: #3ecf8e;
  --grad: linear-gradient(var(--acento), var(--acento));
  --raio: 12px;
  --sombra: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --letra: Geist, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--fundo);
  color: var(--texto);
  font: 15px/1.55 var(--letra);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.1; }
small, .dica { color: var(--suave); font-size: 13px; }
.contentor { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.grad-texto { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 12px 18px;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: transform .08s, filter .15s, background .15s, border-color .15s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primario { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 0, 0, .55); }
.btn-primario:hover { filter: brightness(1.08); }
.btn-escuro { background: var(--cartao-2); color: var(--texto); border: 1px solid var(--borda-forte); }
.btn-escuro:hover { border-color: var(--fraco); }
.btn-fantasma { background: transparent; color: var(--suave); border: 1px solid var(--borda); }
.btn-fantasma:hover { color: var(--texto); border-color: var(--borda-forte); }
.btn-grande { padding: 15px 22px; font-size: 16px; border-radius: 14px; }
.btn-bloco { width: 100%; }

/* ---------- navegação ---------- */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--fundo) 75%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--borda) 60%, transparent); }
.nav .contentor { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.logo { width: 34px; height: 34px; display: block; flex: none; }
.marca .nome { height: 26px; width: auto; display: block; }
.selo { font-size: 11px; font-weight: 700; color: var(--acento-2); border: 1px solid color-mix(in srgb, var(--acento-2) 40%, transparent); padding: 2px 8px; border-radius: 99px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--suave); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--texto); }
@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
  .nav .selo { display: none; }
  .nav .btn { padding: 9px 14px; font-size: 14px; }
  .marca { white-space: nowrap; }
}

/* ---------- página inicial ---------- */
.hero { padding-top: 72px; }
.hero-texto { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 48px; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
.hero-lado p { color: var(--suave); font-size: 17px; margin: 0 0 22px; }
.hero-acoes { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-acoes .btn[data-ic="arrow-right"] { flex-direction: row-reverse; }
.hero-lado small { color: var(--fraco); }
@media (max-width: 900px) { .hero { padding-top: 44px; } .hero-texto { grid-template-columns: 1fr; gap: 22px; margin-bottom: 32px; } }

.mock { margin: 0; border: 1px solid var(--borda); border-radius: 16px; background: var(--cartao); overflow: hidden; box-shadow: var(--sombra); }
.mock-topo { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--borda); font-size: 13px; color: var(--suave); }
.mock-direto { display: inline-flex; align-items: center; gap: 7px; color: var(--texto); font-weight: 600; }
.mock-direto::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acento); animation: pulso 1.4s infinite; }
.mock-tempo { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--texto); }
.mock-linha { padding: 20px 18px 10px; }
.mock-onda svg { display: block; width: 100%; height: 84px; }
.mock-marcas { position: relative; height: 22px; margin-top: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--acento-2); }
.mock-marcas span { position: absolute; top: 0; white-space: nowrap; }
.mock-cortes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 8px 18px 18px; }
.mock-corte { position: relative; aspect-ratio: 9 / 13; border-radius: 10px; overflow: hidden; border: 1px solid var(--borda); display: grid; align-items: end; background: #18181b; }
.mock-corte.c1 { background: radial-gradient(90% 60% at 30% 12%, #6b2b1d, transparent 70%), radial-gradient(80% 70% at 85% 100%, #3b1524, transparent 70%), #17151a; }
.mock-corte.c2 { background: radial-gradient(90% 60% at 75% 10%, #1e4258, transparent 70%), radial-gradient(70% 60% at 10% 90%, #33210f, transparent 70%), #14161a; }
.mock-corte.c3 { background: radial-gradient(90% 60% at 20% 15%, #4a3a12, transparent 70%), radial-gradient(70% 70% at 90% 85%, #122f28, transparent 70%), #15161a; }
.mock-corte.c4 { background: radial-gradient(90% 60% at 70% 15%, #47173a, transparent 70%), radial-gradient(70% 70% at 15% 90%, #16264a, transparent 70%), #151419; }
.mock-nota { position: absolute; top: 9px; left: 9px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, .6); font-family: var(--mono); font-size: 11.5px; }
.mock-dur { position: absolute; top: 9px; right: 9px; padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, .6); font-family: var(--mono); font-size: 11.5px; color: #d4d4d8; }
.mock-leg { padding: 0 10px 18%; text-align: center; font-family: Geist, sans-serif; font-weight: 700; font-size: clamp(12px, 1.5vw, 19px); line-height: 1.15; color: #fff; text-shadow: 0 1px 6px #000; }
.mock-leg em { font-style: normal; color: var(--amarelo); display: block; }
@media (max-width: 720px) {
  .mock-cortes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-corte.c3, .mock-corte.c4 { display: none; }
  .mock-leg { font-size: 15px; }
  .mock-onda { overflow: hidden; }
  .mock-onda svg { width: 640px; max-width: none; }
  .mock-marcas span:nth-child(1) { left: 22% !important; }
  .mock-marcas span:nth-child(2) { left: 80% !important; }
  .mock-marcas span:nth-child(3) { display: none; }
}

.faixa { display: flex; align-items: center; justify-content: space-between; gap: 14px 40px; flex-wrap: wrap; padding-top: 44px; color: var(--fraco); font-size: 14px; }
.faixa p { margin: 0; }
.faixa div { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; font-size: 15px; color: var(--suave); }

.seccao { padding-top: 104px; }
@media (max-width: 720px) { .seccao { padding-top: 72px; } }
.titulo-seccao { max-width: 640px; margin-bottom: 40px; }
.titulo-seccao h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; letter-spacing: -0.03em; }
.titulo-seccao p { color: var(--suave); font-size: 17px; margin: 12px 0 0; }

.pilares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .pilares { grid-template-columns: 1fr; } }
.pilar { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); padding: 14px 14px 22px; }
.pilar h3 { font-size: 17px; font-weight: 600; margin: 18px 8px 6px; letter-spacing: -0.015em; }
.pilar p { color: var(--suave); font-size: 14.5px; margin: 0 8px; }
.pilar-vis { position: relative; height: 170px; border-radius: 8px; background: var(--fundo-2); border: 1px solid var(--borda); overflow: hidden; display: grid; place-items: center; }
.vis-onda svg { width: 82%; height: auto; }
.vis-enquadrar { background: linear-gradient(180deg, #1a1a1f, #101013); }
.v-pessoa { position: absolute; bottom: 0; width: 64px; height: 112px; border-radius: 32px 32px 0 0; background: #2d2d33; }
.v-pessoa::before { content: ""; position: absolute; left: 14px; top: -30px; width: 36px; height: 44px; border-radius: 50%; background: #3a3a41; }
.v-pessoa.p1 { left: 22%; } .v-pessoa.p2 { right: 18%; background: #232328; }
.v-pessoa.p2::before { background: #2d2d33; }
.v-janela { position: absolute; top: 0; bottom: 0; left: 15%; width: 84px; border: 2px solid var(--acento); box-shadow: 0 0 0 999px rgba(9, 9, 11, .55); }
.vis-legenda { align-content: center; gap: 2px; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; text-align: center; }
.vis-legenda em { font-style: normal; color: var(--amarelo); }

.extras { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 40px; }
@media (max-width: 860px) { .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .extras { grid-template-columns: 1fr; } }
.extras li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.extra-ic { color: var(--suave); font-size: 16px; padding-top: 2px; }
.extras h3 { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.extras p { color: var(--suave); font-size: 14px; margin: 2px 0 0; }

.passos { list-style: none; counter-reset: passo; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--borda); }
@media (max-width: 800px) { .passos { grid-template-columns: 1fr; } }
.passos li { counter-increment: passo; padding: 22px 28px 0 0; }
.passos li::before { content: "0" counter(passo); display: block; font-family: var(--mono); font-size: 13px; color: var(--acento-2); margin-bottom: 22px; }
.passos h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.passos p { color: var(--suave); font-size: 14.5px; margin: 0; }
.generos { color: var(--fraco); font-size: 14.5px; margin: 44px 0 0; }

.precos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 860px; }
@media (max-width: 720px) { .precos { grid-template-columns: 1fr; } }
.plano { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); padding: 26px; display: flex; flex-direction: column; }
.plano.destaque { border-color: var(--borda-forte); }
.plano .nome { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.plano .valor { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; margin: 12px 0 2px; line-height: 1.2; }
.plano .valor small { font-size: 15px; font-weight: 400; letter-spacing: 0; }
.plano .valor-breve { color: var(--suave); }
.plano ul { list-style: none; padding: 20px 0 0; margin: 20px 0 26px; border-top: 1px solid var(--borda); display: grid; gap: 11px; flex: 1; align-content: start; }
.plano li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.plano li::before { content: ""; width: 5px; height: 10px; margin: 3px 0 0 4px; border: solid var(--texto); border-width: 0 1.75px 1.75px 0; transform: rotate(40deg); }
.plano li.em-breve { color: var(--suave); }
.plano li.em-breve::before { width: 5px; height: 5px; margin: 8px 0 0 5px; border: 0; border-radius: 50%; background: var(--fraco); transform: none; }

.seccao-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .seccao-faq { grid-template-columns: 1fr; gap: 0; } }
.faq { border-top: 1px solid var(--borda); }
.faq details { border-bottom: 1px solid var(--borda); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: 7px 3px 0 0; border: solid var(--suave); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 11px; }
.faq p { color: var(--suave); margin: 10px 0 0; font-size: 14.5px; max-width: 62ch; }

.cta-final { margin-top: 104px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px 40px; padding: 40px; border-radius: var(--raio); border: 1px solid var(--borda); background: var(--cartao); }
.cta-final h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -0.025em; max-width: 18em; }
.cta-final .btn { flex-direction: row-reverse; }
@media (max-width: 560px) { .cta-final { padding: 26px 22px; margin-top: 72px; } }

.rodape { color: var(--fraco); font-size: 13.5px; padding-top: 56px; padding-bottom: 44px; }

/* ---------- estúdio ---------- */
.estudio { padding-top: 22px; padding-bottom: 60px; }
.estudio-grelha { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 960px) { .estudio-grelha { grid-template-columns: 1fr; } }
.painel { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); padding: 20px; min-width: 0; }
.painel + .painel { margin-top: 18px; }
.painel-titulo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.painel-titulo h2 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.lateral { position: sticky; top: 82px; }
@media (max-width: 960px) { .lateral { position: static; } }

.aviso { border: 1px solid color-mix(in srgb, var(--acento-2) 50%, transparent); background: color-mix(in srgb, var(--acento-2) 10%, transparent); padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; }

.campo { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.campo:last-child { margin-bottom: 0; }
.rotulo { font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; }
.campo.duplo { flex-direction: row; gap: 12px; }
.campo.duplo label { flex: 1; display: flex; flex-direction: column; gap: 7px; }
input[type="number"] { background: var(--fundo-2); color: var(--texto); border: 1px solid var(--borda); border-radius: 10px; padding: 9px 10px; font: inherit; width: 100%; }
input[type="range"] { accent-color: var(--acento); width: 100%; }
output { color: var(--acento-2); font-weight: 700; }
.segmentado { display: flex; background: var(--fundo-2); border: 1px solid var(--borda); border-radius: 11px; padding: 3px; }
.segmentado label { flex: 1; text-align: center; padding: 8px 4px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--suave); }
.segmentado input { display: none; }
.segmentado label:has(input:checked) { background: var(--cartao-2); color: var(--texto); box-shadow: inset 0 0 0 1px var(--borda-forte); }
.interruptor { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; cursor: pointer; }
.interruptor input { appearance: none; width: 40px; height: 23px; border-radius: 99px; background: var(--borda-forte); position: relative; cursor: pointer; transition: background .15s; flex: none; margin: 0; }
.interruptor input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .15s; }
.interruptor input:checked { background: var(--acento); }
.interruptor input:checked::after { transform: translateX(17px); }

.badge { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 99px; background: var(--cartao-2); border: 1px solid var(--borda); color: var(--suave); display: inline-flex; align-items: center; gap: 6px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fraco); }
.badge.ao-vivo { background: color-mix(in srgb, var(--acento) 18%, transparent); border-color: color-mix(in srgb, var(--acento) 50%, transparent); color: #fff; }
.badge.ao-vivo::before { background: var(--acento); animation: pulso 1.4s infinite; }
@keyframes pulso { 50% { opacity: .3; } }

.previa { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; border: 1px solid var(--borda); }
.previa video { width: 100%; height: 100%; object-fit: contain; display: block; }
.previa-vazia { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--fraco); font-size: 14px; padding: 20px; }
.previa-vazia b { display: block; color: var(--suave); font-size: 16px; margin-bottom: 4px; }

.medidor { position: relative; height: 12px; background: var(--fundo-2); border: 1px solid var(--borda); border-radius: 99px; margin: 16px 0; overflow: hidden; }
.nivel { height: 100%; width: 0; background: linear-gradient(90deg, var(--ok), var(--acento-2), var(--acento)); transition: width .25s; }
.marca-limiar { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; left: 70%; opacity: .8; }
.numeros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 600px) { .numeros { grid-template-columns: repeat(2, 1fr); } }
.numeros div { background: var(--fundo-2); border: 1px solid var(--borda); border-radius: 12px; padding: 12px; }
.numeros b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.numeros span { font-size: 12px; color: var(--suave); }
.registo { list-style: none; margin: 14px 0 0; padding: 0; max-height: 170px; overflow-y: auto; font-size: 13px; color: var(--suave); }
.registo li { padding: 6px 0; border-top: 1px solid var(--borda); }
.registo li.forte { color: var(--texto); }
.registo time { font-variant-numeric: tabular-nums; margin-right: 10px; color: var(--fraco); }

.modelo-estado { font-size: 13px; color: var(--suave); }
.barra { height: 6px; background: var(--fundo-2); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.barra i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s; }

.cortes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cortes-vazio { border: 1px dashed var(--borda-forte); border-radius: 14px; padding: 36px 20px; text-align: center; color: var(--fraco); }
.corte { background: var(--fundo-2); border: 1px solid var(--borda); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.corte video { width: 100%; aspect-ratio: 9 / 16; background: #000; object-fit: contain; display: block; }
.corte.h video { aspect-ratio: 16 / 9; }
.corte video::cue { font: 900 18px Inter, sans-serif; color: #fff; background: transparent; text-shadow: 0 0 4px #000, 0 0 4px #000, 2px 2px 0 #000; text-transform: uppercase; }
.corte .info { padding: 12px 14px 4px; display: flex; flex-direction: column; gap: 3px; }
.corte .info b { font-size: 14px; }
.corte .info span { font-size: 12px; color: var(--suave); }
.corte .estado-leg { font-size: 12px; padding: 0 14px; color: var(--suave); min-height: 18px; overflow-wrap: anywhere; }
.corte .estado-leg.pronto { color: var(--ok); }
.corte .estado-leg .barra { margin: 6px 0 2px; }
.corte .acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 14px 14px; }
.corte .acoes .btn { padding: 9px 8px; font-size: 13px; border-radius: 10px; }
.corte .acoes .btn-primario { grid-column: 1 / -1; }

/* ---------- separadores, carregar vídeo, editor ---------- */
.separadores { display: flex; gap: 4px; background: var(--fundo-2); border: 1px solid var(--borda); border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.separador { flex: 1; border: 0; background: transparent; color: var(--suave); font: inherit; font-weight: 700; font-size: 14px; padding: 9px 6px; border-radius: 9px; cursor: pointer; }
.separador.ativo { background: var(--cartao-2); color: var(--texto); box-shadow: inset 0 0 0 1px var(--borda-forte); }
.zona-ficheiro { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; min-height: 150px; padding: 20px; border: 1.5px dashed var(--borda-forte); border-radius: 14px; cursor: pointer; background: var(--fundo-2); transition: border-color .15s, background .15s; }
.zona-ficheiro:hover, .zona-ficheiro.arrastar { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 7%, var(--fundo-2)); }
.zona-ficheiro b { font-size: 15px; }
.zona-ficheiro span { color: var(--suave); font-size: 13px; }
.zona-ficheiro.ocupado { pointer-events: none; opacity: .5; }
.estado-ficheiro { margin-top: 14px; }
.estado-ficheiro .rotulo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.estado-ficheiro small { display: block; margin-top: 6px; }

.corte.recortar video { object-fit: cover; }
.corte .linha-leg { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 2px; }
.corte .interruptor { font-size: 13px; }
.corte .interruptor input { width: 34px; height: 20px; }
.corte .interruptor input::after { width: 14px; height: 14px; }
.corte .interruptor input:checked::after { transform: translateX(14px); }
.corte .acoes { grid-template-columns: 1fr 1fr; }

.editor { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 22px; border: 1px solid var(--borda-forte); border-radius: 20px; background: var(--cartao); color: var(--texto); box-shadow: var(--sombra); }
.editor::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(3px); }
.editor-lista { list-style: none; margin: 12px 0 18px; padding: 0; display: grid; gap: 8px; max-height: 55vh; overflow-y: auto; }
.editor-lista li { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; }
.editor-lista time { font-size: 12px; color: var(--fraco); font-variant-numeric: tabular-nums; white-space: nowrap; }
.editor-lista input { background: var(--fundo-2); color: var(--texto); border: 1px solid var(--borda); border-radius: 10px; padding: 9px 11px; font: inherit; font-weight: 600; text-transform: uppercase; width: 100%; }
.editor-lista input:focus { outline: none; border-color: var(--acento); }
.editor-acoes { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- ganhos rápidos: amostra, pontuação, título, formatos ---------- */
.amostra-legenda { width: 100%; aspect-ratio: 540 / 300; border-radius: 12px; border: 1px solid var(--borda); display: block; margin-bottom: 16px; }
.segmentado label { font-size: 12.5px; }
.cortes-topo { flex-wrap: wrap; align-items: flex-end; }
.cortes-topo > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.cortes-ferramentas { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cortes-ferramentas .btn { padding: 9px 14px; font-size: 13px; }
.ordenar { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--suave); }
.ordenar select { background: var(--fundo-2); color: var(--texto); border: 1px solid var(--borda); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13px; }
.corte-video { position: relative; }
.corte-video .pontuacao { position: absolute; top: 10px; left: 10px; font-size: 13px; font-weight: 800; padding: 4px 9px; border-radius: 99px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .15); }
.pontuacao.alta { color: #ffd23f; } .pontuacao.media { color: #ffb37a; } .pontuacao.baixa { color: #cfd3dc; }
.corte.f-quadrado video { aspect-ratio: 1 / 1; }
.corte.f-horizontal video { aspect-ratio: 16 / 9; }
.corte .info { gap: 4px; }
.corte .titulo { background: transparent; border: 1px solid transparent; border-radius: 8px; color: var(--texto); font: inherit; font-weight: 700; font-size: 14px; padding: 4px 6px; margin: 0 -6px; width: calc(100% + 12px); }
.corte .titulo:hover { border-color: var(--borda); }
.corte .titulo:focus { outline: none; border-color: var(--acento); background: var(--cartao); }
.corte .meta { font-size: 12px; color: var(--suave); }
.corte .hashtags { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--acento-2); }
.corte .hashtags span { flex: 1; overflow-wrap: anywhere; }
.corte .hashtags .btn { padding: 4px 9px; font-size: 11px; flex: none; }
.editor-sub { font-size: 14px; margin: 18px 0 2px; }

/* ---------- enquadramento ---------- */
.corte-video .enq-estado { position: absolute; top: 10px; right: 10px; font-size: 11.5px; font-weight: 700; padding: 4px 8px; border-radius: 99px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .15); color: #e8eaf0; }
.editor { overflow-y: auto; }
.enq-palco { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; margin: 6px 0 8px; touch-action: none; user-select: none; }
.enq-palco video { width: 100%; height: 100%; display: block; object-fit: contain; pointer-events: none; }
.enq-janela { position: absolute; top: 0; bottom: 0; border: 2px solid var(--acento); border-radius: 6px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .55); cursor: grab; }
.enq-janela::after { content: "⟷"; position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font-size: 13px; font-weight: 800; color: #fff; background: var(--acento); border-radius: 99px; padding: 1px 9px; }
.enq-palco:active .enq-janela { cursor: grabbing; }
.enq-barra { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.enq-barra .btn { padding: 6px 12px; min-width: 44px; }
.enq-barra input[type=range] { flex: 1; }
.enq-barra output { font-size: 12px; color: var(--suave); font-variant-numeric: tabular-nums; min-width: 42px; text-align: right; }
.enq-botoes { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 10px; }
.enq-botoes .btn { padding: 7px 12px; font-size: 13px; }

/* ---------- procurar momento ---------- */
.procura { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--borda); display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.procura-linha { display: flex; gap: 8px; }
.procura-linha input { flex: 1; min-width: 0; background: var(--fundo-2); color: var(--texto); border: 1px solid var(--borda); border-radius: 10px; padding: 9px 11px; font: inherit; font-size: 14px; }
.procura-linha input:focus { outline: none; border-color: var(--acento); }
.procura-linha .btn { padding: 9px 14px; font-size: 13px; }
.procura small { color: var(--suave); font-size: 12.5px; }
.procura-resultados { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 340px; overflow-y: auto; }
.procura-resultados li { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; background: var(--fundo-2); border: 1px solid var(--borda); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.procura-resultados time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--acento-2); white-space: nowrap; }
.procura-resultados span { color: var(--suave); overflow-wrap: anywhere; }
.procura-resultados mark { background: color-mix(in srgb, var(--acento) 30%, transparent); color: var(--texto); border-radius: 4px; padding: 0 3px; font-weight: 700; }
.procura-resultados .btn { grid-column: 1 / -1; justify-self: start; padding: 6px 12px; font-size: 12.5px; }
.procura-resultados .procura-todos { background: none; border: 0; padding: 0; }
.procura-resultados .procura-todos .btn { justify-self: stretch; }

/* ---------- o meu estilo de legenda ---------- */
.estilo-proprio { display: grid; gap: 4px; background: var(--fundo-2); border: 1px solid var(--borda); border-radius: 14px; padding: 14px; margin-bottom: 16px; }
.estilo-proprio select, .campo select { background: var(--fundo-2); color: var(--texto); border: 1px solid var(--borda); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13px; width: 100%; }
.estilo-proprio .cores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.estilo-proprio .cores label { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--suave); }
.estilo-proprio input[type=color] { width: 100%; height: 34px; border: 1px solid var(--borda); border-radius: 10px; background: transparent; padding: 2px; cursor: pointer; }
.estilo-proprio .interruptor { font-size: 13px; margin-bottom: 6px; }

/* ---------- legenda no editor ---------- */
.leg-camada { position: absolute; top: 0; height: 100%; pointer-events: none; }

/* ---------- corte manual ---------- */
.manual-video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; display: block; }
.procura .enq-botoes { margin: 2px 0 0; }

/* ---------- ecrã dividido ---------- */
.enq-painel { position: absolute; border: 2px solid var(--acento); border-radius: 6px; background: color-mix(in srgb, var(--acento) 12%, transparent); cursor: ew-resize; display: flex; align-items: flex-start; justify-content: flex-start; font-weight: 900; font-size: 13px; color: #fff; padding: 2px 6px; text-shadow: 0 1px 3px #000; }
.tela-dividida { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; cursor: pointer; }
.play-dividido { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 22px; cursor: pointer; backdrop-filter: blur(4px); }
.corte-video .enq-estado, .corte-video .pontuacao { z-index: 2; }

/* ---------- número de cortes ---------- */
.outro-numero { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--suave); margin-top: 8px; }
.outro-numero input { width: 90px; background: var(--fundo-2); color: var(--texto); border: 1px solid var(--borda); border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 13px; }
.outro-numero input:focus { outline: none; border-color: var(--acento); }
#btn-refazer { margin-top: 10px; font-size: 13px; padding: 9px 12px; }

/* ---------- rodapé ---------- */
.rodape { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 18px 40px; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.rodape a { color: var(--suave); text-decoration: none; }
.rodape a:hover { color: var(--texto); }
.rodape p { margin: 0; }
.rodape-marca { display: grid; gap: 10px; }
.rodape-marca img { display: block; height: 28px; width: auto; }
.rodape-dir { flex-basis: 100%; }
.rodape-estudio { justify-content: center; padding: 24px 0 32px; }

/* ---------- páginas de texto (privacidade, termos, 404) ---------- */
.texto-legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 24px; line-height: 1.7; }
.texto-legal h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.03em; margin: 0 0 6px; }
.texto-legal .atualizado { color: var(--suave); font-size: 14px; margin: 0 0 32px; }
.texto-legal h2 { font-size: 20px; margin: 34px 0 8px; }
.texto-legal p, .texto-legal li { color: #c9cdd8; }
.texto-legal ul { padding-left: 22px; }
.texto-legal a { color: var(--acento-2); }
.pagina-404 { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 14px; padding: 60px 24px; }
.pagina-404 .numero { font-size: clamp(80px, 18vw, 160px); font-weight: 900; line-height: 1; letter-spacing: -0.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pagina-404 p { color: var(--suave); margin: 0 0 10px; }

/* ---------- área do vídeo na live ---------- */
.previa { touch-action: none; }
.area-live { position: absolute; border: 2px solid var(--acento); border-radius: 6px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .5); pointer-events: none; }
.area-live span { position: absolute; left: 6px; top: 6px; background: var(--acento); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.area-ferramentas { margin: 10px 0 4px; display: grid; gap: 4px; }
.area-ferramentas .enq-botoes { margin: 4px 0 0; }

/* ---------- marca: logótipos ---------- */
.logos { display: grid; gap: 10px; margin-top: 12px; }
.logo-slot { background: var(--fundo-2); border: 1px solid var(--borda); border-radius: 12px; padding: 10px; display: grid; gap: 8px; }
.logo-slot > .btn { font-size: 13px; padding: 9px 10px; }
.logo-topo { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; align-items: center; }
.logo-topo img { width: 44px; height: 44px; object-fit: contain; background: repeating-conic-gradient(#2a2d3a 0% 25%, #1c1f2a 0% 50%) 50% / 12px 12px; border-radius: 8px; }
.logo-topo select { background: var(--cartao); color: var(--texto); border: 1px solid var(--borda); border-radius: 10px; padding: 7px 8px; font: inherit; font-size: 12.5px; min-width: 0; }
.logo-topo .btn { padding: 6px 10px; }
.logo-regua { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 12px; color: var(--suave); }
.logo-regua input { grid-column: 1 / -1; }
.logo-sobre { position: absolute; pointer-events: none; z-index: 1; height: auto; }
.logo-aviso { color: #ffb020; font-size: 12px; line-height: 1.35; }
.logo-aviso:empty { display: none; }
/* marca d'água da versão grátis: o mesmo movimento do vídeo final (alfaMarca em app.js) */
.logo-movel { animation: marca-movel 8s linear infinite; }
@keyframes marca-movel {
  0%, 49.99% { left: var(--x-a); top: var(--y-a); }
  50%, 100% { left: var(--x-b); top: var(--y-b); }
  0%, 49.99%, 50%, 100% { opacity: 0; }
  3.75%, 46.25%, 53.75%, 96.25% { opacity: var(--op); }
}

/* várias lives ao mesmo tempo */
.lives { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.live-chip { display: flex; align-items: stretch; border: 1px solid var(--borda); border-radius: 12px; background: var(--fundo-2); overflow: hidden; }
.live-chip.ativo { border-color: var(--acento); box-shadow: inset 0 0 0 1px var(--acento); }
.live-escolher { all: unset; cursor: pointer; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 5px; align-items: center; padding: 8px 10px 9px 12px; font-size: 13px; color: var(--texto); }
.live-escolher:focus-visible, .live-fechar:focus-visible { outline: 2px solid var(--acento); outline-offset: -2px; }
.live-chip .ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--acento); box-shadow: 0 0 8px var(--acento); }
.live-chip.mudo .ponto { background: var(--fraco); box-shadow: none; }
.live-info { grid-column: 1 / -1; color: var(--suave); font-size: 12px; font-variant-numeric: tabular-nums; }
.live-nivel { grid-column: 1 / -1; width: 120px; height: 4px; border-radius: 99px; background: var(--borda); overflow: hidden; }
.live-nivel i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .25s; }
.live-fechar { all: unset; cursor: pointer; display: grid; place-items: center; padding: 0 12px; color: var(--fraco); border-left: 1px solid var(--borda); }
.live-fechar:hover { color: var(--texto); background: rgba(255, 255, 255, .05); }
.reg-live { color: var(--acento-2); font-weight: 700; }

/* live por link */
.link-passos { display: grid; gap: 8px; margin: 10px 0 0; }
#link-live { width: 100%; }

/* telemóvel: sem captura de lives, só "Carregar vídeo" */
.so-telemovel, .so-tel { display: none; }
.sem-captura .so-captura { display: none !important; }
.sem-captura .so-telemovel:not([hidden]) { display: block; }
.sem-captura .painel-direto { display: none; }
.modo-telemovel .so-pc { display: none; }
.modo-telemovel .so-tel { display: block; }
.aviso-tel { display: grid; gap: 8px; font-size: 14px; color: var(--suave); }
.aviso-tel > b { color: var(--texto); font-size: 15px; }
.aviso-tel p { margin: 0; }
.aviso-tel ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.aviso-tel li b { color: var(--texto); }
.aviso-tel small { color: var(--fraco); line-height: 1.5; }

/* ecrãs estreitos: primeiro o que se faz (captar/carregar), depois os cortes, no fim as definições */
@media (max-width: 960px) {
  .estudio-grelha { display: flex; flex-direction: column; }
  .lateral, .estudio-grelha > .principal { display: contents; }
  .estudio-grelha .painel { order: 5; width: 100%; box-sizing: border-box; }
  .estudio-grelha .painel + .painel { margin-top: 0; }
  .estudio-grelha .painel-acao { order: 1; }
  .estudio-grelha .painel-direto { order: 2; }
  .estudio-grelha .painel-cortes { order: 3; }
}
@media (max-width: 560px) {
  .estudio { padding-top: 12px; padding-left: 16px; padding-right: 16px; }
  .cortes { grid-template-columns: 1fr; }
  .cortes-topo { flex-wrap: wrap; gap: 10px; }
  .cortes-ferramentas { width: 100%; display: flex; gap: 8px; }
  .cortes-ferramentas > * { flex: 1; }
  .corte .acoes .btn { padding: 12px 8px; font-size: 14px; }
  .separador { font-size: 13.5px; padding: 11px 4px; }
}

/* entrada animada (uma vez por sessão; entrada.js marca "ja-entrou") */
.entrada { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: radial-gradient(600px 400px at 50% 45%, rgba(255, 0, 0, .18), transparent 70%), var(--fundo, #07080c); animation: entrada-sai .45s ease 1.55s forwards; }
.ja-entrou .entrada { display: none; }
.entrada-centro { display: grid; justify-items: center; gap: 14px; }
.entrada-simbolo { position: relative; width: 132px; height: 132px; overflow: hidden; border-radius: 24px; animation: entrada-simbolo .7s cubic-bezier(.2, .9, .3, 1.3) both; }
.entrada-simbolo img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 24px rgba(255, 0, 0, .55)); }
.entrada-corte { position: absolute; top: -20%; bottom: -20%; width: 26%; left: -40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-20deg); animation: entrada-corte .55s ease .55s both; }
.entrada-nome { width: 150px; height: auto; animation: entrada-nome .5s ease .6s both; }
.entrada-barra { width: 120px; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; animation: entrada-nome .3s ease .8s both; }
.entrada-barra i { display: block; height: 100%; width: 0; background: var(--grad); animation: entrada-barra .8s ease .8s forwards; }
@keyframes entrada-simbolo { from { opacity: 0; transform: scale(.4) rotate(-12deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes entrada-corte { from { left: -40%; } to { left: 120%; } }
@keyframes entrada-nome { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes entrada-barra { to { width: 100%; } }
@keyframes entrada-sai { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) {
  .entrada { animation-delay: .6s; }
  .entrada-simbolo, .entrada-nome, .entrada-barra, .entrada-corte, .entrada-barra i { animation-duration: .01s; animation-delay: 0s; }
}

/* convite para instalar a app */
.convite-app { position: fixed; left: 50%; bottom: 16px; z-index: 900; width: min(440px, calc(100% - 32px)); transform: translate(-50%, 140%); transition: transform .35s cubic-bezier(.2, .9, .3, 1.1); display: grid; grid-template-columns: 52px 1fr; gap: 10px 12px; align-items: center; padding: 14px; background: var(--cartao); border: 1px solid var(--borda); border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.convite-app.aberto { transform: translate(-50%, 0); }
.convite-app img { border-radius: 12px; }
.convite-texto { display: grid; gap: 2px; font-size: 13px; color: var(--suave); }
.convite-texto b { color: var(--texto); font-size: 15px; }
.convite-botoes { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; }
.convite-botoes .btn { padding: 9px 16px; font-size: 14px; }

/* animação enquanto o vídeo é analisado */
.a-processar { position: fixed; inset: 0; z-index: 800; display: grid; place-items: center; padding: 16px; background: rgba(7, 8, 12, .82); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.a-processar.aberto { opacity: 1; }
.proc-caixa { width: min(360px, 100%); display: grid; justify-items: center; gap: 14px; text-align: center; padding: 28px 22px; background: var(--cartao); border: 1px solid var(--borda); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.proc-anim { position: relative; width: 104px; height: 104px; display: grid; place-items: center; }
.proc-anim img { width: 100%; height: 100%; position: relative; z-index: 1; animation: proc-bate 1.2s ease-in-out infinite; }
.proc-onda { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--acento); animation: proc-onda 1.8s ease-out infinite; }
.proc-onda.o2 { animation-delay: .9s; }
.proc-passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--fraco); text-align: left; width: 100%; }
.proc-passos li::before { content: "○"; display: inline-block; width: 22px; color: var(--fraco); }
.proc-passos li.agora { color: var(--texto); font-weight: 700; }
.proc-passos li.agora::before { content: "●"; color: var(--acento); animation: proc-pisca 1s ease-in-out infinite; }
.proc-passos li.feito { color: var(--suave); }
.proc-passos li.feito::before { content: "✓"; color: var(--ok, #22c55e); }
.proc-caixa .barra { width: 100%; }
.proc-caixa small { color: var(--suave); font-variant-numeric: tabular-nums; }
@keyframes proc-bate { 50% { transform: scale(1.07); filter: drop-shadow(0 0 18px rgba(255, 0, 0, .6)); } }
@keyframes proc-onda { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
@keyframes proc-pisca { 50% { opacity: .35; } }
/* as barras de progresso mexem enquanto trabalham */
.barra i { background-size: 28px 28px; background-image: linear-gradient(45deg, rgba(255, 255, 255, .18) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .18) 50%, rgba(255, 255, 255, .18) 75%, transparent 75%), var(--grad); animation: barra-anda .8s linear infinite; }
@keyframes barra-anda { to { background-position: 28px 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .proc-anim img, .proc-onda, .barra i, .proc-passos li.agora::before { animation: none; } }

/* lives por link */
.links-lista { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.links-lista:empty { display: none; }
.link-linha { display: grid; gap: 8px; padding: 10px 12px; background: var(--fundo-2); border: 1px solid var(--borda); border-radius: 12px; }
.link-linha.a-captar { border-color: var(--acento); }
.link-info { display: grid; gap: 2px; min-width: 0; }
.link-info b { font-size: 14px; }
.link-url { font-size: 12px; color: var(--fraco); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-info small { font-size: 12px; color: var(--suave); font-variant-numeric: tabular-nums; }
.link-linha.a-captar .link-info small { color: var(--texto); }
.link-botoes { display: flex; gap: 6px; }
.link-botoes .btn { padding: 8px 12px; font-size: 13px; }
.link-botoes .btn-primario { flex: 1; }
.link-botoes .btn[hidden] { display: none; }

/* ---------- acabamento geral ---------- */
h1, h2, h3 { font-weight: 600; }
.contentor { max-width: 1200px; padding-left: 24px; padding-right: 24px; }
.btn { border-radius: 8px; padding: 10px 16px; font-weight: 600; font-size: 14px; transition: background .15s, border-color .15s, color .15s; }
.btn:active { transform: none; }
.btn-primario { background: var(--acento); box-shadow: none; }
.btn-primario:hover { filter: none; background: #f51d1d; }
.btn-escuro { background: var(--cartao-2); border-color: var(--borda); }
.btn-escuro:hover { border-color: var(--borda-forte); background: #242429; }
.btn-fantasma { color: var(--texto); border-color: var(--borda); }
.btn-fantasma:hover { background: var(--cartao-2); border-color: var(--borda-forte); }
.btn-grande { padding: 12px 20px; font-size: 15px; border-radius: 8px; }
.btn[data-ic]:empty { padding-left: 10px; padding-right: 10px; gap: 0; }
:focus-visible { outline: 2px solid var(--acento-2); outline-offset: 2px; }
.nav { background: rgba(9, 9, 11, .82); border-bottom-color: var(--borda); }
.nav .contentor { height: 60px; }
.logo { width: 30px; height: 30px; }
.marca .nome { height: 24px; }
.selo { color: var(--suave); border-color: var(--borda-forte); font-weight: 500; padding: 1px 7px; border-radius: 6px; }
.badge { border-radius: 6px; font-weight: 500; font-size: 12.5px; padding: 4px 10px; }
output { color: var(--suave); font-family: var(--mono); font-weight: 500; font-size: 12.5px; }
input[type="number"], .procura-linha input, .ordenar select, .estilo-proprio select, .campo select, .outro-numero input, .logo-topo select, .editor-lista input { border-radius: 8px; }
input[type="range"] { height: 18px; }
small, .dica { color: var(--suave); font-size: 12.5px; line-height: 1.5; }
.dica { margin: 10px 0 0; }

/* ---------- estúdio ---------- */
.estudio.contentor { max-width: 1640px; padding-top: 16px; padding-bottom: 32px; }
.estudio-grelha { grid-template-columns: 372px minmax(0, 1fr); gap: 16px; }
.painel { padding: 16px; border-radius: var(--raio); }
.painel + .painel { margin-top: 12px; }
.painel-titulo h2 { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; }
@media (min-width: 961px) {
  .lateral { top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--borda-forte) transparent; }
}
.grupo { padding: 0; }
.grupo > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; cursor: pointer; list-style: none; }
.grupo > summary::-webkit-details-marker { display: none; }
.grupo > summary h2 { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; }
.grupo > summary::after { content: ""; width: 7px; height: 7px; margin-right: 3px; border: solid var(--suave); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.grupo[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.grupo[open] > summary { border-bottom: 1px solid var(--borda); }
.grupo > :not(summary) { margin-left: 16px; margin-right: 16px; }
.grupo > :not(summary):first-of-type, .grupo > summary + * { margin-top: 14px; }
.grupo > :last-child { margin-bottom: 16px; }

.separadores { border-radius: 9px; padding: 3px; margin-bottom: 14px; gap: 2px; }
.separador { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 7px; font-weight: 500; font-size: 13.5px; padding: 8px 6px; }
.separador:hover { color: var(--texto); }
.segmentado { border-radius: 9px; }
.segmentado label { border-radius: 7px; font-weight: 500; }
.campo { margin-bottom: 16px; }
.rotulo { font-weight: 500; }
.campo small { margin-top: -1px; }
.interruptor { font-weight: 500; }
.interruptor input:checked { background: var(--acento); }

.zona-ficheiro { min-height: 136px; border-radius: 10px; border-width: 1px; gap: 3px; color: var(--suave); }
.zona-ficheiro[data-ic]::before { width: 22px; height: 22px; margin-bottom: 8px; }
.zona-ficheiro b { font-size: 14.5px; font-weight: 500; color: var(--texto); }

.previa { border-radius: 8px; aspect-ratio: 16 / 9; max-height: 56vh; width: 100%; }
.previa:has(.previa-vazia:not([hidden])) { aspect-ratio: auto; height: 220px; background: var(--fundo-2); border-style: dashed; border-color: var(--borda-forte); }
.previa-vazia b { color: var(--texto); font-weight: 500; font-size: 15px; }
.medidor { height: 6px; border: 0; background: var(--cartao-2); margin: 12px 0; border-radius: 3px; }
.nivel { background: var(--acento); }
.numeros { gap: 0; border: 1px solid var(--borda); border-radius: 8px; background: var(--fundo-2); }
.numeros div { background: none; border: 0; border-radius: 0; padding: 10px 14px; }
.numeros div + div { border-left: 1px solid var(--borda); }
.numeros b { font: 500 19px/1.3 var(--mono); letter-spacing: -0.02em; }
.numeros span { color: var(--fraco); }
@media (max-width: 600px) { .numeros div:nth-child(3) { border-left: 0; } .numeros div:nth-child(n+3) { border-top: 1px solid var(--borda); } }
.registo time, .procura-resultados time, .enq-barra output { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.registo li { padding: 5px 0; }
.barra { height: 4px; }
.barra i { background-image: none; background-color: var(--acento); animation: none; }

.cortes { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; }
.cortes-vazio { border-radius: 8px; padding: 44px 20px; font-size: 14px; }
.corte { border-radius: 10px; background: var(--fundo-2); }
.corte-video .pontuacao, .corte-video .enq-estado { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; border: 0; background: rgba(0, 0, 0, .68); font-size: 12px; font-weight: 500; padding: 3px 7px; color: #f4f4f5; }
.corte-video .pontuacao { font-family: var(--mono); }
.pontuacao.alta { color: #fde047; } .pontuacao.media { color: #fdba74; } .pontuacao.baixa { color: #d4d4d8; }
.corte .titulo { font-weight: 600; }
.corte .hashtags { color: var(--suave); }
.corte .linha-leg .btn { padding: 6px 10px; font-size: 12.5px; }
.corte .acoes .btn { border-radius: 8px; font-size: 13px; }
.corte .acoes .btn[data-acao="apagar"] { color: var(--suave); }
.corte .acoes .btn[data-acao="apagar"]:hover { color: var(--acento-2); }
.play-dividido { display: grid; place-items: center; width: 48px; height: 48px; font-size: 20px; }

.editor { border-radius: 14px; }
.live-chip { border-radius: 8px; }
.live-fechar[data-ic]::before { width: 14px; height: 14px; }
.logo-slot, .link-linha { border-radius: 8px; }
.link-info small { font-family: var(--mono); }
.aviso { border-radius: 8px; }
.aviso-tel > b { font-weight: 600; }

/* no separador Vídeo não há nada em direto para mostrar */
body[data-modo="ficheiro"] .painel-direto { display: none; }

/* entrada, processamento e convite: mais contidos */
.entrada { background: var(--fundo); }
.entrada-simbolo img { filter: none; }
.entrada-barra i { background: var(--acento); }
.proc-caixa, .convite-app { border-radius: 14px; }
.proc-onda { border-width: 1px; }
.proc-passos li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 11px 1px 3px; border-radius: 50%; background: var(--borda-forte); }
.proc-passos li.agora::before { content: ""; background: var(--acento); }
.proc-passos li.feito::before { content: ""; background: var(--ok); }
@keyframes proc-bate { 50% { transform: scale(1.04); } }
.texto-legal h1, .pagina-404 .numero { font-weight: 600; }
.pagina-404 .numero { background: none; color: var(--texto); -webkit-text-fill-color: currentColor; }

@media (max-width: 560px) {
  .contentor, .estudio.contentor { padding-left: 16px; padding-right: 16px; }
  .btn-grande { flex: 1 1 auto; }
}

.nav:has(+ .estudio) .contentor { max-width: 1640px; }
.segmentado label { white-space: nowrap; }
.corte .acoes .btn-primario { font-size: 12.5px; gap: 6px; padding-left: 6px; padding-right: 6px; white-space: nowrap; }
.dicas { margin-top: 10px; font-size: 13px; }
.dicas > summary { cursor: pointer; color: var(--suave); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.dicas > summary::-webkit-details-marker { display: none; }
.dicas > summary:hover { color: var(--texto); }
.dicas > summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.dicas[open] > summary::after { transform: rotate(-135deg) translate(-1px, -1px); }
input[type="range"] { -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--borda-forte); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--borda-forte); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--texto); border: 0; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--texto); border: 0; }

/* ---------- ícones (Lucide, licença ISC) ---------- */
[data-ic]::before { content: ""; display: inline-block; flex: none; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
[data-ic="arrow-left-to-line"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M3 19V5%22/><path d=%22m13 6-6 6 6 6%22/><path d=%22M7 12h14%22/></svg>'); }
[data-ic="arrow-right"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M5 12h14%22/><path d=%22m12 5 7 7-7 7%22/></svg>'); }
[data-ic="arrow-right-to-line"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M17 12H3%22/><path d=%22m11 18 6-6-6-6%22/><path d=%22M21 5v14%22/></svg>'); }
[data-ic="circle"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22%23000%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><circle cx=%2212%22 cy=%2212%22 r=%2210%22/></svg>'); }
[data-ic="clapperboard"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z%22/><path d=%22m6.2 5.3 3.1 3.9%22/><path d=%22m12.4 3.4 3.1 4%22/><path d=%22M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z%22/></svg>'); }
[data-ic="crosshair"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><circle cx=%2212%22 cy=%2212%22 r=%2210%22/><line x1=%2222%22 x2=%2218%22 y1=%2212%22 y2=%2212%22/><line x1=%226%22 x2=%222%22 y1=%2212%22 y2=%2212%22/><line x1=%2212%22 x2=%2212%22 y1=%226%22 y2=%222%22/><line x1=%2212%22 x2=%2212%22 y1=%2222%22 y2=%2218%22/></svg>'); }
[data-ic="download"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4%22/><polyline points=%227 10 12 15 17 10%22/><line x1=%2212%22 x2=%2212%22 y1=%2215%22 y2=%223%22/></svg>'); }
[data-ic="external-link"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M15 3h6v6%22/><path d=%22M10 14 21 3%22/><path d=%22M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6%22/></svg>'); }
[data-ic="flame"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z%22/></svg>'); }
[data-ic="folder-open"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2%22/></svg>'); }
[data-ic="hand"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2%22/><path d=%22M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2%22/><path d=%22M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8%22/><path d=%22M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15%22/></svg>'); }
[data-ic="hash"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><line x1=%224%22 x2=%2220%22 y1=%229%22 y2=%229%22/><line x1=%224%22 x2=%2220%22 y1=%2215%22 y2=%2215%22/><line x1=%2210%22 x2=%228%22 y1=%223%22 y2=%2221%22/><line x1=%2216%22 x2=%2214%22 y1=%223%22 y2=%2221%22/></svg>'); }
[data-ic="link"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71%22/><path d=%22M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71%22/></svg>'); }
[data-ic="lock"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><rect width=%2218%22 height=%2211%22 x=%223%22 y=%2211%22 rx=%222%22 ry=%222%22/><path d=%22M7 11V7a5 5 0 0 1 10 0v4%22/></svg>'); }
[data-ic="maximize"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M8 3H5a2 2 0 0 0-2 2v3%22/><path d=%22M21 8V5a2 2 0 0 0-2-2h-3%22/><path d=%22M3 16v3a2 2 0 0 0 2 2h3%22/><path d=%22M16 21h3a2 2 0 0 0 2-2v-3%22/></svg>'); }
[data-ic="monitor"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><rect width=%2220%22 height=%2214%22 x=%222%22 y=%223%22 rx=%222%22/><line x1=%228%22 x2=%2216%22 y1=%2221%22 y2=%2221%22/><line x1=%2212%22 x2=%2212%22 y1=%2217%22 y2=%2221%22/></svg>'); }
[data-ic="palette"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><circle cx=%2213.5%22 cy=%226.5%22 r=%22.5%22 fill=%22%23000%22/><circle cx=%2217.5%22 cy=%2210.5%22 r=%22.5%22 fill=%22%23000%22/><circle cx=%228.5%22 cy=%227.5%22 r=%22.5%22 fill=%22%23000%22/><circle cx=%226.5%22 cy=%2212.5%22 r=%22.5%22 fill=%22%23000%22/><path d=%22M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z%22/></svg>'); }
[data-ic="pause"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22%23000%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><rect x=%2214%22 y=%224%22 width=%224%22 height=%2216%22 rx=%221%22/><rect x=%226%22 y=%224%22 width=%224%22 height=%2216%22 rx=%221%22/></svg>'); }
[data-ic="pencil"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z%22/><path d=%22m15 5 4 4%22/></svg>'); }
[data-ic="play"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22%23000%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><polygon points=%226 3 20 12 6 21 6 3%22/></svg>'); }
[data-ic="plus"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M5 12h14%22/><path d=%22M12 5v14%22/></svg>'); }
[data-ic="ratio"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><rect width=%2212%22 height=%2220%22 x=%226%22 y=%222%22 rx=%222%22/><rect width=%2220%22 height=%2212%22 x=%222%22 y=%226%22 rx=%222%22/></svg>'); }
[data-ic="rotate-ccw"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8%22/><path d=%22M3 3v5h5%22/></svg>'); }
[data-ic="rows-2"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><rect width=%2218%22 height=%2218%22 x=%223%22 y=%223%22 rx=%222%22/><path d=%22M3 12h18%22/></svg>'); }
[data-ic="scan-face"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M3 7V5a2 2 0 0 1 2-2h2%22/><path d=%22M17 3h2a2 2 0 0 1 2 2v2%22/><path d=%22M21 17v2a2 2 0 0 1-2 2h-2%22/><path d=%22M7 21H5a2 2 0 0 1-2-2v-2%22/><path d=%22M8 14s1.5 2 4 2 4-2 4-2%22/><path d=%22M9 9h.01%22/><path d=%22M15 9h.01%22/></svg>'); }
[data-ic="scissors"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><circle cx=%226%22 cy=%226%22 r=%223%22/><path d=%22M8.12 8.12 12 12%22/><path d=%22M20 4 8.12 15.88%22/><circle cx=%226%22 cy=%2218%22 r=%223%22/><path d=%22M14.8 14.8 20 20%22/></svg>'); }
[data-ic="search"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><circle cx=%2211%22 cy=%2211%22 r=%228%22/><path d=%22m21 21-4.3-4.3%22/></svg>'); }
[data-ic="share-2"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><circle cx=%2218%22 cy=%225%22 r=%223%22/><circle cx=%226%22 cy=%2212%22 r=%223%22/><circle cx=%2218%22 cy=%2219%22 r=%223%22/><line x1=%228.59%22 x2=%2215.42%22 y1=%2213.51%22 y2=%2217.49%22/><line x1=%2215.41%22 x2=%228.59%22 y1=%226.51%22 y2=%2210.49%22/></svg>'); }
[data-ic="square"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22%23000%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><rect width=%2218%22 height=%2218%22 x=%223%22 y=%223%22 rx=%222%22/></svg>'); }
[data-ic="upload"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4%22/><polyline points=%2217 8 12 3 7 8%22/><line x1=%2212%22 x2=%2212%22 y1=%223%22 y2=%2215%22/></svg>'); }
[data-ic="x"] { --ic: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 ><path d=%22M18 6 6 18%22/><path d=%22m6 6 12 12%22/></svg>'); }

/* ---------- contas ---------- */
.pagina-conta { max-width: 420px; margin: 0 auto; padding: 56px 16px 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pagina-conta-larga { max-width: 720px; }
#conta-painel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.cartao-conta { background: var(--cartao); border: 1px solid var(--borda); border-radius: var(--raio); padding: 24px; display: grid; gap: 14px; min-width: 0; }
.cartao-conta h1 { font-size: 26px; letter-spacing: -0.02em; margin: 0; }
.cartao-conta h2 { font-size: 16px; font-weight: 600; margin: 0; }
.cartao-conta p { margin: 0; color: var(--suave); font-size: 14px; line-height: 1.55; }
.cartao-conta form { display: grid; gap: 12px; justify-items: start; }
.cartao-conta form + form { border-top: 1px solid var(--borda); padding-top: 16px; }
.cartao-perigo { border-color: color-mix(in srgb, var(--acento) 40%, var(--borda)); }
.campo { display: grid; gap: 6px; width: 100%; }
.campo label { font-size: 13.5px; font-weight: 500; }
.campo small { color: var(--fraco); font-size: 12.5px; }
.campo input { width: 100%; background: var(--fundo-2); color: var(--texto); border: 1px solid var(--borda); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 16px; }
.campo input:focus { outline: none; border-color: var(--suave); }
.conta-nota a { color: var(--texto); }
.conta-aviso { font-size: 13.5px; border-radius: 8px; padding: 9px 11px; width: 100%; }
.cartao-conta .conta-aviso[data-tipo="erro"] { color: #ffb4ad; background: color-mix(in srgb, var(--acento) 14%, transparent); }
.cartao-conta .conta-aviso[data-tipo="ok"] { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.conta-alternativas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.link-botao { background: none; border: 0; padding: 4px 0; color: var(--suave); font: inherit; font-size: 13.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-botao:hover { color: var(--texto); }
.conta-cabeca { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.conta-cabeca h1 { font-size: 30px; letter-spacing: -0.02em; margin: 0; }
.conta-cabeca p { margin: 4px 0 0; color: var(--suave); font-size: 14px; overflow-wrap: anywhere; }
.plano-atual { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.tabela-rolar { overflow-x: auto; }
.tabela-conta { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tabela-conta th { text-align: left; color: var(--fraco); font-weight: 500; }
.tabela-conta th, .tabela-conta td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--borda); white-space: nowrap; }
.btn-perigo { background: var(--acento); color: #fff; border: 0; }
.cartao-conta .btn:disabled { opacity: .45; cursor: not-allowed; }
.nav-links a[data-link-conta] { display: inline; }
