
.selo-svg{ width:100%; height:auto; display:block; overflow:visible; }

/* ---- a caneta: cada traco na sua vez ---- */
@keyframes slPena0{0%,0.300%{stroke-dashoffset:842}0.971%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:842}}
.sl-t0{animation:slPena0 65.0s linear infinite}
@keyframes slPena1{0%,0.971%{stroke-dashoffset:652}1.490%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:652}}
.sl-t1{animation:slPena1 65.0s linear infinite}
@keyframes slPena2{0%,1.490%{stroke-dashoffset:161}1.616%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:161}}
.sl-t2{animation:slPena2 65.0s linear infinite}
@keyframes slPena3{0%,1.616%{stroke-dashoffset:13}1.625%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:13}}
.sl-t3{animation:slPena3 65.0s linear infinite}
@keyframes slPena4{0%,1.625%{stroke-dashoffset:34}1.651%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:34}}
.sl-t4{animation:slPena4 65.0s linear infinite}
@keyframes slPena5{0%,1.651%{stroke-dashoffset:405}1.973%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:405}}
.sl-t5{animation:slPena5 65.0s linear infinite}
@keyframes slPena6{0%,1.973%{stroke-dashoffset:273}2.189%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:273}}
.sl-t6{animation:slPena6 65.0s linear infinite}
@keyframes slPena7{0%,2.189%{stroke-dashoffset:285}2.415%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:285}}
.sl-t7{animation:slPena7 65.0s linear infinite}
@keyframes slPena8{0%,2.415%{stroke-dashoffset:68}2.468%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:68}}
.sl-t8{animation:slPena8 65.0s linear infinite}
@keyframes slPena9{0%,2.468%{stroke-dashoffset:114}2.558%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:114}}
.sl-t9{animation:slPena9 65.0s linear infinite}
@keyframes slPena10{0%,2.558%{stroke-dashoffset:32}2.581%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:32}}
.sl-t10{animation:slPena10 65.0s linear infinite}
@keyframes slPena11{0%,2.581%{stroke-dashoffset:859}3.266%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:859}}
.sl-t11{animation:slPena11 65.0s linear infinite}
@keyframes slPena12{0%,3.266%{stroke-dashoffset:906}3.988%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:906}}
.sl-t12{animation:slPena12 65.0s linear infinite}
@keyframes slPena13{0%,3.988%{stroke-dashoffset:18}4.000%,97.00%{stroke-dashoffset:0}99.30%,100%{stroke-dashoffset:18}}
.sl-t13{animation:slPena13 65.0s linear infinite}

/* ---- a escrita some no fim da volta e volta a ser escrita ---- */
@keyframes slEscritaSome{
  0%,97.0%{ opacity:1 }
  98.5%,99.3%{ opacity:0 }
  100%{ opacity:1 }
}

/* ---- "Bombinhas" entra depois da palavra e sai junto ---- */
.sl-nome{ transform-box:fill-box; transform-origin:center; }
@keyframes slNome{
  0%,4.0%{ opacity:0; transform:translateY(16px) scale(.94) }
  5.4%,97.0%{ opacity:1; transform:none }
  98.5%,99.3%{ opacity:0; transform:translateY(-10px) scale(1.03) }
  100%{ opacity:0; transform:translateY(16px) scale(.94) }
}

/* ---- o pingente balanca como pendulo, preso la em cima ---- */
.sl-pendulo{ transform-origin:3555.3px 309.3px; }
@keyframes slPendulo{
  0%,100%{ transform:rotate(-7.5deg) }
  50%     { transform:rotate(7.5deg) }
}

/* ---- as estrelinhas piscam ---- */
.sl-estrela{ transform-box:fill-box; transform-origin:center; }
@keyframes slBrilha{
  0%,100%{ opacity:.08; transform:scale(.45) }
  45%    { opacity:1;   transform:scale(1.35) }
  60%    { opacity:.85; transform:scale(1.1) }
}

@keyframes slOuro{ 0%,86%,100%{ filter:none } 93%{ filter:brightness(1.2) } }

@media (prefers-reduced-motion:no-preference){
  .sl-escrita { animation:slEscritaSome 65.0s linear infinite; }
  .sl-nome    { animation:slNome 65.0s ease-in-out infinite; }
  .sl-pendulo { animation:slPendulo 3.2s cubic-bezier(.36,0,.64,1) infinite; }
  .sl-estrela { animation:slBrilha var(--dur,3s) ease-in-out var(--atraso,0s) infinite; }
  .sl-ouro    { animation:slOuro 9s ease-in-out 5s infinite; }
}
@media (prefers-reduced-motion:reduce){ .sl-traco{ stroke-dashoffset:0 !important; } }
html.ac-parado .sl-traco{ stroke-dashoffset:0 !important; animation:none !important; }
html.ac-parado .sl-escrita,
html.ac-parado .sl-nome,
html.ac-parado .sl-pendulo,
html.ac-parado .sl-estrela,
html.ac-parado .sl-ouro{ animation:none !important; opacity:1 !important; transform:none !important; }
