/* EXØGÈNE — v2 : identité du site d'origine (noir, textures, Montserrat) + press kit
   (photos du shooting, vert néon #00BF63, graffitis). Aucune dépendance, aucun JS. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  --black: #000;
  --ink: #0b0b0b;             /* surfaces légèrement relevées */
  --line: rgba(255, 255, 255, .14);
  --white: #fff;
  --muted: rgba(255, 255, 255, .72);
  --green: #00bf63;           /* vert des retours du plan de scène (press kit) : 8.9:1 sur noir */
  --green-glow: rgba(0, 191, 99, .35);
  --font: "Montserrat", system-ui, sans-serif;
  --text-size: 16px;
  --title-xl: 40px;           /* site d'origine : 40 / 30 / 25, 700, capitales */
  --title-md: 25px;           /* 25 / 20 / 20 */
  --gutter: 40px;
  --container: 1140px;
  --section-y: 120px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}
@media (max-width: 1024px) { :root { --title-xl: 30px; --title-md: 20px; --section-y: 96px; } }
@media (max-width: 767px)  { :root { --text-size: 15px; --title-xl: 25px; --gutter: 24px; --section-y: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--text-size);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1rem; }
strong { font-weight: 700; }
a { color: inherit; }
ul { margin: 0; padding: 0; }
[id] { scroll-margin-top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; isolation: isolate; padding-block: var(--section-y); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: .6rem 1rem; background: var(--green); color: var(--black); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---- Typo ---- */
.title-xl, .title-md { margin: 0 0 24px; font-weight: 700; text-transform: uppercase; line-height: 1.1; letter-spacing: .01em; }
.title-xl { font-size: var(--title-xl); }
.title-md { font-size: var(--title-md); }
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 .75rem;
  color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.label { margin: 1.75rem 0 .75rem; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 1.15em; }
.intro { max-width: 60ch; color: var(--muted); }

/* ---- Boutons ---- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.4rem;
  border: 2px solid var(--white); color: var(--white);
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .16s var(--ease-out);
}
.btn-primary { background: var(--green); border-color: var(--green); color: var(--black); }
.btn-meta { white-space: nowrap; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .75; }
.btn:active { transform: scale(.97); }
@media (hover: hover) {
  .btn:hover { background: var(--white); border-color: var(--white); color: var(--black); }
}

/* ---- Hero : photo de groupe du shooting ---- */
.hero {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh; min-height: 100svh;
  padding: 0 var(--gutter) clamp(48px, 9vh, 110px);
  text-align: center;
}
.hero-bg, .hero-bg img, .section-bg, .section-bg img, .live-bg, .live-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
}
.hero-bg img, .section-bg img, .live-bg img { object-fit: cover; max-width: none; }
.hero-bg img { object-position: 50% 45%; }
@media (max-aspect-ratio: 4/5) { .hero-bg img { object-position: center 30%; } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.9) 82%, var(--black) 100%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo { margin: 0; width: min(720px, 100%); }
.hero-logo img { width: 100%; }
.hero-tagline { margin: 1.25rem 0 0; font-size: 14px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero-tagline .sep { color: var(--green); }
.hero .actions { justify-content: center; }

.topnav {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: flex-end; align-items: center; gap: 4px 28px;
  padding: max(20px, env(safe-area-inset-top)) var(--gutter) 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.topnav a { text-decoration: none; padding: 10px 0; color: var(--white); }
.topnav a:not(.topnav-cta) { background: linear-gradient(var(--green), var(--green)) left calc(100% - 4px) / 0 2px no-repeat; transition: background-size .25s var(--ease-out); }
.topnav-cta { padding: 10px 16px !important; border: 2px solid var(--green); color: var(--green) !important; }
@media (hover: hover) {
  .topnav a:not(.topnav-cta):hover { background-size: 100% 2px; }
  .topnav-cta:hover { background: var(--green); color: var(--black) !important; }
}
@media (max-width: 767px) {
  .topnav { justify-content: center; gap: 0 18px; flex-wrap: wrap; font-size: 11px; letter-spacing: .1em; }
  .topnav a[href="#live"], .topnav a[href="#fiche-technique"] { display: none; }
  .hero-logo { width: 280px; }
  .hero-tagline { font-size: 12px; letter-spacing: .16em; }
}

/* ---- Fond graffitis (press kit) ---- */
.section-graffiti::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("/assets/media/graffitis-900.webp") center / 900px auto repeat;
  opacity: .07; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%);
}

/* ---- Présentation ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col > div:last-child { padding-top: 4.2rem; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 24px; } .two-col > div:last-child { padding-top: 1.5rem; } }
.definition { margin: 0 0 1.75rem; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--green); }
.definition blockquote { margin: 0; }
.definition blockquote p { margin: 0 0 .5rem; font-size: 1.2em; line-height: 1.45; }
.definition figcaption { color: var(--muted); font-size: 14px; }
.definition figcaption a { text-decoration: none; }
.content p, .two-col p, .live p, .member p { max-width: 68ch; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { padding: .35rem .75rem; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: 13px; line-height: 1.3; }
.ticks { list-style: none; margin-bottom: 1.5rem; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--green); }

/* ---- Membres ---- */
.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; margin-top: 12px; }
@media (max-width: 1024px) { .members { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; } }
@media (max-width: 599px)  { .members { grid-template-columns: 1fr; } }
.member-photo { display: block; overflow: hidden; margin-bottom: 1.1rem; background: var(--ink); aspect-ratio: 2 / 3; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
@media (max-width: 599px) { .member-photo { aspect-ratio: 4 / 5; } }
.member-name { margin: 0; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.member-role { margin: .2rem 0 .6rem; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.member p:last-child { color: var(--muted); font-size: .95em; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .member:hover .member-photo img { transform: scale(1.04); }
}

/* ---- Clip ---- */
.section-clip { padding-bottom: calc(var(--section-y) * .6); }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border: 1px solid var(--line); }
.video-facade, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { display: block; overflow: hidden; }
.video-facade picture, .video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-facade::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); transition: background-color .2s var(--ease-out); }
.play {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: clamp(64px, 9vw, 96px); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 8px rgba(0,191,99,.25);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.play::before {
  content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%;
  border-style: solid; border-width: 14px 0 14px 23px; border-color: transparent transparent transparent var(--black);
}
.video-facade:active .play { transform: scale(.95); }
@media (hover: hover) {
  .video-facade:hover::after { background: rgba(0,0,0,.05); }
  .video-facade:hover .play { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(0,191,99,.3); }
}
.video-note { margin-top: .75rem; color: var(--muted); font-size: 13px; }
.listen-title { margin-top: 3.5rem; }
.spotify { position: relative; height: 354px; border-radius: 12px; overflow: hidden; background: #121212; border: 1px solid var(--line); }
.spotify iframe { width: 100%; height: 100%; border: 0; display: block; }
.spotify-facade { display: grid; grid-template-rows: auto 1fr; gap: 1rem; height: 100%; padding: 1.5rem; text-decoration: none;
  background: radial-gradient(120% 90% at 0% 0%, rgba(0,191,99,.28), transparent 60%), #121212; }
.spotify-head { display: flex; align-items: center; gap: 1rem; font-size: 18px; line-height: 1.3; }
.muted { color: var(--muted); font-size: 14px; }
.play-inline { position: relative; left: auto; top: auto; translate: none; flex: none; width: 56px; box-shadow: 0 0 0 6px rgba(0,191,99,.2); }
.play-inline::before { border-width: 10px 0 10px 16px; }
.tracks { margin: 0; padding-left: 1.1rem; list-style: square; columns: 2 220px; column-gap: 2rem; color: var(--muted); font-size: 14px; overflow: hidden; }
.tracks li { padding: .3rem 0; break-inside: avoid; }
@media (hover: hover) { .spotify-facade:hover .play-inline { transform: scale(1.06); } }
.spotify-facade:active .play-inline { transform: scale(.95); }
.platforms { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }

/* ---- Live ---- */
.live {
  position: relative; isolation: isolate;
  display: flex; align-items: center;
  min-height: 90vh; min-height: 90svh;
  padding-block: var(--section-y);
}
.live-bg img { object-position: center 60%; }
.live::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 40%, rgba(0,0,0,.1) 75%),
              linear-gradient(180deg, var(--black) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 82%, var(--black) 100%);
}
.live-inner > * { max-width: 540px; }
@media (max-width: 900px) {
  .live { align-items: flex-end; min-height: 0; padding-top: 68vw; }
  .live-bg { height: 70vw; }
  .live-bg img { object-position: center; }
  .live::after { background: linear-gradient(180deg, var(--black) 0%, rgba(0,0,0,0) 12%, rgba(0,0,0,0) 30vw, var(--black) 64vw); }
}

/* ---- Galerie (module galerie : partials/galerie.php, galerie.css, galerie.js) ---- */
.gallery-justified { --gv-row-h: 420px; --gv-accent: var(--green); }
.gallery-dl:focus-visible, .gv-item:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---- Fiche technique ---- */
.accordion { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 60px; padding: .9rem 0;
  font-size: var(--title-md); font-size: clamp(16px, 2vw, 20px); font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--green), var(--green)) center / 100% 2px no-repeat,
              linear-gradient(var(--green), var(--green)) center / 2px 100% no-repeat;
  transition: transform .2s var(--ease-out);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) { .accordion summary:hover { color: var(--green); } }
.accordion details > :not(summary) { margin-bottom: 1.5rem; }
.accordion ul { list-style: none; max-width: 75ch; }
.accordion li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; color: var(--muted); }
.accordion li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 2px; background: var(--green); }
.plot { display: block; margin-bottom: 1.5rem; border: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }
.patch { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14px; }
.patch caption { text-align: left; padding-bottom: .75rem; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.patch th, .patch td { padding: .5rem .75rem; border-bottom: 1px solid var(--line); text-align: left; }
.patch th { color: var(--green); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.patch td:first-child { width: 3.5rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---- Contact (texture d'origine) ---- */
.contact { padding-bottom: calc(var(--section-y) + 5rem); min-height: 80vh; }
.contact .section-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--black) 0%, rgba(0,0,0,.2) 100%); }
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 28px; }
@media (max-width: 700px) { .contacts { grid-template-columns: 1fr; } }
.contact-card { padding: 1.5rem 1.5rem 1.25rem; border: 1px solid var(--line); border-top: 3px solid var(--green); background: rgba(0,0,0,.55); font-style: normal; }
.contact-card .label { margin-top: 0; }
.contact-name { font-size: 18px; font-weight: 700; text-transform: uppercase; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card a { overflow-wrap: anywhere; }

/* ---- Pied de page ---- */
.site-footer {
  padding: 1.5rem var(--gutter) max(1.5rem, env(safe-area-inset-bottom));
  font-size: 13px; color: var(--muted); text-align: center;
}
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.5rem; margin-bottom: .5rem; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); text-underline-offset: .2em; }
body:not(.page-legal) { position: relative; }
body:not(.page-legal) .site-footer { position: absolute; left: 0; right: 0; bottom: 0; }

/* ---- Pages légales et 404 ---- */
.legal-header { padding: 2rem 30px; }
.legal-logo { display: inline-block; width: 200px; }
.legal { max-width: 760px; margin: 0 auto; padding: 1rem 30px 4rem; }
.legal h1 { font-size: var(--title-xl); text-transform: uppercase; line-height: 1.1; margin: 0 0 1.5rem; }
.legal h2 { font-size: var(--title-md); text-transform: uppercase; line-height: 1.2; margin: 2rem 0 .8rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .6rem; }
.legal .maj { color: var(--muted); }

/* ---- Liens, focus, mouvement ---- */
.contact-card a, .legal a, .definition figcaption a {
  text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: .2em;
  transition: text-decoration-color .15s ease, color .15s ease;
}
@media (hover: hover) {
  .contact-card a:hover, .legal a:hover, .site-footer a:hover, .definition figcaption a:hover { text-decoration-color: var(--green); color: var(--white); }
}
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
