/* Camada compartilhada das páginas de venda dos eBooks. */
body.sales-page { overflow-x: hidden; }
body.sales-page .ebook-hero {
  max-width: 1120px;
  min-height: 610px;
  padding: 64px 40px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  grid-template-rows: repeat(6, auto);
  column-gap: 56px;
  align-content: center;
  text-align: left;
}
body.sales-page .ebook-hero > :not(.ebook-hero-img) { grid-column: 1; }
body.sales-page .ebook-hero-img {
  grid-column: 2;
  grid-row: 1 / 7;
  align-self: center;
  margin: 0;
  border-radius: 24px;
}
body.sales-page .ebook-badge,
body.sales-page .ebook-kicker,
body.sales-page .ebook-sub { margin-left: 0; margin-right: 0; }
body.sales-page .ebook-price-box { justify-self: start; text-align: left; }
body.sales-page .ebook-cta-btn { margin-left: 0; margin-right: 0; min-height: 52px; }
body.sales-page .ebook-section { scroll-margin-top: 82px; }
body.sales-page .ebook-section p,
body.sales-page .beneficios-list li { font-size: 16px; }
body.sales-page .ebook-cta-btn:focus-visible,
body.sales-page .btn-white:focus-visible { outline: 3px solid var(--oliva); outline-offset: 4px; }
body.sales-page .ebook-hero-img img { aspect-ratio: 1376 / 768; height: auto; object-fit: cover; }
body.sales-page .autoridade-card img { aspect-ratio: 1; }
body.sales-page .faq-item h3 { line-height: 1.4; }
body.sales-page .checkout-status {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--texto-lgt);
  font-size: 12px;
  text-align: center;
}
.mobile-buy-bar { display: none; }

@media (max-width: 860px) {
  body.sales-page .ebook-hero {
    min-height: 0;
    padding: 40px 24px 44px;
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  body.sales-page .ebook-badge,
  body.sales-page .ebook-kicker,
  body.sales-page .ebook-sub { margin-left: auto; margin-right: auto; }
  body.sales-page .ebook-price-box { align-self: center; text-align: center; }
  body.sales-page .ebook-cta-btn { margin-left: auto; margin-right: auto; }
  body.sales-page .ebook-hero-img { order: 7; width: min(100%, 620px); margin-top: 28px; }
}

@media (max-width: 700px) {
  body.sales-page { padding-bottom: var(--mobile-buy-space, 0); }
  body.sales-page .nav { height: 58px; padding: 0 18px; }
  body.sales-page .nav-logo img { height: 44px; }
  body.sales-page .ebook-hero { padding: 28px 18px 34px; }
  body.sales-page .ebook-badge { margin-bottom: 14px; font-size: 10px; }
  body.sales-page .ebook-kicker { font-size: 15px; }
  body.sales-page .ebook-hero h1 { font-size: clamp(30px, 9vw, 38px); }
  body.sales-page .ebook-sub { font-size: 15px; margin-bottom: 22px; }
  body.sales-page .ebook-price-box { width: 100%; padding: 16px 20px; }
  body.sales-page .ebook-price { font-size: 30px; }
  body.sales-page .ebook-cta-btn { max-width: none; padding: 15px 18px; }
  body.sales-page .ebook-hero-img { margin-top: 24px; border-radius: 16px; box-shadow: none; }
  body.sales-page .ebook-section { padding: 30px 20px; }
  body.sales-page .ebook-section h2 { font-size: 22px; }
  body.sales-page .ebook-section p,
  body.sales-page .beneficios-list li { font-size: 15.5px; line-height: 1.7; }
  body.sales-page .empatia-box,
  body.sales-page .autoridade-card,
  body.sales-page .guarantee-band { padding: 22px 20px; border-radius: 12px; }
  body.sales-page .autoridade-card { flex-direction: column; align-items: flex-start; }
  body.sales-page .autoridade-card img { width: 76px; height: 76px; }
  body.sales-page .chapter-list li { align-items: flex-start; padding: 13px 14px; }
  body.sales-page .cta-band { padding: 44px 20px; }
  body.sales-page .btn-white { display: block; width: 100%; max-width: 360px; margin: 0 auto; }
  body.sales-page.has-mobile-buy { --mobile-buy-space: 74px; }
  body.sales-page.has-mobile-buy .mobile-buy-bar {
    display: block;
    position: fixed;
    z-index: 200;
    left: 0; right: 0; bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(254,250,247,.96);
    border-top: 1px solid rgba(45,31,14,.12);
    backdrop-filter: blur(10px);
  }
  .mobile-buy-bar a {
    display: block;
    max-width: 460px;
    margin: 0 auto;
    padding: 13px 18px;
    border-radius: 999px;
    background: var(--coral);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sales-page *, body.sales-page *::before, body.sales-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
