.ebook-band { padding: clamp(70px, 7vw, 105px) max(6%, calc((100vw - 1350px) / 2)); background: #d6dcac; color: #4c311c; }
.ebook-band-inner { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); gap: clamp(45px, 7vw, 110px); align-items: center; max-width: 1350px; margin: auto; }
.ebook-visual { position: relative; min-height: 360px; display: grid; place-items: center; }
.ebook-visual::before { content: ''; position: absolute; width: min(90%, 330px); aspect-ratio: 1; border: 1px solid #4c311c66; border-radius: 50%; }
.ebook-art { position: relative; z-index: 1; display: block; width: min(100%, 380px); height: 360px; object-fit: contain; }
.ebook-label { display: block; margin: 0 0 18px; font: 700 .8rem/1.5 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.ebook-band-content { max-width: 680px; }
.ebook-band h2 { max-width: 650px; margin: 0 0 22px; font-size: clamp(2.3rem, 3.5vw, 3.8rem); }
.ebook-band-content > p:not(.ebook-label), .ebook-page-intro { max-width: 590px; font-size: 1.08rem; line-height: 1.7; }
.ebook-form { margin: 26px 0 0; max-width: 650px; }
.ebook-form fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.ebook-form label { display: block; margin-bottom: 8px; font: 700 .9rem/1.5 Arial, sans-serif; }
.ebook-form-row { display: flex; gap: 10px; }
.ebook-form input { flex: 1 1 200px; min-width: 0; min-height: 52px; border: 1px solid #786955; border-radius: 3px; padding: 14px 16px; background: #faf8ef; color: #4c311c; font: 1rem/1.4 Arial, sans-serif; }
.ebook-form input:disabled { opacity: 1; -webkit-text-fill-color: #786955; cursor: not-allowed; }
.ebook-form button { flex: 0 0 auto; min-height: 52px; padding: 12px 20px; border: 0; border-radius: 3px; background: #4c311c; color: #f4f0e6; font: 700 .9rem/1.4 Arial, sans-serif; }
.ebook-form button:disabled { opacity: .7; cursor: not-allowed; }
.ebook-form-note { margin: 10px 0 0; font-size: .92rem; line-height: 1.5; }
.ebook-more { display: inline-block; margin-top: 22px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font: 700 .9rem/1.5 Arial, sans-serif; }
.ebook-more:focus-visible, .ebook-page a:focus-visible { outline: 3px solid #4c311c; outline-offset: 5px; }
.ebook-page { background: #f4f0e6; }
.ebook-page-hero { padding: clamp(75px, 8vw, 120px) max(6%, calc((100vw - 1350px) / 2)); background: #f4f0e6; }
.ebook-page-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(45px, 8vw, 120px); max-width: 1350px; margin: auto; }
.ebook-page-hero h1 { max-width: 740px; margin: 0 0 24px; font-size: clamp(3rem, 5.1vw, 5.3rem); line-height: 1.12; }
.ebook-page-hero .ebook-visual { min-height: 330px; }
.ebook-page-link { margin-top: 12px; }
.ebook-library { padding: clamp(75px, 8vw, 110px) max(6%, calc((100vw - 1350px) / 2)); background: #eae8da; }
.ebook-library-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); max-width: 1350px; margin: auto; align-items: start; }
.ebook-library h2 { max-width: 500px; margin-bottom: 20px; }
.ebook-library p { max-width: 500px; font-size: 1.05rem; }
.ebook-coming-card { border: 1px solid #a69683; padding: clamp(30px, 4vw, 55px); background: #f4f0e6; border-radius: 0 70px 0 0; }
.ebook-coming-card h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 0 0 18px; }
.ebook-coming-card p { margin-bottom: 0; }
.ebook-coming-label { display: inline-block; margin-top: 22px; padding: 8px 13px; border: 1px solid #8a7b68; font: 700 .8rem/1.4 Arial, sans-serif; letter-spacing: .06em; }
@media (min-width: 1151px) and (max-width: 1350px) {
  .header { padding-inline: 4%; gap: 10px; }
  .header .logo { width: clamp(200px, 17vw, 230px); }
  .header nav { gap: 10px; font-size: 14px; }
  .header .nav-cta { padding-inline: 16px; }
}
@media (max-width: 767px) {
  .ebook-band { padding: 64px 24px; }
  .ebook-band-inner, .ebook-page-hero-inner, .ebook-library-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .ebook-visual, .ebook-page-hero .ebook-visual { min-height: 260px; }
  .ebook-art { width: min(100%, 310px); height: 280px; }
  .ebook-band h2 { font-size: clamp(2.1rem, 8vw, 2.8rem); }
  .ebook-band-content > p:not(.ebook-label), .ebook-page-intro { font-size: 1rem; }
  .ebook-form-row { flex-direction: column; }
  .ebook-form input { flex: auto; width: 100%; }
  .ebook-form button { width: 100%; }
  .ebook-page-hero, .ebook-library { padding: 64px 24px; }
  .ebook-page-hero h1 { font-size: clamp(2.6rem, 10vw, 3.5rem); }
  .ebook-page-hero .ebook-visual { order: -1; }
  .ebook-coming-card { border-radius: 0 50px 0 0; }
}

/* Apresentação fiel da capa do e-book, com lombada e páginas. */
.ebook-book { position: relative; z-index: 1; width: min(64%, 235px); aspect-ratio: 595 / 842; transform: perspective(900px) rotateY(-7deg); box-shadow: 14px 17px 22px rgba(50, 35, 20, .22); }
.ebook-book::before { content: ''; position: absolute; top: 1%; bottom: 1%; left: -9px; width: 9px; background: linear-gradient(90deg, #5d493c, #b3a394); transform: skewY(-5deg); transform-origin: right; }
.ebook-book::after { content: ''; position: absolute; top: 1%; bottom: 1%; right: -7px; width: 7px; background: repeating-linear-gradient(0deg, #ded7c9 0 1px, #faf7ec 1px 3px); transform: skewY(5deg); transform-origin: left; }
.ebook-book img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .ebook-book { width: min(58%, 190px); } }
