/* ==========================================================================
   NOIR STUDIO — thème de l'étude de cas (urbain, contrasté, affirmé)
   ========================================================================== */

body.theme-noir {
  --bg: #0C0C0C;
  --fg: #EDE8DE;
  --muted: #A7A298;
  --accent: #E4540C;
  --accent-fg: #0C0C0C;
  --line: rgba(237, 232, 222, .14);
  --line-strong: rgba(237, 232, 222, .4);
  --head-fg: #EDE8DE;
  --head-bg: rgba(12, 12, 12, .9);
  --display: "Anton", Impact, "Arial Narrow Bold", "Franklin Gothic Medium", sans-serif;
  --shadow: 0 40px 80px -20px rgba(0, 0, 0, .85);
  --shadow-soft: 0 30px 60px -24px rgba(0, 0, 0, .9);
  --pill-radius: 0;
  --phone-bg: #0F0F0F;
  --phone-fg: #A7A298;
}
.theme-noir .cs-h2, .theme-noir .da__title, .theme-noir .cs-title, .theme-noir .cs-next__name, .theme-noir .focus__legend strong {
  text-transform: uppercase; letter-spacing: .02em; font-weight: 400;
}
.theme-noir .cs-h2 { max-width: 16ch; line-height: 1.02; }
.theme-noir .cs-h2 em, .theme-noir .da__title em { font-style: normal; color: var(--accent); }
.theme-noir .eyebrow { color: var(--accent); }
.theme-noir .btn { --btn-fg: #0C0C0C; --btn-bg: #E4540C; border-radius: 0; }
.theme-noir .btn:hover { color: #E4540C; }
.theme-noir .cs-label { color: var(--accent); }
.theme-noir .concept-banner { background: rgba(228, 84, 12, .08); }

/* Hero */
.theme-noir .cs-hero { background: #0C0C0C; }
.theme-noir .cs-hero::before, .theme-noir .cs-hero::after {
  content: ""; position: absolute; border: 6px solid #E4540C; border-radius: 50%; pointer-events: none;
}
.theme-noir .cs-hero::before { width: 46vw; height: 46vw; left: -30vw; top: -24vw; }
.theme-noir .cs-hero::after { width: 40vw; height: 40vw; right: -24vw; bottom: -26vw; }
.theme-noir .cs-title { font-size: clamp(4.6rem, 17vw, 14rem); line-height: .86; margin: 1.4rem 0 1.8rem -.03em; }
.theme-noir .cs-title span { display: block; }
.theme-noir .cs-title .o { color: #E4540C; padding-left: clamp(0rem, 6vw, 5rem); }
.theme-noir .cs-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); }
.theme-noir .cs-hero__figure::before {
  content: ""; position: absolute; inset: 7% -9% -6% 14%; background: #E4540C; z-index: -1;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}
.theme-noir .cs-hero__figure .media { outline: 1px solid rgba(237, 232, 222, .12); }

/* Bandeau défilant */
.marquee { background: #E4540C; color: #0C0C0C; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: inline-flex; align-items: center; flex: none; }
.marquee__group span {
  font-family: var(--display); font-size: clamp(1.1rem, 2.4vw, 1.7rem); letter-spacing: .08em; text-transform: uppercase;
  padding: .8rem 0;
}
.marquee__group i { display: inline-block; width: 8px; height: 8px; background: #0C0C0C; margin: 0 1.6rem; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* B */
.theme-noir .cs-da { background: #111111; }
.bands { display: flex; height: clamp(190px, 24vw, 280px); }
.band { display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem 1.1rem; flex: var(--g) 1 0; min-width: 0; }
.band__name { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1rem, 2vw, 1.5rem); line-height: 1.05; }
.band__hex { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
@media (max-width: 640px) {
  .bands { flex-direction: column; height: auto; }
  .band { flex: none; min-height: 84px; flex-direction: row; align-items: baseline; justify-content: space-between; }
}
.type-spec { background: #000; border: 1px solid var(--line); padding: clamp(.8rem, 2vw, 1.4rem); }
.type-spec img { width: 100%; }
.type-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.4rem; }
.type-notes div { border-top: 2px solid var(--accent); padding-top: .9rem; }
.type-notes b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 1.15rem; margin-bottom: .2rem; }
.type-notes span { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) { .type-notes { grid-template-columns: 1fr; } }
.theme-noir .da__trio .media img { aspect-ratio: 3 / 4.2; }
.theme-noir .da__trio figure:nth-child(2) { margin-top: 0; margin-bottom: 0; transform: translateY(2.5rem); }
.theme-noir .da__trio { padding-bottom: 2.5rem; }

/* C — grille asymétrique */
.theme-noir .cs-gallery { background: #0C0C0C; }
.theme-noir .gal { grid-template-columns: repeat(12, 1fr); }
.theme-noir .gal__item:nth-child(1) { grid-column: 1 / span 5; }
.theme-noir .gal__item:nth-child(2) { grid-column: 6 / span 4; margin-top: 6rem; }
.theme-noir .gal__item:nth-child(3) { grid-column: 10 / span 3; margin-top: 2rem; }
.theme-noir .gal__item:nth-child(4) { grid-column: 1 / span 3; margin-top: 1rem; }
.theme-noir .gal__item:nth-child(5) { grid-column: 4 / span 5; margin-top: 4rem; }
.theme-noir .gal__item:nth-child(6) { grid-column: 9 / span 4; margin-top: 0; }
.theme-noir .gal__item:nth-child(7) { grid-column: 1 / span 4; margin-top: 0; }
.theme-noir .gal__item:nth-child(8) { grid-column: 5 / span 3; margin-top: 5rem; }
.theme-noir .gal__item:nth-child(9) { grid-column: 8 / span 5; margin-top: 2rem; }
.theme-noir .gal__link { outline: 1px solid rgba(237, 232, 222, .1); }
@media (max-width: 900px) {
  .theme-noir .gal { grid-template-columns: repeat(2, 1fr); }
  .theme-noir .gal__item:nth-child(n) { grid-column: auto; margin-top: 0; }
  .theme-noir .gal__item:nth-child(even) { margin-top: 3rem; }
}
@media (max-width: 560px) {
  .theme-noir .gal { grid-template-columns: 1fr; gap: 2.4rem; }
  .theme-noir .gal__item:nth-child(n) { margin-top: 0; }
  .theme-noir .gal__item:nth-child(even) { width: 88%; justify-self: end; }
}

/* D */
.theme-noir .cs-focus { background: #111111; }
.theme-noir .pin { box-shadow: 0 0 0 5px rgba(12, 12, 12, .5), 0 6px 16px rgba(0, 0, 0, .5); }
.theme-noir .phone { box-shadow: 0 40px 80px rgba(0, 0, 0, .7), 0 0 0 1px rgba(237, 232, 222, .12); }

/* Suite */
.theme-noir .cs-next { background: #0C0C0C; }
