/* ==========================================================================
   AP CONNECT FINANÇAS — DIAGNÓSTICO PARA NEGÓCIOS
   Paleta: #000000 (preto) + #c89116 (dourado) — gradiente 90º
   Estética: fundo claro/elegante, textos escuros, detalhes dourados
   Mobile-first
   ========================================================================== */

:root {
  /* Cores da marca (paleta finanças) */
  --dourado: #c89116;
  --dourado-claro: #e0b44a;
  --dourado-escuro: #a3760f;
  --preto: #0b0b0b;
  --gradiente: linear-gradient(90deg, #000000, #c89116);
  --gradiente-suave: linear-gradient(90deg, rgba(0, 0, 0, .04), rgba(200, 145, 22, .10));

  /* Superfícies claras */
  --fundo: #ffffff;
  --fundo-alt: #fafaf7;
  --fundo-alt-2: #f6f4ee;
  --card: #ffffff;

  /* Textos */
  --titulo: #111111;
  --texto: #3f3f3f;
  --texto-suave: #6b6b6b;
  --texto-fraco: #8f8f8f;

  /* Linhas e sombras */
  --borda: #ece7dc;
  --borda-dourada: rgba(200, 145, 22, .28);
  --sombra-sm: 0 2px 10px rgba(23, 18, 6, .05);
  --sombra: 0 10px 30px rgba(23, 18, 6, .08);
  --sombra-lg: 0 24px 60px rgba(23, 18, 6, .12);
  --sombra-dourada: 0 14px 34px rgba(200, 145, 22, .22);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --fonte-titulo: 'Montserrat', system-ui, -apple-system, sans-serif;
  --fonte-texto: 'Inter', system-ui, -apple-system, sans-serif;

  --transicao: all .28s cubic-bezier(.4, 0, .2, 1);
  --container: 1140px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--fonte-texto);
  background: var(--fundo);
  color: var(--texto);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--dourado-escuro); text-decoration: none; transition: var(--transicao); }
a:hover { color: var(--dourado); }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
input, button, textarea { font-size: inherit; font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  color: var(--titulo);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 5.4vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.35rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.text-center { text-align: center; }
.gold { color: var(--dourado); }
.grad-texto {
  background: var(--gradiente);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: none; border-radius: var(--radius-pill);
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 1rem;
  padding: 16px 32px; min-height: 54px; text-align: center;
  transition: var(--transicao); text-decoration: none; line-height: 1.2;
}
.btn-primario {
  background: var(--gradiente); color: #fff;
  box-shadow: var(--sombra-dourada);
  background-size: 160% 100%; background-position: 0% 50%;
}
.btn-primario:hover {
  color: #fff; transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 20px 44px rgba(200, 145, 22, .32);
}
.btn-primario:active { transform: translateY(0); }
.btn-whatsapp {
  background: #25d366; color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .3);
}
.btn-whatsapp:hover { background: #1fbb59; color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: #fff; color: var(--titulo);
  border: 1.5px solid var(--borda-dourada);
}
.btn-outline:hover { border-color: var(--dourado); color: var(--dourado-escuro); transform: translateY(-2px); }
.btn-bloco { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .72; pointer-events: none; }
.btn-lg { padding: 18px 40px; min-height: 58px; font-size: 1.06rem; }

/* Spinner */
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: girar .7s linear infinite; display: none;
}
.is-loading .spinner { display: inline-block; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: var(--transicao);
}
.site-header.rolado { border-bottom-color: var(--borda); box-shadow: var(--sombra-sm); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 74px; padding: 10px 22px; max-width: var(--container); margin: 0 auto;
}
.header-logo img { height: 42px; width: auto; border-radius: 8px; }
.header-nav { display: flex; align-items: center; gap: 30px; }
.header-nav a {
  color: var(--texto-suave); font-size: .95rem; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.header-nav a:hover { color: var(--dourado-escuro); border-bottom-color: var(--borda-dourada); }
.header-cta { padding: 12px 24px; min-height: 46px; font-size: .92rem; }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; padding: 10px; border-radius: 10px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--preto); border-radius: 2px; transition: var(--transicao); }

@media (max-width: 900px) {
  .header-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-nav.aberto {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 14px 22px 22px;
    border-bottom: 1px solid var(--borda); box-shadow: var(--sombra);
  }
  .header-nav.aberto a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--borda); }
  .header-cta { padding: 12px 20px; font-size: .88rem; }
}

/* Telas muito pequenas: cabeçalho mais enxuto */
@media (max-width: 480px) {
  .header-inner { gap: 8px; padding: 8px 14px; min-height: 64px; }
  .header-logo img { height: 34px; }
  .header-cta { padding: 10px 14px; font-size: .8rem; min-height: 40px; }
}

/* ---------- SEÇÕES ---------- */
.secao { padding: 78px 0; }
.secao-alt { background: var(--fundo-alt); }
.secao-tag {
  display: inline-block; background: rgba(200, 145, 22, .1);
  border: 1px solid var(--borda-dourada); color: var(--dourado-escuro);
  font-family: var(--fonte-titulo); font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 16px; border-radius: var(--radius-pill); margin-bottom: 18px;
}
.secao-titulo { margin-bottom: 14px; }
.secao-sub { color: var(--texto-suave); font-size: 1.06rem; max-width: 660px; }
.secao-sub.centro { margin-left: auto; margin-right: auto; }
.cabecalho-secao { text-align: center; margin-bottom: 48px; }

/* ---------- HERO ---------- */
.hero {
  position: relative; padding: 132px 0 70px; overflow: hidden;
  --img-fundo: url("../img/fundo-elegante.jpg");
  background:
    radial-gradient(1000px 520px at 88% 8%, rgba(200, 145, 22, .10), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, var(--fundo-alt) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--img-fundo, none);
  background-size: cover; background-position: center;
  opacity: .3;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--borda-dourada);
  color: var(--dourado-escuro); font-family: var(--fonte-titulo);
  font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 17px; border-radius: var(--radius-pill); margin-bottom: 22px;
  box-shadow: var(--sombra-sm);
}
.hero-eyebrow .ponto {
  width: 8px; height: 8px; border-radius: 50%; background: var(--dourado);
  box-shadow: 0 0 0 4px rgba(200, 145, 22, .16);
}
.hero h1 { margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--texto-suave); max-width: 540px; margin-bottom: 30px; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-aviso {
  display: flex; align-items: flex-start; gap: 9px;
  color: var(--texto-fraco); font-size: .88rem; margin-top: 18px; max-width: 430px;
}
.hero-aviso svg { flex: none; margin-top: 2px; }
.hero-metricas {
  display: flex; gap: 0; margin-top: 38px; padding-top: 26px;
  border-top: 1px solid var(--borda);
}
.hero-metrica { flex: 1; padding-right: 18px; }
.hero-metrica + .hero-metrica { border-left: 1px solid var(--borda); padding-left: 22px; }
.hero-metrica strong { display: block; font-family: var(--fonte-titulo); font-size: 1.42rem; color: var(--titulo); line-height: 1.1; }
.hero-metrica span { font-size: .82rem; color: var(--texto-fraco); }

.hero-visual { position: relative; }
.hero-visual .moldura {
  position: relative; border-radius: 26px; overflow: hidden;
  box-shadow: var(--sombra-lg); border: 1px solid #fff; aspect-ratio: 4 / 5;
}
.hero-visual .moldura img { width: 100%; height: 100%; object-fit: cover; }
.hero-selo {
  position: absolute; left: -14px; bottom: 26px;
  background: #fff; border: 1px solid var(--borda);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--sombra);
  display: flex; align-items: center; gap: 12px; max-width: 265px;
}
.hero-selo .icone {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: rgba(200, 145, 22, .12); display: grid; place-items: center;
}
.hero-selo p { font-size: .82rem; color: var(--texto-suave); line-height: 1.4; }
.hero-selo strong { display: block; color: var(--titulo); font-family: var(--fonte-titulo); font-size: .9rem; }

@media (max-width: 980px) {
  .hero { padding: 112px 0 54px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 430px; margin: 0 auto; width: 100%; }
  .hero-selo { left: 0; bottom: 14px; }
}
@media (max-width: 560px) {
  .hero-metricas { flex-wrap: wrap; gap: 16px 0; }
  .hero-metrica { flex: 1 1 45%; }
  .hero-metrica:nth-child(3) { border-left: none; padding-left: 0; }
  .hero-acoes .btn { width: 100%; }
}

/* ---------- FAIXA DE IDENTIFICAÇÃO ---------- */
.dores-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: center; }
.dores-img { border-radius: 22px; overflow: hidden; box-shadow: var(--sombra-lg); }
.dores-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.lista-dores { display: grid; gap: 13px; }
.dor {
  display: flex; align-items: flex-start; gap: 13px;
  background: #fff; border: 1px solid var(--borda);
  border-left: 3px solid var(--dourado);
  border-radius: var(--radius-sm); padding: 15px 18px;
  color: var(--texto); font-size: .96rem; box-shadow: var(--sombra-sm);
  transition: var(--transicao);
}
.dor:hover { transform: translateX(3px); border-left-color: var(--preto); }
.dor .marca { color: var(--dourado); flex: none; margin-top: 3px; }
.dores-nota { margin-top: 20px; color: var(--texto-suave); font-size: .94rem; font-style: italic; }

@media (max-width: 980px) {
  .dores-grid { grid-template-columns: 1fr; gap: 34px; }
  .dores-img { order: 2; }
}

/* ---------- CARDS DE ENTREGA ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-entrega {
  background: #fff; border: 1px solid var(--borda);
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--sombra-sm); transition: var(--transicao); position: relative; overflow: hidden;
}
.card-entrega::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradiente); opacity: 0; transition: var(--transicao);
}
.card-entrega:hover { transform: translateY(-5px); box-shadow: var(--sombra); border-color: var(--borda-dourada); }
.card-entrega:hover::before { opacity: 1; }
.card-entrega .num {
  font-family: var(--fonte-titulo); font-size: .78rem; font-weight: 700;
  color: var(--dourado); letter-spacing: .12em; display: block; margin-bottom: 14px;
}
.card-entrega h3 { margin-bottom: 9px; font-size: 1.1rem; }
.card-entrega p { color: var(--texto-suave); font-size: .93rem; }

/* ---------- AUTORIDADE ---------- */
.autoridade-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 50px; align-items: center; }
.autoridade-foto { border-radius: 22px; overflow: hidden; box-shadow: var(--sombra-lg); }
.autoridade-foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 22%; }
.autoridade-selos { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; }
.selo {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(200, 145, 22, .09); border: 1px solid var(--borda-dourada);
  color: var(--dourado-escuro); font-size: .8rem; font-weight: 600;
  padding: 7px 14px; border-radius: var(--radius-pill);
}
@media (max-width: 980px) { .autoridade-grid { grid-template-columns: 1fr; gap: 32px; } .autoridade-foto { max-width: 330px; } }

/* ---------- CTA FINAL ---------- */
.cta-final {
  background: linear-gradient(180deg, var(--fundo-alt) 0%, #fff 100%);
  border-top: 1px solid var(--borda);
}
.cta-caixa {
  background: #fff; border: 1px solid var(--borda-dourada);
  border-radius: 26px; padding: 52px 40px; text-align: center;
  box-shadow: var(--sombra-lg); position: relative; overflow: hidden;
}
.cta-caixa::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradiente);
}
.cta-caixa h2 { margin-bottom: 14px; }
.cta-caixa p { color: var(--texto-suave); max-width: 620px; margin: 0 auto 26px; }
.cta-confianca { margin-top: 18px; color: var(--texto-fraco); font-size: .86rem; }
@media (max-width: 640px) { .cta-caixa { padding: 38px 22px; } }

/* ---------- FOOTER ---------- */
.site-footer { background: #0b0b0b; color: #b9b9b9; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 38px; padding-bottom: 40px; }
.footer-marca img { height: 44px; width: auto; border-radius: 8px; margin-bottom: 16px; }
.footer-marca p { font-size: .9rem; color: #9a9a9a; line-height: 1.7; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(200, 145, 22, .12); border: 1px solid rgba(200, 145, 22, .3);
  display: grid; place-items: center; color: var(--dourado);
}
.footer-social a:hover { background: var(--dourado); color: #000; }
.footer-col h4 {
  color: #fff; font-size: .95rem; margin-bottom: 18px;
  padding-bottom: 11px; border-bottom: 1px solid rgba(200, 145, 22, .22);
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #9a9a9a; font-size: .9rem; }
.footer-col a:hover { color: var(--dourado); }
.footer-contato p { display: flex; align-items: center; gap: 9px; font-size: .9rem; margin-bottom: 11px; color: #9a9a9a; }
.footer-contato svg { color: var(--dourado); flex: none; }
.footer-bottom {
  border-top: 1px solid rgba(200, 145, 22, .18); padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
}
.footer-bottom p { font-size: .82rem; color: #7d7d7d; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- WHATSAPP FLUTUANTE ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 950;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .42);
  transition: var(--transicao);
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 12px 34px rgba(37, 211, 102, .55); }
.whatsapp-float .tooltip {
  position: absolute; right: 70px; white-space: nowrap;
  background: var(--preto); color: #fff; font-size: .8rem; font-weight: 500;
  padding: 8px 13px; border-radius: 9px; opacity: 0; pointer-events: none; transition: var(--transicao);
}
.whatsapp-float:hover .tooltip { opacity: 1; }
@media (max-width: 560px) { .whatsapp-float .tooltip { display: none; } }

/* ---------- BANNER DE COOKIES ---------- */
.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 980;
  background: #fff; border: 1px solid var(--borda); border-radius: var(--radius);
  box-shadow: var(--sombra-lg); padding: 18px 20px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  max-width: 900px; margin: 0 auto;
}
.cookies[hidden] { display: none; }
.cookies p { font-size: .85rem; color: var(--texto-suave); max-width: 620px; margin: 0; }
.cookies-acoes { display: flex; gap: 10px; flex: none; }
.cookies-acoes button {
  border-radius: var(--radius-pill); padding: 11px 22px; font-weight: 600;
  font-size: .85rem; border: 1.5px solid var(--borda); background: #fff; color: var(--titulo);
}
.cookies-acoes .aceitar { background: var(--gradiente); color: #fff; border: none; }
.cookies-acoes button:hover { transform: translateY(-1px); }

/* ==========================================================================
   FLUXO DO DIAGNÓSTICO (quiz + captura + resultado)
   ========================================================================== */
.app {
  position: fixed; inset: 0; z-index: 1000; overflow-y: auto;
  background: var(--fundo-alt); display: none;
}
.app.ativo { display: block; }
body.app-aberto { overflow: hidden; }

.app-topo {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borda);
}
.app-topo-inner {
  max-width: 780px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.app-topo img { height: 34px; width: auto; border-radius: 7px; }
.app-voltar {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: none; color: var(--texto-suave);
  font-size: .88rem; font-weight: 600; padding: 8px 4px;
}
.app-voltar:hover { color: var(--dourado-escuro); }
.app-voltar[hidden] { display: none; }
.app-contador {
  font-family: var(--fonte-titulo); font-size: .8rem; font-weight: 700;
  color: var(--dourado-escuro); letter-spacing: .06em; white-space: nowrap;
}
.app-progresso { height: 4px; background: var(--fundo-alt-2); }
.app-progresso span {
  display: block; height: 100%; width: 0;
  background: var(--gradiente); border-radius: 0 4px 4px 0;
  transition: width .45s cubic-bezier(.4, 0, .2, 1);
}

.app-corpo { max-width: 780px; margin: 0 auto; padding: 30px 20px 90px; }

.tela { display: none; }
.tela.ativa { display: block; animation: entrarTela .42s cubic-bezier(.22, 1, .36, 1); }
.tela.saindo { animation: sairTela .22s ease forwards; }
@keyframes entrarTela { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sairTela { to { opacity: 0; transform: translateY(-12px); } }

/* Cartão de pergunta */
.pergunta-card {
  background: #fff; border: 1px solid var(--borda); border-radius: 22px;
  padding: 30px 28px; box-shadow: var(--sombra); position: relative; overflow: hidden;
}
.pergunta-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gradiente);
}
.pergunta-head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.pergunta-num {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: var(--gradiente); color: #fff;
  display: grid; place-items: center;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 1.05rem;
}
.pergunta-dimensao {
  font-family: var(--fonte-titulo); font-size: .74rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--dourado-escuro);
}
.pergunta-titulo { font-size: clamp(1.18rem, 3.4vw, 1.6rem); margin-bottom: 6px; }
.pergunta-hint { color: var(--texto-fraco); font-size: .88rem; font-style: italic; margin-bottom: 24px; }

.opcoes { display: grid; gap: 12px; }
.opcao {
  display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left;
  background: #fff; border: 1.5px solid var(--borda); border-radius: var(--radius-sm);
  padding: 17px 18px; transition: var(--transicao); color: var(--texto);
  font-size: .98rem; line-height: 1.5;
}
.opcao:hover { border-color: var(--dourado); background: rgba(200, 145, 22, .04); transform: translateY(-2px); }
.opcao .letra {
  width: 32px; height: 32px; flex: none; border-radius: 9px;
  background: var(--fundo-alt-2); color: var(--dourado-escuro);
  display: grid; place-items: center;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: .9rem;
  transition: var(--transicao);
}
.opcao:hover .letra { background: var(--gradiente); color: #fff; }
.opcao.selecionada { border-color: var(--dourado); background: rgba(200, 145, 22, .07); box-shadow: 0 0 0 3px rgba(200, 145, 22, .12); }
.opcao.selecionada .letra { background: var(--gradiente); color: #fff; }
.opcao:focus-visible { outline: 2px solid var(--dourado); outline-offset: 2px; }

/* Captura */
.captura-card {
  background: #fff; border: 1px solid var(--borda); border-radius: 22px;
  padding: 34px 30px; box-shadow: var(--sombra);
}
.captura-card h2 { font-size: clamp(1.3rem, 3.6vw, 1.75rem); margin-bottom: 12px; }
.captura-card > p { color: var(--texto-suave); margin-bottom: 26px; font-size: .98rem; }
.campo { margin-bottom: 18px; }
.campo label {
  display: block; font-family: var(--fonte-titulo); font-weight: 600;
  font-size: .87rem; color: var(--titulo); margin-bottom: 8px;
}
.campo input {
  width: 100%; padding: 15px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--borda); background: var(--fundo-alt);
  color: var(--titulo); transition: var(--transicao);
}
.campo input:focus {
  outline: none; border-color: var(--dourado); background: #fff;
  box-shadow: 0 0 0 4px rgba(200, 145, 22, .13);
}
.campo input.erro { border-color: #cf3f3f; background: #fff6f6; }
.campo-msg { font-size: .8rem; color: #b23c3c; margin-top: 6px; display: none; }
.campo-msg.visivel { display: block; }

.consentimento {
  display: flex; align-items: flex-start; gap: 11px;
  background: var(--fundo-alt); border: 1px solid var(--borda);
  border-radius: var(--radius-sm); padding: 15px 16px; margin: 22px 0 18px;
  font-size: .88rem; color: var(--texto-suave); cursor: pointer;
}
.consentimento input { width: 19px; height: 19px; flex: none; margin-top: 2px; accent-color: var(--dourado); cursor: pointer; }
.aviso-privacidade { font-size: .82rem; color: var(--texto-fraco); margin-top: 16px; line-height: 1.6; }
.aviso-privacidade a { text-decoration: underline; }

.alerta {
  display: none; gap: 10px; align-items: flex-start;
  background: #fff4f4; border: 1px solid #f0cccc; color: #a53333;
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: .88rem; margin-bottom: 18px;
}
.alerta.visivel { display: flex; }
.alerta svg { flex: none; margin-top: 2px; }

/* Resultado */
.resultado-hero { text-align: center; margin-bottom: 30px; }
.resultado-eyebrow {
  display: inline-block; font-family: var(--fonte-titulo); font-size: .74rem;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dourado-escuro); background: rgba(200, 145, 22, .1);
  border: 1px solid var(--borda-dourada); padding: 8px 16px;
  border-radius: var(--radius-pill); margin-bottom: 18px;
}
.resultado-hero h1 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); margin-bottom: 6px; }
.resultado-hero .saudacao { color: var(--texto-fraco); font-size: .95rem; }

.bloco {
  background: #fff; border: 1px solid var(--borda); border-radius: var(--radius);
  padding: 26px 26px; margin-bottom: 16px; box-shadow: var(--sombra-sm);
}
.bloco-destaque { border-color: var(--borda-dourada); background: linear-gradient(180deg, #fffdf7 0%, #fff 100%); }
.bloco-rotulo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--fonte-titulo); font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--dourado-escuro);
  margin-bottom: 12px;
}
.bloco p { color: var(--texto); font-size: 1rem; }
.bloco p + p { margin-top: 10px; }

.dimensoes { display: grid; gap: 11px; margin-top: 4px; }
.dimensao { display: flex; align-items: center; gap: 13px; font-size: .92rem; }
.dimensao .rotulo { flex: 1; color: var(--texto); }
.dimensao .barra { width: 78px; height: 7px; border-radius: 4px; background: var(--fundo-alt-2); overflow: hidden; flex: none; }
.dimensao .barra i { display: block; height: 100%; border-radius: 4px; }
.dimensao .status { font-size: .74rem; font-weight: 700; font-family: var(--fonte-titulo); width: 92px; text-align: right; flex: none; }
.nivel-3 { background: linear-gradient(90deg, #c89116, #e0b44a); }
.nivel-2 { background: #b9b09a; }
.nivel-1 { background: #cf3f3f; }
.txt-3 { color: var(--dourado-escuro); }
.txt-2 { color: var(--texto-suave); }
.txt-1 { color: #b23c3c; }
@media (max-width: 520px) {
  .dimensao .barra { display: none; }
  .dimensao .status { width: auto; }
}

.resultado-acoes { text-align: center; margin-top: 26px; }
.resultado-acoes .btn { width: 100%; max-width: 460px; }
.resultado-refazer { display: inline-block; margin-top: 16px; font-size: .87rem; color: var(--texto-fraco); text-decoration: underline; }
.chamada-final {
  margin-top: 30px; padding: 22px; border-radius: var(--radius);
  background: var(--fundo-alt); border: 1px dashed var(--borda-dourada);
  text-align: center; color: var(--texto-suave); font-size: .96rem;
}
.chamada-final strong { display: block; color: var(--titulo); font-family: var(--fonte-titulo); margin-bottom: 6px; }

@media (max-width: 560px) {
  .pergunta-card, .captura-card { padding: 24px 20px; }
  .app-corpo { padding: 22px 16px 80px; }
  .bloco { padding: 22px 20px; }
}
