@font-face {
  font-family: 'Krylon';
  src: url('../fonts/Krylon-Regular.woff2') format('woff2'),
       url('../fonts/Krylon-Regular.woff')  format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --blue:       #2B5F8E;
  --blue-deep:  #1A3D5C;
  --blue-light: #C8DCF0;
  --blue-pale:  #E8F2FB;
  --sand:       #F2EDE4;
  --cream:      #FAFAF7;
  --coral:      #E8825A;
  --text:       #1C2B3A;
  --text-mid:   #4A6070;
  --text-light: #8BA4B8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: var(--blue-light); border-radius: 4px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center;
  padding: 0 28px; height: 52px;
  transition: background .3s, border-color .3s;
}
nav.mode-hero  { background: transparent; border-bottom: 1px solid rgba(200,220,240,.25); color: var(--cream); }
nav.mode-light { background: var(--cream); border-bottom: 1px solid var(--blue-light);    color: var(--text); }

.nav-left {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  font-family: 'DM Sans', sans-serif; font-weight: 500; cursor: pointer;
}
.nav-left .nav-dot {
  width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid currentColor; transition: background .2s;
}
.nav-left:hover .nav-dot { background: currentColor; }

.nav-center {
  flex: 1; display: flex; justify-content: center; gap: 32px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  font-family: 'DM Sans', sans-serif; font-weight: 400;
}
.nav-center a {
  color: inherit; text-decoration: none; cursor: pointer;
  padding: 3px 6px; position: relative; transition: opacity .2s;
}
.nav-center a::after {
  content: ''; position: absolute; bottom: -1px; left: 6px; right: 6px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transition: transform .25s; transform-origin: left;
}
.nav-center a:hover::after,
.nav-center a.active::after { transform: scaleX(1); }
nav.mode-light .nav-center a.active { border: 1px solid var(--blue); color: var(--blue); }
nav.mode-hero  .nav-center a.active { border: 1px solid rgba(200,220,240,.7); }
nav.mode-hero  .nav-center a.active::after,
nav.mode-light .nav-center a.active::after { display: none; }

.nav-right {
  font-family: 'Krylon', 'Cormorant Garamond', serif;
  font-size: 20px; letter-spacing: .06em;
  cursor: pointer; color: inherit;
}

/* PAGE HERO */
#page-hero {
  position: relative; width: 100vw; height: 100vh;
  overflow: hidden; display: flex; flex-direction: column;
}

.hero-carousel {
  position: absolute; inset: 0; z-index: 0;
}

.carousel-track {
  display: flex;
  flex-direction: row; 
  flex-wrap: nowrap;   
  width: max-content;  
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.carousel-track picture {
  width: 100vw;       
  height: 100vh;
  flex-shrink: 0;     
  display: block;
}

.carousel-track picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* <-- L'accolade en trop était ici et cassait tout le reste ! */

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; 
  background: linear-gradient(160deg, rgba(27,61,92,.72) 0%, rgba(43,95,142,.45) 60%, rgba(14,28,42,.7) 100%);
}

.hero-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: .6; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h10v10H0V0zm10 10h10v10H10V10zm10-10h10v10H20V0zm10 10h10v10H30V10zM0 20h10v10H0V20zm20 0h10v10H20V20zM0 30h10v10H0V30zm10-10h10v10H10V20zm20 10h10v10H30V30z' fill='rgba(200,220,240,0.04)' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-big-title {
  font-family: 'Krylon', 'Cormorant Garamond', serif;
  font-size: clamp(72px, 13vw, 190px);
  font-weight: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200,220,240,.75);
  line-height: .88; letter-spacing: .02em;
  pointer-events: none;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  width: 100%; text-align: center; white-space: nowrap;
  transition: -webkit-text-stroke 0.4s ease;
  z-index: 3;
}

.hero-big-title.theme-dark {
  -webkit-text-stroke: 1px var(--blue-deep);
}

.hero-film-left .tag.theme-dark {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue-deep); font-family: 'DM Sans', sans-serif; margin-bottom: 6px; 
}

/* Changement de couleur de la flèche quand le thème sombre est actif */
.hero-arrow.theme-dark {
  color: var(--blue-deep); /* Ou var(--text), selon la couleur sombre voulue */
  border-color: var(--blue-deep); /* Change aussi la couleur de la bordure si vous en avez une */
  transition: color 0.3s ease, border-color 0.3s ease; /* Rend le changement fluide */
}

/* Si vous avez des effets de survol (hover) sur la flèche, vous pouvez les adapter ici aussi */
.hero-arrow.theme-dark:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.hero-content {
  position: relative; 
  z-index: 10; 
  flex: 1;
  display: flex; 
  flex-direction: column;
  justify-content: flex-end; 
  padding: 0 40px 32px;
}

/* Dégradé de protection sous le texte */
.hero-content::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 340px;
  background: linear-gradient(to top, rgba(8,16,30,.72) 0%, rgba(8,16,30,.38) 55%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.hero-film-info { display: flex; justify-content: space-between; align-items: flex-end; }

.hero-film-left {
  transition: opacity 0.3s ease; /* Pour le fondu du texte */
}

.hero-film-left .tag {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue-light); font-family: 'DM Sans', sans-serif; margin-bottom: 6px;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.hero-film-left .film-title {
  font-family: 'Krylon', 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.5vw, 44px); font-weight: 600;
  color: var(--cream); letter-spacing: .02em; cursor: pointer; line-height: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}
.hero-film-left .film-title:hover { color: var(--blue-light); }

.hero-arrow {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  color: var(--blue-light);
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  padding: 8px 14px; border: 1px solid rgba(200,220,240,.35);
  border-radius: 40px; transition: border-color .2s, color .2s;
}
.hero-arrow:hover { border-color: var(--blue-light); color: var(--cream); }
.hero-arrow.theme-dark { color: var(--blue-deep); border-color: rgba(27,61,92,.4); }
.hero-arrow.theme-dark:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.hero-arrow .arr { font-size: 14px; }

.hero-line { position: absolute; bottom: 0; left: 0; right: 0; z-index: 4; height: 1px; background: rgba(200,220,240,.2); }

/* MENU OVERLAY */
#menu-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  flex-direction: column; background: var(--blue-deep);
}
#menu-overlay.open { display: flex; animation: fadeIn .2s ease; }

.overlay-top {
  display: flex; align-items: center; padding: 0 28px; height: 52px;
  border-bottom: 1px solid rgba(200,220,240,.15);
}
.overlay-close {
  display: flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-light); cursor: pointer; border: none; background: none; transition: color .2s;
}
.overlay-close:hover { color: var(--cream); }
.close-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); display: inline-block; }

.overlay-logo {
  margin-left: auto;
  font-family: 'Krylon', 'Cormorant Garamond', serif;
  font-size: 20px; letter-spacing: .06em; color: rgba(200,220,240,.4);
}

@media (max-width: 768px) {
	
	.overlay-logo {  font-size: 13px;}
}

.overlay-body { flex: 1; display: flex; overflow: hidden; }
.overlay-menu-items { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; }

.overlay-item {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(30px,5.5vw,66px); font-weight: 300;
  color: rgba(200,220,240,.5); padding: 6px 40px; cursor: pointer;
  letter-spacing: .01em; line-height: 1.2;
  border-bottom: 1px solid rgba(200,220,240,.08);
  transition: color .2s, padding-left .2s;
  display: flex; align-items: baseline; gap: 18px;
}
.overlay-item:first-child { border-top: 1px solid rgba(200,220,240,.08); }
.overlay-item:hover { color: var(--cream); padding-left: 52px; }
.overlay-item .item-num {
  font-size: 10px; letter-spacing: .15em; color: rgba(200,220,240,.25);
  font-style: normal; font-family: 'DM Sans', sans-serif; font-weight: 300; min-width: 22px;
}

.overlay-footer {
  border-top: 1px solid rgba(200,220,240,.1);
  padding: 14px 28px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
}
.overlay-footer a {
  color: rgba(200,220,240,.4); text-decoration: none;
  font-family: 'DM Sans', sans-serif; font-size: 9px;
  letter-spacing: .16em; text-transform: uppercase; font-weight: 400;
  cursor: pointer; transition: color .2s;
}
.overlay-footer a:hover { color: var(--blue-light); }

.page { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ═══════════════════════════════════════════════════════
   RESET LIENS & BOUTONS
═══════════════════════════════════════════════════════ */

a, button { text-decoration: none; }


/* ═══════════════════════════════════════════════════════
   PAGE FILMS
═══════════════════════════════════════════════════════ */

/*
  FIX FOOTER : flex column + min-height 100vh.
  .footer-block prend l'espace restant → footer
  toujours collé en bas, même avec peu de films.
*/
#page-films {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  padding-top: 52px;
}

#page-films .footer-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.films-header {
  padding: 18px 28px 0;
  border-bottom: 1px solid var(--blue-light);
  flex-shrink: 0;
}

.films-filters {
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Ligne Type + Genre (desktop) */
.films-filters-secondary {
  padding-top: 8px;
  padding-bottom: 10px;
  border-top: 1px solid var(--blue-light);
  gap: 6px;
}

.desktop-filter-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-right: 2px;
}

.desktop-filter-sep {
  width: 1px;
  height: 18px;
  background: var(--blue-light);
  flex-shrink: 0;
  margin: 0 8px;
}

.filter-btn {
  padding: 4px 12px;
  cursor: pointer;
  border: 1px solid transparent;
  background: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 40px;
  transition: all .2s;
}

.filter-btn:hover { color: var(--blue); }

.filter-btn.active {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
}

.filter-btn.filter-type.active-type {
  border-color: var(--blue);
  color: var(--cream);
  background: var(--blue);
}

.filter-btn.filter-genre.active-genre {
  border-color: var(--coral);
  color: var(--cream);
  background: var(--coral);
}

.films-sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--text-light);
}

.sort-opt {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: color .2s;
}

.sort-opt:hover { color: var(--blue); }

.sort-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
}

.sort-dot.empty {
  background: transparent;
  border: 1.5px solid var(--text-light);
}

.sep { color: var(--blue-light); }

.films-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--blue-light);
  margin-top: 1px;
  flex-shrink: 0;
}

.film-card[hidden] { display: none; }

.film-card {
  cursor: pointer;
  background: var(--cream);
  transition: background .2s;
}

.film-card:hover { background: var(--blue-pale); }

.film-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--blue-light);
}

.film-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, filter .3s;
  filter: saturate(.9);
}

.film-card:hover .film-thumb img {
  transform: scale(1.06);
  filter: saturate(1.2);
}

.film-info { padding: 12px 14px 16px; }

.film-meta {
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  color: var(--coral);
  margin-bottom: 5px;
  font-weight: 500;
}

.film-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--blue-deep);
  line-height: 1.15;
}

/* Filtres mobile : invisibles sur desktop */
.mobile-filters { display: none; }



/* ═══════════════════════════════════════════════════════
   FICHE FILM — V2
═══════════════════════════════════════════════════════ */

#page-detail {
  background: var(--cream);
  padding-top: 52px;
}

/* ── HERO ── */
.detail-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6.5;
  background: var(--blue-deep);
  overflow: hidden;
}

.detail-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.75) saturate(.85);
}

.detail-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(26,61,92,.55) 100%);
  pointer-events: none;
}

.detail-ornament {
  position: absolute;
  bottom: 14px;
  right: 20px;
  color: rgba(200,220,240,.5);
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ── BOUTON BANDE-ANNONCE — centré dans le hero ── */
.detail-trailer-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: rgba(26,61,92,.5);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(200,220,240,.6);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: background .25s, border-color .25s, transform .25s;
  z-index: 10;
  white-space: nowrap;
}

.detail-trailer-btn:hover {
  background: rgba(26,61,92,.85);
  border-color: var(--blue-light);
  transform: translate(-50%, -50%) scale(1.05);
}

.trailer-btn-icon {
  font-size: 9px;
  opacity: .8;
}

/* ── BARRE TITRE ── */
.detail-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--blue-light);
  gap: 20px;
}

.title-and-director {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-title-bar h1 {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 300;
  letter-spacing: .01em;
  color: var(--blue-deep);
  line-height: 1;
}

.director-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mid);
  letter-spacing: .04em;
}

.cinema-tag {
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 500;
  border: 1px solid rgba(232,130,90,.35);
  padding: 6px 14px;
  border-radius: 40px;
  white-space: nowrap;
}

/* ── BODY : layout poster + infos ── */
.detail-body {
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 36px 28px 20px;
  gap: 52px;
  align-items: start;
}

.detail-poster {
  position: sticky;
  top: 72px;
}

.detail-poster img {
  max-width: 500px;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 8px 20px 48px rgba(27,61,92,.18);
}

/* ── BLOCS D'INFO : système unifié ── */
.detail-info {
  display: flex;
  flex-direction: column;
}

.info-block {
  padding: 24px 0;
}

.info-block:last-of-type { border-bottom: none; }

.info-block-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

/* ① SYNOPSIS */
.info-block--synopsis { padding-bottom: 28px; }

.detail-synopsis {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--blue-deep);
  max-width: 1000px;
}

/* ② MÉTADONNÉES PRIMAIRES */
.info-block--primary-meta {
  background: var(--blue-pale);
  margin-left: -28px;
  margin-right: -28px;
  padding: 24px 28px;
  border-top: 1px solid var(--blue-light);
  border-bottom: 1px solid var(--blue-light);
}

.primary-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.primary-meta-item {
  padding: 0 20px 0;
  border-right: 1px solid var(--blue-light);
}

@media (min-width: 768px) {
.primary-meta-item:first-child { padding-left: 0; }
}
.primary-meta-item:last-child  { border-right: none; }

.primary-meta-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1.15;
  letter-spacing: .01em;
  margin-bottom: 5px;
}

.primary-meta-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ③ CASTING */
.cast-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 0;
}

.cast-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--blue-deep);
  letter-spacing: .02em;
  font-style: italic;
}

.cast-sep {
  color: var(--text-light);
  margin: 0 12px;
  font-size: 14px;
}

/* ④ ÉQUIPE */
.team-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-row {
  display: flex;
  align-items: baseline;
  gap: 15px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
}

.team-role {
  font-weight: 400;
  color: var(--text-mid);
  font-size: 18px;
  letter-spacing: .04em;
  min-width: 160px;
  flex-shrink: 0;
}

.team-contact {
  font-weight: 400;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(43,95,142,.25);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}

.team-contact:hover { color: var(--coral); border-bottom-color: var(--coral); }

/* ⑤ PRIX */
.awards-list {
  display: flex;
  flex-direction: column;
}

.award-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--blue-light);
}

.award-item:last-child  { border-bottom: none; padding-bottom: 0; }
.award-item:first-child { padding-top: 0; }

.award-festival {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: .03em;
  min-width: 260px;
  flex-shrink: 0;
}

.award-prize {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  color: var(--blue);
}

/* ⑥ MATÉRIELS */
.materials-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.material-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  border: 1px solid var(--blue-light);
  border-radius: 3px;
  padding: 8px 14px;
  transition: color .2s, border-color .2s, background .2s;
}

.material-link:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--blue-pale);
}

.material-icon {
  font-size: 12px;
  color: var(--blue-light);
  transition: color .2s;
}

.material-link:hover .material-icon { color: var(--blue); }

/* ⑦ PRESSE */
.info-block--press { border-bottom: none; }

.ratings-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.rating-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 20px;
  border: 1px solid var(--blue-light);
  border-radius: 4px;
  text-decoration: none;
  background: var(--cream);
  min-width: 90px;
  transition: border-color .2s, background .2s, transform .18s;
}

.rating-pill:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
  transform: translateY(-2px);
}

.rating-platform {
  font-family: 'DM Sans', sans-serif;
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.rating-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1;
  letter-spacing: .01em;
}

.rating-score small {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-light);
  margin-left: 1px;
  font-family: 'DM Sans', sans-serif;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--blue-light);
  border: 1px solid var(--blue-light);
}

.press-card {
  background: var(--cream);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .2s;
}

.press-card:hover { background: var(--blue-pale); }

.press-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  line-height: .6;
  color: var(--blue-light);
  font-weight: 300;
}

.press-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
  flex: 1;
}

.press-source {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  transition: color .2s;
  align-self: flex-start;
}

.press-source:hover { color: var(--coral); }

/* ── OÙ VOIR LE FILM ── */
.info-block--watch {}

.watch-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.watch-category-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.watch-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.watch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 3px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  transition: background .2s, border-color .2s, transform .18s, color .2s;
  border: 1px solid transparent;
}

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

.watch-name {
  color: inherit;
}

.watch-arrow {
  font-size: 11px;
  opacity: .55;
  transition: opacity .2s;
}

.watch-pill:hover .watch-arrow { opacity: 1; }

.watch-pill--svod {
  background: var(--blue-pale);
  color: var(--blue-deep);
  border-color: var(--blue-pale);
}

.watch-pill--svod:hover {
  background: var(--blue-light);
  border-color: var(--blue);
}

.watch-pill--vod {
  background: var(--blue-pale);
  color: var(--blue-deep);
  border-color: var(--blue-light);
}

.watch-pill--vod:hover {
  background: var(--blue-light);
  border-color: var(--blue);
}

.watch-pill--physical {
  background: var(--cream);
  color: var(--text);
  border: 1px solid var(--blue-light);
}

.watch-pill--physical:hover {
  background: var(--sand);
  border-color: var(--text-mid);
}

/* VISA */
.detail-visa {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--text-light);
  padding: 16px 0 8px;
  font-weight: 300;
}

/* ── GALERIE ── */
.detail-gallery {
  border-top: 1px solid var(--blue-light);
  overflow: hidden;
}

.gallery-track {
  display: flex;
}

.gallery-img {
  flex: 1;
  min-width: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: saturate(.85);
  transition: flex .4s ease, filter .3s;
}

/* ── POP-UP BANDE-ANNONCE ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10,15,20,.9);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background: #000;
  border-radius: 4px;
  box-shadow: 0 15px 40px rgba(0,0,0,.5);
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  transition: color .2s;
}

.modal-close:hover { color: var(--coral); }

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── LIENS MATÉRIEL (compatibilité ancien style) ── */
.detail-meta-value.sm a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(43,95,142,.3);
  padding-bottom: 2px;
  font-weight: 500;
  transition: all .3s ease;
  display: inline-block;
}

.detail-meta-value.sm a:hover {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ═══════════════════════════════════════════════════════
   SECTION PROCHAINEMENT
═══════════════════════════════════════════════════════ */

.coming-soon-section {
  background: var(--sand);
  border-top: 1px solid var(--blue-light);
}

.cs-section-label {
  padding: 16px 28px 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--text-mid);
  letter-spacing: .06em;
  border-bottom: 1px solid var(--blue-light);
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.cs-col {
  border-right: 1px solid var(--blue-light);
  cursor: pointer;
  transition: background .2s;
}

.cs-col:last-child { border-right: none; }
.cs-col:hover      { background: var(--blue-pale); }

.cs-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.cs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s;
  filter: saturate(.85);
}

.cs-col:hover .cs-thumb img {
  transform: scale(1.05);
  filter: saturate(1);
}

.cs-col-info {
  padding: 12px 18px 20px;
  border-top: 1px solid var(--blue-light);
}

.cs-meta {
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  color: var(--coral);
  margin-bottom: 5px;
  font-weight: 500;
}

.cs-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .01em;
  color: var(--blue-deep);
}


/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */

.footer-acknowledgement {
  background: var(--blue-deep);
  color: var(--blue-light);
  padding: 20px 28px;
  font-size: 12.5px;
  line-height: 1.65;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  border-top: 1px solid rgba(200,220,240,.15);
}

.footer-main {
  background: var(--blue-deep);
  color: var(--cream);
  padding: 0 28px;
  border-top: 1px solid rgba(200,220,240,.12);
}

.footer-nl-label {
  font-size: 8.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  color: var(--blue-light);
  font-weight: 500;
  padding-top: 18px;
}

.footer-nl-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(200,220,240,.2);
  padding: 10px 0 12px;
}

.footer-nl-row input {
  background: none;
  border: none;
  outline: none;
  width: 65%;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 3vw, 36px);
  font-style: italic;
  color: var(--cream);
}

.footer-nl-row input::placeholder { color: rgba(200,220,240,.35); }

.subscribe-btn {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 3vw, 36px);
  font-style: italic;
  color: var(--cream);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .2s;
}

.subscribe-btn:hover { color: var(--coral); }

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 18px 0 14px;
  gap: 10px;
  border-bottom: 1px solid rgba(200,220,240,.1);
}

.footer-col { display: flex; flex-direction: column; gap: 7px; }

.f-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(200,220,240,.65);
  cursor: pointer;
  transition: color .2s;
  font-weight: 400;
}

.f-link:hover { color: var(--cream); }

.footer-bottom {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(200,220,240,.4);
  font-weight: 300;
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE MOBILE (≤ 768px)
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Nav ── */
  nav { padding: 0 20px; }
  .nav-center { display: none; }
  .nav-right  { margin-left: auto; font-size: 13px; }

  /* ── Hero ── */
  .hero-big-title { font-size: clamp(42px, 16vw, 60px); }
  .hero-content   { padding: 0 20px 28px; }
  .hero-film-left .tag        { font-size: 10px; }
  .hero-film-left .film-title { font-size: clamp(22px, 6vw, 34px); }
  .hero-arrow { padding: 7px 12px; font-size: 8px; }

  /* ── Films : filtres desktop masqués, filtres mobile visibles ── */
  .films-header   { display: none; }

  .mobile-filters {
    display: block;
    position: sticky;
    top: 52px;
    z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid var(--blue-light);
  }

  .mobile-filter-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid var(--blue-light);
  }

  .mobile-filter-row:last-child         { border-bottom: none; }
  .mobile-filter-row::-webkit-scrollbar { display: none; }

  .mobile-filter-label {
    flex-shrink: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--text-light);
    min-width: 42px;
  }

  .mobile-filter-divider {
    width: 1px;
    height: 18px;
    background: var(--blue-light);
    flex-shrink: 0;
    margin-right: 2px;
  }

  .mobile-filter-btn {
    flex-shrink: 0;
    padding: 4px 12px;
    border: 1px solid var(--blue-light);
    border-radius: 40px;
    background: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-mid);
    cursor: pointer;
    transition: all .18s;
    white-space: nowrap;
  }

  .mobile-filter-btn:hover        { color: var(--blue); border-color: var(--blue); }
  .mobile-filter-btn.active-type  { border-color: var(--blue);  color: var(--cream); background: var(--blue); }
  .mobile-filter-btn.active-genre { border-color: var(--coral); color: var(--cream); background: var(--coral); }

  /* ── Films : 1 colonne, cartes horizontales ── */
  .films-grid {
    grid-template-columns: 1fr;
    background: transparent;
    gap: 0;
  }

  .film-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-bottom: 1px solid var(--blue-light);
  }

  .film-card:last-child { border-bottom: none; }

  .film-thumb {
    width: 100px;
    flex-shrink: 0;
    aspect-ratio: unset;
    height: 76px;
  }

  .film-info {
    flex: 1;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
  }

  .film-name { font-size: 15px; }

  .film-card::after {
    content: '›';
    display: flex;
    align-items: center;
    padding-right: 14px;
    font-size: 20px;
    color: var(--blue-light);
    flex-shrink: 0;
  }

  /* ── Fiche film ── */
  .detail-title-bar {
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px 12px;
  }

  /*
    FIX POSTER MOBILE : 1 colonne empilée.
    Le poster prend toute la largeur, plafonné à 55vw
    de hauteur avec object-fit cover pour ne jamais déborder.
  */
  .detail-body {
    grid-template-columns: 1fr;
    padding: 20px 20px 5px;
    gap: 0;
    align-items: start;
  }

  .detail-poster {
    position: static;
    width: 100%;
    overflow: hidden;
  }

  .detail-poster img {
    width: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    box-shadow: none;
  }

  .detail-info    { padding-top: 20px; }
  .detail-synopsis { font-size: 18px; max-width: 100%; }
  .detail-hero     { aspect-ratio: 4 / 3; }
  .detail-ornament { display: none; }

  /* ── Fiche film V2 : responsive ── */
  .detail-poster {
    position: static;
    display: flex;
    justify-content: center;
  }

  .detail-poster img { max-width: 300px; }

  .primary-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--blue-light);
    border: 1px solid var(--blue-light);
  }

  .primary-meta-item {
    background: var(--blue-pale);
    padding: 16px;
    border-right: none;
  }

  .info-block--primary-meta {
    margin-left: -20px;
    margin-right: -20px;
    padding: 0;
    background: transparent;
    border: none;
  }

  .award-item { flex-direction: column; gap: 3px; }
  .award-festival { min-width: unset; }

  .team-row { flex-direction: column; gap: 7px; }
  .team-role { min-width: unset; }

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

  .detail-title-bar { flex-direction: column; align-items: flex-start; }

  .gallery-track { flex-direction: column; }
  .gallery-img { flex: none; width: 100%; aspect-ratio: 16 / 9; }

  /* ── Prochainement : 1 colonne ── */
  .coming-soon-grid { grid-template-columns: 1fr; }

  .cs-col {
    border-right: none;
    border-bottom: 1px solid var(--blue-light);
  }

  .cs-col:last-child { border-bottom: none; }

  /* ── Footer ── */
  .footer-acknowledgement,
  .footer-main { padding-left: 20px; padding-right: 20px; }

  .footer-links-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-col:last-child { grid-column: 1 / -1; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* ── Menu overlay ── */
  .overlay-item { font-size: clamp(26px, 7.5vw, 44px); padding: 8px 24px; }
  .overlay-item:hover { padding-left: 34px; }
  .overlay-footer { padding: 12px 20px; gap: 14px; }
}

/* ── SOUS-MENU DÉROULANT FILMS ── */
.overlay-item-group {
  display: flex;
  flex-direction: column;
}

.toggle-icon {
  margin-left: auto; /* Aligne le "+" à l'extrême droite */
  font-weight: 300;
  transition: transform 0.3s ease;
}

.overlay-sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  /* Optionnel : assombrit très légèrement le fond du sous-menu */
  background: rgba(0, 0, 0, 0.1); 
}

.overlay-sub-menu.open {
  /* Ajustez cette valeur (ex: 600px) si vous avez beaucoup de films */
  max-height: 400px; 
}

.overlay-sub-item {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(20px, 4vw, 40px); /* Taille réduite par rapport au lien parent */
  font-weight: 300;
  color: rgba(200,220,240,.4);
  padding: 10px 40px 10px 60px; /* Indentation à gauche de 60px pour la hiérarchie */
  cursor: pointer;
  letter-spacing: .01em;
  line-height: 1.2;
  border-bottom: 1px solid rgba(200,220,240,.04);
  transition: color .2s, padding-left .2s;
  display: flex; 
  align-items: baseline; 
  gap: 18px;
  text-decoration: none;
}

.overlay-sub-item:last-child {
  border-bottom: 1px solid rgba(200,220,240,.08);
}

.overlay-sub-item:hover { 
  color: var(--cream); 
  padding-left: 72px; /* Amplifie l'effet de décalage au survol */
}

.overlay-sub-item .item-num {
  font-size: 10px; 
  letter-spacing: .15em; 
  color: rgba(200,220,240,.25);
  font-style: normal; 
  font-family: 'DM Sans', sans-serif; 
  font-weight: 300; 
  min-width: 22px;
}

/* ── Très petits écrans (≤ 380px) ── */
@media (max-width: 380px) {
  .films-grid     { grid-template-columns: 1fr; }
  .hero-big-title { font-size: 55px; }
}


   /* ══════════════════════════════════════
       PAGE CONTACT / À PROPOS
    ══════════════════════════════════════ */

    #page-contact {
      padding-top: 52px; /* hauteur de la nav */
    }

    /* ── CHAPEAU (intro) ── */
    .contact-header {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      border-bottom: 1px solid var(--blue-light);
      min-height: 54vh;
    }

    .contact-header-left {
      background: var(--blue-deep);
      padding: 64px 56px 64px 40px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      position: relative;
      overflow: hidden;
    }

    /* Motif discret en arrière-plan */
    .contact-header-left::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h10v10H0V0zm10 10h10v10H10V10zm10-10h10v10H20V0zm10 10h10v10H30V10zM0 20h10v10H0V20zm20 0h10v10H20V20zM0 30h10v10H0V30zm10-10h10v10H10V20zm20 10h10v10H30V30z' fill='rgba(200,220,240,0.04)' fill-rule='evenodd'/%3E%3C/svg%3E");
      opacity: .6;
      pointer-events: none;
    }

    .contact-header-ornament {
      font-family: 'DM Sans', sans-serif;
      font-size: 9px;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: rgba(200, 220, 240, .35);
      margin-bottom: 20px;
    }

    .contact-header-title {
      font-family: 'Krylon', 'Cormorant Garamond', serif;
      font-size: clamp(44px, 7vw, 100px);
      font-weight: normal;
      color: transparent;
      -webkit-text-stroke: 1px rgba(200, 220, 240, .7);
      line-height: .92;
      letter-spacing: .02em;
      margin-bottom: 28px;
    }

    .contact-header-sub {
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 300;
      color: rgba(200, 220, 240, .55);
      letter-spacing: .04em;
      line-height: 1.7;
      max-width: 380px;
    }

    .contact-header-right {
      background: var(--sand);
      padding: 64px 40px 64px 56px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 36px;
    }

    .contact-block-label {
      font-family: 'DM Sans', sans-serif;
      font-size: 9px;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--text-light);
      margin-bottom: 10px;
    }

    .contact-block-value {
      font-family: 'Cormorant Garamond', serif;
      font-size: 22px;
      font-weight: 300;
      color: var(--text);
      line-height: 1.5;
    }

    .contact-block-value a {
      color: var(--blue);
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: border-color .2s;
    }

    .contact-block-value a:hover {
      border-color: var(--blue);
    }

    /* ── À PROPOS ── */
    .about-section {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 0;
      border-bottom: 1px solid var(--blue-light);
    }

    .about-left {
      padding: 60px 40px 60px 40px;
      border-right: 1px solid var(--blue-light);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .about-section-label {
      font-family: 'DM Sans', sans-serif;
      font-size: 9px;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--text-light);
    }

    .about-stat-group {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .about-stat {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .about-stat-num {
      font-family: 'Krylon', 'Cormorant Garamond', serif;
      font-size: 52px;
      font-weight: normal;
      color: var(--blue);
      line-height: 1;
      letter-spacing: .02em;
    }

    .about-stat-desc {
      font-family: 'DM Sans', sans-serif;
      font-size: 11px;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--text-mid);
      font-weight: 300;
    }

    .about-right {
      padding: 60px 56px 60px 56px;
    }

    .about-text-intro {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(22px, 2.4vw, 30px);
      font-weight: 300;
      font-style: italic;
      color: var(--blue-deep);
      line-height: 1.55;
      margin-bottom: 36px;
      max-width: 680px;
    }

    .about-text-body {
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 300;
      color: var(--text-mid);
      line-height: 1.85;
      max-width: 620px;
    }

    .about-text-body p + p {
      margin-top: 18px;
    }

    /* ── LIGNE SÉPARATRICE HORIZONTALE (dans l'équipe) ── */
    .contact-rule {
      border: none;
      border-top: 1px solid var(--blue-light);
      margin: 0;
    }

    /* ── ÉQUIPE ── */
    .team-section {
      padding: 60px 40px;
      background: var(--cream);
      border-bottom: 1px solid var(--blue-light);
    }

    .team-header {
      display: flex;
      align-items: baseline;
      gap: 20px;
      margin-bottom: 48px;
    }

    .team-title {
      font-family: 'Krylon', 'Cormorant Garamond', serif;
      font-size: clamp(28px, 3vw, 42px);
      font-weight: normal;
      color: var(--blue-deep);
      letter-spacing: .02em;
    }

    .team-title-rule {
      flex: 1;
      height: 1px;
      background: var(--blue-light);
    }

    .team-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      border: 1px solid var(--blue-light);
      background: var(--blue-light);
    }

    .team-card {
      background: var(--cream);
      padding: 36px 32px;
      transition: background .2s;
    }

    .team-card:hover {
      background: var(--blue-pale);
    }

    .team-card-role {
      font-family: 'DM Sans', sans-serif;
      font-size: 9px;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--coral);
      margin-bottom: 10px;
    }

    .team-card-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 24px;
      font-weight: 300;
      color: var(--text);
      margin-bottom: 8px;
      letter-spacing: .02em;
    }

    .team-card-contact {
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      font-weight: 300;
      color: var(--text-light);
    }

    .team-card-contact a {
      color: var(--blue);
      text-decoration: none;
      transition: color .2s;
    }

    .team-card-contact a:hover {
      color: var(--blue-deep);
    }

    /* ── FORMULAIRE / CTA ── */
    .contact-cta-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      min-height: 340px;
    }

    .cta-left {
      background: var(--blue-pale);
      padding: 60px 56px 60px 40px;
      border-right: 1px solid var(--blue-light);
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 10px;
    }

    .cta-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(26px, 2.8vw, 40px);
      font-weight: 300;
      font-style: italic;
      color: var(--blue-deep);
      line-height: 1.3;
      margin-bottom: 16px;
    }

    .cta-desc {
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 300;
      color: var(--text-mid);
      line-height: 1.7;
      max-width: 380px;
    }

    .cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: 28px;
      padding: 14px 28px;
      background: var(--blue-deep);
      color: var(--cream);
      font-family: 'DM Sans', sans-serif;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: .16em;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: 40px;
      width: fit-content;
      transition: background .25s, transform .2s;
    }

    .cta-btn:hover {
      background: var(--blue);
      transform: translateY(-2px);
    }

    .cta-right {
      background: var(--cream);
      padding: 60px 40px 60px 56px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 28px;
    }

    /* ── RÉSEAUX SOCIAUX ── */
    .social-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .social-item {
      display: flex;
      align-items: center;
      gap: 18px;
      padding: 16px 20px;
      border: 1px solid var(--blue-light);
      border-radius: 2px;
      text-decoration: none;
      color: var(--text);
      transition: border-color .2s, background .2s, transform .2s;
    }

    .social-item:hover {
      border-color: var(--blue);
      background: var(--blue-pale);
      transform: translateX(4px);
    }

    .social-name {
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 500;
      color: var(--text);
      letter-spacing: .06em;
    }

    .social-handle {
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      font-weight: 300;
      color: var(--text-light);
      margin-left: auto;
    }

    .social-arrow {
      font-size: 14px;
      color: var(--blue-light);
      transition: color .2s;
    }

    .social-item:hover .social-arrow {
      color: var(--blue);
    }


    /* ══════════════════
       RESPONSIVE MOBILE
    ══════════════════ */
    @media (max-width: 900px) {
      .contact-header {
        grid-template-columns: 1fr;
      }

      .contact-header-left {
        padding: 80px 28px 48px;
        min-height: 52vw;
      }

      .contact-header-right {
        padding: 40px 28px;
        gap: 28px;
      }

      .about-section {
        grid-template-columns: 1fr;
      }

      .about-left {
        border-right: none;
        border-bottom: 1px solid var(--blue-light);
        padding: 40px 28px;
        flex-direction: row;
        align-items: flex-end;
        flex-wrap: wrap;
        gap: 32px;
      }

      .about-section-label {
        width: 100%;
      }

      .about-stat-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px 40px;
      }

      .about-right {
        padding: 40px 28px;
      }

      .team-section {
        padding: 48px 20px;
      }

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

      .contact-cta-section {
        grid-template-columns: 1fr;
      }

      .cta-left {
        border-right: none;
        border-bottom: 1px solid var(--blue-light);
        padding: 48px 28px;
      }

      .cta-right {
        padding: 40px 28px;
      }
    }
	
/* ── LIENS MATÉRIEL PROMOTIONNEL (Option 1) ── */
.detail-meta-value.sm a {
  color: var(--blue); /* Couleur bleue de ta charte */
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 95, 142, 0.3); /* Petit trait de soulignement discret */
  padding-bottom: 2px;
  font-weight: 500; /* Rend le texte un poil plus gras */
  transition: all 0.3s ease;
  display: inline-block;
}

.detail-meta-value.sm a:hover {
  color: var(--coral); /* Devient corail au survol */
  border-bottom-color: var(--coral);
}

/* ── BARRE DE RECHERCHE OVERLAY ── */
.overlay-body {
  flex-direction: column; /* Assure que la recherche reste au-dessus des liens */
}

.overlay-search {
  padding: 0 40px;
  margin: 40px 0 10px 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(200,220,240,.15);
  transition: border-bottom-color 0.3s ease;
}

/* S'illumine quand on clique dedans */
.overlay-search:focus-within {
  border-bottom-color: var(--blue-light); 
}

.overlay-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 300;
  padding: 15px 0;
  outline: none;
}

.overlay-search input::placeholder {
  color: rgba(200,220,240,.3);
  font-style: italic;
}

.search-icon {
  font-size: 24px;
  color: rgba(200,220,240,.5);
  transform: rotate(-45deg); /* Incline le symbole ⚲ pour ressembler à une loupe fine */
  user-select: none;
}

/* ── RÉSULTATS DE RECHERCHE OVERLAY ── */
.search-results-container {
  display: none; /* Caché par défaut */
  flex-direction: column;
  padding: 0 40px;
  margin-top: 10px;
  max-height: 60vh;
  overflow-y: auto; /* Permet de scroller si beaucoup de résultats */
}

/* S'active via Javascript */
.search-results-container.active {
  display: flex;
}

.search-result-item {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(20px, 3vw, 30px);
  color: var(--cream);
  padding: 15px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(200,220,240,.08);
  transition: color 0.2s, padding-left 0.2s;
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-result-item::before {
  content: '→';
  color: var(--coral);
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-10px);
}

.search-result-item:hover {
  color: var(--coral);
  padding-left: 10px;
}

.search-result-item:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.no-result {
  color: rgba(200,220,240,.4);
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  padding: 20px 0;
}

 /* ── GRILLE POSTERS ── */
    .films-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      padding: 32px 28px 48px;
      background: var(--cream);
      margin-top: 0;
    }

    .film-card {
      cursor: pointer;
      background: none;
      transition: none;
      position: relative;
    }

    .film-card:hover { background: none; }

    /* Poster portrait */
    .film-thumb {
      width: 100%;
      aspect-ratio: 2 / 3;
      overflow: hidden;
      background: var(--blue-light);
      border-radius: 3px;
    }

    .film-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .6s cubic-bezier(.25,.46,.45,.94), filter .4s;
      filter: saturate(.85);
    }

.film-card:hover .film-thumb img {
  filter: saturate(1.1);
  transform: scale(1); 
}

    /* Overlay sombre au hover */
    .film-thumb::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 3px;
      opacity: 0;
      transition: opacity .4s;
      pointer-events: none;
    }

    .film-card:hover .film-thumb::after { opacity: 1; }

    /* Icône play au hover */
    .film-play {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -54%);
      width: 44px; height: 44px;
      border-radius: 50%;
      border: 1.5px solid rgba(250, 250, 247, .8);
      display: flex; align-items: center; justify-content: center;
      opacity: 0;
      transition: opacity .35s, transform .35s cubic-bezier(.25,.46,.45,.94);
      pointer-events: none;
    }

    .film-play::before {
      content: '';
      width: 0; height: 0;
      border-top: 7px solid transparent;
      border-bottom: 7px solid transparent;
      border-left: 11px solid rgba(250, 250, 247, .9);
      margin-left: 3px;
    }

    .film-card:hover .film-play {
      opacity: 1;
      transform: translate(-50%, -50%);
    }

    /* Infos sous le poster */
    .film-info {
      padding: 10px 2px 0;
    }

    .film-meta {
      font-size: 8px;
      letter-spacing: .2em;
      text-transform: uppercase;
      font-family: 'DM Sans', sans-serif;
      color: var(--coral);
      margin-bottom: 4px;
      font-weight: 500;
    }

    .film-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 18px;
      font-weight: 600;
      letter-spacing: .01em;
      color: var(--blue-deep);
      line-height: 1.2;
      transition: color .2s;
    }

    .film-card:hover .film-name { color: var(--coral); }

    /* Numéro ordinal flottant */
    .film-num {
      position: absolute;
      top: -11px; left: -8px;
      font-family: 'Cormorant Garamond', serif;
      font-size: 11px;
      font-weight: 300;
      letter-spacing: .12em;
      color: var(--text-light);
      font-style: italic;
      opacity: 0;
      transition: opacity .25s;
      pointer-events: none;
      z-index: 2;
    }

    .film-card:hover .film-num { opacity: 1; }

    /* Tag genre (petit badge) */
    .film-genres {
      display: flex; gap: 4px; flex-wrap: wrap;
      margin-top: 6px;
    }

    .film-genre-tag {
      font-size: 7.5px;
      letter-spacing: .18em;
      text-transform: uppercase;
      font-family: 'DM Sans', sans-serif;
      color: var(--text-light);
      font-weight: 400;
    }

    .film-genre-tag + .film-genre-tag::before {
      content: '·';
      margin-right: 4px;
    }

    /* Header section */
    .films-header {
      padding: 18px 28px 0;
      border-bottom: 1px solid var(--blue-light);
      flex-shrink: 0;
    }

    /* ── TABLETTE ── */
    @media (max-width: 1100px) {
      .films-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 28px 24px 48px;
      }
    }

    /* ── MOBILE — override complet du style.css ── */
    @media (max-width: 768px) {

      /* Rétablir la grille 2 colonnes (écrase le 1-col de style.css) */
      .films-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 16px 14px 40px !important;
        background: var(--cream) !important;
      }

      /* Carte : repassez en colonne (style.css la met en row) */
      .film-card {
        display: block !important;
        flex-direction: unset !important;
        border-bottom: none !important;
        position: relative;
      }

      /* Rétablir le masquage des cartes filtrées (écrasé par display:block !important) */
      .film-card[hidden] { display: none !important; }

      /* Supprimer la flèche › injectée par style.css */
      .film-card::after { display: none !important; }

      /* Thumb : format portrait pleine largeur */
      .film-thumb {
        width: 100% !important;
        aspect-ratio: 2 / 3 !important;
        height: auto !important;
        flex-shrink: unset !important;
        border-radius: 3px;
        position: relative;
      }

      /* Info sous le poster */
      .film-info {
        padding: 8px 2px 0 !important;
        flex-direction: column !important;
        justify-content: unset !important;
        gap: 2px !important;
      }

      .film-meta {
        font-size: 7.5px;
        letter-spacing: .18em;
      }

      .film-name {
        font-size: 15px !important;
        line-height: 1.2;
      }

      .film-genres { margin-top: 4px; }
      .film-num { display: none; }

      /* Désactiver les animations hover sur touch */
      .film-card:hover .film-thumb img {
        transform: none;
        filter: saturate(.85);
      }
      .film-card:hover .film-name { color: var(--blue-deep); }
    }

    @media (max-width: 380px) {
      .films-grid {
        gap: 10px !important;
        padding: 12px 12px 32px !important;
      }
      .film-name { font-size: 13px !important; }
      .film-meta { font-size: 7px; }
    }