/* V5 : mise en page commune. Couleurs, polices et traitement photo viennent de theme.css.
   Mobile d'abord, grille de 8 px, un seul alignement à gauche. Hors de l'accueil, les images
   sont accrochées dans la grille (même format, légende dessous) et jamais agrandies au-delà
   de leur définition : c'est ce qui fait tenir ensemble photos, tableaux et pochettes. */
@property --tint { syntax: '<color>'; inherits: true; initial-value: #777; }

:root {
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 64px;
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: clamp(14px, 1.5vw, 22px);
  --r-lg: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7vw, 4.75rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
@media (min-width: 1024px) { body { font-size: 17px; } }
.num { font-family: var(--font-display); font-variant-numeric: oldstyle-nums; }
::selection { background: var(--accent); color: var(--accent-contrast); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 40px; } }
@media (min-width: 1280px) { .container { padding-inline: 56px; } }

/* ---------- Boutons et liens ---------- */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: var(--s4); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: .005em; background: var(--surface-2); color: var(--text); transition: background .3s var(--ease), color .3s ease; }
.btn:hover { background: var(--surface-3); }
.btn:not(.btn-primary) { background: none; padding-inline: 2px; }
.btn:not(.btn-primary):hover { background: none; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover { background: var(--accent-hover); }
.btn svg { display: block; flex: none; }
.btn [data-icon] { display: grid; place-items: center; }
.btn { line-height: 1; }
.link { font-weight: 600; font-size: .95rem; color: var(--link); background: linear-gradient(currentColor 0 0) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease); white-space: nowrap; }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.credit { font-size: .8rem; line-height: 1.5; color: var(--muted); }

/* ---------- En-tête : une barre flottante aux bords arrondis, en verre sombre ---------- */
.nav { position: fixed; top: calc(10px + env(safe-area-inset-top)); left: 0; right: 0; z-index: 50; pointer-events: none; transition: transform .55s var(--ease); view-transition-name: nav; }
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }
.nav.is-hidden:focus-within { transform: none; }
.nav-bar { pointer-events: auto; width: min(100% - 20px, 1160px); height: 56px; margin-inline: auto; padding: 0 6px 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 999px; color: #f2eee7; background: rgba(16, 15, 13, .5); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .75); transition: background .4s ease, box-shadow .4s ease; }
.nav.is-solid .nav-bar { background: rgba(28, 26, 23, .8); }
.brand { font-family: var(--font-display); font-size: 1.25rem; font-variant-caps: all-small-caps; letter-spacing: .14em; white-space: nowrap; }
.nav-links { display: none; }
.menu-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: background .25s ease; }
.menu-btn:hover { background: rgba(255, 255, 255, .08); }
.burger { position: relative; width: 24px; height: 12px; }
.burger i { position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease), width .5s var(--ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 10.5px; left: 8px; }
.menu-btn:hover .burger i:last-child { left: 0; }
.nav.menu-open .burger i:first-child { top: 5.25px; transform: rotate(45deg); }
.nav.menu-open .burger i:last-child { top: 5.25px; left: 0; transform: rotate(-45deg); }
@media (min-width: 960px) {
  .menu-btn { display: none; }
  .nav-links { display: flex; align-items: center; gap: 2px; font-size: .95rem; }
  .nav-links a { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; color: rgba(242, 238, 231, .78); transition: color .2s ease, background .25s ease; }
  .nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
  .nav-links a[aria-current='page'] { color: #fff; background: rgba(255, 255, 255, .11); }
  .nav-links .nav-cta { margin-left: 8px; padding: 0 20px; background: #f2eee7; color: #0d0c0b; font-weight: 600; }
  .nav-links .nav-cta:hover, .nav-links .nav-cta[aria-current='page'] { background: #fff; color: #0d0c0b; }
  .nav-links .nav-cta { transition: background .3s ease, transform .35s var(--ease); }
  .nav-links .nav-cta:active { transform: scale(.96); }
}
.roll { position: relative; display: block; overflow: hidden; height: 1.3em; line-height: 1.3; }
.roll > span { display: block; transition: transform .55s var(--ease); }
.roll > span + span { position: absolute; top: 100%; left: 0; }
.cta-arrow { display: inline-flex; align-items: center; justify-content: flex-end; flex: none; width: 0; height: 14px; overflow: hidden; transition: width .5s var(--ease); }
.cta-arrow svg { flex: none; transform: translate(-12px, 12px); transition: transform .5s var(--ease); }
@media (hover: hover) {
  .nav-cta:hover .roll > span { transform: translateY(-100%); }
  .nav-cta:hover .cta-arrow { width: 20px; }
  .nav-cta:hover .cta-arrow svg { transform: none; }
}
.nav-cta:focus-visible .roll > span { transform: translateY(-100%); }
.nav-cta:focus-visible .cta-arrow { width: 20px; }
.nav-cta:focus-visible .cta-arrow svg { transform: none; }
.menu { position: fixed; inset: 0; z-index: 49; background: radial-gradient(120% 70% at 50% 40%, #1a1816, var(--bg)); color: var(--text); padding: calc(var(--nav-h) + 16px) 20px calc(32px + env(safe-area-inset-bottom)); display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; text-align: center; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.nav.menu-open .nav-bar { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 3.25rem); line-height: 1.22; color: var(--text-2); transition: color .25s ease; }
.menu nav a:hover, .menu nav a[aria-current='page'] { color: var(--text); }
.menu nav a[aria-current='page'] { font-style: italic; }
.menu.is-open nav a, .menu.is-open .menu-foot { animation: menu-in .7s var(--ease) both; }
.menu.is-open nav a:nth-child(2) { animation-delay: .05s; } .menu.is-open nav a:nth-child(3) { animation-delay: .1s; }
.menu.is-open nav a:nth-child(4) { animation-delay: .15s; } .menu.is-open nav a:nth-child(5) { animation-delay: .2s; }
.menu.is-open nav a:nth-child(6) { animation-delay: .25s; } .menu.is-open .menu-foot { animation-delay: .32s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } }
.menu-foot { display: grid; gap: 6px; font-size: .95rem; }
.menu-foot p { margin: 0; color: var(--muted); font-family: var(--font-display); font-style: italic; font-size: 1.1rem; }
.menu-foot a { color: var(--text-2); }

/* ---------- Accueil : la photo de Nicolas Schmetz, à sa vraie proportion ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #000; }
.hero-media { display: block; position: relative; overflow: hidden; }
.hero-media img { width: 100%; aspect-ratio: 600 / 637; object-fit: cover; animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.05); } }
.hero-media::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(rgba(0,0,0,0), #000); }
.hero-content { position: relative; margin-top: -88px; padding: 0 20px var(--s6); }
.hero-content > * { animation: rise-in 1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .24s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } }
.hero h1 { font-size: clamp(3.25rem, 14vw, 6rem); line-height: .95; letter-spacing: -.02em; }
.hero-role { margin: 14px 0 0; font-size: 1.1rem; color: rgba(255, 255, 255, .84); }
.hero .link { color: #fff; }
.hero .btn-primary { background: #f2eee7; color: #0d0c0b; }
.hero .btn-primary:hover { background: #fff; }
.hero .btns { margin-top: var(--s4); }
@media (min-width: 600px) { .hero-media img { aspect-ratio: 1600 / 637; } .hero-content { margin-top: -48px; padding-inline: 40px; } }
@media (min-width: 900px) {
  .hero-media img { aspect-ratio: 1600 / 637; max-height: 100svh; }
  .hero-media::after { height: 28%; }
  .hero-content { position: absolute; inset: 0 0 0 65.5%; margin: 0; padding: var(--nav-h) 40px 0 0; display: flex; flex-direction: column; justify-content: center; }
  .hero h1 { font-size: clamp(2.75rem, 4.8vw, 5.25rem); }
}

/* ---------- En-tête des pages intérieures : le titre seul, sur le noir ---------- */
.page-head { padding: calc(var(--nav-h) + var(--s6)) 0 var(--s5); }
.page-head h1 { animation: rise-in .9s var(--ease) both; }
.page-head p { margin: 16px 0 0; max-width: 34rem; font-size: 1.1rem; color: var(--text-2); animation: rise-in .9s var(--ease) .1s both; }
@media (min-width: 900px) { .page-head { padding: calc(var(--nav-h) + var(--s7)) 0 var(--s6); } }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--s3); font-size: .95rem; color: var(--text-2); }
.back:hover { color: var(--text); }

/* ---------- Image accrochée : cadrée dans la grille, légende en italique dessous ---------- */
.hung { margin: 0; }
.hung .frame { display: block; position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--surface); isolation: isolate; }
.hung img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: var(--pos, 50% 50%); }
.hung a.frame img { transition: filter .6s ease; }
.hung a.frame:hover img { filter: brightness(1.1); }
.hung.portrait img { aspect-ratio: 4 / 5; }
.hung.object .frame { background: #000; }
.hung.object img { scale: 1.12; background: #000; }
.hung figcaption { margin-top: 12px; font-family: var(--font-display); font-style: italic; font-size: 1rem; line-height: 1.4; color: var(--muted); max-width: 36rem; }

/* ---------- Sections ---------- */
.section { padding: var(--s6) 0; overflow-x: clip; }
.section-alt { background: var(--surface); }
.section.flush-top { padding-top: 0; }
@media (min-width: 900px) { .section { padding: var(--s7) 0; } }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); margin-bottom: var(--s4); }
@media (min-width: 900px) { .section-head { margin-bottom: var(--s5); } }

/* ---------- Écouter : le sélecteur sur le tableau du morceau choisi ---------- */
.listen { position: relative; isolation: isolate; color: #fff; padding: var(--s6) 0 var(--s5); overflow: hidden; }
@media (min-width: 900px) { .listen { padding: var(--s7) 0 var(--s6); } }
.listen-bg { position: absolute; inset: 0; z-index: -2; background: #0b0a09; }
.listen-bg i { position: absolute; inset: -20px; background: center / cover no-repeat; opacity: 0; transform: scale(1.04); transition: opacity 1.1s ease, transform 6s linear; }
.listen-bg i.on { opacity: 1; transform: scale(1); }
.listen::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--listen-shade); }
.listen .section-head .link { color: #fff; }
.listen-page { padding-top: calc(var(--nav-h) + var(--s5)); }
.listen-page h1 { font-size: clamp(2.75rem, 8vw, 4.75rem); }
.listen-lede { margin: 12px 0 0; color: rgba(255, 255, 255, .82); }
.listen .credit { display: block; text-align: center; max-width: 34rem; margin: var(--s4) auto 0; color: rgba(255, 255, 255, .78); min-height: 3em; }
.listen .credit span { display: block; color: #fff; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; margin-bottom: 4px; }
.switcher { --cover: min(62vw, 250px); position: relative; isolation: isolate; display: grid; justify-items: center; padding: 0 0 8px; }
@media (min-width: 900px) { .switcher { --cover: 300px; } }
.sw-stage { position: relative; width: 100%; height: calc(var(--cover) * 1.32); perspective: 1400px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline-offset: 8px; }
.sw-stage:active { cursor: grabbing; }
.sw-item { position: absolute; left: 50%; bottom: 0; width: var(--cover); height: var(--cover); margin-left: calc(var(--cover) / -2); transform-style: preserve-3d; transition: transform .8s var(--ease), opacity .5s ease, filter .5s ease; }
.sw-item.is-side { filter: brightness(.55) saturate(.85); }
.sw-item.is-side:hover { filter: brightness(.8) saturate(1); }
.sw-cover { position: absolute; inset: 0; z-index: 2; border-radius: 10px; overflow: hidden; background: #1a1816; box-shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 30px 50px -24px rgba(0, 0, 0, .85); }
.sw-cover img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.sw-item .disc { position: absolute; z-index: 1; inset: 4%; transition: transform .9s var(--ease); }
.switcher.is-playing .sw-item.is-active .disc { transform: translateY(-31%) rotate(-8deg); }
.sw-info { margin-top: var(--s4); text-align: center; max-width: 32rem; }
.sw-info h3 { font-size: 1.7rem; }
.sw-info p { color: rgba(255, 255, 255, .86); margin: 6px 0 0; font-size: 1rem; }
.sw-controls { display: flex; align-items: center; gap: 22px; margin-top: 22px; }
.sw-controls button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s ease, transform .2s ease; }
.sw-controls button:hover { background: rgba(255, 255, 255, .24); }
.sw-controls .sw-play { width: 64px; height: 64px; background: #fff; color: #111; }
.sw-controls .sw-play:hover { background: #fff; transform: scale(1.05); }
.sw-progress { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 3rem; align-items: center; gap: 12px; width: min(100%, 440px); margin-top: 18px; font-size: .85rem; color: rgba(255, 255, 255, .86); font-variant-numeric: tabular-nums; }
.sw-progress span:last-child { text-align: right; }
.sw-bar { height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.sw-bar div { position: relative; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.sw-bar div::after { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); border-radius: 3px; background: #fff; }

/* ---------- Le disque vu comme un CD : face argentée, détail du tableau en étiquette ---------- */
.disc { position: relative; border-radius: 50%; overflow: hidden; aspect-ratio: 1; background: conic-gradient(from 10deg, #c9ccd1, #f5f6f8, #b3b7be, #e9ecef, #c7cbd1, #fbfbfc, #b5b9c0, #e4e7eb, #c9ccd1); }
.disc img { position: absolute; left: 21%; top: 21%; width: 58%; height: 58%; border-radius: 50%; object-fit: cover; animation: spin 6s linear infinite paused; }
.is-playing .disc img { animation-play-state: running; }
.disc::before { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 50%; pointer-events: none; mix-blend-mode: soft-light; background: conic-gradient(from 40deg, rgba(255,120,200,.35), rgba(120,220,255,.35), rgba(255,240,120,.3), rgba(120,255,170,.3), rgba(255,120,200,.35)); }
.disc::after { content: ''; position: absolute; left: 50%; top: 50%; z-index: 2; width: 13%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: #0b0a09; box-shadow: 0 0 0 5px rgba(255, 255, 255, .55); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- L'instrument (accueil) ---------- */
.duo { display: grid; gap: var(--s5); align-items: center; }
.duo-text h2 { margin-bottom: var(--s3); }
.duo-text p { color: var(--text-2); max-width: 30rem; }
.duo-text .link { display: inline-block; margin-top: var(--s3); }
@media (min-width: 900px) { .duo { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); } .duo.reverse .hung { order: 2; } }

/* ---------- Index des programmes : une liste, l'image apparaît au survol ---------- */
.prog-index { list-style: none; margin: 0; padding: 0; }
.prog-index a { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 16px; align-items: center; padding: 14px 0; transition: opacity .35s ease; }
.pi-title { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; }
.pi-sub { display: block; margin-top: 4px; color: var(--muted); font-size: .92rem; }
.prog-index img { width: 104px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-xs); background: var(--surface); }
.prog-preview { display: none; }
@media (min-width: 900px) {
  .prog-wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s7); align-items: start; }
  .prog-index a { grid-template-columns: minmax(0, 1fr); padding: 16px 0; }
  .prog-index img { display: none; }
  .pi-title { font-size: 1.85rem; transition: transform .5s var(--ease); }
  .prog-index:hover a, .prog-index:focus-within a { opacity: .5; }
  .prog-index a:hover, .prog-index a:focus-visible, .prog-index a.is-shown { opacity: 1; }
  .prog-index a:hover .pi-title, .prog-index a:focus-visible .pi-title { transform: translateX(10px); }
  .prog-preview { display: block; position: sticky; top: calc(var(--nav-h) + var(--s4)); margin: 0; }
  .prog-preview .frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-md); background: var(--surface); }
  .prog-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform 1.2s var(--ease); }
  .prog-preview img.on { opacity: 1; transform: none; }
  .prog-preview figcaption { margin-top: 12px; min-height: 2.8em; font-family: var(--font-display); font-style: italic; color: var(--muted); }
}

/* ---------- Disque (accueil et page Disques) ---------- */
.album { padding: var(--s6) 0; }
@media (min-width: 900px) { .album { padding: var(--s7) 0; } }
.album-grid { display: grid; gap: var(--s5); align-items: center; }
.album-cover { width: min(100%, 440px); height: auto; border-radius: var(--r-sm); box-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 40px 70px -34px rgba(0, 0, 0, .9); }
.album h2 { margin-bottom: var(--s2); }
.album p { max-width: 30rem; color: var(--text-2); }
.album .meta { color: var(--muted); font-size: .95rem; }
@media (min-width: 900px) { .album-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s7); } .album-grid.reverse .album-cover { order: 2; justify-self: end; } }

/* ---------- Contact : une ligne par moyen, icône et texte, sans cadre ---------- */
.contact-cta { position: relative; isolation: isolate; padding: var(--s7) 0; text-align: center; }
.contact-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(46% 58% at 50% 46%, rgba(245, 225, 185, .075), rgba(245, 225, 185, 0) 72%); }
@media (min-width: 900px) { .contact-cta { padding: var(--s8) 0; } }
.contact-cta h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 18ch; margin: 0 auto var(--s5); }
.cc { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-cta .cc { width: fit-content; max-width: 100%; margin-inline: auto; justify-items: start; text-align: left; }
.cc li { display: flex; align-items: center; gap: 4px; min-width: 0; }
.cc-line { display: inline-flex; align-items: center; gap: 16px; min-height: 52px; min-width: 0; font-family: var(--font-display); font-size: clamp(1.45rem, 4.8vw, 2.2rem); line-height: 1.2; color: var(--text); }
.cc-line span { min-width: 0; overflow-wrap: anywhere; background: linear-gradient(currentColor 0 0) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease); }
.cc-line:hover span, .cc-line:focus-visible span { background-size: 100% 1px; }
.cc-icon { flex: none; color: var(--text-2); }
.cc-icon.wa { color: #25d366; }
.cc-copy { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); transition: color .2s ease; }
.cc-copy:hover { color: var(--text); }
.cc-copy svg { grid-area: 1 / 1; transition: opacity .25s ease, transform .35s var(--ease); }
.cc-copy .i-done { opacity: 0; transform: scale(.6); color: var(--text); }
.cc-copy.is-copied .i-copy { opacity: 0; transform: scale(.6); }
.cc-copy.is-copied .i-done { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Programmes (page) : sommaire fixe à gauche sur ordinateur ---------- */
.progs-rail { display: none; }
@media (min-width: 1024px) {
  .progs-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--s6); align-items: start; }
  .progs-rail { display: block; position: sticky; top: calc(var(--nav-h) + var(--s5)); }
  .progs-rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .progs-rail a { display: block; padding: 7px 0; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; color: var(--muted); transition: color .3s ease, transform .5s var(--ease); }
  .progs-rail a:hover { color: var(--text-2); }
  .progs-rail a[aria-current='true'] { color: var(--text); font-style: italic; transform: translateX(10px); }
}
.prog-list { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .prog-list { gap: var(--s8); } }
.prog { display: grid; gap: var(--s4); scroll-margin-top: calc(var(--nav-h) + 24px); }
.prog h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.prog h2 a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.prog .sub { font-weight: 600; font-size: .95rem; margin: 10px 0 14px; }
.prog .text { color: var(--text-2); max-width: 32rem; }
.prog .cast { font-size: .92rem; color: var(--muted); }
.prog .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: var(--s3); }
@media (min-width: 900px) { .prog { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6); align-items: center; } .prog:nth-child(even) .hung { order: 2; } }
@media (min-width: 1024px) { .progs-layout .prog { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } .progs-layout .prog:nth-child(even) .hung { order: 0; } .progs-layout .prog .text { max-width: 36rem; } }
.play-inline { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.play-inline .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-contrast); transition: transform .25s var(--ease); }
.play-inline:hover .dot { transform: scale(1.08); }

/* ---------- Liste des morceaux, vidéos ---------- */
.tracklist { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.tracklist li { counter-increment: n; }
.track-row { width: 100%; min-height: 64px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 8px 10px; margin-inline: -10px; width: calc(100% + 20px); border-radius: var(--r-sm); text-align: left; transition: background .2s ease; }
.track-row:hover, .track-row.is-current { background: var(--surface-2); }
.track-row img { width: 48px; height: 48px; border-radius: var(--r-xs); object-fit: cover; }
.track-row .t { display: block; font-weight: 600; }
.track-row .c { display: block; color: var(--muted); font-size: .88rem; }
.track-row .d { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .track-row { grid-template-columns: 2rem 48px minmax(0, 1fr) minmax(0, 1fr) auto; } .track-row::before { content: counter(n); color: var(--muted); font-family: var(--font-display); font-size: 1.1rem; font-variant-numeric: oldstyle-nums; } .track-row .who { display: contents; } .track-row .c { font-size: .95rem; } }
.videos { display: grid; gap: var(--s5) 20px; }
@media (min-width: 640px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.video .frame { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--surface-2); aspect-ratio: 16 / 9; }
.video .frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1)); transition: transform .8s var(--ease); }
.video .frame:hover img { transform: scale(calc(var(--zoom, 1) * 1.04)); }
.video button { position: absolute; inset: 0; display: grid; place-items: center; }
.video button span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .5); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .2s ease, transform .2s ease; }
.video button:hover span { background: #fff; color: #111; transform: scale(1.06); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video h3 { font-size: 1.15rem; margin-top: 12px; }

/* ---------- Disques ---------- */
.press-one { text-align: center; max-width: 44rem; margin: 0 auto; }
.press-one blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; }
.press-one cite { display: block; margin-top: 16px; font-style: normal; font-family: var(--font-body); color: var(--muted); font-size: .9rem; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; font-size: .8rem; font-weight: 600; color: var(--muted); padding: 0 12px 12px; }
.table td { padding: 14px 12px; vertical-align: top; }
.table tbody tr:nth-child(odd) td { background: var(--surface-2); }
.table td:first-child { font-family: var(--font-display); font-size: 1.05rem; font-variant-numeric: oldstyle-nums; color: var(--muted); width: 4.5rem; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.table td:last-child { color: var(--muted); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.table .award { display: block; color: var(--text-2); font-size: .82rem; margin-top: 2px; }
@media (max-width: 640px) { .table thead { display: none; } .table tbody tr:nth-child(odd) td { background: none; } .table td { display: block; padding: 2px 0; } .table tr td:first-child { padding-top: 16px; } .table tr td:last-child { padding-bottom: 16px; } .table td:first-child, .table td:last-child { border-radius: 0; width: auto; } }

/* ---------- Parcours ---------- */
.bio { display: grid; gap: var(--s5); }
.bio .lead { font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 1.95rem); line-height: 1.35; margin-bottom: var(--s3); }
.bio .text { color: var(--text-2); max-width: 34rem; }
@media (min-width: 900px) { .bio { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s7); align-items: start; } }
.facts { display: grid; gap: 14px; margin: var(--s5) 0 0; }
.facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; }
.facts dt { color: var(--muted); font-size: .92rem; padding-top: 1px; }
.facts dd { margin: 0; }
.ens-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--s4); }
.ens-list li { break-inside: avoid; padding: 7px 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; }
@media (min-width: 900px) { .ens-list { columns: 3; } .ens-list li { font-size: 1.35rem; } }
.teach-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
@media (min-width: 640px) { .teach-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .teach-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.teach-list h3 { font-size: 1.3rem; margin-bottom: 6px; }
.teach-list p { color: var(--muted); font-size: .95rem; }
.dates { list-style: none; margin: 0; padding: 0; }
.dates li { display: grid; gap: 2px; padding: 14px 0; }
.dates time { font-family: var(--font-display); font-size: 1.05rem; font-variant-numeric: oldstyle-nums; color: var(--muted); }
.dates .p { color: var(--muted); font-size: .92rem; }
@media (min-width: 768px) { .dates li { grid-template-columns: 12rem minmax(0, 1fr) minmax(0, 14rem); align-items: baseline; gap: 16px; } .dates .p { text-align: right; } .dates.agenda li { grid-template-columns: 19rem minmax(0, 1fr) minmax(0, 14rem); } }

/* ---------- Pied de page ---------- */
.footer { background: var(--surface); padding: var(--s6) 0 calc(var(--s8) + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer-grid { display: grid; gap: var(--s5); }
.footer .brand { display: inline-block; margin-bottom: 8px; font-size: 1.45rem; }
.footer p { color: var(--muted); max-width: 22rem; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer nav a { color: var(--text-2); }
.footer nav a:hover, .footer .mail:hover { color: var(--text); }
.footer .label { color: var(--muted); margin-bottom: 6px; }
.footer .mail { font-weight: 600; }
.footer .label-follow { margin-top: var(--s4); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); color: var(--text-2); transition: background .3s var(--ease), color .3s ease, transform .35s var(--ease); }
.social:hover, .social:focus-visible { background: var(--text); color: var(--bg); transform: translateY(-2px); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: var(--s6) 0 0; max-width: none; color: var(--muted); font-size: .85rem; }
.footer-legal a:hover { color: var(--text); }
@media (max-width: 767.98px) {
  .footer { text-align: center; }
  .footer p { margin-inline: auto; }
  .footer nav { justify-items: center; }
  .footer-legal, .socials { justify-content: center; }
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; } }

/* ---------- Mini-lecteur et lecteur complet ---------- */
.dock { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px; border-radius: 22px; background: var(--dock-bg); color: var(--text); -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6); overflow: hidden; transform: translateY(160%); transition: transform .6s var(--ease); view-transition-name: dock; }
.dock.is-active { transform: none; }
.dock-main { display: flex; align-items: center; gap: 12px; min-width: 0; text-align: left; }
.dock .disc { width: 42px; flex: none; }
.dock .disc::after { width: 16%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }
.dock-meta { min-width: 0; }
.dock-meta b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .95rem; }
.dock-meta small { display: block; color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-play { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); display: grid; place-items: center; }
.dock-line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--surface-3); }
.dock-line span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--accent); }
@media (min-width: 900px) { .dock { left: auto; right: 24px; bottom: 24px; width: 360px; } }
.sheet { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.sheet.is-open { visibility: visible; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .4s ease; }
.sheet.is-open .sheet-scrim { opacity: 1; }
.sheet-panel { position: absolute; inset: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--bg); color: var(--text); overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px calc(32px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .55s var(--ease); }
.sheet.is-open .sheet-panel { transform: none; }
@media (min-width: 900px) { .sheet-panel { inset: 12px 12px 12px auto; width: 420px; border-radius: var(--r-lg); transform: translateX(110%); padding: 20px 28px; } }
.sheet-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .9rem; }
.sheet-close { font-weight: 600; padding: 10px 0; color: var(--text); }
.sheet .disc { width: min(64vw, 260px); margin: 16px auto 24px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.sheet-title { font-size: 1.7rem; }
.sheet-by { margin: 6px 0 0; color: var(--muted); }
.sheet-wave { height: 56px; margin-top: 22px; cursor: pointer; touch-action: none; }
.sheet-wave canvas { width: 100%; height: 100%; display: block; }
.sheet-times { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 6px; }
.sheet-ctrl { display: flex; justify-content: center; align-items: center; gap: 24px; margin: 18px 0 6px; }
.sheet-ctrl button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.sheet-ctrl .main { width: 62px; height: 62px; background: var(--accent); color: var(--accent-contrast); }
.sheet-list { list-style: none; padding: 0; margin: 24px 0 0; }
.sheet-list button { width: 100%; display: flex; justify-content: space-between; gap: 12px; text-align: left; padding: 10px 8px; border-radius: var(--r-sm); font-size: .95rem; }
.sheet-list button:hover { background: var(--surface); }
.sheet-list .d { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.sheet-list [aria-current='true'] { background: var(--surface); font-weight: 600; }

/* ---------- Transitions de page ---------- */
::view-transition-old(root) { animation: vt-out .3s ease both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Fiche programme ---------- */
.fiche { display: grid; gap: var(--s5); }
.fiche-text p { color: var(--text-2); max-width: 36rem; }
.fiche-text p:first-child { font-family: var(--font-display); color: var(--text); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.4; }
.fiche-facts { margin: 0; display: grid; gap: var(--s3); align-content: start; }
.fiche-facts dt { color: var(--muted); font-size: .9rem; margin-bottom: 4px; }
.fiche-facts dd { margin: 0; }
@media (min-width: 900px) { .fiche { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s7); } }

/* ---------- Fenêtre de commande d'un disque ---------- */
.order { width: min(100% - 32px, 520px); max-width: none; max-height: calc(100% - 32px); margin: auto; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--text); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85); }
.order::backdrop { background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.order[open] { animation: order-in .45s var(--ease); }
@keyframes order-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.order-panel { position: relative; padding: 36px 28px 28px; }
.order h2 { font-size: 2rem; margin-bottom: 12px; padding-right: 44px; }
.order-text { color: var(--text-2); margin-bottom: 18px; }
.order-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); transition: background .2s ease, color .2s ease; }
.order-close:hover { background: var(--surface-2); color: var(--text); }
.order .cc-line { font-size: clamp(1.3rem, 5vw, 1.7rem); }

/* ---------- Mentions légales ---------- */
.legal { max-width: 44rem; }
.legal h2 { font-size: 1.5rem; margin: var(--s5) 0 var(--s2); }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--text-2); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: var(--s6); }
.contact-mail { display: inline-block; font-family: var(--font-display); font-size: clamp(1.7rem, 5vw, 2.8rem); line-height: 1.2; word-break: break-word; background: linear-gradient(currentColor 0 0) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; }
.contact-mail:hover { background-size: 0 1px; background-position: 100% 100%; transition: background-size .45s var(--ease); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.contact-list h2 { font-size: 1.45rem; }
.contact-list h2 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.contact-list p { margin: 6px 0 0; color: var(--muted); }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s7); align-items: start; } }

/* ---------- Volume ---------- */
.vol { display: flex; align-items: center; gap: 10px; }
.vol-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: inherit; opacity: .85; transition: opacity .2s ease, background .2s ease; }
.vol-btn:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.vol-range { -webkit-appearance: none; appearance: none; width: 120px; height: 22px; margin: 0; color: inherit; background: transparent; cursor: pointer; }
.vol-range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(currentColor 0 0) 0 / calc(var(--v, 1) * 100%) 100% no-repeat, rgba(127, 127, 127, .4); }
.vol-range::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(127, 127, 127, .4); }
.vol-range::-moz-range-progress { height: 3px; border-radius: 3px; background: currentColor; }
.vol-range::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: currentColor; border: 0; }
.vol-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: currentColor; border: 0; }
.vol-switcher { margin-top: 10px; color: #fff; }
.vol-sheet { justify-content: center; margin: 4px 0 0; color: var(--text); }

/* ---------- Apparitions au défilement (site.js ne prépare que ce qui est hors de l'écran) ---------- */
.rv { opacity: 0; transform: translateY(22px); }
.rv.rv-in { opacity: 1; transform: none; transition: opacity .9s var(--ease) var(--rv-d, 0ms), transform 1.1s var(--ease) var(--rv-d, 0ms); }
.hung.rv { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w > span { display: inline-block; transform: translateY(108%); }
.words-in .w > span { transform: none; transition: transform 1s var(--ease) calc(var(--i, 0) * 55ms); }
.hung.rv img { clip-path: inset(0 0 18% 0); filter: brightness(.3); transform: scale(1.06); }
.hung.rv-in img { clip-path: inset(0); filter: none; transform: none; transition: clip-path 1.4s var(--ease), filter 1.8s ease, transform 1.6s var(--ease); }
.hung.rv figcaption { opacity: 0; }
.hung.rv-in figcaption { opacity: 1; transition: opacity .8s ease .5s; }

/* ---------- Effets liés au défilement, là où le navigateur les connaît ---------- */
/* Tout est « scrubbé » : l'effet suit la position de défilement et se rejoue à l'envers en remontant. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* la photo d'accueil se resserre en carte arrondie quand on quitte le haut de page */
    .hero-media { animation: hero-card linear both; animation-timeline: scroll(root); animation-range: 0 85vh; }
    @keyframes hero-card { from { clip-path: inset(0 round 0); } to { clip-path: inset(3% 3% 3% 3% round 32px); transform: translateY(14%) scale(.96); } }
    @media (min-width: 900px) {
      .hero-content { animation: hero-leave linear both; animation-timeline: scroll(root); animation-range: 5vh 60vh; }
    }
    @keyframes hero-leave { to { opacity: 0; transform: translateY(-28px); } }
    /* les images s'ouvrent en entrant dans l'écran, puis glissent doucement dans leur cadre */
    .hung .frame { animation: frame-open linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    @keyframes frame-open { from { clip-path: inset(8% 5% 0 5% round var(--r-md)); filter: brightness(.35); } to { clip-path: inset(0 round var(--r-md)); filter: none; } }
    .hung .frame img { animation: image-drift linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes image-drift { from { transform: scale(1.14) translateY(-3.5%); } to { transform: scale(1.14) translateY(3.5%); } }
    .hung.object .frame img { animation: turn linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes turn { from { rotate: -8deg; } to { rotate: 6deg; } }
    .album-cover { animation: float-cover linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes float-cover { from { translate: 0 36px; } to { translate: 0 -36px; } }
    .sw-stage { animation: stage-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    @keyframes stage-rise { from { opacity: .25; transform: translateY(48px) scale(.94); } }
    .video .frame { animation: frame-open linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  }
}

/* ---------- Transition d'une image de programme vers sa fiche ---------- */
::view-transition-group(prog-hero) { animation-duration: .65s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(prog-hero), ::view-transition-new(prog-hero) { height: 100%; object-fit: cover; }

/* ---------- Petits détails ---------- */
.js .fade-img { opacity: 0; transition: opacity .7s ease; }
.js .fade-img.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.is-buffering .sw-play, .is-buffering .dock-play, .is-buffering #sheet-play { animation: buffering 1.1s ease-in-out infinite; }
@keyframes buffering { 50% { opacity: .55; } }

@media (prefers-reduced-motion: reduce) {
  .roll > span, .cta-arrow, .cta-arrow svg, .social { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
