/* Page livre — extension volontairement isolée du socle AltMode Studio. */

.book-page {
  --book-teal: #23838b;
  --book-teal-deep: #166d75;
  --book-cream: #f7f5ef;
  background: var(--paper);
}

.book-page .book-nav .nav-inner { justify-content: flex-start; }

.book-hero {
  padding: clamp(116px, 11vw, 150px) 0 clamp(64px, 7vw, 96px);
  background:
    radial-gradient(circle at 13% 22%, rgba(191, 217, 207, .48), transparent 31rem),
    linear-gradient(145deg, var(--paper) 0%, #edf3f2 100%);
  border-bottom: 1px solid var(--line);
}

.book-hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(410px, 1.22fr);
  align-items: center;
  gap: clamp(58px, 9vw, 126px);
  max-width: 1120px;
}

.book-cover-wrap { margin: 0; perspective: 1000px; }
.book-cover {
  display: block;
  width: min(100%, 430px);
  height: auto;
  border-radius: 2px 7px 7px 2px;
  box-shadow:
    -7px 10px 0 rgba(28, 123, 132, .12),
    0 30px 70px rgba(28, 32, 36, .22),
    0 3px 12px rgba(28, 32, 36, .16);
  transform: rotateY(1.5deg);
}

.book-hero-copy { max-width: 660px; }
.book-hero-copy .eyebrow { margin-bottom: 23px; }
.book-hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.3rem, 4.3vw, 5.45rem);
  color: var(--ink);
  letter-spacing: -.058em;
}
.book-hero-copy h1 em { color: var(--book-teal-deep); }
.book-subtitle {
  max-width: 35ch;
  margin-top: 30px;
  color: var(--slate);
  font-size: var(--text-lead);
  line-height: 1.4;
}
.book-intro {
  max-width: 41rem;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: var(--text-body);
  line-height: 1.7;
}
.book-intro p + p { margin-top: 18px; }
.book-intro-signature {
  color: var(--book-teal-deep);
  font-weight: 600;
}

.book-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  margin-top: 34px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: .07em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.book-cta:hover,
.book-cta:focus-visible {
  border-color: var(--book-teal-deep);
  background: var(--book-teal-deep);
  transform: translateY(-2px);
}
.book-questions { padding: clamp(56px, 6vw, 82px) 0; background: var(--book-cream); }
.book-questions-intro {
  display: grid;
  grid-template-columns: minmax(150px, .48fr) 1.52fr;
  align-items: start;
  gap: clamp(28px, 5vw, 70px);
  margin-bottom: clamp(30px, 4vw, 46px);
}
.book-questions-lead { max-width: 56rem; }
.book-questions-lead h2 { max-width: 24ch; }
.book-questions-lead p { max-width: 46rem; margin-top: 26px; color: var(--slate); line-height: 1.72; }
.book-question-list { border-top: 1px solid var(--line); }
.book-question-list details { border-bottom: 1px solid var(--line); }
.book-question-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(20px, 2.5vw, 29px) 0;
  color: var(--book-teal-deep);
  font-family: var(--sans);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  cursor: pointer;
  list-style: none;
}
.book-question-list summary::-webkit-details-marker { display: none; }
.book-question-list summary:focus-visible { outline: 2px solid var(--book-teal-deep); outline-offset: 8px; }
.book-question-toggle {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(22, 109, 117, .35);
  border-radius: 50%;
}
.book-question-toggle::before,
.book-question-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: var(--book-teal-deep);
  transform: translate(-50%, -50%);
  transition: transform .18s ease;
}
.book-question-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.book-question-list details[open] .book-question-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.book-question-answer {
  padding: 0 52px clamp(24px, 3vw, 34px) clamp(42px, 7vw, 104px);
}
.book-question-answer p { max-width: 48rem; color: var(--slate); line-height: 1.68; }

.book-author { padding: clamp(68px, 8vw, 104px) 0; background: var(--paper); }
.book-author-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(52px, 10vw, 142px);
}
.book-author-grid .eyebrow { margin-bottom: 19px; }
.book-author-grid h2 { max-width: 9ch; }
.book-author-copy { max-width: 44rem; }
.book-author-copy p { line-height: 1.72; }
.book-author-copy p + p { margin-top: 24px; }
.book-author-link {
  display: inline-block;
  margin-top: 28px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--book-teal-deep);
  font-family: var(--mono);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}

.book-closing { padding: clamp(70px, 8vw, 104px) 0; background: var(--ink); color: var(--white); }
.book-closing-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(52px, 10vw, 142px);
  align-items: end;
}
.book-closing .eyebrow { margin-bottom: 22px; color: var(--celadon); }
.book-closing h2 { max-width: 15ch; }
.book-closing-action { max-width: 35rem; }
.book-closing-action p { color: rgba(255, 255, 255, .72); line-height: 1.65; }
.book-cta-light { border-color: var(--white); background: var(--white); color: var(--ink); }
.book-cta-light:hover,
.book-cta-light:focus-visible { border-color: var(--celadon); background: var(--celadon); color: var(--ink); }

.book-footer { padding: 25px 0; background: #111518; color: rgba(255, 255, 255, .56); }
.book-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
}

@media (max-width: 900px) {
  .book-hero-grid { grid-template-columns: minmax(230px, .68fr) 1.32fr; gap: 48px; }
}

@media (max-width: 700px) {
  .book-page .container { width: min(100% - 36px, 1220px); }
  .book-nav .nav-inner { min-height: 68px; }
  .book-nav .brand-glyph { width: 54px; height: 38px; }
  .book-nav .brand-name { font-size: 1.08rem; }
  .book-nav .brand-tagline { font-size: .78rem; }
  .book-hero { padding-top: 96px; }
  .book-hero-grid,
  .book-questions-intro,
  .book-author-grid,
  .book-closing-grid { grid-template-columns: 1fr; }
  .book-cover-wrap { display: grid; place-items: center; }
  .book-cover { width: min(62vw, 280px); }
  .book-hero-copy { padding-top: 8px; }
  .book-hero-copy h1 { font-size: clamp(2.8rem, 13vw, 3.8rem); }
  .book-questions-intro { gap: 22px; }
  .book-questions-lead p { margin-top: 20px; }
  .book-question-list summary { gap: 18px; }
  .book-question-answer { padding-left: 0; padding-right: 46px; }
  .book-author-grid,
  .book-closing-grid { gap: 42px; }
  .book-footer-inner { flex-direction: column; gap: 8px; }
}

@media (max-width: 420px) {
  .book-hero-copy h1 { font-size: 2.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .book-cta { transition: none; }
  .book-question-toggle::before,
  .book-question-toggle::after { transition: none; }
  .book-cta:hover,
  .book-cta:focus-visible { transform: none; }
}
