/* ═══════════════ VIP Preparatório — Mentorias e Preparatórios ═══════════════ */

:root {
  --preto: #060504;
  --preto-2: #0b0906;
  --ouro-claro: #f6e4b8;
  --ouro: #e3b95f;
  --ouro-escuro: #b67b2b;
  --ouro-botao: #ab8a07;        /* cor exata do botão da referência (rgb 171,138,8) */
  --ouro-botao-hover: #c29c09;
  --roxo-1: #9a4dff;
  --roxo-2: #6a16d8;
  --branco: #f5f2ec;
  --cinza: #b9b2a6;
  --grad-ouro-texto: linear-gradient(180deg, #f8ecc9 8%, #e7c069 48%, #9c6b25 100%);
  --grad-ouro-borda: linear-gradient(135deg, #f3e3b4 0%, #8a5e1e 55%, #e7c069 100%);
  --fonte: "Inter", -apple-system, "SF Pro Display", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--preto);
  color: var(--branco);
  font-family: var(--fonte);
  min-height: 100%;
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.tela { min-height: 100svh; }

/* o seletor de id do #tela-fluxo vence o [hidden] do navegador — sem isto,
   a tela oculta continua ocupando altura no fim da página */
#tela-fluxo[hidden],
#tela-links[hidden] { display: none; }

/* ═══ TELA LINKS — arte de fundo esmaecida + botões centralizados na tela ═══ */

#tela-links {
  position: relative;
  background: #000;
}


/* a arte cobre a tela inteira, com a opacidade baixa pedida pelo cliente */
.fundo-arte {
  position: fixed;
  inset: 0;
  background-image: url("assets/banner-mobile.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: .62;
  z-index: 0;
}

/* véu leve em cima (onde estão os rostos) e forte embaixo (onde estão os botões) */
.fundo-veu {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, .5) 0%,
      rgba(0, 0, 0, .28) 16%,
      rgba(0, 0, 0, .42) 34%,
      rgba(0, 0, 0, .72) 56%,
      rgba(0, 0, 0, .88) 78%,
      rgba(0, 0, 0, .95) 100%),
    radial-gradient(90% 55% at 50% 62%, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 78%);
}

@media (min-width: 900px) {
  .fundo-arte { background-position: center 12%; opacity: .5; }
}

.m-coluna {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
  /* o espaço no topo deixa os rostos da arte livres antes do título */
  padding: 38svh 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
}

@media (min-width: 900px) { .m-coluna { padding-top: 26vh; } }

.m-coluna .m-botao { width: 100%; }

/* faixa larga dos blocos de informação, depois dos botões */
.bloco-info {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 6px 20px calc(46px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.bloco-info .gate-apoio {
  max-width: 74ch;
  font-size: 16px;
  line-height: 1.72;
}

.bloco-info .gate-alerta {
  max-width: 780px;
  padding: 18px 24px;
}

.bloco-info .gate-alerta p { font-size: 15px; line-height: 1.68; }

@media (min-width: 760px) {
  .bloco-info { gap: 28px; padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .bloco-info .gate-apoio { font-size: 17.5px; }
  .bloco-info .gate-alerta { padding: 20px 30px; }
  .bloco-info .gate-alerta p { font-size: 16px; }
}

.m-titulo {
  font-size: clamp(26px, 7.6vw, 34px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.5px;
  background: var(--grad-ouro-texto);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(231, 192, 105, .2));
  text-wrap: balance;
}

.m-sub {
  color: #efe9dd;
  font-size: 14.5px;
  opacity: .92;
  margin-bottom: 1px;
}

.m-botao {
  display: block;
  padding: 1.5px;
  border-radius: 999px;
  background: var(--grad-ouro-borda);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  transition: transform .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.m-botao:active { transform: scale(.985); }

@media (hover: hover) {
  .m-botao:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .7), 0 0 32px rgba(231, 192, 105, .24);
  }
}

.m-botao-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 11px 16px 13px;
  border-radius: 999px;
  background:
    radial-gradient(120% 150% at 50% -30%, rgba(74, 56, 24, .5) 0%, rgba(9, 7, 4, .96) 58%),
    #090704;
}

/* "Programa de Acompanhamento/ Mentoria" é uma linha longa: encolhe um pouco
   em celular estreito (piso de 14px, nunca menos) e, se ainda assim quebrar,
   quebra equilibrada em duas linhas em vez de deixar uma palavra órfã */
.m-botao-l1 {
  font-size: clamp(14px, 3.7vw, 16px);
  font-weight: 500;
  line-height: 1.28;
  color: #efe9f8;
  letter-spacing: .2px;
  text-wrap: balance;
}

.m-botao-sigla {
  font-size: 33px;
  font-weight: 900;
  letter-spacing: .5px;
  line-height: 1;
  background: var(--grad-ouro-texto);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.m-pill {
  display: inline-block;
  padding: 6px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--roxo-1), var(--roxo-2));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .3), 0 5px 16px rgba(106, 22, 216, .4);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
}

/* risco dourado saindo da pílula, como na arte */
.m-pill-linha {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 2px;
}

.m-pill-linha::before,
.m-pill-linha::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(231, 192, 105, 0), rgba(231, 192, 105, .5));
}

.m-pill-linha::after {
  background: linear-gradient(90deg, rgba(231, 192, 105, .5), rgba(231, 192, 105, 0));
}

/* ═══════════════ TELA FLUXO (gate → perguntas → obrigado) ═══════════════ */

#tela-fluxo {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--preto);
  isolation: isolate;
}

/* fundo dos formulários: a junção das duas fotos, bem esmaecida */
#tela-fluxo::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  /* o fundo muda conforme o curso (definido no app.js) */
  background-image: var(--fundo-curso, url("assets/fundo-pmgo.jpg"));
  background-size: cover;
  background-position: center top;
  opacity: .62;
}

/* tela larga usa a versão em paisagem: numa foto retrato o `cover` mostraria
   só a faixa de cima (teto, chão) e a pessoa sumiria */
@media (min-aspect-ratio: 1/1) {
  #tela-fluxo::before {
    background-image: var(--fundo-curso-largo, url("assets/fundo-pmgo-wide.jpg"));
    background-position: center;
  }
}

#tela-fluxo::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(74% 46% at 50% 50%, rgba(6, 5, 4, .78) 0%, rgba(6, 5, 4, .55) 58%, rgba(6, 5, 4, .3) 100%),
    linear-gradient(180deg, rgba(6, 5, 4, .35) 0%, rgba(6, 5, 4, .1) 22%, rgba(6, 5, 4, .28) 82%, rgba(6, 5, 4, .5) 100%);
}

/* faixa de urgência no topo da primeira tela, correndo sem parar */
.faixa-topo {
  background: linear-gradient(180deg, #a4141b, #7d0d13);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding: calc(9px + env(safe-area-inset-top)) 0 9px;
  overflow: hidden;
}

.faixa-topo[hidden] { display: none; }

.faixa-trilho {
  display: flex;
  width: max-content;
  animation: correr-faixa 34s linear infinite;
  will-change: transform;
}

/* o trilho tem 4 cópias iguais; deslizar 50% recoloca a 3ª exatamente
   onde estava a 1ª, então o ciclo reinicia sem emenda visível */
@keyframes correr-faixa {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.faixa-topo span {
  flex: none;
  white-space: nowrap;
  padding-right: 26px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .6px;
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

@media (min-width: 700px) {
  .faixa-topo span { font-size: 12.5px; padding-right: 34px; }
  .faixa-trilho { animation-duration: 42s; }
}

/* sem movimento para quem pediu menos animação: a faixa fica parada e centrada */
@media (prefers-reduced-motion: reduce) {
  .faixa-trilho { animation: none; width: 100%; justify-content: center; }
  .faixa-topo span:not(:first-child) { display: none; }
  .faixa-topo span { padding-right: 0; white-space: normal; text-align: center; }
  .faixa-topo { padding-left: 16px; padding-right: 16px; }
}

.fluxo-topo {
  padding: calc(14px + env(safe-area-inset-top)) 20px 0;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}

/* na home a faixa fica colada no topo, acima do fundo */
#tela-links .faixa-topo { position: relative; z-index: 2; }

.voltar {
  background: none;
  border: none;
  color: var(--branco);
  cursor: pointer;
  padding: 6px;
  margin-left: -6px;
  border-radius: 10px;
  opacity: .92;
  transition: opacity .15s ease, transform .15s ease;
}
.voltar:hover { opacity: 1; transform: translateX(-2px); }
.voltar[hidden] { display: none; }

.progresso-linha {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.progresso {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #191510;
  overflow: hidden;
}

#progresso-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a94b, #b08a2e);
  transition: width .4s cubic-bezier(.25, .8, .3, 1);
}

.progresso-passo {
  font-size: 12.5px;
  font-weight: 600;
  color: #8d7f57;
  min-width: 30px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.fluxo-conteudo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 40px;
}

.rodape {
  text-align: center;
  font-size: 12px;
  color: #6f6753;
  padding: 0 20px calc(16px + env(safe-area-inset-bottom));
}

/* bloco animável */
.bloco {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: entrar .38s cubic-bezier(.25, .8, .3, 1) both;
}

.bloco.saindo { animation: sair .2s ease both; }

@keyframes entrar {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sair {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-16px); }
}

/* ── gate ── */
.bloco-gate { text-align: center; align-items: center; gap: 26px; }

.gate-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--roxo-1), var(--roxo-2));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
}

.gate-msg {
  font-size: clamp(23px, 5.4vw, 31px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.4px;
  text-wrap: balance;
}

.gate-apoio {
  font-size: 16px;
  line-height: 1.62;
  color: #ddd6c8;
  max-width: 60ch;
}

.gate-apoio strong { color: var(--ouro-claro); font-weight: 700; }

.gate-alerta {
  width: 100%;
  border: 1px solid rgba(214, 74, 74, .42);
  border-left: 4px solid #d64a4a;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(120, 28, 28, .22), rgba(70, 16, 16, .14));
  padding: 16px 18px;
  text-align: left;
}

.gate-alerta p {
  font-size: 15px;
  line-height: 1.6;
  color: #ecdad6;
}

.gate-alerta strong { color: #ff8a80; font-weight: 800; }

.gate-alerta p::before {
  content: "⚠️ ";
  font-size: 15px;
}

/* ── pergunta ── */
.pergunta-titulo {
  font-size: clamp(23px, 5.6vw, 30px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.3px;
  text-align: left;
}

.campo {
  width: 100%;
  border: none;
  border-radius: 16px;
  background: #fff;
  color: #14110b;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  padding: 18px 20px;
  outline: none;
  box-shadow: 0 0 0 0 rgba(231, 192, 105, 0);
  transition: box-shadow .18s ease;
}

.campo::placeholder { color: #9a938a; font-style: italic; font-weight: 400; }
.campo:focus { box-shadow: 0 0 0 3px rgba(231, 192, 105, .55); }

textarea.campo { min-height: 148px; resize: vertical; line-height: 1.5; }

.campo-erro {
  color: #e8a9a0;
  font-size: 14px;
  font-weight: 500;
  margin-top: -12px;
  display: none;
}
.campo-erro.visivel { display: block; }

.dica-tecla {
  font-size: 12.5px;
  color: #6f6753;
  margin-top: -14px;
  text-align: right;
}

/* ── botão principal (réplica do form de referência) ── */
.btn-principal {
  width: 100%;
  border: none;
  border-radius: 18px;
  min-height: 58px;
  padding: 16px 24px;
  background: var(--ouro-botao);
  color: #fff;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  transition: background .18s ease, transform .12s ease, opacity .18s ease;
}

.btn-principal:hover { background: var(--ouro-botao-hover); }
.btn-principal:active { transform: scale(.985); }

.btn-principal:disabled {
  background: #191510;
  color: #6b5c33;
  cursor: not-allowed;
}

/* ── obrigado ── */
.bloco-obrigado { max-width: 1020px; gap: 34px; }

.obrigado-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

@media (min-width: 900px) {
  .obrigado-grid { grid-template-columns: 1.08fr .92fr; gap: 48px; }
}

.obrigado-titulo {
  font-size: clamp(30px, 6.4vw, 42px);
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1.1;
  background: var(--grad-ouro-texto);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.obrigado-texto { display: flex; flex-direction: column; gap: 16px; }

.obrigado-texto p {
  font-size: 17px;
  line-height: 1.6;
  color: #e6e0d4;
}

/* botão de WhatsApp em preto e branco (sem o verde da marca) */
.btn-whats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  margin: 4px 0;
  padding: 15px 26px;
  border-radius: 18px;
  background: #f5f2ec;
  color: #0a0805;
  font-size: 16.5px;
  font-weight: 700;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .45);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-whats:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .55);
}

@media (max-width: 620px) { .btn-whats { align-self: stretch; } }

.card-beneficios {
  padding: 1.6px;
  border-radius: 24px;
  background: var(--grad-ouro-borda);
}

.card-beneficios-inner {
  border-radius: 22.5px;
  background: #0a0805;
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-beneficios-titulo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.2px;
  background: var(--grad-ouro-texto);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-beneficios ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-beneficios li {
  position: relative;
  padding-left: 28px;
  font-size: 15.5px;
  line-height: 1.5;
  color: #ddd6c8;
}

.card-beneficios li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 17px;
  height: 17px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3ClinearGradient id='q' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f3dfa8'/%3E%3Cstop offset='1' stop-color='%23bd8a33'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23q)' d='M10 0l2.4 6.5L19 8l-6 3.6L11.8 19 10 12.8 3.2 14 8 8.6 1 8l6.6-1.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.voltar-inicio {
  font-size: 14px;
  color: #8d7f57;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.voltar-inicio:hover { color: var(--ouro); }

/* ═══════════════ acessibilidade / detalhes ═══════════════ */

:focus-visible { outline: 2px solid rgba(238, 205, 122, .9); outline-offset: 2px; }
.campo:focus-visible, .hotspot:focus-visible { outline: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* ═══════ PÁGINAS DE APRESENTAÇÃO (entre a abertura e o questionário) ═══════ */

.bloco-info-pagina {
  max-width: 720px;
  gap: 20px;
  text-align: center;
}

.info-titulo {
  font-size: clamp(24px, 5.6vw, 32px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.4px;
  text-wrap: balance;
  background: var(--grad-ouro-texto);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(231, 192, 105, .18));
}

.info-corpo {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.info-corpo p {
  font-size: 16px;
  line-height: 1.68;
  color: #ddd6c8;
}

.info-corpo strong { color: var(--ouro-claro); font-weight: 700; }

.info-pergunta {
  font-size: 18px !important;
  font-weight: 700;
  color: var(--branco) !important;
  margin-top: 4px;
}

.info-rotulo { font-weight: 700; color: var(--branco) !important; margin-bottom: -8px; }

.info-destaque {
  font-size: 17px !important;
  font-weight: 700;
  color: var(--ouro-claro) !important;
}

.info-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.info-lista li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.5;
  color: #ddd6c8;
}

.info-lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3ClinearGradient id='q' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f3dfa8'/%3E%3Cstop offset='1' stop-color='%23bd8a33'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23q)' d='M10 0l2.4 6.5L19 8l-6 3.6L11.8 19 10 12.8 3.2 14 8 8.6 1 8l6.6-1.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

@media (min-width: 760px) {
  .info-corpo p, .info-lista li { font-size: 17px; }
  .info-pergunta { font-size: 20px !important; }
  .bloco-info-pagina { gap: 24px; }
}
