@font-face { font-family: Nunito; font-weight: 400; font-display: swap; src: url(fontes/nunito-latin-400-normal.woff2) format("woff2") }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(fontes/nunito-latin-700-normal.woff2) format("woff2") }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(fontes/nunito-latin-800-normal.woff2) format("woff2") }
@font-face { font-family: Nunito; font-weight: 900; font-display: swap; src: url(fontes/nunito-latin-900-normal.woff2) format("woff2") }

:root {
  --tinta: #23303B; --tinta-2: #2E3D4A; --tinta-3: #3A4855;
  --papel: #FFF8EF; --areia: #EADFD2; --branco: #FFFFFF;
  --laranja: #F07A2F; --laranja-texto: #B4501A; --laranja-escuro: #C4621F;
  --verde: #1C9C92; --verde-texto: #167D75; --verde-claro: #5CC4B8; --verde-fundo: #EAF6F4;
  --ouro: #F5B82E; --ouro-texto: #8A6100;
  --cinza: #55616B; --claro-sobre-tinta: #E4DACD;
  --gutter: clamp(16px, 4.5vw, 56px);
  --raio: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 17px/1.55 Nunito, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden }
img { max-width: 100%; height: auto; display: block }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.08; text-wrap: balance; letter-spacing: -.02em }
p { margin: 0 }
a { color: inherit; text-underline-offset: .18em }
::selection { background: var(--ouro); color: var(--tinta) }
:focus-visible { outline: 3px solid var(--verde-texto); outline-offset: 3px; border-radius: 6px }
html { scrollbar-color: var(--laranja) var(--areia) }
::-webkit-scrollbar { width: 11px } ::-webkit-scrollbar-track { background: var(--areia) } ::-webkit-scrollbar-thumb { background: var(--laranja); border-radius: 8px; border: 2px solid var(--areia) }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
section { padding: clamp(64px, 11vw, 128px) var(--gutter) }

/* botões e links */
.bt { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--laranja); color: var(--tinta); font: 900 18px/1 Nunito, sans-serif; text-decoration: none; border: 0; border-radius: 16px; padding: 17px 24px; min-height: 54px; cursor: pointer; box-shadow: 0 5px 0 var(--laranja-escuro), 0 10px 20px rgba(20, 28, 34, .18); transition: transform .12s var(--ease), box-shadow .12s var(--ease) }
.bt svg { width: 22px; height: 22px; transition: transform .3s var(--ease) }
.bt:hover svg { transform: translateX(4px) }
.bt:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--laranja-escuro) }
.bt-pequeno { font-size: 15px; padding: 11px 16px; min-height: 44px; box-shadow: 0 3px 0 var(--laranja-escuro) }
.bt-grande { width: 100%; font-size: 20px }
.link { font-weight: 800; color: var(--laranja-texto); text-decoration-thickness: 2px }

/* cabeçalho: a casinha da logo enche conforme a página desce */
.cabeca { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 10px var(--gutter); background: rgba(255, 248, 239, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(35, 48, 59, .08) }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: -.02em }
.logo-casa { width: 38px; height: 38px }
.cabeca nav { display: none; gap: 26px; margin-left: auto }
.cabeca nav a { font-weight: 800; font-size: 15px; text-decoration: none; color: var(--tinta) }
.cabeca nav a:hover { color: var(--laranja-texto) }
.cabeca .bt-pequeno { margin-left: auto }

/* primeira tela */
.abre { display: grid; gap: 22px; padding-top: clamp(20px, 5vw, 72px); padding-bottom: clamp(48px, 8vw, 96px) }
.abre h1 { font-size: clamp(40px, 11vw, 96px); line-height: .98; letter-spacing: -.035em }
.abre h1 span { color: var(--laranja-texto) }
.abre-sub { font-size: clamp(17px, 4.4vw, 22px); line-height: 1.45; margin-top: 12px; max-width: 34ch; color: #34414c }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 18px }
.abre-preco { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--cinza) }

.palco { position: relative; background: var(--tinta); border-radius: 32px; padding: clamp(12px, 4vw, 40px) clamp(14px, 4vw, 40px); display: grid; justify-items: center; isolation: isolate }
.aparelho { position: relative; margin: 0 0 var(--sobra, 170px); width: min(74vw, 300px); --fy: 12% }
.aparelho img { filter: drop-shadow(0 24px 34px rgba(0, 0, 0, .4)) }
/* tour do celular: as telas do app trocam pelo menu do próprio celular e pelas abas do Quadro */
.tour-tela[hidden] { display: none }
.tela-celular { position: relative }
/* áreas de toque medidas sobre as capturas de 680 x 1320: a barra do menu e as abas do Quadro */
.menu-celular, .abas-celular { position: absolute; left: 0; right: 0; top: 85.8%; height: 9.6%; z-index: 4; display: flex }
.abas-celular { left: 13.2%; right: 13.2%; top: 12.7%; height: 5% }
.menu-celular-item, .aba-celular { flex: 1; height: 100%; border: 0; background: transparent; cursor: pointer; border-radius: 12px; position: relative }
/* cada botão do menu fica centrado no ícone medido (--c, em % da largura da captura) */
.menu-celular-item { position: absolute; top: 0; left: calc(var(--c) - 10%); width: 20% }
/* o realce do toque fica só em volta do ícone e do nome, não na barra inteira */
.menu-celular-item::after, .aba-celular::after { content: ""; position: absolute; inset: 9% 7.5% 10%; border-radius: 12px; transition: background .15s }
.aba-celular::after { inset: 8% 2% }
.menu-celular-item:hover:not([aria-current])::after, .aba-celular:hover:not([aria-current])::after { background: rgba(240, 122, 47, .14) }
.menu-celular-item:focus-visible, .aba-celular:focus-visible { outline-offset: -3px }
.pino { position: absolute; z-index: 2; left: var(--x); top: var(--y); translate: -50% -50%; width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--tinta); background: var(--ouro); color: var(--tinta); font: 900 17px/1 Nunito, sans-serif; cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); transition: transform .25s var(--ease), background .2s }
.pino::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--ouro); opacity: 0 }
.js .pino[aria-expanded="false"]::after { animation: pulsa 1.6s var(--ease) 1.4s 1 }
.pino[aria-expanded="true"] { background: var(--laranja); transform: scale(1.12) }
.pino:hover { transform: scale(1.12) }
@keyframes pulsa { 0% { transform: scale(.8); opacity: .9 } 100% { transform: scale(1.5); opacity: 0 } }
.js .pino { animation: cai .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 140ms + 350ms) }
@keyframes cai { from { transform: translateY(-36px) scale(.6); opacity: 0 } }

/* a ficha fica presa ao alfinete aberto: logo abaixo dele no celular, colada à borda do aparelho no computador */
.fichas { position: absolute; z-index: 3; left: -4%; right: -4%; top: calc(var(--fy) + 30px); transition: top .35s var(--ease) }
.aparelho.acima .fichas { top: auto; bottom: calc(100% - var(--fy) + 30px) }
.aparelho.acima .ficha::before { top: auto; bottom: -9px }
.ficha { position: relative; background: var(--branco); color: var(--tinta); border-radius: 20px; padding: 16px 18px; box-shadow: 0 14px 30px rgba(0, 0, 0, .32); animation: surge .35s var(--ease) }
.ficha::before { content: ""; position: absolute; top: -9px; left: calc(var(--px, 20%) - 9px); width: 18px; height: 18px; background: var(--branco); transform: rotate(45deg); border-radius: 3px }
.ficha h2, .ficha h3 { font-size: 22px; margin: 0 0 6px; color: var(--tinta) }
.palco .ficha h2 { font-size: 24px; line-height: 1.05 }
.palco .ficha { padding: 14px 16px }
.palco .ficha p { font-size: 15.5px; line-height: 1.45 }
.ficha .faz { color: var(--cinza); margin-bottom: 8px; font-size: 15.5px }
/* no celular a ficha cobre os alfinetes de baixo: os números dentro dela trocam de estudo */
.ficha-nav { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--areia); font-size: 13.5px; font-weight: 800; color: var(--cinza) }
.ficha-nav button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--tinta); background: var(--ouro); color: var(--tinta); font: 900 15px Nunito, sans-serif; cursor: pointer }
.ficha-nav button[aria-current=true] { background: var(--laranja) }
@keyframes surge { from { opacity: 0; transform: translateY(10px) } }
.ficha p { font-size: 16px }
.cita { font-size: 13.5px !important; color: var(--cinza); margin-top: 10px; font-weight: 700; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center }
.selo { display: inline-block; font-size: 12.5px; font-weight: 900; border-radius: 99px; padding: 3px 10px; letter-spacing: .01em }
.selo-forte { background: #DFF3EF; color: #0F5C55 }
.selo-moderada { background: #FDF0CF; color: #7A5600 }
.selo-inicial { background: #ECEFF2; color: #3E4A54 }

/* a dor */
.dor { background: var(--laranja); display: grid; gap: 30px }
.dor h2 { font-size: clamp(34px, 8.5vw, 64px); max-width: 16ch }
.dor-barras { display: grid; gap: 14px }
.barra-linha { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; font-weight: 900 }
.barra { display: block; height: 48px; width: calc(var(--v) / 21.3 * 100%); background: var(--tinta); color: var(--papel); border-radius: 12px; position: relative; }
.barra b { position: absolute; right: 12px; top: 50%; translate: 0 -50%; font-size: 18px }
.fonte { font-size: 14px; font-weight: 700 }
.dor-texto { display: grid; gap: 14px; font-size: 19px; max-width: 56ch }

/* como funciona */
.como h2, .ciencia h2, .pessoas h2, .perguntas h2 { font-size: clamp(32px, 7.5vw, 58px); max-width: 20ch }
.passos { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 36px; counter-reset: passo }
.passos li { counter-increment: passo; display: grid; grid-template-columns: 104px 1fr; grid-template-rows: auto 1fr; column-gap: 18px; row-gap: 6px; align-items: start }
.passos li img { grid-row: 1 / 3 }
.passos img { width: 104px; filter: drop-shadow(0 12px 18px rgba(35, 48, 59, .22)) }
.passos h3 { font-size: 22px; display: flex; gap: 10px; align-items: baseline }
.passos h3::before { content: counter(passo); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ouro); border: 3px solid var(--tinta); display: inline-grid; place-items: center; font-size: 15px; translate: 0 -2px }
.passos p { color: #34414c }

/* o mapa da ciência */
.ciencia { background: var(--tinta); color: var(--papel) }
.ciencia-sub { margin-top: 16px; font-size: 19px; max-width: 52ch; color: var(--claro-sobre-tinta) }
.legenda { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 22px; font-size: 14.5px; color: var(--claro-sobre-tinta) }
.legenda .leg { display: inline-flex; gap: 6px; align-items: center }
.mapa-ciencia { margin-top: 36px }
.troca-mapa-linha { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px }
.troca-mapa { font: 800 16px Nunito, sans-serif; color: var(--papel); background: transparent; border: 2px solid rgba(255, 248, 239, .35); border-radius: 99px; padding: 10px 18px; min-height: 44px; cursor: pointer; transition: background .2s, color .2s, border-color .2s }
.troca-mapa:hover { border-color: var(--ouro) }
.troca-mapa[aria-pressed="true"] { background: var(--ouro); border-color: var(--ouro); color: var(--tinta) }
.mapa-tela { display: grid; gap: 18px; justify-items: center }
.mapa-tela[hidden] { display: none }
/* a lista de estudos ao lado do celular: só no computador (no celular, a ficha já traz os números) */
.mapa-lista { display: none; list-style: none; padding: 0; margin: 22px 0 0; gap: 8px }
.mapa-lista button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: 800 17px/1.25 Nunito, sans-serif; color: var(--papel); background: rgba(255, 248, 239, .06); border: 2px solid transparent; border-radius: 16px; padding: 12px 14px; cursor: pointer; transition: background .2s, border-color .2s }
.mapa-lista button:hover { background: rgba(255, 248, 239, .12) }
.mapa-lista button[aria-current] { border-color: var(--ouro); background: rgba(255, 248, 239, .12) }
.mapa-lista .num { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ouro); color: var(--tinta); font-weight: 900 }
.mapa-lista button[aria-current] .num { background: var(--laranja) }
.mapa-lista .tit { flex: 1 }
.mapa-texto { justify-self: stretch; max-width: 46ch }
.mapa-texto h3 { font-size: clamp(26px, 6vw, 36px); color: var(--branco) }
.mapa-texto p { color: var(--claro-sobre-tinta); margin-top: 6px }
.mapa-tela .aparelho img { filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)) }
.mais { margin-top: 30px; border-top: 1px solid var(--tinta-3); padding-top: 18px }
.mais summary { cursor: pointer; font-weight: 900; font-size: 18px; color: var(--ouro); list-style: none; display: flex; gap: 10px; align-items: center }
.mais summary::-webkit-details-marker { display: none }
.mais summary::before { content: ""; width: 26px; height: 26px; flex: none; background: var(--ouro); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--ease) }
.mais[open] summary::before { transform: rotate(45deg) }
.mais ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--claro-sobre-tinta) }
.mais li b { color: var(--branco) }
.mais-nota { margin-top: 18px; color: var(--claro-sobre-tinta); font-size: 15px }
.mais-nota a { color: var(--ouro) }

/* para cada pessoa */
.abas { display: flex; gap: 8px; margin-top: 30px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none }
.abas::-webkit-scrollbar { display: none }
.abas button { flex: none; font: 800 15px Nunito, sans-serif; color: var(--tinta); background: var(--branco); border: 2px solid var(--tinta); border-radius: 99px; padding: 10px 16px; min-height: 44px; cursor: pointer; transition: background .2s, color .2s }
.abas button[aria-selected="true"] { background: var(--tinta); color: var(--papel) }
.paineis { margin-top: 22px }
.paineis [role=tabpanel] { display: grid; gap: 22px }
.painel-texto { max-width: 60ch }
.painel-tela { width: min(60vw, 240px); height: auto; border: 8px solid var(--tinta); border-radius: 34px; box-shadow: 0 18px 30px rgba(35, 48, 59, .22) }
.paineis .grande { font-size: clamp(24px, 5.6vw, 34px); font-weight: 900; line-height: 1.2; margin-bottom: 12px }
[role=tabpanel][hidden] { display: none }

/* aparelhos */
.aparelhos { background: var(--verde-texto); color: var(--branco); display: grid; gap: 32px; align-items: center }
.aparelhos h2 { font-size: clamp(32px, 7.5vw, 56px) }
.aparelhos-foto { margin: 0 calc(var(--gutter) * -.5) }
.aparelhos-foto img { filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .3)) }
.lista-icones { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px }
.lista-icones li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start }
.lista-icones svg { width: 28px; height: 28px; color: var(--ouro) }

/* base legal */
.lei-secao { background: var(--areia) }
.lei-secao h2 { font-size: clamp(32px, 7.5vw, 58px); max-width: 18ch }
.lei-sub { margin-top: 16px; font-size: 19px; max-width: 52ch; color: #34414c }
.leis { margin-top: 36px; border-top: 2px solid var(--tinta) }
.lei { display: grid; gap: 12px; padding: 24px 0; border-bottom: 2px solid rgba(35, 48, 59, .18) }
.lei h3 { font-size: 22px; display: grid; gap: 4px }
.lei h3 span { font-size: 14.5px; font-weight: 800; color: #8A3D10; letter-spacing: 0 }
.lei-rot { font-size: 13.5px; font-weight: 900; color: #0F5C55; margin-bottom: 4px }
.lei-diz p:last-child, .lei-faz p:last-child { color: #34414c }
.lei-faz p:last-child { color: var(--tinta); font-weight: 700 }
.lei-nota { margin-top: 22px; font-size: 14.5px; color: var(--cinza); max-width: 70ch }

/* preço */
.preco { background: var(--laranja); display: grid; gap: 28px }
.preco-cartao { background: var(--tinta); color: var(--papel); border-radius: 28px; padding: clamp(24px, 5vw, 44px); display: grid; gap: 18px }
.preco-cartao h2 { font-size: clamp(30px, 7vw, 48px); color: var(--branco) }
.preco-depois { font-size: 19px; color: var(--claro-sobre-tinta) }
.preco-depois strong { color: var(--ouro) }
.lista-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.lista-check li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start }
.lista-check svg { width: 24px; height: 24px; color: var(--verde-claro) }
.preco-nota { font-size: 14.5px; color: var(--claro-sobre-tinta) }
.fundadora { background: var(--papel); border-radius: 28px; padding: clamp(24px, 5vw, 40px); display: grid; gap: 14px }
.fundadora h3 { font-size: 26px }
.fundadora label { display: grid; gap: 6px; font-weight: 800; font-size: 15px }
.fundadora input:not([type=checkbox]), .fundadora select { font: 700 17px Nunito, sans-serif; color: var(--tinta); background: var(--branco); border: 2px solid var(--areia); border-radius: 14px; padding: 13px 14px; min-height: 50px; width: 100% }
.fundadora input:focus, .fundadora select:focus { border-color: var(--tinta); outline: none; box-shadow: 0 0 0 4px rgba(22, 125, 117, .25) }
.fundadora input:user-invalid { border-color: var(--laranja-texto) }
.fundadora .aceite { grid-template-columns: 24px 1fr; align-items: start; font-weight: 700; font-size: 14.5px }
.fundadora .aceite input { width: 20px; height: 20px; accent-color: var(--laranja-texto); margin-top: 2px }
.escondido { position: absolute; left: -9999px }

/* perguntas */
.perguntas details { border-bottom: 2px solid var(--areia); padding: 18px 0 }
.perguntas details:first-of-type { margin-top: 26px }
.perguntas summary { cursor: pointer; font-weight: 900; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px }
.perguntas summary::-webkit-details-marker { display: none }
.perguntas summary::after { content: ""; flex: none; width: 24px; height: 24px; background: var(--laranja-texto); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--ease) }
.perguntas details[open] summary::after { transform: rotate(45deg) }
.perguntas details p { margin-top: 10px; max-width: 62ch; color: #34414c }

/* fecho e rodapé */
.fecho { background: var(--tinta); color: var(--branco); text-align: center; display: grid; justify-items: center; gap: 22px }
.fecho-casa { width: 120px; height: 120px; color: var(--papel) }
.fecho h2 { font-size: clamp(34px, 8vw, 64px) }
.fecho .bt-grande { max-width: 420px }
.rodape { padding: 26px var(--gutter) 34px; background: var(--tinta); color: var(--claro-sobre-tinta); font-size: 14px; display: grid; gap: 6px; justify-items: center; text-align: center; border-top: 1px solid var(--tinta-3) }
.rodape a { color: var(--ouro) }


/* no celular, a ficha do tour abre logo abaixo do aparelho, para não cobrir o menu dele */
@media (max-width: 719px) {
  .palco .aparelho { margin-bottom: 0 }
  .mapa-tela .aparelho { margin-bottom: 0 }
  .palco .fichas, .palco .aparelho.acima .fichas, .mapa-tela .fichas, .mapa-tela .aparelho.acima .fichas { position: relative; top: auto; bottom: auto; left: auto; right: auto; margin: 16px -4% 0 }
  .palco .aparelho.acima .ficha::before, .mapa-tela .aparelho.acima .ficha::before { top: -9px; bottom: auto }
}

/* celulares mais baixos (iPhone mini, X, 11 Pro): a ficha e o selo ainda cabem na primeira tela */
@media (max-width: 719px) and (max-height: 830px) {
  .abre { gap: 14px }
  .abre h1 { font-size: 38px }
  .abre-sub { font-size: 16px; margin-top: 10px }
  .acoes { margin-top: 14px }
}

@media (max-width: 719px) and (max-height: 790px) {
  .abre h1 { font-size: 34px }
  .abre-preco { display: none }
  .palco .aparelho { width: 68vw }
}

/* tablet */
@media (min-width: 720px) {
  .cabeca nav { display: flex }
  .cabeca .bt-pequeno { margin-left: 8px }
  .palco { justify-items: start; padding-right: 380px }
  .aparelho { width: 300px; margin-bottom: 0 }
  .fichas { left: calc(100% - 22px); right: auto; width: 340px; top: calc(var(--fy) - 34px) }
  .ficha::before, .aparelho.acima .ficha::before { top: 26px; bottom: auto; left: -9px }
  .aparelho.acima .fichas { top: calc(var(--fy) - 34px); bottom: auto }
  .ficha-nav { display: none }
  .palco .ficha h2 { font-size: 28px }
  .palco .ficha { padding: 16px 18px }
  .palco .ficha p { font-size: 16px }
  .pino { z-index: 4 }
  .mapa-tela { justify-items: start }
  .mapa-texto { max-width: none }
  .mapa-lista { display: grid; grid-template-columns: 1fr 1fr }
  .mapa-tela .aparelho { margin-right: 340px }
  /* o celular de cada pessoa fica grande, encostado à direita */
  .paineis [role=tabpanel] { grid-template-columns: minmax(0, 52ch) auto; justify-content: space-between; align-items: start; column-gap: 48px }
  .painel-texto { padding-top: 24px }
  .painel-tela { width: auto; height: clamp(420px, 76vh, 680px); justify-self: end; border-width: 10px }
  .passos { grid-template-columns: repeat(2, 1fr); gap: 44px 36px }
  .passos li { grid-template-columns: 1fr; grid-template-rows: auto; justify-items: start }
  .passos li img { grid-row: auto }
  .passos img { width: 180px }
  .mais ul { grid-template-columns: repeat(2, 1fr); gap: 14px 28px }
  .preco { grid-template-columns: 1.15fr 1fr; align-items: start }
  .lei { grid-template-columns: 1fr 1.2fr 1.2fr; column-gap: 36px; align-items: start }
  .dor { grid-template-columns: 1fr 1fr; align-items: end }
  .dor h2 { grid-column: 1 / -1 }
}

/* computador */
@media (min-width: 1080px) {
  /* o celular das pessoas sobe até a altura do título: ocupa a coluna da direita inteira */
  .painel-tela { margin-top: -250px }
  .mapa-tela { grid-template-columns: minmax(0, 470px) auto; justify-content: start; align-items: center; column-gap: 48px }
  .mapa-texto { max-width: 46ch }
  .mapa-lista { grid-template-columns: 1fr }
  /* a primeira dobra ocupa exatamente a janela, sem cortar e sem mostrar a seção seguinte:
     título, celular e cartão crescem e encolhem pela altura disponível (--alto) */
  .abre { --alto: calc(100svh - 65px); grid-template-columns: 1fr 1.05fr; align-items: center; min-height: max(var(--alto), 560px); padding-top: 3vh; padding-bottom: 3vh; gap: 48px }
  .abre h1 { font-size: min(96px, 6.4vw, 12vh) }
  .abre-sub { font-size: min(22px, 3vh); margin-top: 1.4vh }
  .acoes { margin-top: 2.4vh }
  .palco { align-self: stretch; align-content: center; justify-content: center; padding: 3vh 400px 3vh 40px }
  .palco .aparelho { width: min(300px, calc((max(var(--alto), 560px) - 12vh) * .515)) }
  /* alfinete na metade de baixo: a ficha sobe a partir dele, para não passar do fim da dobra */
  .palco .aparelho.acima .fichas { top: auto; bottom: calc(100% - var(--fy) - 60px) }
  .palco .aparelho.acima .ficha::before { top: auto; bottom: 26px }
  .passos { grid-template-columns: repeat(4, 1fr) }
  .aparelhos { grid-template-columns: 1.2fr 1fr; gap: 56px }
  .abre, .dor, .como, .ciencia, .pessoas, .aparelhos, .lei-secao, .preco, .perguntas { padding-left: max(var(--gutter), calc((100vw - 1240px) / 2)); padding-right: max(var(--gutter), calc((100vw - 1240px) / 2)) }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation: none !important; transition: none !important }
}
