/* Ajustes da versão estática (popups, FAQ e rolagem suave) */
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

/* Seta do FAQ gira quando aberto */
[data-faq][aria-expanded="true"] .faq-seta { transform: rotate(180deg); }

/* Fundo escuro dos popups */
.popup-fundo {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: popup-entra .2s ease-out;
}
.popup-caixa {
  position: relative; width: 100%;
  background: var(--card, #fff); border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.popup-upsell { max-width: 28rem; padding: 32px 24px 24px; }
.popup-zoom { max-width: 56rem; padding: 12px; background: transparent; box-shadow: none; }
.popup-zoom img {
  display: block; margin: 0 auto; max-width: 100%; max-height: 85vh;
  border-radius: 16px; background: #fff; object-fit: contain;
}
.popup-fechar {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 999px; border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 16px; font-weight: 800;
  background: rgba(15, 23, 42, .8); color: #fff;
}
.popup-zoom .popup-fechar { top: 0; right: 0; }
@keyframes popup-entra { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   MARCA PEQUENOS GÊNIOS  (troque as cores aqui se quiser)
   ========================================================= */
:root {
  --pg-roxo: #6c3bc8;
  --pg-roxo-escuro: #522c9e;
  --pg-roxo-claro: #f1ebfc;
  --pg-laranja: #ff7b26;
  --pg-amarelo: #ffc83d;
  --pg-verde-agua: #00b7a1;
  --pg-rosa: #f78fb3;
}

/* Barra "Pequenos Gênios apresenta" */
.pg-barra {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 16px; background: #fff;
  border-bottom: 3px solid var(--pg-roxo);
}
.pg-icone { width: 38px; height: auto; }
.pg-nome {
  font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 800;
  font-size: 22px; line-height: 1; color: var(--pg-roxo);
}
.pg-nome span { color: var(--pg-laranja); }
.pg-apresenta {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: #fff; background: var(--pg-laranja); border-radius: 999px; padding: 4px 10px;
}

/* Brilhos decorativos (iguais aos do logo) */
.pg-brilho { position: absolute; pointer-events: none; line-height: 1; }
.pg-brilho-1 { left: 8%; top: 8px; color: var(--pg-verde-agua); font-size: 16px; }
.pg-brilho-2 { right: 8%; bottom: 6px; color: var(--pg-rosa); font-size: 14px; }
.pg-brilho-3 { left: 18px; top: 16px; color: var(--pg-verde-agua); font-size: 22px; }
.pg-brilho-4 { right: 20px; bottom: 18px; color: var(--pg-laranja); font-size: 18px; }

/* Selo no topo */
.pg-selo {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  padding: 4px 14px 4px 6px; border-radius: 999px;
  background: var(--pg-roxo-claro); color: var(--pg-roxo);
  border: 2px solid var(--pg-roxo);
  font-size: 12px; font-weight: 800;
}
.pg-selo img { width: 24px; height: auto; }

/* Seção "Quem está por trás" */
.pg-secao { background: linear-gradient(180deg, var(--pg-roxo-claro), #fff); }
.pg-cartao {
  position: relative; max-width: 56rem; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
  background: #fff; border: 3px solid var(--pg-roxo); border-radius: 28px;
  padding: 28px 20px; box-shadow: 0 8px 0 0 var(--pg-roxo-escuro);
}
.pg-logo-grande { width: 170px; height: auto; }
.pg-etiqueta {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--pg-laranja); color: #fff;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.pg-titulo {
  margin-top: 12px; font-family: "Baloo 2", "Nunito", sans-serif; font-weight: 800;
  font-size: 26px; line-height: 1.15; color: var(--ink);
}
.pg-titulo span { color: var(--pg-roxo); }
.pg-texto p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted-foreground); }
.pg-botao {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 12px 20px; border-radius: 16px;
  border: 2px solid var(--pg-roxo); color: var(--pg-roxo); background: #fff;
  font-weight: 800; font-size: 15px; transition: background .2s;
}
.pg-botao:hover { background: var(--pg-roxo-claro); }
.pg-botao svg { width: 22px; height: 22px; fill: #ff0000; }
@media (min-width: 768px) {
  .pg-cartao { flex-direction: row; text-align: left; padding: 36px 40px; gap: 36px; }
  .pg-logo-grande { width: 200px; flex-shrink: 0; }
  .pg-titulo { font-size: 32px; }
}

/* Rodapé */
.pg-logo-rodape { width: 72px; height: auto; margin: 0 auto 10px; }
.pg-rodape-marca { margin-top: 2px; color: var(--pg-roxo); font-weight: 700; }
.pg-rodape-marca strong { color: var(--pg-laranja); }
