/* apresentacao.css — Site de apresentação (index.html, frente 20.0c).
 * Protótipos aprovados em 24/10/2026: "Cartário · Web/Celular · Apresentação" (docs/ux/PROTOTIPOS.md).
 * Só cores dos tokens de styles.css (:root e [data-tema="claro"]); classes com prefixo ap-. */

.ap { background: var(--fundo); font-size: 16px; line-height: 24px; }
.ap h1, .ap h2, .ap h3, .ap p, .ap ul, .ap ol { margin: 0; }
.ap ul, .ap ol { padding: 0; list-style: none; }
.ap a:focus-visible, .ap button:focus-visible, .ap summary:focus-visible { outline: 2px solid var(--primaria); outline-offset: 2px; }
.ap-topo a:focus-visible, .ap-topo button:focus-visible { outline-color: var(--sobre-topo); }

.ap-pular { position: absolute; left: 16px; top: -80px; z-index: 10; background: var(--superficie); color: var(--texto); padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.ap-pular:focus { top: 8px; }

/* ── Topo ─────────────────────────────────────────────────────────────── */
.ap-topo { background: var(--topo-bg); border-bottom: 4px solid var(--topo-borda); color: var(--sobre-topo); position: relative; }
.ap-topo-in { max-width: 1168px; margin: 0 auto; padding: 0 24px; min-height: 68px; display: flex; align-items: center; gap: 24px; }
.ap-marca { display: flex; align-items: center; gap: 8px; color: var(--sobre-topo); text-decoration: none; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; min-height: 44px; }
.ap-marca-logo { width: 34px; height: 34px; flex: none; }
.ap-marca .marca-luzes { margin-left: 4px; }
.ap-menu { display: flex; align-items: center; gap: 24px; flex: 1; }
.ap-nav { display: flex; gap: 4px; margin-left: 16px; flex: 1; }
.ap-nav a { color: var(--sobre-topo); text-decoration: none; font-weight: 500; font-size: 15px; min-height: 44px; padding: 0 14px; display: flex; align-items: center; border-radius: 10px; }
.ap-nav a:hover { background: var(--topo-ativo); }
.ap-acoes { display: flex; gap: 8px; align-items: center; }
.ap-menu-btn { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; background: transparent; color: var(--sobre-topo); border: 2px solid var(--sobre-topo); font: inherit; font-size: 15px; font-weight: 600; }

/* ── Botões ───────────────────────────────────────────────────────────── */
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; white-space: nowrap; }
.ap-btn-prim { background: var(--primaria); color: var(--sobre-primaria); }
.ap-btn-sec { background: transparent; color: var(--texto); border-color: var(--texto-fraco); }
.ap-btn-dest { background: var(--destaque); color: var(--sobre-destaque); }
.ap-btn-topo { background: transparent; color: var(--sobre-topo); border-color: var(--sobre-topo); min-height: 44px; padding: 0 20px; }
.ap-btn-pq { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* ── Seções ───────────────────────────────────────────────────────────── */
.ap-cont { max-width: 1168px; margin: 0 auto; padding: 0 24px; }
.ap-sec { padding: 80px 0; }
.ap-sec-alt { background: var(--superficie); border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); }
.ap-sobre { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--texto-fraco); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px !important; }
.ap-h2 { font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.01em; }
.ap-h3 { font-size: 20px; line-height: 28px; font-weight: 600; margin-top: 16px !important; }
.ap-h3-gr { font-size: 24px; line-height: 32px; margin-top: 0 !important; }
.ap-lead { color: var(--texto-fraco); font-size: 18px; line-height: 28px; margin-top: 12px !important; max-width: 640px; }
.ap-cab { margin-bottom: 40px; }
.ap-txt-f { color: var(--texto-fraco); margin-top: 8px !important; }

/* ── Destaque ─────────────────────────────────────────────────────────── */
.ap-hero { padding: 72px 0 80px; }
.ap-hero-in { display: flex; gap: 56px; align-items: center; }
.ap-hero-txt { flex: 1 1 0; min-width: 0; max-width: 520px; }
.ap-h1 { font-size: 52px; line-height: 58px; font-weight: 700; letter-spacing: -0.02em; }
.ap-hero-sub { font-size: 20px; line-height: 30px; color: var(--texto-fraco); margin-top: 20px !important; }
.ap-hero-btns { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.ap-hero-nota { font-size: 14px; line-height: 20px; color: var(--texto-fraco); margin-top: 16px !important; }

/* Exemplo da interface: molduras neutras com silhueta desfocada (sem arte de carta) */
.ap-mock { position: relative; height: 460px; flex: 1 1 0; min-width: 0; }
.ap-lap { position: absolute; left: 0; top: 0; width: 560px; max-width: 100%; background: var(--superficie); border: 1px solid var(--borda); border-radius: 16px; box-shadow: var(--sombra-3); overflow: hidden; }
.ap-lap-barra { height: 28px; background: var(--topo-bg); border-bottom: 3px solid var(--topo-borda); display: flex; align-items: center; padding: 0 12px; }
.ap-lap-corpo { padding: 16px 18px 18px; }
.ap-m-tit { font-size: 17px; line-height: 22px; font-weight: 700; }
.ap-m-sub { font-size: 12px; line-height: 16px; color: var(--texto-fraco); font-weight: 500; margin-top: 2px; }
.ap-m-barra { height: 8px; border-radius: 999px; background: var(--superficie-2); margin: 10px 0 12px; overflow: hidden; }
.ap-m-barra b { display: block; width: 76%; height: 100%; background: var(--sucesso); border-radius: 999px; }
.ap-sem-margem { margin: 0; }
.ap-m-abas { display: flex; gap: 6px; margin-bottom: 12px; }
.ap-m-abas span { font-size: 12px; line-height: 16px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--superficie-2); color: var(--texto-fraco); }
.ap-m-abas span.on { background: var(--primaria-suave); color: var(--texto); box-shadow: inset 0 0 0 1.5px var(--primaria); }
.ap-m-grade6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.ap-m-grade3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ap-mc { display: flex; flex-direction: column; gap: 4px; }
.ap-mc-carta { aspect-ratio: 63 / 88; border-radius: 6px; background: var(--superficie-2); border: 1px solid var(--borda); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ap-mc-carta svg { width: 70%; height: auto; fill: var(--borda); filter: blur(2.5px); }
.ap-mc-carta.falta { opacity: 0.55; }
.ap-mk-linha { display: flex; gap: 3px; justify-content: center; }
.ap-mk-linha i { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid var(--texto-fraco); display: block; }
.ap-mk-linha i.on { background: var(--sucesso); border-color: var(--sucesso); }
.ap-tel { position: absolute; right: 0; bottom: 0; width: 208px; background: var(--superficie); border: 6px solid var(--texto); border-radius: 32px; box-shadow: var(--sombra-3); overflow: hidden; }
.ap-tel-barra { height: 22px; background: var(--topo-bg); border-bottom: 3px solid var(--topo-borda); }
.ap-tel-corpo { padding: 12px 12px 14px; }
.ap-tel-nome { font-size: 15px; line-height: 20px; font-weight: 700; }

/* ── Como funciona ────────────────────────────────────────────────────── */
.ap-passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ap-passo { padding: 28px; background: var(--fundo); box-shadow: none; }
.ap-num { width: 44px; height: 44px; border-radius: 999px; background: var(--primaria); color: var(--sobre-primaria); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; }
.ap-ilu { margin-top: 20px; background: var(--superficie-2); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 112px; justify-content: center; }
.ap-ilu-linha { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; font-weight: 500; background: var(--superficie); border: 1px solid var(--borda); border-radius: 6px; padding: 8px 10px; }
.ap-ilu-linha.on { border-color: var(--primaria); box-shadow: 0 0 0 1px var(--primaria); }
.ap-ilu-pct { font-size: 28px; line-height: 32px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ap-ilu .ap-m-sub { font-size: 14px; line-height: 20px; }
.ap-sigla { width: 34px; height: 24px; border-radius: 4px; background: var(--superficie-2); border: 1px solid var(--borda); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--texto-fraco); }
.ap-vers { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; }
.ap-mk { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--texto-fraco); display: flex; align-items: center; justify-content: center; }
.ap-mk svg { width: 12px; height: 12px; fill: none; stroke: var(--superficie); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.ap-mk.on { background: var(--sucesso); border-color: var(--sucesso); }

/* ── Recursos e jogos ─────────────────────────────────────────────────── */
.ap-recs, .ap-jogos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ap-rec { padding: 24px; }
.ap-ico { width: 48px; height: 48px; border-radius: 10px; background: var(--primaria-suave); color: var(--texto); display: flex; align-items: center; justify-content: center; }
.ap-ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ap-jogo { padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.ap-jogo .ap-h3, .ap-jogo .ap-txt-f { margin-top: 0 !important; }
.ap-jogo-on { background: var(--fundo); box-shadow: none; border: 2px solid var(--sucesso); }
.ap-jogo-off { background: transparent; border: 2px dashed var(--texto-fraco); box-shadow: none; }
.ap-selo { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 28px; padding: 0 10px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.ap-selo svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ap-selo-ok { background: var(--sucesso-suave); color: var(--sucesso); border: 1px solid var(--sucesso); }
.ap-selo-breve { background: var(--superficie-2); color: var(--texto); border: 1px dashed var(--texto-fraco); }

/* ── Planos ───────────────────────────────────────────────────────────── */
.ap-planos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.ap-plano { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.ap-plano .ap-txt-f { margin-top: 0 !important; }
.ap-plano-gratis { border: 2px solid var(--primaria); }
.ap-plano-prem { border: 2px dashed var(--texto-fraco); }
.ap-plano-pe { margin-top: auto !important; padding-top: 12px; }
.ap-preco { font-size: 36px; line-height: 40px; font-weight: 700; font-variant-numeric: tabular-nums; }
/* position: relative segura os .sr-only (absolutos) dentro da rolagem da tabela no celular */
.ap-tab-cx { position: relative; overflow-x: auto; margin-top: 32px; border: 1px solid var(--borda); border-radius: 16px; background: var(--superficie); }
.ap-tab { width: 100%; border-collapse: collapse; min-width: 560px; }
.ap-tab caption { text-align: left; padding: 20px 24px; font-size: 18px; font-weight: 600; }
.ap-tab th, .ap-tab td { padding: 14px 24px; border-top: 1px solid var(--borda); text-align: left; vertical-align: middle; }
.ap-tab thead th { background: var(--superficie-2); font-weight: 600; }
.ap-tab .c { text-align: center; width: 150px; }
.ap-tab tbody th { font-weight: 400; }
.ap-ck svg { width: 20px; height: 20px; stroke: var(--sucesso); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ap-nada { color: var(--texto-fraco); font-weight: 600; }
.ap-garantia { margin-top: 24px; padding: 16px 20px; border-radius: 10px; background: var(--sucesso-suave); border: 1px solid var(--sucesso); display: flex; gap: 12px; align-items: flex-start; }
.ap-garantia svg { width: 24px; height: 24px; flex: none; stroke: var(--sucesso); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── Perguntas ────────────────────────────────────────────────────────── */
.ap-faq { max-width: 800px; display: flex; flex-direction: column; gap: 12px; }
.ap-faq details { background: var(--fundo); border: 1px solid var(--borda); border-radius: 16px; }
.ap-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 24px; font-weight: 600; font-size: 18px; line-height: 26px; border-radius: 16px; }
.ap-faq summary::-webkit-details-marker { display: none; }
.ap-faq summary svg { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ap-faq details[open] { border-color: var(--primaria); box-shadow: 0 0 0 1px var(--primaria); }
.ap-faq details[open] summary svg { transform: rotate(180deg); }
.ap-resp { padding: 0 24px 20px; line-height: 26px; }
.ap-resp a, .ap-rod-lista a { color: var(--texto); text-decoration: underline; }

/* ── Chamada final e rodapé ───────────────────────────────────────────── */
.ap-final { background: var(--topo-bg); border-top: 4px solid var(--topo-borda); border-bottom: 4px solid var(--topo-borda); color: var(--sobre-topo); padding: 72px 0; text-align: center; }
.ap-final .ap-h2 { font-size: 36px; line-height: 44px; }
.ap-final p { font-size: 18px; line-height: 28px; margin-top: 12px; }
.ap-final-btns { margin-top: 28px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.ap-rodape { padding: 48px 0 56px; }
.ap-rod-grade { display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-between; }
.ap-rod-marca { max-width: 340px; }
.ap-rod-nome { font-size: 20px; font-weight: 700; }
.ap-rod-lista { display: flex; flex-direction: column; gap: 4px; }
.ap-rod-lista a, .ap-rod-lista span { display: flex; align-items: center; min-height: 44px; font-size: 15px; }
.ap-rod-lista span { color: var(--texto-fraco); }
.ap-rod-aviso { margin-top: 32px !important; padding-top: 24px; border-top: 1px solid var(--borda); color: var(--texto-fraco); font-size: 14px; line-height: 22px; max-width: 820px; }

/* ── Tablet ───────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .ap-hero-in { flex-direction: column; align-items: stretch; }
  .ap-hero-txt { max-width: none; }
  .ap-mock { flex: none; height: 420px; }
  .ap-recs, .ap-jogos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Celular: menu do topo recolhido ──────────────────────────────────── */
@media (max-width: 759px) {
  .ap-topo-in { padding: 0 16px; min-height: 60px; gap: 12px; }
  .ap-marca { font-size: 20px; }
  .ap-menu-btn { display: inline-flex; }
  .ap-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 5; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px 16px 20px; background: var(--topo-bg); border-bottom: 4px solid var(--topo-borda); }
  .ap-menu.aberto { display: flex; }
  .ap-nav { flex-direction: column; margin-left: 0; }
  .ap-nav a { min-height: 48px; font-size: 16px; }
  .ap-acoes { flex-direction: column; align-items: stretch; }
  .ap-cont { padding: 0 16px; }
  .ap-sec { padding: 56px 0; }
  .ap-hero { padding: 40px 0 56px; }
  .ap-h1 { font-size: 36px; line-height: 42px; }
  .ap-hero-sub { font-size: 18px; line-height: 28px; }
  .ap-hero-btns .ap-btn { flex: 1 1 100%; }
  .ap-h2 { font-size: 26px; line-height: 34px; }
  /* O computador define a altura; o celular fica por cima, no canto de baixo */
  .ap-mock { height: auto; padding-bottom: 32px; }
  .ap-lap { position: relative; width: 100%; }
  .ap-tel { width: 168px; }
  .ap-m-grade6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ap-m-grade6 .ap-mc:nth-child(n+9) { display: none; }
  .ap-passos, .ap-recs, .ap-jogos, .ap-planos { grid-template-columns: minmax(0, 1fr); }
  .ap-plano { padding: 24px; }
  .ap-faq summary { padding: 14px 16px; font-size: 17px; }
  .ap-resp { padding: 0 16px 20px; }
  .ap-final { padding: 56px 0; }
  .ap-final .ap-h2 { font-size: 28px; line-height: 36px; }
}
