/* ===== Variables — palette « Or bleu » ===== */
:root {
  --abysse:    #04141f;
  --profond:   #07263a;
  --ocean:     #0b4f6c;
  --lagon:     #1496b8;
  --ecume:     #8fd6e8;
  --or:        #d8b25a;
  --or-clair:  #f0d68a;
  --texte:     #e8f3f7;
  --texte-doux:#a9c4cf;
  --max:       1120px;
  --r:         14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--texte);
  background: var(--abysse);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: "Cormorant Garamond", Georgia, serif; line-height: 1.1; font-weight: 600; }

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

.container { width: min(var(--max), 90%); margin-inline: auto; }

/* ===== Navigation ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s ease, backdrop-filter .4s ease, box-shadow .4s ease;
}
.nav--scrolled {
  background: rgba(4, 20, 31, .82);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(143, 214, 232, .12);
}
.nav__inner {
  width: min(var(--max), 90%); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.nav__brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem; font-weight: 700; letter-spacing: .5px;
  color: var(--or-clair);
}
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: .92rem; color: var(--texte-doux);
  position: relative; transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--or); transition: width .25s;
}
.nav__links a:hover { color: var(--texte); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav__toggle span { width: 26px; height: 2px; background: var(--texte); transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 120px 0 80px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(20,150,184,.35), transparent 60%),
    linear-gradient(180deg, var(--profond), var(--abysse) 70%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/affiche-lor-bleu.png") center / cover no-repeat;
  filter: blur(6px) saturate(1.1);
  transform: scale(1.1);
  opacity: .35;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(4,20,31,.45), rgba(4,20,31,.85)),
    repeating-linear-gradient(115deg, transparent 0 40px, rgba(143,214,232,.03) 40px 41px);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; width: min(820px, 90%); }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-size: .78rem;
  color: var(--ecume); margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(4rem, 14vw, 9rem); font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(180deg, var(--or-clair), var(--or));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(216,178,90,.25);
}
.hero__tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--texte-doux); margin: 18px auto 38px; max-width: 600px;
  font-style: italic; font-family: "Cormorant Garamond", serif;
}
.hero__verse {
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: clamp(.95rem, 1.8vw, 1.1rem); line-height: 1.6;
  color: var(--ecume); max-width: 540px; margin: 0 auto 36px;
  opacity: .9;
}
.hero__laurel {
  display: inline-block; margin-bottom: 30px;
  padding: 8px 20px; border: 1px solid rgba(216,178,90,.5); border-radius: 100px;
  font-size: .75rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--or-clair); background: rgba(216,178,90,.06);
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 1.4rem; color: var(--ecume); z-index: 2;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* ===== Boutons ===== */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 100px;
  font-weight: 600; font-size: .95rem; letter-spacing: .3px;
  transition: transform .2s, box-shadow .2s, background .25s, color .25s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--or), var(--or-clair));
  color: var(--abysse);
  box-shadow: 0 10px 30px rgba(216,178,90,.3);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(216,178,90,.42); }
.btn--ghost { border: 1.5px solid rgba(143,214,232,.45); color: var(--texte); }
.btn--ghost:hover { background: rgba(143,214,232,.12); transform: translateY(-3px); }

/* ===== Sections génériques ===== */
.section { padding: clamp(70px, 11vw, 130px) 0; }
.section--synopsis { background: var(--abysse); }
.section--trailer  { background: linear-gradient(180deg, var(--abysse), var(--profond)); }
.section--film     { background: var(--profond); }
.section--team     { background: linear-gradient(180deg, var(--profond), var(--abysse)); }
.section--contact  { background: var(--abysse); }

.section__label {
  text-transform: uppercase; letter-spacing: 3px; font-size: .75rem;
  color: var(--or); margin-bottom: 10px;
}
.section__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 42px;
  color: var(--texte);
}

/* ===== Synopsis ===== */
.synopsis__grid { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 50px; align-items: start; }
.synopsis__poster { margin: 0; }
.synopsis__poster img {
  width: 100%; height: auto; display: block; border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(216,178,90,.3);
}
.synopsis__body { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
.synopsis__text p { color: var(--texte-doux); margin-bottom: 20px; font-size: 1.05rem; }
.synopsis__text em { color: var(--ecume); font-style: italic; }
.synopsis__facts {
  list-style: none; border-left: 2px solid rgba(216,178,90,.4); padding-left: 26px;
}
.synopsis__facts li { padding: 12px 0; border-bottom: 1px solid rgba(143,214,232,.1); }
.synopsis__facts span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--texte-doux); }
.synopsis__facts strong { font-size: 1.1rem; color: var(--texte); font-weight: 500; }

/* ===== Lecteur vidéo ===== */
.player {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: #000; aspect-ratio: 16 / 9;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(143,214,232,.12);
}
.player--feature { box-shadow: 0 30px 90px rgba(11,79,108,.5), 0 0 0 1px rgba(216,178,90,.25); }
.player__video { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }
.player__hint { margin-top: 16px; font-size: .85rem; color: var(--texte-doux); }
.player__hint code { background: rgba(143,214,232,.12); padding: 2px 7px; border-radius: 6px; color: var(--ecume); }

/* ===== Équipe ===== */
.director {
  background: linear-gradient(180deg, rgba(20,150,184,.08), rgba(7,38,58,.4));
  border: 1px solid rgba(143,214,232,.12); border-radius: var(--r);
  border-left: 3px solid rgba(216,178,90,.6);
  padding: 28px 32px; margin-bottom: 14px;
}
.director__bio h3 { font-size: 1.7rem; color: var(--ecume); margin-bottom: 10px; }
.director__bio p { color: var(--texte-doux); }
.director__bio strong { color: var(--texte); }
.director__bio em { color: var(--ecume); font-style: italic; }
.team__subtitle { font-size: 1.6rem; color: var(--ecume); margin: 40px 0 24px; }
.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px; }
.card {
  background: linear-gradient(180deg, rgba(20,150,184,.08), rgba(7,38,58,.4));
  border: 1px solid rgba(143,214,232,.12); border-radius: var(--r);
  padding: 22px; text-align: center; transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(216,178,90,.45); }
.card__mono {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, var(--lagon), var(--ocean));
  border: 1.5px solid rgba(216,178,90,.45);
  font-family: "Cormorant Garamond", serif; font-weight: 600;
  font-size: 1.4rem; letter-spacing: 1px; color: var(--or-clair);
}
.card h4 { font-size: 1.3rem; color: var(--texte); margin-bottom: 4px; }
.card p { font-size: .85rem; color: var(--texte-doux); }

.team__grid--names { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.card--name { padding: 18px; }
.card--name h4 { margin: 0; font-size: 1.2rem; }
.team__thanks {
  margin-top: 44px; text-align: center; font-style: italic;
  font-family: "Cormorant Garamond", serif; font-size: 1.2rem;
  color: var(--texte-doux); max-width: 720px; margin-inline: auto;
}
.team__partner {
  margin-top: 20px; text-align: center; font-size: .85rem;
  text-transform: uppercase; letter-spacing: 2px; color: var(--texte-doux);
}
.team__partner strong { color: var(--or-clair); }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact__info p { color: var(--texte-doux); margin-bottom: 24px; }
.contact__list { list-style: none; margin-bottom: 28px; }
.contact__list li { padding: 12px 0; border-bottom: 1px solid rgba(143,214,232,.12); }
.contact__list span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--or); margin-bottom: 2px; }
.contact__list a { color: var(--texte); transition: color .2s; }
.contact__list a:hover { color: var(--ecume); }

.contact__form { display: flex; flex-direction: column; gap: 16px; }
.contact__form label { display: flex; flex-direction: column; gap: 7px; font-size: .85rem; color: var(--texte-doux); }
.contact__form input, .contact__form textarea {
  background: rgba(143,214,232,.07); border: 1px solid rgba(143,214,232,.2);
  border-radius: 10px; padding: 12px 14px; color: var(--texte);
  font-family: inherit; font-size: .95rem; transition: border-color .2s, background .2s;
}
.contact__form input:focus, .contact__form textarea:focus {
  outline: none; border-color: var(--or); background: rgba(216,178,90,.06);
}
.contact__form .btn { align-self: flex-start; margin-top: 4px; }
.contact__honeypot { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.contact__formnote { font-size: .78rem; color: var(--texte-doux); }
.contact__formnote code { background: rgba(143,214,232,.12); padding: 2px 6px; border-radius: 5px; color: var(--ecume); }

/* ===== Footer ===== */
.footer { background: #02101a; padding: 30px 0; border-top: 1px solid rgba(143,214,232,.1); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer__brand { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; color: var(--or-clair); }
.footer__copy { font-size: .82rem; color: var(--texte-doux); }

/* ===== Animations au scroll ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; gap: 0;
    background: rgba(4,20,31,.97); backdrop-filter: blur(10px);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav__links.is-open { max-height: 360px; }
  .nav__links a { padding: 16px 5%; border-bottom: 1px solid rgba(143,214,232,.08); }
  .synopsis__grid, .synopsis__body, .contact__grid { grid-template-columns: 1fr; gap: 34px; }
  .synopsis__poster { max-width: 320px; margin-inline: auto; }
  .director { padding: 24px; }
  .synopsis__facts { border-left: 0; border-top: 2px solid rgba(216,178,90,.4); padding-left: 0; padding-top: 16px; }
}
