/* =========================================================
   Baposanabiso — maison de films · feuille de style
   Éditorial, ivoire & encre, or champagne. Mode nuit.
   ========================================================= */
:root {
    --paper: #f5efe6;
    --paper-2: #ece4d8;
    --card: #fbf8f3;
    --ink: #161310;
    --ink-2: #4a433b;
    --mute: #8a8075;
    --line: rgba(22, 19, 16, .14);
    --line-2: rgba(22, 19, 16, .28);
    --gold: #a8854f;
    --gold-2: #c9a46a;
    --wine: #7b1e2c;
    --ok: #3f6b4a;
    --err: #9b2c2c;
    --night: #0f0d0b;
    --topbar-h: 122px;
    --ease: cubic-bezier(.65, 0, .35, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
[data-theme="dark"] {
    --paper: #12100e;
    --paper-2: #1b1815;
    --card: #191613;
    --ink: #f1ebe2;
    --ink-2: #c4bbaf;
    --mute: #8f857a;
    --line: rgba(241, 235, 226, .12);
    --line-2: rgba(241, 235, 226, .26);
    --gold: #c9a46a;
    --gold-2: #e0c08b;
    --wine: #c2485a;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 20px); }
body {
    margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px;
    line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .5s, color .5s;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.01em; }
em { font-style: italic; color: var(--gold); }
p { margin: 0 0 1em; }
.muted { color: var(--mute); }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--paper); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 48px; } }

/* ---------- Rideau d'ouverture ---------- */
.curtain {
    position: fixed; inset: 0; z-index: 9999; background: var(--night); display: grid; place-items: center;
    transition: transform 1s var(--ease) .2s;
}
.curtain span { font-family: var(--serif); font-size: 5rem; color: var(--gold-2); font-style: italic; animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; transform: scale(.94); } }
body.is-ready .curtain { transform: translateY(-100%); }

/* ---------- Typo utilitaires ---------- */
.kicker, .side-label {
    display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: .68rem; font-weight: 700;
    letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.side-label { color: var(--mute); margin: 22px 0 8px; display: block; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow i { transition: transform .4s var(--ease-out); }
.link-arrow:hover i { transform: translateX(6px); }
.u-link { color: var(--ink); font-weight: 600; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--ease-out); }
.u-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.tag-18 { display: inline-grid; place-items: center; height: 26px; padding: 0 8px; border: 1px solid var(--wine); color: var(--wine); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }

/* ---------- Boutons ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 48px; padding: 0 26px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    border: 1px solid transparent; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s, opacity .3s;
}
.btn::before {
    content: ''; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right;
    transition: transform .55s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn:disabled::before { display: none; }
.btn-lg { height: 56px; padding: 0 34px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold::before { background: var(--ink); }
.btn-gold:hover { color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink::before { background: var(--gold); }
.btn-ink:hover { color: #fff; }
.btn-line { border-color: var(--line-2); color: var(--ink); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: var(--paper); border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light::before { background: #fff; }
.btn-ghost-light:hover { color: #111; }
.btn-text { font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--mute); text-decoration: underline; text-underline-offset: 4px; }
.btn-text:hover { color: var(--ink); }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; font-size: 1.1rem; border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.icon-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.icon-btn.light { color: #fff; border-color: rgba(255,255,255,.35); }
.icon-btn.light:hover { background: #fff; color: #111; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
    width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold);
    font-family: var(--serif); font-size: 1.6rem; font-style: italic; position: relative; transition: background .4s, color .4s;
}
.logo-mark::after { content: ''; position: absolute; inset: 4px; border: 1px solid var(--gold); opacity: .4; }
.logo:hover .logo-mark { background: var(--gold); color: #fff; }
.logo-word { display: flex; flex-direction: column; font-family: var(--serif); font-size: 1.55rem; letter-spacing: .32em; line-height: 1; }
.logo-word small { font-family: var(--sans); font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }

/* ---------- En-tête de site (masthead) ---------- */
.masthead {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: var(--ink);
    transition: background .45s, color .45s, transform .55s var(--ease), box-shadow .45s;
}
.masthead.is-solid, body:not(.page-home) .masthead {
    background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line);
}
.masthead.is-hidden { transform: translateY(-100%); }
.masthead.is-solid .strip { margin-top: calc(-1 * var(--strip-h)); opacity: 0; }

.strip { --strip-h: 38px; height: var(--strip-h); border-bottom: 1px solid var(--line); font-size: .74rem; letter-spacing: .06em; transition: margin .45s var(--ease), opacity .3s; }
.masthead { --strip-h: 38px; }
.strip-inner { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.strip-msg { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.strip-msg .tag-18 { height: 20px; font-size: .62rem; }
.strip-actions { display: flex; align-items: center; gap: 18px; }
.strip-btn { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); transition: color .3s; display: inline-flex; align-items: center; gap: 6px; }
.strip-btn:hover { color: var(--gold); }
.strip-btn i { font-size: .95rem; }
.strip-cta { color: var(--gold); }
.strip-user { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.strip-form { margin: 0; }

.mast-bar { max-width: 1440px; margin: 0 auto; padding: 0 48px; height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-right { justify-content: flex-end; gap: 24px; }
.nav > a, .mega-trigger {
    position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
    font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.nav > a::after, .mega-trigger::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav > a:hover::after, .nav > a.is-current::after, .mega-trigger:hover::after, .has-mega.is-open .mega-trigger::after { transform: scaleX(1); transform-origin: left; }
.mega-trigger i { font-size: .7rem; transition: transform .4s var(--ease-out); }
.has-mega.is-open .mega-trigger i { transform: rotate(180deg); }
.logo-center { flex-direction: column; gap: 8px; text-align: center; }
.logo-center .logo-word { align-items: center; font-size: 1.7rem; padding-left: .32em; }
.logo-center .logo-mark { display: none; }
.round-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 1.05rem; border: 1px solid var(--line-2); transition: background .3s, color .3s, border-color .3s; }
.round-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.burger { display: none; }

/* transparence au-dessus du carrousel */
.page-home .masthead:not(.is-solid) { color: #fff; }
.page-home .masthead:not(.is-solid) .strip { border-color: rgba(255,255,255,.15); }
.page-home .masthead:not(.is-solid) .strip-msg, .page-home .masthead:not(.is-solid) .strip-btn { color: rgba(255,255,255,.8); }
.page-home .masthead:not(.is-solid) .strip-cta { color: var(--gold-2); }
.page-home .masthead:not(.is-solid) .tag-18 { color: #fff; border-color: rgba(255,255,255,.7); }
.page-home .masthead:not(.is-solid) .logo-word small { color: rgba(255,255,255,.7); }
.page-home .masthead:not(.is-solid) .round-btn { border-color: rgba(255,255,255,.4); }
.page-home .masthead:not(.is-solid) .round-btn:hover { background: #fff; color: #111; }
.page-home .masthead:not(.is-solid) .mega-open { color: var(--ink); }

/* méga-menu */
.mega {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--card); color: var(--ink); border-top: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .6s var(--ease), visibility .6s;
}
.masthead.mega-open .mega { clip-path: inset(0 0 0 0); visibility: visible; }
.mega-inner { max-width: 1440px; margin: 0 auto; padding: 44px 48px 50px; display: grid; grid-template-columns: 300px 1fr; gap: 60px; }
.mega-intro p { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; color: var(--ink); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mega-grid a {
    display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    font-family: var(--serif); font-size: 1.35rem; transition: background .35s, color .35s;
    opacity: 0; transform: translateY(12px);
}
.masthead.mega-open .mega-grid a { opacity: 1; transform: none; transition: background .35s, color .35s, opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.masthead.mega-open .mega-grid a:nth-child(2) { transition-delay: 0s, 0s, .05s, .05s; }
.masthead.mega-open .mega-grid a:nth-child(3) { transition-delay: 0s, 0s, .1s, .1s; }
.masthead.mega-open .mega-grid a:nth-child(4) { transition-delay: 0s, 0s, .15s, .15s; }
.masthead.mega-open .mega-grid a:nth-child(n+5) { transition-delay: 0s, 0s, .2s, .2s; }
.mega-grid a i { font-size: 1.2rem; color: var(--gold); transition: color .35s; }
.mega-grid a:hover { background: var(--ink); color: var(--paper); }
.mega-grid a:hover i { color: var(--gold-2); }

/* recherche plein écran */
.search-layer {
    position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; padding: 20px;
    background: color-mix(in srgb, var(--paper) 97%, transparent); backdrop-filter: blur(10px); animation: fade .4s both;
}
.search-big { width: 100%; max-width: 900px; }
.search-big input {
    width: 100%; padding: 10px 0 18px; background: transparent; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink);
    font-family: var(--serif); font-size: clamp(2rem, 6vw, 4.4rem); animation: rise .8s var(--ease-out) both;
}
.search-big input:focus { outline: none; border-color: var(--gold); }
.search-big p { margin-top: 16px; font-size: .82rem; }
.search-close { position: absolute; top: 24px; right: 24px; }

/* menu mobile */
.mobile-menu {
    position: fixed; inset: 0; z-index: 55; padding: calc(var(--topbar-h) + 30px) 24px 40px; overflow-y: auto;
    background: var(--paper); display: flex; flex-direction: column; gap: 34px; animation: menuIn .6s var(--ease-out) both;
}
@keyframes menuIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--serif); font-size: 2.3rem; line-height: 1.25; padding: 4px 0; border-bottom: 1px solid var(--line); animation: rise .7s var(--ease-out) both; }
.mobile-menu nav a:nth-child(2) { animation-delay: .05s; } .mobile-menu nav a:nth-child(3) { animation-delay: .1s; }
.mobile-menu nav a:nth-child(4) { animation-delay: .15s; } .mobile-menu nav a:nth-child(5) { animation-delay: .2s; }
.mobile-cats div { display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-cats a { padding: 8px 14px; border: 1px solid var(--line-2); font-size: .85rem; }
.mobile-actions { display: grid; gap: 10px; margin-top: auto; }
body.menu-open { overflow: hidden; }
body.menu-open .masthead { background: var(--paper); color: var(--ink); }
body.menu-open .masthead .strip { display: none; }

:root { --topbar-h: 122px; }
.stage { min-height: 100vh; }
body:not(.page-home):not(.page-gate) .stage { padding-top: var(--topbar-h); }

@media (max-width: 1240px) {
    .nav-left { display: none; }
    .nav-right > a { display: none; }
    .burger { display: inline-grid; }
    .mast-bar { grid-template-columns: auto 1fr; padding: 0 16px; height: 70px; }
    .logo-center { flex-direction: row; text-align: left; }
    .logo-center .logo-word { align-items: flex-start; font-size: 1.4rem; padding-left: 0; }
    .strip-inner { padding: 0 16px; }
    .strip-text { display: none; }
    :root { --topbar-h: 108px; }
    .mega { display: none; }
}
@media (max-width: 600px) { .strip-user, .strip-cta { display: none; } }

/* ---------- Révélations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Showcase (carrousel) ---------- */
.showcase { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: var(--night); color: #fff; }
.slide { position: absolute; inset: 0; visibility: hidden; }
.slide.is-active { visibility: visible; z-index: 1; }
.slide-media { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.2s var(--ease); }
.slide.is-active .slide-media { clip-path: inset(0 0 0 0); }
.slide.is-leaving { visibility: visible; z-index: 0; }
.slide.is-leaving .slide-media { clip-path: inset(0 0 0 0); }
.slide-media img, .slide-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-media img { transform: scale(1.18); transition: transform 7s linear; }
.slide.is-active .slide-media img { transform: scale(1.02); }
.slide-media video { opacity: 0; transition: opacity 1s; }
.slide-media video.is-playing { opacity: 1; }
.slide-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,13,11,.92) 0%, rgba(15,13,11,.55) 45%, rgba(15,13,11,.15) 100%), linear-gradient(0deg, rgba(15,13,11,.85), transparent 45%);
}
.slide-copy { position: absolute; left: 64px; bottom: 170px; max-width: 760px; z-index: 2; }
.slide-copy > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.slide.is-active .slide-copy > * { opacity: 1; transform: none; }
.slide.is-active .slide-copy > :nth-child(2) { transition-delay: .5s; }
.slide.is-active .slide-copy > :nth-child(1) { transition-delay: .4s; }
.slide.is-active .slide-copy > :nth-child(3) { transition-delay: .6s; }
.slide.is-active .slide-copy > :nth-child(4) { transition-delay: .7s; }
.slide-copy .kicker { color: var(--gold-2); }
.slide-copy h1 { font-size: clamp(3rem, 8vw, 7.2rem); font-weight: 400; line-height: .95; margin-bottom: 22px; }
.slide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 32px; }
.slide-meta i { width: 4px; height: 4px; background: var(--gold-2); transform: rotate(45deg); }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.showcase-ui { position: absolute; left: 64px; right: 64px; bottom: 48px; z-index: 3; display: flex; align-items: center; gap: 36px; }
.showcase-count { font-family: var(--serif); font-size: 1.1rem; color: rgba(255,255,255,.6); white-space: nowrap; }
.showcase-count b { font-size: 2.2rem; font-weight: 400; color: #fff; }
.showcase-bars { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 18px; }
.bar { position: relative; text-align: left; padding-top: 14px; color: rgba(255,255,255,.55); transition: color .3s; }
.bar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.2); }
.bar span { position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--gold-2); }
.bar.is-active { color: #fff; }
.bar.is-active span { animation: barFill var(--slide-ms, 7000ms) linear forwards; }
.showcase.is-paused .bar.is-active span { animation-play-state: paused; }
@keyframes barFill { to { width: 100%; } }
.bar em { font-style: normal; font-size: .78rem; letter-spacing: .06em; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: inherit; }
.bar:hover { color: #fff; }
.showcase-arrows { display: flex; gap: 8px; }
@media (max-width: 860px) {
    .slide-copy { left: 16px; right: 16px; bottom: 140px; }
    .showcase-ui { left: 16px; right: 16px; bottom: 30px; gap: 16px; }
    .bar em { display: none; }
    .showcase-count b { font-size: 1.6rem; }
}

/* ---------- Manifeste ---------- */
.manifesto { display: grid; grid-template-columns: 160px 1fr; gap: 20px 60px; padding-top: 120px; padding-bottom: 80px; }
.manifesto-num, .cookie-note-num { font-family: var(--serif); font-size: 7rem; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--gold); font-style: italic; }
.manifesto-text h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 820px; }
.manifesto-text p { font-size: 1.08rem; color: var(--ink-2); max-width: 680px; }
.pillars { grid-column: 2; list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillars li { padding: 26px 24px 0 0; display: flex; flex-direction: column; gap: 4px; }
.pillars li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.pillars i { font-size: 1.5rem; color: var(--gold); margin-bottom: 10px; }
.pillars strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.pillars span { color: var(--mute); font-size: .88rem; }
@media (max-width: 860px) {
    .manifesto { grid-template-columns: 1fr; padding-top: 80px; }
    .manifesto-num { font-size: 4.5rem; }
    .pillars { grid-column: 1; grid-template-columns: 1fr; }
    .pillars li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-bottom: 20px; }
}

/* ---------- Titres de section ---------- */
.section-title { display: flex; align-items: baseline; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold); }
.section-title h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }
.section-title .rule { flex: 1; min-width: 40px; height: 1px; background: var(--line); align-self: center; }
.result-count { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }

/* ---------- Picks ---------- */
.picks { padding-bottom: 100px; }
.picks-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.pick { display: flex; flex-direction: column; gap: 16px; }
.pick-media { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--paper-2); }
.pick:first-child .pick-media { aspect-ratio: 4/4.2; }
.pick-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1.4s var(--ease-out), filter .8s; }
.pick:hover .pick-media img { transform: scale(1.06); filter: saturate(1.1); }
.pick-media::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.55); opacity: 0; transform: scale(1.04); transition: opacity .6s, transform .8s var(--ease-out); }
.pick:hover .pick-media::after { opacity: 1; transform: none; }
.pick-body { display: flex; gap: 16px; align-items: flex-start; }
.pick-rank { font-family: var(--serif); font-size: 2.6rem; line-height: .9; color: var(--gold); font-style: italic; }
.pick-body strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.pick-body small { color: var(--mute); font-size: .82rem; }
.pick-body small i { color: var(--gold); }
@media (max-width: 860px) { .picks-grid { grid-template-columns: 1fr; } .pick-media, .pick:first-child .pick-media { aspect-ratio: 16/10; } }

/* ---------- Filtres ---------- */
.collection { padding-bottom: 100px; }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex-shrink: 0; padding: 6px 0; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); transition: color .3s; }
.tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -19px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .5s var(--ease-out); }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); }
.tab.is-active::after { transform: scaleX(1); }
.tab i { color: var(--wine); }
.filter-tools { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.field-inline { position: relative; display: flex; align-items: center; }
.field-inline i { position: absolute; left: 0; color: var(--mute); pointer-events: none; }
.field-inline input, .field-inline select {
    height: 36px; padding: 0 4px 0 24px; background: transparent; color: var(--ink); border: 0; border-bottom: 1px solid var(--line-2);
    font: inherit; font-size: .88rem; appearance: none; transition: border-color .3s;
}
.field-inline select { padding-right: 18px; cursor: pointer; }
.field-inline select option { background: var(--card); color: var(--ink); }
.field-inline input:focus, .field-inline select:focus { outline: none; border-color: var(--gold); }
.layout-switch { display: flex; border: 1px solid var(--line); }
.layout-switch button { width: 38px; height: 34px; color: var(--mute); transition: all .3s; }
.layout-switch button.is-active { background: var(--ink); color: var(--paper); }

/* ---------- Grille de films ---------- */
.film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; transition: opacity .3s; }
.film-grid.is-busy { opacity: .4; }
.film-grid:not(.film-grid-static):not(.is-list) .film:first-child { grid-column: span 2; grid-row: span 2; }
.film-grid:not(.film-grid-static):not(.is-list) .film:first-child .film-media { aspect-ratio: auto; height: calc(100% - 110px); min-height: 320px; }
.film-grid:not(.film-grid-static):not(.is-list) .film:first-child h3 { font-size: 2.2rem; }
.film { position: relative; animation: filmIn 1s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes filmIn { from { opacity: 0; transform: translateY(40px); } }
.film-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16/10; background: var(--paper-2); }
.film-media img, .film-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-media img { filter: grayscale(.35) contrast(1.02); transition: transform 1.2s var(--ease-out), filter .8s, opacity .5s; }
.film:hover .film-media img { transform: scale(1.05); filter: none; }
.film-media video { opacity: 0; transition: opacity .6s; }
.film.is-previewing .film-media video { opacity: 1; }
.film-media::before { /* rideau doré au survol */
    content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); z-index: 2;
    transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.film:hover .film-media::before { transform: scaleX(1); }
.film-time, .film-q {
    position: absolute; z-index: 2; bottom: 12px; padding: 3px 9px; font-size: .7rem; font-weight: 700; letter-spacing: .1em;
    background: rgba(15,13,11,.78); color: #fff; backdrop-filter: blur(4px);
}
.film-time { right: 12px; }
.film-q { left: 12px; background: var(--gold); }
.film-play {
    position: absolute; z-index: 2; top: 50%; left: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%;
    display: grid; place-items: center; border: 1px solid rgba(255,255,255,.8); color: #fff; font-size: 1.6rem; padding-left: 4px;
    opacity: 0; transform: scale(.7); transition: all .6s var(--ease-out); backdrop-filter: blur(3px);
}
.film:hover .film-play { opacity: 1; transform: none; }
.film.is-previewing .film-play { opacity: 0; }
.film-heart {
    position: absolute; z-index: 3; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center;
    background: var(--card); color: var(--ink); opacity: 0; transform: translateY(-8px); transition: all .4s var(--ease-out);
}
.film:hover .film-heart, .film-heart.is-active { opacity: 1; transform: none; }
.film-heart.is-active { color: var(--wine); }
.film-heart:hover { background: var(--ink); color: var(--paper); }
.film-info { padding-top: 16px; }
.film-cat { font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.film h3 { font-size: 1.55rem; margin: 6px 0 6px; }
.film h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.film:hover h3 a { background-size: 100% 1px; }
.film-info p { margin: 0; color: var(--mute); font-size: .84rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.film-info p i { color: var(--gold); margin-right: 4px; }
.film-desc { display: none; color: var(--ink-2); margin-top: 10px !important; font-size: .92rem !important; }

/* skeleton */
.film.is-loading .film-media, .film.is-loading .film-info span { background: linear-gradient(90deg, var(--paper-2) 30%, var(--card) 50%, var(--paper-2) 70%); background-size: 300% 100%; animation: sheen 1.6s infinite; }
.film.is-loading .film-info span { display: block; height: 14px; margin-bottom: 10px; width: 70%; }
.film.is-loading .film-info span + span { width: 40%; }
@keyframes sheen { to { background-position: -300% 0; } }

/* liste */
.film-grid.is-list { grid-template-columns: 1fr; gap: 0; }
.film-grid.is-list .film { display: grid; grid-template-columns: 70px 300px 1fr; gap: 30px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.film-grid.is-list .film::before { content: attr(data-n); font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--gold); }
.film-grid.is-list .film-info { padding: 0; }
.film-grid.is-list .film-desc { display: block; }
@media (max-width: 1100px) { .film-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
    .film-grid { grid-template-columns: 1fr; }
    .film-grid:not(.film-grid-static):not(.is-list) .film:first-child { grid-column: auto; grid-row: auto; }
    .film-grid:not(.film-grid-static):not(.is-list) .film:first-child .film-media { height: auto; min-height: 0; aspect-ratio: 16/10; }
    .film-grid.is-list .film { grid-template-columns: 1fr; gap: 14px; }
    .film-grid.is-list .film::before { display: none; }
}

.void { text-align: center; padding: 80px 20px; }
.void > i { font-size: 2.6rem; color: var(--gold); display: block; margin-bottom: 14px; }
.void h3 { font-size: 2rem; }
.void p { color: var(--mute); }
.void-page { padding: 140px 16px; }
.big-404 { display: block; font-family: var(--serif); font-style: italic; font-size: 9rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); }

.pager { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 70px; }
.pager button { min-width: 44px; height: 44px; font-family: var(--serif); font-size: 1.2rem; color: var(--mute); border-bottom: 1px solid transparent; transition: all .3s; }
.pager button:hover:not(:disabled) { color: var(--ink); }
.pager button.is-active { color: var(--ink); border-bottom-color: var(--gold); }
.pager button:disabled { opacity: .3; cursor: default; }
.pager .pager-arrow { font-family: var(--sans); font-size: 1rem; border: 1px solid var(--line); margin: 0 12px; }

/* ---------- Adhésion ---------- */
.membership { padding-bottom: 100px; }
.membership-inner {
    position: relative; overflow: hidden; padding: 90px 60px; text-align: center; background: var(--night); color: #f1ebe2;
}
.membership-inner::before, .membership-inner::after { content: ''; position: absolute; border: 1px solid rgba(201,164,106,.35); }
.membership-inner::before { inset: 16px; }
.membership-inner::after { width: 600px; height: 600px; border-radius: 50%; left: 50%; top: 50%; margin: -300px 0 0 -300px; animation: orbit 18s linear infinite; border-style: dashed; }
@keyframes orbit { to { transform: rotate(360deg); } }
.membership-inner > * { position: relative; z-index: 1; }
.membership-inner .kicker { color: var(--gold-2); }
.membership-inner h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.membership-inner em { color: var(--gold-2); }
.membership-inner p { color: #bfb5a8; max-width: 560px; margin: 0 auto 32px; }
@media (max-width: 700px) { .membership-inner { padding: 60px 24px; } }

/* ---------- Note cookies (accueil) ---------- */
.cookie-note { display: grid; grid-template-columns: 160px 1fr auto; gap: 30px 60px; align-items: center; padding-top: 60px; padding-bottom: 110px; border-top: 1px solid var(--line); }
.cookie-note-body h3 { font-size: 2.2rem; }
.cookie-note-body p { color: var(--ink-2); max-width: 640px; }
.cookie-now { font-size: .88rem; margin: 0; }
.cookie-status { color: var(--gold); font-weight: 700; }
.cookie-note-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (max-width: 960px) { .cookie-note { grid-template-columns: 1fr; } .cookie-note-num { font-size: 4.5rem; } }

/* ---------- Carte cookies flottante ---------- */
.cookie-card {
    position: fixed; left: 24px; bottom: 24px; z-index: 300; width: 380px; max-width: calc(100vw - 32px);
    padding: 24px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
    animation: cardRise .9s var(--ease-out) both;
}
.cookie-card::before { content: ''; position: absolute; top: 0; left: 0; width: 60px; height: 3px; background: var(--gold); }
@keyframes cardRise { from { opacity: 0; transform: translateY(40px); } }
.cookie-card.is-leaving { animation: cardFall .5s var(--ease) both; }
@keyframes cardFall { to { opacity: 0; transform: translateY(40px); } }
.cookie-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cookie-card-head i { color: var(--gold); font-size: 1.3rem; }
.cookie-card-head strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.cookie-card p { font-size: .86rem; color: var(--ink-2); }
.cookie-card p a { color: var(--gold); text-decoration: underline; }
.cookie-card-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cookie-card-actions .btn { height: 42px; padding: 0 20px; }
@media (max-width: 700px) { .cookie-card { left: 16px; bottom: 16px; } }

/* ---------- Tiroir (préférences) ---------- */
.drawer { position: fixed; inset: 0; z-index: 400; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(15,13,11,.55); animation: fade .4s both; }
@keyframes fade { from { opacity: 0; } }
.drawer-panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: 460px; max-width: 100%; padding: 50px 40px; overflow-y: auto;
    background: var(--card); border-left: 1px solid var(--line); animation: slideIn .7s var(--ease-out) both;
}
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-panel h3 { font-size: 2.4rem; }
.drawer-x { position: absolute; top: 18px; right: 18px; }
.pref { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); cursor: pointer; }
.pref > span:first-child { display: flex; flex-direction: column; }
.pref small { color: var(--mute); font-size: .82rem; }
.pref input { position: absolute; opacity: 0; pointer-events: none; }
.toggle { position: relative; flex-shrink: 0; width: 46px; height: 24px; border: 1px solid var(--line-2); transition: background .4s, border-color .4s; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--ink); transition: transform .45s var(--ease-out), background .4s; }
.pref input:checked + .toggle { background: var(--gold); border-color: var(--gold); }
.pref input:checked + .toggle::after { transform: translateX(22px); background: #fff; }
.pref input:disabled + .toggle { opacity: .5; }
.pref input:focus-visible + .toggle { outline: 2px solid var(--gold); outline-offset: 2px; }
.drawer-actions { display: grid; gap: 10px; margin-top: 30px; }

/* ---------- Notifications ---------- */
.notices { position: fixed; top: calc(var(--topbar-h) + 14px); right: 20px; z-index: 500; display: grid; gap: 10px; width: 360px; max-width: calc(100vw - 32px); }
.notice {
    display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ink); color: var(--paper); font-size: .9rem;
    animation: noticeIn .7s var(--ease-out) both; position: relative; overflow: hidden;
}
.notice::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: left; animation: timer 5s linear forwards; }
@keyframes timer { to { transform: scaleX(0); } }
@keyframes noticeIn { from { opacity: 0; transform: translateX(40px); } }
.notice.is-leaving { animation: noticeOut .4s var(--ease) both; }
@keyframes noticeOut { to { opacity: 0; transform: translateX(40px); } }
.notice > i { font-size: 1.1rem; color: var(--gold-2); }
.notice-error > i { color: #f19a9a; }
.notice span { flex: 1; }
.notice-x { opacity: .6; }
.notice-x:hover { opacity: 1; }

/* ---------- Gate (+18) ---------- */
.gate { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }
.gate-visual { position: relative; overflow: hidden; background: var(--night); display: grid; place-items: center; color: #f1ebe2; }
.halo { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 16s ease-in-out infinite; }
.halo-1 { width: 520px; height: 520px; background: #7b1e2c; top: -140px; left: -120px; opacity: .55; }
.halo-2 { width: 460px; height: 460px; background: #a8854f; bottom: -160px; right: -80px; opacity: .4; animation-delay: -6s; }
.halo-3 { width: 260px; height: 260px; background: #c2485a; top: 45%; left: 40%; opacity: .25; animation-delay: -10s; }
@keyframes drift { 33% { transform: translate(60px, 40px) scale(1.1); } 66% { transform: translate(-30px, 70px) scale(.92); } }
.gate-lines { position: absolute; inset: 0; display: flex; justify-content: space-evenly; }
.gate-lines i { width: 1px; height: 100%; background: linear-gradient(transparent, rgba(201,164,106,.35), transparent); transform: scaleY(0); animation: lineGrow 1.6s var(--ease-out) forwards; animation-delay: calc(var(--i) * .08s + .6s); }
@keyframes lineGrow { to { transform: scaleY(1); } }
.gate-big { position: relative; font-family: var(--serif); font-size: clamp(10rem, 26vw, 22rem); line-height: .8; font-weight: 400; color: transparent; -webkit-text-stroke: 1.5px var(--gold-2); animation: rise 1.6s var(--ease-out) .5s both; }
.gate-big sup { font-size: .3em; -webkit-text-stroke: 0; color: var(--gold-2); font-style: italic; }
@keyframes rise { from { opacity: 0; transform: translateY(60px); letter-spacing: .1em; } }
.gate-quote { position: absolute; left: 48px; bottom: 44px; margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: rgba(241,235,226,.75); }
.gate-panel { display: flex; align-items: center; padding: 60px 70px; background: var(--paper); }
.gate-panel-inner { width: 100%; max-width: 520px; animation: rise 1.2s var(--ease-out) .8s both; }
.gate-panel .logo { display: flex; width: fit-content; margin-bottom: 50px; }
.gate-panel .kicker { display: flex; }
.gate-panel h1 { font-size: clamp(2.6rem, 4.5vw, 3.8rem); }
.gate-lead { color: var(--ink-2); font-size: 1rem; margin-bottom: 30px; }
.gate-form { display: grid; gap: 14px; }
.gate-leave { justify-self: center; display: inline-flex; gap: 8px; align-items: center; margin-top: 6px; }
.gate-foot { margin: 34px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--mute); }
@media (max-width: 960px) {
    .gate { grid-template-columns: 1fr; }
    .gate-visual { min-height: 38vh; }
    .gate-big { font-size: 9rem; }
    .gate-quote { display: none; }
    .gate-panel { padding: 40px 20px 60px; }
    .gate-panel .logo { margin-bottom: 30px; }
}

/* ---------- Engagements (cases) ---------- */
.pledge { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); cursor: pointer; transition: border-color .3s, background .3s; }
.pledge:hover { border-color: var(--line-2); }
.pledge:has(input:checked) { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 7%, transparent); }
.pledge input { position: absolute; opacity: 0; pointer-events: none; }
.pledge-box { width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--line-2); margin-top: 2px; transition: background .3s, border-color .3s; }
.pledge-box i { font-size: .9rem; color: #fff; transform: scale(0) rotate(-45deg); transition: transform .4s var(--ease-out); }
.pledge input:checked + .pledge-box { background: var(--gold); border-color: var(--gold); }
.pledge input:checked + .pledge-box i { transform: none; }
.pledge input:focus-visible + .pledge-box { outline: 2px solid var(--gold); outline-offset: 2px; }
.pledge > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.pledge strong { font-size: .95rem; }
.pledge small { color: var(--mute); font-size: .84rem; line-height: 1.5; }
.pledge a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pledge-sm { padding: 14px; }

.inline-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 20px; border-left: 3px solid var(--err); background: color-mix(in srgb, var(--err) 9%, transparent); color: var(--err); font-size: .9rem; animation: nudge .5s; }
[data-theme="dark"] .inline-alert { color: #f0a3a3; }
.inline-alert > i { margin-top: 2px; }
@keyframes nudge { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ---------- Champs à libellé flottant ---------- */
.form { display: grid; gap: 22px; }
.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .form-duo { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea, .field select {
    width: 100%; height: 58px; padding: 22px 40px 6px 0; background: transparent; color: var(--ink); border: 0; border-bottom: 1px solid var(--line-2);
    font: inherit; font-size: 1rem; border-radius: 0; transition: border-color .3s;
}
.field textarea { height: auto; min-height: 150px; padding-top: 30px; resize: vertical; line-height: 1.6; }
.field label { position: absolute; left: 0; top: 19px; color: var(--mute); font-size: .95rem; pointer-events: none; transform-origin: left; transition: transform .35s var(--ease-out), color .3s; }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label,
.field-date label { transform: translateY(-15px) scale(.75); color: var(--gold); letter-spacing: .06em; }
.field::after { content: ''; position: absolute; left: 0; right: 0; top: 57px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field textarea ~ label { top: 22px; }
.field:has(textarea)::after { display: none; }
.field input:focus, .field textarea:focus { outline: none; }
.field textarea:focus { border-bottom-color: var(--gold); }
.field > i, .toggle-pass { position: absolute; right: 0; top: 20px; color: var(--mute); font-size: 1.05rem; }
.toggle-pass:hover { color: var(--ink); }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
[data-theme="dark"] .field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--err); }
.field.has-error label { color: var(--err); }
.field .err { display: block; margin-top: 6px; color: var(--err); font-size: .78rem; }
.hint { display: block; margin-top: 8px; color: var(--mute); font-size: .78rem; }
.counter { text-align: right; }
.meter { height: 2px; margin-top: 10px; background: var(--line); }
.meter span { display: block; height: 100%; width: 0; background: var(--err); transition: width .5s var(--ease-out), background .4s; }
.meter[data-level="2"] span { background: #b7791f; }
.meter[data-level="3"] span { background: var(--gold); }
.meter[data-level="4"] span { background: var(--ok); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); border-top-color: var(--gold-2); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn .spinner { width: 16px; height: 16px; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - var(--topbar-h)); display: grid; place-items: center; padding: 50px 16px 80px; }
.auth-box { width: 100%; max-width: 1040px; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--card); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0,0,0,.3); }
.auth-aside { position: relative; overflow: hidden; padding: 60px 50px; background: var(--night); color: #f1ebe2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 560px; }
.auth-aside .kicker { color: var(--gold-2); }
.auth-aside h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.auth-aside em { color: var(--gold-2); }
.auth-aside p { color: #bfb5a8; margin: 0; }
.auth-mark { position: absolute; top: -60px; right: -30px; font-family: var(--serif); font-style: italic; font-size: 26rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201,164,106,.3); animation: floatMark 10s ease-in-out infinite; }
@keyframes floatMark { 50% { transform: translate(-20px, 20px) rotate(-4deg); } }
.auth-aside > *:not(.auth-mark) { position: relative; z-index: 1; }
.perks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: center; color: #d8cfc3; font-size: .92rem; }
.perks i { color: var(--gold-2); }
.auth-form { padding: 60px 56px; }
.auth-form h1 { font-size: 3rem; margin-bottom: 4px; }
.auth-form .form { margin-top: 30px; }
.fine { margin: 24px 0 0; font-size: .78rem; color: var(--mute); text-align: center; }
@media (max-width: 900px) {
    .auth-box { grid-template-columns: 1fr; }
    .auth-aside { min-height: 0; padding: 40px 28px; }
    .auth-mark { font-size: 14rem; }
    .auth-form { padding: 40px 24px; }
}

/* ---------- En-tête de page ---------- */
.page-head { padding-top: 90px; padding-bottom: 60px; border-bottom: 1px solid var(--line); margin-bottom: 70px; }
.page-head h1 { font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; }
.page-head p { color: var(--ink-2); font-size: 1.1rem; max-width: 620px; }
.page-head .updated { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; padding-bottom: 110px; align-items: start; }
.contact-facts { display: grid; border-top: 1px solid var(--line); }
.contact-facts > div { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-facts i { font-size: 1.4rem; color: var(--gold); }
.contact-facts span { display: flex; flex-direction: column; font-size: .98rem; }
.contact-facts small { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.faq { margin-top: 50px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font-family: var(--serif); font-size: 1.35rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-size: 1rem; color: var(--gold); transition: transform .5s var(--ease-out); }
.faq details[open] summary i { transform: rotate(135deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; animation: fade .6s both; }
.contact-card { padding: 50px; background: var(--card); border: 1px solid var(--line); }
.contact-card h2 { font-size: 2.4rem; margin-bottom: 26px; }
.subject-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.subject-pills label { cursor: pointer; }
.subject-pills input { position: absolute; opacity: 0; pointer-events: none; }
.subject-pills span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-2); font-size: .82rem; transition: all .3s; }
.subject-pills label:hover span { border-color: var(--ink); }
.subject-pills input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.subject-pills input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.subject-pills.has-error span { border-color: var(--err); }
.sent { text-align: center; padding: 40px 0; }
.sent-icon { width: 90px; height: 90px; margin: 0 auto 24px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-size: 2rem; border-radius: 50%; animation: rise 1s var(--ease-out) both; }
.sent h2 { font-size: 2.6rem; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; gap: 50px; } .contact-card { padding: 30px 20px; } }

/* ---------- Article légal ---------- */
.article { display: grid; grid-template-columns: 260px 1fr; gap: 80px; padding-bottom: 110px; align-items: start; }
.article-nav { position: sticky; top: calc(var(--topbar-h) + 30px); display: flex; flex-direction: column; }
.article-nav .side-label { margin-top: 0; }
.article-nav a { display: flex; gap: 14px; padding: 8px 0; color: var(--mute); font-size: .88rem; border-bottom: 1px solid var(--line); transition: color .3s, padding .4s var(--ease-out); }
.article-nav a span { font-family: var(--serif); font-style: italic; color: var(--gold); }
.article-nav a:hover, .article-nav a.is-current { color: var(--ink); padding-left: 6px; }
.article-body { max-width: 760px; }
.article-body section { position: relative; padding: 0 0 50px; }
.article-num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); margin-bottom: 4px; }
.article-body h2 { font-size: 2.2rem; }
.article-body p, .article-body li { color: var(--ink-2); font-size: 1.02rem; }
.article-body section:first-child > p:first-of-type::first-letter { float: left; font-family: var(--serif); font-size: 4.6rem; line-height: .85; padding: 6px 12px 0 0; color: var(--gold); }
.article-body ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.article-body ul li { position: relative; padding-left: 26px; }
.article-body ul li::before { content: ''; position: absolute; left: 0; top: .75em; width: 12px; height: 1px; background: var(--gold); }
.article-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.article-body code { font-size: .85rem; background: var(--paper-2); padding: 2px 6px; }
.table { width: 100%; border-collapse: collapse; margin: 20px 0 26px; font-size: .9rem; display: block; overflow-x: auto; }
.table th, .table td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.article-end { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 30px 0; border-top: 1px solid var(--ink); }
.article-end p { margin: 0; font-family: var(--serif); font-size: 1.4rem; font-style: italic; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; gap: 40px; } .article-nav { position: static; } }

/* ---------- Page film ---------- */
.theater { background: var(--night); padding: 30px 0 40px; }
.theater-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 700px) { .theater { padding: 0; } .theater-inner { padding: 0; } }
.player { position: relative; aspect-ratio: 16/9; max-height: 78vh; margin: 0 auto; background: #000; overflow: hidden; }
.player video { width: 100%; height: 100%; object-fit: contain; }
.player-start { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(circle, rgba(0,0,0,.15), rgba(0,0,0,.6)); color: #fff; transition: opacity .6s; }
.player-start span { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; padding-left: 6px; border: 1px solid rgba(255,255,255,.8); position: relative; transition: transform .6s var(--ease-out), background .4s; }
.player-start span::before { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(201,164,106,.6); animation: ripple 2.4s var(--ease-out) infinite; }
@keyframes ripple { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.player-start em { font-style: normal; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; }
.player-start:hover span { transform: scale(1.06); background: var(--gold); border-color: var(--gold); }
.player.started .player-start { opacity: 0; pointer-events: none; }
.player-wait { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .3s; }
.player.loading .player-wait { opacity: 1; }
.player-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 40px 22px 14px; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); color: #fff; transition: opacity .5s, transform .5s var(--ease-out); }
.player:not(.started) .player-bar { opacity: 0; pointer-events: none; }
.player.playing.idle .player-bar { opacity: 0; transform: translateY(14px); }
.player.playing.idle { cursor: none; }
.seek { position: relative; height: 14px; cursor: pointer; margin-bottom: 6px; }
.seek::before, .seek-buffer, .seek-fill { position: absolute; left: 0; top: 6px; height: 2px; transition: height .25s, top .25s; }
.seek::before { content: ''; right: 0; background: rgba(255,255,255,.22); }
.seek-buffer { width: 0; background: rgba(255,255,255,.4); }
.seek-fill { width: 0; background: var(--gold-2); }
.seek-fill::after { content: ''; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: #fff; transform: rotate(45deg) scale(0); transition: transform .3s; }
.seek:hover::before, .seek:hover .seek-buffer, .seek:hover .seek-fill { height: 4px; top: 5px; }
.seek:hover .seek-fill::after { transform: rotate(45deg) scale(1); }
.seek-tip { position: absolute; bottom: 18px; transform: translateX(-50%); padding: 3px 8px; background: #fff; color: #111; font-size: .72rem; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s; }
.seek:hover .seek-tip { opacity: 1; }
.player-row { display: flex; align-items: center; gap: 2px; }
.pbtn { width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.15rem; opacity: .85; transition: opacity .2s, color .2s; }
.pbtn:hover { opacity: 1; color: var(--gold-2); }
.ptext { font-size: .8rem; font-weight: 700; width: 48px; }
.ptime { margin-left: 10px; font-size: .82rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.ptime i { margin: 0 6px; opacity: .5; font-style: normal; }
.pspacer { flex: 1; }
.pvol { display: flex; align-items: center; }
.pvol input { width: 0; opacity: 0; accent-color: var(--gold-2); transition: width .4s var(--ease-out), opacity .3s; }
.pvol:hover input, .pvol input:focus { width: 90px; opacity: 1; margin-right: 6px; }
@media (max-width: 600px) { #btnBack, #btnFwd, #btnPip, .pvol input { display: none; } }

.film-sheet { display: grid; grid-template-columns: 1fr 340px; gap: 70px; padding-top: 50px; padding-bottom: 80px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 20px; }
.crumbs a:hover { color: var(--gold); }
.crumbs b { color: var(--ink); font-weight: 600; }
.sheet-title { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 400; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 40px; }
.chip-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border: 1px solid var(--line-2); font-size: .84rem; font-weight: 600; transition: all .35s var(--ease-out); }
.chip-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chip-btn.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }
.chip-btn.is-active i { animation: pop .5s var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.5); } }
.synopsis { padding-top: 30px; border-top: 1px solid var(--line); }
.synopsis p { font-size: 1.15rem; color: var(--ink-2); line-height: 1.8; }
.dropcap::first-letter { float: left; font-family: var(--serif); font-size: 4.8rem; line-height: .82; padding: 6px 12px 0 0; color: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags a { padding: 6px 14px; border: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); transition: all .3s; }
.tags a::before { content: '#'; color: var(--gold); margin-right: 2px; }
.tags a:hover { border-color: var(--gold); color: var(--ink); }
.sheet-facts dl { margin: 0; border-top: 1px solid var(--ink); }
.sheet-facts dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sheet-facts dt { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); padding-top: 4px; }
.sheet-facts dd { margin: 0; text-align: right; font-weight: 500; }
.sheet-facts dd .bi-patch-check-fill { color: var(--gold); }
.note i { color: var(--gold); font-size: .85rem; }
.note span { margin-left: 6px; font-family: var(--serif); font-size: 1.2rem; }
.up-next { display: block; margin-top: 30px; }
.up-next img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 12px; filter: grayscale(.4); transition: filter .6s; }
.up-next:hover img { filter: none; }
.up-next strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.up-next strong i { color: var(--gold); transition: transform .4s var(--ease-out); }
.up-next:hover strong i { transform: translateX(6px); }
.more-films { padding-bottom: 110px; }
@media (max-width: 1000px) { .film-sheet { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Colophon (footer) ---------- */
.colophon { background: var(--night); color: #d8cfc3; padding: 90px 64px 30px; }
.colophon-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid rgba(241,235,226,.12); }
.colophon-quote { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1.1; color: #f1ebe2; max-width: 760px; }
.colophon-quote em { color: var(--gold-2); }
.colophon .link-arrow { color: var(--gold-2); }
.colophon-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 50px 0; }
.colophon-grid .side-label { color: var(--gold-2); margin-top: 0; }
.colophon-grid p { font-size: .88rem; color: #a59a8d; max-width: 360px; }
.colophon-grid a:not([aria-label]) { display: block; padding: 4px 0; font-size: .9rem; transition: color .3s, transform .4s var(--ease-out); }
.colophon-grid a:not([aria-label]):hover { color: var(--gold-2); transform: translateX(4px); }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(241,235,226,.2); transition: all .35s; }
.socials a:hover { background: var(--gold-2); border-color: var(--gold-2); color: #111; }
.colophon-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(241,235,226,.12); font-size: .76rem; letter-spacing: .08em; color: #8f857a; }
.colophon-bottom .tag-18 { color: #e48b98; border-color: #e48b98; height: 22px; margin-right: 6px; }
@media (max-width: 900px) { .colophon { padding: 60px 16px 24px; } .colophon-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .colophon-grid { grid-template-columns: 1fr; } }

.back-top { position: fixed; right: 24px; bottom: 24px; z-index: 200; width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: var(--paper); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .5s var(--ease-out); }
.back-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--gold); color: #fff; }

.mega-grid a.is-current { color: var(--gold); }

/* ---------- Thème sombre (par défaut) : contrastes entre les blocs ---------- */
[data-theme="dark"] { color-scheme: dark; }
[data-theme="light"] { color-scheme: light; }
[data-theme="dark"] .colophon { background: #090807; border-top: 1px solid var(--line); }
[data-theme="dark"] .membership-inner { background: #1d1a16; }
[data-theme="dark"] .auth-aside { background: #0b0a09; }
[data-theme="dark"] .auth-box { box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
[data-theme="dark"] .theater { background: #070605; border-bottom: 1px solid var(--line); }
[data-theme="dark"] .gate-visual { border-right: 1px solid var(--line); }
[data-theme="dark"] .masthead.is-solid, [data-theme="dark"] body:not(.page-home) .masthead { background: rgba(18, 16, 14, .9); }
[data-theme="dark"] .notice { background: #f1ebe2; color: #161310; }
[data-theme="dark"] .notice > i { color: #a8854f; }
[data-theme="dark"] .btn-ink:hover, [data-theme="dark"] .btn-gold:hover { color: #161310; }
[data-theme="dark"] .film-media img { filter: grayscale(.2) brightness(.92); }
[data-theme="dark"] .film:hover .film-media img { filter: none; }

/* ---------- Logo : nom long ---------- */
.logo-word { letter-spacing: .14em; white-space: nowrap; }
.logo-center .logo-word { font-size: 1.5rem; padding-left: .14em; }
@media (max-width: 1240px) { .logo-center .logo-word { font-size: 1.3rem; padding-left: 0; } }
@media (max-width: 480px) { .logo-center .logo-word { font-size: 1.1rem; } .logo-center .logo-word small { letter-spacing: .2em; } }
.nav > a, .mega-trigger { white-space: nowrap; }
@media (max-width: 1440px) {
    .nav-left { gap: 20px; }
    .nav > a, .mega-trigger { letter-spacing: .1em; }
}
