/* JSB Production, feuille de style principale */

:root {
  --noir: #0b0b0b;
  --noir-2: #161616;
  --ligne: #1f1f1f;
  --texte: #dcdcdc;
  --texte-fort: #fafafa;
  --texte-faible: #9a9a9a;
  --texte-tres-faible: #6f6f6f;
  --blanc: #fafafa;
  --encre: #111111;
  --encre-faible: #6b6b6b;
  --police: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --marge: clamp(20px, 4.5vw, 56px);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--texte);
  font-family: var(--police);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--texte-fort); }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 300; margin: 0; }
p { margin: 0; }
button { font: inherit; }

.conteneur { max-width: var(--max); margin: 0 auto; padding-left: var(--marge); padding-right: var(--marge); }
.surtitre { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--texte-faible); }
.etiquette { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* Navigation */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px var(--marge);
}
.nav--fixe { position: static; border-bottom: 1px solid var(--ligne); }
.nav__marque { display: inline-flex; align-items: center; min-height: 44px; }
.nav__marque img { height: 48px; width: auto; }
.nav__liens { display: flex; flex-wrap: wrap; gap: 24px 32px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.nav__liens a { min-height: 44px; display: inline-flex; align-items: center; }

/* Hero: vidéo dans un cadre, titre en dessous */
.hero {
  padding: 120px var(--marge) 72px; max-width: var(--max); margin: 0 auto; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 40px;
}
.hero__cadre {
  position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 1040px; margin: 0 auto;
  background: var(--noir-2); overflow: hidden;
}
.hero__video, .hero__affiche { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__affiche { background: #161616 url("/assets/accueil.jpg") center / cover no-repeat; }
.hero__contenu {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px;
  max-width: 1040px; width: 100%; margin: 0 auto;
}
.hero__titre { font-size: clamp(38px, 5.5vw, 68px); line-height: 1; color: var(--texte-fort); max-width: 14ch; margin-top: 8px; }
.hero__meta { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--texte-faible); letter-spacing: .08em; }
@media (min-width: 760px) { .hero__meta { text-align: right; } }
@media (max-width: 700px) { .hero { padding-top: 96px; gap: 28px; } }

/* Grille de projets */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section__entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 48px; }
.filtres { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.filtre {
  background: none; border: 0; padding: 10px 12px; min-height: 44px; cursor: pointer;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-tres-faible);
}
.filtre:hover, .filtre[aria-pressed="true"] { color: var(--texte-fort); }

.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px 40px; }
.carte { display: flex; flex-direction: column; gap: 16px; color: var(--texte); }
.carte[hidden] { display: none; }
.carte__image {
  position: relative; aspect-ratio: 16 / 9; background: var(--noir-2); overflow: hidden;
  display: flex; align-items: flex-end; padding: 24px;
}
.carte__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carte:hover .carte__image img { transform: scale(1.03); }
.carte__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.7)); }
.carte__legende { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.carte__titre { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-fort); font-weight: 400; }
.carte__cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-faible); }

.bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px;
  border: 1px solid #3a3a3a; color: var(--texte-fort); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
}
.bouton:hover { border-color: var(--texte-fort); }
.bouton--plein { background: var(--encre); color: var(--blanc); border-color: var(--encre); }
.bouton--plein:hover { background: #000; color: var(--blanc); }
.centre { display: flex; justify-content: center; margin-top: 56px; }

/* Studio */
.studio { border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.studio__grille { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.studio__grille > .surtitre { flex: 1 1 220px; }
.studio__corps { flex: 3 1 560px; display: flex; flex-direction: column; gap: 24px; }
.studio__accroche { font-size: clamp(24px, 3vw, 34px); line-height: 1.3; color: var(--texte-fort); }
.studio__texte { font-size: 18px; line-height: 1.6; color: var(--texte-faible); max-width: 640px; }
.studio__services { display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-tres-faible); margin-top: 8px; }

/* Témoignages et clients */
.temoignages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.temoignage { margin: 0; display: flex; flex-direction: column; gap: 16px; font-size: 20px; line-height: 1.5; }
.temoignage cite { font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-tres-faible); }
.clients { display: flex; flex-direction: column; align-items: center; gap: 40px; border-top: 1px solid var(--ligne); padding-top: 56px; margin-top: 80px; }
.clients__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 44px; max-width: 1100px; }
.clients__liste img { height: 44px; width: auto; max-width: 180px; object-fit: contain; opacity: .55; transition: opacity .3s; }
.clients__liste li:hover img { opacity: .95; }
@media (max-width: 600px) { .clients__liste { gap: 22px 28px; } .clients__liste img { height: 26px; max-width: 110px; } }

/* Contact clair */
.contact {
  background: var(--blanc); color: var(--encre);
  padding: clamp(96px, 12vw, 128px) var(--marge);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px;
}
.contact .surtitre { color: var(--encre-faible); }
.contact__titre { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; max-width: 820px; }
.contact__infos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: 15px; color: var(--encre-faible); }
.contact__infos a:hover { color: var(--encre); }

/* Pied */
.pied {
  padding: 28px var(--marge); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 12px; color: var(--texte-tres-faible); letter-spacing: .1em; text-transform: uppercase;
}

/* Page projet */
.projet { padding-top: 48px; }
.projet__retour { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-faible); }
.projet__titre { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; color: var(--texte-fort); margin: 24px 0 12px; }
.projet__cat { color: var(--texte-faible); margin-bottom: 40px; }
.projet__texte { font-size: 18px; line-height: 1.6; color: var(--texte-faible); max-width: 720px; margin-top: 40px; }
.projet__nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--ligne); }
.projet__nav a { font-size: 14px; letter-spacing: .08em; min-height: 44px; display: inline-flex; align-items: center; }

/* Lecteur YouTube léger: vignette, iframe seulement au clic */
.lecteur { position: relative; aspect-ratio: 16 / 9; background: var(--noir-2); overflow: hidden; }
.lecteur + .lecteur { margin-top: 24px; }
.lecteur__bouton {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: none;
  display: flex; align-items: center; justify-content: center;
}
.lecteur__bouton img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lecteur__bouton::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); transition: background .3s; }
.lecteur__bouton:hover::after { background: rgba(0,0,0,.1); }
.lecteur__bouton svg { position: relative; z-index: 1; width: 72px; height: 72px; }
.lecteur iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Accessibilité */
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--texte-fort); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carte__image img { transition: none; }
}

/* Page DJ cachée */
.dj__sous { display: block; font-size: .5em; color: var(--texte-faible); margin-top: 4px; }
.dj__section { margin-top: 72px; display: flex; flex-direction: column; gap: 20px; }
.dj__titre { font-size: clamp(24px, 3vw, 32px); color: var(--texte-fort); }
.soundcloud { border: 0; display: block; background: var(--noir-2); }
