/* Petróleo com tons de bege. */
:root {
  --preto: #0f3a44;
  --cinza: #efe6d6;
  --mudo: #6e6555;
  --linha: #ddd0ba;
  --cor: #8f6a2e;
  --titulo: "Source Serif 4", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: #faf6ee; color: var(--preto); font: 400 17px/1.6 "Hanken Grotesk", Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: 1480px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 64px); }
.estreito { max-width: 800px; }
section { padding: clamp(64px, 9vw, 112px) 0; }
.escuro { background: var(--preto); color: #faf6ee; --mudo: #cdbfa6; --linha: #2b5863; --cor: #d9b97f; }
.cinza { background: var(--cinza); }

h1, h2, h3 { margin: 0; font-family: var(--titulo); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6.4vw, 6.6rem); line-height: 1; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: .6em; }
h3 { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.15; margin-bottom: .5em; }
.grande { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; }
.mudo { color: var(--mudo); }
.miudo { font-size: .82rem; line-height: 1.55; color: var(--mudo); }

.btn { display: inline-block; background: var(--preto); color: #fff; border: 0; border-radius: 6px; padding: 16px 28px; font: 700 1rem/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--cor); }
.escuro .btn { background: #efe6d6; color: #0f3a44; }
.escuro .btn:hover { background: var(--cor); color: #0f3a44; }
.btn.pequeno { padding: 11px 18px; font-size: .9rem; }
.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* Topo */
.topo { position: relative; z-index: 2; display: flex; justify-content: flex-end; align-items: center; gap: 20px; padding: 20px 0; }
.topo a { text-decoration: none; }
.marca { font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; }
.topo nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px); font-size: .93rem; font-weight: 500; }
.topo nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: .3em; }

/* Abertura com foto */
.abre { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.abre .texto { padding: clamp(32px, 4vw, 64px) 0; }
.abre .antes { font-weight: 600; color: var(--mudo); margin-bottom: 20px; }
.abre .grande { max-width: 27em; margin: 28px 0 0; color: #e9dfcd; }
.abre img { display: block; width: 100%; height: auto; max-height: 700px; object-fit: cover; object-position: top; align-self: end;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, #000 78%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, #000 78%, transparent); mask-composite: intersect; }

.abre img.capa { display: block; width: 100%; height: 100%; max-height: none; margin: 0; object-fit: cover; border-radius: 2px 4px 4px 2px; -webkit-mask-image: none; mask-image: none; }

/* Livro em 3D */
.cena { perspective: 1600px; justify-self: center; align-self: center; margin: clamp(64px, 7.5vw, 130px) 0 40px; text-align: center; }
.cena .miudo { margin: 30px 0 0; }
.livro { --e: 34px; position: relative; width: min(64vw, clamp(320px, 25vw, 440px)); aspect-ratio: 945 / 1359; margin: 0 auto; transform-style: preserve-3d; transform: rotateY(var(--ry, -26deg)) rotateX(var(--rx, 3deg)); transition: transform .3s ease-out, translate 1.5s cubic-bezier(.4, 0, .2, 1) .35s; cursor: pointer; }
/* Aberto, o livro desliza para a direita e a capa não cobre o título */
.livro:not([data-p="0"]) { translate: clamp(0px, (100vw - 900px) * .14, 22%) 0; transition-delay: 0s; }
.livro:focus-visible { outline: 2px solid var(--cor); outline-offset: 12px; }
.livro::before { content: ""; position: absolute; top: 1%; left: 100%; width: var(--e); height: 98%; transform-origin: left center; transform: translateZ(calc(var(--e) / 2)) rotateY(90deg); background: repeating-linear-gradient(to right, #f3ecdc 0 2px, #d6cbb2 2px 3px); }
.livro::after { content: ""; position: absolute; inset: 0; transform: translateZ(calc(var(--e) / -2)); background: #17302d; border-radius: 2px 4px 4px 2px; box-shadow: 34px 30px 60px rgba(0, 0, 0, .5); }
/* Cada folha é uma peça só (leve para a placa de vídeo). A curvatura na virada é sugerida por inclinação e luz. */
.pagina { --z: 1px; position: absolute; inset: 1% 1% 1% 0; transform-origin: left center; transform: translateZ(calc(var(--e) / 2 - var(--z))); transform-style: preserve-3d; transition: transform 1.3s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.tira { position: absolute; inset: 0; transform-origin: left center; background: #f7f1e3; will-change: transform; }
.janela { position: absolute; inset: 0; overflow: hidden; transition: opacity .12s .32s; }
.janela::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(to right, rgba(60, 45, 20, 0) 25%, rgba(60, 45, 20, .3) 58%, rgba(255, 255, 255, .45) 80%, rgba(60, 45, 20, .12) 100%); }
.conteudo { position: relative; box-sizing: border-box; width: 100%; height: 100%; display: flex; flex-direction: column; gap: .8em; padding: 10% 10% 7%; background: linear-gradient(to right, rgba(70, 52, 22, .22) 0, rgba(70, 52, 22, 0) 10%, rgba(255, 255, 255, .5) 24%, rgba(255, 255, 255, 0) 48%, rgba(70, 52, 22, 0) 86%, rgba(70, 52, 22, .12) 100%); color: #1f1f1f; font-family: "Hanken Grotesk", Arial, Helvetica, sans-serif; font-size: clamp(.68rem, 1.02vw, 1.08rem); line-height: 1.6; text-align: left; }
.pagina p { margin: 0; }

/* Cores e tipos do miolo do livro (rev29): petróleo, bege e letra sem serifa */
.pagina { --ouro: #9c8c6f; --oliva: #172f2d; --tinta: #172f2d; --sem: "Hanken Grotesk", Arial, Helvetica, sans-serif; }
.pagina .fio { flex: none; height: 3px; background: linear-gradient(to right, #b5a68c 0 9%, transparent 9%), linear-gradient(var(--tinta), var(--tinta)) 0 100% / 100% 1px no-repeat; }
.pagina .rotulo { font: 700 .58em var(--sem); letter-spacing: .32em; color: var(--ouro); }
.pagina .numeral { margin: -.05em 0 0; font: 200 5em/.9 var(--sem); letter-spacing: -.03em; color: var(--tinta); }
.pagina h4 { margin: 0; font: 700 1.3em/1.15 var(--sem); color: var(--tinta); }
.pagina .verde { font: 700 1.02em/1.25 var(--sem); color: var(--oliva); }
.pagina blockquote { position: relative; margin: 0; padding: .7em 0 .7em 2.3em; border-top: 2px solid var(--tinta); border-bottom: 1px solid #c9c2b0; font-style: italic; font-weight: 600; font-size: 1.08em; line-height: 1.35; color: var(--tinta); }
.pagina blockquote::before { content: "\201C"; position: absolute; left: 0; top: .12em; font-family: Georgia, serif; font-size: 3.4em; line-height: 1; font-style: normal; color: #b5a68c; }
.pagina mark { padding: 0 .15em; background: #e3dccd; color: var(--tinta); font-weight: 700; }
.pagina .resto { margin-top: auto; font: 700 .6em var(--sem); letter-spacing: .14em; color: var(--ouro); }
.pagina .pe { font: .56em var(--sem); letter-spacing: .26em; color: #5c6353; }
.pagina .pe b { margin: 0 .9em 0 0; letter-spacing: .12em; font-size: 1.25em; color: var(--tinta); }
.pagina .pe.direita { text-align: right; }
.pagina .pe.direita b { margin: 0 0 0 .9em; }
.frente { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: left center; transform: translateZ(calc(var(--e) / 2)); transition: transform 1.5s cubic-bezier(.4, 0, .2, 1) .35s; will-change: transform; }
.frente img, .frente::after { backface-visibility: hidden; }
.frente::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, #cfc4aa, #e6dcc6 14%); transform: rotateY(180deg); border-radius: 4px 2px 2px 4px; }
.p2 { --z: 2px; }
.p3 { --z: 3px; }
/* Abrir: a capa sai na hora. Fechar: as folhas voltam primeiro e a capa desce depois. */
.livro:not([data-p="0"]) .frente { transform: translateZ(calc(var(--e) / 2)) rotateY(-80deg); transition-delay: 0s; }
.pagina.indo .tira { animation: arco-ida 1.3s cubic-bezier(.4, 0, .2, 1); }
.pagina.voltando .tira { animation: arco-volta 1.3s cubic-bezier(.4, 0, .2, 1); }
@keyframes arco-ida { 45% { transform: skewY(-2.5deg) scaleX(.965); } }
@keyframes arco-volta { 50% { transform: skewY(2deg) scaleX(.965); } }
.pagina.indo .janela::after, .pagina.voltando .janela::after { animation: luz 1.3s cubic-bezier(.4, 0, .2, 1); }
@keyframes luz { 45% { opacity: 1; } }
.p1 { transition-delay: .1s; }
.livro[data-p="2"] .p1, .livro[data-p="3"] .p1, .livro[data-p="3"] .p2 { transform: translateZ(calc(var(--e) / 2 - var(--z))) rotateY(-77deg); transition-delay: 0s; }
.livro[data-p="3"] .p2 { transform: translateZ(calc(var(--e) / 2 - var(--z))) rotateY(-74deg); }
/* O texto some quando a folha fica de perfil, para o verso aparecer como papel em branco */
.livro[data-p="2"] .p1 .janela, .livro[data-p="3"] .p1 .janela, .livro[data-p="3"] .p2 .janela { opacity: 0; transition-delay: .88s; }
@media (prefers-reduced-motion: reduce) { .frente, .pagina, .janela { transition-duration: .01s !important; transition-delay: 0s !important; } .tira { animation: none !important; } }

/* Linha do tempo */
.trilho { display: flex; gap: clamp(40px, 6vw, 96px); overflow-x: auto; margin-top: 40px; padding: 6px max(clamp(24px, 4vw, 64px), calc((100vw - 1480px) / 2 + 64px)) 24px; scroll-snap-type: x proximity; }
.trilho li { flex: none; position: relative; padding-top: 30px; border-top: 1px solid var(--preto); scroll-snap-align: start; }
.trilho li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--cor); }
.trilho strong { display: block; font-family: var(--titulo); font-weight: 600; font-size: clamp(3rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.trilho span { display: block; max-width: 19em; margin-top: 16px; color: var(--mudo); }
.tempo h2 { margin-bottom: .2em; }
.tempo-dica { margin: 0; }
.tempo-fixo .wrap { width: 100%; }

.numeros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 30px 0 38px; border-top: 1px solid var(--linha); }
.numeros strong { display: block; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.numeros span { color: var(--mudo); font-size: .92rem; }

/* Duas colunas */
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.duas.meio { align-items: center; }
.duas > .fixo { position: sticky; top: 40px; }
.duas > * { min-width: 0; }
.duas img { display: block; width: 100%; height: auto; max-width: 580px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 6px; }
.frase { font-size: clamp(2.3rem, 6.4vw, 5.6rem); line-height: 1.06; margin: clamp(48px, 7vw, 96px) auto 0; }
.frase span { display: inline; }

.partes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(32px, 6vw, 88px); margin: 40px 0; }
.partes strong { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.partes span { color: var(--mudo); }
@media (min-width: 1100px) { .partes { grid-template-columns: repeat(4, 1fr); gap: 40px clamp(28px, 3vw, 56px); } }
.tarja { display: table; margin-top: 12px; padding: 2px 10px; border-radius: 2px; background: var(--preto); color: transparent; font-size: .85rem; font-weight: 600; cursor: help; user-select: none; transition: background .35s, color .35s; }
.tarja:hover, .tarja:focus { background: transparent; color: var(--cor); outline: 0; padding-left: 0; }
.faixa { overflow: hidden; white-space: nowrap; padding: 24px 0; border-block: 1px solid var(--linha); }
.faixa div { display: inline-block; font-family: var(--titulo); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.faixa span span, .faixa div > span { margin: 0 1.4em; }
.faixa span span::after, .faixa div > span:not([aria-hidden])::after { content: "·"; margin-left: 2.8em; color: var(--cor); font-style: normal; }
.numeros strong { font-variant-numeric: tabular-nums; }
.capa { transition: transform .25s ease-out; }
.partes li { padding-top: 20px; border-top: 1px solid var(--linha); }
.passos { display: grid; gap: 14px; margin: 28px 0 8px; counter-reset: n; }
.passos li, #lista-acoes li { counter-increment: n; position: relative; padding-left: 2em; }
.passos li::before, #lista-acoes li::before { content: counter(n) "."; font-weight: 800; position: absolute; left: 0; }

/* Diagnóstico */
.andamento { display: flex; align-items: center; gap: 20px; margin: 44px 0 24px; font-size: .9rem; font-weight: 600; color: var(--mudo); }
.segs { display: flex; gap: 5px; flex: 1; }
.segs i { flex: 1; height: 4px; border-radius: 2px; background: var(--linha); }
.segs i.on { background: var(--cor); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
fieldset small { display: block; color: var(--mudo); font-size: .88rem; margin: 6px 0 18px; }
.op { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--linha); cursor: pointer; line-height: 1.45; }
.op input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--cor); cursor: pointer; }
fieldset .op:last-child { border-bottom: 1px solid var(--linha); }

.nota { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; margin: 0 0 .15em; }
.nota span { font-size: .3em; letter-spacing: -.02em; color: var(--mudo); margin-left: .25em; }
#barras { margin: 32px 0; }
.barra { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(60px, 1fr) 3.4em; gap: 16px; align-items: center; padding: 9px 0; font-size: .95rem; }
.barra i { display: block; height: 6px; border-radius: 3px; background: var(--linha); overflow: hidden; }
.barra i b { display: block; height: 100%; background: var(--preto); }
.barra > span:last-child { text-align: right; color: var(--mudo); font-variant-numeric: tabular-nums; }
.barra.fraca { font-weight: 700; color: var(--cor); }
.barra.fraca i b { background: var(--cor); }
.barra em { display: inline-block; margin-left: .7em; padding: 1px 8px; border-radius: 3px; background: var(--cor); color: #fff; font-size: .72rem; font-style: normal; font-weight: 700; white-space: nowrap; }
#marcou { margin: 0 0 28px; }
.escala { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 32px; font-size: .8rem; color: var(--mudo); }
.escala span { padding-top: 10px; border-top: 4px solid var(--linha); }
.escala b { display: block; font-weight: inherit; }
.escala .aqui { border-color: var(--cor); color: var(--preto); font-weight: 700; }
.faltas { display: grid; gap: 14px; margin-top: 16px; }
.faltas li { position: relative; padding-left: 1.9em; }
.faltas li::before { content: ""; position: absolute; left: 0; top: .3em; width: .85em; height: .85em; border: 2px solid var(--cor); border-radius: 3px; }
.divisa { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--linha); }
#lista-acoes { display: grid; gap: 16px; margin: 20px 0 28px; counter-reset: n; }
#lista-acoes li::before { color: var(--cor); }

.marca, .numeros strong, .frase, legend, .nota, .partes strong { font-family: var(--titulo); font-weight: 600; letter-spacing: -.01em; }
.partes strong { font-size: 1.3rem; }

/* Formulário */
.contato { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.contato > * { grid-column: 1 / -1; }
.contato .meio { grid-column: span 1; }
.campo { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.campo input, .campo select { width: 100%; border: 1px solid #cdbfa6; border-radius: 6px; background: #fff; padding: 13px 14px; font: 400 1rem inherit; font-family: inherit; color: var(--preto); }
.campo input:focus, .campo select:focus { outline: 2px solid var(--cor); outline-offset: 1px; border-color: var(--cor); }
.contato .op { border: 0; padding: 0; font-size: .93rem; }
.contato .btn { justify-self: start; }

.rodape { background: var(--preto); color: #cdbfa6; padding: 32px 0 44px; border-top: 1px solid #2b5863; font-size: .82rem; }
.rodape p { margin: 0 0 .6em; max-width: 60em; }

/* Cursor próprio (só com mouse): ponto + anel, invertendo as cores do que está embaixo */
.cursor-ponto, .cursor-anel { position: fixed; left: 0; top: 0; z-index: 50; border-radius: 50%; opacity: 0; pointer-events: none; mix-blend-mode: difference; will-change: transform; }
.cursor-ponto { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; transition: opacity .25s; }
.cursor-anel { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1.5px solid #fff; transition: opacity .25s, width .3s, height .3s, margin .3s, background .3s; }
.cursor-vivo .cursor-ponto, .cursor-vivo .cursor-anel { opacity: 1; }
.cursor-alvo .cursor-anel { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: #fff; }
.cursor-alvo .cursor-ponto, .cursor-campo .cursor-ponto, .cursor-campo .cursor-anel { opacity: 0; }
.cursor-proprio, .cursor-proprio a, .cursor-proprio button, .cursor-proprio label, .cursor-proprio .livro, .cursor-proprio .tarja { cursor: none; }
.cursor-proprio input, .cursor-proprio select, .cursor-proprio textarea { cursor: auto; }
.cursor-proprio input[type="checkbox"] { cursor: pointer; }

/* Faixas escuras e brilho nos botões */
.escuro { position: relative; overflow: clip; }
.escuro > .wrap { position: relative; z-index: 1; }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .38) 50%, rgba(255, 255, 255, 0) 65%); transform: translateX(-120%); }
.btn:hover::after { transform: translateX(120%); transition: transform .75s; }
.pal { display: inline-block; }

/* Textura de papel e movimento */
body::before { content: ""; position: fixed; inset: 0; z-index: 9; pointer-events: none; opacity: .06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: no-preference) {
  .abre h1 { animation: entra .9s cubic-bezier(.2, .7, .2, 1) both; }
  .abre .antes, .abre .grande, .abre .acoes { animation: entra .9s .18s cubic-bezier(.2, .7, .2, 1) both; }
  .abre img { animation: aproxima 1.8s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes entra { from { opacity: 0; transform: translateY(28px); } }
  @keyframes aproxima { from { opacity: 0; transform: scale(1.07); } }
  /* Abertura: o livro sobe e depois flutua; o título entra palavra por palavra */
  .abre img.capa { animation: none; }
  .cena { animation: chega 1.6s cubic-bezier(.2, .8, .2, 1) both, flutua 7s ease-in-out 1.8s infinite; }
  @keyframes chega { from { opacity: 0; transform: translateY(90px) scale(.8); } }
  /* A abertura só começa quando a página está de fato visível (o script tira a classe "espera") */
  html.espera .cena, html.espera .pal, html.espera .abre .antes, html.espera .abre .grande, html.espera .abre .acoes { animation-play-state: paused; }
  @keyframes flutua { 50% { transform: translateY(-12px); } }
  .pal { animation: palavra .95s calc(.15s + var(--i) * .13s) cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes palavra { from { opacity: 0; transform: translateY(.6em) rotate(3deg); filter: blur(10px); } }
  .faixa div { animation: corre 55s linear infinite; }
  .faixa:hover div { animation-play-state: paused; }
  @keyframes corre { to { transform: translateX(-50%); } }
  #resultado .barra { animation: entra .5s calc(1s + var(--i) * .22s) both; }
  #resultado .barra i b { transform-origin: left; animation: enche .7s calc(1.2s + var(--i) * .22s) cubic-bezier(.2, .7, .2, 1) both; }
  #resultado .barra.fraca { animation: entra .5s calc(1s + var(--i) * .22s) both, destaque .8s 3.1s both; }
  #resultado .barra.fraca i b { animation: enche .7s calc(1.2s + var(--i) * .22s) cubic-bezier(.2, .7, .2, 1) both, destaque-barra .8s 3.1s both; }
  #faixa, #movimento { animation: entra .7s .6s both; }
  #foco { animation: entra .7s 3.5s both; }
  #porta { animation: entra .7s 4s both; }
  @keyframes enche { from { transform: scaleX(0); } }
  @keyframes destaque { from { color: var(--preto); font-weight: 400; } }
  @keyframes destaque-barra { from { background: var(--preto); } }
  @supports (animation-timeline: view()) {
    .frase span { background: linear-gradient(to right, var(--preto) 50%, #d3c6ad 50%) 100% 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: acende linear both; animation-timeline: view(); animation-range: entry 40% cover 60%; }
    @keyframes acende { to { background-position: 0 0; } }
    body::after { content: ""; position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 10; background: #c9a25a; transform-origin: 0 50%; animation: progresso linear both; animation-timeline: scroll(root); }
    @keyframes progresso { from { transform: scaleX(0); } }
    .partes li { animation: surge linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    @keyframes surge { from { opacity: 0; transform: translateY(28px); } }
    @media (min-width: 821px) {
      .tempo { height: 320vh; padding: 0; view-timeline: --tempo block; }
      .tempo-fixo { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
      .trilho { width: max-content; overflow: visible; animation: desliza linear both; animation-timeline: --tempo; animation-range: contain 0% contain 100%; }
      @keyframes desliza { to { transform: translateX(calc(-100% + 100vw)); } }
    }
    section h2 { animation: titulo linear both; animation-timeline: view(); animation-range: entry 0% entry 75%; }
    @keyframes titulo { from { opacity: 0; transform: translateY(46px); } }
    .duas img { animation: revela linear both; animation-timeline: view(); animation-range: entry 0% cover 32%; }
    @keyframes revela { from { clip-path: inset(0 0 100% 0); transform: translateY(48px); } to { clip-path: inset(0); transform: none; } }
  }
}

@media (max-width: 820px) {
  .topo nav a.some { display: none; }
  .abre, .duas, .partes { grid-template-columns: 1fr; }
  .abre .texto { padding-bottom: 8px; }
  .cena { margin-top: 56px; }
  .livro:not([data-p="0"]) { translate: 22% 0; }
  .abre img { max-height: 440px; }
  .numeros { grid-template-columns: 1fr 1fr; }
  .contato .meio { grid-column: 1 / -1; }
  .duas > .fixo { position: static; }
  .duas img { max-width: 100%; }
}
