@font-face {
  font-family: Manrope;
  src: url('/fontes/manrope-normal-latin-8bd97e6bbb.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Playfair;
  src: url('/fontes/playfair-display-italic-latin-c68530044e.woff2') format('woff2');
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --navy: #10182e;
  --ink: #222841;
  --ink-muted: #56617d;
  --cream: #f9f7f1;
  --gold: #efc995;
  --accent: #d7e1ff;
  --line: #e4dfd5;
  --sans: Manrope, system-ui, sans-serif;
  --book: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 16px/1.6 var(--sans); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #af7a31; outline-offset: 4px; }
.shell { width: min(1170px, calc(100% - 56px)); margin-inline: auto; }
.skip { position: absolute; top: 10px; left: 10px; padding: 8px 14px; transform: translateY(-150%); z-index: 4; background: white; }
.skip:focus { transform: none; }
.top { background: var(--navy); color: white; }
.top-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ffffff1c; }
.brand, .brand img { display: block; }
.brand img { height: 40px; width: auto; object-fit: contain; }
.top-link { color: #dbe2f4; font-size: .84rem; font-weight: 750; text-decoration: none; }
.top-link:hover { color: white; text-decoration: underline; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: radial-gradient(ellipse at 80% 52%, #2e3d6b, transparent 58%), linear-gradient(145deg,#10182e 20%,#1e2b50 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr .94fr;
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  min-height: 550px;
  padding: 62px 0 70px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 15px;
  font-size: .71rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow span, .hero-art figcaption span {
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  margin: 0;
  font: 800 clamp(3.2rem, 6.1vw, 6rem)/.99 var(--sans);
  letter-spacing: -.09em;
  animation: show-hero .55s ease both;
}
.hero h1 em {
  display: block;
  font: italic 400 1.05em/1.08 Playfair, var(--book);
  color: #ffe0ae;
  letter-spacing: -.055em;
}
.hero-copy {
  max-width: 420px;
  margin: 24px 0;
  color: #d7e0f4;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}
@keyframes show-hero { from { opacity: 0; transform: translateY(10px); } }
.file-drop {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 82px;
  gap: 12px;
  padding: 12px;
  border: 1px solid #cdd6f35c;
  border-radius: 15px;
  background: #ffffff10;
  color: #fff;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.file-drop:hover, .upload.dragging .file-drop, .file-drop:focus-within { background: #ffffff22; border-color: #e5ecfe; }
.upload.dragging .file-drop { transform: translateY(-3px); }
.file-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-icon { display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid #ffffff37; border-radius: 12px; color: #deebff; font-size: 1.4rem; }
.file-copy { flex: 1; min-width: min(130px,100%); }
.file-copy strong, .file-copy small { display: block; }
.file-copy strong { font-size: .85rem; }
.file-copy small { color: #dbe4fa; font-size: .74rem; }
.file-button, .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s, background .2s;
}
.file-button { padding: 10px 12px; background: var(--accent); color: #18203a; font-size: .79rem; }
.file-drop:hover .file-button { background: #f1f4ff; }
.example, .text-button { border: 0; background: transparent; padding: 8px 0; color: inherit; font-size: .84rem; font-weight: 750; }
.example { margin-top: 10px; color: #e4ebff; }
.example:hover, .text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.upload-error { color: #ffd3d0; margin: 8px 0 0; font-size: .85rem; }

.hero-art { position: relative; margin: 0; min-width: 0; }
.art-halo {
  position: absolute;
  inset: -8% 4% 3%;
  border-radius: 50%;
  background: radial-gradient(ellipse,#99affb38 0%,#859af019 45%,transparent 73%);
  animation: halo-rise 5s ease-in-out infinite alternate;
}
@keyframes halo-rise { to { transform: scale(1.09); opacity: .7; } }
.art-envelope { position: relative; min-height: 325px; padding: 72px 0 34px; }
.draft {
  position: absolute;
  left: 4%;
  top: 14px;
  width: 47%;
  min-width: 126px;
  padding: 20px;
  color: #aeb9dc;
  background: linear-gradient(151deg,#344267,#26314b);
  border: 1px solid #ffffff23;
  border-radius: 4px 18px 4px 4px;
  transform: rotate(-15deg);
  box-shadow: 0 15px 35px #0d122a70;
}
.draft span { display: block; margin-bottom: 14px; font-size: .69rem; white-space: nowrap; }
.draft i { display: block; width: 69%; height: 2px; margin: 7px 0; background: #a4b4e253; border-radius: 4px; }
.draft i:nth-of-type(even) { width: 87%; }
.book {
  --paper-hero: #fffaec;
  position: relative;
  width: 94%;
  margin-left: 4%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 1.66;
  color: #382c21;
  isolation: isolate;
  border-radius: 18px 9px 13px 16px;
  background: #ab9272;
  box-shadow: 0 28px 39px #070c21b3, 0 3px 0 3px #b9a282, 0 9px 0 2px #53443d;
  transform: perspective(900px) rotateX(9deg) rotateZ(8deg);
  animation: book-reveal .9s cubic-bezier(.21,.7,.23,1) both;
}
@keyframes book-reveal { from { opacity: 0; transform: perspective(900px) translateY(25px) rotateX(17deg) rotateZ(14deg); } }
.leaf { position: relative; overflow: hidden; min-width: 0; padding: 12% 12% 12% 14%; background: var(--paper-hero); }
.leaf-left { border-radius: 18px 3px 3px 16px; background: linear-gradient(90deg,var(--paper-hero) 84%,#ddcdb2 100%); }
.leaf-right { border-radius: 3px 9px 13px 3px; text-align: center; background: linear-gradient(90deg,#e7d7bd 0%,#fff9ec 16%,#fff9ec); }
.leaf small, .chapter-mark { display: block; font: 700 clamp(.35rem,.75vw,.58rem)/1 var(--sans); letter-spacing: .13em; }
.leaf strong { display: block; margin: 9% 0 0; font: 600 clamp(.96rem,2.7vw,2.4rem)/1.03 var(--book); letter-spacing: -.055em; }
.leaf p { font: 400 clamp(.39rem,.85vw,.7rem)/1.4 var(--book); margin: 9% 0 0; text-align: left; }
.leaf p span { font-size: 2em; float: left; margin: 1px 2px 0 0; line-height: .85; }
.leaf b { position: absolute; bottom: 5%; left: 49%; font: 400 .6rem var(--book); }
.chapter-rule { width: 28%; height: 1px; margin: 8% auto 0; background: #ad8d65; }
.book-lines { margin: 10% 0 0; height: 30%; background: repeating-linear-gradient(180deg,#745f4a99 0 1px,transparent 1px 8px); }
.book-lines-short { margin-top: 9%; width: 82%; height: 22%; }
.hero-art figcaption { position: relative; text-align: center; color: #c6d0ed; font-size: .72rem; }
.hero-art figcaption span { width: 5px; height: 5px; margin-right: 4px; color: var(--gold); }

.processing { padding: 66px 0; }
.processing-card { max-width: 460px; margin: 0 auto; text-align: center; }
.processing h2, .result h2, .how h2 { margin: 0; font: 750 clamp(2rem,4.8vw,3.55rem)/1.1 var(--sans); letter-spacing: -.06em; }
.processing p { margin: 12px 0 19px; color: var(--ink-muted); }
.press-art {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 25px;
  background: #192644;
  color: #f5e4c8;
}
.motion-sheet {
  position: absolute;
  top: 30%; left: 32%;
  width: 38%; height: 50%;
  border-radius: 3px;
  background: #d6dffa;
  transform: translate(calc(var(--sheet-index) * -6px),calc(var(--sheet-index) * -5px)) rotate(calc(var(--sheet-index) * -7deg));
}
.motion-sheet:first-child { background: #8193bd; }
.motion-sheet:nth-child(2) { background: #adbce2; }
.motion-sheet:nth-child(3) { background: repeating-linear-gradient(180deg,#eee1cd 0 5px,#b9a78b 5px 6px,#eee1cd 6px 9px); }
.motion-scan { position: absolute; left: 18%; right: 18%; height: 1px; top: 47%; background: #ffffffbb; }
progress { display: block; height: 8px; width: min(340px,100%); margin: 0 auto 14px; accent-color: #435988; }
.processing .text-button { color: var(--ink-muted); }

.how { padding: 65px 0 73px; }
.how-inner > h2 { font-size: clamp(1.85rem,4vw,2.55rem); margin-bottom: 22px; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.step { position: relative; min-height: 168px; padding: 19px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fffdfa; }
.step h3 { margin: 12px 0 3px; font-size: 1rem; line-height: 1.25; }
.step p { margin: 0; font-size: .87rem; color: var(--ink-muted); }
.step-motion { position: relative; width: 44px; height: 44px; border-radius: 11px; background: #edf0fa; }
.step-motion i { position: absolute; display: block; inset: 12px 15px; border: 1px solid #626e93; border-radius: 2px; }
.step-motion i:nth-child(2) { transform: translate(4px,3px); }
.step-motion i:nth-child(3) { transform: translate(-3px,-3px); }

.result { padding: 60px 0 78px; background: #f3efe5; }
.result .eyebrow, .checkout-card .eyebrow { color: #586788; }
.result-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 30px; }
.result-head p:not(.eyebrow) { margin: 12px 0 0; color: var(--ink-muted); }
.reset { white-space: nowrap; }
.pages { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.page-tile {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 1px solid #cabfae;
  border-radius: 5px;
  background: #fffcf5;
  color: #322821;
  text-align: inherit;
  box-shadow: 0 8px 18px #45382313;
  animation: page-enter .44s both;
  animation-delay: calc(var(--tile-index,0) * 42ms);
  transition: box-shadow .2s, transform .2s;
}
@keyframes page-enter { from { opacity: 0; transform: translateY(12px); } }
button.page-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 22px #45382330; }
.page-paper { position: relative; font-family: var(--book); aspect-ratio: 2/3; overflow: hidden; }
.page-text { position: absolute; inset: 10% 11% 12%; overflow: hidden; text-align: start; }
.page-tile { container-type: inline-size; }
.page-text p { margin: 0 0 .55em; font-size: clamp(.32rem,4cqi,.61rem); line-height: 1.43; }
.page-text .page-chapter { margin: 10% 0 12%; font-size: clamp(.62rem,8cqi,1.08rem); line-height: 1.2; text-align: center; }
.page-folio { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; font-size: .64rem; }
.locked-area { position: relative; margin-top: 16px; isolation: isolate; }
.pages-locked { opacity: .6; pointer-events: none; user-select: none; }
.pages-locked .page-text { filter: blur(3px); }
.mask-chapter, .mask-text { margin: 11% 0; height: 11%; background: repeating-linear-gradient(180deg,#928479 0 2px,transparent 2px 7px); }
.mask-chapter { width: 52%; margin: 15% auto; }
.mask-text:nth-child(even) { width: 90%; height: 22%; }
.unlock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  background: linear-gradient(transparent,#f3efe5b5 38%,#f3efe5 100%);
}
.lock-icon { position: relative; width: 28px; height: 19px; margin-top: 5px; border-radius: 5px; background: #263151; }
.lock-icon::before { content: ''; position: absolute; left: 6px; top: -10px; width: 16px; height: 13px; border: 2px solid #263151; border-radius: 8px 8px 0 0; }
.unlock h3 { margin: 9px 0 12px; font-size: clamp(1rem,3.2vw,1.5rem); letter-spacing: -.04em; }
.primary { min-height: 47px; padding: 11px 17px; color: white; background: #263b6b; font-size: .86rem; text-align: center; }
.primary:hover { background: #18284d; transform: translateY(-2px); }
.footer { border-top: 1px solid var(--line); color: var(--ink-muted); font-size: .76rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; column-gap: 18px; padding: 19px 0; }
.footer-inner p { margin: 0; }

dialog { max-width: min(94%,580px); max-height: 92vh; width: 100%; padding: 16px 20px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: #fffaf0; box-shadow: 0 30px 70px #0a0d2260; }
dialog::backdrop { background: #0c1429bb; }
.reader-top, .reader-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.reader-top h2 { margin: 0; font-size: .9rem; }
.reader-nav { margin-top: 8px; color: var(--ink-muted); font-size: .78rem; }
.reader-nav button:disabled { opacity: .44; cursor: default; }
.reader-paper { padding: clamp(24px,6vw,44px) clamp(15px,6vw,44px); color: #342d22; font-family: var(--book); font-size: clamp(.94rem,3vw,1.05rem); line-height: 1.64; }
.reader-paper p { margin: 0 0 .9em; text-align: start; }
.reader-paper h3 { margin: 10% 0 8%; text-align: center; font: 600 1.9rem/1.13 var(--book); }

.checkout-body { min-height: 100vh; }
.checkout-shell { width: min(560px,calc(100% - 32px)); margin: clamp(30px,9vh,100px) auto; }
.checkout-card { background: #fffdfa; padding: clamp(22px,5vw,40px); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 42px #4d413014; animation: show-hero .4s ease both; }
.checkout-card h1 { color: var(--ink); font: 800 clamp(2rem,6vw,3.3rem)/1.04 var(--sans); letter-spacing: -.07em; margin: 0; }
.checkout-card p:not(.eyebrow) { color: var(--ink-muted); }
.checkout-card .primary { width: 100%; }
.order-total { display: flex; justify-content: space-between; align-items: center; gap: 13px; padding: 16px 0; border-block: 1px solid var(--line); }
.order-total strong { white-space: nowrap; font-size: 1.4rem; }
.order-note { margin: 12px 0; font-size: .79rem; }
.demo-check { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 0 16px; border-radius: 50%; background: #dceee3; color: #257052; font-size: 1.4rem; }

@media (max-width: 820px) {
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 12px; padding-block: 49px 36px; }
  .hero-art { width: min(520px,95%); margin: 0 auto; }
  .art-envelope { min-height: 0; padding: 49px 0 29px; }
  .draft { top: 8px; }
  .leaf strong { font-size: clamp(1rem,4vw,2rem); }
  .leaf p { font-size: clamp(.52rem,1.5vw,.69rem); }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .top-inner { min-height: 64px; }
  .brand img { height: 36px; }
  .hero-copy { margin: 17px 0 20px; }
  .file-button { padding-inline: 8px; }
  .file-drop { gap: 8px; padding: 9px; }
  .file-icon { width: 33px; height: 33px; }
  .file-copy { min-width: 100px; }
  .steps { grid-template-columns: 1fr; gap: 9px; }
  .step { min-height: 0; padding: 13px 13px 13px 63px; }
  .step-motion { position: absolute; left: 11px; top: 12px; }
  .step h3 { margin: 0 0 3px; }
  .how, .result { padding-block: 40px; }
  .result-head { display: block; margin-bottom: 17px; }
  .page-text p { font-size: max(3px,4cqi); }
  .pages { gap: 5px; }
  .page-folio { font-size: .47rem; }
  .locked-area { min-height: 162px; }
  .locked-area .primary { font-size: .8rem; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; row-gap: 7px; }
  .footer-inner p { grid-row: 2; grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
