/* Júnior Santos · páginas de cada e-book (Horizon X, 2026-11-20)
   Usa o site.css (cores, vidro, botões, entradas) e acrescenta só o que é da página de venda.
   Cada livro troca a cor de destaque por --acc (lombada do livro). */

.lp { --acc: var(--menta); }
.lp .nav__cta::after { content: " →"; }

/* Topo: texto + livro em 3D */
.lp-hero { overflow-x: clip; padding: clamp(36px, 5vw, 76px) var(--side) clamp(48px, 5vw, 80px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px clamp(32px, 5vw, 90px); align-items: center; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; animation: fade .8s var(--ease) both .1s; }
.crumb li { font-family: var(--display); font-weight: 600; font-size: var(--step-small); padding: 6px 14px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--line); color: var(--soft); }
.crumb li:first-child { background: var(--dourado); border-color: var(--dourado); color: var(--ink); }
.lp-hero h1 { font-size: clamp(2.6rem, 1.3rem + 4vw, 5rem); line-height: .98; letter-spacing: -0.03em; }
.lp-hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.lp-hero h1 .ln > span { display: block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.lp-hero h1 .ln:nth-child(2) > span { animation-delay: .1s; color: var(--dourado); }
.lp-hero__lead { margin-top: 22px; max-width: 50ch; color: var(--soft); font-size: var(--step-body); animation: fade .8s var(--ease) both .45s; }
.buy { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; animation: fade .8s var(--ease) both .6s; }
.price { font-family: var(--display); line-height: 1; }
.price b { display: block; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
.price b small { font-size: .45em; margin-right: .15em; vertical-align: .9em; color: var(--soft); }
.price span { display: block; margin-top: 6px; font-family: var(--text); font-size: var(--step-small); color: var(--soft); }
.buy .btn { min-height: 64px; font-size: var(--step-lead); }
.trust { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--step-small); color: var(--soft); animation: fade .8s var(--ease) both .75s; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--dourado) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230f2d28' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

.tome { position: relative; justify-self: center; width: min(100%, 380px); perspective: 1400px; animation: fade 1s var(--ease) both .2s; }
.tome__halo { position: absolute; inset: -12% -18%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(128, 188, 168, 0), rgba(128, 188, 168, .4), rgba(223, 167, 78, .45), rgba(21, 91, 80, 0) 70%); filter: blur(46px); animation: turn 16s linear infinite; }
.tome__peek { position: absolute; width: 78%; aspect-ratio: 1 / 1.414; top: 9%; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); }
.tome__peek img { width: 100%; height: 100%; object-fit: cover; }
.tome__peek--l { left: -14%; transform: rotate(-9deg); animation: peekl 1.2s var(--ease) both .7s; }
.tome__peek--r { right: -16%; transform: rotate(8deg); animation: peekr 1.2s var(--ease) both .85s; }
@keyframes peekl { from { opacity: 0; transform: translateX(30%) rotate(0); } }
@keyframes peekr { from { opacity: 0; transform: translateX(-30%) rotate(0); } }
.tome__book { position: relative; aspect-ratio: 1 / 1.414; transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(4deg); transition: transform .6s var(--ease); animation: tomefloat 7s ease-in-out infinite 1.2s; }
@keyframes tomefloat { 50% { translate: 0 -12px; } }
.tome__front { position: absolute; inset: 0; border-radius: 4px 10px 10px 4px; overflow: hidden; transform: translateZ(14px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.tome__front img { width: 100%; height: 100%; object-fit: cover; }
.tome__front::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 12px; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .08) 60%, rgba(0, 0, 0, .1)); z-index: 1; }
.tome__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .25) 50%, transparent 62%); transform: translateX(-110%); animation: gleam 6s ease-in-out infinite 2s; }
@keyframes gleam { 0%, 55% { transform: translateX(-110%); } 80%, 100% { transform: translateX(110%); } }
.tome__pages { position: absolute; top: 1.2%; bottom: 1.2%; right: 0; width: 28px; transform-origin: right; transform: rotateY(90deg) translateX(14px) translateZ(0); background: repeating-linear-gradient(90deg, #f3efe6 0 2px, #d9d3c6 2px 3px); }
.tome__spine { position: absolute; top: 0; bottom: 0; left: 0; width: 28px; transform-origin: left; transform: rotateY(-90deg) translateX(-14px); background: var(--acc); filter: brightness(.7); border-radius: 3px 0 0 3px; }
.tome__back { position: absolute; inset: 0; border-radius: 4px 10px 10px 4px; transform: translateZ(-14px); background: var(--acc); filter: brightness(.55); }
.tome__seal { position: absolute; z-index: 3; left: -26px; bottom: 12%; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 18px; background: rgba(8, 36, 31, .7); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-family: var(--display); font-weight: 700; line-height: 1.1; animation: pop .8s var(--spring) both 1.2s, bob 6s ease-in-out infinite 2.2s; }
.tome__seal small { display: block; font-family: var(--text); font-weight: 400; font-size: var(--step-small); color: var(--soft); }
.tome__seal i { flex: none; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 2px solid var(--dourado); }
.tome__seal i img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

/* Números rápidos */
.nums { margin: 0; padding: 0 var(--side); list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.nums li { border-radius: 20px; padding: 20px 22px; }
.nums b { position: relative; display: block; font-family: var(--display); font-size: var(--step-sub); line-height: 1; color: var(--dourado); }
.nums span { position: relative; display: block; margin-top: 8px; font-size: var(--step-small); color: var(--soft); line-height: 1.4; }

/* Para quem é */
.for { padding-block: var(--gap); }
.for__list { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.for__list li { border-radius: var(--r); padding: 26px 24px 28px; transition: transform .45s var(--spring), border-color .3s; }
.for__list li:hover { transform: translateY(-8px); border-color: rgba(223, 167, 78, .5); }
.for__list li:nth-child(even) { margin-top: 30px; }
.for__list q { position: relative; display: block; font-family: var(--display); font-weight: 700; font-size: var(--step-lead); line-height: 1.2; quotes: none; }
.for__list q::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 4px; background: var(--dourado); margin-bottom: 18px; }
.for__list p { position: relative; margin-top: 12px; font-size: var(--step-small); color: var(--soft); line-height: 1.55; }
.for__note { margin-top: 40px; max-width: 70ch; color: var(--soft); font-size: var(--step-small); }

/* Folheie: páginas de amostra que viram */
.peek { padding-block: var(--gap); }
.peek__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.flip { position: relative; width: min(100%, 420px); justify-self: center; perspective: 1800px; }
.flip__stage { position: relative; aspect-ratio: 1 / 1.414; transform-style: preserve-3d; }
.flip__stage::before { content: ""; position: absolute; inset: 4% -4% -3% 4%; border-radius: 8px; background: rgba(0, 0, 0, .35); filter: blur(24px); }
.flip__pg { position: absolute; inset: 0; margin: 0; border-radius: 4px 10px 10px 4px; overflow: hidden; background: #f6f3ec; transform-origin: left center; backface-visibility: hidden; box-shadow: 0 26px 60px -26px rgba(0, 0, 0, .85), inset 8px 0 14px -8px rgba(0, 0, 0, .25); transition: transform 1s cubic-bezier(.6, .05, .25, 1), opacity .25s linear .75s, filter 1s; }
.flip__pg img { width: 100%; height: 100%; object-fit: cover; }
.flip__pg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .28)); opacity: 0; transition: opacity 1s; pointer-events: none; }
.flip__pg.gone { transform: rotateY(-168deg); opacity: 0; }
.flip__pg.gone::after { opacity: 1; }
.flip__pg.under { filter: brightness(.82); }
.flip__ctl { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.flip__ctl button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--on-dark); cursor: pointer; font-size: 1.2rem; transition: background-color .25s, color .25s, transform .3s var(--spring); }
.flip__ctl button:hover { background: var(--dourado); color: var(--ink); transform: scale(1.08); }
.flip__dots { display: flex; gap: 8px; }
.flip__dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line); transition: width .4s var(--ease), background-color .3s; }
.flip__dots i.on { width: 26px; background: var(--dourado); }
.flip__cap { margin-top: 14px; text-align: center; font-family: var(--display); font-weight: 600; color: var(--menta); min-height: 1.6em; }
.peek__text p { margin-top: 22px; color: var(--soft); max-width: 48ch; }
.inside { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.inside li { position: relative; padding: 16px 18px 16px 56px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); line-height: 1.45; }
.inside li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 24px; height: 24px; border-radius: 50%; background: rgba(223, 167, 78, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23dfa74e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; border: 1px solid rgba(223, 167, 78, .5); }
.inside b { font-family: var(--display); }

/* Sumário */
.toc { padding-block: var(--gap); }
.toc.tone { background: linear-gradient(160deg, #fbf8f2, #efe9dd); color: var(--ink); --soft: var(--ink-soft); --line: rgba(172, 121, 40, .22); }
.toc.tone h2 { color: var(--dourado-q); }
.toc__list { list-style: none; margin: 48px 0 0; padding: 0; columns: 2; column-gap: clamp(28px, 4vw, 64px); }
.toc__list li { break-inside: avoid; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.toc__list .r { font-family: var(--display); font-weight: 700; font-size: var(--step-small); color: var(--dourado-q); min-width: 2.2em; }
.toc__list .t { font-family: var(--display); font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.toc__list .p { font-size: var(--step-small); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.toc__list li.ch .t { font-weight: 700; }

/* Como você recebe */
.how { padding-block: var(--gap); }
.how__steps { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.how__steps li { position: relative; border-radius: 999px 999px var(--r) var(--r); padding: 92px 26px 30px; text-align: center; counter-increment: s; }
.how__steps li::after { content: counter(s); position: absolute; left: 50%; top: 24px; width: 50px; height: 50px; margin-left: -25px; border-radius: 50%; display: grid; place-items: center; background: var(--dourado); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.how__steps h3 { position: relative; }
.how__steps p { position: relative; margin-top: 12px; color: var(--soft); font-size: var(--step-small); }

/* Autor */
.author { padding-block: var(--gap); }
.author__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.author__pic { position: relative; max-width: 360px; justify-self: center; width: 100%; }
.author__pic::before { content: ""; position: absolute; inset: 7% -7% -5% 7%; border: 1.5px solid var(--dourado); border-radius: 999px 999px var(--r) var(--r); opacity: .7; }
.author__pic div { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--bg-3); }
.author__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.author p.lead { margin-top: 22px; font-family: var(--display); font-weight: 600; font-size: var(--step-lead); line-height: 1.3; max-width: 38ch; }
.author p.lead + p { margin-top: 16px; color: var(--soft); max-width: 54ch; }
.author .facts { grid-template-columns: repeat(3, 1fr); }

/* Coleção */
.combo { padding-block: var(--gap); }
.combo.tone { background: var(--petroleo); --soft: #d3e6df; --line: rgba(255, 255, 255, .18); --glass: rgba(5, 26, 22, .28); }
.combo.tone::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -40%; width: min(56vw, 700px); aspect-ratio: 1; background: var(--dourado); border-radius: 42% 58% 63% 37% / 46% 41% 59% 54%; animation: blob 18s ease-in-out infinite; opacity: .9; }
.combo__grid { display: grid; grid-template-columns: 6fr 5fr; gap: 48px clamp(40px, 6vw, 100px); align-items: center; }
.combo p.sub { margin-top: 20px; color: var(--soft); max-width: 46ch; }
.combo .price { margin-top: 28px; }
.combo .price s { font-size: 1.1rem; color: var(--soft); margin-right: 10px; }
.combo .btn { margin-top: 26px; }
.fan { position: relative; height: clamp(260px, 30vw, 380px); perspective: 1200px; }
.fan img { position: absolute; left: 50%; bottom: 0; width: 44%; aspect-ratio: 1 / 1.414; object-fit: cover; border-radius: 4px 10px 10px 4px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85); transform-origin: 50% 110%; transition: transform .7s var(--spring); }
.fan img:nth-child(1) { transform: translateX(-50%) rotate(-16deg) translateX(-38%); }
.fan img:nth-child(2) { transform: translateX(-50%) translateY(-6%); z-index: 2; }
.fan img:nth-child(3) { transform: translateX(-50%) rotate(16deg) translateX(38%); }
.fan:hover img:nth-child(1) { transform: translateX(-50%) rotate(-22deg) translateX(-48%); }
.fan:hover img:nth-child(3) { transform: translateX(-50%) rotate(22deg) translateX(48%); }
.fan:hover img:nth-child(2) { transform: translateX(-50%) translateY(-12%) scale(1.04); }
.combo .btn--dark { background: var(--dourado); color: var(--ink); }

/* Barra de compra fixa no celular */
.bar { position: fixed; z-index: 35; left: 10px; right: 10px; bottom: 10px; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(5, 26, 22, .82); border: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transform: translateY(140%); transition: transform .5s var(--ease); }
.bar.on { transform: none; }
.bar b { display: block; font-family: var(--display); line-height: 1.1; font-size: .98rem; }
.bar small { color: var(--soft); font-size: .82rem; }
.bar .btn { min-height: 48px; padding: 0 1.2em; font-size: 1rem; flex: none; }

.lp .call h2 { font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4.6rem); }
.lp .call .call__pic .ph img { object-position: 50% 30%; }
.lp .call .call__pic .ph { aspect-ratio: 1 / 1.414; border-radius: 4px 10px 10px 4px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); transform: rotate(4deg); }

@media (prefers-reduced-motion: reduce) {
  .lp-hero h1 .ln > span { transform: none; }
  .flip__pg { transition: none; }
}

@media (max-width: 1000px) {
  .lp-hero, .peek__grid, .author__grid, .combo__grid { grid-template-columns: 1fr; }
  .tome { width: min(68%, 340px); margin: 20px auto 0; order: -1; }
  .nums { grid-template-columns: 1fr 1fr; }
  .for__list { grid-template-columns: 1fr 1fr; }
  .for__list li:nth-child(even) { margin-top: 0; }
  .toc__list { columns: 1; }
  .how__steps { grid-template-columns: 1fr; }
  .how__steps li { border-radius: var(--r); padding: 26px 26px 26px 92px; text-align: left; }
  .how__steps li::after { left: 24px; top: 26px; margin-left: 0; }
  .peek__grid .flip { order: 2; }
}

@media (max-width: 640px) {
  .lp .nav__cta { display: none; }
  .lp-hero { padding-top: 24px; }
  .tome { width: 64%; }
  .tome__seal { left: -14%; padding: 9px 13px; font-size: .92rem; }
  .tome__seal i { width: 30px; height: 30px; }
  .buy { gap: 16px; }
  .buy .btn { width: 100%; }
  .for__list { grid-template-columns: 1fr; }
  .author .facts { grid-template-columns: 1fr 1fr; }
  .bar { display: flex; }
  .foot { padding-bottom: 96px; }
  .combo .btn { width: 100%; }
  .fan img { width: 50%; }
}

/* Ajustes da revisão na prévia */
.author .facts dd a { text-decoration: none; font-size: .78em; overflow-wrap: anywhere; }
.author .facts dd a:hover { color: var(--dourado); }
.lp .call p.note { font-family: var(--text); font-weight: 400; font-size: var(--step-small); }
.combo .price b { display: flex; align-items: baseline; gap: 4px; }
.combo .price s { font-size: 1.1rem; font-weight: 600; }
.combo .price small { vertical-align: 0; }
