/* ==========================================================================
   Univers CINÉMA — sombre, science-fiction, grand écran
   ========================================================================== */

.u-cinema { font-family: var(--f-sans); }
.u-cinema ::selection { background: var(--cine-accent); color: #000; }
.u-cinema .site-main { position: relative; }

@media (hover: hover) and (pointer: fine) {
	.u-cinema.has-cursor, .u-cinema.has-cursor a, .u-cinema.has-cursor button { cursor: none; }
}

/* Grain pellicule */
.grain {
	position: fixed; inset: -8%; z-index: 9000; pointer-events: none; opacity: .07; /* calque réduit (était -50% = 4× l'écran) */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grain .6s steps(4) infinite;
}
@keyframes grain {
	0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
	50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(1%, 3%); }
}

/* Curseur */
.cursor { position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; mix-blend-mode: difference; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor__ring {
	position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .7); display: grid; place-items: center;
	transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; border-color: #fff; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* En-tête cinéma */
.u-cinema .nav__list a { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border-radius: 0; }
.u-cinema .nav__list a::before { content: "["; opacity: 0; margin-right: 4px; transition: opacity .3s; color: var(--accent); }
.u-cinema .nav__list a::after { content: "]"; opacity: 0; margin-left: 4px; transition: opacity .3s; color: var(--accent); }
.u-cinema .nav__list a:hover, .u-cinema .nav__list .current-menu-item > a, .u-cinema .nav__list .current_page_item > a, .u-cinema .nav__list .current-menu-ancestor > a { background: none; color: #fff; }
.u-cinema .nav__list a:hover::before, .u-cinema .nav__list a:hover::after,
.u-cinema .nav__list .current-menu-item > a::before, .u-cinema .nav__list .current-menu-item > a::after,
.u-cinema .nav__list .current_page_item > a::before, .u-cinema .nav__list .current_page_item > a::after { opacity: 1; }
@media (max-width: 960px) {
	.u-cinema .nav__list a { font-family: var(--f-display); font-size: clamp(40px, 12vw, 72px); font-weight: 800; letter-spacing: 0; }
	.u-cinema .nav__list a::before, .u-cinema .nav__list a::after { display: none; }
}

/* Typo & éléments ------------------------------------------------------ */
.k-kicker, .kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
	margin-bottom: 24px;
}
.k-kicker__dot { width: 8px; height: 8px; background: var(--accent); box-shadow: 0 0 14px var(--accent); animation: pulse 1.6s infinite; }
.k-label { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.k-count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.k-count b { color: var(--ink); font-size: 22px; font-weight: 500; margin-right: 6px; }
.k-title, .k-head__title, .k-hero__title, .kcta__title, .fiche__title, .contact__title {
	font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.005em;
}
.k-title { font-size: clamp(48px, 7.4vw, 120px); }
/* Interlignage très serré (.86) : les capitales et accents débordent au-dessus de la boîte du titre.
   On ajoute un espace proportionnel à la taille du titre sous le kicker / l'étiquette. */
:is(.k-kicker, .k-label, .kicker, .k-head__top) + :is(.k-title, .k-head__title, .k-hero__title, .kcta__title, .fiche__title, .contact__title) { padding-top: .16em; }
/* Titre XL (Réalisations) : interlignage .8, les accents (É) montent encore plus haut */
.k-head__top + .k-head__title--xl { padding-top: calc(.24em + 6px); }
.k-title em, .k-head__title em, .k-hero__title em, .kcta__title em, .contact__title em, .manifesto__text em, .footer-cta__title em {
	font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--accent); text-shadow: 0 0 40px rgba(0, 185, 242, .35);
}
.k-lead { font-size: clamp(17px, 1.4vw, 20px); color: #b9bcc4; max-width: 52ch; margin: 26px 0 34px; }
.k-prose { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.65; color: #c8cad0; }
.k-prose > * + * { margin-top: 1em; }
.k-prose p:first-child::first-letter { font-family: var(--f-display); font-weight: 900; font-size: 4.2em; float: left; line-height: .8; margin: .06em .12em 0 0; color: var(--accent); }

.k-section { position: relative; padding-block: clamp(80px, 11vw, 160px); }
.k-section--flush { padding-top: 0; }
.k-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 70px); }

.kbtn {
	position: relative; display: inline-flex; align-items: center; gap: 14px;
	height: 56px; padding: 0 22px; border: 1px solid rgba(236, 235, 230, .35);
	font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
	overflow: hidden; isolation: isolate;
	transition: color .4s, border-color .4s;
}
.kbtn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.kbtn:hover { color: #000; border-color: var(--accent); }
.kbtn:hover::before { transform: scaleX(1); transform-origin: left; }
.kbtn .icon { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.kbtn:hover .icon { transform: translateX(4px); }
.kbtn--solid { background: var(--accent); border-color: var(--accent); color: #000; }
.kbtn--solid::before { background: var(--ink); }

/* HUD coins (réutilisés) */
.hud-c { position: absolute; width: 20px; height: 20px; border: 0 solid rgba(236, 235, 230, .6); pointer-events: none; }
.hud-c--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud-c--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud-c--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud-c--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* Bandes letterbox */
.letterbox span { position: absolute; left: 0; right: 0; height: 9vh; background: #000; z-index: 3; animation: lb-open 1.6s var(--ease) .2s both; }
.letterbox span:first-child { top: 0; transform-origin: top; }
.letterbox span:last-child { bottom: 0; transform-origin: bottom; }
@keyframes lb-open { from { height: 50.5vh; } }

/* --- Hero ------------------------------------------------------------ */
.k-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding-bottom: calc(9vh + 50px); }
.k-hero__bg { position: absolute; inset: 0; z-index: -3; }
.k-hero__bg > img, .k-hero__bg > video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) contrast(1.15) saturate(.85); transform: scale(1.1); animation: kb-zoom 14s var(--ease-out) both; }
@keyframes kb-zoom { to { transform: scale(1); } }
.k-hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.k-hero__planet {
	position: absolute; width: 90vmax; aspect-ratio: 1; left: 50%; top: 72%; transform: translateX(-50%); border-radius: 50%;
	background: radial-gradient(circle at 50% 0%, rgba(90, 200, 255, .55), rgba(0, 185, 242, .12) 22%, rgba(5, 6, 8, 0) 45%);
	box-shadow: inset 0 2px 0 rgba(160, 225, 255, .6), 0 -20px 120px -30px rgba(0, 185, 242, .8);
	mix-blend-mode: screen; opacity: .9;
}
.k-hero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(5, 6, 8, .5), rgba(5, 6, 8, 0) 30%, rgba(5, 6, 8, .2) 60%, var(--bg) 100%), radial-gradient(70% 60% at 20% 80%, rgba(5, 6, 8, .7), transparent); }
.k-hero__hud { position: absolute; inset: calc(9vh + 20px) var(--gutter); z-index: 2; pointer-events: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: rgba(236, 235, 230, .75); }
.k-hero__rec { display: inline-flex; align-items: center; gap: 8px; }
.k-hero__rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff2d2d; box-shadow: 0 0 12px #ff2d2d; animation: pulse 1.2s infinite; }
.k-hero__hud .k-hero__rec { position: absolute; top: 4px; left: 34px; }
.k-hero__tc { position: absolute; top: 4px; right: 34px; }
.k-hero__data { position: absolute; bottom: 4px; right: 34px; }
.k-hero__alt { position: absolute; top: 50%; right: 4px; writing-mode: vertical-rl; }
.k-hero__content { position: relative; z-index: 4; }
.k-hero__title { font-size: clamp(64px, 13vw, 230px); text-shadow: 0 10px 60px rgba(0, 0, 0, .5); }
.k-hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.k-hero__lead { max-width: 46ch; color: #c8cad0; font-size: clamp(16px, 1.3vw, 19px); }
.k-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fiche__scroll { position: absolute; left: 50%; bottom: calc(9vh + 14px); transform: translateX(-50%); z-index: 4; font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); padding-bottom: 46px; }
.fiche__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: scrolldown 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes scrolldown { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) { .k-hero__hud .k-hero__data, .k-hero__alt { display: none; } .fiche__scroll { display: none; } }

/* Défilant typographique */
.k-marquee { border-block: 1px solid var(--line); padding-block: 26px; overflow: hidden; }
.k-marquee .marquee { --dur: 32s; }
.k-marquee li { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 6vw, 96px); line-height: 1; padding-inline: 28px; white-space: nowrap; }
.k-marquee li:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1px rgba(236, 235, 230, .6); }
.k-marquee__sep { color: var(--accent); font-size: .5em !important; }

/* Manifeste */
.manifesto__text { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(36px, 5.4vw, 88px); line-height: 1; max-width: 22ch; }
.manifesto__text .mw { opacity: .14; transition: opacity .4s; }
.manifesto__text .mw.is-lit { opacity: 1; }
.kstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(60px, 8vw, 110px); }
.kstat { background: var(--bg); padding: 30px 28px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.kstat::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 2px; background: var(--accent); }
.kstat__v { font-family: var(--f-display); font-weight: 800; font-size: clamp(56px, 6vw, 96px); line-height: .9; }
.kstat__l { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* --- Ambiance colorée (fond qui prend la couleur du film survolé) ------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient--local { position: absolute; }
.ambient__img { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(70px) saturate(1.4) brightness(.6); opacity: 0; transition: opacity 1.1s var(--ease-out); transform: scale(1.1); }
.ambient__img.is-on { opacity: .55; }
.ambient__glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at var(--ax, 50%) var(--ay, 50%), var(--ac, transparent), transparent 70%); opacity: 0; transition: opacity .9s, background .9s; }
.ambient.is-active .ambient__glow { opacity: .35; }

/* --- En-tête archive ---------------------------------------------- */
.k-head { padding-top: calc(var(--header-h) + clamp(50px, 8vw, 110px)); padding-bottom: clamp(30px, 4vw, 50px); position: relative; }
.k-head__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 4px; }
.k-head__top .k-kicker { margin-bottom: 0; } /* la marge passe sur la rangée : kicker et compteur alignés */
.k-head__title { font-size: clamp(60px, 11vw, 200px); }
.k-head--archive .wrap { container-type: inline-size; }
/* Toujours sur une ligne : taille calée sur la largeur dispo (≈ « Réalisations »), ajustée au pixel en JS (data-fit) */
.k-head__title--xl { font-size: min(280px, 19.6cqi); line-height: .8; margin-left: -.04em; white-space: nowrap; }
.k-head__lead { margin-top: 30px; max-width: 58ch; color: #b9bcc4; font-size: clamp(17px, 1.4vw, 20px); }
/* Fond image de l'en-tête (Réalisations) : assombri, fondu vers le mur d'affiches */
.k-head.has-bg { isolation: isolate; }
.k-head__bg { position: absolute; inset: 0 0 -18vh; z-index: -1; overflow: hidden; pointer-events: none;
	-webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.k-head__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: brightness(.45) contrast(1.1) saturate(.8); transform: scale(1.08); animation: kb-zoom 14s var(--ease-out) both; }
.k-head__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 6, 8, .55), rgba(5, 6, 8, .1) 40%, rgba(5, 6, 8, .35)), radial-gradient(70% 70% at 15% 70%, rgba(5, 6, 8, .6), transparent); }
@media (prefers-reduced-motion: reduce) { .k-head__bg img { animation: none; transform: none; } }

/* Barre filtres / vues */
.reel { position: relative; padding-bottom: clamp(60px, 8vw, 120px); }
.reel__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 18px; margin-bottom: clamp(30px, 4vw, 56px); border-block: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.k-filters { display: flex; flex-wrap: wrap; gap: 4px; }
.k-filters__btn { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px; color: var(--muted); border: 1px solid transparent; transition: color .3s, border-color .3s; }
.k-filters__btn sup { color: var(--accent); font-size: 9px; }
.k-filters__btn:hover { color: var(--ink); }
.k-filters__btn.is-active { color: var(--ink); border-color: var(--ink); }
/* Téléphone : barre collante sur une seule ligne, filtres défilables, icônes seules pour la vue. */
@media (max-width: 700px) {
	.reel__bar { flex-wrap: nowrap; gap: 8px; padding-block: 10px; }
	.k-filters { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.k-filters::-webkit-scrollbar { display: none; }
	.k-filters__btn { flex: none; padding: 9px 11px; }
	.views { flex: none; }
	.views__btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.views { display: flex; border: 1px solid var(--line); }
.views__btn { display: flex; align-items: center; gap: 8px; padding: 9px 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.views__btn .icon { width: 16px; height: 16px; }
.views__btn.is-active { background: var(--ink); color: var(--bg); }

/* --- Mur d'affiches ------------------------------------------------- */
.posters { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 40px) clamp(14px, 2vw, 32px); }
.posters--featured { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .posters, .posters--featured { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .posters, .posters--featured { grid-template-columns: repeat(2, 1fr); } }
.posters .film:nth-child(4n+2), .posters .film:nth-child(4n+4) { margin-top: clamp(0px, 5vw, 80px); }
@media (max-width: 1100px) { .posters .film:nth-child(n) { margin-top: 0; } .posters .film:nth-child(3n+2) { margin-top: clamp(0px, 5vw, 60px); } }
@media (max-width: 760px) { .posters .film:nth-child(n) { margin-top: 0; } .posters .film:nth-child(2n) { margin-top: 40px; } }

.film { display: block; position: relative; perspective: 1100px; transition: opacity .6s; }
.film.is-hidden { display: none; }
.posters.has-hover .film:not(.is-hover) { opacity: .65; }

.film__tilt {
	position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 3px;
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
	transform-style: preserve-3d; will-change: transform;
	transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
	box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8);
	background: #000;
}
.film.is-hover .film__tilt { --s: 1.035; transition: transform .12s linear, box-shadow .7s var(--ease-out); box-shadow: 0 50px 90px -30px color-mix(in srgb, var(--pc) 75%, transparent), 0 0 0 1px color-mix(in srgb, var(--pc) 70%, transparent); }

.poster { position: absolute; inset: 0; }
.poster--img .poster__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1s var(--ease-out), filter .8s; }
.film.is-hover .poster--img .poster__img { transform: scale(1.14) translate(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -14px)); transition: transform .3s linear; }

/* Reflet holographique */
.film__glare {
	position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .5s;
	background:
		radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 45%),
		linear-gradient(115deg, transparent 30%, rgba(92, 242, 255, .22) 45%, rgba(255, 90, 200, .18) 52%, rgba(255, 220, 90, .18) 58%, transparent 72%);
	background-size: 100% 100%, 250% 250%;
	background-position: center, var(--hx, 50%) var(--hy, 50%);
	mix-blend-mode: overlay;
}
.film.is-hover .film__glare, .fiche__poster:hover .film__glare { opacity: 1; }


/* Infos au survol */
.film__info {
	position: absolute; inset: auto 0 0; z-index: 5; padding: 60px 18px 18px;
	background: linear-gradient(0deg, rgba(5, 6, 8, .95), rgba(5, 6, 8, 0));
	display: grid; gap: 6px; align-items: end;
	font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
	transform: translateY(101%); transition: transform .7s var(--ease-out);
}
.film.is-hover .film__info { transform: none; }
.film__role { color: #c8cad0; }
.film__cta { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.film__cta .icon { width: 12px; height: 12px; color: var(--pc); }
.film__corner { position: absolute; z-index: 6; width: 0; height: 0; border: 0 solid var(--pc); transition: width .6s var(--ease-out), height .6s var(--ease-out); }
.film__corner--tl { top: 10px; left: 10px; border-top-width: 2px; border-left-width: 2px; }
.film__corner--br { bottom: 10px; right: 10px; border-bottom-width: 2px; border-right-width: 2px; }
.film.is-hover .film__corner { width: 34px; height: 34px; }

.film__caption { padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.film__title { position: relative; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2vw, 32px); line-height: 1; letter-spacing: .01em; }
.film__title::before, .film__title::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; }
.film__title::before { color: #ff2d55; }
.film__title::after { color: var(--cine-cyan); }
.film.is-hover .film__title { color: #fff; }
.film.is-hover .film__title::before { opacity: .85; animation: glitch-a .9s steps(2) both; }
.film.is-hover .film__title::after { opacity: .85; animation: glitch-b .9s steps(2) both; }
@keyframes glitch-a {
	0% { clip-path: inset(10% 0 60% 0); transform: translate(-4px, 0); }
	20% { clip-path: inset(70% 0 5% 0); transform: translate(4px, 0); }
	40% { clip-path: inset(30% 0 40% 0); transform: translate(-3px, 0); }
	60% { clip-path: inset(80% 0 0 0); transform: translate(2px, 0); }
	80% { clip-path: inset(0 0 85% 0); transform: translate(-2px, 0); }
	100% { clip-path: inset(50% 0 50% 0); transform: none; opacity: 0; }
}
@keyframes glitch-b {
	0% { clip-path: inset(60% 0 10% 0); transform: translate(4px, 0); }
	20% { clip-path: inset(5% 0 70% 0); transform: translate(-4px, 0); }
	40% { clip-path: inset(40% 0 30% 0); transform: translate(3px, 0); }
	60% { clip-path: inset(0 0 80% 0); transform: translate(-2px, 0); }
	80% { clip-path: inset(85% 0 0 0); transform: translate(2px, 0); }
	100% { clip-path: inset(50% 0 50% 0); transform: none; opacity: 0; }
}
.film__meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* --- Affiche générative ------------------------------------------ */
.pg { container-type: inline-size; overflow: hidden; background: #050608; color: #f3efe6; }
.pg > * { position: absolute; }
.pg__sky { inset: 0; background: linear-gradient(180deg, #030405 0%, color-mix(in srgb, var(--pc) 22%, #050608) 50%, color-mix(in srgb, var(--pc) 70%, #1a0a05) 78%, #050608 100%); }
.pg__stars { inset: 0 0 40% 0; opacity: .7; background-image: radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 72% 8%, #fff, transparent), radial-gradient(1.5px 1.5px at 40% 30%, #fff, transparent), radial-gradient(1px 1px at 88% 34%, #fff, transparent), radial-gradient(1px 1px at 25% 46%, #fff, transparent), radial-gradient(1px 1px at 60% 22%, #fff, transparent), radial-gradient(1px 1px at 5% 40%, #fff, transparent), radial-gradient(1.5px 1.5px at 93% 14%, #fff, transparent); }
.pg__orb { left: 50%; top: 40%; width: 74cqw; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.pg__land { left: 0; right: 0; bottom: 0; width: 100%; height: 42%; fill: #07080b; }
.pg__land--front { height: 30%; fill: #020203; }
.pg__grain { inset: 0; opacity: .22; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.pg__top { top: 5cqw; left: 0; right: 0; text-align: center; font-family: var(--f-mono); font-size: 2.6cqw; letter-spacing: .5em; text-transform: uppercase; opacity: .75; }
.pg__bottom { left: 6cqw; right: 6cqw; bottom: 6cqw; text-align: center; z-index: 2; }
.pg__tagline { position: static; font-family: var(--f-serif); font-style: italic; font-size: 4.4cqw; line-height: 1.2; opacity: .85; margin-bottom: 3cqw; }
.pg__title { position: static; font-family: var(--f-poster); font-size: 15cqw; line-height: .88; text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; text-shadow: 0 0 6cqw color-mix(in srgb, var(--pc) 60%, transparent); }
.pg__billing { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 2.4cqw; margin-top: 4cqw; font-family: var(--f-display); font-weight: 500; font-size: 2.7cqw; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; opacity: .7; }
.pg__billing b { font-weight: 800; }
.pg__date { position: static; margin-top: 3cqw; font-family: var(--f-mono); font-size: 3cqw; letter-spacing: .4em; color: var(--pc); }

.pg--planete .pg__orb { top: 36%; width: 64cqw; background: radial-gradient(circle at 32% 28%, #fff3e6 0%, color-mix(in srgb, var(--pc) 85%, #fff) 14%, var(--pc) 38%, color-mix(in srgb, var(--pc) 30%, #000) 72%, #000 100%); box-shadow: 0 0 16cqw color-mix(in srgb, var(--pc) 50%, transparent); }
.pg--planete .pg__ring { left: 50%; top: 36%; width: 118cqw; height: 22cqw; border-radius: 50%; border: .9cqw solid color-mix(in srgb, var(--pc) 60%, #fff); transform: translate(-50%, -50%) rotate(-16deg); opacity: .7; box-shadow: 0 0 6cqw color-mix(in srgb, var(--pc) 60%, transparent); clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%); }
.pg--horizon .pg__orb { top: 52%; width: 70cqw; background: linear-gradient(180deg, #fff1c7 0%, #ffd27a 20%, var(--pc) 60%, color-mix(in srgb, var(--pc) 40%, #2a0010) 100%); box-shadow: 0 0 20cqw color-mix(in srgb, var(--pc) 55%, transparent); }
.pg--horizon .pg__lines { left: 0; right: 0; top: 50%; height: 20%; background: repeating-linear-gradient(180deg, transparent 0 2.6cqw, #120608 2.6cqw 4cqw); mask-image: linear-gradient(180deg, transparent, #000 30%); }
.pg--horizon .pg__sky { background: linear-gradient(180deg, #050608, color-mix(in srgb, var(--pc) 30%, #12051a) 55%, #050608); }
.pg--pic .pg__orb { top: 46%; width: 120cqw; background: radial-gradient(circle, color-mix(in srgb, var(--pc) 75%, #fff) 0%, color-mix(in srgb, var(--pc) 40%, transparent) 25%, transparent 55%); }
.pg--pic .pg__land:not(.pg__land--front) { height: 62%; }
.pg--eclipse .pg__orb { top: 38%; width: 56cqw; background: #020203; box-shadow: 0 0 0 .6cqw color-mix(in srgb, var(--pc) 40%, #fff), 0 0 8cqw 2cqw var(--pc), 0 0 30cqw 6cqw color-mix(in srgb, var(--pc) 50%, transparent); }
.pg--eclipse .pg__sky { background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--pc) 25%, #050608), #030304 60%); }

/* --- Vue index ------------------------------------------------------ */
.findex { border-top: 1px solid var(--line); }
.findex[hidden], .posters[hidden] { display: none; }
.findex__row { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.findex__row.is-hidden { display: none; }
.findex__row::before { content: ""; position: absolute; inset: 0; background: var(--pc); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: 0; }
.findex__row:hover::before { transform: scaleY(1); }
.findex__row a { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 180px 220px 70px; gap: 20px; align-items: center; padding: 22px 0; transition: color .4s, padding .6s var(--ease-out); }
.findex__row:hover a { color: #000; padding-left: 20px; }
.findex__format, .findex__role, .findex__year { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.findex__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 5vw, 80px); line-height: .95; }
.findex__year { text-align: right; padding-right: 10px; }
@media (max-width: 900px) { .findex__row a { grid-template-columns: 1fr 60px; } .findex__format, .findex__role { display: none; } }

.follower { position: fixed; left: 0; top: 0; z-index: 50; width: clamp(200px, 18vw, 300px); aspect-ratio: 2 / 3; pointer-events: none; opacity: 0; transition: opacity .35s; }
.follower.is-on { opacity: 1; }
.follower__item { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); }
.follower__item.is-on { clip-path: inset(0 0 0 0); }
@media (hover: none) { .follower { display: none; } }

/* --- Écran vidéo ---------------------------------------------------- */
.screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.screen__frame { position: absolute; inset: 0; aspect-ratio: auto; }
.screen__cover { position: absolute; inset: 0; z-index: 2; width: 100%; display: grid; place-items: center; transition: opacity .6s, visibility .6s; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--pc, var(--accent)) 30%, #000), #000 70%); }
.screen__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.8); transition: transform 1.4s var(--ease-out), filter .6s; }
.screen__cover:hover img { transform: scale(1.04); filter: brightness(.7); }
.screen__cover .hud-c { width: 40px; height: 40px; margin: 22px; }
.screen__play { position: relative; width: clamp(80px, 10vw, 140px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); display: grid; place-items: center; color: #fff; backdrop-filter: blur(6px); transition: transform .6s var(--ease-out), background-color .4s; }
.screen__play::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.screen__play .icon { width: 30%; height: 30%; margin-left: 6%; }
.screen__cover:hover .screen__play { transform: scale(1.08); background: var(--accent); }
.screen__label { position: absolute; left: 32px; bottom: 28px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.screen.is-playing .screen__cover { opacity: 0; visibility: hidden; }

/* --- Teaser drone -------------------------------------------------- */
.dteaser__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.dteaser__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #0c0e12; }
.dteaser__media img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.1) saturate(.8); }
@media (max-width: 900px) { .dteaser__grid { grid-template-columns: 1fr; } }
.hudframe { position: absolute; inset: 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: #fff; text-shadow: 0 0 6px rgba(0, 0, 0, .8); }
.hudframe > span:not(.hud-c) { position: absolute; }
.hudframe__tl { top: 6px; left: 30px; }
.hudframe__tr { top: 6px; right: 30px; }
.hudframe__bl { bottom: 6px; left: 30px; }
.hudframe__br { bottom: 6px; right: 30px; }
.hudframe__cross { left: 50%; top: 50%; width: 60px; height: 60px; transform: translate(-50%, -50%); }
.hudframe__cross::before, .hudframe__cross::after { content: ""; position: absolute; background: rgba(255, 255, 255, .8); }
.hudframe__cross::before { left: 0; right: 0; top: 50%; height: 1px; }
.hudframe__cross::after { top: 0; bottom: 0; left: 50%; width: 1px; }

/* Clients / partenaires */
.u-cinema .clients { padding-block: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.u-cinema .clients__head { margin-bottom: 40px; }
.u-cinema .section-title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 5vw, 72px); line-height: .9; }
.u-cinema .section-title em { font-style: normal; color: var(--accent); }
.u-cinema .clients__track { --dur: 50s; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.u-cinema .clients__item { width: 200px; height: 100px; margin-right: 10px; flex: none; display: grid; place-items: center; padding: 22px 30px; border: 1px solid var(--line); }
.u-cinema .clients__item img { max-height: 54px; width: auto; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .6; transition: opacity .3s; }
.u-cinema .clients__item:hover img { opacity: 1; }
.u-cinema .clients__item span { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 18px; }

/* CTA */
.kcta { position: relative; padding: clamp(50px, 8vw, 120px) clamp(24px, 5vw, 80px); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.kcta::before { content: ""; position: absolute; width: 900px; aspect-ratio: 1; border-radius: 50%; right: -300px; bottom: -600px; background: radial-gradient(circle, rgba(0, 185, 242, .4), transparent 60%); }
.kcta__title { position: relative; font-size: clamp(54px, 9vw, 160px); max-width: 12ch; }
.kcta .kbtn { position: relative; }

/* --- Fiche film ------------------------------------------------------ */
.fiche__hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(9vh + var(--header-h)) 0 calc(9vh + 30px); }
.fiche__bg { position: absolute; inset: 0; z-index: -3; background: radial-gradient(80% 70% at 70% 40%, color-mix(in srgb, var(--pc) 35%, #050608), #050608 70%); }
.fiche__bgimg { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) contrast(1.1); animation: kb-zoom 16s var(--ease-out) both; transform: scale(1.12); }
.fiche__bgimg--blur { filter: blur(40px) brightness(.5) saturate(1.3); }
.fiche__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.fiche__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5, 6, 8, .85), rgba(5, 6, 8, .2) 60%), linear-gradient(0deg, var(--bg), transparent 40%); }
.fiche__grid { display: grid; grid-template-columns: 1fr minmax(240px, 380px); gap: clamp(30px, 6vw, 100px); align-items: end; position: relative; z-index: 4; }
.k-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; transition: color .3s, gap .3s; }
.k-back .icon { width: 16px; height: 16px; }
.k-back:hover { color: #fff; gap: 14px; }
.fiche__intro .k-kicker { display: flex; color: var(--pc); }
.fiche__intro .k-kicker__dot { background: var(--pc); box-shadow: 0 0 14px var(--pc); }
.fiche__title { font-size: clamp(60px, 11vw, 200px); line-height: .84; text-shadow: 0 0 80px color-mix(in srgb, var(--pc) 50%, transparent); overflow-wrap: anywhere; }
.fiche__tagline { margin-top: 26px; font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.4vw, 34px); color: #e8e3d9; }
.fiche__poster { position: relative; aspect-ratio: 2 / 3; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, -8deg)); transition: transform .3s linear; box-shadow: 0 60px 100px -30px color-mix(in srgb, var(--pc) 60%, transparent), 0 0 0 1px rgba(255, 255, 255, .08); animation: poster-in 1.6s var(--ease-out) .4s both; overflow: hidden; }
@keyframes poster-in { from { opacity: 0; transform: perspective(1100px) translateY(60px) rotateY(-30deg); } }
.fiche__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin: clamp(40px, 5vw, 70px) auto 0; position: relative; z-index: 4; }
.fiche__meta div { border-top: 1px solid rgba(236, 235, 230, .2); padding: 16px 16px 0 0; }
.fiche__meta dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--pc); }
.fiche__meta dd { margin: 6px 0 0; font-weight: 600; font-size: 15px; }
/* Fiche avec bande-annonce : en-tête resserré, le lecteur tient dans le premier écran */
.fiche__hero--video { min-height: 0; justify-content: flex-start; padding: calc(var(--header-h) + clamp(18px, 2.4vw, 34px)) 0 clamp(30px, 4vw, 50px); }
.fiche__hero--video .letterbox { display: none; }
.fiche__hero--video .fiche__grid { grid-template-columns: 1fr; }
.fiche__hero--video .k-back { margin-bottom: 16px; }
.fiche__hero--video .fiche__title { font-size: clamp(44px, 5.6vw, 100px); white-space: nowrap; overflow-wrap: normal; } /* une ligne, réduit si besoin (data-fit) */
.fiche__hero--video .fiche__tagline { margin-top: 12px; font-size: clamp(18px, 1.6vw, 24px); }
.fiche__player { position: relative; z-index: 4; margin-top: clamp(20px, 2.4vw, 32px); }
/* Comme les projets corporate : toute la fiche suit la largeur de la vidéo (la plus grande qui tienne dans le premier écran), colonne centrée */
.fiche--video { --colw: calc(max(560px, (100svh - var(--header-h) - 300px) * 16 / 9) + 2 * var(--gutter)); }
.fiche--video .wrap { max-width: min(var(--maxw), var(--colw)); margin-inline: auto; }
.fiche__player .screen { width: 100%; box-shadow: 0 50px 100px -40px color-mix(in srgb, var(--pc) 55%, transparent), 0 0 0 1px rgba(255, 255, 255, .08); animation: media-in 1s var(--ease-out) .2s both; }
@keyframes media-in { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 800px) {
	.fiche__grid { grid-template-columns: 1fr; }
	.fiche__poster { width: 60%; max-width: 280px; order: -1; }
}

.fiche__story-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(40px, 7vw, 120px); }
.fiche__aside { display: grid; gap: clamp(30px, 4vw, 50px); align-content: start; }
.fiche__poster--story { width: 100%; max-width: 380px; justify-self: end; animation-delay: .1s; animation-play-state: paused; } /* entrée lancée à l'apparition (cinema.js) */
.fiche__poster--story.is-in { animation-play-state: running; }
.fiche__stats { display: grid; gap: 1px; align-content: start; }
.fiche__stats .kstat { border-top: 1px solid var(--line); background: transparent; padding: 24px 0; }
.fiche__stats .kstat::before { background: var(--pc); }
@media (max-width: 860px) { .fiche__story-grid { grid-template-columns: 1fr; } .fiche__poster--story { justify-self: center; max-width: 300px; } }

.stills { overflow: hidden; }
.stills__head { display: flex; justify-content: space-between; align-items: baseline; }
.stills__hint { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stills__track { display: flex; gap: 20px; padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; cursor: grab; scroll-snap-type: x proximity; }
.stills__track::-webkit-scrollbar { display: none; }
.stills__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.still { flex: none; width: clamp(280px, 52vw, 820px); aspect-ratio: 16 / 9; position: relative; overflow: hidden; scroll-snap-align: center; }
.still img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; transition: transform 1.2s var(--ease-out); }
.still:hover img { transform: scale(1.04); }
.still figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: #fff; text-shadow: 0 0 6px #000; }

.credits__list { columns: 2; column-gap: clamp(40px, 6vw, 100px); }
.credits__row { break-inside: avoid; display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.credits__row dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.credits__row dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 700px) { .credits__list { columns: 1; } }

.nextfilm { position: relative; display: block; min-height: 70vh; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); background: radial-gradient(70% 90% at 80% 50%, color-mix(in srgb, var(--pc) 35%, #050608), #050608 70%); }
.nextfilm__bg { position: absolute; inset: 0; z-index: -1; }
.nextfilm__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.3) grayscale(.6); transform: scale(1.06); transition: transform 1.6s var(--ease-out), filter 1s; }
.nextfilm:hover .nextfilm__bg img { transform: scale(1); filter: brightness(.45) grayscale(0); }
.nextfilm__inner { position: relative; z-index: 2; min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.nextfilm .k-label { color: var(--pc); }
.nextfilm__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(60px, 12vw, 220px); line-height: .84; max-width: 9ch; transition: transform .9s var(--ease-out), letter-spacing .9s var(--ease-out); }
.nextfilm:hover .nextfilm__title { transform: translateX(20px); }
.nextfilm__meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 20px; }
.nextfilm__poster { position: absolute; z-index: 1; right: var(--gutter); top: 50%; width: clamp(160px, 20vw, 320px); aspect-ratio: 2 / 3; transform: translateY(-50%) rotate(6deg) translateX(30px); opacity: .5; transition: transform 1s var(--ease-out), opacity .6s; overflow: hidden; box-shadow: 0 40px 80px -20px #000; }
.nextfilm:hover .nextfilm__poster { transform: translateY(-50%) rotate(-2deg); opacity: 1; }
@media (max-width: 700px) { .nextfilm__poster { display: none; } }

/* --- Page drone ----------------------------------------------------- */
.k-hero--drone { padding-bottom: 90px; }
.k-hero--drone .k-hero__title { font-size: clamp(60px, 11vw, 190px); }
.osd { position: absolute; inset: calc(var(--header-h) + 10px) var(--gutter) 30px; z-index: 2; pointer-events: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: rgba(236, 235, 230, .85); }
.osd__top { position: absolute; top: 4px; left: 34px; right: 34px; display: flex; justify-content: space-between; gap: 14px; }
.osd__cross { position: absolute; left: 50%; top: 45%; width: 90px; height: 90px; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; }
.osd__cross::before, .osd__cross::after { content: ""; position: absolute; background: rgba(255, 255, 255, .8); }
.osd__cross::before { left: -30px; right: -30px; top: 50%; height: 1px; clip-path: polygon(0 0, 30px 0, 30px 100%, 0 100%, 0 0, calc(100% - 30px) 0, 100% 0, 100% 100%, calc(100% - 30px) 100%); }
.osd__cross::after { left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; }
.osd__horizon { position: absolute; left: 50%; top: 45%; width: 46%; height: 1px; transform: translate(-50%, -50%) rotate(var(--roll, 0deg)); transition: transform .4s linear; }
.osd__horizon span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent) 0 18%, transparent 18% 82%, var(--accent) 82%); }
.osd__ladder { position: absolute; top: 46px; transition: opacity .4s; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .35); }
.osd__ladder b { font-size: 22px; font-weight: 500; color: #fff; min-width: 3ch; text-align: center; }
.osd__ladder small { font-size: 9px; opacity: .7; }
.osd__ladder--l { left: 6%; }
.osd__ladder--r { right: 6%; }
.osd__ladder.is-clash { opacity: 0; } /* écran trop bas : le texte du hero monte jusqu'à l'altimètre */
.osd__compass { position: absolute; left: 50%; bottom: 4px; width: min(420px, 60%); transform: translateX(-50%); display: flex; justify-content: space-between; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.osd__compass span { flex: none; width: 60px; text-align: center; transform: translateX(var(--hdg, 0px)); }
@media (max-width: 760px) { .osd__ladder, .osd__top span:nth-child(n+3) { display: none; } .osd__horizon { width: 80%; } }

.caps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 960px) { .caps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .caps__grid { grid-template-columns: 1fr; } }
.cap { position: relative; background: var(--bg); padding: 34px 30px 40px; min-height: 300px; display: flex; flex-direction: column; overflow: hidden; transition: background-color .5s; }
.cap::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.cap:hover { background: #0d0f14; }
.cap:hover::after { transform: scaleX(1); }
.cap__img { margin: -34px -30px 26px; aspect-ratio: 16 / 9; overflow: hidden; }
.cap__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .6s, transform 1s var(--ease-out); }
.cap:hover .cap__img img { filter: none; transform: scale(1.05); }
.cap__code { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; color: var(--accent); }
.cap__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 40px); line-height: .95; margin: 16px 0 14px; }
.cap__text { color: #a9adb6; font-size: 15px; margin-top: auto; }

.kfleet__list { display: grid; gap: clamp(40px, 6vw, 80px); }
.unit { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 5vw, 80px); align-items: center; }
.unit:nth-child(even) .unit__media { order: 2; }
.unit__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(circle at 50% 60%, #1a1d24, #07080b); }
.unit__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.unit:hover .unit__media img { transform: scale(1.05); }
.unit__media .hud-c { width: 34px; height: 34px; margin: 14px; border-color: var(--accent); }
.unit__cat { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.unit__name { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 4.4vw, 68px); line-height: .9; margin: 14px 0 20px; }
.unit__text { color: #a9adb6; font-size: 15px; }
.unit__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 28px 0 0; }
.unit__specs div { background: var(--bg); padding: 14px 16px; }
.unit__specs dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.unit__specs dd { margin: 4px 0 0; font-weight: 700; }
@media (max-width: 860px) { .unit { grid-template-columns: 1fr; } .unit:nth-child(even) .unit__media { order: 0; } }

.kprocess__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: s; }
.kprocess__item { border-top: 1px solid var(--line); padding-top: 22px; position: relative; }
.kprocess__item::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--accent); transition: width .8s var(--ease); }
.kprocess__item:hover::before { width: 100%; }
.kprocess__item h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 0 0 10px; }
.kprocess__item p { color: #a9adb6; font-size: 15px; }

/* --- Contact (univers cinéma) -------------------------------------- */
.contact { padding-top: calc(var(--header-h) + clamp(50px, 8vw, 110px)); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.contact__title { font-size: clamp(60px, 9vw, 150px); }
.contact__lead { margin: 26px 0 36px; color: #b9bcc4; font-size: 18px; max-width: 46ch; }
.contact__info { display: grid; gap: 14px; margin-bottom: 30px; }
.contact__info li { display: flex; align-items: center; gap: 16px; font-size: 18px; }
.contact__info a:hover { color: var(--accent); }
.contact__ico { width: 50px; height: 50px; flex: none; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); }
.contact__ico .icon { width: 20px; height: 20px; }
.contact__form { border: 1px solid var(--line); padding: clamp(26px, 4vw, 50px); position: relative; align-self: start; background: rgba(13, 15, 19, .6); }
.contact__form::before { content: "// TRANSMISSION"; position: absolute; top: -9px; left: 24px; padding: 0 10px; background: var(--bg); font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; color: var(--accent); }
.u-cinema .field__label { font-family: var(--f-mono); font-weight: 400; }
.u-cinema .btn--primary { border-radius: 0; background: var(--accent); color: #000; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 500; }
.u-cinema .btn--primary .icon { background: #000; color: var(--accent); border-radius: 0; }
.u-cinema .social { border-radius: 0; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* Pied de page cinéma */
.u-cinema .footer-cta__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: 0; line-height: .84; font-size: clamp(44px, 11vw, 200px); }
@media (max-width: 600px) { .u-cinema .footer-cta__title { line-height: .95; } }
.u-cinema .footer-cta__arrow { border-radius: 0; color: #000; }
.u-cinema .site-footer__h { font-family: var(--f-mono); font-weight: 400; }
.u-cinema .footer-switch { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; }

/* Contenu générique */
.u-cinema .prose { color: #c8cad0; }
.u-cinema .wrap--narrow { max-width: 860px; }
.u-cinema .section--tight { padding-block: 20px 100px; }
.fiche .k-prose p:first-child::first-letter { color: var(--pc); }

/* --- Titres : mise au point (lettres floues -> nettes, en cascade) --- */
.js [data-scramble] .wd { display: inline-block; white-space: nowrap; }
.js [data-scramble] .ch {
	display: inline-block; opacity: 0; filter: blur(14px); transform: scale(1.18);
	transition: opacity .9s var(--ease-out), filter 1.2s var(--ease-out), transform 1.4s var(--ease-out);
	transition-delay: calc(var(--i) * 28ms + .1s);
}
.js [data-scramble].is-in .ch { opacity: 1; filter: blur(0); transform: none; }
