/* ==========================================================
   Harmonie d'Olivet — feuille de style du site
   Palette issue du logo : noir, bronze, gris clair
   ========================================================== */
:root {
  --noir: #000000;
  --scene: #0a0908;          /* fond de scène, à peine réchauffé */
  --bronze: #ac9277;         /* bronze du logo */
  --laiton: #d9c4a3;         /* reflet de laiton */
  --bronze-fonce: #7d6750;
  --papier: #f0f0f0;         /* fond gris clair du logo */
  --papier-2: #e6e4e1;
  --graphite: #2c2a28;
  --gris: #8b8782;
  --blanc: #ffffff;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --nav-w: 92px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--scene);
  color: var(--papier);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bronze); color: var(--noir); padding: 10px 16px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; }
.muted { color: var(--gris); }
.small { font-size: .88rem; }
.pre { white-space: pre-line; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6em 1.15em; font-size: .85rem; }
.btn-bronze { background: var(--bronze); color: var(--noir); }
.btn-bronze:hover { background: var(--laiton); }
.btn-ghost { border-color: rgba(240, 240, 240, .35); color: var(--papier); background: transparent; }
.btn-ghost:hover { border-color: var(--laiton); color: var(--laiton); }
.btn-dark { background: var(--noir); color: var(--papier); }
.btn-dark:hover { background: var(--graphite); }

/* ---------- Logo (reprise vectorielle du logo d'origine) ---------- */
.logo { width: 196px; height: auto; overflow: visible; }
.logo text { fill: currentColor; }
.logo-h { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 78px; }
.logo-o { fill: none; stroke: var(--bronze); stroke-width: 3.2; }
.logo-orch { font-family: var(--sans); font-weight: 400; font-size: 17px; letter-spacing: 6.3px; fill: var(--gris) !important; }
.logo-harm { font-family: var(--sans); font-weight: 500; font-size: 22px; letter-spacing: -.2px; }
.logo-d { font-size: 15px; font-weight: 500; }
.logo-ol { font-weight: 600; }

/* ---------- Barre du haut ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
  color: var(--papier); background: var(--noir);
  border-bottom: 1px solid rgba(240, 240, 240, .08);
}
/* accueil : la barre flotte sur la photo, puis devient opaque */
.topbar.on-hero { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background .3s, border-color .3s; }
.topbar.on-hero.scrolled { background: var(--noir); border-bottom-color: rgba(240, 240, 240, .08); }
.brand { color: inherit; display: block; }
.topbar .logo { width: 168px; }
.menu { display: flex; gap: clamp(14px, 2vw, 30px); }
.menu a {
  text-decoration: none; font-size: .92rem; font-weight: 500; position: relative; padding: 6px 0; opacity: .82;
  transition: opacity .3s;
}
.menu a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 7px; height: 5px; border-radius: 50%;
  background: var(--bronze); transform: translateX(-50%) rotate(-20deg) scale(0); transition: transform .35s var(--ease);
}
.menu a:hover, .menu a.active { opacity: 1; }
.menu a:hover::after, .menu a.active::after { transform: translateX(-50%) rotate(-20deg) scale(1); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.sound-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(240, 240, 240, .3); background: transparent;
  display: grid; place-items: center; cursor: pointer;
}
.sound-toggle .eq { display: flex; gap: 3px; align-items: flex-end; height: 14px; }
.sound-toggle .eq i { width: 2px; height: 4px; background: currentColor; border-radius: 2px; transition: height .3s; }
.sound-toggle[aria-pressed="true"] { border-color: var(--bronze); color: var(--bronze); }
.sound-toggle[aria-pressed="true"] .eq i { animation: eq 1s infinite ease-in-out; }
.sound-toggle[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -.3s; }
.sound-toggle[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -.6s; }
.sound-toggle[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1180px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: 0; background: var(--noir); flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 90px var(--gutter) 40px; gap: 6px; transform: translateY(-100%); transition: transform .6s var(--ease); z-index: -1;
  }
  .menu.open { transform: none; }
  .menu a { font-family: var(--serif); font-size: clamp(2rem, 8vw, 3.2rem); font-weight: 500; opacity: 1; line-height: 1.2; }
  .menu a::after { display: none; }
}
@media (max-width: 600px) { .hide-sm { display: none; } .topbar .logo { width: 140px; } }

/* ---------- Héro ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  overflow: hidden; background: var(--noir); isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  position: absolute; right: 0; top: 0; height: 100%; width: 72%; object-fit: cover; object-position: 75% center;
  opacity: .55; filter: saturate(.75) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.hero-bg .spot {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 70% 15%, rgba(217, 196, 163, .18), transparent 60%),
    linear-gradient(0deg, var(--noir) 0%, transparent 35%);
}
.strings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-clef {
  position: absolute; z-index: -1; left: calc(var(--gutter) + 6px); top: 50%;
  height: min(66vh, 620px); width: auto; transform: translateY(-50%);
  overflow: visible; pointer-events: none;
}
.hero-clef path { fill: rgba(172, 146, 119, 0); stroke: var(--bronze); stroke-width: 5; vector-effect: non-scaling-stroke; }
.hero-inner {
  position: relative; padding: 140px var(--gutter) 160px;
  width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto;
}
@media (min-width: 1100px) { .hero-inner { padding-left: calc(var(--gutter) + clamp(80px, 14vw, 240px)); } }
@media (max-width: 1099px) { .hero-inner { padding-left: calc(var(--gutter) + clamp(60px, 18vw, 160px)); } }
.hero-kicker { margin: 0 0 18px; color: var(--laiton); font-weight: 500; font-size: .95rem; letter-spacing: .02em; }
.hero-title {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(3.2rem, 10.5vw, 9.5rem); line-height: .92; letter-spacing: -.02em;
  margin: 0 0 28px; font-variation-settings: "opsz" 96;
}
.hero-title .ch { display: inline-block; }
.hero-lede { max-width: 34ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; color: rgba(240, 240, 240, .82); margin: 0 0 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
/* ---------- Ruban ---------- */
.ribbon { background: var(--bronze); color: var(--noir); overflow: hidden; border-block: 1px solid var(--noir); }
.ribbon-track { display: flex; width: max-content; gap: 0; padding: 14px 0; animation: ribbon 46s linear infinite; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.2rem); white-space: nowrap; }
.ribbon-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.ribbon-track svg { width: 22px; height: 30px; fill: var(--noir); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { position: relative; padding: clamp(60px, 8vw, 110px) 0; overflow: hidden; }
.paper { background: var(--papier); color: var(--noir); }
.dark { background: var(--scene); color: var(--papier); }
.bronze { background: var(--bronze); color: var(--noir); }
.paper .muted, .bronze .muted { color: #5f5a54; }
.rich p { margin: 0 0 1.1em; max-width: 64ch; }
.rich p:last-child { margin-bottom: 0; }

/* ---------- Orchestre ---------- */
.orch-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .orch-grid { grid-template-columns: 1fr; } }

.measures {
  margin: clamp(50px, 7vw, 90px) 0 0; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 3px double var(--noir); border-right: 4px solid var(--noir);
  box-shadow: inset -7px 0 0 -6px var(--noir);
}
.measure { position: relative; padding: 30px 26px 26px; border-right: 1px solid var(--noir); min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; }
.measure:last-child { border-right: 0; }
.measure::before {
  content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 49px;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .55) 0 1px, transparent 1px 12px);
}
.measure .mv { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; position: relative; z-index: 1; margin-top: 58px; }
.measure .ml { font-size: .92rem; color: #5f5a54; margin-top: 6px; }
.measure .mnote { position: absolute; z-index: 1; width: 20px; top: 0; fill: var(--bronze); }
@media (max-width: 860px) { .measures { grid-template-columns: repeat(2, 1fr); } .measure:nth-child(2) { border-right: 0; } .measure:nth-child(-n+2) { border-bottom: 1px solid var(--noir); } }

.rehearsal {
  display: grid; grid-template-columns: 110px 1fr; gap: 30px; align-items: center;
  background: var(--noir); color: var(--papier); padding: clamp(28px, 4vw, 54px); border-radius: var(--radius);
}
.rehearsal .rh-title { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.4rem; margin: 0 0 6px; color: var(--laiton); }
.rehearsal .big { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; margin: 0 0 10px; }
.rehearsal p { margin: 0 0 10px; max-width: 60ch; }
.rehearsal .muted { color: var(--gris); margin-bottom: 22px; }
.rehearsal-metro svg { width: 100%; height: auto; }
.metro-swing { transform-origin: 60px 140px; animation: metro 1.2s ease-in-out infinite alternate; animation-play-state: paused; }
.is-in .metro-swing { animation-play-state: running; }
@keyframes metro { from { transform: rotate(-28deg); } to { transform: rotate(28deg); } }
.metro-body { fill: none; stroke: var(--bronze); stroke-width: 2; }
.metro-arm { stroke: var(--laiton); stroke-width: 3; stroke-linecap: round; }
.metro-weight { fill: var(--laiton); }
@media (max-width: 640px) { .rehearsal { grid-template-columns: 1fr; } .rehearsal-metro { width: 70px; } }

.reel { margin-top: clamp(50px, 7vw, 90px); }
.reel-track { display: flex; gap: 16px; padding: 0 var(--gutter) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--bronze) transparent; }
.reel-track figure { margin: 0; flex: none; height: clamp(220px, 34vw, 400px); border-radius: var(--radius); overflow: hidden; background: var(--papier-2); scroll-snap-align: start; cursor: zoom-in; }
.reel-track img { height: 100%; width: auto; object-fit: cover; }

/* ---------- Direction ---------- */
.dir-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
@media (max-width: 900px) { .dir-grid { grid-template-columns: 1fr; } }
.dir-portrait { position: relative; margin: 0; }
.dir-frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 2 / 3; background: var(--graphite); }
.dir-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05); transition: filter 1s; }
.dir-portrait:hover .dir-frame img { filter: none; }
.beat { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.beat path { fill: none; stroke: var(--laiton); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: var(--len, 1400); stroke-dashoffset: var(--len, 1400); transition: stroke-dashoffset 3.2s cubic-bezier(.45, 0, .2, 1) .4s; }
.beat .beat-glow { stroke: rgba(217, 196, 163, .25); stroke-width: 9; }
.is-in .beat path { stroke-dashoffset: 0; }
.dir-portrait figcaption { margin-top: 12px; font-size: .85rem; color: var(--gris); font-style: italic; font-family: var(--serif); }
.dir-name { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.1; margin: 0 0 28px; }
.dir-name small { display: block; font-family: var(--sans); font-size: .95rem; color: var(--laiton); margin-top: 8px; }
.jalons { list-style: none; padding: 0; margin: 48px 0 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.jalons::before {
  content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 49px;
  background: repeating-linear-gradient(180deg, rgba(240, 240, 240, .28) 0 1px, transparent 1px 12px);
}
.jalons li { position: relative; padding-top: 80px; padding-right: 12px; }
.jalons .jn { position: absolute; left: 4px; width: 15px; height: 11px; border-radius: 50%; background: var(--bronze); transform: rotate(-22deg); }
.jalons .jn::after { content: ""; position: absolute; right: 0; bottom: 5px; width: 1.5px; height: 34px; background: var(--bronze); }
.jalons strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--laiton); }
.jalons span { font-size: .9rem; color: rgba(240, 240, 240, .75); line-height: 1.35; display: block; }
@media (max-width: 600px) { .jalons { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } }

/* ---------- Agenda ---------- */
.events { list-style: none; margin: 0; padding: 0; }
.event {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 30px; align-items: center;
  padding: 30px 0; border-top: 1px solid rgba(0, 0, 0, .3); position: relative;
}
.event:last-child { border-bottom: 1px solid rgba(0, 0, 0, .3); }
.ev-date { font-family: var(--serif); line-height: 1; }
.ev-date .d { font-size: 3.8rem; display: block; }
.ev-date .m { font-size: 1.05rem; font-style: italic; }
.ev-title { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.15; margin: 0 0 6px; font-weight: 500; }
.ev-meta { margin: 0; font-size: .95rem; }
.ev-desc { margin: 8px 0 0; max-width: 62ch; font-size: .95rem; }
.ev-img { width: 140px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.event:hover .ev-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
@media (max-width: 700px) { .event { grid-template-columns: 82px 1fr; } .ev-img { display: none; } .ev-date .d { font-size: 2.6rem; } }
.events-empty { display: grid; grid-template-columns: 160px 1fr; gap: 30px; align-items: center; max-width: 820px; }
.events-empty svg { width: 160px; height: auto; overflow: visible; }
.events-empty path { fill: var(--noir); }
.events-empty p { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; margin: 0 0 22px; }
.events-empty strong { font-style: italic; font-weight: 500; }
@media (max-width: 600px) { .events-empty { grid-template-columns: 1fr; } .events-empty svg { width: 110px; } }
.past { margin-top: clamp(50px, 7vw, 90px); }
.past-events .event { opacity: .7; padding: 18px 0; }
.past-events .ev-date .d { font-size: 2.4rem; }

/* ---------- Actualités ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(22px, 3vw, 40px); position: relative; }
.post { background: var(--blanc); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.posts:not(.posts-home) .post:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
@media (max-width: 760px) { .posts .post:first-child { grid-template-columns: 1fr; } }
.post-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--papier-2); }
.posts:not(.posts-home) .post:first-child .post-img { aspect-ratio: auto; min-height: 320px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.post time { font-size: .85rem; color: var(--bronze-fonce); font-weight: 600; }
.post h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; margin: 0; }
.posts:not(.posts-home) .post:first-child h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.post p { margin: 0; color: #3b3834; }
.post .more-link { margin-top: auto; padding-top: 10px; font-weight: 600; background: none; border: 0; padding-left: 0; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.post .full { display: none; }
.post.open .full { display: block; }
.post.open .excerpt { display: none; }

/* ---------- Stage ---------- */
.stage-top { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(30px, 6vw, 90px); align-items: end; }
.stage-intro { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.3; margin: 0; }
.stage-dates { border-left: 1px solid var(--bronze); padding-left: 24px; }
.stage-dates .sd-label { display: block; color: var(--gris); font-size: .85rem; }
.stage-dates strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1.1; color: var(--laiton); margin: 6px 0 10px; }
@media (max-width: 860px) { .stage-top { grid-template-columns: 1fr; } }

.seating { margin: clamp(50px, 7vw, 90px) 0; display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: end; }
.seating svg { width: 100%; height: auto; overflow: visible; }
.seat-arc { fill: rgba(172, 146, 119, .12); stroke: var(--bronze); stroke-width: 1; cursor: pointer; transition: fill .3s; }
.seat-arc:hover, .seat-arc.on { fill: rgba(172, 146, 119, .5); }
.seat-dot { fill: var(--laiton); }
.seat-label { fill: var(--papier); font-family: var(--sans); font-size: 13px; font-weight: 600; pointer-events: none; paint-order: stroke; stroke: var(--scene); stroke-width: 4px; stroke-linejoin: round; }
.seat-count { fill: var(--laiton); font-family: var(--serif); font-size: 15px; pointer-events: none; paint-order: stroke; stroke: var(--scene); stroke-width: 4px; }
.podium { fill: var(--bronze); }
.seating-total { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 8px; }
.seating-total strong { display: block; font-size: 5rem; line-height: 1; font-weight: 400; color: var(--laiton); }
.seat-hover { min-height: 1.6em; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--laiton); }
@media (max-width: 860px) { .seating { grid-template-columns: 1fr; } }

.stage-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(240, 240, 240, .2); }
.si { padding: 28px 26px 28px 0; border-right: 1px solid rgba(240, 240, 240, .12); }
.si + .si { padding-left: 26px; }
.si:last-child { border-right: 0; }
.si h2 { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--laiton); margin: 0 0 10px; font-size: 1.25rem; }
.si p { margin: 0 0 8px; font-size: .95rem; color: rgba(240, 240, 240, .85); }
.price-big { font-family: var(--serif); font-size: 3rem !important; line-height: 1; color: var(--papier) !important; }
@media (max-width: 960px) { .stage-info { grid-template-columns: 1fr 1fr; } .si { padding: 24px 20px 24px 0 !important; border-right: 0; border-bottom: 1px solid rgba(240,240,240,.12); } }
@media (max-width: 560px) { .stage-info { grid-template-columns: 1fr; } }
.stage-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.stage-mosaic { margin-top: clamp(50px, 7vw, 90px); display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 18vw, 260px); gap: 6px; }
.stage-mosaic figure { margin: 0; overflow: hidden; cursor: zoom-in; background: var(--graphite); }
.stage-mosaic figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.stage-mosaic figure:nth-child(6) { grid-column: span 2; }
.stage-mosaic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .stage-mosaic { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Galerie ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--papier-2); margin-bottom: 40px; position: relative; }
.tabs button { border: 0; background: transparent; padding: .7em 1.4em; border-radius: 999px; font-weight: 600; cursor: pointer; transition: background .3s, color .3s; }
.tabs button[aria-selected="true"] { background: var(--noir); color: var(--papier); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; position: relative; }
.album { position: relative; cursor: pointer; border: 0; padding: 0; background: none; text-align: left; }
.album .stack { position: relative; aspect-ratio: 4 / 3; }
.album .stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); transition: transform .4s var(--ease); background: var(--papier-2); }
.album .stack img:nth-child(2) { transform: rotate(-3deg) translate(-4px, 2px); filter: brightness(.85); }
.album .stack img:nth-child(3) { transform: rotate(3deg) translate(4px, 2px); filter: brightness(.7); }
.album .stack img:first-child { z-index: 3; }
.album .stack img:nth-child(2) { z-index: 2; }
.album:hover .stack img:nth-child(2) { transform: rotate(-7deg) translate(-16px, -4px); }
.album:hover .stack img:nth-child(3) { transform: rotate(7deg) translate(16px, -4px); }
.album:hover .stack img:first-child { transform: translateY(-6px); }
.album h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.2; margin: 14px 0 2px; }
.album span { font-size: .85rem; color: #5f5a54; }
.tile { margin: 0; cursor: zoom-in; border: 0; padding: 0; background: var(--blanc); border-radius: var(--radius); overflow: hidden; text-align: left; }
.tile img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.tile:hover span { text-decoration: underline; }
.tile span { display: block; padding: 10px 12px; font-size: .85rem; color: #3b3834; }
.gallery .tile.press img { aspect-ratio: 4 / 3; }
.more { margin-top: 36px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 110px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.field { position: relative; margin-bottom: 26px; }
.field label { display: block; font-size: .85rem; color: var(--laiton); margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(240, 240, 240, .3); color: var(--papier);
  font: inherit; font-size: 1.05rem; padding: 10px 0; border-radius: 0; transition: border-color .3s;
}
.field select option { color: #000; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--bronze); }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; margin-top: 16px; }
.form-status.ok { color: var(--laiton); }
.form-status.err { color: #ff9d8a; }
.contact-side { display: grid; gap: 30px; align-content: start; }
.contact-side h2 { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--laiton); margin: 0 0 6px; font-size: 1.2rem; }
.contact-side p { margin: 0 0 4px; }
.contact-side a { text-decoration-color: var(--bronze); text-underline-offset: 4px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(240,240,240,.3); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--bronze); border-color: var(--bronze); color: var(--noir); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--graphite); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .94); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; max-height: 100vh; padding: 50px 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 2px; }
.lightbox figcaption { color: var(--laiton); font-family: var(--serif); font-style: italic; text-align: center; }
.lightbox button { background: none; border: 0; color: var(--papier); font-size: 3rem; cursor: pointer; height: 100%; }
.lightbox button:hover { color: var(--laiton); }
.lb-close { position: absolute; top: 10px; right: 20px; height: auto !important; }
@media (max-width: 600px) { .lightbox { grid-template-columns: 40px 1fr 40px; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-clef path { fill: rgba(172, 146, 119, .25); stroke-dashoffset: 0 !important; }
  [data-reveal], .page-title .ch, .hero-title .ch { opacity: 1 !important; transform: none !important; }
  .beat path { stroke-dashoffset: 0 !important; }
}


/* ==========================================================
   Pages intérieures
   ========================================================== */
.page-head {
  position: relative; overflow: hidden; background: var(--noir);
  padding: clamp(56px, 8vw, 110px) 0 clamp(44px, 6vw, 80px);
}
/* le titre est posé sur une portée (5 lignes, interligne 22 px) précédée d'une clé de sol */
.title-staff { position: relative; padding-left: 74px; min-height: 120px; display: flex; align-items: center; }
.page-staff {
  position: absolute; left: -100vw; right: -100vw; top: 50%; height: 89px; transform: translateY(-50%);
  display: flex; flex-direction: column; justify-content: space-between; pointer-events: none;
}
.page-staff i { height: 1px; background: rgba(172, 146, 119, .3); transform-origin: 0 50%; animation: staffIn 1.1s var(--ease) both; }
.page-staff i:nth-child(2) { animation-delay: .06s; } .page-staff i:nth-child(3) { animation-delay: .12s; }
.page-staff i:nth-child(4) { animation-delay: .18s; } .page-staff i:nth-child(5) { animation-delay: .24s; }
@keyframes staffIn { from { transform: scaleX(0); } }
/* clé de sol à l'échelle : interligne 22 px → 156 px de haut, ligne du haut 31 px sous le haut du dessin */
.page-clef { position: absolute; left: 0; top: 50%; height: 156px; width: 58px; transform: translateY(-75.5px); fill: var(--bronze); animation: fadeIn .8s .2s both; }
@keyframes fadeIn { from { opacity: 0; } }
.page-title {
  position: relative; margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -.02em; color: var(--papier);
  font-variation-settings: "opsz" 96;
}
.page-title .ch, .hero-title .ch {
  display: inline-block; opacity: 0; transform: translateY(-.55em) rotate(var(--r, 0deg));
  animation: noteDrop .9s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i, 0) * 28ms + .15s);
}
@keyframes noteDrop { to { opacity: 1; transform: none; } }
.page-lede { position: relative; max-width: 60ch; margin: clamp(26px, 4vw, 44px) 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; color: var(--laiton); }
.page-lede:empty { display: none; }

.sub-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; margin: 0 0 clamp(24px, 4vw, 40px); letter-spacing: -.01em; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 40px); }
.row-head .sub-title { margin: 0; }
.link-more { font-weight: 600; text-underline-offset: 5px; text-decoration-color: var(--bronze); }
.big-serif { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; margin: 0 0 10px; }

/* ---------- Accueil ---------- */
.topbar.on-hero + main .hero { min-height: 100svh; }
.hero { min-height: 92svh; }
.next-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 6vw, 90px); }
@media (max-width: 860px) { .next-grid { grid-template-columns: 1fr; } }
.next-side { border-left: 1px solid rgba(172, 146, 119, .4); padding-left: clamp(20px, 3vw, 40px); }
.next-side .muted { margin: 0 0 20px; }
.next-event { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.next-event .ev-date .d { font-size: 4.6rem; }
.next-event .ev-date { color: var(--laiton); }
.next-event h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; margin: 4px 0 8px; }
.next-event p { margin: 0 0 6px; color: rgba(240, 240, 240, .8); }
.next-event .btn { margin-top: 14px; }
.next-empty { font-family: var(--serif); font-size: 1.4rem; color: rgba(240, 240, 240, .8); margin: 0 0 18px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--graphite); border-radius: var(--radius); overflow: hidden; }
.card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #1a1816; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { display: grid; gap: 4px; padding: 18px 18px 22px; }
.card-body strong { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; }
.card-body span { font-size: .92rem; color: rgba(240, 240, 240, .72); line-height: 1.45; }
.card:hover strong { color: var(--laiton); }

/* ---------- Apparition au défilement (simple, sans bibliothèque) ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.cards .card:nth-child(2) { transition-delay: .08s; } .cards .card:nth-child(3) { transition-delay: .16s; } .cards .card:nth-child(4) { transition-delay: .24s; }
.measure .mnote { transform: translateY(-80px) rotate(-30deg); opacity: 0; transition: transform .9s cubic-bezier(.3, 1.6, .5, 1), opacity .4s; }
.measures.is-in .mnote { transform: none; opacity: 1; }
.measures.is-in .measure:nth-child(2) .mnote { transition-delay: .12s; } .measures.is-in .measure:nth-child(3) .mnote { transition-delay: .24s; } .measures.is-in .measure:nth-child(4) .mnote { transition-delay: .36s; }
.jalons .jn { opacity: 0; translate: 0 -40px; transition: translate .9s cubic-bezier(.3, 1.6, .5, 1), opacity .4s; }
.jalons.is-in .jn { opacity: 1; translate: 0 0; }
.jalons.is-in li:nth-child(2) .jn { transition-delay: .12s; } .jalons.is-in li:nth-child(3) .jn { transition-delay: .24s; } .jalons.is-in li:nth-child(4) .jn { transition-delay: .36s; }
.dir-frame { clip-path: inset(0 0 0 0); }
.seat-arc, .seat-dots, .seat-label, .seat-count { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.seating.is-in .seat-arc, .seating.is-in .seat-dots, .seating.is-in .seat-label, .seating.is-in .seat-count { opacity: 1; }
.hero-clef path { stroke-dasharray: var(--len, 9000); stroke-dashoffset: var(--len, 9000); animation: clefDraw 2.6s cubic-bezier(.45, 0, .2, 1) .2s forwards; }
@keyframes clefDraw { 90% { fill: rgba(172, 146, 119, 0); } to { stroke-dashoffset: 0; fill: rgba(172, 146, 119, .22); } }
.hero-kicker, .hero-lede, .hero-cta { animation: riseIn .9s var(--ease) both; }
.hero-lede { animation-delay: .9s; } .hero-cta { animation-delay: 1.05s; } .hero-kicker { animation-delay: .5s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Pied de page ---------- */
.footer { background: var(--noir); color: var(--papier); padding: 56px 0 28px; border-top: 1px solid rgba(240, 240, 240, .1); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 36px; align-items: start; }
.footer .logo { width: 180px; }
.foot-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 30px; justify-content: start; }
.foot-nav a { text-decoration: none; font-size: .95rem; opacity: .85; }
.foot-nav a:hover { opacity: 1; color: var(--laiton); }
.foot-side .pre { margin: 0 0 14px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(240, 240, 240, .08); }
.partners { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .88rem; color: var(--gris); }
.partners a { text-decoration: none; }
.partners a:hover { color: var(--laiton); }
.copy { margin: 0; font-size: .85rem; color: var(--gris); }
.copy a { color: var(--gris); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* titres modifiables dans l'admin : masqués jusqu'au chargement du vrai texte (évite un changement visible) */
.page-title[data-k]:not(.ready), .hero-title[data-k]:not(.ready) { visibility: hidden; }
