/* Mentoria PRF — páginas do funil (VSL + aplicação estilo Typeform) */
:root {
  --fundo: #081428;
  --fundo-2: #0E2240;
  --painel: #13294C;
  --linha: #24406E;
  --branco: #F7F8FA;
  --suave: #B4C0D3;
  --suave-2: #8496B3;
  --amarelo: #FFC21A;
  --amarelo-sombra: #C99300;
  --verde: #1FAF5A;
  --verde-sombra: #138441;
  --erro: #FF9C8A;
  --titulo: "Montserrat", Arial, sans-serif;
  --texto: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: radial-gradient(1200px 600px at 50% -10%, #1A3766 0%, rgba(26,55,102,0) 60%), var(--fundo);
  color: var(--branco); font-family: var(--texto); font-size: 16px; line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--amarelo); }
[hidden] { display: none !important; }
button { font: inherit; }

/* ---------- PG-01 · VSL ---------- */
.vsl { max-width: 920px; margin: 0 auto; padding: 22px 16px 40px; text-align: center; }
.marca { font-family: var(--titulo); font-weight: 800; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--suave-2); text-decoration: none; }
.marca b { color: var(--amarelo); font-weight: 800; }
.pre {
  display: inline-block; margin: 18px 0 14px; padding: 7px 14px; border-radius: 99px;
  background: rgba(255,194,26,.12); border: 1px solid rgba(255,194,26,.35);
  color: var(--amarelo); font-weight: 600; font-size: 13px; letter-spacing: .4px;
}
.vsl h1 {
  font-family: var(--titulo); font-weight: 800; letter-spacing: -.5px;
  font-size: clamp(25px, 5.2vw, 42px); line-height: 1.16; margin: 0 auto; max-width: 860px;
}
.vsl h1 mark { background: none; color: var(--amarelo); box-shadow: inset 0 -.18em 0 rgba(255,194,26,.25); }
.sub { color: var(--suave); font-size: clamp(15px, 2.6vw, 18px); max-width: 720px; margin: 12px auto 22px; }

@media (max-width: 640px) {
  .vsl { padding-top: 12px; }
  .pre { margin: 10px 0 10px; font-size: 12px; padding: 6px 12px; }
  .vsl h1 { font-size: 23px; }
  .sub { font-size: 14.5px; margin: 8px auto 14px; }
  .acesso { margin-top: 12px; padding: 14px 14px 12px; }
  .acesso p.apoio { margin-bottom: 8px; }
  .campo input { padding: 11px 12px; }
}

/* Player */
.player {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 60px rgba(0,0,0,.55), 0 0 80px rgba(26,55,102,.55);
}
.yt-frame { position: absolute; left: 0; width: 100%; top: -64px; height: calc(100% + 128px); pointer-events: none; }
.yt-frame iframe, .yt-frame > div { width: 100%; height: 100%; border: 0; }
.escudo { position: absolute; inset: 0; cursor: pointer; background: transparent; border: 0; padding: 0; }
.barra { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255,255,255,.12); pointer-events: none; }
.barra div { height: 100%; width: 0; background: var(--amarelo); transition: width .9s linear; }

.camada { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; }
.camada.escura { background: rgba(4,10,22,.72); }
.camada .icone {
  width: 76px; height: 76px; border-radius: 50%; background: var(--amarelo); color: var(--fundo-2);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(255,194,26,.18);
}
.camada .icone svg { width: 34px; height: 34px; }
.camada strong { font-family: var(--titulo); font-weight: 800; font-size: clamp(17px, 3.4vw, 24px); }
.camada span { color: var(--suave); font-size: 14px; }
.camada .acoes { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.btn-claro { padding: 11px 18px; border-radius: 10px; border: 0; cursor: pointer; font-weight: 700; background: var(--amarelo); color: var(--fundo-2); }
.btn-contorno { padding: 11px 18px; border-radius: 10px; cursor: pointer; font-weight: 700; background: transparent; color: var(--branco); border: 1.5px solid rgba(255,255,255,.4); }

/* "Seu vídeo já começou" (som desligado) */
.aviso-som {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--amarelo); color: var(--fundo-2); border: 0; cursor: pointer; border-radius: 14px;
  padding: 16px 22px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45); animation: pulsar 1.6s ease-in-out infinite;
}
.aviso-som b { font-family: var(--titulo); font-weight: 800; font-size: 17px; }
.aviso-som small { font-size: 13px; font-weight: 600; }
.aviso-som svg { width: 34px; height: 34px; }
@keyframes pulsar { 0%,100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.04); } }

/* Capa travada (antes do acesso) */
.capa-travada {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px;
  background:
    radial-gradient(600px 300px at 50% 30%, rgba(255,194,26,.14), rgba(255,194,26,0) 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, rgba(255,255,255,0) 2px 14px),
    linear-gradient(160deg, #15305C 0%, #0A1830 70%);
}
.capa-travada .selo-aula { font-family: var(--titulo); font-weight: 800; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--amarelo); }
.capa-travada .titulo-capa { font-family: var(--titulo); font-weight: 800; font-size: clamp(18px, 3.6vw, 28px); line-height: 1.2; max-width: 560px; }
.capa-travada { cursor: pointer; }
.capa-travada .play { margin-top: 8px; }
.capa-travada .icone-lock {
  width: 72px; height: 72px; border-radius: 50%; background: var(--amarelo); color: var(--fundo-2);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(255,194,26,.18);
}
.capa-travada .icone-lock svg { width: 30px; height: 30px; }

/* Formulário de acesso */
.acesso {
  max-width: 620px; margin: 18px auto 0; text-align: left; background: var(--painel);
  border: 1px solid var(--linha); border-radius: 14px; padding: 18px 18px 14px;
}
.acesso h2 { font-family: var(--titulo); font-weight: 800; font-size: 20px; margin: 0; display: flex; align-items: center; gap: 8px; }
.acesso h2 svg { width: 20px; height: 20px; color: var(--amarelo); }
.acesso p.apoio { color: var(--suave); font-size: 14px; margin: 4px 0 12px; }
.campos { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .campos { grid-template-columns: 1fr 1fr; } }
.campo label { display: block; font-size: 13px; font-weight: 600; color: var(--suave); margin-bottom: 5px; }
.campo input {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 10px;
  border: 1.5px solid var(--linha); background: #0A1A33; color: var(--branco);
}
.campo input:focus { outline: none; border-color: var(--amarelo); box-shadow: 0 0 0 3px rgba(255,194,26,.25); }
.erro { color: var(--erro); font-size: 14px; font-weight: 600; margin: 10px 0 0; }
.consentimento { font-size: 12px; color: var(--suave-2); margin: 10px 0 0; line-height: 1.45; }
.consentimento a { color: var(--suave); }

.cta {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 14px;
  padding: 16px 18px; border: 0; border-radius: 12px; cursor: pointer; text-decoration: none;
  font-family: var(--titulo); font-weight: 800; font-size: 17px; letter-spacing: .5px; text-transform: uppercase;
  background: var(--amarelo); color: var(--fundo-2); box-shadow: 0 5px 0 var(--amarelo-sombra), 0 12px 28px rgba(255,194,26,.18);
  transition: transform .08s ease, box-shadow .08s ease, filter .15s;
}
.cta:hover { filter: brightness(1.05); }
.cta:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--amarelo-sombra); }
.cta:focus-visible { outline: 3px solid var(--branco); outline-offset: 3px; }
.cta small { display: block; font-family: var(--texto); font-weight: 600; font-size: 12px; text-transform: none; letter-spacing: 0; opacity: .8; }

/* Botão sincronizado (silencioso) */
.area-acao { max-width: 620px; margin: 22px auto 0; }
#botao-aplicar { flex-direction: column; gap: 2px; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
#botao-aplicar.visivel { opacity: 1; transform: none; animation: brilho 2.4s ease-in-out 1s infinite; }
@keyframes brilho { 0%,100% { box-shadow: 0 5px 0 var(--amarelo-sombra), 0 0 0 0 rgba(255,194,26,.0); } 50% { box-shadow: 0 5px 0 var(--amarelo-sombra), 0 0 0 10px rgba(255,194,26,.18); } }

/* Assinatura do professor */
.assinatura { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 26px auto 0; max-width: 620px; text-align: left; }
.assinatura .inicial {
  flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--painel); border: 2px solid var(--amarelo);
  display: flex; align-items: center; justify-content: center; font-family: var(--titulo); font-weight: 800; color: var(--amarelo);
}
.assinatura b { display: block; font-family: var(--titulo); font-weight: 800; font-size: 15px; }
.assinatura span { color: var(--suave); font-size: 13px; }

.rodape { max-width: 760px; margin: 44px auto 0; padding: 18px 16px 30px; border-top: 1px solid rgba(255,255,255,.07); color: var(--suave-2); font-size: 12px; text-align: center; }
.rodape p { margin: 5px 0; }
.rodape a { color: var(--suave); }
details.dados { margin: 10px auto 0; max-width: 620px; text-align: left; background: rgba(255,255,255,.03); border-radius: 10px; padding: 8px 12px; }
details.dados summary { cursor: pointer; color: var(--suave); font-weight: 600; }
details.dados p { color: var(--suave); }

/* ---------- PG-02 · Aplicação estilo Typeform ---------- */
body.tf { overflow-x: hidden; }
.tf-topo { position: fixed; top: 0; left: 0; right: 0; z-index: 5; }
.tf-progresso { height: 4px; background: rgba(255,255,255,.08); }
.tf-progresso div { height: 100%; width: 0; background: var(--amarelo); transition: width .35s ease; }
.tf-marca { padding: 14px 18px; }
.tf-palco { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 72px 20px 90px; }
.tf-tela { width: 100%; max-width: 640px; }
.tf-tela.entrando { animation: entrar .45s cubic-bezier(.2,.8,.2,1) both; }
.tf-tela.saindo { animation: sair .3s ease both; }
@keyframes entrar { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes sair { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-36px); } }

.tf-num { display: flex; align-items: center; gap: 6px; color: var(--amarelo); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.tf-num svg { width: 14px; height: 14px; }
.tf-pergunta { font-family: var(--titulo); font-weight: 700; font-size: clamp(22px, 4.6vw, 30px); line-height: 1.25; margin: 0; outline: none; }
.tf-ajuda { color: var(--suave); font-size: 16px; margin: 10px 0 0; }
.tf-opcoes { display: grid; gap: 10px; margin-top: 24px; max-width: 520px; }
.tf-opcao {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(255,194,26,.45);
  background: rgba(255,194,26,.07); color: var(--branco); font-size: 17px; font-weight: 500;
  transition: background .15s, border-color .15s;
}
.tf-opcao:hover { background: rgba(255,194,26,.14); }
.tf-opcao:focus-visible { outline: 2px solid var(--amarelo); outline-offset: 2px; }
.tf-tecla {
  flex: none; width: 26px; height: 26px; border-radius: 5px; border: 1px solid rgba(255,194,26,.6);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--amarelo); background: var(--fundo);
}
.tf-opcao .tf-check { margin-left: auto; opacity: 0; color: var(--amarelo); }
.tf-opcao.marcada { background: rgba(255,194,26,.22); border-color: var(--amarelo); }
.tf-opcao.marcada .tf-tecla { background: var(--amarelo); color: var(--fundo-2); }
.tf-opcao.marcada .tf-check { opacity: 1; }
.tf-opcao.piscar { animation: piscar .35s ease 2; }
@keyframes piscar { 50% { background: rgba(255,194,26,.05); } }

.tf-input {
  width: 100%; max-width: 520px; margin-top: 22px; font: inherit; font-size: clamp(20px, 4.4vw, 28px); color: var(--branco);
  background: transparent; border: 0; border-bottom: 2px solid rgba(255,194,26,.45); padding: 8px 2px; border-radius: 0;
}
.tf-input:focus { outline: none; border-bottom-color: var(--amarelo); }
.tf-input::placeholder { color: rgba(180,192,211,.45); }
.tf-ok { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tf-botao {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--amarelo); color: var(--fundo-2); font-weight: 800; font-size: 17px;
}
.tf-dica { color: var(--suave-2); font-size: 13px; }
.tf-dica kbd { font-family: inherit; font-weight: 700; color: var(--suave); }
.tf-erro { color: var(--erro); font-size: 14px; font-weight: 600; margin-top: 12px; }

.tf-nav { position: fixed; right: 16px; bottom: 16px; display: flex; gap: 2px; z-index: 5; }
.tf-nav button { width: 38px; height: 34px; border: 0; cursor: pointer; background: var(--amarelo); color: var(--fundo-2); display: flex; align-items: center; justify-content: center; }
.tf-nav button:first-child { border-radius: 6px 0 0 6px; }
.tf-nav button:last-child { border-radius: 0 6px 6px 0; }
.tf-nav button:disabled { opacity: .35; cursor: default; }
.tf-nav svg { width: 18px; height: 18px; }

.tf-zap {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; padding: 16px 22px;
  border-radius: 12px; text-decoration: none; background: var(--verde); color: #fff;
  font-family: var(--titulo); font-weight: 800; font-size: 17px; box-shadow: 0 5px 0 var(--verde-sombra);
}
.tf-zap svg { width: 24px; height: 24px; }
.tf-codigo { color: var(--suave-2); font-size: 13px; margin-top: 16px; }
.tf-codigo b { color: var(--amarelo); letter-spacing: 2px; }
.tf-passos { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--suave); }
.tf-passos li { display: flex; gap: 10px; align-items: flex-start; }
.tf-passos i { font-style: normal; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--amarelo); color: var(--fundo-2); font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.tf-passos .feito i { background: var(--verde); color: #fff; }
.tf-rodape { position: fixed; left: 18px; bottom: 18px; color: var(--suave-2); font-size: 12px; max-width: 60%; }
@media (max-width: 640px) { .tf-rodape { display: none; } }
