@font-face{font-family:'Caveat';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/Caveat-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(../fonts/CormorantGaramond-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500 600;font-display:swap;src:url(../fonts/CormorantGaramond-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Newsreader';font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/Newsreader-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Newsreader';font-style:normal;font-weight:400 500;font-display:swap;src:url(../fonts/Newsreader-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ==========================================================================
   Mots à maux — carnet de chansons d'Hervé Berrebi
   Papier, encre, plume. Pas de dégradés violets.
   ========================================================================== */

:root {
  /* Palette « Nuit » : fond sombre, texte ivoire, accent corail */
  color-scheme: dark;
  --paper: #15151a;
  --paper-2: #1c1c22;
  --paper-3: #2a2a32;
  --card: #202027;
  --ink: #f4f1ea;
  --ink-2: #d8d4cb;
  --ink-3: #aaa59c;
  --rule: #3b3a40;
  --rule-soft: #2c2b31;
  --red: #ff8a75;
  --red-soft: #ffa999;
  --blue: #8fb8ff;
  --gold: #e6bb6a;
  --ok: #79d69a;
  --wait: #f2c15a;
  --off: #aaa59c;
  --frame: #f4f1ea;
  --placeholder: #7f7b74;
  --tape: rgba(230, 215, 170, .35);
  --foot-bg: #0c0c10;
  --foot-text: #cfcac1;
  --foot-strong: #ffffff;
  --foot-accent: #ff9d8a;
  --foot-muted: #9a958d;
  --foot-border: #45444b;
  --foot-line: #2a2930;
  --photo: brightness(.92);
  --photo-hover: none;
  --portrait: none;
  --grain: none;

  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --text: "Newsreader", "Iowan Old Style", Georgia, serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --ui: "Newsreader", Georgia, serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 0 rgba(34, 28, 23, .04), 0 12px 30px -18px rgba(34, 28, 23, .35);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--grain);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--red) 18%, transparent); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { 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(--ink); color: var(--paper); padding: 8px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.8rem, 7.5vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
em, .it { font-style: italic; }
.accent { color: var(--red); font-style: italic; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--ink-2); line-height: 1.6; }
.kicker {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--ui); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hand { font-family: var(--hand); font-weight: 500; color: var(--blue); line-height: 1.1; }
.hand--red { color: var(--red); }
.muted { color: var(--ink-3); }
.num { font-family: var(--display); font-variant-numeric: oldstyle-nums; }

/* ---------- Liens « trait de plume » ---------- */
.pen {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .45s var(--ease), color .2s;
  padding-bottom: 1px;
}
.pen:hover { background-size: 0 1px; background-position: 100% 100%; }
.arrow::after { content: "\00a0→"; display: inline-block; transition: transform .3s var(--ease); }
.arrow:hover::after { transform: translateX(4px); }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.5em; min-height: 48px;
  border: 1px solid var(--b); background: var(--b); color: var(--paper);
  font-family: var(--ui); font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; border-radius: 2px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  box-shadow: 3px 3px 0 0 rgba(34, 28, 23, .18);
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 0 rgba(34, 28, 23, .2); }
.btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 0 rgba(34, 28, 23, .2); }
.btn--red { --b: var(--red); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; transform: none; }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); box-shadow: 0 8px 24px -20px rgba(34, 28, 23, .5); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--ink); font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1;
  position: relative;
}
.brand__mark::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid var(--rule); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--display); font-size: 1.45rem; font-weight: 600; letter-spacing: -.01em; }
.brand__name i { color: var(--red); font-weight: 500; }
.brand__sub { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.nav a {
  position: relative; text-decoration: none; font-size: 1rem; color: var(--ink-2);
  padding: 6px 0; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M1 4 C 20 1, 40 5, 60 3 S 90 2, 99 3' fill='none' stroke='%23a8392a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  clip-path: inset(0 100% 0 0); transition: clip-path .45s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { clip-path: inset(0 0 0 0); }
.nav .btn { padding: .6em 1.1em; min-height: 40px; color: var(--paper); }
.nav .btn::after { display: none; }

.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span + span { margin-top: 6px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 820px) {
  .site-header .wrap { height: 64px; }
  .brand__sub { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
    box-shadow: 0 30px 40px -30px rgba(34, 28, 23, .4);
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; transition: opacity .25s, transform .3s var(--ease); }
  .nav a { font-family: var(--display); font-size: 1.7rem; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 18px; font-family: var(--ui); font-size: 1rem; border-bottom: 1px solid var(--ink); }
}

/* ==========================================================================
   Ornements : portée musicale, filets
   ========================================================================== */
.staff {
  height: 34px; width: 100%;
  background: repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px 8px);
  background-size: 100% 33px; background-repeat: no-repeat;
  position: relative; opacity: .8;
}
.staff--notes::before {
  content: "𝄞"; position: absolute; left: 0; top: -14px;
  font-size: 56px; line-height: 1; color: var(--ink-3); font-family: "Segoe UI Symbol", "Noto Music", serif;
}
.rule { border: 0; height: 1px; background: var(--rule); margin: 0; }
.fleuron { display: flex; align-items: center; gap: 18px; color: var(--ink-3); font-family: var(--display); font-size: 1.3rem; }
.fleuron::before, .fleuron::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

.section { padding: clamp(64px, 10vw, 128px) 0; }
.section--tint { background: var(--paper-2); border-block: 1px solid var(--rule-soft); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.section__head h2 { max-width: 22ch; }
.section__head p { max-width: 42ch; margin: 0; color: var(--ink-2); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Accueil
   ========================================================================== */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin: 22px 0 26px; }
.hero h1 .line { display: block; }
.hero h1 .accent { position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: -2%; right: -4%; bottom: .02em; height: .22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 40 3, 80 12, 120 6 S 180 4, 197 8' fill='none' stroke='%23a8392a' stroke-width='2.4' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  clip-path: inset(0 100% 0 0); animation: underline 1.2s .9s var(--ease) forwards;
}
@keyframes underline { to { clip-path: inset(0 0 0 0); } }
.hero .lead { max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.hero__note { position: absolute; transform: rotate(-4deg); font-size: 1.5rem; }

/* Page de carnet (texte au hasard) */
.sheet {
  position: relative; background: var(--card);
  padding: 44px 40px 34px 64px;
  box-shadow: var(--shadow), 10px 12px 0 -1px var(--paper-2), 10px 12px 0 0 var(--rule);
  transform: rotate(1.2deg);
  background-image:
    linear-gradient(90deg, transparent 46px, color-mix(in srgb, var(--red) 35%, transparent) 46px, color-mix(in srgb, var(--red) 35%, transparent) 47px, transparent 47px),
    repeating-linear-gradient(to bottom, transparent 0 31px, color-mix(in srgb, var(--blue) 13%, transparent) 31px 32px);
  background-position: 0 0, 0 12px;
  min-height: 460px;
  transition: transform .6s var(--ease);
}
.sheet:hover { transform: rotate(.4deg); }
.sheet::before { /* trous de reliure */
  content: ""; position: absolute; left: 16px; top: 40px; bottom: 40px; width: 12px;
  background: radial-gradient(circle, var(--paper-3) 5px, transparent 5.5px) 0 0 / 12px 64px repeat-y;
}
.sheet__tape {
  position: absolute; top: -14px; left: 50%; width: 120px; height: 30px; transform: translateX(-50%) rotate(-3deg);
  background: var(--tape); box-shadow: 0 1px 2px rgba(0,0,0,.06);
  -webkit-mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent calc(100% - 3px));
}
.sheet__label { position: absolute; top: 10px; right: 22px; font-size: 1.35rem; transform: rotate(3deg); }
.sheet__title { font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1.1; margin: 4px 0 2px; }
.sheet__meta { font-size: .85rem; color: var(--ink-3); letter-spacing: .06em; margin-bottom: 14px; }
.sheet__lyrics { font-size: 1.05rem; line-height: 32px; color: var(--ink-2); min-height: 224px; }
.sheet__lyrics .sec { display: block; font-family: var(--hand); color: var(--red); font-size: 1.25rem; line-height: 32px; }
.sheet__lyrics .ln { display: block; opacity: 0; transform: translateX(-6px); animation: write .5s var(--ease) forwards; }
@keyframes write { to { opacity: 1; transform: none; } }
.sheet__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.sheet__again {
  background: none; border: 0; cursor: pointer; padding: 6px 0; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--hand); font-size: 1.35rem; color: var(--blue);
}
.sheet__again svg { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.sheet__again:hover svg { transform: rotate(-200deg); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .sheet { transform: none; padding: 40px 22px 28px 52px; min-height: 0; }
  .sheet:hover { transform: none; }
  .sheet::before { left: 12px; }
  .sheet { background-image: linear-gradient(90deg, transparent 38px, color-mix(in srgb, var(--red) 35%, transparent) 38px, color-mix(in srgb, var(--red) 35%, transparent) 39px, transparent 39px), repeating-linear-gradient(to bottom, transparent 0 31px, color-mix(in srgb, var(--blue) 13%, transparent) 31px 32px); }
}

/* Chiffres clés */
.figures { border-block: 1px solid var(--ink); }
.figures .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 26px 18px; text-align: center; border-left: 1px solid var(--rule); }
.figure:first-child { border-left: 0; }
.figure b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1; font-variant-numeric: lining-nums; }
.figure span { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 700px) {
  .figures .wrap { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(3) { border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ==========================================================================
   Fiches de textes
   ========================================================================== */
.fiches { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.fiche {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); text-decoration: none; color: inherit;
  border: 1px solid var(--rule);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
  isolation: isolate;
}
.fiche:hover { transform: translateY(-4px) rotate(-.35deg); box-shadow: 0 22px 40px -24px rgba(34, 28, 23, .45); border-color: var(--ink-3); }
.fiche__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3); }
.fiche__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: var(--photo);
  transition: transform 1.2s var(--ease), filter .6s;
}
.fiche:hover .fiche__img img { transform: scale(1.05); filter: var(--photo-hover); }
.fiche__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(34, 28, 23, .28)); }
.fiche__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.fiche__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.fiche__top .th { color: var(--red); }
.fiche h3 { font-size: 1.6rem; font-weight: 600; margin-bottom: 8px; }
.fiche p { font-size: .98rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fiche__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--rule); font-size: .88rem; color: var(--ink-3); }
.fiche__music { display: inline-flex; align-items: center; gap: 6px; }
.fiche__music svg { width: 15px; height: 15px; }

/* Tampons de disponibilité */
.stamp {
  --c: var(--ok);
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ui); font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c); border: 1.5px solid var(--c); padding: 3px 8px 2px; border-radius: 3px;
  transform: rotate(-2deg); white-space: nowrap;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card) 40%, transparent);
}
.stamp::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stamp--reserved { --c: var(--wait); }
.stamp--licensed { --c: var(--off); }
.fiche .stamp { position: absolute; top: 14px; right: 14px; z-index: 2; background: color-mix(in srgb, var(--card) 92%, transparent); }
.stamp--big { font-size: .85rem; padding: 8px 14px 7px; border-width: 2px; transform: rotate(-4deg); }

/* Sommaire (vue liste) */
.toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.toc li { border-bottom: 1px solid var(--rule); }
.toc a {
  display: grid; grid-template-columns: 64px 1fr auto auto; gap: 18px; align-items: baseline;
  padding: 16px 6px; text-decoration: none; color: inherit; transition: background .2s, padding .3s var(--ease);
}
.toc a:hover { background: var(--card); padding-left: 14px; }
.toc .n { font-family: var(--display); color: var(--ink-3); font-size: 1rem; }
.toc .t { font-family: var(--display); font-size: 1.45rem; font-weight: 500; line-height: 1.2; }
.toc .t small { display: block; font-family: var(--text); font-size: .85rem; color: var(--ink-3); letter-spacing: .04em; }
.toc .dots { display: none; }
.toc .y { font-family: var(--display); color: var(--ink-3); font-size: 1.1rem; }
@media (max-width: 620px) {
  .toc a { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .toc .n, .toc .y { display: none; }
}

/* ==========================================================================
   Thèmes (index typographique)
   ========================================================================== */
.theme-cloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px; font-family: var(--display); line-height: 1.15; }
.theme-cloud a { text-decoration: none; color: var(--ink); transition: color .2s; position: relative; }
.theme-cloud a sup { font-family: var(--text); font-size: .38em; color: var(--ink-3); margin-left: 3px; letter-spacing: .05em; }
.theme-cloud a:hover { color: var(--red); font-style: italic; }
.theme-cloud a:nth-child(3n) { font-style: italic; }

/* ==========================================================================
   Étapes
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--ink); }
.step { padding: 34px 32px 10px 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--rule); }
.step__n { font-family: var(--display); font-style: italic; font-size: 3.6rem; line-height: 1; color: var(--red); }
.step h3 { margin: 14px 0 10px; }
.step p { color: var(--ink-2); font-size: 1.02rem; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 8px; border-left: 0; border-top: 1px solid var(--rule); }
  .step:first-child { border-top: 0; }
}

/* ==========================================================================
   Portrait / citation
   ========================================================================== */
.portrait { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 7vw, 96px); align-items: center; }
.photo { position: relative; max-width: 420px; justify-self: center; transform: rotate(-2deg); }
.photo__frame { background: var(--frame); padding: 14px 14px 58px; box-shadow: var(--shadow), 0 30px 50px -30px rgba(34,28,23,.45); }
.photo__frame img { filter: var(--portrait); aspect-ratio: 6 / 7; object-fit: cover; width: 100%; }
.photo__caption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 1.45rem; }
.photo::before, .photo::after {
  content: ""; position: absolute; width: 110px; height: 30px; background: var(--tape); z-index: 2;
}
.photo::before { top: -12px; left: -26px; transform: rotate(-32deg); }
.photo::after { bottom: 38px; right: -30px; transform: rotate(-28deg); }
@media (max-width: 700px) { .photo { margin-inline: 14px; } .photo::before { left: -12px; } .photo::after { right: -12px; } }
blockquote.quote { margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.22; font-style: italic; color: var(--ink); position: relative; }
blockquote.quote::before { content: "«"; position: absolute; left: -.6em; top: -.15em; font-size: 2.6em; color: var(--red); opacity: .25; font-style: normal; }
.quote-by { margin-top: 22px; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 820px) {
  .portrait { grid-template-columns: 1fr; }
  blockquote.quote::before { left: -.1em; top: -.55em; }
}

/* ==========================================================================
   Formulaires
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.field label { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.input, .field input, .field textarea, .field select {
  width: 100%; padding: 12px 2px 10px; border: 0; border-bottom: 1.5px solid var(--ink-3);
  background: transparent; font-size: 1.12rem; border-radius: 0; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 32px; padding-top: 4px;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, color-mix(in srgb, var(--blue) 16%, transparent) 31px 32px); background-attachment: local; border-bottom-color: transparent; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--red); background: color-mix(in srgb, var(--card) 50%, transparent); }
.input::placeholder, .field ::placeholder { color: var(--placeholder); font-style: italic; }
.feedback { min-height: 1.6em; font-family: var(--hand); font-size: 1.4rem; line-height: 1.2; margin: 6px 0 0; }
.feedback--ok { color: var(--ok); }
.feedback--err { color: var(--red); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Lettre d'information */
.letter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.letter__card { background: var(--card); padding: clamp(26px, 4vw, 44px); border: 1px solid var(--rule); position: relative; box-shadow: var(--shadow); }
.letter__card::before { /* timbre */
  content: "♪"; position: absolute; top: -18px; right: 22px; width: 58px; height: 68px;
  display: grid; place-items: center; font-size: 1.9rem; color: var(--red);
  background: var(--paper); border: 2px dashed var(--rule); transform: rotate(6deg);
}
.letter__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
@media (max-width: 820px) { .letter { grid-template-columns: 1fr; } .letter__row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { margin-top: clamp(40px, 8vw, 90px); background: var(--foot-bg); color: var(--foot-text); padding: 64px 0 28px; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
  background: radial-gradient(circle at 6px 12px, var(--foot-bg) 6px, transparent 6.5px) 0 0 / 12px 12px repeat-x; }
.site-footer a { color: var(--foot-strong); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand { font-family: var(--display); font-size: 2.2rem; line-height: 1.05; color: var(--foot-strong); }
.footer__brand i { color: var(--foot-accent); }
.footer__tag { font-family: var(--hand); font-size: 1.45rem; color: var(--foot-muted); margin-top: 10px; }
.footer__title { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--foot-muted); margin-bottom: 14px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 1rem; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border: 1px solid var(--foot-border); border-radius: 50%; display: grid; place-items: center; transition: background .2s, border-color .2s, transform .3s var(--ease); }
.socials a:hover { background: var(--foot-strong); border-color: var(--foot-strong); transform: translateY(-2px); }
.socials a:hover svg { fill: var(--foot-bg); }
.socials svg { width: 18px; height: 18px; fill: var(--foot-strong); transition: fill .2s; }
.footer__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--foot-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; font-size: .85rem; color: var(--foot-muted); }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   En-têtes de pages intérieures
   ========================================================================== */
.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); margin: 18px 0 16px; }
.page-head .lead { max-width: 52ch; }
.crumbs { font-size: .88rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-hidden] { color: var(--rule); }

/* ==========================================================================
   Catalogue
   ========================================================================== */
.toolbar {
  position: sticky; top: 76px; z-index: 20;
  background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-block: 1px solid var(--ink); padding: 14px 0;
}
@media (max-width: 820px) { .toolbar { top: 64px; } }
.toolbar__row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.search { position: relative; flex: 1 1 280px; }
.search svg { position: absolute; left: 2px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); stroke: var(--ink-3); }
.search input { width: 100%; padding: 10px 34px 10px 32px; border: 0; border-bottom: 1.5px solid var(--ink-3); background: transparent; font-size: 1.15rem; }
.search input:focus { outline: none; border-bottom-color: var(--red); }
.search input::placeholder { font-style: italic; color: var(--placeholder); }
.search__clear { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink-3); padding: 4px 8px; }
.select { position: relative; }
.select select {
  appearance: none; -webkit-appearance: none; border: 1px solid var(--rule); background: var(--card);
  padding: 9px 34px 9px 12px; font-size: .98rem; cursor: pointer; border-radius: 2px; max-width: 220px;
}
.select::after { content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select:focus { outline: none; border-color: var(--ink); }
.seg { display: inline-flex; border: 1px solid var(--rule); background: var(--card); border-radius: 2px; }
.seg button { border: 0; background: none; padding: 8px 12px; cursor: pointer; font-size: .92rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.seg button + button { border-left: 1px solid var(--rule); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg svg { width: 18px; height: 18px; }
.toolbar__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-size: .92rem; color: var(--ink-3); flex-wrap: wrap; }
.toolbar__meta b { color: var(--ink); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ink-3); border-radius: 99px; padding: 2px 6px 2px 12px; font-size: .88rem; background: var(--card); cursor: pointer; }
.chip::after { content: "×"; font-size: 1.1rem; line-height: 1; color: var(--ink-3); padding: 0 4px; }
.chip:hover { border-color: var(--red); color: var(--red); }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-size: .92rem; }
@media (max-width: 700px) {
  .toolbar { position: static; }
  .toolbar__row .select, .toolbar__row .select select { flex: 1 1 45%; max-width: none; width: 100%; }
  .seg--avail { width: 100%; }
  .seg--avail button { flex: 1; justify-content: center; padding: 8px 4px; font-size: .85rem; }
}

.alpha { display: flex; flex-wrap: wrap; gap: 2px; margin: 28px 0 8px; font-family: var(--display); font-size: 1.3rem; }
.alpha button { border: 0; background: none; width: 34px; height: 38px; cursor: pointer; color: var(--ink-2); border-radius: 2px; transition: background .2s, color .2s; }
.alpha button:hover:not([disabled]) { background: var(--paper-3); color: var(--ink); }
.alpha button[aria-pressed="true"] { background: var(--red); color: var(--paper); }
.alpha button[disabled] { color: var(--rule); cursor: default; }

.results { margin-top: 28px; min-height: 50vh; }
.empty { text-align: center; padding: 70px 20px; }
.empty .hand { font-size: 2rem; }
.more { display: flex; justify-content: center; margin-top: 44px; }

.themes-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: thin; margin-top: 8px; mask-image: linear-gradient(90deg, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); }
.themes-strip button { flex: none; border: 1px solid var(--rule); background: transparent; border-radius: 99px; padding: 5px 14px; cursor: pointer; font-size: .95rem; color: var(--ink-2); transition: all .2s; }
.themes-strip button:hover { border-color: var(--ink); color: var(--ink); }
.themes-strip button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.themes-strip small { color: var(--ink-3); margin-left: 4px; }
.themes-strip button[aria-pressed="true"] small { color: color-mix(in srgb, var(--paper) 75%, transparent); }

/* Squelettes de chargement */
.skel { background: linear-gradient(90deg, var(--paper-2) 0%, var(--paper-3) 50%, var(--paper-2) 100%); background-size: 200% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.fiches--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .fiches--3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); } }
.fiche--skel { height: 380px; border: 1px solid var(--rule-soft); }

/* ==========================================================================
   Fiche d'un texte
   ========================================================================== */
.song-head { padding: clamp(28px, 5vw, 60px) 0 clamp(20px, 3vw, 34px); }
.song-head__grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.song-head h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); margin: 16px 0 18px; max-width: 15ch; }
.song-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink-3); font-size: .98rem; }
.song-meta span { display: inline-flex; gap: 6px; align-items: baseline; }
.song-meta b { font-weight: 500; color: var(--ink-2); }
.song-meta a { color: var(--red); }
.song { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 80px); align-items: start; padding-bottom: 40px; }
@media (max-width: 960px) { .song { grid-template-columns: 1fr; } .song-head__grid { grid-template-columns: 1fr; } }

.song__summary { font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.45rem); line-height: 1.4; color: var(--ink-2); padding: 0 0 30px; margin: 0 0 34px; border-bottom: 1px solid var(--rule); }
.lyrics { position: relative; font-size: clamp(1.12rem, 1.5vw, 1.24rem); line-height: 1.85; padding-left: clamp(0px, 9vw, 120px); -webkit-user-select: none; user-select: none; }
.stanza { margin: 0 0 1.7em; position: relative; }
.stanza__label { position: absolute; left: calc(-1 * clamp(0px, 9vw, 120px)); top: .15em; width: clamp(0px, 8vw, 108px); font-family: var(--hand); font-size: 1.4rem; line-height: 1.2; color: var(--red); transform: rotate(-3deg); transform-origin: left top; }
.stanza--chorus { padding-left: 22px; border-left: 2px solid color-mix(in srgb, var(--red) 35%, transparent); font-style: italic; }
.stanza--chorus .stanza__label { left: calc(-1 * clamp(0px, 9vw, 120px) - 0px); }
.stanza--instr { color: var(--ink-3); font-style: italic; }
.stanza p { margin: 0; }
.stanza p.echo { font-style: italic; color: var(--ink-3); }
.stanza__label small { display: block; margin-top: 2px; font-family: var(--text); font-size: .72rem; letter-spacing: .06em; line-height: 1.3; color: var(--ink-3); transform: none; }
.stanza--cue { margin: -.4em 0 1.5em; }
.stanza--cue .cue { margin: 0; font-family: var(--hand); font-size: 1.45rem; line-height: 1.2; color: var(--ink-3); }
.stanza--cue .cue small { font-family: var(--text); font-size: .8rem; }
@media (max-width: 700px) {
  .lyrics { padding-left: 0; }
  .stanza__label { position: static; display: block; width: auto; transform: none; font-size: 1.3rem; margin-bottom: 2px; }
}
.lyrics__end { text-align: center; font-family: var(--display); font-size: 1.6rem; color: var(--ink-3); letter-spacing: .6em; margin-top: 10px; }
.protect-note { font-size: .85rem; color: var(--ink-3); margin-top: 28px; font-style: italic; }

.aside { position: sticky; top: 100px; display: grid; gap: 22px; }
@media (max-width: 960px) { .aside { position: static; } }
.panel { background: var(--card); border: 1px solid var(--rule); padding: 24px; }
.panel__title { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.panel--cta { border-color: var(--ink); box-shadow: 6px 6px 0 -1px var(--paper-2), 6px 6px 0 0 var(--ink); }
.panel--cta p { font-size: 1rem; color: var(--ink-2); margin: 14px 0 18px; }
.panel--cta .btn { width: 100%; }
.panel__img { margin: -24px -24px 20px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.panel__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo); }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: .98rem; }
.dl dt { color: var(--ink-3); }
.dl dd { margin: 0; color: var(--ink); }

.player { position: relative; aspect-ratio: 16 / 9; background: #111 center / cover no-repeat; border: 0; width: 100%; cursor: pointer; overflow: hidden; display: block; padding: 0; }
.player::before { content: ""; position: absolute; inset: 0; background: rgba(34, 28, 23, .35); transition: background .3s; }
.player:hover::before { background: rgba(34, 28, 23, .15); }
.player span { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: transform .3s var(--ease); }
.player:hover span { transform: translate(-50%, -50%) scale(1.08); }
.player span::after { content: ""; border-left: 18px solid var(--red); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.player iframe, .player--sc iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player--sc { aspect-ratio: auto; height: 166px; background: var(--paper-3); }

.related { list-style: none; margin: 0; padding: 0; }
.related li + li { border-top: 1px dashed var(--rule); }
.related a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; text-decoration: none; font-family: var(--display); font-size: 1.2rem; line-height: 1.25; }
.related a:hover { color: var(--red); }
.related small { font-family: var(--text); font-size: .8rem; color: var(--ink-3); white-space: nowrap; }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--ink); margin-top: 20px; }
.pager a { padding: 22px 8px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: background .2s; }
.pager a:hover { background: var(--card); }
.pager a + a { text-align: right; border-left: 1px solid var(--rule); }
.pager small { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.pager span { font-family: var(--display); font-size: 1.4rem; line-height: 1.2; }

.tools { display: flex; gap: 10px; flex-wrap: wrap; }
.tool { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--rule); background: transparent; padding: 7px 12px; font-size: .9rem; cursor: pointer; border-radius: 2px; text-decoration: none; color: var(--ink-2); }
.tool:hover { border-color: var(--ink); color: var(--ink); }
.tool svg { width: 16px; height: 16px; }

/* Boîte de dialogue */
dialog.modal {
  width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--ink);
  background: var(--card); color: var(--ink); box-shadow: 14px 14px 0 -2px rgba(34, 28, 23, .18);
}
dialog.modal::backdrop { background: rgba(34, 28, 23, .45); backdrop-filter: blur(3px); }
dialog.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__head { padding: 28px 32px 10px; position: relative; }
.modal__head h2 { font-size: 2.1rem; }
.modal__head .hand { font-size: 1.45rem; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink-3); }
.modal__close:hover { color: var(--red); }
.modal__body { padding: 10px 32px 30px; }
.modal__body > p { color: var(--ink-2); font-size: 1rem; }
.modal__actions { display: flex; justify-content: flex-end; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 560px) { .modal__head, .modal__body { padding-inline: 20px; } .modal__actions .btn { flex: 1; } }

/* ==========================================================================
   Pages éditoriales (biographie, légal)
   ========================================================================== */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.15em; }
.prose h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 1.8em 0 .6em; }
.prose h2 .n { color: var(--red); font-style: italic; margin-right: .25em; }
.dropcap::first-letter { float: left; font-family: var(--display); font-size: 5.2em; line-height: .78; padding: .06em .1em 0 0; color: var(--red); }
.setlist { list-style: none; padding: 0; margin: 26px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.setlist li { border: 1px solid var(--ink-3); padding: 5px 14px; font-family: var(--display); font-size: 1.2rem; font-style: italic; background: var(--card); transform: rotate(calc(var(--r, 0) * 1deg)); }
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block: 1px solid var(--ink); margin: 36px 0; }
.crew > div { padding: 26px 22px 20px 0; }
.crew > div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.crew h3 { font-size: 1.5rem; margin: 8px 0; }
.crew p { font-size: 1rem; color: var(--ink-2); margin: 0; }
.crew .hand { font-size: 1.3rem; }
@media (max-width: 760px) { .crew { grid-template-columns: 1fr; } .crew > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } }
.bio-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 7vw, 100px); align-items: start; }
.bio-grid .photo { position: sticky; top: 110px; }
@media (max-width: 960px) { .bio-grid { grid-template-columns: 1fr; } .bio-grid .photo { position: relative; top: 0; order: -1; max-width: 320px; } }

.legal { max-width: 72ch; }
.legal h2 { font-size: 1.9rem; margin: 1.6em 0 .5em; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 7vw, 96px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 26px 0 0; }
.contact__list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--rule); }
.contact__list .n { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--red); line-height: 1.1; }
.contact__list b { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 500; }
.contact__list span { color: var(--ink-2); font-size: 1rem; }
.contact form { background: var(--card); border: 1px solid var(--rule); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* Pages courtes (réponses, 404) */
.note-page { min-height: 62vh; display: grid; place-items: center; padding: 60px 0; text-align: center; }
.note-card { max-width: 620px; background: var(--card); border: 1px solid var(--rule); padding: clamp(34px, 6vw, 60px); box-shadow: var(--shadow); position: relative; }
.note-card h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 18px 0 14px; }
.note-card .stamp { margin-bottom: 4px; }
.note-card ul { list-style: none; padding: 0; margin: 22px 0 28px; text-align: left; display: grid; gap: 10px; }
.note-card li { padding-left: 28px; position: relative; color: var(--ink-2); }
.note-card li::before { content: "♪"; position: absolute; left: 4px; color: var(--red); }
.note-card .actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.big-hand { font-size: clamp(5rem, 16vw, 9rem); line-height: .9; color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .aside, .toolbar { display: none !important; }
  :root { --paper: #fff; --paper-2: #fff; --card: #fff; --ink: #000; --ink-2: #222; --ink-3: #555; --red: #a8392a; --rule: #ccc; }
  body { background: #fff; color: #000; }
}


/* Listes déroulantes : le menu natif garde le thème sombre et un texte lisible */
select { color-scheme: dark; }
select option, select optgroup { background-color: var(--card); color: var(--ink); }
select option:checked { background-color: var(--paper-3); color: var(--ink); }

/* ==========================================================================
   Les chansons : pochettes et platine
   ========================================================================== */
.songs-tools { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin: 26px 0 10px; }
.songs-tools .search { flex: 1 1 280px; max-width: 520px; }
.discs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.disc { background: var(--card); border: 1px solid var(--rule); display: flex; flex-direction: column; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.disc:hover { transform: translateY(-4px); border-color: var(--ink-3); box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .6); }
.disc.is-playing { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.disc__cover { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; cursor: pointer; overflow: hidden; background: var(--paper-3); }
.disc__cover img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.34); filter: saturate(.85); transition: transform 1.2s var(--ease), filter .5s; }
.disc:hover .disc__cover img { transform: scale(1.4); filter: none; }
.disc__cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55)), radial-gradient(circle at 50% 50%, transparent 55%, rgba(0, 0, 0, .25)); }
.disc__vinyl { position: absolute; inset: 12%; border-radius: 50%; background: repeating-radial-gradient(circle, #111 0 2px, #1b1b1f 2px 4px); box-shadow: 0 0 0 1px var(--rule); }
.disc__vinyl::after { content: ""; position: absolute; inset: 38%; border-radius: 50%; background: var(--red); }
.disc__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: var(--paper); opacity: .92; transition: transform .3s var(--ease), opacity .3s; }
.disc__play::after { content: ""; position: absolute; left: 25px; top: 20px; border-left: 17px solid var(--red); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.disc__cover:hover .disc__play { transform: scale(1.1); opacity: 1; }
.disc__eq { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: none; gap: 3px; align-items: flex-end; height: 22px; }
.disc__eq i { width: 4px; background: var(--red); border-radius: 2px; animation: eqbounce 1s ease-in-out infinite; }
.disc__eq i:nth-child(2) { animation-delay: -.4s; }
.disc__eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eqbounce { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.disc.is-playing .disc__eq { display: flex; }
.disc.is-playing .disc__play { opacity: 0; }
.disc__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.disc__meta { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 6px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.disc__meta span:first-child { color: var(--red); }
.disc h3 { font-size: 1.55rem; font-weight: 600; margin-bottom: 8px; }
.disc__sum { font-size: .95rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.disc__lyrics { margin-top: auto; align-self: flex-start; font-size: .95rem; }

.platine { position: fixed; left: 50%; bottom: 16px; z-index: 80; transform: translateX(-50%); width: min(880px, calc(100% - 24px)); display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--ink-3); padding: 10px 14px 10px 10px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .8); }
.platine__video { aspect-ratio: 16 / 9; background: #000; }
.platine__video iframe, .platine__video > div { width: 100%; height: 100%; display: block; border: 0; }
.platine__sc { height: 120px; }
.platine__sc iframe { width: 100%; height: 100%; border: 0; }
.platine__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.platine__info .hand { font-size: 1.25rem; }
.platine__info b { font-family: var(--display); font-size: 1.5rem; font-weight: 500; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.platine__info .muted { font-size: .88rem; }
.platine__hint { font-family: var(--hand); font-size: 1.2rem; line-height: 1.2; color: var(--red); }
.platine__info a { align-self: flex-start; font-size: .92rem; margin-top: 4px; }
.platine__ctrl { display: flex; gap: 6px; }
.platine__ctrl button { width: 42px; height: 42px; border: 1px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; font-size: 1.1rem; border-radius: 50%; transition: border-color .2s, color .2s; }
.platine__ctrl button:hover { border-color: var(--red); color: var(--red); }
body.has-platine .site-footer { padding-bottom: 200px; }
@media (max-width: 700px) {
  .platine { grid-template-columns: 1fr auto; bottom: 0; width: 100%; padding: 10px; gap: 10px; }
  .platine__video, .platine__sc { grid-column: 1 / -1; }
  .platine__info b { font-size: 1.25rem; }
  body.has-platine .site-footer { padding-bottom: 360px; }
}
