/* Tema figurinha — álbum azul com figurinhas brancas descoladas. */
.t-figurinha {
  --azul: #2e86c1;
  --amarelo: #ffc93c;
  --branco: #fafaf8;
  --cinza-claro: #e8eef5;
  --texto: #1a2a3a;
  margin: 0;
  background: radial-gradient(circle, #3d94d4 1px, transparent 1px);
  background-size: 12px 12px;
  background-color: var(--azul);
  color: var(--texto);
  font: 400 1.0625rem/1.55 "Nunito", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.t-figurinha *, .t-figurinha *::before, .t-figurinha *::after { box-sizing: border-box; }
.t-figurinha [hidden] { display: none !important; }
.t-figurinha a { color: var(--azul); }
.t-figurinha :focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; }

.fg {
  width: min(560px, 100% - 32px);
  margin: 24px auto 0;
  padding-bottom: 48px;
}

.fg-topo { text-align: center; }
.fg-marca {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--branco);
  padding: 10px 22px 10px 10px;
  border: 2px solid var(--texto);
  border-radius: 8px;
  color: var(--texto);
  font: 800 1.35rem/1 "Baloo 2", sans-serif;
  text-decoration: none;
}
.fg-selo {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent, var(--azul)); color: #fff;
  font: 800 .95rem/1 "Nunito", sans-serif; letter-spacing: .02em;
}
.fg-slogan { margin: 14px auto 0; max-width: 34ch; color: rgba(26, 42, 58, 0.8); font-weight: 700; }

.fg-album {
  margin-top: 26px;
  background: var(--cinza-claro);
  border: 2px solid var(--texto);
  padding: 28px 24px 24px;
  border-radius: 12px;
}

.fg-paginas {
  text-align: center;
  font-size: 0.9rem;
  color: var(--texto);
  margin-bottom: 12px;
  font-weight: 700;
}

.fg-progresso {
  display: flex; gap: 6px; justify-content: center;
  margin-bottom: 16px;
}
.fg-progresso span {
  position: relative;             /* confina o ::after ao próprio ponto */
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(26, 42, 58, 0.2);
  overflow: hidden;
  transition: all .3s ease;
}
.fg-progresso span::after {
  content: ""; display: block; position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--accent, var(--amarelo));
  opacity: clamp(0, calc(var(--progresso, 0) * var(--total) - var(--i) + 1), 1);
  transition: opacity .3s ease;
}

.fg-tela h1 {
  margin: 0;
  font: 800 clamp(1.6rem, 5.4vw, 2.15rem)/1.15 "Baloo 2", sans-serif;
  color: var(--texto);
  outline: none;
}
.fg-sub { margin: 8px 0 0; color: rgba(26, 42, 58, 0.8); }

.fg-grade {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.fg-figurinha {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 160px;
  background: var(--branco);
  border: 2px solid var(--texto);
  border-radius: 4px;
  padding: 12px;
  color: var(--texto);
  font: 600 .9rem/1.2 "Nunito", sans-serif;
  text-align: center;
  cursor: pointer;
  transform: rotate(var(--rot, 0deg));
  transition: all .2s;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}
.fg-figurinha:hover { transform: rotate(var(--rot, 0deg)) scale(1.05); }
.fg-figurinha.is-marcada {
  background: linear-gradient(135deg, var(--amarelo) 0%, #ffdd33 100%);
  transform: rotate(0deg);
  box-shadow: 0 0 0 3px var(--branco), 0 0 0 5px var(--azul);
}

.fg-inner {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.fg-emoji {
  font-size: 3.2rem; line-height: 1;
}

.fg-canto {
  position: absolute; bottom: -4px; right: -4px;
  width: 22px; height: 22px;
  background: var(--branco);
  border: 2px solid var(--texto);
  border-top: none;
  border-left: none;
  border-radius: 0 0 4px 0;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
}
.fg-figurinha.is-marcada .fg-canto {
  background: #ffdd33;
  border-color: var(--texto);
}

.fg-acoes { display: flex; gap: 10px; margin-top: 22px; }
.fg-botao, .fg-voltar {
  font: 700 1rem/1 "Nunito", sans-serif;
  padding: 16px 20px; cursor: pointer; border-radius: 8px;
}
.fg-botao {
  flex: 1; display: block; text-align: center; text-decoration: none;
  background: var(--accent, var(--azul)); color: #fff;
  border: 2px solid var(--texto);
}
.fg-botao:disabled { background: rgba(46, 134, 193, 0.4); color: rgba(26, 42, 58, 0.5); border-color: rgba(26, 42, 58, 0.2); cursor: not-allowed; }
.fg-voltar { background: transparent; color: var(--texto); border: 2px solid rgba(26, 42, 58, 0.3); }

.fg-fim { text-align: center; }
.fg-hero { font-size: 2.4rem; margin: 0 0 8px; letter-spacing: .2em; }
.fg-fim .funil-cta { margin-top: 22px; }
.funil-cta.is-travado { opacity: .45; pointer-events: none; }
.funil-captcha { display: flex; justify-content: center; margin-top: 16px; }

.fg-sobre {
  margin-top: 36px; padding: 20px 24px;
  background: rgba(46, 134, 193, 0.12);
  border-left: 6px solid var(--amarelo);
  border-radius: 8px;
}
.fg-sobre h2 { margin: 0; font: 800 1.35rem/1.2 "Baloo 2", sans-serif; }
.fg-sobre p { margin: 8px 0 0; color: var(--texto); }
.fg-atende { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-top: 12px; }
.fg-atende a { font-weight: 700; }
.fg-atende span { color: rgba(26, 42, 58, 0.7); font-size: .92rem; }

.fg-rodape { margin-top: 36px; padding-top: 18px; border-top: 2px solid rgba(26, 42, 58, 0.2); font-size: .9rem; color: rgba(26, 42, 58, 0.7); }
.fg-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; }
.fg-rodape p { margin: 6px 0 0; }
.fg-18 { font-weight: 600; }

/* Páginas legais */
.t-figurinha.doc-corpo {
  background: radial-gradient(circle, #3d94d4 1px, transparent 1px);
  background-size: 12px 12px;
  background-color: var(--azul);
}
.t-figurinha .doc { width: min(720px, 100% - 32px); margin: 0 auto; padding: 28px 0 56px; }
.t-figurinha .doc-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 2px solid var(--azul); }
.t-figurinha .doc-marca { display: inline-flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; font: 800 1.2rem/1 "Baloo 2", sans-serif; }
.t-figurinha .doc-selo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--azul); color: #fff; font: 800 .8rem/1 "Nunito", sans-serif; border: 2px solid var(--texto); }
.t-figurinha .doc-voltar { font-weight: 700; }
.t-figurinha .doc-texto h1 { font: 800 2rem/1.15 "Baloo 2", sans-serif; margin: 28px 0 8px; }
.t-figurinha .doc-texto h2 { font-size: 1.1rem; margin: 26px 0 6px; font-weight: 700; }
.t-figurinha .doc-texto p { margin: 0 0 10px; max-width: 68ch; }
.t-figurinha .doc-lide { color: rgba(26, 42, 58, 0.8); font-size: 1.1rem; font-weight: 700; }
.t-figurinha .doc-nota { margin-top: 24px; color: rgba(26, 42, 58, 0.7); font-size: .92rem; }
.t-figurinha .doc-botao { display: inline-block; background: var(--azul); color: #fff; padding: 12px 18px; text-decoration: none; font-weight: 700; border-radius: 6px; }
.t-figurinha .doc-rodape { margin-top: 40px; padding-top: 16px; border-top: 2px solid rgba(26, 42, 58, 0.2); font-size: .9rem; color: rgba(26, 42, 58, 0.7); }
.t-figurinha .doc-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (prefers-reduced-motion: reduce) {
  .t-figurinha * { transition: none !important; }
}

/* CTA final — legível acima da cor de link (adicionado 15/09/2026) */
.t-figurinha a.funil-cta{display:block;width:100%;box-sizing:border-box;text-align:center;text-decoration:none;padding:15px 20px;font-weight:800;cursor:pointer;line-height:1.2;background:var(--accent,#2e86c1);color:#fff !important;border:0;border-radius:12px;}
.t-figurinha a.funil-cta:hover{filter:brightness(.95);}
.t-figurinha a.funil-cta.is-travado{opacity:.45;pointer-events:none;}
