/* ═══════════════════════════════════════════════════════════════
   Aziz Dadas : « Velours », le socle des pages refaites (pour l'instant, l'accueil).
   Le site est blanc, comme l'écran de cinéma ; seule l'ouverture (la salle) et le pied de page (le générique de fin)
   sont dans le noir. Le rouge velours des fauteuils est le seul accent.
   Titres : Noto Serif Display, étroite (wdth 62,5), à fort contraste ; texte : Hanken Grotesk ; arabe : Amiri.
   Les autres pages gardent encore css/site.css jusqu'à ce qu'elles soient refaites.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --night: #0a0605;      /* le noir de la salle, à peine rougi */
  --night-2: #130b09;
  --night-3: #1d1210;
  --velvet: #a3191a;     /* le velours des fauteuils, éclairé */
  --velvet-deep: #5c0b08;
  --ivory: #efe6d8;      /* la lumière de l'écran */
  --ivory-2: rgba(239, 230, 216, .74);
  --ivory-3: rgba(239, 230, 216, .5);
  --line: rgba(239, 230, 216, .14);
  --line-2: rgba(239, 230, 216, .26);
  /* le blanc de l'écran, l'encre */
  --paper: #ffffff;
  --paper-2: #f4f2ef;
  --ink: #0e0c0b;
  --ink-2: #48423e;
  --ink-3: #8a827c;
  --rule: rgba(14, 12, 11, .14);
  --rule-2: rgba(14, 12, 11, .28);
  /* noms repris par les scripts communs (js/layout.js) */
  --red: var(--velvet);
  --cream: var(--paper);

  --display: 'Noto Serif Display', 'Didot', 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --ar: 'Amiri', 'Times New Roman', serif;
  /* le texte courant : une vraie police de lecture, à empattements, de la même famille que les titres */
  --text: 'Noto Serif', Georgia, 'Times New Roman', serif;

  --wrap: 1320px;
  --gutter: clamp(18px, 4.4vw, 64px);
  --header: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --slow: cubic-bezier(.16, 1, .3, 1);

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 .96 0 0 0 0 .9 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--velvet); color: #fff; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 600; padding: 10px 16px; background: var(--ink); color: var(--paper); transform: translateY(-160%); transition: transform .3s var(--ease); text-decoration: none; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* le grain de la pellicule, à peine visible */
.grain { position: absolute; inset: -60px; pointer-events: none; background: var(--grain); background-size: 200px 200px; opacity: .07; mix-blend-mode: overlay; animation: grain 1s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-22px, 14px); } 40% { transform: translate(18px, -26px); } 60% { transform: translate(-14px, -10px); } 80% { transform: translate(26px, 20px); } 100% { transform: translate(0, 0); } }

/* les petites capitales espacées, la voix des génériques */
.caps { font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }

/* boutons : un filet, des capitales espacées */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 26px; border: 1px solid var(--rule-2); background: transparent; color: var(--ink); text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease); }
.btn i { font-style: normal; letter-spacing: 0; transition: transform .45s var(--ease); }
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn:hover i { transform: translateX(4px); }
.btn--velvet { background: var(--velvet); border-color: var(--velvet); color: #fff; }
.btn--velvet:hover { background: var(--ink); border-color: var(--ink); }

/* ═════════ En-tête ═════════ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header); pointer-events: none; color: var(--ink); --hl: var(--rule-2); transition: transform .6s var(--ease), background .5s var(--ease), color .5s var(--ease); }
.header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); opacity: 0; transition: opacity .5s; }
.header.is-solid { background: rgba(255, 255, 255, .96); }
.header.is-bare { color: var(--ivory); --hl: var(--line-2); background: transparent; }
.header.is-bare::after { opacity: 0; }
.header.is-solid::after { opacity: 1; }
.header.is-hidden { transform: translateY(-110%); }
.header .wrap { max-width: none; }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header a, .header button { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hl); font-family: var(--display); font-stretch: 62.5%; font-weight: 400; font-size: 1.12rem; letter-spacing: .04em; line-height: 1; padding-top: 1px; transition: border-color .4s, background .4s, color .4s; }
.brand:hover .brand__mark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.header.is-bare .brand:hover .brand__mark { background: var(--ivory); color: var(--night); border-color: var(--ivory); }
.brand__name { font-size: .7rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; transition: opacity .5s var(--ease); }
/* sur l'affiche de l'accueil, mon nom est déjà là, en grand */
.header.is-bare .brand__name { opacity: 0; }
/* (seulement sur l'accueil : ailleurs, mon nom reste à côté du monogramme, même sur un fond sombre) */
body:not([data-page="home"]) .header.is-bare .brand__name { opacity: 1; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a { position: relative; text-decoration: none; font-size: .7rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: inherit; opacity: .72; padding: 8px 0; transition: opacity .3s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--velvet); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .nav__cta { padding: 11px 18px; border: 1px solid var(--hl); opacity: 1; }
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.header.is-bare .nav .nav__cta:hover { background: var(--ivory); color: var(--night); border-color: var(--ivory); }
.burger { display: none; align-items: center; gap: 12px; height: 44px; padding: 0 2px 0 14px; border: 0; background: none; font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.burger i { position: relative; order: 2; width: 26px; height: 1px; background: currentColor; transition: background .3s; }
.burger i::before, .burger i::after { content: ''; position: absolute; left: 0; width: 26px; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i::before { top: -4px; } .burger i::after { top: 4px; }
.menu-open .burger i { background: transparent; }
.menu-open .burger i::before { top: 0; transform: rotate(32deg); }
.menu-open .burger i::after { top: 0; transform: rotate(-32deg); }
@media (max-width: 899px) { .nav { display: none; } .burger { display: inline-flex; } }
.is-phone .nav { display: none; } .is-phone .burger { display: inline-flex; }

/* le menu : le noir tombe comme un rideau, les rubriques en grandes lettres */
.menu { position: fixed; inset: 0; z-index: 99; background: var(--night); color: var(--ivory); padding: calc(var(--header) + 4vh) var(--gutter) 30px; display: flex; flex-direction: column; overflow: auto; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu > a { display: flex; align-items: baseline; gap: 16px; padding: 4px 0; text-decoration: none; font-family: var(--display); font-stretch: 62.5%; font-weight: 400; font-size: clamp(3rem, 13vw, 5.6rem); line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s; }
.menu > a small { font-family: var(--sans); font-size: .66rem; font-weight: 500; letter-spacing: .2em; color: var(--velvet); transform: translateY(-1.6em); }
.menu > a:hover { color: var(--velvet); }
.menu-open .menu > a { opacity: 1; transform: none; }
.menu-open .menu > a:nth-child(2) { transition-delay: .05s; } .menu-open .menu > a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu > a:nth-child(4) { transition-delay: .15s; } .menu-open .menu > a:nth-child(5) { transition-delay: .2s; }
.menu-open .menu > a:nth-child(6) { transition-delay: .25s; }
.menu__ar { margin: 26px 0 0; font-family: var(--ar); font-size: 2.1rem; line-height: 1.4; color: var(--ivory-2); }
.menu__soc { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: auto 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.menu__soc a { text-decoration: none; font-size: .72rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }

/* le passage d'une page à l'autre : le noir, puis un filet de velours */
.curtain { position: fixed; inset: 0; z-index: 400; pointer-events: none; }
.curtain__bg { position: absolute; inset: 0; background: var(--night); transform: translateY(100%); }
.curtain__bar { position: absolute; left: 0; right: 0; top: 0; height: 100%; background: var(--night-2); transform: translateY(100%); }
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 120; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--velvet); transform-origin: left; transform: scaleX(0); }

/* révélations simples (data-reveal) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 500; transform: translate(-50%, 160%); padding: 14px 22px; background: var(--ivory); color: var(--night); font-size: .9rem; opacity: 0; transition: transform .6s var(--ease), opacity .4s; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
/* sur les pages blanches, le message passe à l'encre */
body:not([data-page="home"]) .toast { background: var(--ink); color: var(--paper); }

/* ═════════ Pied de page ═════════ */
.footer { position: relative; background: var(--night); color: var(--ivory); padding: clamp(80px, 11vw, 150px) 0 28px; border-top: 1px solid var(--line); overflow-x: clip; }
.footer a { text-decoration: none; }
.footer__ticket { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.footer__ticket > div + div { display: none; }
.footer__title { margin: 0 0 26px; max-width: 18ch; font-family: var(--display); font-stretch: 62.5%; font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.newsletter { display: flex; max-width: 520px; border-bottom: 1px solid var(--line-2); }
.newsletter input { flex: 1; min-width: 0; padding: 14px 0; background: transparent; border: 0; color: var(--ivory); font: inherit; font-size: 1rem; }
.newsletter input::placeholder { color: var(--ivory-3); }
.newsletter input:focus { outline: none; }
.newsletter button { border: 0; background: none; padding: 0 0 0 16px; font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; transition: color .3s; }
.newsletter button:hover { color: var(--velvet); }
.newsletter__msg { margin: 12px 0 0; min-height: 1.3em; font-size: .86rem; color: var(--ivory-2); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); padding: 48px 0 10px; }
.footer h4 { margin: 0 0 16px; font-size: .66rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer ul a { color: var(--ivory-2); transition: color .3s; }
.footer ul a:hover { color: var(--ivory); }
.footer__name { display: flex; justify-content: space-between; margin: clamp(50px, 8vw, 110px) 0 0; font-family: var(--display); font-stretch: 62.5%; font-weight: 400; font-size: min(19.5vw, 17rem); line-height: .8; text-transform: uppercase; letter-spacing: .005em; white-space: nowrap; color: var(--ivory); gap: .22em; }
.footer__ar { margin: 10px 0 34px; font-family: var(--ar); font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.5; color: var(--ivory-2); text-align: right; direction: rtl; }
.footer__disc { margin: 0 0 18px; max-width: 92ch; font-size: .76rem; line-height: 1.6; color: var(--ivory-3); }
.footer__legal { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .76rem; color: var(--ivory-3); }
.footer__legal a:hover { color: var(--ivory); }
.footer__made { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ivory-3); text-align: center; }
.footer__made b { font-weight: 600; color: var(--ivory-2); }
@media (max-width: 700px) {
  .footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
}

