/* Couleurs : le noir de la grotte, la roche, et la lumière des lampes frontales */
:root {
  --nuit: #0d0c0b;
  --roche: #1a1816;
  --pierre: #2a2622;
  --calcaire: #e9e2d6;
  --gris: #a39a8e;
  --lampe: #f2b33d;
  --titre: "Cormorant Garamond", Georgia, serif;
  --texte: "Work Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--nuit); color: var(--calcaire); font-family: var(--texte); line-height: 1.65; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }

.wrap { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
section { padding: 96px 0; }
h1, h2, blockquote, .accroche, .logo { font-family: var(--titre); font-weight: 600; line-height: 1.1; }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 600; color: var(--lampe); margin-bottom: 18px; }

.btn {
  display: inline-block; background: var(--lampe); color: var(--nuit); text-decoration: none;
  padding: 14px 26px; font-weight: 600; border: 1px solid var(--lampe); border-radius: 2px;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--calcaire); border-color: var(--calcaire); }
.btn-contour { background: transparent; color: var(--calcaire); border-color: rgba(233,226,214,.5); }
.btn-contour:hover { background: var(--calcaire); color: var(--nuit); }

/* Menu */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 22px 32px; }
.logo { display: block; text-decoration: none; }
.logo img { width: 150px; }
.nav nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.nav { background: linear-gradient(rgba(13,12,11,.82), rgba(13,12,11,0)); padding-bottom: 40px !important; }
.nav nav a { text-decoration: none; font-size: .92rem; color: var(--calcaire); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.nav nav a:hover { color: var(--calcaire); }
.nav .nav-pro { color: var(--lampe); }

/* Ouverture : boucle vidéo plein écran, logo du film au centre */
.hero { position: relative; min-height: 100svh; padding: 0; display: grid; place-items: end center; overflow: hidden; text-align: center; }
.hero-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 70%, rgba(13,12,11,.55), transparent 70%), linear-gradient(rgba(13,12,11,.35), transparent 30%, transparent 45%, var(--nuit)); }
.hero-texte { position: relative; z-index: 1; width: 100%; max-width: 900px; padding: 0 20px 4vh; }
.hero h1 img { width: min(640px, 82vw); margin: 0 auto; filter: drop-shadow(0 6px 24px rgba(0,0,0,.55)); }
.hero-auteurs { font-size: 1.15rem; margin: 22px 0 6px; letter-spacing: .02em; }
.hero-auteurs strong { font-weight: 600; }
.hero .kicker { color: var(--gris); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Synopsis */
.synopsis { padding-top: 56px; }
.synopsis-grille { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.accroche { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; margin-bottom: 32px; }
.synopsis-texte { color: #cfc6b9; font-size: 1.15rem; line-height: 1.75; }
.synopsis-texte p { margin-bottom: 18px; }
.synopsis-images { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: sticky; top: 24px; }
.synopsis-images img { aspect-ratio: 4 / 5; object-fit: cover; }
.synopsis-images .grande { grid-column: span 2; aspect-ratio: 16 / 10; }
.synopsis-texte em { color: var(--calcaire); }

/* Citations */
.citations { position: relative; padding: 120px 0; background: linear-gradient(rgba(13,12,11,.72), rgba(13,12,11,.86)), url("images/citations-fond.jpg") center / cover; }
.citations blockquote { position: relative; font-family: var(--titre); font-weight: 500; color: #fbf7f0; line-height: 1.2; }
.citations .guillemet { position: absolute; left: -0.62em; top: -0.18em; color: var(--lampe); font-size: 1.6em; line-height: 1; }
.citation-grande { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 18ch; margin: 8px 0 72px 0.6em; }
.citations-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-left: 0.9em; }
.citations-grille blockquote { font-size: clamp(1.6rem, 2.6vw, 2.15rem); padding-top: 22px; border-top: 1px solid rgba(242,179,61,.6); }
.citations-grille .guillemet { top: 0.32em; }

/* Teaser */
.teaser-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.teaser-cadre { position: relative; }
.teaser-panneau { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; padding: 0; border: 0; cursor: pointer; background: url("images/teaser-affiche.jpg?v=4") center / cover; color: var(--calcaire); font: inherit; }
.teaser-panneau[hidden] { display: none; }
.teaser-play { position: relative; width: 96px; height: 96px; border-radius: 50%; background: rgba(13,12,11,.6); border: 2px solid rgba(242,179,61,.9); transition: transform .25s ease, background .25s ease; }
.teaser-play::after { content: ""; position: absolute; left: 38px; top: 29px; border-style: solid; border-width: 19px 0 19px 30px; border-color: transparent transparent transparent var(--lampe); }
.teaser-panneau:hover .teaser-play { transform: scale(1.06); background: rgba(13,12,11,.8); }
.teaser-libelle { font-size: .8rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.8); }

/* Images */
.images { padding-bottom: 72px; }
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 8px; padding: 0 8px; }
.galerie img { height: 100%; object-fit: cover; }
.galerie .large { grid-column: span 2; grid-row: span 2; }

/* Fiche technique */
.fiche dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.fiche dl div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--pierre); }
.fiche dt { color: var(--gris); font-size: .9rem; }

/* Programmateurs */
.pro { background: var(--roche); }
.pro-grille { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.pro h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; margin-bottom: 16px; }
.pro p:not(.kicker) { color: var(--gris); max-width: 52ch; }
.pro-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* Contact */
.contact { padding-top: 96px; }
.contact-grille { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact h2 { font-family: var(--titre); font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; margin-bottom: 16px; }
.contact-grille > div p:not(.kicker) { color: var(--gris); }
.formulaire { display: grid; gap: 16px; }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formulaire label { display: grid; gap: 6px; font-size: .88rem; }
.formulaire label span { color: var(--gris); }
.formulaire input, .formulaire select, .formulaire textarea { width: 100%; padding: 12px 14px; background: var(--roche); border: 1px solid var(--pierre); color: var(--calcaire); font: inherit; border-radius: 2px; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: 2px solid var(--lampe); outline-offset: 1px; }
.formulaire .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.piege { position: absolute; left: -9999px; }
.contact-etat { padding: 12px 14px; border-left: 3px solid var(--lampe); background: var(--roche); }
.contact-etat.erreur { border-color: #ff8a7a; }

/* Pied de page */
.pied { padding: 56px 20px; color: var(--gris); }
.pied .petit { font-size: .78rem; margin-top: 16px; max-width: 90ch; }

/* Téléphone */
@media (max-width: 760px) {
  .nav { padding: 16px 20px; }
  .hero::after { background: linear-gradient(rgba(13,12,11,.35), transparent 25%, rgba(13,12,11,.55) 55%, var(--nuit) 88%); }
  .nav nav { gap: 14px; font-size: .88rem; }
  section { padding: 64px 0; }
  .champs-2, .contact-grille, .synopsis-grille { grid-template-columns: 1fr; }
  .synopsis-images { position: static; }
  .synopsis { padding-top: 32px; }
  .logo img { width: 110px; }
  .citations { padding: 72px 0; }
  .citations-grille, .pro-grille, .fiche dl { grid-template-columns: 1fr; gap: 28px; }
  .fiche dl { gap: 0; }
  .fiche dl div { grid-template-columns: 130px 1fr; }
  .galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
}
