/* Páginas de apresentação das duas versões (entrada, "o que muda" e celular).
   Usam as cores, as fontes e os botões do próprio modelo. */

.topo { position: static; padding-bottom: 22px; }
.ap { width: min(1080px, 100% - 2 * var(--margem)); margin-inline: auto; padding: 64px 0 96px; }
.ap--largo { width: min(1240px, 100% - 2 * var(--margem)); }
.ap__abre { max-width: 720px; margin-inline: auto; text-align: center; }
.ap__abre p { margin-top: 20px; }
.ap h2 { font: 400 var(--fs-h2)/1.2 var(--serifa); }
.ap h3 { font: 400 25px/1.2 var(--serifa); }
.ap a:not(.botao) { text-underline-offset: 4px; }

.versoes { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 32px; }
.versao { display: flex; flex-direction: column; }
.versao__previa { display: block; border: 1px solid var(--fio-forte); aspect-ratio: 16 / 10; overflow: hidden; background: var(--areia); }
.versao__previa img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.versao h2 { margin-top: 22px; }
.versao h2 small { display: block; font: 400 15px/1.3 var(--sem); margin-bottom: 4px; }
.versao p { margin-top: 10px; flex: 1; }
.versao__acoes { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.versao__acoes .botao { width: auto; flex: 1 1 200px; }

.ap__passo { margin-top: 64px; padding: 28px 30px; border: 1px solid var(--fio-forte); background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.ap__passo p { flex: 1 1 320px; }
.ap__passo .botao { width: auto; }

.mapa { margin-top: 64px; }
.mapa table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 16px; }
.mapa th, .mapa td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--fio); font-weight: 400; vertical-align: top; }
.mapa thead th { font: 400 15px/1.3 var(--sem); border-bottom-color: var(--fio-forte); }
.mapa td a { display: inline-flex; align-items: center; min-height: 32px; }
.mapa .novo { font-size: 14px; background: var(--areia); color: var(--tinta-linho); padding: 2px 8px; margin-left: 8px; white-space: nowrap; }
.ap__nota { margin-top: 40px; font-size: 16px; max-width: 760px; }

/* "o que muda" */
.muda { margin-top: 72px; }
.muda__texto { max-width: 720px; }
.muda__texto p { margin-top: 10px; }
.muda__par { margin: 22px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.muda__par figure { margin: 0; }
.muda__par img { width: 100%; border: 1px solid var(--fio-forte); }
.muda__par figcaption { margin-top: 8px; font: 400 15px/1.3 var(--sem); }
.muda__par--celular { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.resto { margin-top: 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 56px; }
.resto ul { margin-top: 14px; display: grid; gap: 10px; }
.resto li { padding-left: 18px; position: relative; }
.resto li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 1.5px; background: currentColor; }
.ap__volta { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 12px; }
.ap__volta .botao { width: auto; }

/* celular */
.aparelhos { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 64px; }
.aparelho { text-align: center; }
.aparelho h2 { font: 400 25px/1.2 var(--serifa); }
.aparelho h2 small { display: block; font: 400 15px/1.3 var(--sem); margin-bottom: 2px; }
.aparelho iframe { margin-top: 16px; width: 390px; height: 760px; max-width: 100%; border: 1px solid var(--fio-forte); background: var(--fundo); display: block; }
.atalhos-celular { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.atalhos-celular button { height: 44px; padding: 0 18px; border: 1px solid var(--verde); background: transparent; color: var(--tinta-linho); font: 400 15px/1 var(--sem); }
.atalhos-celular button[aria-pressed="true"] { background: var(--verde); color: #fff; }

@media (max-width: 920px) {
  .ap { padding: 44px 0 72px; }
  .versoes, .muda__par, .resto { grid-template-columns: minmax(0, 1fr); }
  .muda__par--celular { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ap__passo { padding: 22px 18px; }
  .mapa table, .mapa thead, .mapa tbody, .mapa tr, .mapa th, .mapa td { display: block; }
  .mapa thead { display: none; }
  .mapa tr { padding: 10px 0; border-bottom: 1px solid var(--fio); }
  .mapa th, .mapa td { border: 0; padding: 2px 0; }
  .mapa td::before { content: attr(data-v) ": "; }
}
