﻿/* Página "Por que publicar" */
.vt { padding-top: 34px; padding-bottom: 56px; }
.vt h1, .vt h2, .vt h3 { letter-spacing: -.02em; }

.vt-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(135deg, rgba(124, 92, 255, .18), rgba(34, 211, 238, .06) 60%, rgba(20, 24, 36, .9)), var(--card); }
.vt-selo { display: inline-block; margin-bottom: 12px; padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(246, 196, 83, .45); color: var(--gold); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.vt-hero h1 { margin: 0 0 12px; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.08; }
.vt-hero p { margin: 0 0 22px; color: #c3cbdb; font-size: 16px; line-height: 1.65; max-width: 56ch; }
.vt-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.vt-cta { font-size: 15px; }
.vt-numeros { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.vt-numeros div { padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(11, 13, 20, .55); }
.vt-numeros dt { color: var(--muted); font-size: 12.5px; }
.vt-numeros dd { margin: 4px 0 0; font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; font-variant-numeric: tabular-nums; }

.vt-bloco { margin-top: 44px; }
.vt-caminhos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vt-caminho { padding: 22px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); }
.vt-caminho--plano { border-color: rgba(246, 196, 83, .45); background: linear-gradient(160deg, rgba(246, 196, 83, .08), transparent 55%), var(--card); }
.vt-caminho h2 { margin: 0; font-size: 22px; }
.vt-caminho > p { margin: 4px 0 14px; }
.vt-caminho ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.vt-caminho li { position: relative; padding-left: 22px; color: #d6dceb; line-height: 1.45; }
.vt-caminho li::before { content: "✓"; position: absolute; left: 0; color: #4ade80; font-weight: 900; }
.vt-caminho--plano li::before { color: var(--gold); }
.vt-link { display: inline-block; margin-top: 14px; color: var(--brand-2); font-weight: 700; text-decoration: none; }
.vt-link:hover { text-decoration: underline; }

.vt-fluxo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: vt; }
.vt-fluxo li { position: relative; display: grid; gap: 6px; align-content: start; padding: 18px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); counter-increment: vt; }
.vt-fluxo li::before { content: counter(vt); position: absolute; top: 12px; right: 14px; color: var(--muted); font-weight: 900; font-size: 13px; }
.vt-fluxo b { font-size: 15px; }
.vt-fluxo li > span:last-child { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.vt-fluxo__arte { display: grid; place-items: center start; height: 64px; margin-bottom: 4px; }
.vt-fluxo__arte img { height: 44px; width: auto; }
.vt-janela { position: relative; display: grid; place-items: center; width: 74px; height: 56px; border: 1px solid var(--line-2); border-radius: 8px; background: #0b0f19; }
.vt-janela i { position: absolute; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.vt-janela i:first-child { left: 7px; } .vt-janela i:nth-child(2) { left: 16px; }
.vt-janela em { margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
.vt-ok { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(34, 197, 94, .16); border: 2px solid #22c55e; color: #4ade80; font-size: 26px; font-weight: 900; }
.vt-presente { position: relative; width: 52px; height: 44px; margin-top: 8px; border-radius: 6px; background: linear-gradient(90deg, transparent 44%, var(--gold) 44% 56%, transparent 56%), linear-gradient(135deg, #7c5cff, #4f35c9); }
.vt-presente::before { content: ""; position: absolute; left: -4px; right: -4px; top: -10px; height: 12px; border-radius: 4px; background: linear-gradient(90deg, #6d4ff0 44%, var(--gold) 44% 56%, #6d4ff0 56%); }
.vt-nota { margin: 14px 0 0; padding: 13px 16px; border: 1px dashed var(--line-2); border-radius: 12px; color: #c3cbdb; font-size: 14px; line-height: 1.55; }

.vt-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vt-grade article { padding: 18px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card); }
.vt-grade h3 { margin: 0 0 6px; font-size: 16px; }
.vt-grade p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.vt-freq { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); }
.vt-freq__linha { display: grid; grid-template-columns: 96px minmax(0, 1fr) 320px; gap: 14px; align-items: center; }
.vt-freq__plano { display: flex; }
.vt-gratis { padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.vt-freq__barra { height: 10px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.vt-freq__barra i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.vt-freq__txt { color: var(--muted); font-size: 13px; }
.vt-freq__txt b { color: var(--text); }

.vt-passos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: passo; }
.vt-passos li { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card); counter-increment: passo; }
.vt-passos li::before { content: counter(passo); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 6px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 900; font-size: 13px; }
.vt-passos span { color: var(--muted); font-size: 13.5px; }

.vt-faq { display: grid; gap: 10px; }
.vt-faq details { border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); }
.vt-faq summary { padding: 14px 16px; font-weight: 700; cursor: pointer; }
.vt-faq p { margin: 0; padding: 0 16px 14px; color: #c3cbdb; line-height: 1.55; }

.vt-final { margin-top: 44px; padding: 30px 22px; text-align: center; border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(135deg, rgba(124, 92, 255, .2), rgba(34, 211, 238, .08)); }
.vt-final h2 { margin: 0 0 16px; font-size: clamp(22px, 3vw, 30px); }

@media (max-width: 900px) {
  .vt-hero { grid-template-columns: minmax(0, 1fr); }
  .vt-fluxo, .vt-passos { grid-template-columns: 1fr 1fr; }
  .vt-grade { grid-template-columns: 1fr 1fr; }
  .vt-freq__linha { grid-template-columns: 90px minmax(0, 1fr); }
  .vt-freq__txt { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .vt-numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .vt-numeros div { padding: 10px; }
  .vt-acoes .btn { min-height: 44px; }
  .vt-caminhos, .vt-fluxo, .vt-passos, .vt-grade { grid-template-columns: 1fr; }
}

/* ===================== Trilha animada do voto ===================== */
.vt-trilha { position: relative; padding: 8px 0 0; }
.vt-trilha__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.vt-trilha__base, .vt-trilha__rastro { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.vt-trilha__base { stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 6 8; }
.vt-trilha__rastro { stroke: #9d8cff; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(157, 140, 255, .8)); }
.vt-trilha__orbe { position: absolute; top: 0; left: 0; z-index: 2; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: radial-gradient(circle, #fff 0 25%, #b9a6ff 45%, rgba(124, 92, 255, 0) 72%); box-shadow: 0 0 18px 6px rgba(157, 140, 255, .55); opacity: 0; transition: opacity .3s; pointer-events: none; }
.vt-trilha__nos { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.vt-no { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 0 6px; }
.vt-no b { font-size: 15px; transition: color .4s; }
.vt-no > span:last-child { max-width: 230px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.vt-no__ico { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); color: #6b7387; transition: color .4s, border-color .4s, box-shadow .5s, transform .4s cubic-bezier(.3, 1.6, .5, 1), background .4s; }
.vt-no__ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vt-no.is-aceso .vt-no__ico { color: var(--no); border-color: var(--no); background: color-mix(in srgb, var(--no) 12%, var(--card)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--no) 10%, transparent), 0 0 28px -2px color-mix(in srgb, var(--no) 60%, transparent); transform: translateY(-3px) scale(1.06); }
.vt-no.is-aceso b { color: #fff; }
.vt-no__clique { opacity: 0; }
.vt-no.is-aceso .vt-no__clique { animation: vt-clique .6s ease-out; }
.vt-no__check { stroke-dasharray: 12; stroke-dashoffset: 12; }
.vt-no.is-aceso .vt-no__check { stroke-dashoffset: 0; transition: stroke-dashoffset .5s .1s ease-out; }
.vt-no--premio.is-aceso .vt-no__tampa { animation: vt-tampa .7s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 50% 70%; }
.vt-no__faiscas { position: absolute; inset: 50% auto auto 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; pointer-events: none; }
.vt-no--premio.is-aceso .vt-no__faiscas { animation: vt-faiscas .9s ease-out forwards; }
.vt-no__mais { position: absolute; top: -10px; left: 50%; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: #1a1406; font-size: 11px; font-weight: 900; white-space: nowrap; opacity: 0; transform: translate(-50%, 6px); pointer-events: none; }
.vt-no--premio.is-aceso .vt-no__mais { animation: vt-mais 1.4s ease-out forwards; }
.vt-trilha__volta { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed var(--line-2); color: var(--muted); font-size: 13.5px; }
.vt-trilha__volta svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes vt-clique { 0% { opacity: 0; transform: translateY(2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-2px); } }
@keyframes vt-tampa { 0% { transform: none; } 40% { transform: translateY(-4px) rotate(-8deg); } 100% { transform: none; } }
@keyframes vt-faiscas {
  0% { box-shadow: 0 0 0 0 #ffc83d, 0 0 0 0 #ff8a3d, 0 0 0 0 #9d8cff, 0 0 0 0 #2fd27a, 0 0 0 0 #ffc83d, 0 0 0 0 #ff4d8d; opacity: 1; }
  100% { box-shadow: -34px -30px 0 -1px #ffc83d, 36px -26px 0 -1px #ff8a3d, -40px 8px 0 -2px #9d8cff, 40px 12px 0 -2px #2fd27a, 0 -44px 0 -1px #ffc83d, -14px 38px 0 -2px #ff4d8d; opacity: 0; }
}
@keyframes vt-mais { 0% { opacity: 0; transform: translate(-50%, 6px); } 25% { opacity: 1; transform: translate(-50%, -14px); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -24px); } }
@media (max-width: 760px) {
  .vt-trilha__nos { grid-template-columns: 1fr; gap: 22px; }
  .vt-no { grid-template-columns: 64px minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 14px; text-align: left; }
  .vt-no__ico { grid-row: span 2; margin: 0; }
  .vt-no > span:last-child { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .vt-no__ico, .vt-no b { transition: none; } .vt-no.is-aceso .vt-no__ico { transform: none; } }
