@font-face { font-family: Bricolage; src: url(fontes/bricolage.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Inter; src: url(fontes/inter-tight-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(fontes/inter-tight-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(fontes/inter-tight-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
:root { --verde: #b6f23a; --azul: #5ce1ff; --fundo: #07080c; --painel: #12151c; --linha: #232a36; --texto: #eef1f5; --suave: #9aa4b2; --erro: #ff6b6b; }
* { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: transparent; }
html, body { background: var(--fundo); color: var(--texto); font: 400 16px/1.45 Inter, system-ui, sans-serif; }
body { min-height: 100dvh; padding: env(safe-area-inset-top) 0 calc(78px + env(safe-area-inset-bottom)); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2 { font-family: Bricolage, sans-serif; letter-spacing: -0.01em; line-height: 1.1; }
h1 { font-size: 30px; margin-bottom: 8px; }
h2 { font-size: 21px; margin: 22px 0 10px; }
h1 b, h2 b { color: var(--verde); }
p.suave, .suave { color: var(--suave); font-size: 14px; }

.topo { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #07080ce6; backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); }
.logo { display: flex; align-items: center; gap: 9px; font-family: Bricolage; font-size: 19px; }
.logo img { width: 30px; height: 30px; border-radius: 9px; }
.creditos { background: #16200a; color: var(--verde); border: 1px solid #3a4a14; border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: 14px; }
main { padding: 20px 16px 30px; max-width: 560px; margin: 0 auto; }

.abas { position: fixed; bottom: 0; left: 0; right: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); background: #0c0e13f2; backdrop-filter: blur(10px); border-top: 1px solid var(--linha); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.abas button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: 12px; color: var(--suave); border-radius: 12px; }
.abas button span { font-size: 19px; line-height: 1; }
.abas button.ativa { color: var(--verde); }

.cartao { background: var(--painel); border: 1px solid var(--linha); border-radius: 18px; padding: 16px; margin-bottom: 14px; }
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
input, textarea, select { width: 100%; background: #0b0d12; border: 1px solid var(--linha); border-radius: 13px; padding: 13px 14px; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--verde); }
textarea { min-height: 96px; resize: vertical; }
.botao { display: block; width: 100%; text-align: center; padding: 15px; border-radius: 14px; font-weight: 700; background: #1b2029; text-decoration: none; color: var(--texto); }
.botao.primario { background: var(--verde); color: #07080c; }
.botao:disabled { opacity: .5; }
.botao + .botao { margin-top: 10px; }
.erro { color: var(--erro); font-size: 14px; margin-top: 10px; }

.formatos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.formato { text-align: left; background: #0b0d12; border: 1px solid var(--linha); border-radius: 14px; padding: 12px; }
.formato b { display: block; }
.formato small { color: var(--suave); font-size: 12.5px; }
.formato.ativo { border-color: var(--verde); box-shadow: 0 0 0 1px var(--verde) inset; }
.formato:disabled { opacity: .45; }
.ideias { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ideias button { border: 1px solid var(--linha); border-radius: 99px; padding: 7px 12px; font-size: 13px; color: var(--suave); }

.video { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; background: var(--painel); border: 1px solid var(--linha); border-radius: 16px; padding: 10px; margin-bottom: 10px; }
.video .mini { width: 58px; height: 80px; flex: none; border-radius: 10px; background: #0b0d12 center/cover; display: grid; place-items: center; font-size: 22px; }
.video .mini.longo { height: 44px; width: 78px; }
.video b { display: block; font-size: 15px; }
.status { font-size: 13px; color: var(--suave); }
.status.pronto { color: var(--verde); }
.status.erro { color: var(--erro); }
.barra { height: 6px; background: #ffffff14; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.barra i { display: block; height: 100%; background: var(--verde); transition: width .4s; }

video.player { width: 100%; border-radius: 16px; background: #000; max-height: 70dvh; }
.copiar { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--linha); font-size: 14.5px; }
.copiar:first-of-type { border-top: 0; }
.copiar button { flex: none; color: var(--verde); font-weight: 700; font-size: 13.5px; padding: 2px 4px; }
.texto-longo { white-space: pre-wrap; color: var(--suave); font-size: 13.5px; max-height: 160px; overflow: auto; }

.plano { position: relative; }
.plano.atual { border-color: var(--verde); }
.plano .preco { font-family: Bricolage; font-size: 26px; margin: 4px 0 8px; }
.plano .preco small { font-family: Inter; font-size: 14px; color: var(--suave); }
.plano ul { padding-left: 18px; color: var(--suave); font-size: 14px; margin-bottom: 12px; }
.selo { position: absolute; top: 14px; right: 14px; background: var(--verde); color: #07080c; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.cores { display: flex; gap: 10px; }
.cores input { height: 48px; padding: 4px; }

.aviso { position: fixed; left: 16px; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 9; background: #1b2029; border: 1px solid var(--linha); border-radius: 14px; padding: 12px 14px; font-size: 14px; text-align: center; }
.codigo { letter-spacing: .5em; text-align: center; font-size: 26px; font-weight: 700; }
.vazio { text-align: center; padding: 40px 10px; color: var(--suave); }
[hidden] { display: none !important; }
