/* =========================================================
   SML — direction « Pellicule cinéma »
   Couleurs : modifie-les ici, tout le site suit.
   ========================================================= */
:root {
  --ink: #0A0A0A;        /* fond principal (noir) */
  --ink-2: #121212;      /* fond des sections alternées */
  --ink-3: #1B1B1B;      /* cartes */
  --line: rgba(255, 255, 255, .12);
  --cream: #EDEDED;      /* texte principal (blanc cassé) */
  --muted: #9B9B9B;      /* texte secondaire (gris) */
  --live: #5BD67A;       /* pastille « Réservations ouvertes » (vert) */
  --accent: #E23B2E;     /* accents (rouge « REC ») */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { width: min(820px, 100%); }

/* ---------- Grain de pellicule ---------- */
.grain {
  position: fixed; inset: -50%;
  z-index: 100; pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); }
  40% { transform: translate(4%, -6%); } 60% { transform: translate(-3%, 5%); }
  80% { transform: translate(6%, 2%); } 100% { transform: translate(0, 0); }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em;
  border-radius: 999px;
  background: var(--cream); color: var(--ink);
  font: 500 15px/1 var(--sans); text-decoration: none; letter-spacing: .01em;
  border: 1px solid var(--cream);
  transition: transform .4s var(--ease), background .3s, color .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn span { transition: transform .4s var(--ease); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(255, 255, 255, .4); }
.btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--small { padding: .7em 1.2em; font-size: 13px; }
.btn--full { width: 100%; }
.btn--big { padding: 1.15em 1.8em; font-size: 16px; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn .handle { opacity: .6; font-weight: 400; }

/* ---------- En-tête ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  padding-top: max(14px, env(safe-area-inset-top));
  transition: background .4s, backdrop-filter .4s, transform .5s var(--ease);
}
.top.is-solid { background: rgba(10, 10, 10, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top__logo img { width: 64px; height: auto; }
.top__nav { display: none; gap: 32px; font-size: 14px; }
.top__nav a { text-decoration: none; color: var(--muted); transition: color .3s; }
.top__nav a:hover { color: var(--cream); }
@media (min-width: 760px) { .top__nav { display: flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.05) brightness(.55);
  transform: scale(1.18);
  animation: kenburns 22s var(--ease) forwards;
}
@keyframes kenburns { to { transform: scale(1.02); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 30%, transparent 30%, rgba(10, 10, 10, .65) 100%),
    linear-gradient(to top, var(--ink) 4%, rgba(10, 10, 10, .2) 55%, rgba(10, 10, 10, .5) 100%);
}

/* bandes cinémascope qui s'ouvrent */
.hero__bar {
  position: absolute; left: 0; right: 0; z-index: 2;
  background: #000; height: 50.5%;
  animation: bars 1.6s .2s var(--ease) forwards;
  pointer-events: none;
}
.hero__bar--top { top: 0; }
.hero__bar--bottom { bottom: 0; }
@keyframes bars { to { height: 6vh; } }

.hero__hud {
  position: absolute; top: calc(6vh + 72px); left: var(--gutter); right: var(--gutter); z-index: 3;
  display: flex; justify-content: space-between;
  font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--cream);
  opacity: 0; animation: fade 1s 1.4s forwards;
}
.rec { display: inline-flex; align-items: center; gap: 8px; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tc { color: var(--muted); font-variant-numeric: tabular-nums; }

.hero__content {
  position: relative; z-index: 3;
  width: min(1160px, 100%); margin: 0 auto;
  padding: 0 var(--gutter) calc(6vh + 72px);
}
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(10, 10, 10, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  margin: 0 0 24px;
}
.hero .status { opacity: 0; animation: fade 1s 1.2s forwards; }
.status__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none;
  box-shadow: 0 0 0 0 rgba(91, 214, 122, .6); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(91, 214, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 214, 122, 0); } }

.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(52px, 13vw, 148px); line-height: .95; letter-spacing: -.035em;
  font-variation-settings: "opsz" 144;
}
.hero__title em { font-weight: 300; color: var(--cream); }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; transform: translateY(110%); animation: rise 1.3s var(--ease) forwards; }
.line:nth-child(1) > span { animation-delay: 1s; }
.line:nth-child(2) > span { animation-delay: 1.15s; }
@keyframes rise { to { transform: none; } }

.hero__sub { margin: 24px 0 0; color: var(--muted); font-size: clamp(15px, 2.2vw, 18px); max-width: 34em; }
.hero__sub strong { color: var(--cream); font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .reveal { transition-delay: 1.4s; }
.hero .hero__cta.reveal { transition-delay: 1.55s; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: calc(6vh + 24px); z-index: 3;
  width: 1px; height: 56px; background: var(--line); overflow: hidden;
}
.hero__scroll span { display: block; width: 100%; height: 40%; background: var(--cream); animation: scrolldown 2s var(--ease) infinite; }
@keyframes scrolldown { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
@media (max-width: 600px) { .hero__scroll { display: none; } }

@keyframes fade { to { opacity: 1; } }

/* ---------- Bandeau défilant ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  padding: 18px 0; background: var(--ink);
}
.marquee__track {
  display: flex; width: max-content; align-items: center; gap: 28px;
  animation: marquee 32s linear infinite;
  font: italic 300 clamp(22px, 4vw, 34px)/1 var(--serif);
}
.marquee b { color: var(--accent); font: 400 14px/1 var(--sans); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 14vw, 160px) 0; }
.section--alt { background: var(--ink-2); }
.head { margin-bottom: clamp(40px, 7vw, 72px); }
.kicker {
  font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
  display: flex; align-items: center; gap: 12px;
}
.kicker::after { content: ""; height: 1px; width: 48px; background: currentColor; opacity: .5; }
.head h2 {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(44px, 9vw, 96px); line-height: 1; letter-spacing: -.03em;
}
.head__sub { color: var(--muted); margin: 16px 0 0; max-width: 36em; }

/* ---------- Réalisations ---------- */
.reel { display: grid; gap: clamp(28px, 4vw, 40px); grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .reel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel .clip:first-child:nth-last-child(odd) { grid-column: 1 / -1; } /* nombre impair de clips : le 1er en grand */
}
.clip__play {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer;
  background: var(--ink-3); color: var(--cream);
}
.clip__play img, .clip iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.clip__play > img { transition: transform 1.2s var(--ease), filter .6s; filter: brightness(.85); }
@media (hover: hover) {
  .clip__play:hover > img { transform: scale(1.05); filter: brightness(1); }
  .clip__play:hover .clip__icon { transform: scale(1.1); background: var(--accent); border-color: var(--accent); }
}
.clip__play.is-playing::before, .clip__play.is-playing::after { display: none; }
.clip__play::before, .clip__play::after { /* repères de cadrage */
  content: ""; position: absolute; z-index: 2; width: 22px; height: 22px; pointer-events: none;
  border: 1.5px solid rgba(255, 255, 255, .8);
  transition: inset .6s var(--ease), opacity .4s; opacity: .0;
}
.clip__play::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.clip__play::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.clip__play:hover::before, .clip.in .clip__play::before { opacity: 1; }
.clip__play:hover::after, .clip.in .clip__play::after { opacity: 1; }
.clip__icon {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  background: rgba(10, 10, 10, .5); border: 1px solid rgba(255, 255, 255, .5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .5s var(--ease), background .3s;
}
.clip__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -5px;
  border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--cream);
}
.clip__fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #262626, var(--ink-3));
}
.clip__fallback img { width: 34%; height: auto; opacity: .5; }
.clip__play > img + .clip__fallback { display: none; }
.clip__meta { display: flex; align-items: baseline; gap: 14px; margin-top: 14px; }
.clip__n { font: 500 12px/1 var(--mono); color: var(--accent); letter-spacing: .1em; }
.clip__meta h3 { font: 400 clamp(19px, 2.4vw, 24px)/1.2 var(--serif); }
.clip__meta em { color: var(--muted); }
.more { margin: 48px 0 0; text-align: center; }
.more a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: color .3s, border-color .3s; }
.more a:hover { color: var(--cream); border-color: var(--cream); }

/* ---------- Tarifs ---------- */
.pricing { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .pricing { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; } }

.offer {
  position: relative; overflow: hidden;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 10px;
  background: linear-gradient(160deg, #262626 0%, var(--ink-3) 45%, #121212 100%);
  border: 1px solid rgba(255, 255, 255, .16);
}
.offer::before { /* perforations de pellicule */
  content: ""; position: absolute; top: 0; bottom: 0; right: 14px; width: 10px;
  background: repeating-linear-gradient(to bottom, transparent 0 14px, rgba(255, 255, 255, .09) 14px 26px);
  border-radius: 2px;
}
.offer__label { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.offer__title { font: 400 clamp(36px, 6vw, 52px)/1 var(--serif); letter-spacing: -.02em; }
.offer__style { margin: 10px 0 0; font: italic 300 20px/1.3 var(--serif); color: var(--muted); }
.offer__style span { color: var(--accent); font-style: normal; font-family: var(--sans); font-size: 14px; margin: 0 4px; }
.offer__price {
  margin: 32px 0 28px; padding: 24px 0; border-block: 1px solid var(--line);
  display: flex; align-items: flex-start; flex-wrap: wrap;
  font: 300 clamp(72px, 15vw, 112px)/.9 var(--serif); letter-spacing: -.04em;
}
.offer__price small { flex-basis: 100%; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.offer__price sup { font-size: .4em; margin: .15em 0 0 .08em; color: var(--accent); }
.offer__list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.offer__list li { position: relative; padding-left: 28px; color: var(--muted); }
.offer__list li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 14px; height: 1px; background: var(--accent);
}
.offer__list b { color: var(--cream); font-weight: 500; }

.options { padding: clamp(4px, 1vw, 12px) 0; }
.options__title { font: italic 300 32px/1 var(--serif); margin-bottom: 12px; }
.options ul { list-style: none; padding: 0; margin: 0; }
.options li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.options li b { font-weight: 500; }
.options li p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.price { white-space: nowrap; font: 400 22px/1 var(--serif); }
.price small { font: 500 11px/1 var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.note { margin-top: 28px; padding: 20px 22px; border-left: 2px solid var(--accent); background: rgba(255, 255, 255, .03); }
.note p { margin: 0; color: var(--muted); font-size: 14px; }
.note p + p { margin-top: 8px; }
.note b { color: var(--cream); font-weight: 500; }

/* ---------- Déroulé ---------- */
.steps {
  list-style: none; padding: 0; margin: 0; position: relative;
  display: grid; gap: 0; grid-template-columns: 1fr;
}
.steps::before { /* ligne de timeline qui se dessine */
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat top / 100% var(--progress, 0%), var(--line);
}
.step { position: relative; padding: 0 0 48px 44px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--muted); transition: background .5s, border-color .5s;
}
.step.in::before { background: var(--accent); border-color: var(--accent); transition-delay: .3s; }
.step__n { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.step h3 { font: 400 clamp(28px, 4vw, 36px)/1.1 var(--serif); margin: 12px 0 8px; }
.step p { margin: 0; color: var(--muted); max-width: 30em; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .steps::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 1px;
    background: linear-gradient(var(--accent), var(--accent)) no-repeat left / var(--progress, 0%) 100%, var(--line); }
  .step { padding: 48px 0 0; }
}

/* ---------- Conditions ---------- */
.terms details { border-top: 1px solid var(--line); }
.terms details:last-child { border-bottom: 1px solid var(--line); }
.terms summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 0; font: 400 clamp(21px, 3vw, 26px)/1.2 var(--serif);
  -webkit-tap-highlight-color: transparent;
}
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after {
  content: "+"; font: 300 28px/1 var(--sans); color: var(--accent);
  transition: transform .4s var(--ease);
}
.terms details[open] summary::after { transform: rotate(45deg); }
.terms ol { margin: 0; padding: 0 0 28px; list-style: none; counter-reset: item; }
.terms ol[start="4"] { counter-reset: item 3; }
.terms ol[start="6"] { counter-reset: item 5; }
.terms li {
  counter-increment: item; position: relative;
  padding: 10px 0 10px 48px; color: var(--muted); line-height: 1.55;
}
.terms li::before {
  content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: 13px;
  font: 500 12px/1 var(--mono); color: var(--cream); opacity: .55; letter-spacing: .06em;
}
.terms details[open] li { animation: liin .6s var(--ease) both; }
.terms details[open] li:nth-child(2) { animation-delay: .05s; }
.terms details[open] li:nth-child(3) { animation-delay: .1s; }
.terms details[open] li:nth-child(4) { animation-delay: .15s; }
.terms details[open] li:nth-child(5) { animation-delay: .2s; }
@keyframes liin { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Contact ---------- */
.contact {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(100px, 16vw, 180px) 0;
  background: radial-gradient(80% 60% at 50% 100%, rgba(226, 59, 46, .16), transparent 70%), var(--ink);
}
.contact__title {
  font: 300 clamp(44px, 10vw, 112px)/.98 var(--serif); letter-spacing: -.035em;
  margin: 8px 0 0;
}
.contact__title em { color: var(--muted); }
.contact__sub { color: var(--muted); margin: 24px auto 0; max-width: 30em; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.contact__mail { margin: 28px 0 0; font: 400 13px/1 var(--mono); color: var(--muted); letter-spacing: .04em; user-select: all; }
@media (max-width: 520px) { .contact__actions .btn { width: 100%; } }

/* ---------- Pied de page ---------- */
.foot {
  border-top: 1px solid var(--line); text-align: center;
  padding: 48px var(--gutter) calc(110px + env(safe-area-inset-bottom));
  color: var(--muted); font-size: 13px;
}
.foot img { margin: 0 auto 16px; opacity: .8; }
.foot p { margin: 4px 0; }
.foot__small { opacity: .6; }
@media (min-width: 760px) { .foot { padding-bottom: 48px; } }

/* ---------- Bouton fixe mobile ---------- */
.sticky-cta {
  position: fixed; z-index: 60; left: 16px; right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: 999px;
  background: var(--cream); color: var(--ink); text-decoration: none; font-weight: 500;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.sticky-cta.show { transform: none; }
.sticky-cta .status__dot { background: #2FA84F; }
@media (min-width: 760px) { .sticky-cta { display: none; } }

/* ---------- Apparitions au scroll ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.clip.reveal .clip__play { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.clip.reveal.in .clip__play { clip-path: inset(0 0 0 0); }
.reel .clip:nth-child(even) { transition-delay: .12s; }
.reel .clip:nth-child(even) .clip__play { transition-delay: .12s; }
.steps .step:nth-child(2) { transition-delay: .1s; }
.steps .step:nth-child(3) { transition-delay: .2s; }
.steps .step:nth-child(4) { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .clip.reveal .clip__play { clip-path: none; }

/* ---------- Mouvement réduit (accessibilité) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .grain { display: none; }
  .marquee__track { animation: none; }
}
