/* =========================================================
   Double Siete — feuille de style principale (v2, 2026)
   DA : noir pur / blanc pur. Une seule bande inversée
   (partenaires) pour rythmer la page.
   ========================================================= */

@font-face {
  font-family: 'Gotham';
  src: url('/assets/fonts/GOTHAM-LIGHT.woff') format('woff'),
       url('/assets/fonts/GOTHAM-LIGHT.TTF') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('/assets/fonts/GOTHAM-MEDIUM.TTF') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('/assets/fonts/GOTHAM-BLACK.TTF') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GC Epic Pro';
  src: url('/assets/fonts/gcepicpro.woff2') format('woff2'),
       url('/assets/fonts/gcepicpro.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --noir: #000000;
  --blanc: #ffffff;
  --gris: #9a9a9a;      /* texte secondaire — 7:1 sur noir */
  --gris-fonce: #5c5c5c;/* texte secondaire sur blanc */
  --trait: #2a2a2a;     /* filets sur fond noir */
  --display: 'GC Epic Pro', 'Gotham', system-ui, sans-serif;
  --text: 'Gotham', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--text);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--blanc); color: var(--noir); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.6rem;
  font-family: var(--text); font-weight: 500; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--blanc); border-radius: 0;
  background: transparent; color: var(--blanc);
  transition: background-color .2s, color .2s;
}
.btn--plein { background: var(--blanc); color: var(--noir); }
.btn[disabled] { opacity: .5; cursor: progress; }
.btn svg { width: 1em; height: 1em; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(0,0,0,.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--trait); }
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header__logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: .9rem; font-weight: 500; text-decoration: none; position: relative; padding: .4rem 0; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav .btn { min-height: 40px; padding: 0 1.1rem; }
.nav .btn::after { display: none; }
.burger { display: none; background: none; border: 0; color: var(--blanc); padding: .5rem; margin-right: -.5rem; cursor: pointer; }
.burger svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--noir); padding: 1.5rem var(--gutter);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-family: var(--display); font-size: 2rem; padding: .5rem 0; width: 100%; border-bottom: 1px solid var(--trait); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 2rem; font-family: var(--text); font-size: 1rem; min-height: 52px; width: 100%; border-bottom: 1.5px solid var(--blanc); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: stretch;
  padding-block: clamp(3rem, 14vh, 9rem) clamp(2.5rem, 7vh, 5rem);
}
.hero__mark {
  position: absolute; pointer-events: none;
  right: -9vw; top: 54%; transform: translateY(-50%);
  height: 72%; width: auto; aspect-ratio: 392 / 290;
  color: var(--blanc);
}
.hero__mark path { fill: none; stroke: currentColor; stroke-width: .5; stroke-linejoin: round; }
.hero__mark .fill { fill: currentColor; stroke: none; opacity: .045; }
.hero .wrap { position: relative; display: flex; flex-direction: column; }
.hero__actions { margin-top: auto; padding-top: 2.5rem; }  /* boutons + réseaux calés en bas de l'écran */
.hero__title {
  font-size: clamp(2.6rem, 8.2vw, 7.2rem);
  max-width: 11ch;
  text-transform: uppercase;
}
.hero__lead { margin-top: 2rem; max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--blanc); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__social { margin-top: 3rem; display: flex; gap: 1.25rem; align-items: center; color: var(--gris); font-size: .85rem; }
.hero__social a { display: inline-flex; color: var(--blanc); opacity: .75; transition: opacity .2s; }
.hero__social a:hover { opacity: 1; }
.hero__social svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .hero { padding-top: 50vw; }
  .hero__mark { top: 6vw; right: -4vw; bottom: auto; height: 40vw; width: auto; transform: none; opacity: .8; }
}

/* Le 77 : le tracé (longueurs, défilement) est piloté par main.js */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__mark .s { transition: stroke-dashoffset 1.6s cubic-bezier(.65,0,.35,1); }
  .js .hero__mark .s2 { transition-delay: .2s; }
  .js .hero__mark .fill { opacity: 0; transition: opacity 1s 1.2s ease; }
  .js .hero.is-linked .hero__mark .s,
  .js .hero.is-linked .hero__mark .fill { transition: stroke-dashoffset .25s ease-out, opacity .25s ease-out; }

  .js .hero__title, .js .hero__lead, .js .hero__actions, .js .hero__social { opacity: 0; transform: translateY(14px); animation: rise .9s cubic-bezier(.22,1,.36,1) forwards; }
  .js .hero__title   { animation-delay: .15s; }
  .js .hero__lead    { animation-delay: .35s; }
  .js .hero__actions { animation-delay: .5s; }
  .js .hero__social  { animation-delay: .65s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); border-top: 1px solid var(--trait); }
.section__title { font-size: clamp(2.2rem, 5vw, 3.75rem); text-transform: uppercase; }
.muted { color: var(--gris); }

/* Le label */
.label-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.label-aside { position: sticky; top: calc(var(--header-h) + 2rem); }

/* Vinyle : le disque tourne et le bras se pose quand la section est à l'écran */
.vinyl { margin-top: clamp(2rem, 4vw, 3.5rem); width: 100%; max-width: 440px; color: var(--blanc); }
.vinyl svg { width: 100%; height: auto; overflow: visible; }
.vinyl__body { fill: #0d0d0d; stroke: var(--trait); stroke-width: 1; }
.vinyl__grooves circle { fill: none; stroke: #1c1c1c; stroke-width: .7; }
.vinyl__tracks circle { fill: none; stroke: #000; stroke-width: 2.5; }
.vinyl__label { fill: var(--blanc); }
.vinyl__mark { fill: var(--noir); }
.vinyl__text { font-family: var(--display); font-size: 7.4px; letter-spacing: .9px; fill: var(--noir); }
.vinyl__hole { fill: var(--noir); }
.vinyl__sheen { fill: var(--blanc); opacity: .05; pointer-events: none; }
.vinyl__disc { transform-box: view-box; transform-origin: 200px 210px; }
.vinyl__arm { transform-box: view-box; transform-origin: 420px 42px; transform: rotate(0deg); }
.vinyl__pivot { fill: var(--noir); stroke: var(--blanc); stroke-width: 1.5; }
.vinyl__rod { fill: none; stroke: var(--blanc); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vinyl__head { fill: var(--blanc); }

@media (prefers-reduced-motion: no-preference) {
  .js .vinyl__arm { transform: rotate(-24deg); transition: transform 1.1s cubic-bezier(.65,0,.35,1); }
  .js .vinyl.is-playing .vinyl__arm { transform: rotate(0deg); }
  .js .vinyl__disc { animation: spin 5s linear infinite; animation-play-state: paused; }
  .js .vinyl.is-playing .vinyl__disc { animation-play-state: running; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.label__intro { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; max-width: 40ch; }
.missions { list-style: none; padding: 0; margin: 3rem 0 0; }
.missions li { display: grid; grid-template-columns: 14rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--trait); }
.missions li:last-child { border-bottom: 1px solid var(--trait); }
.missions strong { font-family: var(--display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; line-height: 1.2; }
.missions p { margin: 0; color: var(--gris); max-width: 44ch; }
@media (max-width: 860px) {
  .label-grid { grid-template-columns: 1fr; }
  .label-aside { position: static; }
  .vinyl { max-width: 300px; }
  .missions li { grid-template-columns: 1fr; gap: .35rem; }
}

/* Artiste */
.artist { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.artist__visual { position: relative; }
.artist__visual img { width: 100%; height: auto; filter: grayscale(1) contrast(1.15) brightness(1.05); transition: filter .6s ease; }
.artist__visual:hover img { filter: none; }
.artist__name { font-size: clamp(3rem, 8vw, 6.5rem); text-transform: uppercase; }
.artist__role { margin: 1.25rem 0 1.75rem; font-weight: 500; font-size: .95rem; color: var(--gris); }
.artist__bio { max-width: 42ch; font-size: 1.15rem; }
.artist .btn { margin-top: 1.5rem; }
@media (max-width: 860px) {
  .artist { grid-template-columns: 1fr; }
  .artist__visual { max-width: 520px; }
}

/* ---------- Partenaires (bande inversée) ---------- */
.partners {
  background: var(--blanc); color: var(--noir);
  padding-block: clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}
.partners__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.partners__head p { margin: 0; max-width: 38ch; color: var(--gris-fonce); }
.marquee {
  --gap: clamp(3rem, 7vw, 6rem);
  --speed: 32s;
  position: relative; display: flex; overflow: hidden; user-select: none;
  border-block: 1.5px solid var(--noir);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  flex-shrink: 0; display: flex; align-items: center; gap: var(--gap);
  min-width: 100%; padding: 2.25rem var(--gap) 2.25rem 0; margin: 0; list-style: none;
  justify-content: space-around;
  animation: defile var(--speed) linear infinite;
}
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-100%); } }
.partner { flex-shrink: 0; display: flex; align-items: center; justify-content: center; height: 72px; }
.partner a, .partner span { display: flex; align-items: center; height: 100%; }
.partner img {
  height: 100%; max-height: 56px; width: auto; max-width: 220px; object-fit: contain;
  filter: brightness(0);           /* tout logo devient noir, quelle que soit sa couleur d'origine */
  opacity: .82; transition: opacity .2s;
}
.partner a:hover img { opacity: 1; }
.partner--wide img { max-width: 260px; max-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; padding-right: 0; row-gap: 2rem; }
  .marquee__track[aria-hidden="true"] { display: none; }
}

/* ---------- Soutenir ---------- */
.support { display: grid; grid-template-columns: 7fr 5fr; gap: 3rem; align-items: end; }
.support__title { font-size: clamp(2.6rem, 7vw, 5.5rem); text-transform: uppercase; }
.support__text { max-width: 44ch; margin-top: 1.5rem; font-size: 1.15rem; }
.support__side { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.support__side .helloasso { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.support__side small { color: var(--gris); font-size: .85rem; }
@media (max-width: 860px) { .support { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); }
.contact__aside p { color: var(--gris); max-width: 34ch; margin-top: 1.5rem; }
.contact__mail { display: inline-block; margin-top: .5rem; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; word-break: break-all; }
.form { display: grid; gap: 2rem; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .85rem; font-weight: 500; color: var(--gris); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--blanc); background: transparent;
  border: 0; border-bottom: 1.5px solid #4a4a4a; border-radius: 0;
  padding: .6rem 0; transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--blanc); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form__foot { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.5em; margin: 0; font-weight: 500; }
.form-status.is-error { color: #ff8a8a; }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--trait); padding-block: 3.5rem 2.5rem; font-size: .9rem; }
.footer__top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer__logo { height: 56px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.footer__links a { text-decoration: none; color: var(--gris); }
.footer__links a:hover { color: var(--blanc); }
.footer__bottom { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; color: var(--gris); font-size: .8rem; }

/* ---------- Bandeau cookies ---------- */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 45; max-width: 420px;
  background: var(--noir); border: 1px solid #3a3a3a; padding: 1.25rem;
  font-size: .85rem; line-height: 1.5;
}
.cookie p { margin: 0 0 1rem; }
.cookie .btn { min-height: 42px; }

/* ---------- Pages légales ---------- */
.legal { max-width: 72ch; padding-block: clamp(3rem, 8vw, 6rem); }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.4rem; text-transform: uppercase; margin: 2.75rem 0 1rem; }
.legal a { text-underline-offset: 4px; }
.legal ul { padding-left: 1.2rem; }

/* =========================================================
   Micro-interactions & apparitions (v9)
   ========================================================= */

/* --- Boutons : remplissage qui glisse de gauche à droite (souris uniquement) --- */
.btn { position: relative; isolation: isolate; overflow: hidden; transition: color .35s ease, border-color .35s ease; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--blanc); transform: scaleX(0); transform-origin: left center;
  transition: transform .35s cubic-bezier(.65,0,.35,1);
}
.btn--plein::before { background: var(--noir); }
@media (hover: hover) {
  .btn:hover::before { transform: scaleX(1); }
  .btn:hover { color: var(--noir); }
  .btn--plein:hover { color: var(--blanc); }
}
.btn:active { transform: translateY(1px); }

/* --- Réseaux de l'accueil --- */
.hero__social a { transition: opacity .2s, transform .25s ease; }
.hero__social a:hover { transform: translateY(-3px); }

/* --- Missions : la ligne s'allume et le titre glisse --- */
.missions li { position: relative; }
.missions li::before {
  content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--blanc); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.65,0,.35,1);
}
.missions strong { transition: transform .35s ease; }
.missions p { transition: color .35s ease; }
.missions li:hover::before { transform: scaleX(1); }
.missions li:hover strong { transform: translateX(8px); }
.missions li:hover p { color: var(--blanc); }

/* --- Photo de l'artiste --- */
.artist__visual { overflow: visible; }
.artist__visual img { transition: filter .6s ease, transform .8s cubic-bezier(.22,1,.36,1); }
.artist__visual:hover img { transform: scale(1.03); }

/* --- Logos partenaires --- */
.partner img { transition: opacity .25s, transform .3s ease; }
.partner a:hover img { transform: scale(1.06); }

/* --- Liens soulignés qui se dessinent --- */
.footer__links a, .contact__mail {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: left 100%; background-size: 0% 1px;
  padding-bottom: 3px; transition: background-size .35s ease, color .2s;
}
.contact__mail { background-size: 100% 1px; }
.footer__links a:hover { background-size: 100% 1px; }
.contact__mail:hover { background-size: 0% 1px; background-position: right 100%; }

/* --- Champs du formulaire --- */
.field label { transition: color .2s; }
.field:focus-within label { color: var(--blanc); }

/* --- Apparitions au défilement (classes ajoutées par main.js) --- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1);
    transition-delay: var(--d, 0ms);
  }
  .js .reveal-title {
    clip-path: inset(0 0 100% 0); transform: translateY(40%);
    transition: clip-path .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
    transition-delay: var(--d, 0ms);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-title.is-in { clip-path: inset(0 0 -10% 0); transform: none; }
}

/* =========================================================
   Sections claires (fond blanc, texte noir) — ex. « Le label »
   ========================================================= */
.section--light { background: var(--blanc); color: var(--noir); border-top: 0; }
.section--light + .section { border-top: 0; }
.section--light .missions li,
.section--light .missions li:last-child { border-color: #d4d4d4; }
.section--light .missions p { color: var(--gris-fonce); }
.section--light .missions li::before { background: var(--noir); }
.section--light .missions li:hover p { color: var(--noir); }
/* vinyle : le disque reste noir, le bras passe en noir */
.section--light .vinyl { color: var(--noir); }
.section--light .vinyl__body { stroke: #d4d4d4; }
.section--light .vinyl { color: #7a7a7a; }               /* bras gris : lisible sur le blanc et sur le disque */
.section--light .vinyl__rod { stroke: #7a7a7a; }
.section--light .vinyl__head { fill: #7a7a7a; }
.section--light .vinyl__pivot { fill: var(--blanc); stroke: #7a7a7a; }

/* --- Sections claires : textes secondaires, formulaire et boutons --- */
.section--light .muted,
.section--light .contact__aside p,
.section--light .field label { color: var(--gris-fonce); }
.section--light .field:focus-within label { color: var(--noir); }
.section--light .field input,
.section--light .field textarea { color: var(--noir); border-bottom-color: #b5b5b5; }
.section--light .field input:focus,
.section--light .field textarea:focus { border-bottom-color: var(--noir); }
.section--light .form-status.is-error { color: #b42318; }
/* boutons inversés : contour noir, et bouton plein en noir */
.section--light .btn { border-color: var(--noir); color: var(--noir); }
.section--light .btn::before { background: var(--noir); }
.section--light .btn--plein { background: var(--noir); color: var(--blanc); }
.section--light .btn--plein::before { background: var(--blanc); }
@media (hover: hover) {
  .section--light .btn:hover { color: var(--blanc); }
  .section--light .btn--plein:hover { color: var(--noir); }
}
