/* Página do livro — ficha técnica, transcrição do áudio e blocos de texto para leitores sem JavaScript (02/10/2026).
   Cores e fontes copiadas de book-editorial-update-20260901.css (mesma seção "Veja por dentro do diário"). */

/* ---------- Ficha técnica ---------- */
.book-spec-card {
  position: relative;
  max-width: 1120px;
  margin: 0 auto 72px;
  padding: clamp(42px, 4.6vw, 62px) clamp(26px, 5vw, 68px) clamp(30px, 4vw, 52px);
  border: 1px solid rgba(100, 51, 108, .13);
  background: #fff;
  box-shadow: 12px 14px 0 rgba(204, 185, 218, .55), 0 18px 42px rgba(79, 60, 81, .08);
  color: #4f4652;
  font-family: Nunito, "Segoe UI", sans-serif;
}

/* fitas washi rosa e lilás nos cantos (mesmo padrão listrado da .washi-strip do site) */
.book-spec-card::before,
.book-spec-card::after {
  content: "";
  position: absolute;
  top: -15px;
  width: 128px;
  height: 31px;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(79, 60, 81, .1);
}

.book-spec-card::before {
  left: clamp(18px, 6vw, 84px);
  transform: rotate(-4deg);
  background: repeating-linear-gradient(45deg, rgba(248, 201, 208, .95) 0 9px, rgba(255, 255, 255, .55) 9px 14px);
}

.book-spec-card::after {
  right: clamp(18px, 6vw, 84px);
  transform: rotate(3deg);
  background: repeating-linear-gradient(45deg, rgba(220, 209, 232, .98) 0 9px, rgba(255, 255, 255, .55) 9px 14px);
}

.book-spec-card h3 {
  margin: 0 0 clamp(14px, 2vw, 22px);
  color: #64336c;
  font-family: "Hello Goodbye", "Segoe Print", cursive;
  font-size: clamp(40px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.book-spec-card h3::after {
  content: "✿";
  content: "✿" / "";
  display: block;
  margin-top: 12px;
  color: #ef7f7d;
  font-family: Nunito, "Segoe UI Symbol", sans-serif;
  font-size: 22px;
  line-height: 1;
}

.book-spec-list {
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: clamp(32px, 5vw, 76px);
  column-rule: 1.5px dotted rgba(167, 110, 159, .38);
}

.book-spec-item {
  margin: 0;
  padding: 15px 0 14px;
  border-bottom: 1.5px dashed rgba(167, 110, 159, .34);
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}

.book-spec-item:last-child {
  border-bottom: 0;
}

.book-spec-item dt {
  margin: 0 0 5px;
  color: #9a5f92;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.book-spec-item dd {
  margin: 0;
  color: #4f4652;
  font-size: clamp(17px, 1.45vw, 19px);
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* ---------- Transcrição do áudio ---------- */
.diary-transcript {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: clamp(20px, 2.6vw, 30px) clamp(20px, 3vw, 36px);
  border: 1.5px dashed rgba(167, 110, 159, .5);
  background: #fff;
  box-shadow: 6px 8px 0 rgba(244, 217, 221, .85);
  color: #4f4652;
  font-family: Nunito, "Segoe UI", sans-serif;
}

.diary-transcript-intro {
  margin: 0 0 18px;
  color: #4f4652;
  font-size: clamp(17px, 1.45vw, 19px);
  font-weight: 700;
  line-height: 1.6;
}

.diary-transcript details {
  margin: 0;
}

.diary-transcript summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border: 2px solid #64336c;
  border-radius: 999px;
  color: #64336c;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.2;
  list-style: none;
  user-select: none;
  transition: background-color .18s ease, color .18s ease;
}

.diary-transcript summary::-webkit-details-marker {
  display: none;
}

.diary-transcript summary::marker {
  content: "";
}

.diary-transcript summary::after {
  content: "+";
  content: "+" / "";
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.diary-transcript details[open] > summary::after {
  content: "−";
  content: "−" / "";
}

.diary-transcript details[open] > summary {
  color: #fff;
  background: #64336c;
}

@media (hover: hover) {
  .diary-transcript summary:hover {
    color: #fff;
    background: #64336c;
  }
}

.diary-transcript summary:focus-visible {
  outline: 3px solid #64336c;
  outline-offset: 3px;
}

.diary-transcript-body {
  max-width: 820px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1.5px dashed rgba(167, 110, 159, .4);
}

.diary-transcript-body h4 {
  margin: 28px 0 10px;
  color: #9a5f92;
  font-family: Nunito, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.diary-transcript-body h4:first-child {
  margin-top: 0;
}

.diary-transcript-body p {
  margin: 0 0 14px;
  color: #4f4652;
  font-size: 17px;
  line-height: 1.75;
}

.diary-transcript-body p.diary-transcript-title {
  color: #64336c;
  font-weight: 800;
}

.diary-transcript-body p.diary-transcript-sign {
  color: #64336c;
  font-weight: 700;
}

.diary-transcript-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.diary-transcript-body li {
  margin: 0 0 6px;
  color: #4f4652;
  font-size: 17px;
  line-height: 1.6;
}

.diary-transcript-body li strong {
  color: #64336c;
  font-weight: 800;
}

/* ---------- Cópia estática (para quem lê o HTML sem executar JavaScript) ---------- */
.seo-static-wrap {
  padding: clamp(60px, 7vw, 96px) max(7vw, 28px) 24px;
  background: #fffdf8;
}

.seo-static-wrap + .seo-static-wrap {
  padding-top: 0;
  padding-bottom: clamp(60px, 7vw, 96px);
}

.seo-static-wrap .diary-transcript {
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .book-spec-card {
    max-width: 760px;
  }

  .seo-static-wrap .diary-transcript {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .book-spec-list {
    columns: 1;
    column-rule: 0;
  }
}

@media (max-width: 680px) {
  .book-spec-card {
    margin-bottom: 52px;
    padding: 40px 22px 24px;
    box-shadow: 8px 10px 0 rgba(204, 185, 218, .55), 0 14px 32px rgba(79, 60, 81, .08);
  }

  .book-spec-card::before,
  .book-spec-card::after {
    width: 96px;
  }

  .book-spec-item dd {
    font-size: 17px;
  }

  .diary-transcript {
    padding: 18px 16px;
  }

  .diary-transcript summary {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .diary-transcript-body p,
  .diary-transcript-body li {
    font-size: 16px;
  }

  .seo-static-wrap {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 380px) {
  .diary-transcript {
    padding: 16px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .diary-transcript summary {
    transition: none;
  }
}
