/* Tutorial interativo */
.tut { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
.tut-bloq { position: fixed; pointer-events: auto; background: transparent; }
.tut-foco {
  position: fixed; border-radius: 10px; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(18, 18, 22, .58);
  transition: left .35s cubic-bezier(.2, .8, .2, 1), top .35s cubic-bezier(.2, .8, .2, 1), width .35s cubic-bezier(.2, .8, .2, 1), height .35s cubic-bezier(.2, .8, .2, 1);
}
.tut.sem-alvo .tut-foco { border-radius: 50%; }
.tut.clicar .tut-foco { outline: 2px solid #fff; outline-offset: 2px; animation: tut-pulso 1.6s ease-out infinite; }
@keyframes tut-pulso {
  0% { box-shadow: 0 0 0 9999px rgba(18, 18, 22, .58), 0 0 0 0 rgba(255, 255, 255, .7); }
  70% { box-shadow: 0 0 0 9999px rgba(18, 18, 22, .58), 0 0 0 14px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 9999px rgba(18, 18, 22, .58), 0 0 0 0 rgba(255, 255, 255, 0); }
}

.tut-card {
  position: fixed; pointer-events: auto; width: min(380px, calc(100vw - 28px)); padding: 18px 18px 14px;
  background: #fff; color: #18181b; border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  transition: left .35s cubic-bezier(.2, .8, .2, 1), top .35s cubic-bezier(.2, .8, .2, 1);
}
.tut.sem-alvo .tut-card { width: min(480px, calc(100vw - 28px)); }
.tut-card.entrar { animation: tut-entrar .3s ease-out; }
.tut-card.chacoalhar { animation: tut-chacoalhar .4s ease-in-out; }
@keyframes tut-entrar { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes tut-chacoalhar { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }

.tut-cab { display: flex; flex-direction: column; gap: 6px; font-size: .72rem; color: #8a7560; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.tut-barra { display: block; height: 3px; border-radius: 3px; background: #f1f0ed; overflow: hidden; }
.tut-barra i { display: block; height: 100%; background: #18181b; transition: width .35s ease; }
.tut-titulo { font-weight: 650; font-size: 1.02rem; margin-bottom: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tut-texto { font-size: .9rem; color: #3f3f46; line-height: 1.55; }
.tut-texto p { margin: 0 0 8px; }
.tut-selo { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; }
.tut-selo.obrigatorio { background: #fdeeee; color: #b91c1c; }
.tut-selo.opcional { background: #ecf7ef; color: #15803d; }
.tut-selo.condicional { background: #fdf4e7; color: #b45309; }
.tut-dica { margin-top: 10px; font-size: .84rem; font-weight: 600; color: #18181b; display: flex; align-items: center; gap: 8px; }
.tut-mao { display: inline-block; animation: tut-tocar 1.2s ease-in-out infinite; }
@keyframes tut-tocar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.tut-botoes { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.tut-botoes:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  .tut-foco, .tut-card { transition: none; }
  .tut.clicar .tut-foco, .tut-mao { animation: none; }
}
