:root {
  --ink: #0b1719;
  --ink-2: #132326;
  --ash: #c7c0b4;
  --paper: #f2ede3;
  --paper-2: #e4dccd;
  --ember: #c96f3d;
  --gold: #caa363;
  --sea: #5f8987;
  --line: rgba(236, 224, 202, .18);
  --max: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.05; font-weight: 500; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--paper); color: var(--ink); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(4vw, 24px); border-bottom: 1px solid rgba(255,255,255,.1); background: linear-gradient(to bottom, rgba(7,17,19,.92), rgba(7,17,19,.72)); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; font-family: Georgia, serif; color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.brand strong { display: block; font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.brand small { display: block; color: var(--ash); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 13px; text-decoration: none; color: #ded7ca; }
nav a:hover, nav a:focus-visible { color: var(--gold); }
.nav-cta { border: 1px solid rgba(202,163,99,.65); padding: 10px 16px; border-radius: 999px; }
.menu-button { display: none; border: 1px solid var(--line); background: transparent; color: var(--paper); border-radius: 999px; padding: .5rem 1rem; }

.hero { min-height: 100svh; position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; overflow: hidden; padding: 130px max(6vw, 28px) 80px; background:
  radial-gradient(circle at 15% 32%, rgba(201,111,61,.13), transparent 29%),
  linear-gradient(115deg, #071113 0%, #0c181a 52%, #19201f 100%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .15; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E"); }
.hero-copy { position: relative; z-index: 2; max-width: 680px; }
.hero-medallion { position: relative; width: clamp(92px, 10vw, 138px); margin: 0 0 22px; border-radius: 50%; perspective: 900px; filter: drop-shadow(0 14px 22px rgba(0,0,0,.48)); }
.hero-medallion::before { content: ""; position: absolute; inset: 9%; z-index: -1; border-radius: 50%; background: rgba(208,106,48,.28); filter: blur(20px); opacity: .28; transform: scale(.88); transition: opacity .6s ease, transform .6s ease; }
.hero-medallion img { width: 100%; height: auto; border-radius: 50%; transform: perspective(900px) rotateY(0) rotateX(0); transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2,.75,.2,1), filter .6s ease; }
.medallion-shine { position: absolute; inset: 5%; overflow: hidden; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .45s ease; }
.medallion-shine::after { content: ""; position: absolute; top: -35%; bottom: -35%; left: -70%; width: 34%; background: linear-gradient(90deg, transparent, rgba(255,231,187,.5), transparent); transform: rotate(18deg); transition: left .95s ease; }
.hero-medallion:hover::before { opacity: .95; transform: scale(1.06); }
.hero-medallion:hover img { transform: perspective(900px) rotateY(-16deg) rotateX(4deg) scale(1.045); filter: saturate(1.12) contrast(1.04); }
.hero-medallion:hover .medallion-shine { opacity: 1; }
.hero-medallion:hover .medallion-shine::after { left: 135%; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
h1 { margin-bottom: 30px; font-size: clamp(64px, 8vw, 132px); letter-spacing: -.055em; }
h1 em { color: var(--gold); font-weight: 400; }
.hero-lead { max-width: 620px; color: #d0cbc2; font-family: Georgia, serif; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 750; letter-spacing: .03em; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--ink); }
.button-ghost { border: 1px solid rgba(255,255,255,.25); }
.hero-art { position: relative; z-index: 2; width: min(52vw, 720px); justify-self: end; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.scroll-note { position: absolute; z-index: 2; bottom: 34px; left: max(6vw, 28px); display: flex; align-items: center; gap: 12px; color: #8f9692; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-note span { width: 46px; height: 1px; background: var(--gold); }

.section { max-width: var(--max); margin-inline: auto; padding: 120px max(4vw, 24px); }
.statement { display: grid; grid-template-columns: 70px 1.25fr .75fr; gap: 50px; }
.section-number { color: var(--gold); font-family: Georgia, serif; }
.statement h2, .section-heading h2, .timeline-intro h2, .sonje h2, .transmit h2 { font-size: clamp(42px, 5vw, 76px); letter-spacing: -.035em; }
.statement-text { padding-top: 43px; color: #c9c3b8; font-size: 17px; }
.statement-text strong { color: var(--paper); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding-top: 0; }
.pillar { min-height: 300px; padding: 34px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.035), transparent); }
.pillar span { color: var(--ember); font-family: Georgia, serif; font-size: 13px; }
.pillar h3 { margin: 72px 0 16px; font-size: 32px; }
.pillar p { color: #aeb3ae; font-size: 14px; }

.works { max-width: none; background: var(--paper); color: var(--ink); }
.works > * { max-width: var(--max); margin-inline: auto; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 80px; margin-bottom: 58px; }
.section-heading .eyebrow { color: #9b642d; }
.section-heading p:last-child { color: #536061; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-card { position: relative; min-height: 340px; padding: 34px; border: 1px solid rgba(11,23,25,.14); background: #ede6da; overflow: hidden; }
.work-card::after { content: ""; position: absolute; inset: auto -60px -120px auto; width: 220px; height: 220px; border: 1px solid rgba(11,23,25,.1); border-radius: 50%; }
.work-featured { grid-row: span 2; min-height: 700px; display: flex; flex-direction: column; justify-content: space-between; color: var(--paper); background: linear-gradient(155deg, #142325, #0a1315); }
.book-symbol { width: 100%; flex: 1; display: grid; place-items: center; background: radial-gradient(circle, rgba(201,111,61,.3), transparent 55%); }
.book-symbol span { width: 170px; height: 238px; display: grid; place-items: center; border: 1px solid var(--gold); box-shadow: 18px 18px 0 rgba(202,163,99,.12); color: var(--gold); font-family: Georgia, serif; font-size: 32px; letter-spacing: .15em; }
.work-type { color: #a46c35; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.work-featured .work-type { color: var(--gold); }
.work-card h3 { margin: 18px 0; font-size: clamp(30px, 3vw, 48px); }
.work-card p:not(.work-type) { color: #536061; }
.work-featured p:not(.work-type) { color: #b7b8b2; }
.work-author { color: var(--gold); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.card-line { position: absolute; left: 34px; bottom: 34px; width: 54px; height: 2px; background: var(--ember); }

.timeline-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.timeline-intro { position: sticky; top: 130px; align-self: start; }
.timeline-intro p:last-child { max-width: 520px; color: #aeb3ae; }
.timeline { border-left: 1px solid var(--line); }
.timeline-item { position: relative; min-height: 220px; padding: 0 0 70px 54px; }
.timeline-item::before { content: ""; position: absolute; left: -7px; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); border: 2px solid #66706d; }
.timeline-item.active::before { border-color: var(--ember); box-shadow: 0 0 0 9px rgba(201,111,61,.13); }
.timeline-item time { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.timeline-item h3 { margin: 15px 0; font-size: 38px; }
.timeline-item p { max-width: 580px; color: #aeb3ae; }

.sonje { max-width: none; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 90px; background: linear-gradient(115deg, #d8c6a6, #efe7d9); color: var(--ink); }
.sonje > * { max-width: 680px; }
.sonje-seal { justify-self: center; width: min(48vw, 430px); aspect-ratio: 1; display: grid; place-content: center; text-align: center; border: 1px solid rgba(11,23,25,.25); border-radius: 50%; box-shadow: inset 0 0 0 18px rgba(255,255,255,.22), inset 0 0 0 19px rgba(11,23,25,.12); }
.sonje-seal span { font-family: Georgia, serif; font-size: clamp(55px, 8vw, 110px); letter-spacing: .04em; }
.sonje-seal small { color: #8c582e; letter-spacing: .35em; }
.sonje-copy .eyebrow { color: #8c582e; }
.sonje-copy p { color: #495657; font-size: 17px; }
.sonje blockquote { margin: 36px 0 0; padding-left: 22px; border-left: 3px solid var(--ember); font-family: Georgia, serif; font-size: 25px; }

.two-shores { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 42px; min-height: 420px; }
.shore { min-height: 210px; display: flex; flex-direction: column; justify-content: end; padding: 35px; border: 1px solid var(--line); background: linear-gradient(to top, rgba(0,0,0,.4), transparent), radial-gradient(circle at 20% 15%, rgba(95,137,135,.28), transparent 42%); }
.shore.saint-pierre { background: linear-gradient(to top, rgba(0,0,0,.4), transparent), radial-gradient(circle at 75% 20%, rgba(201,111,61,.3), transparent 42%); }
.shore span { font-family: Georgia, serif; font-size: clamp(32px, 4vw, 56px); }
.shore small { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; }
.shore-link { display: flex; align-items: center; gap: 12px; text-align: center; color: #9fa7a2; font-size: 9px; letter-spacing: .16em; }
.shore-link span { width: 24px; height: 1px; background: var(--gold); }

.transmit { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 70px; background: var(--ember); color: #111a1b; }
.transmit-copy { max-width: 900px; }
.transmit .eyebrow { color: #3f271b; }
.transmit p:last-child { max-width: 760px; font-size: 17px; }
.button-light { flex: 0 0 auto; background: var(--paper); color: var(--ink); }

footer { display: grid; grid-template-columns: 1.3fr .8fr .8fr auto; align-items: end; gap: 30px; padding: 48px max(5vw, 28px); color: #969e99; background: #050c0e; font-size: 12px; }
footer strong, footer span { display: block; }
footer strong { margin-bottom: 4px; color: var(--paper); font-family: Georgia, serif; font-size: 21px; font-weight: 500; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.ash-particle { position: absolute; top: -20px; width: 3px; height: 3px; border-radius: 50%; background: rgba(226,217,202,.6); animation: fall linear forwards; }
@keyframes fall { to { transform: translate3d(var(--drift), 110vh, 0) rotate(420deg); opacity: 0; } }

@media (max-width: 960px) {
  .site-header { height: 76px; }
  .menu-button { display: block; }
  nav { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 24px 24px; background: rgba(7,17,19,.98); }
  nav.open { display: flex; }
  nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { border: 0; border-radius: 0; }
  .hero { grid-template-columns: 1fr; padding-top: 126px; }
  .hero-art { width: min(86vw, 630px); justify-self: center; margin-top: 40px; }
  .statement { grid-template-columns: 50px 1fr; }
  .statement-text { grid-column: 2; padding-top: 0; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .section-heading, .timeline-section, .sonje { grid-template-columns: 1fr; gap: 50px; }
  .timeline-intro { position: static; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-featured { grid-column: span 2; grid-row: auto; min-height: 620px; }
  .sonje-seal { width: min(72vw, 420px); }
  .two-shores { grid-template-columns: 1fr; }
  .shore-link { justify-content: center; }
  .transmit { align-items: start; flex-direction: column; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .brand strong { font-size: 15px; }
  .brand small { letter-spacing: 1px; }
  .hero-medallion { width: 92px; margin-bottom: 18px; }
  h1 { font-size: 61px; }
  .hero-actions .button { width: 100%; }
  .section { padding: 84px 22px; }
  .statement { grid-template-columns: 1fr; gap: 16px; }
  .statement-text { grid-column: 1; }
  .pillars, .work-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 245px; }
  .pillar h3 { margin-top: 45px; }
  .work-featured { grid-column: auto; min-height: 570px; }
  .timeline-section { gap: 45px; }
  .timeline-item { padding-left: 35px; }
  .two-shores { padding-inline: 22px; }
  footer { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Six couvertures intégrales, sans recadrage. */
.work-card, .work-featured { display:flex; flex-direction:column; grid-column:auto; grid-row:auto; min-height:0; padding:0; }
.work-card::after { display:none; }
.cover-frame { margin:0; padding:28px; height:375px; display:flex; justify-content:center; align-items:center; background:rgba(11,23,25,.05); }
.book-cover { display:block; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; box-shadow:0 12px 24px rgba(0,0,0,.2); }
.work-content { padding:28px; }
.work-card h3 { font-size:clamp(26px,2.5vw,36px); }
.work-card .work-author { display:block; margin-top:22px; color:#805122; }
.work-featured .work-author { color:var(--gold); }
@media(max-width:620px) { .cover-frame { height:390px; } }

/* Accès aux fiches du catalogue depuis les couvertures. */
.cover-link { display:flex; align-items:center; justify-content:center; height:100%; max-width:100%; border-radius:2px; }
.cover-link:focus-visible { outline:3px solid var(--gold); outline-offset:7px; }
.cover-link .book-cover { transition:transform .2s ease; }
.cover-link:hover .book-cover { transform:translateY(-5px); }
@media(prefers-reduced-motion:reduce) { .cover-link:hover .book-cover { transform:none; } }
