/*
 * SILLAGE — DIRECTION ARTISTIQUE « LE LIVRE D'OR VIVANT »
 * --------------------------------------------------------
 * Cette feuille surcharge le socle fonctionnel de styles.css sans modifier
 * les composants ni les interactions. Elle peut être retirée pour revenir à
 * l'apparence initiale.
 */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-Variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --paper: #f1eadc;
  --paper-deep: #e5d9c5;
  --cream: #fbf7ee;
  --ivory: #fffaf0;
  --ink: #22231f;
  --muted: #6f6b62;
  --forest: #101d19;
  --forest-2: #1d3a31;
  --night: #090d0b;
  --wine: #582027;
  --wine-deep: #321218;
  --terracotta: #7f302f;
  --terracotta-dark: #5d2024;
  --gold: #b7934f;
  --gold-light: #dec98e;
  --gold-pale: #f0dfae;
  --gold-dark: #75572a;
  --line: rgba(117, 87, 42, 0.24);
  --white-line: rgba(222, 201, 142, 0.30);
  --shadow: 0 30px 90px rgba(18, 21, 18, 0.16);
  --shadow-soft: 0 15px 44px rgba(18, 21, 18, 0.10);
  --radius: 3px;
  --radius-small: 2px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

html { background: var(--night); }

body {
  background:
    radial-gradient(circle at 15% 8%, rgba(183, 147, 79, 0.055), transparent 32rem),
    radial-gradient(circle at 86% 42%, rgba(88, 32, 39, 0.032), transparent 36rem),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(63, 49, 29, 0.012) 4px 5px),
    var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.82;
}

body::before {
  content: "";
  position: fixed;
  z-index: 9998;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 17% 31%, rgba(70, 51, 28, .10) 0 0.45px, transparent .7px),
    radial-gradient(circle at 73% 68%, rgba(70, 51, 28, .08) 0 0.4px, transparent .65px);
  background-size: 5px 5px, 7px 7px;
}

body.large-text { font-size: 18px; }

/* Bande cérémonielle */
.ceremonial-strip {
  height: 34px;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  position: relative;
  z-index: 1001;
  overflow: hidden;
  background:
    linear-gradient(110deg, transparent, rgba(183,147,79,.045), transparent),
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 1px, transparent 1px 13px),
    var(--wine-deep);
  border-bottom: 1px solid rgba(183,147,79,.52);
  color: var(--gold-light);
}

.ceremonial-copy {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ceremonial-glyph { color: var(--gold); font-size: 8px; }
.ceremonial-rule { width: min(80px, 10vw); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ceremonial-rule:last-child { transform: scaleX(-1); }

/* En-tête et marque */
#site-header { position:sticky; top:0; z-index:1000; }
.site-header {
  position:relative;
  top:auto;
  background:
    linear-gradient(90deg, rgba(88,32,39,.08), transparent 34%, rgba(183,147,79,.025)),
    rgba(9, 13, 11, 0.965);
  border-bottom: 1px solid rgba(183, 147, 79, .52);
  box-shadow: 0 8px 35px rgba(0,0,0,.18);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, var(--gold) 32%, var(--gold-pale) 50%, var(--gold) 68%, transparent 96%);
  background-size: 220% 100%;
  animation: gildedSweep 9s ease-in-out infinite;
}

@keyframes gildedSweep { 0%, 35% { background-position: 100% 0; opacity:.46; } 62%, 100% { background-position: -100% 0; opacity:.9; } }

.header-inner { min-height: 76px; gap: 34px; }
.brand { gap: 13px; }

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50% 50% 47% 47%;
  box-shadow: inset 0 0 0 3px var(--night), inset 0 0 0 4px rgba(183,147,79,.38);
  background: radial-gradient(circle, rgba(183,147,79,.08), transparent 64%);
}

.brand-mark::before {
  content: "S";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
}

.brand-mark::after {
  width: 5px;
  height: 5px;
  right: 2px;
  bottom: -3px;
  border-radius: 0;
  transform: rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--night);
}

.brand-word {
  color: #f8efd9;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: .035em;
  font-variant: small-caps;
}

.desktop-nav { gap: 8px; }
.nav-link {
  padding: 12px 10px;
  color: rgba(255,255,255,.63);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.nav-link::after { left: 50%; right: auto; bottom: 2px; width: 5px; height: 5px; transform: translateX(-50%) rotate(45deg) scale(0); background: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) rotate(45deg) scale(1); }

.icon-button {
  border-color: rgba(183,147,79,.40);
  background: transparent;
  color: var(--gold-light);
  box-shadow: inset 0 0 0 3px var(--night), inset 0 0 0 4px rgba(183,147,79,.16);
}
.icon-button:hover { border-color: var(--gold); background: rgba(183,147,79,.10); color: #fff4d0; }
.reading-progress { height: 2px; background: linear-gradient(90deg, var(--gold-dark), var(--gold-pale), var(--gold)); box-shadow: 0 0 9px rgba(222,201,142,.4); }

.mobile-drawer {
  inset: 76px 0 auto;
  max-height: calc(100vh - 76px);
  background:
    repeating-linear-gradient(135deg, rgba(183,147,79,.025) 0 1px, transparent 1px 14px),
    var(--night);
  border-top-color: rgba(183,147,79,.38);
}
.mobile-drawer a { border-bottom-color: rgba(183,147,79,.18); font-size: 27px; }
.mobile-drawer a.active { color: var(--gold-light); }

/* Typographie éditoriale */
h1, h2, h3, blockquote { font-family: var(--serif); }
h1 { font-weight: 400; letter-spacing: -.035em; }
h2 { font-weight: 450; letter-spacing: -.025em; }
h3 { font-weight: 500; letter-spacing: -.012em; }

.eyebrow {
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .28em;
}
.eyebrow.light { color: var(--gold-light); }
.lead { color: #474941; font-family: var(--serif); font-size: clamp(22px, 2.15vw, 28px); line-height: 1.55; }

/* Boutons — plaques gravées plutôt que pilules */
.button {
  min-height: 50px;
  padding: 13px 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold-dark);
  border-radius: 2px;
  background: var(--wine);
  color: #fff8e7;
  box-shadow: inset 0 0 0 3px var(--wine), inset 0 0 0 4px rgba(222,201,142,.24);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%) skewX(-24deg);
  background: linear-gradient(90deg, transparent, rgba(255,246,214,.16), transparent);
  transition: transform .65s ease;
}
.button:hover { transform: translateY(-2px); background: #6c262b; border-color: var(--gold); box-shadow: inset 0 0 0 3px #6c262b, inset 0 0 0 4px rgba(222,201,142,.34), 0 12px 28px rgba(0,0,0,.22); }
.button:hover::before { transform: translateX(130%) skewX(-24deg); }
.button.secondary { border-color: rgba(222,201,142,.55); border-radius:2px; background: rgba(9,13,11,.22); color: var(--gold-pale); box-shadow: inset 0 0 0 3px rgba(9,13,11,.4), inset 0 0 0 4px rgba(222,201,142,.10); }
.button.secondary:hover { background: rgba(183,147,79,.10); }
.button.ghost { border-color: rgba(117,87,42,.45); border-radius: 2px; background: transparent; color: var(--gold-dark); box-shadow: inset 0 0 0 3px transparent, inset 0 0 0 4px rgba(117,87,42,.08); }
.button.ghost:hover { border-color: var(--gold); background: rgba(183,147,79,.08); color: var(--wine); }
.button.small { min-height: 40px; padding: 9px 14px; font-size: 9px; }

.text-link { color: var(--gold-dark); font-size: 11px; letter-spacing:.1em; text-transform:uppercase; }

/* Ouverture — portrait pleine scène */
.hero-home {
  min-height: calc(100svh - 110px);
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
}

.hero-home::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 23px;
  border: 1px solid rgba(222,201,142,.44);
  box-shadow: inset 0 0 0 5px rgba(9,13,11,.12), inset 0 0 0 6px rgba(183,147,79,.15);
  pointer-events: none;
}

.hero-home::after {
  content: "";
  position: absolute;
  z-index: 5;
  width: 44px;
  height: 44px;
  top: 33px;
  right: 33px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  pointer-events: none;
}

.hero-portrait { position: absolute; z-index: 0; inset: 0; min-height: 0; }
.hero-portrait img { width:100%; height:100%; object-fit:cover; object-position:center center; filter: saturate(.68) sepia(.1) contrast(1.05); }
.hero-portrait::after {
  background:
    linear-gradient(90deg, rgba(5,9,7,.06) 10%, rgba(5,9,7,.10) 40%, rgba(5,9,7,.63) 66%, rgba(5,9,7,.96) 92%),
    linear-gradient(0deg, rgba(5,9,7,.55), transparent 42%),
    radial-gradient(circle at 78% 58%, rgba(88,32,39,.17), transparent 40%);
}

.hero-content {
  width: min(54%, 760px);
  min-height: calc(100svh - 110px);
  margin-left: auto;
  padding: clamp(80px, 8vw, 124px) clamp(70px, 8vw, 126px) 96px clamp(44px, 5vw, 80px);
  position: relative;
  z-index: 3;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background: transparent;
}
.hero-content::before { content:""; position:absolute; inset:52px 52px 52px 24px; width:auto; height:auto; border:1px solid rgba(183,147,79,.12); border-radius:0; pointer-events:none; }
.hero-content::after { content:"❦"; position:absolute; right:66px; bottom:63px; color:rgba(222,201,142,.42); font-family:var(--serif); font-size:27px; }

.hero-cipher {
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  border: 1px solid rgba(222,201,142,.55);
  display: flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  position:relative;
  color:var(--gold-pale);
  font-family:var(--serif);
  font-size:25px;
  box-shadow: inset 0 0 0 5px rgba(9,13,11,.32), inset 0 0 0 6px rgba(183,147,79,.20);
}
.hero-cipher::after { content:""; position:absolute; width:7px; height:7px; bottom:-4px; background:var(--gold); transform:rotate(45deg); }
.hero-cipher i { color:var(--gold); font-size:6px; font-style:normal; }

.hero-name { margin:0 0 15px; font-size:clamp(76px, 8.3vw, 124px); line-height:.74; letter-spacing:-.045em; }
.hero-name span, .hero-name em { display:block; }
.hero-name span { color:#fffaf0; }
.hero-name em { margin-left:.22em; color:var(--gold-light); font-weight:400; font-style:italic; }
.hero-years { display:flex; align-items:center; gap:13px; margin:31px 0 25px; color:var(--gold-light); font-family:var(--sans); font-size:10px; font-weight:650; letter-spacing:.25em; }
.hero-years::before, .hero-years::after { content:""; width:46px; height:1px; background:linear-gradient(90deg, transparent, var(--gold)); }
.hero-years::after { transform:scaleX(-1); }
.hero-intro { max-width:520px; color:rgba(255,250,239,.70); font-family:var(--serif); font-size:21px; line-height:1.62; }
.hero-actions { gap:10px; margin-top:30px; }

.portrait-caption {
  left: 54px;
  right: auto;
  bottom: 48px;
  max-width: 310px;
  padding: 13px 17px;
  border: 1px solid rgba(222,201,142,.38);
  border-radius: 2px;
  background: rgba(9,13,11,.58);
  color: rgba(255,250,239,.68);
  font-family:var(--serif);
  font-size:14px;
  box-shadow:inset 0 0 0 3px rgba(9,13,11,.25), inset 0 0 0 4px rgba(183,147,79,.10);
}

/* Citation manifeste */
.quote-band {
  padding: 108px 0 112px;
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(90deg, rgba(183,147,79,.04), transparent 24%, transparent 76%, rgba(183,147,79,.04)),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(65,46,24,.012) 5px 6px),
    var(--paper);
  border-top:1px solid rgba(183,147,79,.34);
  border-bottom:1px solid rgba(183,147,79,.24);
}
.quote-band::before, .quote-band::after { content:""; position:absolute; top:38px; bottom:38px; width:1px; background:linear-gradient(transparent,var(--gold),transparent); opacity:.5; }
.quote-band::before { left:6vw; }.quote-band::after { right:6vw; }
.quote-band blockquote { max-width:950px; color:var(--forest); font-size:clamp(38px,5vw,68px); line-height:1.08; font-style:italic; }
.quote-flourish { display:block; margin:0 auto 22px; color:var(--gold); font-size:27px; font-style:normal; }
.quote-band cite { margin-top:28px; color:var(--gold-dark); font-family:var(--sans); font-size:9px; font-weight:700; letter-spacing:.25em; }

/* Rythme de chapitre */
.section { padding: 116px 0; position:relative; }
.section.compact { padding: 82px 0; }
.section.paper-deep {
  background:
    radial-gradient(circle at 10% 20%, rgba(183,147,79,.055), transparent 22rem),
    repeating-linear-gradient(90deg, transparent 0 6px, rgba(61,47,29,.012) 6px 7px),
    var(--paper-deep);
  border-top:1px solid rgba(117,87,42,.18);
  border-bottom:1px solid rgba(117,87,42,.18);
}
.section.dark {
  background:
    radial-gradient(circle at 75% 25%, rgba(88,32,39,.16), transparent 30rem),
    repeating-linear-gradient(135deg, rgba(222,201,142,.018) 0 1px, transparent 1px 15px),
    var(--night);
  border-top:1px solid rgba(183,147,79,.40);
  border-bottom:1px solid rgba(183,147,79,.28);
}
.section-head { margin-bottom:58px; align-items:center; }
.section-head h2 { position:relative; max-width:760px; }
.section-head h2::after { content:""; display:block; width:78px; height:1px; margin-top:20px; background:linear-gradient(90deg,var(--gold),transparent); }
.section-head p { color:#68675f; font-size:14px; line-height:1.9; }
.dark .section-head h2::after { background:linear-gradient(90deg,var(--gold-light),transparent); }

/* Portes d'entrée — triptyque d'archives */
.door-grid { gap:18px; align-items:start; }
.door-card { min-height:470px; border:1px solid rgba(183,147,79,.40); border-radius:2px; box-shadow:0 22px 60px rgba(18,21,18,.16); }
.door-card:nth-child(2) { margin-top:36px; }
.door-card:nth-child(3) { margin-top:72px; }
.door-card::before { content:""; position:absolute; z-index:3; inset:10px; border:1px solid rgba(222,201,142,.35); pointer-events:none; transition:inset .35s ease,border-color .35s ease; }
.door-card::after { background:linear-gradient(0deg,rgba(7,13,10,.94),rgba(7,13,10,.1) 75%); }
.door-card:hover { transform:translateY(-5px); }
.door-card:hover::before { inset:15px; border-color:rgba(222,201,142,.70); }
.door-card:hover img { transform:scale(1.045); filter:saturate(.75) contrast(1.05); }
.door-copy { left:34px; right:34px; bottom:32px; }
.door-copy::before { content:""; display:block; width:42px; height:1px; margin-bottom:17px; background:var(--gold); }
.door-copy span { color:var(--gold-light); font-size:9px; letter-spacing:.2em; }
.door-copy h3 { font-size:35px; }

/* Cabinet d'écoute */
.memory-player { border:1px solid rgba(183,147,79,.48); border-radius:2px; background:var(--night); box-shadow:0 34px 95px rgba(0,0,0,.28), inset 0 0 0 7px var(--night), inset 0 0 0 8px rgba(183,147,79,.18); }
.memory-player::before { content:"ARCHIVE SONORE · N° 01"; position:absolute; z-index:3; top:20px; right:24px; color:rgba(222,201,142,.55); font-size:8px; font-weight:700; letter-spacing:.23em; }
.memory-player { position:relative; }
.player-image::after { background:linear-gradient(90deg,transparent 35%,var(--night) 100%); }
.player-copy { padding:clamp(44px,6vw,78px); }
.play-button { border:1px solid var(--gold); border-radius:50%; background:var(--wine); box-shadow:0 0 0 5px var(--night),0 0 0 6px rgba(183,147,79,.28); }
.audio-progress { background:rgba(222,201,142,.14); }.audio-progress span { background:linear-gradient(90deg,var(--gold-dark),var(--gold-pale)); }
.player-copy details { margin-top:24px; padding:14px 0; border-top:1px solid rgba(183,147,79,.20); border-bottom:1px solid rgba(183,147,79,.20); }
.player-copy summary { color:var(--gold-light); font-size:9px; font-weight:700; letter-spacing:.15em; text-transform:uppercase; cursor:pointer; }

/* Cartouches chiffrés */
.stats-row { gap:0; border:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); border-radius:0; background:transparent; }
.stat { padding:36px; position:relative; background:transparent; }
.stat:not(:last-child) { border-right:1px solid var(--line); }
.stat:not(:last-child)::after { content:"◆"; position:absolute; right:-6px; top:50%; transform:translateY(-50%); color:var(--gold); font-size:9px; background:var(--cream); padding-block:5px; }
.stat strong { color:var(--gold-dark); font-size:58px; }
.stat span { font-size:10px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; }

/* Ouvertures des pages intérieures */
.page-hero {
  padding:112px 0 94px;
  isolation:isolate;
  background:
    radial-gradient(circle at 82% 38%, rgba(88,32,39,.30), transparent 28rem),
    repeating-linear-gradient(135deg, rgba(222,201,142,.022) 0 1px, transparent 1px 16px),
    var(--night);
  border-bottom:1px solid rgba(183,147,79,.55);
}
.page-hero::before { position:absolute; z-index:-1; right:7vw; top:50%; transform:translateY(-52%); color:rgba(222,201,142,.055); font-family:var(--serif); font-size:clamp(190px,23vw,330px); line-height:.7; }
body[data-page="biographie"] .page-hero::before { content:"I"; }
body[data-page="chronologie"] .page-hero::before { content:"II"; }
body[data-page="souvenirs"] .page-hero::before { content:"III"; }
body[data-page="oeuvres"] .page-hero::before { content:"IV"; }
body[data-page="cercle"] .page-hero::before { content:"V"; }
body[data-page="discussion"] .page-hero::before { content:"VI"; }
.page-hero::after { width:auto; height:auto; inset:20px; border:1px solid rgba(183,147,79,.22); border-radius:0; }
.page-hero .container { position:relative; }
.page-hero-flourish { display:flex; align-items:center; gap:13px; margin-bottom:26px; color:var(--gold); font-family:var(--serif); font-size:18px; }
.page-hero-flourish span { width:58px; height:1px; background:linear-gradient(90deg,transparent,var(--gold)); }
.page-hero-flourish span:last-child { transform:scaleX(-1); }
.page-hero h1 { max-width:920px; color:#fffaf0; font-size:clamp(55px,6.5vw,88px); }
.page-hero p { color:rgba(255,250,239,.63); font-family:var(--serif); font-size:21px; }
.page-hero .eyebrow { color:var(--gold-light); font-family:var(--sans); font-size:9px; }
.breadcrumbs { color:rgba(222,201,142,.48); font-size:10px; letter-spacing:.12em; text-transform:uppercase; }

/* Biographie — folios et lettrines */
.bio-photo { min-height:560px; position:relative; border:10px solid var(--ivory); border-radius:48% 48% 2px 2px; outline:1px solid rgba(183,147,79,.55); box-shadow:14px 14px 0 -4px var(--cream),14px 14px 0 -3px rgba(183,147,79,.42),var(--shadow); }
.bio-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:38% center; }
.bio-copy .lead::first-letter, .chapter-text > p:nth-of-type(2)::first-letter { float:left; margin:.05em .10em 0 0; color:var(--gold-dark); font-family:var(--serif); font-size:4.4em; font-weight:500; line-height:.68; }
.chapter-list { border-top-color:var(--line); counter-reset:chapter; }
.chapter { position:relative; border-bottom-color:var(--line); counter-increment:chapter; }
.chapter::before { content:"0" counter(chapter); position:absolute; left:0; top:20px; color:rgba(117,87,42,.18); font-family:var(--serif); font-size:64px; line-height:1; }
.chapter-toggle { padding:36px 0 36px 78px; grid-template-columns:140px 1fr 44px; }
.chapter-toggle .years { color:var(--gold-dark); font-size:10px; letter-spacing:.15em; }
.chapter-toggle h3 { font-size:32px; }
.chapter-plus { border-color:rgba(183,147,79,.48); border-radius:0; color:var(--gold-dark); font-size:0; transform:rotate(45deg); }
.chapter-plus::before { content:"+"; display:block; font-size:25px; line-height:1; transform:rotate(-45deg); }
.chapter.open .chapter-plus { border-color:var(--gold); background:var(--wine); transform:rotate(90deg); }
.chapter-panel { padding-left:218px; }
.chapter.open .chapter-panel { grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr); }
.chapter-note { border-left-color:var(--gold); background:rgba(183,147,79,.085); color:#4c4b44; font-style:italic; }
.chapter-image { height:300px; border:7px solid var(--ivory); border-radius:0; outline:1px solid rgba(183,147,79,.38); }

.family-card { border-color:rgba(183,147,79,.28); border-radius:2px; background:rgba(222,201,142,.035); box-shadow:inset 0 0 0 4px var(--night),inset 0 0 0 5px rgba(183,147,79,.10); }
.family-card span { color:var(--gold-light); }

/* Filtres et onglets */
.filter-bar, .tabs { gap:0; border-bottom:1px solid var(--line); }
.filter-button, .tab-button { padding:12px 18px; border:0; border-right:1px solid var(--line); border-radius:0; background:transparent; color:#716d64; font-size:9px; letter-spacing:.1em; text-transform:uppercase; }
.filter-button.active, .tab-button.active { background:var(--wine); color:#fff8e5; box-shadow:inset 0 -2px 0 var(--gold); }

/* Frise en fil doré */
.timeline::before { width:1px; background:linear-gradient(transparent,var(--gold) 5%,var(--gold) 95%,transparent); box-shadow:4px 0 0 rgba(183,147,79,.10); }
.timeline-dot { right:-6px; width:12px; height:12px; border:2px solid var(--paper); border-radius:0; transform:rotate(45deg); background:var(--gold); box-shadow:0 0 0 1px var(--gold-dark); }
.timeline-event:nth-child(even) .timeline-dot { left:-6px; }
.timeline-card { padding:27px; border:1px solid var(--line); border-radius:2px; background:rgba(255,250,240,.76); box-shadow:0 16px 45px rgba(25,24,20,.08); }
.timeline-card::before { content:"ARCHIVE"; display:block; margin-bottom:10px; color:rgba(117,87,42,.55); font-size:8px; font-weight:700; letter-spacing:.2em; }
.timeline-year { color:var(--gold-dark); font-size:36px; }
.timeline-place { letter-spacing:.12em; }
.event-image { border:6px solid var(--ivory); border-radius:0; outline:1px solid rgba(183,147,79,.28); }
.place-pill { border-color:rgba(183,147,79,.30); border-radius:2px; color:rgba(255,250,239,.72); font-family:var(--serif); font-size:17px; }

/* Galerie — tirages de collection */
.memory-grid { column-gap:10px; }
.memory-card { margin-bottom:10px; border:1px solid rgba(183,147,79,.38); border-radius:1px; box-shadow:0 12px 34px rgba(18,21,18,.15); }
.memory-open { width:100%; padding:0; border:0; display:block; background:transparent; color:inherit; text-align:left; cursor:pointer; }
.memory-open:focus-visible { outline-offset:-7px; }
.memory-card::before { content:""; position:absolute; z-index:3; inset:8px; border:1px solid rgba(255,240,197,.33); pointer-events:none; transition:inset .35s ease,border-color .35s ease; }
.memory-card:hover::before { inset:13px; border-color:rgba(255,240,197,.62); }
.memory-card::after { background:linear-gradient(0deg,rgba(7,13,10,.94),transparent 72%); }
.memory-card:hover img { transform:scale(1.045); filter:saturate(.78) contrast(1.05); }
.memory-caption { left:27px; right:27px; bottom:24px; }
.memory-caption span { color:var(--gold-light); font-size:8px; letter-spacing:.18em; }
.memory-caption h3 { font-size:29px; }
.memory-save { top:17px; right:17px; border-color:rgba(222,201,142,.55); border-radius:50%; background:rgba(9,13,11,.55); color:var(--gold-light); }
.memory-save.saved { background:var(--wine); border-color:var(--gold); }

/* Œuvres et témoignages */
.works-grid { gap:14px; }
.work-card { padding:31px; position:relative; border:1px solid var(--line); border-radius:2px; background:rgba(255,250,240,.76); box-shadow:0 16px 44px rgba(30,28,23,.08),inset 0 0 0 5px rgba(255,250,240,.8),inset 0 0 0 6px rgba(183,147,79,.12); }
.work-card::after { content:"◆"; position:absolute; top:19px; right:20px; color:rgba(183,147,79,.55); font-size:8px; }
.work-card .work-year { color:var(--gold-dark); letter-spacing:.18em; }
.work-image { margin:-31px -31px 26px; border-radius:1px 1px 0 0; border-bottom:1px solid rgba(183,147,79,.38); }

.testimonial-grid { gap:14px; }
.testimonial { min-height:320px; padding:34px; border:1px solid var(--line); border-radius:2px; background:rgba(255,250,240,.72); box-shadow:inset 0 0 0 5px rgba(255,250,240,.8),inset 0 0 0 6px rgba(183,147,79,.10); }
.testimonial::before { color:rgba(183,147,79,.65); font-size:72px; }
.testimonial p { color:#474941; font-size:21px; font-style:italic; }
.avatar { border:1px solid var(--gold); background:var(--night); color:var(--gold-light); box-shadow:0 0 0 3px var(--cream),0 0 0 4px rgba(183,147,79,.30); }

/* Lumière et contribution */
.light-panel { border:1px solid rgba(183,147,79,.52); border-radius:2px; background:radial-gradient(circle at 50% 25%,rgba(183,147,79,.14),transparent 35%),var(--night); box-shadow:inset 0 0 0 7px var(--night),inset 0 0 0 8px rgba(183,147,79,.18),0 28px 80px rgba(18,21,18,.22); }
.light-panel::after { content:""; position:absolute; width:170px; height:170px; left:50%; top:42px; transform:translateX(-50%); border:1px solid rgba(183,147,79,.25); border-radius:50%; box-shadow:inset 0 0 0 5px var(--night),inset 0 0 0 6px rgba(183,147,79,.08); }
.flame { z-index:2; width:46px; height:65px; background:linear-gradient(135deg,#fff3c5,#d7964a 65%,#752b2d); box-shadow:0 0 55px rgba(222,201,142,.32); animation-duration:3.8s; }
.contribution-form { padding:44px; border:1px solid var(--line); border-radius:2px; background:rgba(255,250,240,.80); box-shadow:inset 0 0 0 7px rgba(255,250,240,.92),inset 0 0 0 8px rgba(183,147,79,.18),0 22px 60px rgba(30,28,23,.10); }
.field input,.field textarea,.field select { border:0; border-bottom:1px solid rgba(117,87,42,.35); border-radius:0; background:rgba(255,253,247,.65); }
.field input:focus,.field textarea:focus,.field select:focus { border-color:var(--gold); box-shadow:0 2px 0 rgba(183,147,79,.24); }
.local-card { border-left-color:var(--gold); background:rgba(183,147,79,.08); }

/* Fenêtres — vitrines de musée */
dialog { border:1px solid rgba(183,147,79,.62); border-radius:2px; background:var(--cream); box-shadow:0 35px 120px rgba(0,0,0,.55),inset 0 0 0 6px var(--cream),inset 0 0 0 7px rgba(183,147,79,.22); }
dialog::backdrop { background:rgba(4,8,6,.88); }
.dialog-close { border-color:rgba(222,201,142,.55); background:rgba(9,13,11,.72); color:var(--gold-light); }
.lightbox-copy { border-top:1px solid rgba(183,147,79,.28); }
.excerpt-body { border-color:var(--line); color:var(--forest); font-size:clamp(28px,3.2vw,40px); font-style:italic; }
.search-box { border-bottom-color:var(--gold); font-family:var(--serif); }
.search-result { border-bottom-color:var(--line); }

/* Salon familial — une correspondance vivante */
.community-teaser { color:#fff; background:radial-gradient(circle at 12% 50%,rgba(88,32,39,.48),transparent 24rem),repeating-linear-gradient(135deg,rgba(222,201,142,.018) 0 1px,transparent 1px 15px),var(--night); border-block:1px solid rgba(183,147,79,.38); }
.community-teaser-inner { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:40px; }
.community-teaser h2 { max-width:700px; margin-bottom:14px; color:#fffaf0; }
.community-teaser p:not(.eyebrow) { max-width:730px; margin-bottom:0; color:rgba(255,250,239,.68); }
.teaser-seals { display:flex; min-width:142px; padding-left:14px; }
.teaser-seals span { width:52px; height:52px; margin-left:-14px; display:grid; place-items:center; border:1px solid var(--gold); border-radius:50%; background:var(--night); color:var(--gold-light); box-shadow:0 0 0 3px var(--night),0 0 0 4px rgba(183,147,79,.24); font-family:var(--serif); font-size:16px; }

.community-section { position:relative; }
.community-demo-note { margin-bottom:34px; padding:20px 24px; display:grid; grid-template-columns:38px minmax(0,1fr); gap:17px; align-items:start; border:1px solid rgba(117,87,42,.30); background:rgba(222,201,142,.10); box-shadow:inset 0 0 0 5px rgba(255,250,240,.55); }
.community-demo-note > span { width:36px; height:36px; display:grid; place-items:center; border:1px solid var(--gold); transform:rotate(45deg); color:var(--gold-dark); }
.community-demo-note strong { color:var(--wine); font-size:12px; letter-spacing:.16em; text-transform:uppercase; }
.community-demo-note p { margin:4px 0 0; color:#59584f; line-height:1.55; }

.community-layout { display:grid; grid-template-columns:minmax(250px,300px) minmax(0,1fr); gap:40px; align-items:start; }
.community-sidebar { position:sticky; top:142px; display:grid; gap:14px; }
.community-room-card { position:relative; overflow:hidden; padding:34px 29px; border:1px solid rgba(183,147,79,.54); background:radial-gradient(circle at 50% 5%,rgba(183,147,79,.13),transparent 17rem),var(--night); color:#fff; box-shadow:inset 0 0 0 6px var(--night),inset 0 0 0 7px rgba(183,147,79,.16),0 22px 54px rgba(18,21,18,.17); text-align:center; }
.community-room-card::after { content:""; position:absolute; inset:11px; border:1px solid rgba(183,147,79,.18); pointer-events:none; }
.community-room-card h2 { margin:8px 0 13px; color:#fffaf0; font-size:36px; }
.community-room-card p:last-child { margin-bottom:0; color:rgba(255,250,239,.62); font-size:14px; line-height:1.6; }
.room-seal { width:64px; height:64px; margin:0 auto 24px; display:grid; place-items:center; border:1px solid var(--gold); border-radius:50%; color:var(--gold-light); box-shadow:inset 0 0 0 4px var(--night),inset 0 0 0 5px rgba(183,147,79,.28); font-family:var(--serif); font-size:34px; font-style:italic; }
.community-members-panel,.community-rules { border:1px solid var(--line); background:rgba(255,250,240,.72); box-shadow:inset 0 0 0 4px rgba(255,250,240,.72),inset 0 0 0 5px rgba(183,147,79,.09); }
.community-members-panel summary { display:none; padding:17px 20px; color:var(--wine); cursor:pointer; font-family:var(--serif); font-size:22px; }
.community-members { padding:13px 18px; }
.community-member { padding:13px 0; display:flex; gap:13px; align-items:center; border-bottom:1px solid rgba(117,87,42,.13); }
.community-member:last-child { border-bottom:0; }
.community-member > div { min-width:0; }
.community-member strong,.community-member span { display:block; }
.community-member strong { overflow-wrap:anywhere; font-size:13px; }
.community-member div span { color:var(--muted); font-size:11px; line-height:1.35; }
.community-avatar { flex:0 0 auto; width:44px; height:44px; display:grid; place-items:center; border:1px solid var(--gold); border-radius:50%; background:var(--night); color:var(--gold-light); box-shadow:0 0 0 3px var(--cream),0 0 0 4px rgba(183,147,79,.22); font-family:var(--serif); font-size:14px; }
.community-avatar.large { width:58px; height:58px; font-size:18px; }
.community-avatar.small { width:34px; height:34px; font-size:11px; box-shadow:none; }
.community-member .community-avatar,.composer-head .community-avatar,.community-post-head .community-avatar,.community-comment .community-avatar { display:grid; place-items:center; line-height:1; text-align:center; }
.community-rules { padding:24px; }
.community-rules ul { margin:0; padding:0; list-style:none; }
.community-rules li { position:relative; padding:8px 0 8px 18px; color:#595a52; font-size:12px; line-height:1.5; }
.community-rules li::before { content:"◆"; position:absolute; left:0; top:9px; color:var(--gold-dark); font-size:7px; }
.text-button { min-height:44px; padding:10px 12px; border:0; background:transparent; color:var(--gold-dark); cursor:pointer; font-size:11px; font-weight:700; letter-spacing:.10em; text-decoration:underline; text-underline-offset:4px; text-transform:uppercase; }

.community-main { min-width:0; }
.community-composer { scroll-margin-top:140px; position:relative; padding:35px; border:1px solid var(--line); background:rgba(255,250,240,.84); box-shadow:inset 0 0 0 7px rgba(255,250,240,.9),inset 0 0 0 8px rgba(183,147,79,.17),0 24px 64px rgba(30,28,23,.10); }
.community-composer::after { content:"❦"; position:absolute; right:24px; top:20px; color:rgba(183,147,79,.45); font-family:var(--serif); font-size:20px; }
.composer-head { display:flex; gap:17px; align-items:center; margin-bottom:25px; }
.composer-head p { margin-bottom:2px; }
.composer-head strong,.composer-head span { display:block; }
.composer-head span { color:var(--muted); font-size:12px; }
.community-composer textarea { width:100%; min-height:135px; resize:vertical; padding:20px 0; border:0; border-block:1px solid rgba(117,87,42,.23); outline:0; background:transparent; color:var(--ink); font-family:var(--serif); font-size:25px; line-height:1.45; }
.community-composer textarea::placeholder { color:#8a8477; opacity:.75; }
.composer-actions { padding-top:20px; display:flex; flex-wrap:wrap; gap:13px; align-items:center; }
.community-attach-button { min-height:44px; padding:10px 14px; display:inline-flex; align-items:center; border:1px solid rgba(117,87,42,.35); color:var(--gold-dark); cursor:pointer; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.community-attach-button:hover { border-color:var(--gold); background:rgba(183,147,79,.08); }
.composer-help { margin-right:auto; color:var(--muted); font-size:10px; }
.community-form-status { width:100%; min-height:1.5em; margin:12px 0 0; color:var(--wine); font-size:12px; }
.community-upload-preview { display:grid; gap:9px; margin-top:14px; }
.community-upload-item { min-width:0; padding:9px; display:grid; grid-template-columns:64px minmax(0,1fr) 40px; gap:12px; align-items:center; border:1px solid rgba(117,87,42,.19); background:rgba(229,217,197,.33); }
.community-upload-item img,.community-upload-item video,.upload-document-glyph { width:64px; height:54px; object-fit:cover; background:var(--night); }
.upload-document-glyph { display:grid; place-items:center; color:var(--gold-light); font-size:9px; letter-spacing:.13em; }
.community-upload-item strong,.community-upload-item small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.community-upload-item strong { font-size:12px; }
.community-upload-item small { color:var(--muted); font-size:10px; }
.community-upload-item button { width:40px; height:40px; border:1px solid var(--line); background:transparent; cursor:pointer; font-size:22px; }

.community-feed-head { margin:70px 0 26px; display:flex; align-items:end; justify-content:space-between; gap:24px; }
.community-feed-head h2 { margin:0; }
#community-result-count { padding-bottom:8px; color:var(--gold-dark); font-size:10px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.community-filters { margin-bottom:22px; }
.community-feed { display:grid; gap:18px; }
.community-post { position:relative; overflow:hidden; padding:34px; border:1px solid var(--line); background:rgba(255,250,240,.84); box-shadow:inset 0 0 0 6px rgba(255,250,240,.92),inset 0 0 0 7px rgba(183,147,79,.13),0 18px 48px rgba(30,28,23,.075); }
.community-post::before { content:""; position:absolute; left:34px; right:34px; top:0; height:2px; background:linear-gradient(90deg,transparent,var(--gold),transparent); opacity:.55; }
.community-post.new { animation:communityReveal .45s ease both; }
@keyframes communityReveal { from { opacity:0; transform:translateY(16px); box-shadow:0 0 0 rgba(183,147,79,0); } to { opacity:1; transform:none; } }
.community-post-head { display:flex; gap:14px; align-items:center; }
.community-post-meta { min-width:0; display:grid; grid-template-columns:auto 1fr; column-gap:9px; align-items:baseline; }
.community-post-meta strong { grid-column:1; color:var(--ink); font-size:14px; }
.community-post-meta span { grid-column:2; color:var(--muted); font-size:11px; }
.community-post-meta time { grid-column:1/-1; color:#8b8579; font-size:10px; letter-spacing:.04em; }
.community-pin { margin-left:auto; color:var(--gold-dark); font-size:9px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.community-post-body { padding:24px 0 0 58px; }
.community-post-label { display:block; margin-bottom:9px; color:var(--gold-dark); font-size:9px; font-weight:750; letter-spacing:.17em; text-transform:uppercase; }
.community-post-body > p { margin-bottom:0; color:#44463f; font-family:var(--serif); font-size:21px; line-height:1.63; }
.community-attachments { margin-top:25px; display:grid; gap:11px; }
.community-attachments.multiple { grid-template-columns:repeat(2,minmax(0,1fr)); }
.community-image-button { position:relative; overflow:hidden; width:100%; padding:0; display:block; border:1px solid rgba(183,147,79,.48); background:var(--night); cursor:zoom-in; text-align:left; }
.community-image-button::after { content:""; position:absolute; inset:8px; border:1px solid rgba(255,240,197,.32); pointer-events:none; }
.community-image-button img { width:100%; aspect-ratio:16/10; object-fit:cover; filter:saturate(.78) contrast(1.03); transition:transform .35s ease; }
.community-image-button:hover img { transform:scale(1.025); }
.community-image-button span { position:absolute; z-index:2; left:0; right:0; bottom:0; padding:34px 22px 17px; color:#fff7df; background:linear-gradient(transparent,rgba(5,9,7,.9)); font-size:11px; letter-spacing:.05em; }
.community-video { margin:0; border:1px solid rgba(183,147,79,.46); background:var(--night); }
.community-video video { width:100%; max-height:520px; display:block; background:#000; }
.community-video figcaption { padding:12px 17px; color:var(--gold-light); font-size:11px; }
.community-document { min-height:92px; padding:19px; display:flex; gap:17px; align-items:center; border:1px solid rgba(117,87,42,.30); background:rgba(229,217,197,.32); color:inherit; text-decoration:none; transition:border-color .18s ease,background .18s ease; }
.community-document:hover { border-color:var(--gold); background:rgba(183,147,79,.10); }
.document-glyph { width:48px; height:48px; flex:0 0 auto; display:grid; place-items:center; border:1px solid var(--gold); background:var(--night); color:var(--gold-light); font-family:var(--serif); font-size:20px; }
.community-document strong,.community-document small { display:block; }
.community-document strong { font-family:var(--serif); font-size:21px; }
.community-document small { color:var(--muted); font-size:11px; }
.community-post-actions { margin:27px 0 0 58px; padding-top:16px; display:flex; flex-wrap:wrap; gap:8px; border-top:1px solid rgba(117,87,42,.17); }
.community-post-actions button { min-height:44px; padding:8px 11px; border:0; background:transparent; color:#66655e; cursor:pointer; font-size:11px; }
.community-post-actions button:hover { color:var(--wine); }
.community-post-actions button.active { color:var(--wine); font-weight:700; }
.community-post-actions button span { margin-right:5px; color:var(--gold-dark); font-size:18px; vertical-align:-1px; }
.community-post-actions b { min-width:23px; margin-left:5px; padding:1px 6px; display:inline-block; border:1px solid rgba(117,87,42,.22); font-size:9px; }
.community-comments { margin:18px 0 0 58px; padding:22px; border:1px solid rgba(117,87,42,.17); background:rgba(229,217,197,.28); }
.community-comment-list { display:grid; gap:18px; }
.community-comment { display:flex; gap:13px; align-items:flex-start; }
.community-comment > div { min-width:0; }
.community-comment strong { margin-right:8px; font-size:12px; }
.community-comment time { color:var(--muted); font-size:9px; }
.community-comment p { margin:4px 0 0; color:#4f504a; font-size:12px; line-height:1.55; }
.community-no-comment { margin:0; color:var(--muted); font-size:12px; font-style:italic; }
.community-comment-form { margin-top:20px; display:grid; grid-template-columns:minmax(0,1fr) auto; border-top:1px solid rgba(117,87,42,.16); padding-top:16px; }
.community-comment-form input { min-width:0; min-height:44px; padding:10px 13px; border:1px solid rgba(117,87,42,.25); border-right:0; background:rgba(255,250,240,.78); outline:0; }
.community-comment-form button { min-height:44px; padding:10px 16px; border:1px solid var(--wine); background:var(--wine); color:#fff; cursor:pointer; font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.community-empty { padding:55px 25px; border:1px solid var(--line); text-align:center; }
.community-empty > span { color:var(--gold); font-family:var(--serif); font-size:30px; }
.community-empty h3 { margin:12px 0 8px; }
.community-empty p { margin:0; color:var(--muted); }
.community-media-dialog { width:min(1040px,calc(100% - 30px)); padding:0; background:var(--night); color:#fff; }
#community-media-body img { width:100%; max-height:72vh; object-fit:contain; background:#000; }
.community-media-copy { padding:25px 30px 30px; border-top:1px solid rgba(183,147,79,.34); }
.community-media-copy h2 { margin-bottom:5px; color:#fffaf0; font-size:36px; }
.community-media-copy p:last-child { margin:0; color:rgba(255,250,239,.62); }

/* Pied de page */
.site-footer {
  position:relative;
  overflow:hidden;
  background:
    repeating-linear-gradient(135deg,rgba(222,201,142,.016) 0 1px,transparent 1px 16px),
    var(--night);
  border-top:1px solid rgba(183,147,79,.58);
}
.site-footer::before { content:"Sillage"; position:absolute; right:2vw; bottom:-.18em; color:rgba(222,201,142,.035); font-family:var(--serif); font-size:clamp(120px,20vw,280px); line-height:1; }
.footer-main { padding:76px 0 52px; position:relative; }
.footer-ornament { width:160px; margin:24px 0; display:flex; align-items:center; gap:12px; color:var(--gold); font-family:var(--serif); }
.footer-ornament span { flex:1; height:1px; background:linear-gradient(90deg,var(--gold),transparent); }
.footer-ornament span:last-child { transform:scaleX(-1); }
.footer-title { color:var(--gold-light); letter-spacing:.22em; }
.footer-links a { color:rgba(255,250,239,.60); }
.footer-bottom { border-top-color:rgba(183,147,79,.20); }

/* Entrées en scène sobres */
.hero-cipher,.hero-name,.hero-years,.hero-intro,.hero-actions { animation:folioReveal .8s both; }
.hero-name { animation-delay:.08s; }.hero-years{animation-delay:.16s}.hero-intro{animation-delay:.24s}.hero-actions{animation-delay:.32s}
@keyframes folioReveal { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }

@media (max-width: 1180px) {
  .desktop-nav { display:none; }
  .header-tools { justify-self:end; }
  .menu-button { display:inline-grid; }
  .ceremonial-strip { display:none; }
  .mobile-drawer { inset:76px 0 auto; max-height:calc(100dvh - 76px); }
  .community-teaser-inner { grid-template-columns:auto minmax(0,1fr); }
  .community-teaser-inner > .button { grid-column:2; justify-self:start; }
}

@media (max-width: 940px) {
  .community-layout { grid-template-columns:1fr; }
  .community-sidebar { position:static; top:auto; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .community-room-card { grid-column:1/-1; }
  .community-sidebar > .text-button { align-self:end; }
}

@media (max-width: 1080px) {
  .hero-content { width:59%; padding-right:70px; }
  .hero-name { font-size:clamp(72px,9vw,105px); }
  .ceremonial-strip { display:none; }
  .mobile-drawer { inset:76px 0 auto; max-height:calc(100dvh - 76px); }
}

@media (max-width: 820px) {
  .ceremonial-strip { display:none; }
  .header-inner { min-height:72px; }
  .mobile-drawer { inset:72px 0 auto; max-height:calc(100dvh - 72px); }
  .hero-home { min-height:auto; display:flex; flex-direction:column; }
  .hero-home::before { inset:12px; }
  .hero-home::after { top:20px; right:20px; }
  .hero-content { order:1; width:100%; min-height:590px; margin:0; padding:78px 54px 72px; background:radial-gradient(circle at 80% 25%,rgba(88,32,39,.16),transparent 22rem),repeating-linear-gradient(135deg,rgba(222,201,142,.02) 0 1px,transparent 1px 15px),var(--night); }
  .hero-content::before { inset:34px; }
  .hero-content::after { right:48px; bottom:42px; }
  .hero-portrait { order:2; position:relative; inset:auto; min-height:520px; }
  .hero-portrait::after { background:linear-gradient(0deg,rgba(5,9,7,.50),transparent 45%); }
  .portrait-caption { left:34px; bottom:30px; }
  .hero-cipher { width:62px; height:62px; margin-bottom:23px; }
  .hero-name { font-size:clamp(69px,14vw,100px); }
  .door-card:nth-child(n) { margin-top:0; }
  .door-card { min-height:420px; }
  .chapter-panel { padding-left:120px; }
  .chapter.open .chapter-panel { grid-template-columns:1fr; }
  .community-demo-note { margin-bottom:26px; }
  .community-sidebar { grid-template-columns:1fr; }
  .community-members-panel summary { display:flex; align-items:center; justify-content:space-between; min-height:52px; }
  .community-members-panel summary::after { content:"+"; color:var(--gold-dark); font-family:var(--sans); font-size:18px; }
  .community-members-panel[open] summary::after { content:"−"; }
  .community-members-panel summary + .community-members { border-top:1px solid var(--line); }
}

@media (max-width: 620px) {
  body { font-size:15px; }
  .brand-word { font-size:25px; }
  .section { padding:76px 0; }
  .section.compact { padding:58px 0; }
  .section-head { margin-bottom:38px; }
  .page-hero { padding:82px 0 68px; }
  .page-hero::after { inset:10px; }
  .page-hero-flourish { margin-bottom:20px; }
  .page-hero h1 { font-size:clamp(48px,14vw,64px); line-height:.96; }
  .page-hero p { font-size:18px; }
  .hero-content { min-height:600px; padding:70px 29px 64px; }
  .hero-content::before { inset:19px; }
  .hero-content::after { right:33px; bottom:31px; }
  .hero-cipher { margin-left:5px; }
  .hero-name { font-size:clamp(66px,21vw,88px); line-height:.78; }
  .hero-name em { margin-left:.08em; }
  .hero-years { margin-top:28px; }
  .hero-years::before,.hero-years::after { width:28px; }
  .hero-intro { font-size:19px; }
  .hero-actions { flex-direction:column; }
  .hero-actions .button { width:100%; }
  .hero-portrait { min-height:430px; }
  .portrait-caption { left:24px; right:24px; bottom:24px; }
  .quote-band { padding:78px 0; }
  .quote-band blockquote { font-size:clamp(34px,10vw,48px); }
  .door-card { min-height:390px; }
  .memory-player::before { top:15px; right:17px; }
  .player-copy { padding:36px 25px 43px; }
  .stats-row { grid-template-columns:1fr; }
  .stat:not(:last-child) { border-right:0; border-bottom:1px solid var(--line); }
  .stat:not(:last-child)::after { right:50%; top:auto; bottom:-6px; transform:translateX(50%) rotate(45deg); padding:0 5px; background:var(--cream); }
  .bio-photo { min-height:450px; border-width:7px; }
  .chapter::before { font-size:46px; top:25px; }
  .chapter-toggle { padding:27px 0 27px 58px; grid-template-columns:1fr 40px; }
  .chapter-panel { padding-left:0; }
  .timeline::before { left:6px; }
  .timeline-dot,.timeline-event:nth-child(even) .timeline-dot { left:1px; }
  .filter-bar,.tabs { gap:6px; border-bottom:0; }
  .filter-button,.tab-button { border:1px solid var(--line); }
  .memory-card img,.memory-card:nth-child(n) img { height:400px; }
  .work-card { padding:25px; }
  .work-image { margin:-25px -25px 23px; }
  .testimonial { padding:28px; }
  .contribution-form { padding:30px 22px; }
  .light-panel { padding:38px 24px; }
  .footer-main { padding-top:58px; }
  .community-teaser-inner { grid-template-columns:1fr; gap:24px; }
  .community-teaser-inner > .button { grid-column:auto; justify-self:stretch; }
  .teaser-seals { padding-left:14px; }
  .community-demo-note { grid-template-columns:1fr; padding:19px; }
  .community-demo-note > span { width:30px; height:30px; }
  .community-composer,.community-post { padding:24px 21px; }
  .community-composer::after { right:17px; top:14px; }
  .community-composer textarea { min-height:125px; font-size:22px; }
  .composer-actions { align-items:stretch; }
  .community-attach-button { width:100%; justify-content:center; }
  .composer-help { width:100%; margin-right:0; }
  .composer-actions .button { width:100%; }
  .community-upload-item { grid-template-columns:54px minmax(0,1fr) 40px; }
  .community-upload-item img,.community-upload-item video,.upload-document-glyph { width:54px; height:48px; }
  .community-feed-head { margin-top:58px; display:block; }
  #community-result-count { display:block; margin-top:10px; }
  .community-filters { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:thin; }
  .community-filters .filter-button { flex:0 0 auto; }
  .community-post-head { align-items:flex-start; flex-wrap:wrap; }
  .community-pin { flex:0 0 100%; margin:8px 0 0 58px; }
  .community-post-body,.community-post-actions,.community-comments { margin-left:0; padding-left:0; }
  .community-post-body { padding-top:22px; }
  .community-post-actions { padding-top:14px; }
  .community-comments { padding:17px; }
  .community-attachments.multiple { grid-template-columns:1fr; }
  .community-image-button img { aspect-ratio:4/3; }
  .community-post-actions button { flex:1 1 190px; text-align:left; }
  .community-comment-form { grid-template-columns:1fr; gap:8px; }
  .community-comment-form input { border-right:1px solid rgba(117,87,42,.25); }
  .community-comment-form button { width:100%; }
  .community-media-copy { padding:22px; }
  .community-media-copy h2 { font-size:30px; }
}

@media (min-width: 621px) and (max-width: 820px) {
  .section { padding:88px 0; }
  .section.compact { padding:66px 0; }
  .page-hero { padding:92px 0 74px; }
  .bio-photo { min-height:500px; }
}

/* Clavier, contraste et robustesse des ornements. */
:where(a,button,input,textarea,select,summary,[tabindex]:not([tabindex="-1"])):focus-visible {
  outline:2px solid var(--gold-dark);
  outline-offset:4px;
}
:is(.site-header,.mobile-drawer,.section.dark,.site-footer,.film-dialog,.light-panel) :focus-visible { outline-color:var(--gold-light); }
.field input:focus-visible,.field textarea:focus-visible,.field select:focus-visible,.search-box:focus-visible { outline:2px solid var(--gold-dark); outline-offset:2px; }
.page-hero::after,.site-footer::before,.chapter::before,.memory-player::before,.light-panel::before,.light-panel::after,.memory-card::after { pointer-events:none; }
.light-panel::before,.light-panel::after { z-index:0; }
.light-panel > * { position:relative; z-index:1; }
.dialog-close svg,.memory-save svg,.film-controls button svg { display:block; width:19px; height:19px; pointer-events:none; }
dialog { max-height:calc(100dvh - 24px); overflow:auto; }
.search-dialog { overflow:auto; }
.search-results { max-height:min(420px,calc(100dvh - 190px)); }
.eyebrow,.button,.filter-button,.tab-button,.nav-link { font-size:11px; }
.filter-button,.tab-button { min-height:44px; }
.timeline-card::before,.memory-player::before,.memory-caption span { font-size:10px; }
.footer-bottom { color:rgba(255,255,255,.60); }
.memory-save,.lightbox-nav button,.film-controls button { width:44px; height:44px; }
@media (max-width:620px) { .icon-button { width:44px; height:44px; } }

@media (prefers-reduced-motion: reduce) {
  .site-header::after,.hero-cipher,.hero-name,.hero-years,.hero-intro,.hero-actions { animation:none !important; }
}
