/* style2.css — Página Saiba Mais / Meus Livros */

:root {
  --primary:   #0a192f;
  --secondary: #c5a059;
  --text-dark: #1a1a1a;
  --text-light: #fff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Open Sans', sans-serif; line-height: 1.8; color: var(--text-dark); background: #f0f2f5; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(90deg, var(--primary), #1a3a5a);
  color: #fff;
  padding: 38px 5%;
  text-align: center;
}

.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 7px;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  text-transform: uppercase;
}

/* ===== SEÇÃO DE LIVRO ===== */
.book-section {
  padding: 70px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 70vh;
}

/* fallback caso parallax não funcione bem no mobile */
@media (max-width: 768px) {
  .book-section { background-attachment: scroll; min-height: auto; padding: 50px 5%; }
}

.bg-1, .bg-2, .bg-3 { background-image: url('palms.jpg'); }

.book-container {
  display: flex;
  max-width: 1100px;
  width: 100%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 28px 55px rgba(0,0,0,.28),
    inset 0 0 28px rgba(255,255,255,.65),
    inset 2px 2px 5px rgba(255,255,255,1),
    inset -2px -2px 5px rgba(0,0,0,.08);
  border-top: 2px solid rgba(255,255,255,.8);
  border-left: 2px solid rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.2);
  border-right:  1px solid rgba(255,255,255,.2);
}

.row-reverse { flex-direction: row-reverse; }

.book-image-side {
  flex: 1;
  padding: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,.03);
}

.book-image-side img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 8px 8px 28px rgba(0,0,0,.28);
}

.book-info-side {
  flex: 1.5;
  padding: clamp(30px, 5vw, 60px);
}

.book-info-side h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: 10px;
}

.gold-divider { width: 56px; height: 3px; background: var(--secondary); margin-bottom: 24px; }

.book-description {
  font-size: .98rem;
  color: #111;
  text-align: justify;
  margin-bottom: 28px;
}

.btn-buy {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 38px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  border: 2px solid var(--primary);
  transition: all .3s;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-buy:hover { background: var(--secondary); border-color: var(--secondary); color: var(--primary); transform: translateY(-3px); }

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 860px) {
  .book-container     { flex-direction: column !important; }
  .book-image-side    { padding: 28px; }
  .book-image-side img { max-height: 280px; object-fit: contain; }
  .book-info-side     { padding: 28px; }
}

@media (max-width: 480px) {
  .book-info-side h2 { font-size: 1.2rem; }
  .btn-buy           { width: 100%; text-align: center; }
}