/* Panique! Production — feuille de style (reprend le thème du site WordPress) */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Archivo Narrow', sans-serif; font-size: 14px; line-height: 26px; color: #000; background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; }

/* En-tête */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; height: 96px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; }
.logo img { height: 40px; width: auto; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.site-header nav a { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 3px; line-height: 24px; padding-bottom: 4px; border-bottom: 2px solid transparent; transition: border-color .2s; }
.site-header nav a:hover, .site-header nav a.current { border-bottom-color: #fff; }
.site-header nav .social a { border: 0; display: block; }
.site-header nav .social svg { width: 20px; height: 20px; display: block; }
.site-header nav .social { margin-left: -8px; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 30px; height: 2px; background: #fff; margin: 7px 0; transition: transform .25s, opacity .25s; }

/* En-tête de page (image) */
.page-hdr { height: 350px; background: #000 center / cover no-repeat; }

/* Contenu */
.container { max-width: 1425px; margin: 0 auto; padding: 50px 90px 80px; }

/* Grilles de films */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; align-items: start; }
.works-4 { grid-template-columns: repeat(4, 1fr); }
.work img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; background: #eee; transition: opacity .25s; }
.work:hover img { opacity: .8; }
.work h4 { font-size: 18px; font-weight: 400; line-height: 25px; margin-top: 16px; }
.work p { font-size: 12px; line-height: 22px; color: #999; margin: 4px 0 0; }

/* Accueil : diaporama plein écran */
body.home { background: #1c1c1c; }
.home-slider { position: relative; height: 100vh; min-height: 480px; overflow: hidden; }
.home-slider .slide { color: #fff; }
.home-slider .caption { position: absolute; top: 22%; left: 90px; right: 90px; }
.home-slider .caption h2 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 44px; line-height: 1.15; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.home-slider .caption p { font-family: 'Archivo Black', sans-serif; font-size: 20px; margin: 14px 0 0; text-shadow: 0 1px 8px rgba(0,0,0,.3); }

/* Diaporamas */
.slider { position: relative; overflow: hidden; }
.slider .track { display: flex; height: 100%; transition: transform .6s ease; }
.slider .slide { flex: 0 0 100%; height: 100%; background: #111 center / cover no-repeat; position: relative; display: block; }
.slider button { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 54px; border: 0; cursor: pointer; color: #fff; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; }
.slider button svg { width: 20px; height: 20px; }
.slider .prev { left: 0; } .slider .next { right: 0; }
.home-slider button { background: none; width: 60px; }
.home-slider .prev { left: 20px; } .home-slider .next { right: 20px; }
.gallery { height: 600px; margin-bottom: 25px; }
.posters { height: 1000px; }

/* Fiche film */
.fiche-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 0 5%; align-items: start; }
.video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 25px; background: #000; }
.video-facade { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; background: #000 center / cover no-repeat; color: #fff; }
.video-facade::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.35); transition: background .2s; }
.video-facade:hover::before { background: rgba(0,0,0,.2); }
.video-facade .play { position: relative; width: 78px; height: 78px; border-radius: 50%; background: rgba(0,0,0,.6); border: 2px solid #fff; }
.video-facade .play::after { content: ''; position: absolute; left: 31px; top: 23px; border-style: solid; border-width: 16px 0 16px 24px; border-color: transparent transparent transparent #fff; }
.video-facade .label { position: relative; font-size: 18px; font-weight: 700; letter-spacing: 2px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-img { width: 100%; margin-bottom: 25px; }
.film-info h1 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 54px; line-height: 62px; margin-bottom: 7px; }
.film-info h2 { font-size: 34px; line-height: 44px; margin-bottom: 25px; }
.film-info h3 { font-size: 22px; line-height: 34px; margin-bottom: 25px; }
.film-info h4 { font-size: 18px; font-weight: 400; line-height: 32px; margin-bottom: 8px; }
.film-info h4 strong { font-weight: 600; }
.film-info h5 { font-size: 16px; line-height: 26px; letter-spacing: 1px; margin-bottom: 7px; }
.film-info h4 + h5, .film-info h3 + h4 { margin-top: 25px; }
.film-info h5 + h4, .film-info h5 + h2 { margin-top: 25px; }
.film-info img { margin: 25px 0; }
.film-info a:hover { text-decoration: underline; }
.film-info a.download { color: #339966; text-decoration: underline; }
.film-info .ico { width: .9em; height: .9em; vertical-align: -0.05em; }
.film-info .video { margin: 25px 0; }
.related { margin-top: 70px; }
.related h3 { font-size: 22px; line-height: 34px; margin-bottom: 25px; }

/* À propos / Contact */
.apropos-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 0 5%; align-items: start; }
.apropos-text h5 { margin-bottom: 18px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 5%; align-items: start; }
.map { width: 100%; height: 450px; border: 0; }
.contact-text h2 { margin: 30px 0 4px; }
.contact-text h2:first-child { margin-top: 0; }
.contact-text h4 { margin-bottom: 0; }
.contact-text a:hover { text-decoration: underline; }
.notfound { padding-top: 160px; }
.notfound h1 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 54px; line-height: 62px; }
.notfound a { text-decoration: underline; }

/* Tablette et mobile */
@media (max-width: 1000px) {
  .container { padding: 40px 28px 60px; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .works-4 { grid-template-columns: repeat(2, 1fr); }
  .fiche-grid, .apropos-grid, .contact-grid { grid-template-columns: 1fr; }
  .film-info { order: -1; margin-bottom: 35px; }
  .apropos-grid .film-info, .contact-grid .film-info { order: 0; margin: 35px 0 0; }
  .gallery { height: 56vw; }
  .posters { height: 130vw; }
  .home-slider .caption { left: 28px; right: 28px; top: 16%; }
  .home-slider .caption h2 { font-size: 30px; }
  .home-slider .caption p { font-size: 17px; }
  .home-slider .prev { left: 4px; } .home-slider .next { right: 4px; }

  .burger { display: block; position: relative; z-index: 60; }
  .site-header nav { position: fixed; inset: 0; background: #1c1c1c; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .site-header nav ul { flex-direction: column; gap: 22px; }
  .site-header nav a { font-size: 28px; line-height: 34px; }
  .site-header nav .social { margin: 0; display: inline-flex; }
  .site-header nav ul { flex-wrap: wrap; }
  .menu-open .site-header nav { opacity: 1; visibility: visible; }
  .menu-open .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .menu-open { overflow: hidden; }
}
@media (max-width: 600px) {
  .site-header { height: 80px; padding: 0 20px; }
  .logo img { height: 32px; }
  .page-hdr { height: 220px; }
  .works, .works-4 { grid-template-columns: 1fr; }
  .film-info h1 { font-size: 40px; line-height: 46px; }
  .film-info h2 { font-size: 26px; line-height: 34px; }
  .map { height: 320px; }
}
