/* Bônus reais: capa e folhas em HTML/CSS, com a composição da referência. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

#bonuses {
  padding: 64px 0 58px;
  background: radial-gradient(ellipse at 12% 0%, #e7eee6, transparent 48%),
    radial-gradient(ellipse at 95% 90%, #f5ead8, transparent 48%), #f5f1ec;
}
#bonuses .bonus-badge { margin-bottom: 16px; }
#bonuses .tag-gold {
  padding: 7px 17px;
  color: #684c0c;
  background: linear-gradient(110deg, #ffe19b, #f2cc70);
  border: 0;
  box-shadow: 0 5px 18px #ddb95638;
}
#bonuses .section-headline { max-width: 850px; margin-bottom: 14px; }
#bonuses .section-sub { max-width: 650px; margin-bottom: 40px; }
#bonuses .bonus-grid {
  display: grid;
  max-width: 880px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}
#bonuses .bonus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 23px 25px 24px;
  border: 1px solid #209b891f;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 22px #24332e0e;
  text-align: center;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
#bonuses .bonus-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #24332e14; }
#bonuses .bonus-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 17px 17px 0 0;
  background: linear-gradient(90deg, #209b89, #eac464);
}
#bonuses .bonus-label {
  position: absolute;
  z-index: 5;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(110deg, #e8bf4c, #cba22e);
  color: #fff;
  box-shadow: 0 4px 10px #b2953338;
  font-size: 10px;
  letter-spacing: .1em;
  white-space: nowrap;
}
.bonus-visual {
  position: relative;
  flex: 0 0 auto;
  width: 258px;
  height: 220px;
  margin: 0 auto 10px;
}
.bonus-book {
  position: absolute;
  z-index: 3;
  left: 22px;
  top: 5px;
  width: 140px;
  filter: drop-shadow(0 12px 9px #293b2b2e);
  transform: rotate(-3deg);
  transition: transform .25s ease;
}
.bonus-book-cover {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  border: 1px solid #2f4b3c38;
  border-radius: 1px 3px 3px 1px;
  transform: perspective(800px) rotateY(-8deg);
  transform-origin: left center;
}
.bonus-book::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 3px -3px -3px 1px;
  background: repeating-linear-gradient(0deg, #fffdf7 0 1px, #dadbd2 1px 2px);
  border: 1px solid #c7cabe;
  border-radius: 2px;
  transform: perspective(800px) rotateY(-8deg);
  transform-origin: left center;
}
.bonus-book-spine {
  position: absolute;
  z-index: 4;
  top: 1px;
  bottom: 0;
  left: -7px;
  width: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  background: linear-gradient(90deg, #0d6d62, #249b8c 75%, #145c51);
  color: #fffbe9;
  font-size: 5px;
  font-weight: 700;
  letter-spacing: .07em;
  transform: skewY(-10deg);
}
.bonus-card--amber .bonus-book-spine { background: linear-gradient(90deg, #99712e, #d4b76a 75%, #9a752b); }
.bonus-card--terracotta .bonus-book-spine { background: linear-gradient(90deg, #923e25, #cf7952 75%, #98482e); }
.bonus-sheet {
  position: absolute;
  width: 108px;
  height: auto;
  padding: 1px;
  background: #fff;
  border: 1px solid #dee5df;
  border-radius: 2px;
  box-shadow: 0 6px 13px #253f2a20;
}
.bonus-sheet--back { z-index: 0; left: 132px; top: 28px; transform: rotate(11deg); }
.bonus-sheet--front { z-index: 1; left: 126px; top: 67px; transform: rotate(3deg); }
#bonuses .bonus-card:hover .bonus-book { transform: translateY(-3px) rotate(-1deg); }
#bonuses .bonus-body { display: flex; flex-direction: column; flex: 1; width: 100%; max-width: 650px; align-items: center; }
#bonuses .bonus-body .bonus-meta {
  margin-bottom: 5px;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}
#bonuses .bonus-body h3 {
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
}
#bonuses .bonus-body p:not(.bonus-meta) { font-size: 13px; line-height: 1.65; margin-bottom: 12px; }
.bonus-preview-link {
  margin-top: auto;
  padding: 5px 4px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.bonus-preview-link span[aria-hidden] { display: inline-block; padding-left: 3px; text-decoration: none; }
.bonus-preview-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; border-radius: 3px; }
#bonuses .bonus-price { display: flex; align-items: center; justify-content: center; margin-top: 12px; gap: 8px; }
.bonus-included { color: var(--muted); font-size: 11px; }
#bonuses .bonus-price .free { padding: 3px 9px; font-size: 10px; background: #e7f5ed; color: #268157; border-radius: 999px; font-weight: 800; letter-spacing: .06em; }
#bonuses .bonus-card--wide { grid-column: 1 / -1; }
.bonus-delivery-note { margin: 24px auto 0; color: var(--muted); text-align: center; font-size: 12px; }

/* Resumo da oferta composto com as mesmas capas e páginas reais. */
.single-offer-media .offer-kit-showcase { position: relative; width: 100%; aspect-ratio: .83; margin: 8px 0 27px; }
.single-offer-media .offer-kit-showcase img { position: absolute; max-height: none; object-fit: contain; height: auto; }
.single-offer-media .offer-main-cover {
  z-index: 2;
  top: 1%;
  left: 27%;
  width: 46%;
  transform: perspective(900px) rotateY(-8deg) rotate(-2deg);
  border-radius: 2px;
  box-shadow: -4px 3px 0 #185d4d, 2px 5px 0 #dddccc;
}
.single-offer-media .offer-kit-sheet { width: 32%; top: 13%; box-shadow: 0 8px 16px #194b3526; background: #fff; border: 1px solid #d3dfd8; }
.single-offer-media .offer-kit-sheet--left { left: 5%; transform: rotate(-12deg); }
.single-offer-media .offer-kit-sheet--right { right: 5%; transform: rotate(11deg); }
.offer-bonus-covers { position: absolute; z-index: 3; top: 60%; left: 6%; right: 6%; display: flex; align-items: flex-start; justify-content: center; gap: 5%; }
.single-offer-media .offer-bonus-covers img { position: relative; width: 29%; border-radius: 2px; border: 1px solid #c3cec1; box-shadow: -3px 3px 0 #c9c9b3, 0 9px 15px #123e3029; }
.single-offer-media .offer-bonus-covers img:nth-child(1) { transform: rotate(-5deg); }
.single-offer-media .offer-bonus-covers img:nth-child(2) { margin-top: 5%; }
.single-offer-media .offer-bonus-covers img:nth-child(3) { transform: rotate(5deg); }

.bonus-dialog-pages { max-height: min(58vh, 550px); overflow-y: auto; overscroll-behavior: contain; margin: 22px 0 12px; padding: 2px 4px; }
.bonus-dialog-pages figure + figure { margin-top: 20px; }
.bonus-dialog-pages img { width: 100%; height: auto; border: 1px solid #e3e8df; border-radius: 3px; }
.bonus-dialog-pages figcaption { padding: 8px 0 3px; color: var(--teal-dark); font-size: 12px; font-weight: 600; }

@media (max-width: 700px) {
  #bonuses { padding: 50px 0 40px; }
  #bonuses .section-sub { margin-bottom: 33px; }
  #bonuses .bonus-grid { grid-template-columns: 1fr; max-width: 440px; gap: 28px; }
  #bonuses .bonus-card { padding: 23px 20px 22px; }
  #bonuses .bonus-body h3 { font-size: 16px; }
  #bonuses .bonus-body p:not(.bonus-meta) { font-size: 13px; }
  .bonus-dialog-pages { max-height: 52vh; }
}
@media (prefers-reduced-motion: reduce) {
  #bonuses .bonus-card, .bonus-book { transition: none; }
  #bonuses .bonus-card:hover, #bonuses .bonus-card:hover .bonus-book { transform: none; }
}
