/* Section livre "10 Years in Movement" - campagne temporaire (cf. inc/book.php) */

.book {
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.book__inner {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.book--no-cover .book__inner {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

/* Le livre comme objet : légère rotation en perspective, redressé au survol */
.book__visual {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.book__cover {
  width: 100%;
  max-width: 520px;
  height: auto;
  transform: rotateY(-10deg) rotateX(2deg);
  transform-origin: left center;
  box-shadow:
    1px 0 0 rgba(232, 230, 225, 0.08),
    24px 32px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.book__visual:hover .book__cover {
  transform: rotateY(0) rotateX(0);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.book__eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.book__title {
  margin-bottom: 32px;
}

/* 2016 ---- 2026 */
.book__years {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.book__years-line {
  flex: 0 0 80px;
  height: 1px;
  background: var(--color-border-hover);
}

.book__year--now {
  color: var(--color-text-heading);
  font-variant-numeric: tabular-nums;
}

.book__quote {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--color-text-heading);
}

.book__quote p {
  margin: 0;
}

.book__text {
  max-width: 520px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.book__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 20px 0;
  margin: 0 0 24px;
  border-block: 1px solid var(--color-border);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.book__perk {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 40px;
}

/* CTA principal : plus affirmé que les CTA "souligné" du reste du site */
.book .book__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-bg);
  background-color: var(--color-text-heading);
  border: 1px solid var(--color-text-heading);
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}

.book .book__cta:hover,
.book .book__cta:focus-visible {
  background-color: transparent;
  color: var(--color-text-heading);
}

.book__cta svg {
  transition: transform 0.25s;
}

.book__cta:hover svg {
  transform: translateX(4px);
}

.book__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Filet de sécurité si le thème parent ne définit pas la classe */
.book .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .book__cover,
  .book__cta svg {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .book__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .book__cover {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .book__inner {
    padding-inline: 24px;
  }

  /* Pas de survol sur mobile : livre présenté de face */
  .book__cover {
    transform: none;
  }
}