/* =====================================================================
   Página de vendas do e-book (usa as cores e fontes de styles.css)
   ===================================================================== */

.promo-bar {
  background: var(--deep); color: #fff; text-align: center;
  font-size: .9375rem; font-weight: 500; padding: .55rem 1rem;
}
.page-vendas .site-header { top: 0; }
.nav-cta-vendas { min-height: 44px; padding: .55rem 1.2rem; font-size: .95rem; }

/* abertura */
.v-hero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); background: var(--paper); overflow: hidden; }
.v-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.v-kicker { color: var(--deep); font-weight: 500; margin-bottom: 1rem; }
.v-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 1.25rem; max-width: 16ch; }
.v-lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 40ch; margin-bottom: 1.75rem; }
.v-price-inline { display: flex; align-items: baseline; gap: .85rem; margin-bottom: 1.25rem; }
.v-old { color: var(--ink-soft); text-decoration: line-through; font-size: 1.1rem; }
.v-now { font-family: var(--serif); font-size: clamp(2.3rem, 1.8rem + 1.6vw, 3rem); color: var(--deep); line-height: 1; }
.v-cta { min-width: 280px; }
.v-assure { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.25rem; }
.v-assure li { display: flex; align-items: center; gap: .4rem; font-size: .875rem; color: var(--ink-soft); }
.v-assure .icon { width: 1rem; height: 1rem; color: var(--sage); stroke-width: 2.2; }

.v-hero-cover { position: relative; margin: 0; justify-self: center; width: min(100%, 380px); }
.v-hero-cover::before {
  content: ""; position: absolute; inset: 8% -18% -6% -18%; z-index: 0;
  background: url("../assets/img/simbolo-verde.png") center / contain no-repeat; opacity: .18;
}
.v-hero-cover img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius-m); transform: rotate(-2deg); box-shadow: 0 40px 70px -30px rgba(53, 59, 56, .55); }
.v-hero-cover .product-badge { z-index: 2; top: -10px; right: -12px; }

/* para quem é */
.v-for { background: var(--sand); }
.v-checks { border-top: 1px solid rgba(83, 124, 119, .25); }
.v-checks li {
  position: relative; padding: 1.35rem 0 1.35rem 2.5rem;
  border-bottom: 1px solid rgba(83, 124, 119, .25);
  font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.4;
}
.v-checks li::before {
  content: ""; position: absolute; left: 0; top: 1.6rem; width: 22px; height: 22px; border-radius: 50%;
  background: var(--deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* números */
.v-stats-band { background: var(--deep); color: #fff; padding: clamp(2.25rem, 5vw, 3.25rem) 0; }
.v-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.v-stats div { padding: 0 1.5rem; }
.v-stats div:first-child { padding-left: 0; }
.v-stats div + div { border-left: 1px solid rgba(255, 255, 255, .25); }
.v-stats dt { font-family: var(--serif); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: var(--mint); }
.v-stats dd { margin: .5rem 0 0; color: rgba(255, 255, 255, .85); font-size: .9375rem; }

/* o que tem dentro */
.v-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.v-cat { padding: 1.5rem 1.25rem 1.5rem 0; }
.v-cat + .v-cat { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.v-cat-n { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--deep); display: block; margin-bottom: .75rem; }
.v-cat h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.v-cat p { color: var(--ink-soft); font-size: .9375rem; margin: 0; }

.v-anatomy {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center;
  background: var(--sand); border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 3rem);
}
.v-anatomy-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.v-anatomy-pages .peek:nth-child(2) { transform: translateY(1.5rem); }
.v-peek-note { grid-column: 1 / -1; text-align: center; font-size: .8125rem; color: var(--ink-soft); margin: 1.5rem 0 0; }
.v-anatomy-text h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 1.25rem; }
.v-anatomy-text .product-list { margin-bottom: 1.5rem; }
.v-note { color: var(--ink-soft); font-size: .9375rem; margin: 0; padding-top: 1.25rem; border-top: 1px solid rgba(83, 124, 119, .25); }

/* autora */
.v-author { background: var(--paper); }
.v-author-grid { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.v-author-photo {
  margin: 0; max-width: 300px;
  border: 3px solid var(--deep); border-radius: 999px 999px var(--radius-l) var(--radius-l);
  overflow: hidden; aspect-ratio: 285 / 439; position: relative;
}
.v-author-photo::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/img/simbolo-verde.png") center 30% / 140% auto no-repeat; opacity: .22;
}
.v-author-photo picture { position: relative; z-index: 1; display: block; height: 100%; }
.v-author-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.v-author h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.v-author p { max-width: 60ch; }
.v-crn { color: var(--deep); font-weight: 500; font-size: .9375rem; }

/* oferta */
.v-buy { background: var(--sand); }
.v-offer {
  max-width: 880px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.75rem, 5vw, 3.5rem); align-items: center;
  background: var(--white); border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 40px 80px -50px rgba(53, 59, 56, .4);
  outline: 2px solid var(--deep); outline-offset: -2px;
}
.v-offer-cover img { width: 100%; border-radius: var(--radius-s); box-shadow: 0 24px 40px -20px rgba(53, 59, 56, .5); }
.v-offer-body h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); margin-bottom: .25rem; }
.v-offer-sub { color: var(--ink-soft); margin-bottom: 1rem; }
.v-offer-promo { display: inline-block; background: var(--mint); color: var(--deep-dark); font-weight: 600; font-size: .875rem; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.v-offer-price { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.v-offer-price .v-now { font-size: clamp(2.8rem, 2.2rem + 2vw, 3.6rem); }
.v-installments { color: var(--ink-soft); font-size: .875rem; margin-top: .25rem; }
.v-offer .btn-buy { width: 100%; }

.v-guarantee {
  max-width: 880px; margin: 2rem auto 0; display: flex; gap: 1.5rem; align-items: center;
  padding: 1.5rem 0; border-top: 1px solid rgba(83, 124, 119, .25);
}
.v-seal {
  flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%;
  border: 2px solid var(--deep); color: var(--deep);
  display: grid; place-items: center; align-content: center;
  font-family: var(--serif); font-size: 2rem; line-height: .9;
}
.v-seal small { font-family: var(--sans); font-size: .75rem; font-weight: 600; }
.v-guarantee h3 { margin-bottom: .3rem; }
.v-guarantee p { margin: 0; color: var(--ink-soft); }

/* fechamento */
.v-final { background: var(--deep); color: #fff; text-align: center; position: relative; overflow: hidden; }
.v-final::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/img/simbolo-branco.png") 0 0 / 120px auto repeat; opacity: .045;
}
.v-final-inner { position: relative; max-width: 720px; }
.v-final h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
.v-final p { color: rgba(255, 255, 255, .85); font-size: 1.125rem; }
.v-price-light { justify-content: center; }
.v-price-light .v-now { color: #fff; }
.v-price-light .v-old { color: rgba(255, 255, 255, .7); }
.v-final-consult { margin: 1.75rem 0 0; font-size: 1rem !important; }
.v-final-consult a { color: #fff; }

/* barra fixa de compra */
.sticky-buy .sticky-price { display: flex; flex-direction: column; justify-content: center; padding: 0 .75rem 0 1rem; line-height: 1.1; }
.sticky-buy .sticky-price s { font-size: .75rem; color: var(--ink-soft); }
.sticky-buy .sticky-price strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--deep); }

@media (max-width: 1024px) {
  .v-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-cat, .v-cat + .v-cat { padding: 1.25rem 1rem 1.25rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .v-cat:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
  .v-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .v-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 880px) {
  .v-hero-grid { grid-template-columns: 1fr; }
  .v-hero-cover { order: -1; width: min(56%, 230px); }
  .v-hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .v-cta { width: 100%; min-width: 0; }
  .v-anatomy, .v-author-grid, .v-offer { grid-template-columns: 1fr; }
  .v-author-photo { max-width: 220px; }
  .v-offer-cover { max-width: 180px; }
  .nav-cta-vendas { display: none; }
}

@media (max-width: 600px) {
  .v-stats div { padding: 0 .9rem; }
  .v-stats dd { font-size: .8125rem; }
  .v-cat-n { font-size: 2.1rem; }
  .v-anatomy { padding: 1.25rem; }
  .v-guarantee { align-items: flex-start; }
  .v-seal { width: 68px; height: 68px; font-size: 1.6rem; }
}
