/* Contrechamp — charte « Le Cinéma de Minuit » (mêmes couleurs que apps/mobile/src/theme.ts) */
@font-face {
  font-family: 'Playfair Display';
  font-weight: 700;
  font-display: swap;
  src: url(fonts/playfair-display-6fda4ba1.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-weight: 700;
  font-display: swap;
  src: url(fonts/playfair-display-5aa2c980.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF;
}
@font-face {
  font-family: 'Manrope';
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-b4290e9b.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-cf48e3e1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF;
}

:root {
  --fond: #0f1217;
  --surface: #161b22;
  --surface-haute: #1e252e;
  --bord: #232a33;
  --rouge: #d2143a;
  --rouge-texte: #f0506e;
  --or: #ffb300;
  --texte: #f1f5f9;
  --discret: #94a3b8;
  --pellicule: #08090c;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --largeur: min(1140px, 100% - 40px);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--fond);
  color: var(--texte);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
img {
  display: block;
}
:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 3px;
  border-radius: 6px;
}
.surtitre {
  margin: 0 0 16px;
  color: var(--or);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  text-wrap: balance;
}

/* ---------- en-tête ---------- */
.haut {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--largeur);
  margin-inline: auto;
  padding: 22px 0;
}
.marque {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 700 22px var(--serif);
}
.marque img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* menu des langues : un bouton, la liste s'ouvre dessous */
.langue {
  position: relative;
}
.langue summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(15, 18, 23, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.langue summary::-webkit-details-marker {
  display: none;
}
.langue summary:hover {
  border-color: rgba(255, 255, 255, 0.25);
}
.langue svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.langue .chevron {
  width: 14px;
  height: 14px;
  color: var(--discret);
  transition: transform 0.2s;
}
.langue[open] .chevron {
  transform: rotate(180deg);
}
.langue ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--bord);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  list-style: none;
}
.langue a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 15px;
  text-decoration: none;
}
.langue a:hover {
  background: var(--surface-haute);
}
.langue a[aria-current] {
  color: var(--rouge-texte);
  font-weight: 700;
}

/* ---------- mur d'affiches : bandes de pellicule inclinées qui défilent (comme l'accueil de l'appli) ---------- */
.mur {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.bandes {
  position: absolute;
  top: -60px;
  left: -20%;
  width: 140%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: rotate(-7deg);
}
.bande {
  overflow: hidden;
  background: var(--pellicule);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.defile {
  display: flex;
  gap: 8px;
  width: max-content;
  padding: 18px 4px;
  /* perforations 35 mm sur les deux bords */
  background:
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(241, 245, 249, 0.2) 5px 12px, transparent 12px 16px) top 5px left 0 / 100% 8px
      no-repeat,
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(241, 245, 249, 0.2) 5px 12px, transparent 12px 16px) bottom 5px left 0 / 100%
      8px no-repeat;
  animation: defile var(--duree, 90s) linear infinite;
}
.bande:nth-child(2) .defile {
  animation-direction: reverse;
  --duree: 110s;
}
.bande:nth-child(3) .defile {
  --duree: 100s;
}
.bande:nth-child(4) .defile {
  animation-direction: reverse;
  --duree: 95s;
}
.defile img {
  width: 120px;
  height: 180px;
  border-radius: 3px;
  object-fit: cover;
  background: var(--surface);
}
@keyframes defile {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .defile {
    animation: none;
  }
}

/* ---------- haut de page ---------- */
.une {
  position: relative;
  min-height: min(100svh, 920px);
  display: flex;
  align-items: center;
  isolation: isolate;
}
.une .mur::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 18, 23, 0.97) 0%, rgba(15, 18, 23, 0.88) 42%, rgba(15, 18, 23, 0.55) 70%, rgba(15, 18, 23, 0.7) 100%),
    linear-gradient(180deg, rgba(15, 18, 23, 0.2) 60%, var(--fond) 100%);
}
.une-contenu {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  width: var(--largeur);
  margin-inline: auto;
  padding: 120px 0 80px;
}
h1 {
  font-size: clamp(40px, 5.6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
h1 em {
  color: var(--rouge-texte);
  font-style: italic;
}
.chapo {
  margin: 24px 0 34px;
  max-width: 540px;
  color: #c5cfdb;
  font-size: 19px;
  text-wrap: pretty;
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(22, 27, 34, 0.85);
  font-weight: 700;
  line-height: 1.15;
}
.store svg {
  width: 26px;
  height: 26px;
  fill: var(--texte);
}
.store small {
  display: block;
  color: var(--or);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.gratuit {
  margin: 16px 0 0;
  color: var(--discret);
  font-size: 15px;
}

/* ---------- téléphones ---------- */
.tel {
  position: relative;
  justify-self: center;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19.5;
  margin: 0;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2a313b, #0b0d11 60%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 120px rgba(210, 20, 58, 0.12);
}
.tel img,
.tel .vide {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  object-fit: cover;
  object-position: top;
}
.tel .vide {
  background: radial-gradient(circle at 50% 30%, rgba(210, 20, 58, 0.25), transparent 60%), var(--surface);
}

/* deux téléphones : l'écran principal devant, la suite de l'écran derrière, décalée */
.duo {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: 100%;
  padding: 20px 0;
}
.duo .tel {
  grid-area: 1 / 1;
  transform: translateX(14%) rotate(2deg);
}
.duo .tel:only-child {
  transform: rotate(2deg);
}
.duo .tel.second {
  transform: translateX(-34%) translateY(4%) rotate(-7deg) scale(0.86);
  filter: brightness(0.62) saturate(0.9);
}
.bloc.inverse .duo .tel {
  transform: translateX(-14%) rotate(-2deg);
}
.bloc.inverse .duo .tel:only-child {
  transform: rotate(-2deg);
}
.bloc.inverse .duo .tel.second {
  transform: translateX(34%) translateY(4%) rotate(7deg) scale(0.86);
}
.duo-une .tel:only-child {
  transform: rotate(3deg);
}

/* ---------- sections ---------- */
main {
  width: var(--largeur);
  margin-inline: auto;
}
.bloc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 90px 0;
}
.bloc + .bloc {
  border-top: 1px solid var(--bord);
}
.bloc.inverse .bloc-texte {
  order: 2;
}
.bloc-texte {
  max-width: 500px;
}
.bloc h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}
.bloc-texte > p:not(.surtitre) {
  margin: 20px 0 0;
  color: #c5cfdb;
  font-size: 18px;
}
.points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  position: relative;
  padding-left: 30px;
  color: var(--texte);
}
.points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 10px;
  border-radius: 2px;
  background: var(--rouge);
  box-shadow:
    inset 0 0 0 2px var(--rouge),
    inset 0 0 0 3.5px var(--pellicule);
}

.atouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 40px 0 0;
}
.atouts article {
  padding: 28px;
  border: 1px solid var(--bord);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--surface-haute), var(--surface));
}
.atouts svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--rouge-texte);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.atouts h3 {
  margin: 16px 0 8px;
  font-size: 22px;
  line-height: 1.25;
}
.atouts p {
  margin: 0;
  color: var(--discret);
  font-size: 16px;
}

/* ---------- en trois étapes ---------- */
.etapes {
  padding: 90px 0 40px;
  border-top: 1px solid var(--bord);
  text-align: center;
}
.etapes h2,
.faq h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}
.etapes ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
.etapes li {
  position: relative;
  padding: 34px 28px 30px;
  border: 1px solid var(--bord);
  border-radius: 20px;
  background: var(--surface);
  text-align: left;
}
.numero {
  display: block;
  color: var(--rouge-texte);
  font: 700 54px/1 var(--serif);
  font-variant-numeric: lining-nums;
}
.etapes h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}
.etapes p {
  margin: 0;
  color: var(--discret);
  font-size: 16px;
}

/* ---------- questions ---------- */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  padding: 90px 0 110px;
  border-top: 1px solid var(--bord);
}
.questions {
  display: grid;
  gap: 10px;
}
.questions details {
  border: 1px solid var(--bord);
  border-radius: 16px;
  background: var(--surface);
}
.questions summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.questions summary::-webkit-details-marker {
  display: none;
}
.questions summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  color: var(--rouge-texte);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s;
}
.questions details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.questions details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--discret);
}

/* ---------- appel final ---------- */
.fin {
  position: relative;
  padding: 130px 0;
  text-align: center;
  isolation: isolate;
}
.mur-fin::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(15, 18, 23, 0.92), rgba(15, 18, 23, 0.7) 70%),
    linear-gradient(180deg, var(--fond), transparent 25%, transparent 75%, var(--fond));
}
.fin-contenu {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--largeur);
  margin-inline: auto;
}
.fin-contenu img {
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 20px 50px rgba(210, 20, 58, 0.25);
}
.fin h2 {
  margin-top: 26px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1;
}
.fin p {
  margin: 16px 0 30px;
  color: #c5cfdb;
  font-size: 18px;
}

/* ---------- pied de page ---------- */
.bas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: var(--largeur);
  margin-inline: auto;
  padding: 44px 0 40px;
  border-top: 1px solid var(--bord);
  text-align: center;
}
.liens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.liens a,
.liens button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--texte);
  font: 600 15px var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.liens a:hover,
.liens button:hover {
  color: var(--rouge-texte);
}
.studio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.studio small,
.studio span {
  color: var(--discret);
  font-size: 13px;
}
.studio span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.studio img {
  height: 20px;
  width: auto;
}
.mentions {
  margin: 0;
  color: var(--discret);
  font-size: 12px;
  opacity: 0.8;
}

/* ---------- téléphone et tablette ---------- */
@media (max-width: 900px) {
  .une-contenu,
  .bloc {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .une-contenu {
    padding: 110px 0 64px;
  }
  .une .mur::after {
    background: linear-gradient(180deg, rgba(15, 18, 23, 0.75) 0%, rgba(15, 18, 23, 0.92) 45%, var(--fond) 100%);
  }
  .bloc {
    padding: 64px 0;
  }
  .bloc.inverse .bloc-texte {
    order: 0;
  }
  .atouts,
  .etapes ol,
  .faq {
    grid-template-columns: 1fr;
  }
  .faq {
    gap: 28px;
  }
  .tel {
    width: min(270px, 72vw);
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .marque span {
    font-size: 20px;
  }
  .langue summary span {
    display: none;
  }
  .chapo {
    font-size: 17px;
  }
  .defile img {
    width: 84px;
    height: 126px;
  }
  .tel {
    width: min(230px, 60vw);
    padding: 8px;
    border-radius: 38px;
  }
  .tel img,
  .tel .vide {
    border-radius: 30px;
  }
  .duo .tel,
  .bloc.inverse .duo .tel {
    transform: translateX(16%) rotate(2deg);
  }
  .duo .tel.second,
  .bloc.inverse .duo .tel.second {
    transform: translateX(-30%) translateY(4%) rotate(-6deg) scale(0.86);
  }
  .fin {
    padding: 90px 0;
  }
}

/* ---------- page introuvable ---------- */
.introuvable main {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 100svh;
  padding: 20px;
  text-align: center;
}
.introuvable img {
  border-radius: 16px;
}
.introuvable h1 {
  margin-top: 18px;
  color: var(--rouge-texte);
  font-size: 88px;
  line-height: 1;
}
.introuvable p {
  margin: 0;
  color: var(--discret);
}
.introuvable a {
  color: var(--texte);
  font-weight: 700;
}
