/* Productions Bistanclaque — site styles v2 */

/* Smooth cross-document page transitions (Productions ↔ Studio ↔ À savoir).
   Falls back to instant navigation where unsupported. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 0.42s; animation-timing-function: ease; }
}

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --line: rgba(255,255,255,0.10);
  --line-2: rgba(255,255,255,0.18);
  --text: #ffffff;
  --text-2: #cfcfcf;
  --text-3: #8e8e8e;
  --text-4: #5e5e5e;
  --turquoise: #5ECFBE;
  --orange: #E87A3A;
  --yellow: #F5C842;
  --dial-bg: #F9F9EE;
  --dial-ink: #1a1a1a;
  --dial-line: rgba(26,26,26,0.18);
  --dial-muted: #4a4a4a;
  --serif: "Averia Serif Libre", Georgia, serif;
  --body: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --dial-serif: "Cormorant Garamond", "Libre Caslon Text", Georgia, serif;
  --mono: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --burgundy: #6D2721;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #000;
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.page {
  min-height: 100vh;
  display: flex; flex-direction: column;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--bg);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
}

/* ─── Header — centered 3-col on black ─────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 0 32px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 40px;
}
.site-header__logo {
  width: 84px; height: 84px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.site-header__logo img {
  width: 100%; height: 100%; object-fit: contain;
}
.brand-col {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; line-height: 1;
  position: relative;
  padding-bottom: 10px;
}
.brand-col__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.005em;
}
.brand-col__sub {
  font-family: var(--body);
  font-size: 11px; font-weight: 300;
  color: var(--text-3);
  letter-spacing: 0.06em;
  margin-top: 6px;
  text-transform: lowercase;
}
.brand-col--accent .brand-col__name { color: var(--text); }
.brand-col__name a { transition: opacity 0.2s; }
.brand-col__name a:hover { opacity: 0.6; }
.brand-col.is-current .brand-col__name {
  /* keep current color from theme */
}
.brand-col.is-current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: currentColor;
  opacity: 0.8;
}
.site-header__logo { transition: opacity 0.2s; }
.site-header__logo:hover { opacity: 0.7; }
.header-divider {
  width: 1px; height: 32px;
  background: var(--line-2);
  flex-shrink: 0;
}

/* ─── Layout helpers ───────────────────────────────────────────── */
main { display: flex; flex-direction: column; }
.hero, .format, .team {
  width: 100%;
}
.format, .team {
  padding-left: 32px; padding-right: 32px;
}
.hero { padding: 0; }
.hero__logos { padding-left: 32px; padding-right: 32px; }

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero { padding-top: 0; padding-bottom: 32px; }
.hero__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  background: #050505;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
}
/* Slides live in their own stacking layer so their crossfade z-index
   never rises above the caption/progress overlay. */
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  z-index: 1;
  will-change: opacity;
}
.hero__slide.is-active {
  opacity: 1;
  z-index: 2;
  animation: heroSlideFade 0.9s ease-in-out;
}
@keyframes heroSlideFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active { animation: none; }
}
.hero__slide img, .hero__slide .hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center 68%; display: block; }
.hero__shade {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 42%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
}
.hero__caption-wrap {
  position: absolute; left: 32px; right: 32px; top: 32px;
  z-index: 5;
  pointer-events: none;
  display: flex; flex-direction: column; gap: 8px;
}
.hero__intro-line {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
  max-width: 90%;
}
.hero__caption {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.0; letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
  max-width: 90%;
  transition: color 0.6s ease;
}
.hero__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero__progress {
  position: absolute; top: 24px; right: 32px;
  z-index: 5;
  display: flex; gap: 8px;
}
.hero__dot {
  --dot-color: #fff;
  width: 48px; height: 3px;
  background: rgba(255,255,255,0.25);
  border: none; padding: 0; cursor: pointer;
  border-radius: 2px;
  transition: background 0.3s;
}
.hero__dot.is-active { background: var(--dot-color); }

/* Logos — one row per slide, only active visible, color matches slide */
.hero__logos {
  position: relative;
  margin-top: 40px;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.hero__logos-label {
  flex: 0 0 auto;
  font-family: var(--body);
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: left;
}
.hero__logos-rows {
  position: relative;
  width: 100%;
  overflow: hidden;
  flex: 0 0 auto;
  min-height: 160px;
}
.hero__logos-row {
  position: absolute; inset: 0;
  display: flex; align-items: flex-start; justify-content: center;
  gap: 64px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.hero__logos-row.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero__logo {
  flex: 0 1 auto;
  padding: 0 12px;
  font-family: var(--serif); font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 400;
  text-align: center;
  color: var(--text);
  white-space: nowrap;
  display: flex; align-items: center; justify-content: center;
  height: 150px;
}
.hero__logo--img { padding: 0 12px; }
.hero__logo--img img {
  height: 150px; width: auto;
  max-width: 380px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.hero__logo--img:hover img { opacity: 1; }
.hero__logo--img img[src*="logo_salomon"] { height: 30px; }
.hero__logo--img img[src*="logo_Too"] { height: 90px; }
.hero__logo--img img[src*="logo_opale"] { height: 78px; }
.hero__logo--img img[src*="logo_cnam"] { height: 30px; }
.hero__logos-row[data-accent="turquoise"] .hero__logo { color: var(--turquoise); }
.hero__logos-row[data-accent="orange"]    .hero__logo { color: var(--orange); }
.hero__logos-row[data-accent="yellow"]    .hero__logo { color: var(--yellow); }
@media (prefers-reduced-motion: reduce) {
  .hero__logos-row { transition: opacity 0.2s ease; transform: none; }
}

/* ─── Video tile ───────────────────────────────────────────────── */
.video-tile {
  position: relative;
  width: 100%;
  background: #050505;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
}
.video-tile img,
.video-tile video {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.video-tile img { transition: transform 0.7s ease; }
.video-tile:hover img { transform: scale(1.03); }
.video-tile--has-video video { background: #050505; }

/* YouTube embed inside VideoTile */
.video-tile iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-tile__yt {
  display: none;
}

/* Dialogueurs YouTube embed */
.dial__tile iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.dial__tile--clickable { cursor: pointer; }
a.dial__tile { text-decoration: none; color: inherit; display: block; position: relative; }
.dial__tile-yt {
  display: none;
}
.dial__tile-yt--ftv { background: rgba(0,80,200,0.94); }
.video-tile__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.video-tile__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.play-icon {
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.video-tile:hover .play-icon { transform: scale(1.08); background: rgba(0,0,0,0.4); }
.video-tile__duration {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(0,0,0,0.6);
  padding: 4px 8px;
  font-family: var(--body);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.video-tile__ratio {
  position: absolute; right: 12px; top: 12px;
  background: rgba(0,0,0,0.6);
  padding: 3px 7px;
  font-family: var(--body);
  font-size: 11px; letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/* ─── Formats intro ─────────────────────────────────────────────── */
.formats-intro {
  margin: 56px auto 16px;
  max-width: 1100px;
  padding: 0 32px;
}
.formats-intro__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.2vw, 64px);
  letter-spacing: -0.02em; line-height: 1;
  margin: 0 0 22px;
}
.formats-intro p {
  margin: 0;
  font-size: 16px; line-height: 1.6;
  color: var(--text-2);
  font-weight: 300;
  max-width: 920px;
}
.formats-intro a:not(.devis-banner) {
  color: var(--turquoise);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* ─── Format header (no #X) ────────────────────────────────────── */
.format { padding-top: 36px; padding-bottom: 16px; }
.format-header {
  border-left: 3px solid currentColor;
  padding: 4px 0 4px 28px;
  margin-bottom: 32px;
  max-width: 920px;
}
.format-header__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 4.8vw, 60px);
  letter-spacing: -0.02em; line-height: 1.0;
  margin: 0 0 16px;
  color: #fff;
}
.format-header__pitch {
  margin: 0 0 22px;
  color: var(--text-2);
  font-size: 16px; line-height: 1.6;
  font-weight: 300;
  max-width: 760px;
}
.format-header__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.04em;
}

/* ─── Tag style variants (label, not button — no click affordance) ── */
/* Texte : mots colorés séparés par des médians, comme une métadonnée */
[data-tag-style="text"] .format-header__tags { gap: 0; align-items: baseline; }
[data-tag-style="text"] .tag {
  border: 0; border-radius: 0; padding: 0;
  font-size: 14px; letter-spacing: 0.01em;
}
[data-tag-style="text"] .tag:not(:last-child)::after {
  content: "·"; margin: 0 10px; opacity: 0.45;
}
/* Étiquette : petites capitales espacées, ton discret, sans contour */
[data-tag-style="label"] .format-header__tags { gap: 22px; }
[data-tag-style="label"] .tag {
  border: 0; border-radius: 0; padding: 0;
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  opacity: 0.7;
}
/* Souligné : libellé avec filet fin sous le mot */
[data-tag-style="underline"] .format-header__tags { gap: 20px; }
[data-tag-style="underline"] .tag {
  border: 0; border-radius: 0; padding: 2px 0;
  font-size: 13px; letter-spacing: 0.02em;
  border-bottom: 1px solid currentColor;
}

/* ─── Human / doc block (50/50) ────────────────────────────────── */
.format__blocks { display: flex; flex-direction: column; }
.hairline { border: 0; height: 1px; background: var(--line); margin: 0; }
.hb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 36px 0;
}
.hb--reverse .hb__media { order: 2; }
.hb__media { position: relative; }
.hb__media .video-tile { width: 100%; }
.hb__expand {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.18s ease;
}
.hb__media:hover .hb__expand, .hb--playing .hb__expand { opacity: 1; transform: none; }
.hb__expand:hover { background: rgba(0,0,0,0.72); }
.video-tile__fs {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.18s ease;
}
.video-tile--has-video:hover .video-tile__fs { opacity: 1; transform: none; }
.video-tile__fs:hover { background: rgba(0,0,0,0.72); }

/* When the video is playing: expand to full width, text drops below */
.hb {
  transition: gap 0.4s ease;
}
.hb__media { transition: transform 0.4s ease; }
.hb--playing {
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.hb--playing .hb__media { order: 0; animation: hbMediaGrow 0.45s ease both; }
@keyframes hbMediaGrow {
  from { opacity: 0.45; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}
.hb--playing .hb__text {
  order: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 56px;
  align-items: start;
  animation: hbTextIn 0.45s ease both;
}
@keyframes hbTextIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.hb--playing .hb__title { grid-column: 1 / -1; }
.hb--playing .hb__desc { grid-column: 1 / -1; max-width: 70ch; }
@media (max-width: 700px) {
  .hb--playing .hb__text { grid-template-columns: 1fr; }
}
.video-tile__yt-mount, .video-tile__yt-mount iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* ─── Custom YouTube player (no native chrome) ─────────────────── */
.ytp { position: absolute; inset: 0; background: #000; overflow: hidden; }
.ytp__mount, .ytp__mount iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.ytp--fs { width: 100vw; height: 100vh; }
.ytp--fs .ytp__mount iframe { width: 100%; height: 100%; }
/* transparent layer to capture clicks (toggles play) and hide YT hover chrome */
.ytp__shield { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.ytp__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.ytp:hover .ytp__bar, .ytp__bar:focus-within { opacity: 1; transform: none; }
.ytp__btn {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0;
  color: #fff; cursor: pointer;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.55));
  opacity: 0.92; transition: opacity 0.18s ease, transform 0.18s ease;
}
.ytp__btn:hover { opacity: 1; transform: scale(1.08); }
.ytp__seek {
  position: relative; flex: 1; height: 28px;
  display: flex; align-items: center; cursor: pointer; touch-action: none;
}
.ytp__seek-track {
  position: absolute; left: 0; right: 0; height: 4px; border-radius: 999px;
  background: rgba(255,255,255,0.28);
}
.ytp__seek-fill {
  position: absolute; left: 0; height: 4px; border-radius: 999px;
  background: #fff;
}
.ytp__seek-knob {
  position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
  opacity: 0; transition: opacity 0.18s ease;
}
.ytp:hover .ytp__seek-knob { opacity: 1; }
.ytp__time {
  flex-shrink: 0;
  font-family: var(--body);
  font-size: 13px; font-variant-numeric: tabular-nums;
  color: #fff; opacity: 0.92; letter-spacing: 0.02em;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.55));
}
.ytp__title {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: block; padding: 18px 18px 28px;
  font-family: var(--body); font-size: 16px; line-height: 1.3; font-weight: 500;
  color: #fff; text-decoration: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.ytp__title.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.ytp__title:hover { text-decoration: underline; }

.hb__text { padding: 0 16px; }
.hb__meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.hb__type {
  font-family: var(--body); font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
}
.hb__sep  { color: var(--text-4); }
.hb__client { color: var(--text-3); font-weight: 400; }

.hb__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.1; letter-spacing: -0.015em;
  margin: 0 0 16px;
  text-wrap: pretty;
}
.hb__desc {
  color: var(--text-2);
  font-size: 15px; line-height: 1.6;
  font-weight: 300;
  margin: 0 0 24px; max-width: 540px;
}
.hb__details { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hb__details > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.hb__details dt {
  color: var(--text-4);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.hb__details dd { margin: 0; color: var(--text-2); font-size: 14px; font-weight: 400; }

.format__more {
  padding: 24px 0 8px;
  text-align: center;
}
.format__more a {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 18px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.format__more a:hover { color: #fff; border-color: #fff; }
.format__more a .arr { font-family: var(--body); font-weight: 300; }

/* ─── Format 2 — social grid ──────────────────────────────────── */
.format__social-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.sb { display: flex; flex-direction: column; gap: 12px; }
.sb__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.sb__type {
  font-family: var(--body); font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 10px;
}
.sb__sep { color: var(--text-4); }
.sb__client { color: var(--text-3); }
.sb__title {
  font-family: var(--body); font-weight: 500;
  font-size: 17px; letter-spacing: -0.005em; line-height: 1.3;
  margin: 0;
}

/* ─── Team ─────────────────────────────────────────────────────── */
.team { padding-top: 64px; padding-bottom: 72px; }
.team__head { margin-bottom: 28px; max-width: 720px; }
.team__rule { width: 56px; height: 2px; background: #fff; margin-bottom: 24px; }
.team__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5vw, 60px);
  letter-spacing: -0.02em; line-height: 1;
  margin: 0;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Shared portrait component (matches Studio + À savoir) ─── */
.portrait {
  margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.portrait__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 12px;
  background: repeating-linear-gradient(135deg, rgba(109,39,33,0.06) 0 8px, rgba(109,39,33,0.10) 8px 16px);
  border: 1px dashed rgba(109,39,33,0.32);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.portrait:hover .portrait__frame { transform: translateY(-2px); }
.portrait__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
/* Real photo present → drop the dashed placeholder treatment */
.portrait__frame:has(img) {
  background: none;
  border: 0;
  padding: 0;
}
.portrait__placeholder-label {
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--burgundy, #6D2721);
  background: var(--bg, #0a0a0a);
  padding: 4px 8px;
}
.portrait__name {
  font-family: var(--serif);
  font-size: 18px; font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
}
.portrait__role {
  font-family: var(--body);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.02em;
  margin-top: 2px;
  line-height: 1.4;
  font-weight: 300;
}

/* Dark variant — PB page on black */
.portrait--dark .portrait__frame {
  background: repeating-linear-gradient(135deg, rgba(94,207,190,0.06) 0 8px, rgba(94,207,190,0.10) 8px 16px);
  border-color: rgba(94,207,190,0.30);
}
.portrait--dark .portrait__placeholder-label {
  color: var(--turquoise);
  background: var(--bg);
}
.portrait--dark .portrait__name { color: var(--text); }
.portrait--dark .portrait__role { color: var(--text-3); }

/* ─── Dialogueurs (cream / Averia) ────────────────────────────── */
.dial {
  background: var(--dial-bg);
  color: var(--dial-ink);
  padding: 96px 32px 120px;
  margin-top: 80px;
}
/* Merged documentary section: header → Dialogueurs → expandable */
.format--doc { padding-top: 0; padding-bottom: 0; }
.format--doc-more { padding-top: 16px; }

/* ─── Dialogueurs compact card ─────────────────────────────────── */
.dial--card {
  width: min(960px, calc(100% - 160px));
  max-width: 960px;
  margin: 24px auto 0;
  padding: 56px 56px 56px;
  display: block;
}
.dial--card > * { max-width: none; margin-left: 0; margin-right: 0; }
.dial-card__body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
  align-items: center;
}
.dial-card__tile { width: 100%; aspect-ratio: 16 / 9; height: auto; min-height: 0; }
.dial-card__title-row {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 32px;
}
.dial-card__logo { width: 84px; height: 84px; object-fit: contain; flex-shrink: 0; }
.dial--card .dial-card__title { font-size: clamp(44px, 5.6vw, 68px); font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; margin: 0; }
.dial-card__text {
  display: flex; flex-direction: column;
}
.dial-card__text .dial__lede { margin-bottom: 0; font-size: 13px; line-height: 1.8; }
.dial-card__text .dial__lede em { font-style: italic; font-weight: 400; color: var(--dial-ink); }
.dial-card__btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dial-bg); background: var(--dial-ink);
  border: 1px solid var(--dial-ink);
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.dial-card__btn:hover { background: transparent; color: var(--dial-ink); }
.dial-card__btn-row { display: flex; justify-content: center; margin-top: 44px; }
.dial-card__media { margin-top: 0; }

/* ─── Dialogueurs modal ────────────────────────────────────────── */
.dial-modal-overlay {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.82);
  display: grid;
  place-items: center;
  padding: 40px;
}
.dial--modal {
  position: relative;
  margin: 0;
  width: min(1320px, 100%);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 64px 56px 80px;
  zoom: 0.92;
}
.dial--modal > * { max-width: 1180px; }
.dial-modal__close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  color: var(--dial-ink);
  font-size: 30px; line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.dial-modal__close:hover { opacity: 0.6; }

@media (max-width: 900px) {
  .dial--card { padding: 48px 32px; }
  .dial-card__body { grid-template-columns: 1fr; gap: 40px; }
  .dial-card__tile { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .dial-modal-overlay { padding: 16px; }
  .dial--modal { padding: 48px 24px 64px; }
}
.format--doc + .dial { margin-top: 8px; }
.dial > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.dial__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
  padding: 12px 0 56px;
  border-bottom: 1px solid var(--dial-line);
  margin-bottom: 72px;
}
.dial__rule { width: 4px; align-self: stretch; background: var(--dial-ink); min-height: 120px; }
.dial__head-text { max-width: 720px; }
.dial__eyebrow {
  font-family: var(--body); font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--dial-ink); opacity: 0.6;
  margin-bottom: 18px;
}
.dial__title {
  font-family: var(--dial-serif);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: 0.01em; line-height: 1.0;
  margin: 0 0 22px;
}
.dial__lede {
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px; line-height: 1.7;
  color: var(--dial-muted);
  margin: 0;
  max-width: 640px;
}
.dial__logo { width: 188px; height: 188px; object-fit: contain; flex-shrink: 0; }

/* tile (cream variant) */
.dial__tile {
  position: relative;
  background: #e8e3d2;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
}
.dial__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.dial__tile:hover img { transform: scale(1.03); }
.dial__tile-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}
.dial__tile-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.dial__tile-play .play-icon {
  background: rgba(249,249,238,0.85);
  border-color: var(--dial-ink);
}
.dial__tile-duration {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(249,249,238,0.92);
  color: var(--dial-ink);
  padding: 4px 8px;
  font-family: var(--body);
  font-size: 12px; font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.dial__tile-ratio {
  position: absolute; right: 12px; top: 12px;
  background: rgba(249,249,238,0.92);
  color: var(--dial-ink);
  padding: 3px 7px;
  font-family: var(--body);
  font-size: 11px;
}

.dial__portraits-head { margin-bottom: 40px; }
.dial__portraits-head .dial__doc-desc { max-width: none; margin-bottom: 0; }
.dial__portraits {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-bottom: 88px;
  transition: grid-template-columns 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.dial__portrait { display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: opacity 0.4s ease; }
.dial__portraits.is-expanded .dial__portrait.is-dimmed { opacity: 0.55; }
.dial__portraits.is-expanded .dial__portrait.is-dimmed .dial__portrait-title { font-size: 16px; }
.dial__portraits.is-expanded .dial__portrait.is-active .dial__portrait-title { font-size: 26px; }
.dial__portrait-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.06em;
}
.dial__portrait-type {
  font-family: var(--body); font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.dial__sep { color: rgba(26,26,26,0.4); }
.dial__portrait-title {
  font-family: var(--dial-serif); font-weight: 600;
  font-size: 24px; letter-spacing: -0.01em;
  margin: 0;
}

.dial__doc {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: center;
  padding: 12px 0 56px;
}
.dial__doc-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--dial-ink); color: var(--dial-bg);
  font-family: var(--body); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.dial__doc-tag--orange { background: rgba(232,122,58,0.15); color: #b8531c; }
.dial__doc-title {
  font-family: var(--dial-serif); font-weight: 600;
  font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.015em; line-height: 1.1;
  margin: 0 0 18px;
}
.dial__doc-desc {
  color: var(--dial-muted);
  font-size: 15px; line-height: 1.65;
  font-weight: 300;
  margin: 0 0 24px; max-width: 540px;
}
.dial__doc-details { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.dial__doc-details > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.dial__doc-details dt {
  color: rgba(26,26,26,0.55);
  font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
}
.dial__doc-details dd { margin: 0; color: #2a2a2a; font-size: 14px; }

.dial__web {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--dial-line);
  margin-bottom: 56px;
}
.dial__web-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; order: 2; }
.dial__web-text { order: 1; }
.dial__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dial__tile-poster {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 18px;
  background: repeating-linear-gradient(135deg, #2a2a28 0 14px, #262624 14px 28px);
}
.dial__tile-poster span {
  font-family: var(--averia, serif);
  color: #f3eddd; font-size: 22px; letter-spacing: 0.01em;
}
.dial__tile video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── Footer ──────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 56px 56px 24px;
}
.site-footer__cols {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1.4fr;
  gap: 40px; padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.site-footer__brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}
.site-footer__sub { color: var(--text-3); font-size: 13px; font-weight: 300; }
.site-footer__label {
  font-family: var(--body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-4); margin-bottom: 10px;
}
.site-footer__cols a {
  color: var(--text-2);
  font-weight: 300;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.site-footer__cols a:hover { color: #fff; border-bottom-color: var(--turquoise); }
.site-footer__links { display: flex; flex-direction: column; gap: 8px; }
.site-footer__bottom {
  max-width: 1100px; margin: 0 auto;
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-family: var(--body); font-size: 12px; font-weight: 300;
  color: var(--text-4);
  letter-spacing: 0.04em;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .site-header__inner { gap: 8px 18px; padding: 10px 18px; flex-wrap: wrap; }
  .site-header__logo { width: 48px; height: 48px; }
  .header-divider { display: none; }
  .brand-col { padding-bottom: 0; max-width: 96px; }
  .brand-col__name { font-size: 14px; font-weight: 700; line-height: 1.15; }
  .brand-col__sub { display: none; }
  .brand-col.is-current::after { display: none; }
  .hero__caption-wrap { left: 24px; right: 24px; top: 24px; }
  .hero__logos-row { flex-wrap: wrap; row-gap: 16px; }
  .hero__logo--img img { height: 96px; max-width: 200px; }
  .hero__logo--img img[src*="logo_Too"] { height: 60px; }
  .hero__logo--img img[src*="logo_opale"] { height: 52px; }
  .hb, .dial__doc, .dial__web { grid-template-columns: 1fr; gap: 32px; }
  .hb--reverse .hb__media { order: 0; }
  .format__social-grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .dial__head { grid-template-columns: auto 1fr; }
  .dial__logo { grid-column: 1 / -1; width: 140px; height: 140px; }
  .site-footer__cols { grid-template-columns: 1fr; }
}

/* ─── Devis banner — white card, dark text (PB on black bg) ── */
.devis-banner {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 28px auto 0;
  padding: 16px 28px;
  background: #ffffff;
  color: #0a0a0a;
  text-align: center;
  border-radius: 8px;
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 10px 28px -14px rgba(0,0,0,0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease;
}
.devis-banner strong {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15em;
  letter-spacing: -0.005em;
  margin-left: 6px;
  color: #0a0a0a;
  border-bottom: 1px solid rgba(0,0,0,0.30);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}
.devis-banner:hover {
  background: #f3f3ea;
  transform: translateY(-1px);
  box-shadow: 0 16px 38px -18px rgba(0,0,0,0.75);
}
.devis-banner:hover strong { border-bottom-color: #0a0a0a; }

/* ─── 3-col social grid (Timon: keep 3) ────────────────────── */
.format__social-grid--three { grid-template-columns: repeat(3, 1fr); }

/* ─── Expandable "more" panel ──────────────────────────────── */
.expandable {
  margin-top: 32px;
  padding-top: 4px;
  display: flex; flex-direction: column; align-items: center;
}
.expandable__toggle {
  display: inline-flex; align-items: center; gap: 14px;
  align-self: center;
  background: transparent;
  border: 1px solid;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.005em;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.expandable__toggle:hover {
  background: rgba(255,255,255,0.04);
}
.expandable__chevron {
  font-family: var(--body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1;
  width: 18px; text-align: center;
}
.expandable__grid {
  display: grid;
  width: 100%;
  gap: 28px 24px;
  margin-top: 32px;
  animation: expandIn 0.32s ease;
}
.expandable__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.expandable__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Expand-on-play: active tile spans the full width and jumps to the top,
   the rest reflow into the row(s) below. */
.expandable__grid--expand .expandable__cell { display: block; }
.expandable__grid--expand .expandable__cell.is-active {
  grid-column: 1 / -1;
  order: -1;
  margin-bottom: 4px;
  animation: cellGrow 0.42s ease both;
}
.expandable__grid--expand.has-active .expandable__cell:not(.is-active) {
  transition: opacity 0.3s ease;
}
.expandable__grid--expand .more-tile { transition: transform 0.35s ease; }
@keyframes cellGrow {
  from { opacity: 0.5; transform: scale(0.99); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes expandIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.more-tile { display: flex; flex-direction: column; gap: 10px; }
.more-tile__meta {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}
.more-tile__type { font-weight: 600; }
.more-tile__sep { margin: 0 8px; opacity: 0.5; }

@media (max-width: 960px) {
  .format__social-grid--three { grid-template-columns: repeat(2, 1fr); }
  .expandable__grid--cols-3 { grid-template-columns: repeat(2, 1fr); }
  .expandable__grid--cols-2 { grid-template-columns: 1fr; }
}
