:root {
  --bg: #0a0a0b; --alt: #111113; --line: #26262a; --ink: #f2f0eb; --muted: #9d9ba0;
  --c: #f2f0eb;
  --display: "Segoe UI Black", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 5vw, 72px);
  --top: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 8px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body { background: var(--bg); color: var(--ink); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1.12; overflow-wrap: break-word; }
h1 { font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem); text-wrap: balance; }
h2 { font-size: clamp(2rem, 5.5vw, 4rem); letter-spacing: -.01em; line-height: 1.08; }
h3 { font-size: 1.05rem; }
.eyebrow { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.lead { font-size: clamp(.98rem, .88rem + .4vw, 1.18rem); max-width: 34em; }
.center { text-align: center; margin-top: clamp(28px, 4vw, 44px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--ink); color: var(--bg); padding: 8px 14px; }
.noscript { padding: 20px; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border: 1px solid #55545a; background: none; padding: 10px 22px; text-align: center; text-decoration: none; font-size: .76rem; font-weight: 700; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { border-color: var(--ink); }
.btn.solid { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.solid:hover { background: transparent; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.actions.stack { flex-direction: column; align-items: stretch; }

/* Logos des plateformes */
.ico { width: 18px; height: 18px; flex: none; fill: var(--m, currentColor); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #55545a; border-radius: 50%; transition: border-color .2s, transform .2s; }
.socials a:hover { border-color: var(--ink); transform: translateY(-3px); }
.socials .ico { width: 20px; height: 20px; fill: var(--ink); transition: fill .2s; }
.socials a:hover .ico, .socials a:focus-visible .ico { fill: var(--m); }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--top); padding: 8px var(--pad); background: rgba(10,10,11,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; line-height: 1; }
.brand img { width: 42px; }
.brand small { display: block; font: 600 .75rem var(--body); letter-spacing: .2em; color: var(--muted); margin-top: 3px; }
nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 30px); }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
nav a:hover { color: var(--ink); }
nav .cta { min-height: 40px; border: 1px solid #55545a; padding: 0 16px; color: var(--ink); }
.burger { display: none; min-height: 44px; background: none; border: 1px solid #55545a; padding: 0 14px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }

/* Héros : un bandeau bas, pour que le contenu commence vite */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 15%, rgba(10,10,11,.74) 55%, rgba(10,10,11,.5)), linear-gradient(0deg, var(--bg), transparent 55%), url("../assets/img/hero-1280.webp") center / cover; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1200px; margin: auto; padding: clamp(18px, 3vh, 32px) var(--pad); }
.hero h1 { font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); max-width: 22em; margin: 4px 0 8px; }
.hero .lead { font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); line-height: 1.5; max-width: 42em; }
.hero-barre { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 14px; }
.hero-barre .actions { margin: 0; }
.feature { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-content: center; column-gap: 14px; row-gap: 2px; width: 100%; justify-self: end; text-align: left; background: rgba(10,10,11,.72); border: 1px solid var(--line); padding: 10px; transition: transform .25s, border-color .25s; }
.feature:hover { transform: translateY(-3px); border-color: #66656b; }
.feature img { grid-row: 1 / 4; align-self: center; width: 100%; aspect-ratio: 1; object-fit: cover; }
.feature > * { align-self: center; }
.feature strong { font-family: var(--display); font-size: 1rem; line-height: 1.25; text-transform: uppercase; }
.feature > span:last-child { color: var(--muted); font-size: .82rem; line-height: 1.35; }

.alert { display: flex; align-items: center; gap: 4px 20px; padding: 14px var(--pad); background: var(--ink); color: var(--bg); text-decoration: none; line-height: 1.45; }
.alert b { font-family: var(--display); text-transform: uppercase; white-space: nowrap; }
.alert i { margin-left: auto; font-style: normal; font-size: 1.4rem; }

/* Sections */
.section { padding: clamp(48px, 8vw, 110px) var(--pad); }
.section.alt { background: var(--alt); border-block: 1px solid var(--line); }
.head { margin-bottom: clamp(24px, 4vw, 40px); }
.head h2 { margin-top: 6px; }

/* Artistes */
.artists { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.artist { position: relative; display: block; overflow: hidden; text-decoration: none; aspect-ratio: 3 / 4; background: #000; border-bottom: 3px solid var(--c); }
.artist img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85); transition: transform .5s, filter .5s; }
.artist:hover img, .artist:focus-visible img { transform: scale(1.04); filter: none; }
.artist-text { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: 6px; padding: 64px clamp(10px, 1.4vw, 18px) 14px; background: linear-gradient(transparent, rgba(0,0,0,.94) 62%); }
.artist strong { font-family: var(--display); font-size: clamp(.8rem, .5rem + 1.1vw, 1.35rem); text-transform: uppercase; overflow-wrap: anywhere; line-height: 1.2; }
.artist em { font-style: normal; font-size: .75rem; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.artist-text > span { font-size: .86rem; color: #c9c7cc; line-height: 1.45; }

/* Sorties */
.filters { display: grid; gap: 10px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { flex: none; min-height: 40px; background: none; border: 1px solid var(--line); border-radius: 99px; padding: 0 16px; font-size: .85rem; white-space: nowrap; color: var(--muted); }
.chips button:hover { color: var(--ink); border-color: #66656b; }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.releases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 45%), 1fr)); gap: clamp(22px, 3vw, 30px) clamp(12px, 2vw, 20px); }
.release { display: flex; flex-direction: column; align-items: stretch; text-align: left; background: none; border: 0; min-width: 0; line-height: 1.5; }
.release img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 10px; transition: transform .3s, filter .3s; }
.release:hover img { transform: translateY(-5px); filter: brightness(1.12); }
.release strong { line-height: 1.3; overflow-wrap: anywhere; }
.release span { color: var(--muted); font-size: .86rem; }
.release em { font-style: normal; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #85838a; margin-top: 2px; }

dialog { margin: auto; width: min(860px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overscroll-behavior: contain; background: var(--alt); color: var(--ink); border: 1px solid #44434a; }
dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 24px; overflow: auto; }
dialog::backdrop { background: rgba(0,0,0,.82); }
dialog form { grid-column: 1 / -1; justify-self: end; position: sticky; top: 0; z-index: 1; height: 0; }
.close { width: 44px; height: 44px; background: var(--alt); border: 1px solid #55545a; }
dialog > img { width: 100%; align-self: start; }
dialog h3 { font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); margin: 6px 52px 6px 0; }
dialog .eyebrow { margin-right: 52px; }
dialog ol { margin: 16px 0 0 1.4em; }
dialog li { padding: 4px 0; border-bottom: 1px solid var(--line); }

/* Lecteur de clips : largeur limitée aussi par la hauteur de l'écran */
#lecteur { width: min(1100px, calc(100vw - 24px), max(320px, (100vh - 190px) * 16 / 9)); width: min(1100px, calc(100vw - 24px), max(320px, (100dvh - 190px) * 16 / 9)); }
#lecteur[open] { display: block; padding: 0; }
.lecteur-tete { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 10px 10px 16px; }
.lecteur-tete form { position: static; height: auto; }
#lecteur h3 { margin: 0; font-size: clamp(.9rem, .8rem + .5vw, 1.15rem); }
.lecteur-tete p { font-size: .85rem; line-height: 1.4; }
.ecran { aspect-ratio: 16 / 9; background: #000; }
.ecran iframe { display: block; width: 100%; height: 100%; border: 0; }
.lecteur-pied { display: flex; justify-content: flex-end; padding: 10px; }

/* Clips */
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 32px 22px; }
.clip { text-decoration: none; display: flex; flex-direction: column; min-width: 0; line-height: 1.45; }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 10px; background: #000; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.thumb .ico { position: absolute; left: 12px; bottom: 12px; width: 42px; height: 42px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
.clip:hover img { transform: scale(1.05); }
.clip > span:last-child { color: var(--muted); font-size: .86rem; }

/* Agenda */
.agenda { list-style: none; border-top: 1px solid var(--line); }
.agenda li { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.agenda li.past { opacity: .5; }
.agenda time { text-align: center; text-transform: uppercase; font-size: .75rem; letter-spacing: .14em; color: var(--muted); }
.agenda time b { display: block; font: 900 2.8rem/1 var(--display); color: var(--ink); letter-spacing: 0; }
.tag { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; border: 1px solid #55545a; padding: 4px 10px; }

/* Studio et label */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 110px); align-items: start; }
.split h2 { margin: 6px 0 20px; }
.split p + p { margin-top: 14px; }
.split .btn { margin-top: 24px; }
.services { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.services li { background: var(--bg); padding: 24px 20px; min-height: 150px; min-width: 0; }
.services h3 { margin-bottom: 8px; font-size: clamp(.85rem, 1.2vw, 1.05rem); }
.services p { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.sub { margin-bottom: 14px; }
.press { list-style: none; border-top: 1px solid var(--line); }
.press a { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; line-height: 1.45; }
.press a:hover strong { text-decoration: underline; }
.press span { color: var(--muted); font-size: .85rem; }

.contact { text-align: center; }
.contacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(24px, 4vw, 40px); }
.contacts a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: clamp(20px, 3vw, 34px) 12px; border: 1px solid var(--line); text-decoration: none; line-height: 1.4; transition: background .2s, color .2s; overflow-wrap: anywhere; }
.contacts a:hover { background: var(--ink); color: var(--bg); }
.contacts .ico { width: 32px; height: 32px; margin-bottom: 8px; }
.contacts strong { font-family: var(--display); text-transform: uppercase; font-size: clamp(.8rem, .5rem + .7vw, .95rem); }
.contacts span { font-size: .88rem; }

.foot { border-top: 1px solid var(--line); padding: 40px var(--pad) calc(40px + env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .88rem; }
.foot img { width: 60px; margin-bottom: 10px; }
.foot .socials { margin: 6px 0 14px; justify-content: center; }

/* Fiche artiste */
.profile { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 76px); max-width: 1440px; margin: auto; padding: clamp(24px, 5vw, 72px) var(--pad); align-items: start; }
.profile > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 4px solid var(--c); position: sticky; top: calc(var(--top) + 24px); }
.profile .eyebrow { color: var(--c); }
.profile h1 { margin: 8px 0 20px; }
.profile div > p:not(.eyebrow) { margin-bottom: 14px; max-width: 38em; }
blockquote { border-left: 3px solid var(--c); padding-left: 18px; margin-top: 26px; }
blockquote p { font-size: clamp(1.05rem, .9rem + .6vw, 1.25rem); font-style: italic; }
cite { font-size: .82rem; font-style: normal; color: var(--muted); }
.credits { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.credits li { border: 1px solid var(--line); padding: 16px 18px; display: flex; flex-direction: column; }
.credits span { color: var(--muted); }
.next { display: block; text-align: center; padding: clamp(36px, 5vw, 56px) var(--pad); text-decoration: none; border-top: 1px solid var(--line); }
.next span { display: block; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.next strong { font: 900 clamp(1.25rem, .8rem + 2vw, 2.4rem) var(--display); text-transform: uppercase; overflow-wrap: anywhere; }

/* Écrans tactiles : pas de survol, les photos restent en couleur */
@media (hover: none) {
  .artist img { filter: none; }
  .chips button { min-height: 44px; }
}

/* Sans souris (ou petit écran), pas de survol : les logos sont d'emblée à la couleur de leur réseau */
@media (hover: none), (max-width: 1000px) {
  .socials .ico { fill: var(--m); }
}

/* Tablettes et petits portables */
@media (max-width: 1000px) {
  .burger { display: block; }
  nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - var(--top)); max-height: calc(100dvh - var(--top)); overflow-y: auto; background: var(--bg); border-bottom: 1px solid var(--line); padding: 6px var(--pad) 18px; }
  nav.open { display: flex; }
  nav a { flex: none; min-height: 46px; }
  nav .cta { justify-content: center; margin-top: 8px; }
  .split, .profile { grid-template-columns: minmax(0, 1fr); }
  .profile > img { position: static; max-width: 520px; aspect-ratio: 4 / 3; }
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 641px) and (max-width: 900px) {
  .artists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Héros en colonne unique : la sortie à la une passe sous les boutons */
@media (max-width: 760px) {
  .hero-bg { background: linear-gradient(0deg, var(--bg), rgba(10,10,11,.7)), url("../assets/img/hero-720.webp") center / cover; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 16px; }
  .feature { grid-template-columns: 60px minmax(0, 1fr); column-gap: 12px; row-gap: 0; max-width: 440px; justify-self: start; padding: 8px; }
  .feature .eyebrow { line-height: 1.4; }
}

/* Téléphones */
@media (max-width: 640px) {
  .artists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artist-text { padding-top: 48px; }
  .artist-text > span { display: none; }
  /* Sur téléphone, le titre suffit : le texte d'accroche est masqué */
  .hero .lead { display: none; }
  .hero-barre { gap: 10px; margin-top: 10px; max-width: 440px; }
  .hero-barre .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }

  /* Rangées à faire glisser du doigt : filtres et clips */
  .chips, .clips { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--pad)); padding: 4px var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .chips::-webkit-scrollbar, .clips::-webkit-scrollbar { display: none; }
  .clips { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; scroll-snap-type: x mandatory; }
  .clip { scroll-snap-align: start; }

  .agenda li { grid-template-columns: 58px minmax(0, 1fr); gap: 10px 14px; padding: 20px 0; }
  .agenda .tag, .agenda .btn { grid-column: 2; justify-self: start; }
  .agenda time b { font-size: 2rem; }
  .services li { min-height: 0; padding: 18px 14px; }
  dialog[open] { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; }
  dialog > img { width: min(220px, 62%); justify-self: center; }
  dialog .eyebrow, dialog h3 { margin-right: 0; }
  .alert { font-size: .9rem; }
  .alert i { display: none; }
  .alert { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 479px) {
  .artist em { display: none; }
  .services { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 359px) {
  .contacts { grid-template-columns: minmax(0, 1fr); }
}

/* Téléphone tenu à l'horizontale */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --top: 56px; }
  .hero-in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; padding-block: 12px; }
  .hero h1 { font-size: 1.2rem; }
  .hero .lead, .hero .socials { display: none; }
  .hero-barre { margin-top: 8px; }
  .feature { grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; padding: 8px; }
  .profile { grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); }
  .profile > img { aspect-ratio: 1; }
  #lecteur { width: min(calc(100vw - 24px), max(320px, (100vh - 100px) * 16 / 9)); width: min(calc(100vw - 24px), max(320px, (100dvh - 100px) * 16 / 9)); }
  .lecteur-tete { padding-block: 4px; }
  .lecteur-tete p, .lecteur-pied { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
