/* Telas de escolha e tutorial do Claudinho. Letra grande, botões grandes, pensado para criança. */
.bv-camada {
  position: fixed; inset: 0; z-index: 9000; overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px calc(env(safe-area-inset-bottom, 0px) + 18px);
  background: linear-gradient(170deg, #FFF7E8, #E8F1FF 60%, #F3E8FF);
  font-family: system-ui, -apple-system, "SF Pro Rounded", "Segoe UI", sans-serif; color: #1F2233;
  animation: bv-entra .3s ease;
}
.bv-camada.bv-saindo { animation: bv-sai .35s ease forwards; }
@keyframes bv-entra { from { opacity: 0; transform: scale(.98); } }
@keyframes bv-sai { to { opacity: 0; transform: scale(1.03); } }
.bv-camada button { font-family: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

.bv-titulo { font-weight: 900; font-size: clamp(24px, 7vw, 34px); line-height: 1.1; text-transform: uppercase; text-align: center; margin: 6px 0 4px; letter-spacing: .01em; }
.bv-dica { margin: 0 0 12px; font-size: 18px; color: #4B5165; text-align: center; }

/* escolha */
.bv-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 420px; }
.bv-cartao { border: 0; padding: 8px 8px 10px; border-radius: 26px; background: #fff; box-shadow: 0 4px 0 #D9DEEA; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; transition: transform .15s; }
.bv-cartao:active { transform: scale(.96); }
.bv-cartao .bv-rosto { width: 100%; aspect-ratio: 1; border-radius: 20px; }
.bv-nome { font-weight: 900; font-size: 19px; text-transform: uppercase; }
.bv-cartao.bv-marcado { box-shadow: 0 0 0 5px #FF5A1F, 0 6px 0 #D9DEEA; transform: scale(1.02); }
.bv-cartao.bv-atual:not(.bv-marcado) { box-shadow: 0 0 0 3px #A7B0C8, 0 4px 0 #D9DEEA; }

.bv-botao { border: 0; border-radius: 22px; font-weight: 900; font-size: 20px; text-transform: uppercase; padding: 16px 22px; min-height: 60px; cursor: pointer; }
.bv-principal { background: var(--cor, #16A34A); color: #fff; box-shadow: 0 5px 0 rgba(0,0,0,.18); }
.bv-principal:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.bv-secundario { background: #fff; color: #1F2233; box-shadow: 0 4px 0 #D9DEEA; font-size: 16px; }
.bv-confirmar { position: sticky; bottom: 0; margin-top: 14px; width: 100%; max-width: 420px; }
.bv-confirmar:disabled { background: #C9CEDA; box-shadow: none; }

/* tutorial */
.bv-topo { width: 100%; max-width: 440px; display: flex; justify-content: space-between; align-items: center; min-height: 40px; }
.bv-contador, .bv-pular { flex: 1 1 0; }
.bv-contador { font-weight: 800; font-size: 16px; color: #4B5165; }
.bv-pular { text-align: right; border: 0; background: transparent; color: #6B7280; font-weight: 800; font-size: 14px; padding: 10px; }
.bv-guia { flex: 0 0 auto; min-height: 64px; }
.bv-rosto.bv-mini { width: 64px; height: 64px; border-radius: 22px; box-shadow: 0 3px 0 rgba(0,0,0,.08); }
.bv-rosto.bv-grande { width: min(62vw, 260px); aspect-ratio: 1; border-radius: 40px; margin: 6px auto; }
.bv-tutorial .bv-titulo { max-width: 380px; margin-top: 8px; min-height: 2.2em; display: flex; align-items: center; justify-content: center; }
.bv-figura { width: 100%; max-width: 330px; display: flex; justify-content: center; margin: 4px 0; }
.bv-fig { width: min(70vw, 260px); height: auto; }
.bv-fig.bv-safari { width: 130px; }
.bv-texto { font-size: 21px; line-height: 1.35; text-align: center; max-width: 380px; margin: 6px 0 14px; font-weight: 600; }
.bv-acoes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; max-width: 420px; margin-top: auto; }
.bv-acoes .bv-principal { flex: 1 1 100%; font-size: 24px; min-height: 68px; }
.bv-acoes .bv-secundario { flex: 1 1 40%; }
.bv-comecar { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bv-gigante { font-size: 28px; min-height: 84px; padding: 18px 40px; border-radius: 30px; animation: bv-chama 1.4s ease-in-out infinite; }
@keyframes bv-chama { 50% { transform: scale(1.06); } }
.bv-pulso { animation: bv-pulso 1.1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bv-pulso { 50% { opacity: .35; transform: scale(1.08); } }

/* botão de trocar dentro do app */
.bv-trocar { border: 0; border-radius: 18px; padding: 10px 16px; font-weight: 900; font-size: 15px; background: rgba(255,255,255,.9); color: #1F2233; box-shadow: 0 3px 0 rgba(0,0,0,.12); }

@media (prefers-reduced-motion: reduce) { .bv-gigante, .bv-pulso, .bv-camada { animation: none; } }
