* {
  box-sizing: border-box;
}

:root {
  --black: #050505;
  --black-soft: #0b0809;
  --wine: #5a0f0f;
  --red-dark: #861414;
  --copper: #b8784c;
  --cream: #eee7df;
  --muted: #aaa0a0;
  --line: rgba(255,255,255,.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
  background:
    radial-gradient(circle at 80% 10%, rgba(133, 13, 13, .23), transparent 32%),
    radial-gradient(circle at 15% 70%, rgba(86, 6, 10, .14), transparent 34%),
    linear-gradient(180deg, #070304 0%, #050505 45%, #090304 100%);
}

.ambient {
  position: fixed;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  filter: blur(130px);
  opacity: .18;
  pointer-events: none;
  z-index: -3;
  animation: breathe 11s ease-in-out infinite alternate;
}

.ambient-one {
  background: #930d17;
  top: -18vw;
  right: -18vw;
}

.ambient-two {
  background: #4e0808;
  bottom: -26vw;
  left: -18vw;
  animation-delay: -4s;
}

@keyframes breathe {
  from { transform: scale(.92) translate3d(0,0,0); opacity: .12; }
  to { transform: scale(1.08) translate3d(-2vw,2vw,0); opacity: .23; }
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 4.5vw;
  background: linear-gradient(180deg, rgba(5,5,5,.9), rgba(5,5,5,0));
}

.brand {
  display: grid;
  letter-spacing: .16em;
  line-height: 1.05;
}

.brand span {
  font-weight: 700;
  font-size: .86rem;
}

.brand small {
  color: var(--copper);
  font-size: .55rem;
  margin-top: 5px;
}

.header-cta {
  font-size: .82rem;
  border-bottom: 1px solid rgba(184,120,76,.75);
  padding-bottom: 4px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .65fr);
  align-items: center;
  gap: clamp(30px, 6vw, 100px);
  padding: 115px 8vw 80px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.72) 48%, rgba(5,5,5,.25) 100%),
    url("images/couverture.jpg") center 37% / cover no-repeat;
  opacity: .31;
  filter: saturate(.85) contrast(1.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.08), #050505 97%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .28em;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  margin: 0;
  max-width: 8ch;
  text-shadow: 0 12px 40px rgba(0,0,0,.45);
}

h1 .title-small,
h1 .title-main {
  display: block;
}

h1 .title-small {
  margin-bottom: .08em;
  color: var(--copper);
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  line-height: .9;
  letter-spacing: -.035em;
  text-transform: none;
}

h1 .title-main {
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: .78;
  letter-spacing: -.055em;
}

.hero-tagline {
  margin: 35px 0;
  max-width: 570px;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.45;
  color: #f4ece7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .03em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #8d1519, #5b090c);
  box-shadow: 0 16px 45px rgba(139,13,20,.28);
}

.button-primary:hover {
  box-shadow: 0 18px 55px rgba(180,16,24,.43);
}

.button-secondary {
  border-color: rgba(255,255,255,.3);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}

.book-stage {
  position: relative;
  justify-self: center;
  width: min(33vw, 430px);
  perspective: 1300px;
}

.book-stage img {
  display: block;
  width: 100%;
  aspect-ratio: 1363/2048;
  object-fit: cover;
  box-shadow: 0 40px 95px rgba(0,0,0,.72);
  transform: rotateY(-7deg) rotateX(1deg);
  transition: transform .6s ease;
}

.book-stage:hover img {
  transform: rotateY(-2deg) translateY(-8px);
}

.book-glow {
  position: absolute;
  inset: 12% -12% -6%;
  background: radial-gradient(circle, rgba(170,20,27,.55), transparent 67%);
  filter: blur(28px);
  z-index: -1;
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.scroll-hint b {
  color: var(--copper);
  font-size: 1.2rem;
  animation: drop 1.8s ease-in-out infinite;
}

@keyframes drop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.section {
  position: relative;
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: clamp(110px, 13vw, 200px) 0;
}

.section-number {
  position: absolute;
  top: 95px;
  right: 0;
  color: rgba(255,255,255,.13);
  font-family: Georgia, serif;
  font-size: clamp(4rem, 8vw, 8rem);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  gap: 10vw;
  align-items: center;
}

.story-copy h2,
.edition h2,
.author h2,
.order h2 {
  margin: 0 0 25px;
  font-size: clamp(3rem, 6vw, 6.3rem);
  line-height: .98;
  letter-spacing: -.035em;
}

.story-copy p {
  max-width: 660px;
  color: #c8bfc0;
  font-size: 1.05rem;
}

.story-copy .lead {
  color: #fff;
  font-size: 1.3rem;
}

.story-visual {
  position: relative;
  min-height: 480px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    radial-gradient(circle at 52% 48%, rgba(160,18,25,.35), transparent 22%);
  background-size: 38px 38px, 38px 38px, auto;
  overflow: hidden;
}

.story-visual::before,
.story-visual::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(184,120,76,.23);
  transform: rotate(8deg);
}

.story-visual::after {
  inset: 24%;
  transform: rotate(-12deg);
  border-color: rgba(179,19,27,.38);
}

.latvia {
  position: absolute;
  left: 8%;
  bottom: 10%;
  font-family: Georgia, serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  letter-spacing: -.04em;
  color: rgba(255,255,255,.13);
}

.coordinates {
  position: absolute;
  top: 8%;
  right: 8%;
  color: var(--copper);
  font-size: .72rem;
  letter-spacing: .14em;
  text-align: right;
}

.manifesto {
  min-height: 85svh;
  display: grid;
  place-items: center;
  padding: 90px 8vw;
  text-align: center;
  background:
    linear-gradient(180deg, #050505, rgba(52,4,7,.68), #050505),
    url("images/couverture.jpg") center 42% / cover fixed;
  background-blend-mode: multiply;
}

.manifesto-inner {
  max-width: 1080px;
}

.manifesto p {
  margin: 0 0 20px;
  color: var(--copper);
  letter-spacing: .32em;
  font-size: .75rem;
}

.manifesto h2 {
  margin: 0;
  font-size: clamp(3rem, 7.2vw, 7rem);
  line-height: .98;
}

.manifesto-questions {
  display: grid;
  gap: 13px;
  margin-top: 38px;
}

.manifesto-questions span {
  display: block;
  color: #d9ceca;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
}

.manifesto-questions span:last-child {
  color: #bcaeaa;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.edition-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: clamp(34px, 5vw, 75px);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  box-shadow: 0 35px 90px rgba(0,0,0,.28);
}

.edition-card p {
  color: #c8bfc0;
}

.edition-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.edition-card li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.edition-card li span {
  color: var(--copper);
  font-size: .72rem;
}

.author {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1fr);
  align-items: center;
  gap: 8vw;
}

.author-photo {
  position: relative;
}

.author-photo::before {
  content: "";
  position: absolute;
  inset: 8% -8% -8% 8%;
  border: 1px solid rgba(184,120,76,.35);
  z-index: -1;
}

.author-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(.56) contrast(1.05);
}

.author blockquote {
  margin: 0 0 28px;
  padding-left: 22px;
  border-left: 2px solid var(--copper);
  color: #f1e8e2;
  font-family: Georgia, serif;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  line-height: 1.4;
}

.author-copy > p:last-child {
  color: #c8bfc0;
  max-width: 660px;
}

.order {
  min-height: 83svh;
  display: grid;
  place-items: center;
  padding: 100px 8vw;
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(111,10,14,.36), transparent 40%),
    linear-gradient(180deg, #050505, #160406);
}

.order-inner {
  max-width: 850px;
}

.price {
  margin-top: 28px;
  font-family: Georgia, serif;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 1;
  color: #fff;
}

.price-note {
  color: #bfb3b1;
  margin: 20px auto 30px;
}

.button-order {
  min-width: min(390px, 88vw);
  min-height: 66px;
  font-size: 1rem;
}

.order small {
  display: block;
  margin-top: 18px;
  color: #8d8584;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 36px 5vw;
  border-top: 1px solid var(--line);
  color: #8f8786;
  font-size: .78rem;
}

footer div:first-child {
  display: grid;
  gap: 5px;
}

footer strong {
  color: #ddd2cd;
  letter-spacing: .15em;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s ease, transform .85s ease;
}

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

.stripe-notice {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 25px;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(8px);
}

.stripe-notice[hidden] {
  display: none;
}

.stripe-notice > div {
  max-width: 480px;
  padding: 34px;
  border: 1px solid rgba(184,120,76,.4);
  background: #100708;
  box-shadow: 0 35px 90px rgba(0,0,0,.7);
}

.stripe-notice strong {
  font-family: Georgia, serif;
  font-size: 1.6rem;
}

.stripe-notice p {
  color: #c7bcba;
}

.stripe-notice button {
  border: 0;
  padding: 12px 20px;
  color: white;
  background: #781014;
  cursor: pointer;
}

@media (max-width: 850px) {
  .site-header {
    padding: 18px 20px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 115px 7vw 100px;
    text-align: center;
  }

  .hero-copy {
    order: 2;
  }

  h1 {
    max-width: none;
  }

  h1 .title-small {
    font-size: clamp(2rem, 10vw, 3.7rem);
  }

  h1 .title-main {
    font-size: clamp(3.5rem, 18vw, 6.5rem);
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .book-stage {
    order: 1;
    width: min(64vw, 330px);
  }

  .scroll-hint {
    display: none;
  }

  .story,
  .edition-card,
  .author {
    grid-template-columns: 1fr;
  }

  .story {
    gap: 55px;
  }

  .story-visual {
    min-height: 360px;
  }

  .edition-card {
    gap: 35px;
  }

  .author-photo {
    width: min(78vw, 520px);
    margin: 0 auto;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(88vw, 1180px);
  }

  .section-number {
    top: 75px;
  }

  .story-copy h2,
  .edition h2,
  .author h2,
  .order h2 {
    font-size: clamp(2.7rem, 14vw, 4.5rem);
  }

  .manifesto {
    background-attachment: scroll;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* =========================
   V5 — Director's Cut
   ========================= */

.intro-veil {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(117, 10, 15, .34), transparent 32%),
    #030303;
  transition: opacity 1.1s ease, visibility 1.1s ease;
}

.intro-veil.hide {
  opacity: 0;
  visibility: hidden;
}

.intro-title {
  display: grid;
  justify-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(12px);
  animation: introTitle 1.1s .15s ease forwards;
}

.intro-title span {
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  letter-spacing: .08em;
}

.intro-title strong {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 500;
  letter-spacing: -.04em;
}

@keyframes introTitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header {
  backdrop-filter: blur(12px);
}

.site-header.scrolled {
  background: rgba(5,5,5,.82);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.hero {
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: -28px;
  top: -24px;
  width: 1px;
  height: 150px;
  background: linear-gradient(180deg, var(--copper), transparent);
  opacity: .6;
}

.hero::after {
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.09) translate3d(-1.2%, .7%, 0); }
}

.book-stage {
  transform-style: preserve-3d;
  animation: bookFloat 6s ease-in-out infinite;
}

@keyframes bookFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.book-stage img {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.08);
}

.book-shadow {
  position: absolute;
  left: 10%;
  right: 4%;
  bottom: -8%;
  height: 18%;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  filter: blur(22px);
  transform: rotate(-2deg);
  z-index: -1;
}

.book-reflection {
  position: absolute;
  left: 6%;
  right: 4%;
  bottom: -26%;
  height: 30%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), transparent 75%),
    url("images/couverture.jpg") center bottom / cover no-repeat;
  opacity: .12;
  filter: blur(1px);
  transform: scaleY(-1) rotateY(-7deg);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent);
  z-index: 0;
}

.story-copy p,
.author-copy > p:last-child,
.edition-card p {
  font-size: 1.08rem;
}

.story-copy p {
  transition: color .35s ease;
}

.story-copy p:hover {
  color: #ece2de;
}

.manifesto {
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 50% 45%, rgba(151, 18, 25, .24), transparent 25%),
    linear-gradient(115deg, transparent 35%, rgba(255,255,255,.025) 48%, transparent 58%);
  animation: manifestoLight 10s ease-in-out infinite alternate;
}

@keyframes manifestoLight {
  from { transform: translateX(-3%) translateY(0); }
  to { transform: translateX(3%) translateY(-1%); }
}

.manifesto-inner {
  position: relative;
  z-index: 1;
}

.edition-card {
  position: relative;
  overflow: hidden;
}

.edition-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(131, 14, 20, .18);
  filter: blur(30px);
}

.author-photo img {
  box-shadow: 0 28px 70px rgba(0,0,0,.48);
}

.author-photo::after {
  content: "";
  position: absolute;
  left: -7%;
  bottom: -8%;
  width: 42%;
  height: 42%;
  background: radial-gradient(circle, rgba(140,17,21,.35), transparent 68%);
  filter: blur(20px);
  z-index: -1;
}

.button-primary {
  position: relative;
  overflow: hidden;
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.18) 48%, transparent 75%);
  transform: translateX(-130%);
  transition: transform .7s ease;
}

.button-primary:hover::after {
  transform: translateX(130%);
}

.order-inner {
  position: relative;
}

.order-inner::before,
.order-inner::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,120,76,.5));
}

.order-inner::before {
  right: calc(100% + 3vw);
}

.order-inner::after {
  left: calc(100% + 3vw);
  transform: scaleX(-1);
}

.particles {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.particles i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(211, 68, 58, .45);
  box-shadow: 0 0 10px rgba(190, 28, 28, .55);
  animation: particleFloat 14s linear infinite;
}

.particles i:nth-child(1) { left: 8%; top: 82%; animation-delay: -2s; }
.particles i:nth-child(2) { left: 18%; top: 64%; animation-delay: -8s; }
.particles i:nth-child(3) { left: 34%; top: 91%; animation-delay: -5s; }
.particles i:nth-child(4) { left: 56%; top: 78%; animation-delay: -11s; }
.particles i:nth-child(5) { left: 69%; top: 88%; animation-delay: -3s; }
.particles i:nth-child(6) { left: 79%; top: 66%; animation-delay: -9s; }
.particles i:nth-child(7) { left: 88%; top: 83%; animation-delay: -6s; }
.particles i:nth-child(8) { left: 47%; top: 97%; animation-delay: -13s; }

@keyframes particleFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(.7);
    opacity: 0;
  }
  15% { opacity: .7; }
  85% { opacity: .3; }
  100% {
    transform: translate3d(18px, -110vh, 0) scale(1.2);
    opacity: 0;
  }
}

@media (max-width: 850px) {
  .hero-copy::before,
  .order-inner::before,
  .order-inner::after {
    display: none;
  }

  .book-reflection {
    bottom: -20%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-veil {
    display: none;
  }

  .hero::after,
  .book-stage,
  .manifesto::before,
  .particles i {
    animation: none !important;
  }
}

@media (pointer: fine) {
  .book-stage img {
    transform: rotateY(calc(-7deg + var(--mx, 0deg))) rotateX(calc(1deg + var(--my, 0deg)));
  }

  .book-stage:hover img {
    transform: rotateY(calc(-2deg + var(--mx, 0deg))) rotateX(var(--my, 0deg)) translateY(-8px);
  }
}


/* ===== V6 ===== */
.hero-tagline{
  border-left:2px solid rgba(184,120,76,.45);
  padding-left:22px;
}
.story-copy{
  max-width:700px;
}
.quote-panel{
  padding-top:40px;
  padding-bottom:40px;
}
.quote-box{
  max-width:900px;
  margin:auto;
  padding:55px;
  text-align:center;
  border:1px solid rgba(184,120,76,.22);
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01));
  box-shadow:0 30px 80px rgba(0,0,0,.35);
}
.quote-box blockquote{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.8rem,3vw,3rem);
  line-height:1.35;
  color:#f2ece8;
}
.story-copy p,
.author-copy p,
.edition-card p{
  max-width:65ch;
}


/* =========================
   V7 — corrections éditoriales
   ========================= */
.story {
  grid-template-columns: minmax(0, 1fr);
}
.story-copy {
  max-width: 820px;
}
.story-visual {
  display: none !important;
}
.manifesto-kicker {
  margin: 0 0 1.1rem;
  color: var(--copper);
  font-size: clamp(1.65rem, 3.2vw, 3.35rem) !important;
  line-height: 1.08;
  letter-spacing: .12em !important;
  font-weight: 600;
}
.manifesto h2 {
  max-width: 13ch;
  margin-inline: auto;
  line-height: .92;
}
.quote-panel {
  padding-top: 70px;
  padding-bottom: 70px;
}
.quote-box {
  max-width: 940px;
  padding: clamp(45px, 7vw, 82px);
}
.quote-box blockquote {
  font-size: clamp(2.2rem, 4.4vw, 4.5rem);
  line-height: 1.28;
  letter-spacing: -.025em;
}
@media (max-width: 700px) {
  .manifesto-kicker {
    font-size: clamp(1.35rem, 7vw, 2rem) !important;
    letter-spacing: .08em !important;
  }
  .quote-box {
    padding: 38px 24px;
  }
}


/* =========================
   V8 — musique originale
   ========================= */

.music-trigger {
  width: min(100%, 430px);
  margin-top: 24px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  color: var(--cream);
  text-align: left;
  border: 1px solid rgba(184,120,76,.34);
  border-radius: 8px;
  background: rgba(7,7,7,.48);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.music-trigger:hover {
  transform: translateY(-2px);
  border-color: rgba(184,120,76,.72);
  background: rgba(28,8,10,.62);
}

.music-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(184,120,76,.55);
  border-radius: 50%;
  color: var(--copper);
  font-size: 1.35rem;
}

.music-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.music-copy small {
  color: var(--copper);
  font-size: .66rem;
  letter-spacing: .18em;
}

.music-copy strong {
  font-size: .92rem;
  font-weight: 500;
}

.music-state {
  color: rgba(255,255,255,.6);
  font-size: .78rem;
}

.music-trigger.is-playing {
  border-color: rgba(184,120,76,.8);
  box-shadow: 0 0 30px rgba(119,14,20,.18);
}

.music-trigger.is-playing .music-icon {
  animation: musicPulse 1.5s ease-in-out infinite;
}

.music-player {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: min(390px, calc(100vw - 32px));
  padding: 13px 14px;
  grid-template-columns: 42px minmax(0,1fr) 48px 28px;
  align-items: center;
  gap: 11px;
  color: var(--cream);
  border: 1px solid rgba(184,120,76,.42);
  border-radius: 10px;
  background: rgba(5,5,5,.9);
  box-shadow: 0 22px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
}

.music-player:not([hidden]) {
  display: grid;
}

.music-toggle,
.music-close {
  border: 0;
  color: var(--cream);
  background: transparent;
  cursor: pointer;
}

.music-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(184,120,76,.55);
  border-radius: 50%;
}

.music-close {
  color: rgba(255,255,255,.55);
  font-size: 1.35rem;
}

.music-player-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.music-player-copy strong {
  overflow: hidden;
  font-size: .9rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-player-copy span {
  margin-top: 2px;
  color: var(--copper);
  font-size: .67rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.music-bars {
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.music-bars i {
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: var(--copper);
}

.music-player.is-playing .music-bars i {
  animation: audioBars .8s ease-in-out infinite alternate;
}

.music-player.is-playing .music-bars i:nth-child(2) { animation-delay: -.25s; }
.music-player.is-playing .music-bars i:nth-child(3) { animation-delay: -.5s; }
.music-player.is-playing .music-bars i:nth-child(4) { animation-delay: -.15s; }

@keyframes audioBars {
  from { height: 6px; opacity: .5; }
  to { height: 23px; opacity: 1; }
}

@keyframes musicPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(184,120,76,.15); }
  50% { box-shadow: 0 0 0 8px rgba(184,120,76,0); }
}

@media (max-width: 600px) {
  .music-trigger {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .music-state {
    display: none;
  }
  .music-player {
    right: 16px;
    bottom: 16px;
  }
}


/* V9.2 — sécurité de l'écran d'introduction */
.intro-veil {
  animation: introSafetyExit .9s 2.15s ease forwards;
}

.intro-veil.hide {
  pointer-events: none;
}

@keyframes introSafetyExit {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width:768px){
.hero-copy,.story-copy,.author-copy,.edition-copy{padding-left:24px;padding-right:24px;}
.hero-actions{align-items:stretch}
.button{width:100%;text-align:center}
.music-trigger{width:100%}
h1,.title-main{word-break:normal}
}
