/* Diagnóstico de Agenda · Focusfame
   Identidade dos anúncios: preto, branco e laranja #EC820E, fonte Figtree. */

:root {
  --bg: #111111;
  --bg2: #1a1a1c;
  --bg3: #26262a;
  --linha: #2e2e33;
  --txt: #ffffff;
  --txt2: #c2c2c9;
  --txt3: #8d8d96;
  --lar: #ec820e;
  --lar2: #ff9526;
  --preto: #0b0b0c;
  --zap: #1fae55;
  --raio: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(900px 480px at 50% -220px, rgba(236, 130, 14, .14), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--txt);
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ---------- topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 10;
  background: rgba(17, 17, 17, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.topo-linha {
  max-width: 600px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px 10px;
}
.marca { font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.marca::after { content: "."; color: var(--lar); }
.marca.com-logo::after { content: none; }
.marca img { display: block; height: 26px; width: auto; }
.etapa { font-size: 12px; font-weight: 700; color: var(--txt2); text-align: right; }
.progresso { height: 4px; background: var(--linha); }
.progresso-barra { height: 100%; width: 0; background: var(--lar); transition: width .45s ease; }
.topo.sem-progresso .etapa,
.topo.sem-progresso .progresso { visibility: hidden; }

/* ---------- estrutura ---------- */
.app { max-width: 600px; margin: 0 auto; padding: 26px 20px 72px; }
.tela { animation: entra .3s ease both; }
@keyframes entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.voltar {
  display: inline-flex; gap: 6px; align-items: center;
  background: none; border: 0; padding: 6px 0; margin: -4px 0 14px;
  color: var(--txt3); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.voltar:hover { color: var(--txt); }

[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 3px solid var(--lar); outline-offset: 3px; }

/* ---------- textos ---------- */
.chip {
  display: inline-block;
  background: #fff; color: #000;
  font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 8px;
}
.destaque { color: var(--lar); }
.capa-titulo {
  font-size: clamp(34px, 9vw, 50px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800;
  margin: 18px 0 16px;
}
.sub { font-size: 18px; color: var(--txt2); margin: 0 0 20px; }
.checks { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 700; }
.checks li::before { content: "✓"; color: var(--lar); font-weight: 800; margin-right: 6px; }

.pergunta {
  font-size: clamp(23px, 6vw, 30px); line-height: 1.18; letter-spacing: -.02em; font-weight: 800;
  margin: 0 0 8px;
}
.apoio { color: var(--txt2); margin: 0 0 4px; }
.micro { font-size: 13px; color: var(--txt3); line-height: 1.45; margin: 14px 0 0; }
.micro a { color: var(--txt2); }

/* ---------- opções ---------- */
.opcoes { display: grid; gap: 10px; margin: 22px 0 0; }
.opcao {
  display: flex; align-items: center; gap: 14px; width: 100%;
  text-align: left; cursor: pointer;
  background: #fff; color: var(--preto);
  border: 2px solid #fff; border-radius: 14px;
  padding: 15px 16px;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.35;
  transition: transform .12s ease, background .15s, border-color .15s, color .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.opcao:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, .4); border-color: var(--lar); }
.opcao .letra {
  flex: none; width: 28px; height: 28px; border-radius: 8px;
  border: 2px solid var(--preto);
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.opcao.multi .letra { border-radius: 7px; }
.opcao[aria-pressed="true"],
.opcao[aria-checked="true"] { background: var(--lar); border-color: var(--lar); color: #fff; }
.opcao[aria-pressed="true"] .letra,
.opcao[aria-checked="true"] .letra { background: #fff; border-color: #fff; color: var(--lar); }
.opcao.multi[aria-checked="true"] .letra { font-size: 0; }
.opcao.multi[aria-checked="true"] .letra::after { content: "✓"; font-size: 15px; }
.citacoes .opcao-txt { font-weight: 600; font-style: italic; }
.aviso-op { min-height: 1.4em; margin: 14px 0 0; color: var(--lar2); font-weight: 700; }

/* ---------- campos ---------- */
.campo {
  display: block; width: 100%; margin-top: 22px;
  background: #fff; color: var(--preto);
  border: 2px solid #fff; border-radius: 14px; outline: none;
  padding: 16px 18px;
  font: inherit; font-size: 20px; font-weight: 600;
}
.campo:focus { border-color: var(--lar); box-shadow: 0 0 0 4px rgba(236, 130, 14, .28); }
.campo::placeholder { color: #9a9aa3; font-weight: 500; }
.rotulo {
  display: block; margin: 20px 0 -14px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--txt2);
}
.erro { min-height: 1.3em; margin: 10px 0 0; color: #ff9b8a; font-size: 14px; font-weight: 700; }

/* ---------- botões ---------- */
.botao {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 22px;
  background: var(--lar); color: #fff;
  border: 0; border-radius: 14px; cursor: pointer; text-decoration: none; text-align: center;
  padding: 18px 22px;
  font: inherit; font-size: 18px; font-weight: 800; line-height: 1.25;
  box-shadow: 0 10px 28px rgba(236, 130, 14, .32);
  transition: transform .12s ease, background .15s, opacity .15s;
}
.botao:hover { background: var(--lar2); transform: translateY(-1px); }
.botao:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; transform: none; }
.botao.secundario {
  background: transparent; color: var(--txt);
  border: 2px solid var(--linha); box-shadow: none; font-size: 16px; margin-top: 12px;
}
.botao.secundario:hover { border-color: var(--txt3); }
.cartao.branco .botao.secundario { color: var(--preto); border-color: #d8d8de; }
.botao.zap { background: var(--zap); box-shadow: 0 10px 28px rgba(31, 174, 85, .3); }
.botao.zap:hover { background: #23c25f; }
.erro + .botao { margin-top: 12px; }

/* ---------- telas de virada ---------- */
.virada-abre {
  font-size: clamp(25px, 6.6vw, 32px); line-height: 1.18; letter-spacing: -.02em; font-weight: 800;
  margin: 6px 0 18px;
}
.virada-p { font-size: 19px; color: #e6e6ec; margin: 0 0 16px; }
.virada-p strong { color: #fff; }

/* ---------- a parte do meio ---------- */
.meio { list-style: none; padding: 0; margin: 8px 0 18px; }
.passo {
  display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start;
  background: var(--bg2); border: 2px solid var(--linha); border-radius: var(--raio);
  padding: 16px 18px;
}
.passo .n {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg3); display: grid; place-items: center; font-weight: 800;
}
.passo h2 { margin: 4px 0 4px; font-size: 19px; font-weight: 800; line-height: 1.2; }
.passo p { margin: 0; font-size: 15px; color: var(--txt2); }
.passo .nota { margin-top: 6px; font-size: 14px; font-style: italic; color: var(--txt3); }
.passo.vaza { border-style: dashed; border-color: var(--lar); background: rgba(236, 130, 14, .09); }
.passo.vaza .n { background: var(--lar); }
.passo.vaza .nota { color: var(--lar2); font-weight: 700; }
.tag {
  display: inline-block; vertical-align: 2px; margin-left: 6px;
  background: var(--lar); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 6px;
}
.seta { text-align: center; color: var(--txt3); font-size: 18px; line-height: 1; padding: 7px 0; }
.linha-pessoal {
  margin: 0; background: #fff; color: var(--preto);
  border-radius: var(--raio); padding: 16px 18px; font-size: 17px; font-weight: 600;
  border-left: 6px solid var(--lar);
}

.prova-img { display: block; width: 100%; border-radius: var(--raio); margin: 0 0 16px; }

/* ---------- análise ---------- */
.analise { text-align: center; padding-top: 9vh; }
.lista-analise { list-style: none; padding: 0; margin: 30px auto 0; max-width: 340px; text-align: left; display: grid; gap: 16px; }
.lista-analise li { display: flex; align-items: center; gap: 12px; color: var(--txt3); font-weight: 700; transition: color .3s; }
.lista-analise .ic {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--linha); display: grid; place-items: center;
}
.lista-analise li.rodando { color: var(--txt2); }
.lista-analise li.rodando .ic { border-color: var(--lar); border-top-color: transparent; animation: gira .8s linear infinite; }
.lista-analise li.feito { color: #fff; }
.lista-analise li.feito .ic { background: var(--lar); border-color: var(--lar); }
.lista-analise li.feito .ic::after { content: "✓"; color: #fff; font-size: 14px; font-weight: 800; }
@keyframes gira { to { transform: rotate(360deg); } }

/* ---------- resultado ---------- */
.res-topo { margin-bottom: 6px; }
.res-titulo {
  font-size: clamp(28px, 7.4vw, 40px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800;
  margin: 16px 0 6px;
}
.cartao { border-radius: 20px; padding: 22px 20px; margin: 16px 0; }
.cartao p { margin: 0 0 12px; }
.cartao p:last-child { margin-bottom: 0; }
.cartao h2 { font-size: 25px; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; margin: 0 0 12px; }
.cartao.branco { background: #fff; color: #17171a; }
.cartao.escuro { background: var(--bg2); border: 1px solid var(--linha); }
.cartao.laranja { background: var(--lar); color: #fff; box-shadow: 0 18px 40px rgba(236, 130, 14, .25); }
.destaque-esq { border-left: 6px solid var(--lar) !important; }
.rotulo-cartao {
  font-size: 12px !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--lar); margin: 0 0 8px !important;
}
.cartao.laranja .rotulo-cartao { color: rgba(255, 255, 255, .85); }
.grande { font-size: 19px; font-weight: 600; line-height: 1.45; }

.dados { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.dados span { background: rgba(0, 0, 0, .16); border-radius: 10px; padding: 7px 11px; font-size: 14px; font-weight: 700; }
.numero {
  font-size: clamp(46px, 14vw, 68px); line-height: 1; letter-spacing: -.035em; font-weight: 800;
  margin: 18px 0 4px; font-variant-numeric: tabular-nums;
}
.numero-legenda { font-size: 17px; font-weight: 700; }
.numero-ano { margin: 14px 0 16px; font-size: 24px; font-weight: 800; }
.numero-ano span { font-weight: 600; font-size: 17px; }
.fecho { font-weight: 700; }
.conta { margin-top: 16px; font-size: 14px; background: rgba(0, 0, 0, .14); border-radius: 12px; padding: 10px 14px; }
.conta summary { cursor: pointer; font-weight: 700; }
.conta p { margin: 10px 0 2px; line-height: 1.55; }

.acoes ol { list-style: none; counter-reset: a; padding: 0; margin: 6px 0 16px; display: grid; gap: 14px; }
.acoes li { counter-increment: a; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.acoes li::before {
  content: counter(a);
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--lar); color: #fff; font-weight: 800;
  display: grid; place-items: center;
}
.acoes li span { padding-top: 4px; }

.desejo-intro { margin-top: 16px !important; color: var(--txt2); }
.desejo {
  margin: 0 0 12px; padding: 4px 0 4px 14px;
  border-left: 4px solid var(--lar);
  font-size: 19px; font-weight: 700; line-height: 1.35;
}

.cta h2 { font-size: 27px; }
.ganhos { list-style: none; padding: 0; margin: 4px 0 6px; }
.ganhos li { position: relative; padding-left: 28px; margin: 10px 0; }
.ganhos li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--lar); font-weight: 800; }
.aviso {
  margin: 14px 0 0 !important; padding: 12px 14px;
  background: rgba(236, 130, 14, .12); border: 1px solid rgba(236, 130, 14, .45); border-radius: 12px;
  font-size: 15px; font-weight: 600;
}
.calendario { display: block; width: 100%; height: 720px; border: 0; border-radius: 14px; margin-top: 18px; background: #fff; }
.alternativa { margin-top: 14px; }
.alternativa summary { cursor: pointer; font-weight: 700; color: #55555e; text-decoration: underline; }

/* ---------- prêmio: consultoria com o closer ---------- */
.cartao.premio {
  background: #fff; color: #17171a;
  border: 3px solid var(--lar);
  box-shadow: 0 22px 50px rgba(236, 130, 14, .28);
  position: relative;
}
.cartao.premio .rotulo-cartao {
  display: inline-block; background: var(--lar); color: #fff;
  padding: 6px 10px; border-radius: 8px;
}
.cartao.premio h2 { font-size: 26px; }
.closer { display: flex; align-items: center; gap: 16px; margin: 18px 0 14px; }
.closer-foto {
  flex: none; width: 88px; height: 88px; border-radius: 50%;
  object-fit: cover; background: #f1f1f4;
  border: 3px solid var(--lar);
}
.closer-foto.vazia { display: grid; place-items: center; font-size: 34px; font-weight: 800; color: var(--lar); }
.closer-info h3 { margin: 0; font-size: 22px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.closer-quem { margin: 0 0 2px !important; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a8a93; }
.closer-cargo { margin: 4px 0 0 !important; font-size: 15px; color: #55555e; font-weight: 600; }
.closer-creds { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.closer-creds li {
  background: #fff3e6; color: #8a4a05; border: 1px solid #f6c48d;
  border-radius: 10px; padding: 6px 10px; font-size: 14px; font-weight: 700;
}
.closer-frase {
  margin: 0 0 16px; padding: 2px 0 2px 14px;
  border-left: 4px solid var(--lar);
  font-size: 17px; font-style: italic; color: #33333a;
}
.closer-video { display: inline-block; margin: 0 0 14px; font-weight: 800; color: var(--lar); text-decoration: none; }
.premio-entrega { margin-top: 6px !important; }
.premio-honesto { color: #55555e; font-size: 15px; }
.agora {
  margin: 18px 0 0; padding: 16px 18px;
  background: #fff7ee; border-radius: 14px; border-left: 6px solid var(--lar);
}
.agora h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.agora p { margin: 0 0 8px; }
.agora p:last-child { margin-bottom: 0; }
.cartao.premio .aviso { color: #17171a; }

.rodape { margin-top: 34px; text-align: center; font-size: 13px; color: var(--txt3); }
.link { background: none; border: 0; padding: 4px; color: var(--txt2); text-decoration: underline; font: inherit; cursor: pointer; }

/* ---------- confirmação ---------- */
.confirma-ok {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--lar); color: #fff;
  display: grid; place-items: center; font-size: 32px; font-weight: 800;
  box-shadow: 0 12px 30px rgba(236, 130, 14, .35);
}
.video { position: relative; padding-top: 56.25%; border-radius: 16px; overflow: hidden; margin-top: 16px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- telas maiores ---------- */
@media (min-width: 640px) {
  .app { padding-top: 44px; }
  .cartao { padding: 28px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .tela { animation: none; }
  .progresso-barra, .opcao, .botao { transition: none; }
}
