/* =========================================
   VAURACE — Site officiel
   Design: noir profond, rouge sang, scope 2.39:1
   ========================================= */

:root {
  --bg: #0a0a0a;
  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #555;
  --accent: #660000;
  --accent-bright: #8a0000;
  --border: #1a1a1a;
  --max-width: 1400px;
  --gutter: clamp(1.5rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--accent-bright);
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =========================================
   Page transitions (fondus courts)
   ========================================= */

body {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =========================================
   Header (toutes pages sauf home)
   ========================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  height: 24px;
  width: auto;
}

.site-header__logo svg,
.site-header__logo img {
  height: 100%;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav a {
  color: var(--text-muted);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

/* =========================================
   HOME
   ========================================= */

.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem var(--gutter) 2rem;
  text-align: center;
  position: relative;
}

.home__logo {
  width: min(70vw, 720px);
  margin-bottom: clamp(3rem, 8vh, 5rem);
}

.home__manifesto {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: clamp(4rem, 10vh, 7rem);
  max-width: 600px;
  line-height: 1.8;
}

.home__films {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: clamp(3rem, 8vh, 5rem);
}

.home__film-link {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
}

.home__film-num {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  font-size: 0.55em;
  letter-spacing: 0.1em;
}

.home__film-link:hover .home__film-num {
  color: var(--accent-bright);
}

.home__footer {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 3rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.home__footer a {
  color: var(--text-muted);
}

/* =========================================
   PAGE FILM
   ========================================= */

.film-page {
  padding-top: 80px;
  padding-bottom: 6rem;
}

.film-hero {
  width: 100%;
  background: #000;
  position: relative;
  overflow: hidden;
}

/* Format scope 2.39:1 */
.film-hero__media {
  width: 100%;
  aspect-ratio: 2.39 / 1;
  background: #000 center/cover no-repeat;
}

.film-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-meta {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem var(--gutter) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.film-meta__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.film-meta__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.film-meta__caption span:not(:last-child)::after {
  content: '·';
  margin-left: 1.5rem;
  color: var(--text-dim);
}

.film-intent {
  max-width: 720px;
  margin: 4rem auto 0;
  padding: 0 var(--gutter);
}

.film-intent p {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: var(--text);
  white-space: pre-line;
}

.film-video {
  max-width: var(--max-width);
  margin: 5rem auto 0;
  padding: 0 var(--gutter);
}

.film-video__wrap {
  width: 100%;
  aspect-ratio: 2.39 / 1;
  background: #000;
  position: relative;
  overflow: hidden;
}

.film-video__wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.film-video__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--border);
}

.film-credits {
  max-width: 720px;
  margin: 5rem auto 0;
  padding: 0 var(--gutter);
}

.film-credits__title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.film-credits__title:first-child {
  margin-top: 0;
}

.film-credits__group {
  margin-bottom: 2.5rem;
}

.film-credits__group:last-child {
  margin-bottom: 0;
}

.film-credits__group-title {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-weight: 500;
}

.film-credits__list {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0.75rem 2rem;
  font-size: 0.9rem;
}

.film-credits__role {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  padding-top: 0.3em;
}

.film-credits__name {
  color: var(--text);
}

/* Minor credits — typography réduite, en bas */
.film-credits__minor {
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  line-height: 1.7;
}

.film-credits__minor-section {
  margin-bottom: 2rem;
}

.film-credits__minor-section:last-child {
  margin-bottom: 0;
}

.film-credits__minor h3 {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.film-credits__minor p {
  color: var(--text-muted);
}

/* Stills additionnels */
.film-stills {
  max-width: var(--max-width);
  margin: 5rem auto 0;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
}

/* Poster section (page film) */
.film-poster {
  max-width: var(--max-width);
  margin: 6rem auto 0;
  padding: 0 var(--gutter);
}

.film-poster__title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.film-poster__image {
  display: block;
  max-width: 480px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.film-stills__item {
  width: 100%;
  aspect-ratio: 2.39 / 1;
  background: #1a1a1a center/cover no-repeat;
  overflow: hidden;
}

.film-stills__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navigation suivant/précédent */
.film-nav {
  max-width: var(--max-width);
  margin: 6rem auto 0;
  padding: 3rem var(--gutter) 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.film-nav a {
  color: var(--text-muted);
}

.film-nav a:hover {
  color: var(--text);
}

/* =========================================
   COLLECTIF
   ========================================= */

.collectif {
  padding: 100px var(--gutter) 6rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.collectif__manifesto {
  text-align: center;
  margin: 6rem auto 8rem;
  max-width: 800px;
}

.collectif__manifesto p {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
}

.collectif__manifesto p + p {
  margin-top: 1rem;
}

.collectif__stills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
  margin-bottom: 6rem;
}

.collectif__stills__item {
  width: 100%;
  aspect-ratio: 2.39 / 1;
  background: #1a1a1a;
  overflow: hidden;
}

.collectif__stills__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collectif__contact {
  text-align: center;
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}

.collectif__contact p {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.collectif__contact a {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  letter-spacing: -0.01em;
  color: var(--text);
}

/* =========================================
   Responsive — mobile
   ========================================= */

@media (max-width: 720px) {
  .site-header__inner {
    padding: 1rem var(--gutter);
  }

  .site-nav {
    gap: 1.25rem;
    font-size: 0.65rem;
  }

  .film-credits__list {
    grid-template-columns: 1fr;
    gap: 0.5rem 0;
  }

  .film-credits__list .film-credits__name {
    margin-bottom: 1rem;
  }

  .collectif__stills {
    grid-template-columns: 1fr;
  }

  .home__footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* =========================================
   Vimeo embed customisation
   ========================================= */

.vimeo-frame {
  background: #000;
  width: 100%;
  height: 100%;
}
