:root {
  --bg: #0A0A0A;
  --fg: #F3F1EC;
  --accent: #FF3D1F;
  --ink-on-accent: #0A0A0A;
  --line: #3A3733;
  --muted: #A39F98;
  --wrap-pad: clamp(16px, 4vw, 40px);
  --gap-sm: clamp(12px, 2vw, 24px);
  --gap-lg: clamp(24px, 4vw, 40px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; }
a:hover { opacity: .6; }

.rf-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--wrap-pad);
  padding-right: var(--wrap-pad);
}

/* Barre de marque commune */
.rf-topbar { background: var(--bg); border-bottom: 1px solid var(--line); }
.rf-topbar-inner {
  min-height: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-sm);
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.rf-brand-mark {
  font-family: 'Archivo Black', sans-serif;
  letter-spacing: 0.04em;
  font-size: 12px;
  text-decoration: none;
}
.rf-topnav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.rf-topnav a { text-decoration: none; }
.rf-topnav-active { color: var(--accent); }
.rf-topnav-dim { color: var(--muted); }
.rf-topnav span { color: var(--line); }

/* En-tête : reste accroché en haut une fois atteint au scroll */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
}
/* Quand la barre commune est présente (page /films autonome), les deux restent collées ensemble */
.rf-sticky-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
}
.rf-sticky-top header {
  position: static;
}
.rf-head {
  min-height: 84px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-sm);
  padding-top: 12px;
  padding-bottom: 12px;
}
.rf-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  background: var(--accent);
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: -0.02em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--ink-on-accent);
}
.rf-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.rf-nav a { text-decoration: none; }
.rf-mail {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Hero */
.rf-hero-top { padding-top: var(--gap-lg); overflow: hidden; }
.rf-hero {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 15vw, 220px);
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.rf-hero-line {
  display: block;
  white-space: nowrap;
}
.rf-letters span {
  display: inline-block;
  cursor: default;
}
.rf-letters span:nth-child(1) { color: var(--fg); }
.rf-letters span:nth-child(2) { color: #D9D5CE; }
.rf-letters span:nth-child(3) { color: #C9C4BA; }
.rf-letters span:nth-child(4) { color: var(--muted); }
.rf-letters span:nth-child(5) { color: var(--fg); }
.rf-letters span:nth-child(6) { color: #BFBAB2; }
.rf-accent { color: var(--accent) !important; }
.rf-dot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.08em;
  background: var(--accent);
  vertical-align: 0.02em;
}
.rf-hero-caption {
  margin-top: 16px;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.rf-hero-bottom {
  padding-top: clamp(32px, 6vw, 56px);
  padding-bottom: clamp(48px, 9vw, 96px);
}
.rf-hero-sub {
  max-width: 1100px;
  font-size: clamp(18px, 1.9vw, 26px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Sections */
.rf-section {
  border-top: 1px solid var(--line);
  padding: var(--gap-lg) 0 clamp(56px, 11vw, 120px);
}
.rf-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(32px, 6vw, 64px);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
}
.rf-section-head h2, .rf-logos-title { margin: 0; font: inherit; }

/* Liste de credits, texte seul — pas de vignettes vidéo, façon Right Off */
.rf-list { list-style: none; }
.rf-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--gap-lg);
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid var(--line);
}
.rf-row:last-child { border-bottom: 1px solid var(--line); }

.rf-row-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}
.rf-row-meta {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.rf-row-desc {
  font-size: 15px;
  line-height: 1.55;
  align-self: start;
}
.rf-row-credits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
}
.rf-row-credits dt {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.rf-row-credits dd { margin: 0; }

@media (max-width: 820px) {
  .rf-row { grid-template-columns: minmax(0, 1fr); }
}

/* Logos — grille fluide auto-fit */
.rf-logos-title {
  margin-bottom: clamp(32px, 6vw, 64px);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
}
.rf-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.rf-logo-cell {
  height: 120px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
}

/* Footer */
footer {
  background: var(--accent);
  color: var(--ink-on-accent);
  padding: 48px 0 32px;
}
.rf-foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--gap-sm);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.rf-foot-mail {
  font-size: clamp(18px, 2.4vw, 32px);
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: none;
  text-decoration: none;
}
.rf-foot-social { display: flex; flex-wrap: wrap; gap: var(--gap-sm); align-items: center; }
.rf-foot-social a { text-decoration: none; }
.rf-foot-brand {
  margin: clamp(48px, 9vw, 96px) 0 0;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(32px, 10vw, 154px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.rf-foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-on-accent);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.rf-foot-bottom a { text-decoration: none; }
