@font-face {
  font-family: Archivo;
  src: url("./assets/archivo.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-stretch: 100% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("./assets/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --noite: #13051f;
  --violeta: #6c22ff;
  --coral: #ff4b33;
  --sol: #ffc928;
  --papel: #fff5e3;
  --tinta: #1a0b27;
  --vinho: #4a0f18;
  --lilas: #dbc6ff;
  --rosa: #ffbae3;
  --linha: #d6cad1;
  --ease: cubic-bezier(.2,.8,.2,1);
  --gutter: clamp(22px, 5vw, 76px);
  --space: 88px;
  --bar-space: 82px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-block: 14px calc(var(--bar-space) + env(safe-area-inset-bottom)); background: var(--noite); }
body {
  margin: 0;
  font: 400 18px/1.55 "Instrument Sans", Arial, sans-serif;
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
main { overflow: clip; }
p, h1, h2, h3, figure, blockquote, dl, dd, ul, ol { margin: 0; }
p { max-inline-size: 62ch; }
p + p { margin-block-start: 1em; }
strong, b { font-weight: 700; }
h1, h2, h3, .turn-number, .price, .wordmark {
  font-family: Archivo, "Arial Black", Arial, sans-serif;
  font-weight: 900;
  font-stretch: 115%;
  line-height: 1.035;
  letter-spacing: -.058em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h2 { font-size: clamp(2rem, 4.65vw, 5rem); }
h3 { font-size: clamp(1.5rem, 3.1vw, 2.75rem); }
h2 + p, h3 + p { margin-block-start: 22px; }
small { font-size: 14px; line-height: 1.5; }
svg, img { display: block; max-inline-size: 100%; }
button, input, output { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.skip-link {
  position: fixed; z-index: 20; top: 10px; left: 12px; padding: 10px 16px;
  transform: translateY(-150%); background: var(--papel); color: var(--tinta);
}
.skip-link:focus { transform: none; }
.wrap { width: min(100%, 1440px); margin-inline: auto; padding-inline: var(--gutter); }
.chapter { position: relative; padding-block: var(--space); }
.eyebrow {
  font-size: 14px; font-weight: 700; line-height: 1.35; letter-spacing: .02em;
  margin-block-end: 16px;
}
.cta {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 15px;
  min-block-size: 56px; max-inline-size: 100%; padding: 11px 16px 11px 19px;
  color: var(--tinta); background: var(--coral); text-decoration: none;
  border: 2px solid var(--tinta); box-shadow: 4px 4px 0 var(--tinta);
  font-size: clamp(1rem, 2vw, 1.125rem); line-height: 1.25; font-weight: 700;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
.cta-mark {
  flex: 0 0 28px; display: grid; place-items: center; inline-size: 28px; block-size: 28px;
  border: 1px solid currentColor; border-radius: 50%;
}
.cta-mark svg { width: 14px; height: 14px; }
.cta:focus-visible { outline-color: var(--papel); box-shadow: 0 0 0 8px var(--tinta); }
@media (hover: hover) { .cta:hover { transform: translateY(-3px); box-shadow: 4px 7px 0 var(--tinta); } }
.cta:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--tinta); }
.chapter--hero .cta, .chapter--mecanismo .cta, .chapter--fechamento .cta {
  border-color: var(--tinta); box-shadow: 4px 4px 0 var(--papel);
}

/* A película invade a abertura e termina cortada, como um trecho em edição. */
.chapter--hero { background: var(--noite); color: var(--papel); padding-block: 30px 0; overflow: clip; }
.hero-layout { position: relative; }
.hero-copy { position: relative; z-index: 2; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px; font-family: Archivo, Arial, sans-serif;
  color: var(--papel); font-size: 1.15rem; letter-spacing: -.035em;
  margin-block-end: 30px;
}
.wordmark::before {
  content: ""; inline-size: 13px; block-size: 21px; flex: 0 0 13px; border: 2px solid var(--sol);
  box-shadow: 4px 0 0 -2px var(--noite), 6px 0 0 -2px var(--sol); transform: rotate(-10deg);
}
.hero-copy > .eyebrow { color: var(--sol); font-size: 15px; margin-block-end: 14px; }
.hero-title {
  font-size: clamp(2.12rem, 7.24vw, 4.5rem);
  letter-spacing: -.063em; line-height: 1.03; max-inline-size: 14ch;
  margin-block-end: 22px;
}
.hero-title > span { display: block; overflow: clip; padding-block-end: .09em; margin-block-end: -.09em; }
.hero-title > span > span { display: block; }
.hero-title > span + span { color: var(--sol); margin-block-start: .19em; }
.hero-copy .hero-highlight { font-weight: 700; }
.hero-copy .hero-support { color: var(--papel); }
.hero-copy .cta { margin-block-start: 21px; }
.hero-notice, .hero-copy .notice, .hero-copy .disclaimer {
  display: block; margin-block-start: 19px; max-inline-size: 54ch;
  color: var(--lilas); font-size: 14px; line-height: 1.48;
  padding-inline-start: 11px; border-inline-start: 2px solid var(--sol);
}
.hero-art {
  position: relative; block-size: clamp(300px, 76vw, 460px);
  margin-block-start: 28px; margin-inline: calc(-1 * var(--gutter)); isolation: isolate;
}
.hero-art::before {
  content: ""; position: absolute; z-index: -1; inset: 10% -12% -12% 19%;
  background: var(--violeta); transform: skewY(-13deg) rotate(-3deg); transform-origin: center;
}
.hero-art::after {
  content: ""; position: absolute; inset: auto 0 0; height: 10px; background: var(--noite);
  clip-path: polygon(0 100%,0 50%,2% 50%,2% 0,5% 0,5% 50%,8% 50%,8% 0,11% 0,11% 50%,14% 50%,14% 0,17% 0,17% 50%,20% 50%,20% 0,23% 0,23% 50%,26% 50%,26% 0,29% 0,29% 50%,32% 50%,32% 0,35% 0,35% 50%,38% 50%,38% 0,41% 0,41% 50%,44% 50%,44% 0,47% 0,47% 50%,50% 50%,50% 0,53% 0,53% 50%,56% 50%,56% 0,59% 0,59% 50%,62% 50%,62% 0,65% 0,65% 50%,68% 50%,68% 0,71% 0,71% 50%,74% 50%,74% 0,77% 0,77% 50%,80% 50%,80% 0,83% 0,83% 50%,86% 50%,86% 0,89% 0,89% 50%,92% 50%,92% 0,95% 0,95% 50%,98% 50%,98% 0,100% 0,100% 100%);
}
.film-strip, .hero-lead { position: absolute; }
.film-strip {
  width: 30%; display: grid; gap: 7px; padding: 8px 12px; background: var(--tinta);
  border: 1px solid #c5a9ee;
}
.film-strip::before, .film-strip::after {
  content: ""; position: absolute; inset-block: 2px; inline-size: 4px; background:
    repeating-linear-gradient(to bottom, #aa8bce 0 5px, transparent 5px 18px);
}
.film-strip::before { left: 4px; }
.film-strip::after { right: 4px; }
.film-strip--left { z-index: 0; inset: 18% auto auto 2%; transform: rotate(-18deg); }
.film-strip--right { z-index: 0; inset: -9% -1% auto auto; transform: rotate(13deg); }
.film-frame { display: block; min-inline-size: 0; background: var(--tinta); }
.frame-art, .scene { width: 100%; height: auto; aspect-ratio: 160 / 284; }
.hero-lead {
  z-index: 1; width: 37%; inset: 8% auto auto 30%; padding: 7px;
  transform: rotate(-8deg); background: var(--papel); border: 2px solid var(--tinta);
  box-shadow: 6px 7px 0 var(--tinta); 
}
.hero-lead > svg { aspect-ratio: 160 / 284; }
.hero-copy .wordmark, .hero-copy .eyebrow { animation: settle 460ms var(--ease) both; }
.hero-title > span > span { animation: title-in 580ms var(--ease) both; }
.hero-title > span:nth-of-type(2) > span { animation-delay: 90ms; }
.hero-copy > p, .hero-copy > .cta, .hero-art { animation: settle 530ms 180ms var(--ease) both; }
.hero-copy > .cta { animation-delay: 235ms; }
.hero-art { animation-delay: 275ms; }
.hero-art.in-view .film-strip > .film-frame { animation: frame-live 1.6s 640ms var(--ease) 2 alternate both; }
.hero-art.in-view .film-strip--right > .film-frame { animation-delay: 760ms; }
@keyframes title-in { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes settle { from { opacity: 0; translate: 0 21px; } to { opacity: 1; translate: 0 0; } }
@keyframes frame-live { from { transform: translateY(0); } to { transform: translateY(-3px); } }

.chapter--ferida { background: var(--papel); }
.ferida-layout { display: grid; gap: 40px; }
.ferida-copy { max-inline-size: 610px; }
.ferida-copy h2 { margin-block-end: 28px; }
.ferida-copy p { max-inline-size: 43ch; }
.feed-stage {
  display: grid; position: relative; place-items: center; align-self: start;
  grid-row: 2; min-block-size: 370px; isolation: isolate;
}
.feed-stage::before {
  content: ""; position: absolute; z-index: -1; inset: 4% 15%; border: 1px solid #c7b0ca;
  background: #ead8f9; transform: rotate(8deg); box-shadow: 0 0 0 8px var(--papel), 0 0 0 9px #c7b0ca;
}
.feed-frame {
  position: relative; max-block-size: 405px; inline-size: min(53%,205px); aspect-ratio: 160/284;
  overflow: clip; padding: 7px; border: 2px solid var(--tinta); background: var(--noite);
  transform: rotate(-5deg); box-shadow: 6px 7px 0 var(--tinta);
}
.feed-frame .scene { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); opacity: 0; transform: translateY(22px); transition: opacity 510ms var(--ease), transform 540ms var(--ease); }
.feed-frame .scene.is-active { opacity: 1; transform: none; }
.feed-frame::after { content: ""; position: absolute; inset: auto 13px 15px; height: 3px; background: var(--papel); opacity: .94; }
.ferida-pause, .pause {
  min-block-size: 57svh; display: grid; align-content: center; padding-block: 45px;
  font: 900 clamp(1.85rem, 4.5vw, 4.25rem)/1.07 Archivo, "Arial Black", sans-serif;
  letter-spacing: -.055em; text-wrap: balance; color: var(--violeta);
}
.ferida-copy blockquote { max-width: 16ch; }
.ferida-copy .break-line { font-weight: 700; }

.chapter--verdade { background: var(--vinho); color: var(--papel); }
.chapter--verdade h2 { max-inline-size: 18ch; }
.days { list-style: none; padding: 0; display: grid; gap: 14px; margin-block: 37px; }
.day { display: grid; grid-template-columns: 57px 1fr; align-items: center; gap: 18px; padding-block: 9px; border-block-end: 1px solid #a76571; }
.day-frame { position: relative; inline-size: 100%; aspect-ratio: 9 / 16; border: 1px solid var(--papel); background: transparent; overflow: clip; }
.day-frame svg { width: 100%; height: 100%; }
.day:nth-child(2) .day-frame svg { filter: saturate(.7); }
.day:nth-child(3) .day-frame svg { filter: saturate(.38) brightness(.83); }
.day:nth-child(4) .day-frame svg { filter: saturate(.03) brightness(.63); }
.day:last-child .day-frame { border-style: dashed; }
.day-copy strong, .day-copy b { color: var(--sol); }
.chapter--verdade .wrap > p { max-inline-size: 52ch; }
.chapter--verdade .wrap > p:last-child { color: var(--sol); }

.chapter--virada { background: var(--sol); overflow: clip; }
.turn-layout { display: grid; gap: 28px; }
.turn-layout h2 { max-inline-size: 17ch; }
.turn-layout > * { min-inline-size: 0; }
.turn-number {
  display: block; margin-block: 15px 8px; font-size: clamp(5.25rem, 20vw, 17rem);
  font-stretch: 120%; line-height: .92; letter-spacing: -.10em;
  font-variant-numeric: tabular-nums; white-space: nowrap; text-wrap: nowrap;
}
.wall-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 4px;
  padding: 8px; border: 2px solid var(--tinta); box-shadow: 5px 5px 0 var(--tinta);
  background: var(--noite); transform: rotate(-3deg);
}
.wall-grid > * { aspect-ratio: 9 / 16; background: var(--papel); overflow: clip; }
.wall-grid svg { width: 100%; height: 100%; }
.wall-grid > :nth-child(4n+1) { background: var(--violeta); }
.wall-grid > :nth-child(4n+2) { background: var(--rosa); }
.wall-grid > :nth-child(4n+3) { background: var(--sol); }
.wall-grid > :first-child { background: var(--noite); border: 1px dashed var(--papel); }

.chapter--mecanismo { color: var(--papel); background: var(--violeta); }
.chapter--mecanismo .eyebrow { color: var(--papel); }
.chapter--mecanismo h2 { max-width: 16ch; }
.method-layout { display: grid; gap: 36px; margin-block: 39px; }
.method-stage { display: none; }
.method-phases { display: grid; gap: 39px; }
.phase { border-block-start: 1px solid #cfb9ff; padding-block-start: 20px; min-width: 0; }
.phase p, .phase h3 { max-inline-size: 42ch; }
.phase h3 { text-wrap: pretty; }
.phase h3 + p { margin-top: 13px; }
.method-grid, .phase-grid, .closing-grid { display: grid; grid-template-columns: repeat(15,minmax(0,1fr)); gap: 3px; }
.phase-grid {
  margin-block-start: 20px; padding: 8px;
  background: var(--noite); border: 1px solid #e4cfff;
}
:is(.method-grid,.phase-grid,.closing-grid) > [data-frame] {
  display: block; aspect-ratio: 9 / 16; border: 1px solid #a98bcf;
  background: transparent; min-inline-size: 0;
}
:is(.method-grid,.phase-grid,.closing-grid) > .is-filled { background: var(--sol); border-color: var(--sol); }
:is(.method-grid,.phase-grid,.closing-grid) > .is-filled:nth-child(4n+2) { background: var(--rosa); border-color: var(--rosa); }
:is(.method-grid,.phase-grid,.closing-grid) > .is-filled:nth-child(4n+3) { background: var(--papel); border-color: var(--papel); }
:is(.method-grid,.phase-grid,.closing-grid) > .is-filled:nth-child(4n+4) { background: var(--lilas); border-color: var(--lilas); }
.chapter--mecanismo .cta { margin-block-start: 25px; }

.chapter--diferencial { background: var(--papel); }
.chapter--diferencial h2 { max-inline-size: 17ch; }
.process-list { list-style: none; padding: 0; display: grid; margin-block: 36px; }
.process-step {
  display: grid; position: relative; grid-template-columns: minmax(70px, 30%) minmax(0,1fr);
  align-items: center; gap: 20px; padding-block: 17px; border-block-end: 1px solid var(--linha);
}
.process-step h3 { color: var(--violeta); }
.process-step h3 + p { margin-block-start: 8px; }
.process-frame { position: relative; max-width: 140px; aspect-ratio: 9 / 16; border: 2px solid var(--tinta); background: var(--tinta); padding: 4px; }
.process-step:nth-child(1) .process-frame { transform: rotate(-5deg); }
.process-step:nth-child(1) .process-frame::after {
  content: ""; position: absolute; inset: 12% 16%; border: 2px dashed var(--papel);
  box-shadow: 0 0 0 20px #13051f66; pointer-events: none;
}
.process-step:nth-child(2) .process-frame { transform: rotate(3deg); }
.process-step:nth-child(3) .process-frame { box-shadow: 5px 5px 0 var(--violeta), 9px 9px 0 var(--tinta); }

.chapter--conta { background: var(--sol); }
.chapter--conta h2 { max-inline-size: 16ch; }
.calculator {
  display: grid; gap: 24px; margin-block: 32px; padding: clamp(18px, 4vw, 53px);
  background: var(--noite); color: var(--papel); border: 2px solid var(--tinta); box-shadow: 5px 5px 0 #3e175b;
}
.calculator > * { min-inline-size: 0; }
.calculator-controls, .calculator-display { display: grid; gap: 20px; align-content: start; }
.calculator-controls label { display: block; font-weight: 700; }
.calculator output { font-variant-numeric: tabular-nums; }
.calculator input[type="range"] {
  display: block; margin: 2px 0 0; inline-size: 100%; min-block-size: 44px; accent-color: var(--sol); cursor: pointer;
}
.calculator-display {
  border-block-start: 1px solid #715580; padding-block-start: 20px;
}
.calculator-display output { display: block; color: var(--sol); font: 900 clamp(1.9rem,6.2vw,5rem)/1.04 Archivo,Arial,sans-serif; letter-spacing: -.055em; }
.calculator-display small { display: block; margin-block-start: 5px; color: var(--lilas); }
.calculator-notice, .calculator .notice, .calculator .disclaimer {
  color: var(--papel); font-size: 14px; line-height: 1.55; padding-block-start: 14px; border-block-start: 1px solid #715580;
}
.calculator :focus-visible { color: var(--sol); }

.chapter--provas { background: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.calculator .calc-notice { grid-column: 1 / -1; margin: 0; padding: 14px 15px; border-inline-start: 3px solid var(--sol); background: #241033; color: var(--papel); font-size: 15px; line-height: 1.48; }
.method-count { color: var(--sol); font: 900 clamp(2.3rem, 4vw, 4.35rem)/1 Archivo, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.06em; margin-block-end: 13px; }
.method-count span { color: var(--papel); font-size: .55em; }
.turn-outro { margin-block-start: 16px; }
.chapter--provas h2 { margin-block-end: 30px; }
.proof-placeholder, [data-proof-placeholder] { max-inline-size: 720px; padding: 26px; border: 2px dashed var(--linha); }
.proofs-list, [data-proofs-list] { display: grid; gap: 22px; }
.proofs-list figure, .proofs-list article, [data-proofs-list] > * { padding: 16px 0 16px 22px; border-inline-start: 4px solid var(--violeta); }

.chapter--quem { padding: 0; background: var(--papel); }
.fit-layout { display: grid; }
.fit-side { padding: var(--space) var(--gutter); }
.fit-side:first-child { background: var(--noite); color: var(--papel); }
.fit-side:first-child h2 { color: var(--lilas); }
.fit-side ul, .receipt ul { list-style: none; padding: 0; margin-block-start: 25px; }
.fit-side li, .receipt li { position: relative; padding: 12px 0 12px 23px; border-block-end: 1px solid currentColor; }
.fit-side li::before, .receipt li::before {
  content: ""; position: absolute; left: 1px; top: 1.05em; inline-size: 10px; block-size: 16px; border: 1px solid currentColor;
}
.fit-side:last-child li::before { background: var(--violeta); border-color: var(--violeta); }

.chapter--oferta { background: var(--vinho); color: var(--papel); }
.chapter--oferta .wrap { display: grid; justify-items: center; }
.chapter--oferta h2 { max-inline-size: 17ch; text-align: center; }
.receipt {
  position: relative; inline-size: min(100%,600px); margin-block-start: 37px;
  padding: clamp(20px, 5vw, 52px); background: var(--papel); color: var(--tinta); box-shadow: 8px 8px 0 #270713;
}
.receipt::before, .receipt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: repeating-conic-gradient(from 45deg at 50% 0, var(--papel) 0 25%, transparent 0 50%) 0 0 / 18px 12px;
}
.receipt::before { bottom: 100%; transform: rotate(180deg); margin-bottom: -1px; }
.receipt::after { top: 100%; margin-top: -1px; }
.receipt li { border-color: var(--linha); }
.receipt ul { margin-block: 12px 22px; }
.price, .receipt [data-price] {
  display: block; font: 900 clamp(4.15rem, 14vw, 8.5rem)/.94 Archivo, Arial, sans-serif;
  font-stretch: 112%; letter-spacing: -.09em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.receipt .cta { margin-block-start: 22px; width: 100%; }
.receipt p + p { margin-block-start: 13px; }

.chapter--garantia { background: var(--papel); }
.guarantee-layout { display: grid; gap: 20px; }
.guarantee-layout h2 { max-width: 13ch; }
.guarantee-layout p { max-inline-size: 44ch; }
.chapter--garantia .wrap > p:last-child, .guarantee-layout > div:last-child p:last-child { font-weight: 700; }
.chapter--duvidas { background: var(--papel); padding-block-start: 0; }
.faq { max-width: 832px; margin-block-start: 30px; border-block-start: 1px solid var(--tinta); }
.faq details { border-block-end: 1px solid var(--tinta); }
.faq summary {
  min-block-size: 56px; display: flex; justify-content: space-between; align-items: center;
  gap: 14px; cursor: pointer; padding: 13px 3px; font-weight: 700; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 20px; color: var(--violeta); text-align: center; font-size: 25px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 26px 19px 3px; }

.chapter--fechamento { background: var(--noite); color: var(--papel); }
.closing-layout { display: grid; gap: 34px; }
.closing-layout h2 { max-inline-size: 14ch; }
.closing-layout blockquote { color: var(--sol); font-size: clamp(1.5rem,4vw,2.7rem); font-weight: 700; line-height: 1.1; margin-block: 22px; }
.closing-layout .cta { margin-block-start: 26px; }
.closing-grid {
  width: min(100%,545px); align-self: center; padding: 12px;
  border: 1px solid #8d76a6; transform: rotate(-4deg);
}
.closing-grid > [data-frame] { transition: transform 460ms var(--ease), opacity 460ms var(--ease); transition-delay: min(440ms,calc(6ms * var(--frame-index, 0))); }
.has-js .closing-grid > :not(.is-filled) { transform: scale(.84); opacity: .68; }
.site-footer { background: var(--noite); color: var(--lilas); font-size: 14px; line-height: 1.5; padding-block: 20px 32px; }
.site-footer .wrap { border-block-start: 1px solid #523d68; padding-block-start: 24px; }
.site-footer p { max-inline-size: 72ch; }
.site-footer a, .site-footer button { min-block-size: 44px; display: inline-flex; align-items: center; }
.site-footer button { border: 0; background: none; color: inherit; text-decoration: underline; padding-inline: 0; }
.site-footer ul { padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; list-style: none; }

.reading-progress {
  position: fixed; z-index: 7; inset: 0 0 auto; height: 8px; display: grid;
  grid-template-columns: repeat(13,minmax(0,1fr)); gap: 2px;
  background: var(--noite); padding: 1px 0; pointer-events: none;
}
.reading-progress > span { display: block; background: #675575; }
.reading-progress > span:is(.is-read,.is-filled) { background: var(--sol); }
.buy-bar {
  position: fixed; z-index: 9; bottom: 0; left: 0; right: 0;
  padding: 8px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--noite);
}
.buy-bar .cta { width: 100%; }
.has-buy-bar .site-footer { padding-bottom: calc(32px + var(--bar-space) + env(safe-area-inset-bottom)); }
.has-buy-bar :is(summary,input,button,a) { scroll-margin-bottom: calc(var(--bar-space) + env(safe-area-inset-bottom)); }
dialog {
  width: min(calc(100% - 32px),520px); max-height: calc(100dvh - 40px);
  padding: 23px; border: 2px solid var(--tinta); background: var(--papel); color: var(--tinta);
}
dialog::backdrop { background: #13051fcc; }
dialog button { min-height: 44px; border: 1px solid var(--tinta); background: var(--papel); margin: 8px 7px 0 0; padding-inline: 12px; }
.consent { position: fixed; z-index: 12; inset: auto var(--gutter) max(14px, env(safe-area-inset-bottom)) auto; width: min(calc(100% - 2 * var(--gutter)), 410px); max-height: calc(100dvh - 34px); overflow-y: auto; padding: 18px; color: var(--tinta); background: var(--papel); border: 2px solid var(--tinta); box-shadow: 5px 5px 0 var(--noite); }
.consent h2 { font-size: 1.2rem; }
.consent p { margin-block: 8px 12px; font-size: 15px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-actions button { min-height: 44px; flex: 1 1 auto; padding: 6px 12px; color: var(--tinta); background: transparent; border: 1px solid var(--tinta); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.consent-actions .consent-accept { background: var(--noite); color: var(--papel); }
body:has(.consent:not([hidden])) .buy-bar { display: none; }

/* Entradas curtas, somente depois que o observador está disponível. */
.has-js [data-reveal] { transition: opacity 550ms var(--ease), transform 550ms var(--ease), clip-path 570ms var(--ease); transition-delay: calc(72ms * var(--reveal-index, 0)); }
.has-js [data-reveal]:not(.is-visible):not(:focus-within) { opacity: 0; transform: translateY(22px); }
.has-js :is(h2,h3)[data-reveal]:not(.is-visible):not(:focus-within) { clip-path: inset(0 0 100% 0); }
.has-js :is(h2,h3)[data-reveal].is-visible { clip-path: inset(0 0 0 0); }
.has-js .process-frame[data-reveal]:not(.is-visible) { transform: translateY(20px) rotate(-6deg); }
.has-js .hero-copy [data-reveal] { opacity: 1; transform: none; clip-path: none; }

@media (min-width: 640px) {
  .hero-title { max-inline-size: 15ch; }
  .hero-art { margin-inline: 0; }
  .hero-lead { width: 29%; inset-inline-start: 35%; }
  .film-strip { width: 25%; }
  .film-strip--right { right: 9%; }
  .film-strip--left { left: 14%; }
  .wall-grid { gap: 7px; }
  .turn-number { font-size: clamp(8rem, 19vw, 17rem); }
  .days { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 20px; }
  .day { display: block; align-self: start; border: 0; }
  .day-frame { margin-block-end: 16px; }
  .process-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
  .process-step { grid-template-columns: 1fr; gap: 25px; align-content: start; border: 0; border-block-start: 1px solid var(--linha); }
  .process-frame { width: 65%; justify-self: center; }
  .calculator { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .calculator-display { border-block-start: 0; border-inline-start: 1px solid #715580; padding-block-start: 0; padding-inline-start: 24px; }
  .calculator :is(.calculator-notice,.notice,.disclaimer) { grid-column: 1 / -1; }
  .fit-layout { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .buy-bar { display: none !important; }
  .reading-progress {
    inset: 50% 12px auto auto; translate: 0 -50%; width: 7px; height: auto;
    display: grid; grid-template-columns: 1fr; gap: 4px; background: transparent;
  }
  .reading-progress > span { width: 7px; height: 11px; border: 1px solid var(--noite); }
  .ferida-layout { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
  .feed-stage { position: sticky; top: clamp(32px,13vh,126px); grid-row: auto; }
  .ferida-pause, .pause { min-block-size: 64svh; }
  .turn-layout { grid-template-columns: minmax(0, .99fr) minmax(0,1.01fr); align-items: center; }
  .turn-number { font-size: clamp(6.1rem, 13vw, 13.8rem); }
  .wall-grid { transform: rotate(-5deg) translateX(6%); }
  .method-layout { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); }
  .method-stage { display: block; position: sticky; top: clamp(40px,14vh,155px); align-self: start; }
  .method-grid { padding: 17px; gap: clamp(4px,.6vw,9px); border: 2px solid var(--papel); box-shadow: 8px 8px 0 var(--tinta); background: var(--noite); }
  .method-grid > [data-frame] { transition: transform 380ms var(--ease); }
  .method-grid > [data-frame]:not(.is-filled) { transform: scale(.94); }
  .method-phases { gap: 0; }
  .phase { min-block-size: min(56svh,450px); padding-block: 30px 52px; }
  .phase-grid { display: none; }
  .fit-side { padding-inline: max(var(--gutter), calc((100vw - 1288px)/2)); }
  .guarantee-layout, .closing-layout { grid-template-columns: 1fr 1fr; gap: 9%; align-items: center; }
  .closing-layout { row-gap: 0; }
  .closing-grid { grid-column: 2; grid-row: 1 / span 2; }
  .closing-layout .cta { justify-self: start; }
  .turn-outro { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  :root { --space: 144px; }
  body { font-size: 19px; }
  .chapter--hero { padding-block: 48px 90px; }
  .hero-layout { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); min-block-size: 675px; align-items: center; }
  .hero-title { font-size: clamp(3rem, 4.45vw, 4.875rem); max-inline-size: none; }
  .hero-copy { padding-block-end: 4px; }
  .hero-copy > p { max-inline-size: 47ch; }
  .wordmark { margin-block-end: 46px; }
  .hero-art {
    width: 129%; height: calc(100% + 138px); min-height: 700px;
    margin: 0; align-self: center;
  }
  .hero-art::before { inset: 11% 0% -12% 5%; transform: rotate(-23deg); }
  .hero-art::after { display: none; }
  .hero-lead { width: 39%; inset: 19% auto auto 25%; padding: 9px; box-shadow: 9px 9px 0 var(--tinta); }
  .film-strip { width: 28%; padding: 8px 17px; }
  .film-strip--left { inset: 20% auto auto 7%; }
  .film-strip--right { inset: -17% 11% auto auto; }
  .film-strip::before, .film-strip::after { width: 6px; }
  .film-strip::before { left: 5px; }
  .film-strip::after { right: 5px; }
  .chapter--hero::after {
    content: ""; position: absolute; inset: auto 0 0; height: 10px;
    background: repeating-linear-gradient(90deg,var(--papel) 0 18px,transparent 18px 36px);
    pointer-events: none;
  }
  .feed-stage { min-block-size: 455px; }
  .feed-stage::before { inset: 1% 23%; }
  .feed-frame { inline-size: min(53%,238px); max-block-size: none; }
  .days { gap: clamp(18px,2.5vw,40px); margin-block: 45px; }
  .process-frame { max-width: 184px; }
  .calculator { gap: 38px; }
  .calculator-display { padding-inline-start: 38px; }
}

@media (max-width: 374px) {
  :root { --gutter: 18px; }
  .hero-title { font-size: clamp(1.95rem, 8.6vw, 2.12rem); }
  .cta { padding-inline: 13px; gap: 8px; }
  .cta-mark { flex-basis: 24px; width: 24px; height: 24px; }
  .turn-number { font-size: clamp(4.8rem, 21vw, 5.25rem); }
}

@media (max-width: 767px) {
  .wordmark { margin-block-end: 24px; }
  .hero-title { margin-block-end: 17px; }
  .hero-copy .cta { margin-block-start: 17px; }
  .hero-notice { margin-block-start: 16px; }
  .ferida-layout { grid-template-columns: minmax(0, 1fr) minmax(58px, 23%); column-gap: 14px; }
  .feed-stage { position: sticky; top: clamp(30px, 17svh, 125px); grid-row: auto; min-block-size: 140px; }
  .feed-stage::before { inset: 9% 7%; }
  .feed-frame { inline-size: 85%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .has-js [data-reveal]:not(.is-visible):not(:focus-within) { opacity: 1; transform: none; clip-path: none; }
  .has-js .closing-grid > [data-frame] { opacity: 1; transform: none; }
}
