/* ==========================================================================
   LA MANCHA — Nicolas D'Halluin
   ========================================================================== */

:root {
  --bg:        #131417;
  --bg-lift:   rgba(255, 255, 255, 0.032);
  --ink:       #f6f4ee;
  --ink-soft:  rgba(246, 244, 238, 0.72);
  --ink-dim:   rgba(246, 244, 238, 0.52);
  --accent:    #d9b366;
  --accent-hi: #f0cd85;
  --logo-yellow: #f8c900;
  --line:      rgba(246, 244, 238, 0.13);
  --line-soft: rgba(246, 244, 238, 0.07);

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gut: 40px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(19,20,23,0.60) 0%, rgba(19,20,23,0.70) 100%),
    url('fond-pellicule-v3.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (max-width: 900px) {
  body { background-attachment: scroll; }
}

/* Nappe de lumière diffuse ------------------------------------------------ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(88% 58% at 10% -4%,
      rgba(255, 243, 222, 0.10) 0%,
      rgba(255, 240, 216, 0.04) 42%,
      rgba(255, 240, 216, 0) 72%),
    radial-gradient(64% 52% at 94% 86%,
      rgba(217, 179, 102, 0.06) 0%,
      rgba(217, 179, 102, 0) 66%);
}

/* Grain argentique -------------------------------------------------------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.085;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.site-header, .hero, .section, .page-hero, .site-footer, .band {
  position: relative;
  z-index: 2;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-weight: 400; }

img { max-width: 100%; }

/* ==========================================================================
   Bandeau "site en cours de fabrication"
   ========================================================================== */

.build-bar {
  position: relative;
  z-index: 70;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #171408;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.build-bar-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #171408;
  animation: build-bar-pulse 2.4s ease-out infinite;
}

@keyframes build-bar-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(23, 20, 8, 0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(23, 20, 8, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23, 20, 8, 0); }
}

@media (max-width: 700px) {
  .build-bar {
    padding: 10px 14px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(19, 20, 23, 0.72);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.home .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.home .site-header.scrolled {
  background: rgba(19, 20, 23, 0.82);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo { display: flex; align-items: center; }

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity 0.3s var(--ease);
}

.logo:hover .logo-img { opacity: 0.78; }

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.42s var(--ease);
}

nav a:hover { color: var(--ink); }
nav a:hover::after { transform: scaleX(1); transform-origin: left; }
nav a.active { color: var(--accent); }
nav a.active::after { transform: scaleX(1); }

.nav-cta {
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #17140b;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: calc(84vh - 2cm);
  display: flex;
  margin-top: -78px;
  background: url('hero-bg.jpg') no-repeat center 30%;
  background-size: cover;
  overflow: hidden;
}

.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 85% at 18% 8%,
      rgba(255, 240, 214, 0.17) 0%,
      rgba(255, 236, 205, 0.07) 32%,
      rgba(255, 236, 205, 0) 62%),
    linear-gradient(180deg,
      rgba(6,6,8,0) 24%,
      rgba(6,6,8,0.5) 55%,
      rgba(6,6,8,0.85) 79%,
      var(--bg) 100%),
    linear-gradient(90deg, rgba(6,6,8,0.46) 0%, rgba(6,6,8,0.08) 48%, rgba(6,6,8,0) 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 76px;
}

.hero-logo-wrap {
  position: relative;
  width: min(688px, 92vw);
  margin-left: calc(-6px + 2cm);
  line-height: 0;
}

.hero-logo-mark {
  width: 100%;
  height: auto;
  display: block;
}

/* le kicker est remonte a la hauteur des sabots du cheval (bas du logo),
   et prolonge par une ligne qui va jusqu'a 3cm apres les sabots */
.hero-logo-wrap .kicker {
  position: absolute;
  left: 0;
  top: 99.7%;
  transform: translateY(-50%);
  width: calc(86% + 3cm);
  margin: 0;
  gap: 18px;
  font-size: 14px;
  white-space: nowrap;
}

.hero-logo-wrap .kicker::before {
  flex: none;
  width: 48px;
}

.hero-logo-wrap .kicker::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  margin-left: 16px;
  background: var(--accent);
  opacity: 0.7;
}

/* Onde sonore en bas du hero ------------------------------------------------ */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 90px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.72;
}

.hero-copy { max-width: 980px; margin-top: 58px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 26px;
}

.kicker::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.hero .kicker { text-shadow: 0 1px 12px rgba(0,0,0,0.8); }

.hero h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(22px, 3.2vw, 38px);
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.015em;
  color: #fffdf8;
  margin-bottom: 26px;
  text-shadow: 0 2px 34px rgba(0,0,0,0.8);
}

.hero h1 em {
  font-style: normal;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent-hi);
}

.hero-geo-big {
  margin: 4px 0 30px;
  font-family: "Cinzel", "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 44px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.24);
}

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.72;
  color: rgba(248, 246, 240, 0.86);
  max-width: 580px;
  margin: 0 0 44px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.85);
}

/* variante centrée du bloc de texte du hero */
.hero-copy-center { text-align: center; }
.hero-copy-center .hero-sub { margin-left: auto; margin-right: auto; }

/* petite mention des villes, façon repère de générique */
.hero-geo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-hi);
  opacity: 0.72;
  text-shadow: 0 1px 12px rgba(0,0,0,0.8);
}

.hero-geo::before,
.hero-geo::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent-hi);
  opacity: 0.6;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* boutons deplaces sous le bandeau d'affiches, sur le fond du site */
.hero-actions-band {
  padding: 46px 0 6px;
  display: flex;
  justify-content: center;
}
.hero-actions-band .hero-actions { justify-content: center; }

/* Boutons ----------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: #17140b; }
.btn-primary:hover { background: var(--accent-hi); }

.btn-ghost { border: 1px solid rgba(246,244,238,0.32); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   Défilé d'affiches (accueil) — sobre, désaturé, lent
   ========================================================================== */

/* La filmographie défile sur une vraie bande de pellicule ------------------- */

.film-strip-section {
  position: relative;
  z-index: 2;
  padding: 0;
  background: #0b0c0e;
  border-top: 1px solid rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(0,0,0,0.6);
  box-shadow: inset 0 14px 26px -14px rgba(0,0,0,0.9),
              inset 0 -14px 26px -14px rgba(0,0,0,0.9);
}

/* rangées de perforations, haut et bas */
.film-strip-section::before,
.film-strip-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 26px;
  z-index: 3;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='26'%3E%3Cpath fill='%230b0c0e' fill-rule='evenodd' d='M0 0h42v26H0z M13 8h16a3 3 0 0 1 3 3v4a3 3 0 0 1-3 3H13a3 3 0 0 1-3-3v-4a3 3 0 0 1 3-3z'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 42px 26px;
}

.film-strip-section::before { top: 0; }
.film-strip-section::after  { bottom: 0; }

.film-strip {
  display: block;
  margin: 0;
  padding: 26px 0;
  overflow: hidden;
  cursor: pointer;
}

.film-strip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  font-size: 30px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(217, 179, 102, 0.6);
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0,0,0,0.65);
  animation: film-strip-arrow-pulse 2.2s ease-in-out infinite;
}

.film-strip-arrow-left { left: 14px; }
.film-strip-arrow-right { right: 14px; }

@keyframes film-strip-arrow-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .film-strip-arrow { animation: none; opacity: 0.6; }
}

@media (max-width: 700px) {
  .film-strip-arrow { font-size: 22px; }
  .film-strip-arrow-left { left: 8px; }
  .film-strip-arrow-right { right: 8px; }
}

.film-strip-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 110s linear infinite;
}

.film-strip:hover .film-strip-track { animation-play-state: paused; }

/* chaque affiche est un photogramme, séparé par l'interimage */
.film-strip-track img {
  width: 148px;
  height: 208px;
  object-fit: cover;
  flex: 0 0 auto;
  display: block;
  margin: 0 5px;
  border: 1px solid rgba(0,0,0,0.85);
  outline: 1px solid rgba(246,244,238,0.05);
  filter: grayscale(0.55) contrast(1.05) brightness(0.86);
  opacity: 0.78;
  transition: filter 0.5s var(--ease), opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.film-strip-track img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .film-strip-track { animation-duration: 320s; }
}

@media (max-width: 700px) {
  .film-strip-track img { width: 112px; height: 158px; }
  .film-strip { padding: 22px 0; }
  .film-strip-section::before,
  .film-strip-section::after { height: 22px; background-size: 34px 22px; }
}

/* Sur tactile : le bandeau devient glissable à la main, l'animation
   automatique s'arrête pour laisser la main au doigt de l'utilisateur */
@media (hover: none) and (pointer: coarse) {
  .film-strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .film-strip::-webkit-scrollbar { display: none; }
  .film-strip-track {
    animation: none;
    scroll-snap-type: x proximity;
  }
  .film-strip-track img { scroll-snap-align: start; }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: 118px 0; background: transparent; }

.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 80px));
  height: 1px;
  background: linear-gradient(90deg,
    rgba(246,244,238,0) 0%,
    rgba(246,244,238,0.14) 24%,
    rgba(246,244,238,0.14) 76%,
    rgba(246,244,238,0) 100%);
}

.section-alt { background: var(--bg-lift); }

.section h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.section-intro {
  color: var(--ink-soft);
  max-width: 62ch;
  font-size: 16.5px;
  font-weight: 300;
  margin: 0 0 12px;
}

.section-intro a { color: var(--accent); }
.section-intro a:hover { text-decoration: underline; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

/* Énoncé calme sous le hero ----------------------------------------------- */

.section-lead { padding: 132px 0 118px; }

.lead-statement {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: rgba(246,244,238,0.96);
  max-width: 26ch;
  margin: 0;
}

.lead-statement .quiet { color: var(--ink-dim); }

.lead-heading {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 18px;
}

/* Le jaune exact du cercle du logo */
.lead-link {
  color: var(--logo-yellow);
  border-bottom: 1px solid rgba(248, 201, 0, 0.3);
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.lead-link:hover {
  color: #ffd91f;
  border-bottom-color: var(--logo-yellow);
}

/* Bloc d'ouverture : énoncé à gauche, chiffres à droite --------------------- */

.lead-layout {
  display: block;
}

.lead-tail {
  margin: 26px 0 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink-dim);
  max-width: 46ch;
}

/* Chiffres clés intégrés en prose, sous forme de phrase discrète */
/* ==========================================================================
   Parcours
   ========================================================================== */

.parcours-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 76px;
}

.parcours-text p {
  color: var(--ink-soft);
  font-size: 16.5px;
  margin: 0 0 20px;
}

.parcours-text p:first-child::first-letter {
  font-family: var(--display);
  font-size: 3.1em;
  float: left;
  line-height: 0.86;
  padding: 6px 12px 0 0;
  color: var(--accent);
}

.parcours-skills h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}

.parcours-skills ul { list-style: none; margin: 0; padding: 0; }

.parcours-skills li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-size: 14.5px;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.parcours-skills li:hover { color: var(--ink); padding-left: 8px; }

/* ==========================================================================
   Cartes
   ========================================================================== */

.film-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-top: 40px;
}

.film-card {
  background: var(--bg);
  padding: 36px 30px;
  transition: background 0.4s var(--ease);
}

.section-alt .film-card { background: #191a1e; }
.film-card:hover { background: #22242a; }

.film-card h3 {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 10px;
}

.film-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

.link-card { display: block; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.35s var(--ease);
}

.link-card:hover .card-link,
.explore-feature:hover .card-link,
.explore-card:hover .card-link { gap: 15px; }

.film-note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--ink-dim);
}

.film-note a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.film-note a:hover { border-bottom-color: var(--accent); }

.film-studio {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  opacity: 0.9;
}

.section-note {
  margin-top: 34px;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 62ch;
}

.section-note a { color: var(--accent); }
.section-note a:hover { text-decoration: underline; }

.placeholder-note { font-style: italic; color: var(--ink-dim); }

/* ==========================================================================
   Explorer : grille asymétrique
   ========================================================================== */

.explore {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 22px;
  margin-top: 40px;
}

/* Carte principale, avec affiche en fond */
.explore-feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 460px;
  padding: 44px 40px;
  background-size: cover;
  background-position: center 22%;
  overflow: hidden;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.explore-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-soft);
  z-index: 3;
  pointer-events: none;
  transition: border-color 0.45s var(--ease);
}

.explore-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(0,0,0,0.5);
}

.explore-feature:hover::after { border-color: rgba(217,179,102,0.45); }

.explore-feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10,10,12,0.5) 0%,
    rgba(10,10,12,0.62) 34%,
    rgba(10,10,12,0.9) 74%,
    rgba(10,10,12,0.97) 100%);
  transition: background 0.5s var(--ease);
}

.explore-feature:hover .explore-feature-shade {
  background: linear-gradient(180deg,
    rgba(10,10,12,0.36) 0%,
    rgba(10,10,12,0.5) 34%,
    rgba(10,10,12,0.88) 74%,
    rgba(10,10,12,0.97) 100%);
}

.explore-feature-body { position: relative; z-index: 2; display: block; }

.explore-kicker {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.explore-feature h3 {
  font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 300;
  line-height: 1.06;
  margin: 0 0 14px;
  color: #fffdf8;
}

.explore-feature p {
  margin: 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(246,244,238,0.78);
}

.explore-feature .card-link { margin-top: 22px; }

/* Trois cartes empilées */
.explore-side {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.explore-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(20,21,25,0.72);
  padding: 30px 32px;
  transition: background 0.4s var(--ease), padding-left 0.4s var(--ease);
}

.explore-card:hover {
  background: rgba(32,34,39,0.86);
  padding-left: 40px;
}

.explore-card h3 {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 8px;
}

.explore-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.explore-card .card-link { margin-top: 14px; }

@media (max-width: 980px) {
  .explore { grid-template-columns: 1fr; }
  .explore-feature { min-height: 380px; padding: 34px 28px; }
  .explore-side { grid-template-rows: none; }
}

/* ==========================================================================
   Filmographie : affiches
   ========================================================================== */

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
  gap: 26px;
  margin-top: 46px;
}

.poster-card {
  position: relative;
  aspect-ratio: 2 / 3;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-soft);
  z-index: 3;
  pointer-events: none;
  transition: border-color 0.45s var(--ease);
}

.poster-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 48px rgba(0,0,0,0.55);
}

.poster-card:hover::after { border-color: rgba(217,179,102,0.5); }

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10,10,12,0.34) 0%,
    rgba(10,10,12,0.14) 34%,
    rgba(10,10,12,0.8) 66%,
    rgba(10,10,12,0.96) 100%);
  transition: background 0.45s var(--ease);
}

.poster-card:hover .poster-shade {
  background: linear-gradient(180deg,
    rgba(10,10,12,0.08) 0%,
    rgba(10,10,12,0.02) 38%,
    rgba(10,10,12,0.74) 68%,
    rgba(10,10,12,0.95) 100%);
}

.poster-info {
  position: relative;
  z-index: 2;
  padding: 22px 20px 20px;
  width: 100%;
  transform: translateY(6px);
  transition: transform 0.45s var(--ease);
}

.poster-card:hover .poster-info { transform: translateY(0); }

.poster-info h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.16;
  margin: 0 0 6px;
  color: #fffdf8;
  text-shadow: 0 1px 12px rgba(0,0,0,0.8);
}

.poster-info p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(246,244,238,0.74);
  text-shadow: 0 1px 10px rgba(0,0,0,0.8);
}

.film-studio-lower { text-transform: lowercase; }

.poster-info .film-studio {
  margin-top: 11px;
  padding-top: 10px;
  border-top-color: rgba(246,244,238,0.22);
}

/* ==========================================================================
   Photos
   ========================================================================== */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.photo-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.86);
}

.photo-card:hover img { transform: scale(1.045); filter: saturate(1); }

.photo-card-wide img { max-height: 540px; }
.photo-card-narrow { max-width: 380px; }

.photo-card figcaption {
  padding: 13px 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border-top: 1px solid var(--line-soft);
}

/* ==========================================================================
   Sous-pages
   ========================================================================== */

.page-hero {
  padding: 52px 0 72px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-lift);
}

.page-hero h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  max-width: 18ch;
}

/* titre sur deux phrases distinctes : chacune tient sur sa propre ligne,
   sans repli interne (utilisé pour Captation) */
.page-hero h1.h1-wide { max-width: 40ch; }

/* page Captation : tout remonté d'environ 2cm au total, pour que
   "Matériel" soit visible sans avoir à scroller */
.page-captation .page-hero { padding-top: 52px; padding-bottom: 8px; }
.page-captation .page-hero h1 { text-align: center; margin-left: auto; margin-right: auto; }
.page-captation .page-hero .hero-sub { text-align: center; margin-left: auto; margin-right: auto; }
.page-captation .photo-section { padding-bottom: 82px; }
.page-captation h2 { text-align: center; }
.page-captation .section-intro { text-align: center; margin-left: auto; margin-right: auto; }
.page-captation .film-card h3 { color: var(--accent); }
.page-captation .film-card ul { list-style: none; margin: 0; padding: 0; }
.page-captation .film-card li {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
}
.page-captation .film-card li:last-child { border-bottom: none; }

/* Habillage cinématographique du bloc Matériel : photo de tournage en fond,
   cartes en verre dépoli plutôt que panneaux pleins */
.page-captation .material-showcase {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0.86) 0%, rgba(8, 9, 11, 0.95) 100%),
    url('img-perche-tournage.jpg') center 32% / cover no-repeat;
}

.page-captation .material-showcase .film-grid {
  background: none;
  border: none;
  gap: 20px;
}

.page-captation .material-showcase .film-card {
  background: rgba(15, 16, 19, 0.56);
  backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.page-captation .material-showcase .film-card:hover {
  background: rgba(15, 16, 19, 0.72);
}

.page-hero .hero-sub {
  margin-bottom: 0;
  text-shadow: none;
  color: var(--ink-soft);
  max-width: 64ch;
}

/* En-tête compact : le contenu doit être visible sans défiler */
.page-hero-compact {
  padding: 52px 0 28px;
  background: transparent;
  border-bottom: none;
}

.page-hero-compact h1 {
  margin-bottom: 14px;
}

.page-hero-compact .hero-sub { font-size: 15.5px; }

.section-flush { padding-top: 0; }
.section-flush .poster-grid { margin-top: 26px; }
.section-flush::before { display: none; }

@media (max-width: 980px) {
  .page-hero-compact { padding: 96px 0 24px; }
}

/* ==========================================================================
   Contact & footer
   ========================================================================== */

.contact-block { margin-top: 8px; font-size: 17px; }
.contact-block p { margin: 0 0 10px; color: var(--ink-soft); }
.contact-block strong { color: var(--ink); font-weight: 400; }

.contact-block a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.contact-block a:hover { border-bottom-color: var(--accent); }

.site-footer {
  padding: 46px 0;
  font-size: 12.5px;
  color: var(--ink-dim);
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-inner p { margin: 0; }
.footer-inner a { transition: color 0.3s var(--ease); }
.footer-inner a:hover { color: var(--accent); }

/* ==========================================================================
   Apparition au défilement
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  :root { --gut: 24px; }

  .nav-toggle { display: block; }

  nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(19,20,23,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gut) 26px;
  }

  nav.nav-open { display: flex; }
  nav a { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
  nav a::after { display: none; }
  nav a.nav-cta {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 12px 20px;
    margin-top: 16px;
    width: auto;
  }

  .hero { min-height: calc(84vh - 2cm); background-position: 32% 30%; }
  .hero-inner { padding-top: 0; padding-bottom: 50px; }
  .hero-logo-wrap { width: 356px; margin-left: -6px; }
  .hero-logo-wrap .kicker { font-size: 12px; }
  .hero h1 { white-space: normal; font-size: clamp(19px, 5.6vw, 27px); }
  .hero h1 .h1-jobs { display: flex; flex-direction: column; align-items: center; gap: 5px; }
  .hero h1 .h1-sep { display: none; }
  .hero h1 .h1-domain { display: block; margin-top: 12px; font-size: 0.74em; letter-spacing: 0.06em; }
  .hero-geo-big { font-size: clamp(20px, 6vw, 28px); margin: 2px 0 20px; }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(6,6,8,0.14) 20%, rgba(6,6,8,0.72) 60%, var(--bg) 100%),
      linear-gradient(90deg, rgba(6,6,8,0.42) 0%, rgba(6,6,8,0.06) 70%);
  }

  .section { padding: 78px 0; }
  .section-lead { padding: 88px 0 76px; }
  .lead-statement { max-width: 100%; }
  .parcours-grid { grid-template-columns: 1fr; gap: 40px; }
  .band-item { font-size: 17px; gap: 26px; padding-right: 26px; }
}
