/* Jeanne Valmont — custom styles beyond Tailwind */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* Readable body copy */
.copy {
  line-height: 1.75;
}

.copy-lg {
  font-size: 1.125rem;
  line-height: 1.8;
}

@media (min-width: 640px) {
  .copy-lg {
    font-size: 1.1875rem;
  }
}

/* Kintsugi-inspired subtle gold accent lines */
.kintsugi-bg {
  background-image:
    linear-gradient(125deg, transparent 48%, rgba(212, 175, 55, 0.06) 49%, rgba(212, 175, 55, 0.12) 50%, transparent 51%),
    linear-gradient(35deg, transparent 62%, rgba(212, 175, 55, 0.04) 63%, rgba(212, 175, 55, 0.08) 64%, transparent 65%);
}

/* CTA button glow on hover */
.btn-gold {
  background-color: #d4af37;
  color: #0a0a0a;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.btn-gold:hover {
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

/* Extract cards */
.card-extract {
  border-top: 2px solid #d4af37;
}

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  overflow: visible;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Book section — allow glow to diffuse (no clipping) */
#livre {
  overflow: visible;
}

.book-layout {
  overflow: visible;
}

.book-cover-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1.5rem;
  overflow: visible;
}

.book-cover-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(212, 175, 55, 0.28) 0%,
    rgba(212, 175, 55, 0.12) 35%,
    rgba(212, 175, 55, 0.04) 55%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

.book-cover-wrap img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  height: auto;
}
