/* ==========================================================================
   NoTime — feuille de style principale
   1. Polices et tokens      6. Accueil : approche, index, services, publics
   2. Base                   7. Productions (cartes, filtres)
   3. Typographie            8. Page projet
   4. Composants             9. Pages, studio, contact
   5. En-tête, ouverture    10. Pied de page, utilitaires, mouvement réduit
   ========================================================================== */

/* 1. Polices et tokens ---------------------------------------------------- */
@font-face {
	font-family: "Saira";
	src: url("../fonts/Saira.woff2") format("woff2"),
	     url("../fonts/Saira.woff") format("woff");
	font-weight: 300 800;
	font-stretch: 50% 100%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Martian Mono";
	src: url("../fonts/MartianMono.woff2") format("woff2");
	font-weight: 300 500;
	font-stretch: 75% 112.5%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Archivo";
	src: url("../fonts/Archivo.woff2") format("woff2"),
	     url("../fonts/Archivo.woff") format("woff");
	font-weight: 300 600;
	font-stretch: 62% 100%;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Palette de la marque */
	--black: #000000;      /* fond principal */
	--beige: #EDC9AA;      /* accent */
	--blue: #2A84A1;       /* second accent, environ 10 % */
	--cream: #FFFFFF;      /* texte */
	--white: #FFFFFF;      /* logo lumineux */

	/* Dérivés */
	--text: var(--cream);
	--muted: rgba(255, 255, 255, 0.62);
	--faint: rgba(255, 255, 255, 0.38);
	--line: rgba(255, 255, 255, 0.16);
	--beige-soft: rgba(237, 201, 170, 0.14);
	--blue-deep: #134656;  /* bleu assombri : fonds où le texte doit rester lisible */
	--shade: #050505;      /* noir de cadre */

	/* Typographie */
	/* Titrage : Saira très étroite, en capitales. Texte courant : Archivo. */
	--display: "Saira", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
	--display-stretch: 56%;
	--sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	/* Repères techniques (timecode, séquences, fiches) : Martian Mono. */
	--hud: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	/* Espacements */
	--gutter: clamp(16px, 4vw, 56px);
	--section: clamp(88px, 12vw, 176px);
	--max: 1480px;
	--header-h: 76px;

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

	color-scheme: dark;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--black);
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

/* Vignettage d'objectif : bords de l'écran légèrement assombris. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 89;
	pointer-events: none;
	background: radial-gradient(140% 100% at 50% 45%, transparent 55%, rgba(0, 0, 0, .38) 100%);
}

/* Grain pellicule, statique : aucun coût de rendu au défilement. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 90;
	pointer-events: none;
	opacity: 0.08;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, h4, dl, dd, figure, ol, ul { margin: 0; }
ul.plain, .plain { list-style: none; padding: 0; }

::selection { background: var(--beige); color: var(--black); }

:focus { outline: none; }
:focus-visible {
	outline: 2px solid var(--beige);
	outline-offset: 4px;
	border-radius: 2px;
}

.skip {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--cream);
	color: var(--black);
	border-radius: 999px;
	transform: translateY(-160%);
	transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

.wrap {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section + .section { padding-top: calc(var(--section) * 0.45); }

/* 3. Typographie ---------------------------------------------------------- */
.display,
.display-xl,
.display-l,
.display-m {
	font-family: var(--display);
	font-stretch: var(--display-stretch);
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
/* Titres très grands : ils occupent le noir, comme un titre de générique. */
.display-xl { font-size: clamp(64px, 13vw, 232px); line-height: 0.86; }
.display-l  { font-size: clamp(52px, 8.4vw, 150px); line-height: 0.88; }
.display-m  { font-size: clamp(34px, 4.2vw, 68px); line-height: 0.95; }

/* Grands titres pleins. */
.method__num, .chapter__label { color: var(--beige); }

.lead {
	font-size: clamp(19px, 1.45vw, 23px);
	line-height: 1.5;
	font-weight: 350;
	max-width: 34em;
	text-wrap: pretty;
}

/* « Crédit » : petite capitale de générique, en bas de casse, étroite. */
.credit {
	font-family: var(--sans);
	font-size: 13px;
	line-height: 1.4;
	font-weight: 500;
	font-stretch: 72%;
	letter-spacing: 0.02em;
}
.credit--muted { color: var(--muted); }
.muted { color: var(--muted); }

.prose { max-width: 40em; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 {
	font-family: var(--display);
	font-stretch: var(--display-stretch);
	text-transform: uppercase;
	font-weight: 700;
	line-height: 1;
	margin-top: 1.8em;
}
.prose h2 { font-size: clamp(34px, 3.4vw, 54px); }
.prose h3 { font-size: clamp(26px, 2.2vw, 34px); }
.prose a { color: var(--beige); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose .lead, .prose p.lead { font-size: clamp(20px, 1.7vw, 26px); }
.prose--page { padding-bottom: var(--section); }

/* 4. Composants ----------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	border-radius: 10px;
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.01em;
	white-space: nowrap;
	transition: background-color .4s var(--ease-out), color .4s var(--ease-out), transform .4s var(--ease-out);
}
.btn--primary { background: var(--beige); color: var(--black); }
.btn--primary:hover { background: var(--cream); }
.btn--light { background: var(--cream); color: var(--black); }
.btn--light:hover { background: var(--beige); }
.btn[disabled] { opacity: .5; cursor: progress; }

.link {
	position: relative;
	display: inline-block;
	padding-block: 2px;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	transition: background-size .5s var(--ease-out), color .3s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--beige); }

.status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px 4px;
	border-radius: 999px;
	background: var(--blue);
	color: var(--cream);
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 500;
	font-stretch: 72%;
	letter-spacing: 0.02em;
	white-space: nowrap;
}
.status::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}
.status--developpement { background: transparent; box-shadow: inset 0 0 0 1px var(--blue); color: #8FD0E6; }

.notice {
	padding: 14px 18px;
	border-left: 2px solid var(--blue);
	background: rgba(42, 132, 161, 0.16);
	color: var(--text);
	max-width: 34em;
}

/* Plaque neutre quand un projet n'a pas encore d'image */
.plate-empty {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background:
		radial-gradient(120% 90% at 70% 10%, rgba(42, 132, 161, .45), transparent 60%),
		radial-gradient(90% 70% at 10% 100%, rgba(237, 201, 170, .25), transparent 60%),
		var(--shade);
}
.plate-empty--portrait { aspect-ratio: 4 / 5; }

/* Lecteur vidéo léger */
.player { position: relative; width: 100%; height: 100%; background: var(--black); }
.player__poster, .player__poster img, .player iframe, .player video {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0;
}
.player__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	background: rgba(0, 0, 0, .25);
	transition: background-color .5s var(--ease-out);
}
.player__play:hover { background: rgba(0, 0, 0, .05); }
.player__icon {
	width: 76px; height: 76px; border-radius: 50%;
	background: var(--cream);
	position: relative;
	transition: transform .5s var(--ease-out);
}
.player__icon::after {
	content: ""; position: absolute; left: 31px; top: 25px;
	border-left: 18px solid var(--black); border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.player__play:hover .player__icon { transform: scale(1.08); }
.player__label { font-size: 15px; font-weight: 500; }
.player.is-playing .player__play, .player.is-playing .player__poster { display: none; }

/* 5. En-tête : pilule flottante en verre dépoli --------------------------
   Le verre est peint par un pseudo-élément : un backdrop-filter posé sur
   le conteneur casserait le menu plein écran mobile (position: fixed). */
.site-header {
	position: fixed;
	top: 12px;
	left: 0;
	right: 0;
	z-index: 100;
	height: calc(var(--header-h) - 16px);
	padding-inline: var(--gutter);
	transition: transform .7s var(--ease-out), opacity .5s;
	pointer-events: none;
}
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.site-header__inner {
	position: relative;
	height: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: 26px 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	pointer-events: auto;
	border-radius: 16px;
	isolation: isolate;
	--mx: 50%;
	--my: 0%;
	--pw: 260px;
	--ph: 140px;
	--pa: .2;
}
.site-header__inner::before,
.site-header__inner::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	pointer-events: none;
}
/* Verre liquide : flou, légère réfraction (Chrome et Edge, filtre SVG
   « nt-liquid » dans le pied de page), bord épais éclairé, reflet mobile.
   Safari et Firefox gardent le flou sans réfraction. */
.site-header__inner::before {
	background:
		linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 28%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, .06) 100%),
		rgba(0, 0, 0, .34);
	-webkit-backdrop-filter: blur(16px) saturate(180%) brightness(1.08);
	backdrop-filter: blur(16px) saturate(180%) brightness(1.08);
	box-shadow:
		inset 1px 1px 0 rgba(255, 255, 255, .38),
		inset -1px -1px 0 rgba(255, 255, 255, .10),
		inset 0 0 0 1px rgba(255, 255, 255, .08),
		inset 0 0 22px rgba(255, 255, 255, .07),
		inset 0 -10px 18px -12px rgba(237, 201, 170, .18),
		0 18px 50px rgba(0, 0, 0, .45);
}
.liquid .site-header__inner::before {
	-webkit-backdrop-filter: url(#nt-liquid) blur(10px) saturate(190%) brightness(1.1);
	backdrop-filter: url(#nt-liquid) blur(10px) saturate(190%) brightness(1.1);
}
/* Reflet liquide qui suit le pointeur et liseré d'arête. */
.site-header__inner::after {
	background:
		radial-gradient(var(--pw) var(--ph) at var(--mx) var(--my), rgba(255, 255, 255, var(--pa)), transparent 70%),
		linear-gradient(90deg, transparent, rgba(255, 255, 255, .5) 50%, transparent) top / 60% 1px no-repeat;
	opacity: .55;
	transition: opacity .6s, --mx .55s var(--ease-out), --my .55s var(--ease-out), --pw .55s var(--ease-out), --ph .55s var(--ease-out), --pa .55s var(--ease-out);
}
.site-header__inner:hover::after { opacity: 1; }
/* Survol d'une rubrique : pas de pavé, la lumière du verre glisse et se
   concentre sous le mot (positions fournies par main.js). */
@property --mx { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }
@property --my { syntax: '<length-percentage>'; inherits: true; initial-value: 0%; }
@property --pw { syntax: '<length>'; inherits: true; initial-value: 260px; }
@property --ph { syntax: '<length>'; inherits: true; initial-value: 140px; }
@property --pa { syntax: '<number>'; inherits: true; initial-value: .2; }

.logo { display: inline-flex; align-items: center; position: relative; z-index: 2; }
.logo__type {
	font-family: var(--display);
	font-stretch: 62%;
	text-transform: uppercase;
	font-weight: 800;
	font-size: 26px;
	line-height: 1;
	letter-spacing: 0.04em;
	color: var(--white);
	text-shadow:
		0 0 3px rgba(255, 255, 255, .5),
		0 0 12px rgba(255, 255, 255, .26),
		0 0 28px rgba(255, 255, 255, .12);
	transition: text-shadow .5s var(--ease-out);
}
.logo__type em { font-style: normal; font-weight: 800; color: inherit; }
.logo:hover .logo__type { text-shadow: 0 0 4px rgba(255, 255, 255, .7), 0 0 16px rgba(255, 255, 255, .4), 0 0 38px rgba(255, 255, 255, .2); }
.logo__img { max-height: 34px; width: auto; }
.logo--large .logo__type { font-size: clamp(44px, 5vw, 72px); }
.logo--large .logo__img { max-height: 72px; }

.nav { display: flex; align-items: center; }
.nav__toggle {
	display: none; position: relative; z-index: 2; padding: 10px 18px;
	font-family: var(--display); font-stretch: 75%; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; font-weight: 600;
}
.nav__toggle-close { display: none; }
.nav__panel { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
	position: relative;
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	font-family: var(--display);
	font-stretch: 75%;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 14px;
	font-weight: 500;
	transition: color .3s, text-shadow .5s var(--ease-out);
}
.nav__list a:hover { color: var(--white); text-shadow: 0 0 10px rgba(255, 255, 255, .45); }
.nav__list a::after {
	content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
	border-radius: 50%; background: var(--beige); transform: scale(0); transition: transform .4s var(--ease-out);
}
.nav__list .current-menu-item a::after,
.nav__list .current_page_item a::after,
.nav__list .current-menu-ancestor a::after { transform: scale(1); }
.nav__extra { display: flex; align-items: center; gap: 24px; }
.nav__extra .link { display: none; }
.nav__extra .btn { min-height: 44px; padding: 10px 20px; font-size: 14px; border-radius: 10px; }

@media (max-width: 900px) {
	:root { --header-h: 72px; }
	.site-header__inner { padding-inline: 20px 4px; }
	.nav__toggle { display: block; }
	.nav__panel {
		position: fixed;
		inset: 0;
		z-index: 1;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-end;
		gap: 48px;
		padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
		background: rgba(0, 0, 0, .72);
		-webkit-backdrop-filter: blur(28px) saturate(140%);
		backdrop-filter: blur(28px) saturate(140%);
		visibility: hidden;
		opacity: 0;
		transition: opacity .5s var(--ease-out), visibility 0s .5s;
	}
	.nav.is-open .nav__panel { visibility: visible; opacity: 1; transition: opacity .5s var(--ease-out); }
	.nav.is-open .nav__toggle-open { display: none; }
	.nav.is-open .nav__toggle-close { display: inline; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a {
		padding: 0; border-radius: 0; letter-spacing: -0.01em;
		font-stretch: var(--display-stretch); font-size: clamp(56px, 17vw, 96px); line-height: .92; font-weight: 700;
	}
	.nav__list a:hover { color: var(--beige); text-shadow: none; }
	.nav__list a::after { display: none; }
	.nav__extra { flex-wrap: wrap; gap: 20px 28px; }
	.nav__extra .link { display: inline-block; }
	.nav__extra .btn { min-height: 48px; padding: 12px 24px; font-size: 15px; }
	body.nav-open { overflow: hidden; }
	body.nav-open .site-header { pointer-events: auto; }
}

/* Curseur : point lumineux et anneau qui suit avec un léger retard.
   Uniquement avec une souris ; masqué en mouvement réduit. */
.cursor, .cursor-ring {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	pointer-events: none;
	border-radius: 50%;
	opacity: 0;
	transition: opacity .3s;
}
/* Le point suit toujours ; l'anneau n'apparaît que sur un élément interactif. */
.has-cursor .cursor { opacity: 1; }
.has-cursor .cursor-ring.is-link { opacity: 1; }
.has-cursor .cursor.is-away, .has-cursor .cursor-ring.is-away { opacity: 0; }
.cursor {
	width: 6px;
	height: 6px;
	margin: -3px 0 0 -3px;
	background: var(--cream);
	box-shadow: 0 0 10px 2px rgba(255, 255, 255, .7), 0 0 28px 6px rgba(237, 201, 170, .35);
}
.cursor-ring {
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
	transition: opacity .3s, width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background-color .4s, box-shadow .4s;
}
/* Anneau des éléments cliquables : un cercle net, sans effet de verre. */
.cursor-ring.is-link {
	width: 40px; height: 40px; margin: -20px 0 0 -20px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor label, .has-cursor [data-player] { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }

/* 5b. Ouverture (accueil) -------------------------------------------------
   Le showreel est cadré en 2.39:1 (format cinéma scope). Les bandes noires
   du cadre accueillent la navigation et le texte, comme un générique.
   Au défilement, le cadre s'ouvre jusqu'au plein écran (JS). Sans JS ou
   en mouvement réduit, le cadre reste fixe : la page reste complète. */
.hero {
	position: relative;
	--frame-top: calc(var(--header-h) + 8px);
	--frame-w: calc(100vw - 2 * var(--gutter));
	--frame-h: min(calc(var(--frame-w) / 2.39), calc(100svh - var(--frame-top) - 300px));
	--frame-bottom: calc(100svh - var(--frame-top) - var(--frame-h));
}
.hero__stage {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 560px;
	overflow: hidden;
}
.hero__frame {
	position: absolute;
	inset: 0;
	background: var(--shade);
	clip-path: inset(var(--frame-top) var(--gutter) var(--frame-bottom) var(--gutter));
	will-change: clip-path;
}
.hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 40%;
}
.hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55));
	opacity: 0;
}
.hero__slate {
	position: absolute;
	top: calc(var(--frame-top) + 18px);
	left: calc(var(--gutter) + 20px);
	right: calc(var(--gutter) + 20px);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	color: var(--cream);
	text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
	pointer-events: none;
}
.hero__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--frame-bottom);
	max-width: var(--max);
	margin-inline: auto;
	padding: clamp(20px, 3vh, 36px) var(--gutter) clamp(24px, 4vh, 44px);
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	align-items: end;
	gap: 24px 56px;
}
.hero__title { font-size: clamp(48px, 6.9vw, 134px); line-height: .86; max-width: 13em; }
.hero__aside { display: grid; gap: 24px; justify-items: start; padding-bottom: 6px; }
.hero__text { color: var(--muted); max-width: 30em; font-size: 17px; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }

@media (max-width: 900px) {
	.hero {
		--frame-h: min(calc(var(--frame-w) * 1.08), calc(100svh - var(--frame-top) - 300px));
	}
	.hero__caption { grid-template-columns: 1fr; align-content: end; gap: 18px; }
	.hero__title { font-size: clamp(44px, 13vw, 76px); }
	.hero__text { font-size: 16px; }
	.hero__slate { flex-direction: column; gap: 2px; }
}
@media (max-height: 640px) and (min-width: 901px) {
	.hero { --frame-h: calc(100svh - var(--frame-top) - 250px); }
	.hero__title { font-size: clamp(40px, 5vw, 80px); }
}

/* État initial avant l'animation d'ouverture (JS présent, mouvement autorisé) */
.js.motion .hero__frame { clip-path: inset(50% var(--gutter) 50% var(--gutter)); }
.js.motion .hero__aside,
.js.motion .hero__slate,
.js.motion .has-hero .site-header { opacity: 0; }
.js.motion [data-split] { visibility: hidden; }
.split-line { overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* 6. Accueil -------------------------------------------------------------- */
.section__title { display: grid; gap: 16px; }
.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: clamp(40px, 5vw, 72px);
}

.approach__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 40px var(--gutter);
}
.approach__title { grid-column: 1 / span 6; max-width: 10em; }
.approach__body { grid-column: 8 / -1; display: grid; gap: 28px; align-content: start; padding-top: 0.6em; }

.method {
	list-style: none;
	padding: 0;
	margin-top: clamp(72px, 9vw, 140px);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px var(--gutter);
	counter-reset: step;
}
.method__step { display: grid; gap: 14px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line); }
.method__num {
	font-family: var(--display);
	font-stretch: var(--display-stretch);
	font-weight: 700;
	font-size: 88px;
	line-height: .8;
}
.method__title { font-family: var(--display); font-stretch: 62%; text-transform: uppercase; font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: .01em; }
.method__step p { color: var(--muted); font-size: 16px; max-width: 24em; }

@media (max-width: 1000px) {
	.approach__title, .approach__body { grid-column: 1 / -1; }
	.method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.method { grid-template-columns: 1fr; }
}

/* Index des productions : très grands titres, numérotés, alignés à gauche.
   Au survol, les autres titres se floutent et un aperçu suit le curseur. */
.reel { position: relative; }
.reel .section__head { flex-direction: column; align-items: flex-start; }
.index { list-style: none; padding: 0; text-align: left; }
.index__item + .index__item { margin-top: clamp(2px, .6vw, 10px); }
.index__link {
	display: inline-grid;
	justify-items: center;
	gap: 10px;
	padding-block: 6px;
	transition: filter .6s var(--ease-out), opacity .6s var(--ease-out);
}
.index__thumb { display: none; }
.index__title {
	font-family: var(--display);
	font-stretch: var(--display-stretch);
	text-transform: uppercase;
	font-weight: 700;
	font-size: clamp(54px, 9.6vw, 176px);
	line-height: .86;
	letter-spacing: -0.005em;
	transition: filter .5s var(--ease-out);
}
.index__meta {
	display: flex; align-items: center; justify-content: center; gap: 6px 18px; flex-wrap: wrap;
	font-family: var(--display); font-stretch: 75%; text-transform: uppercase; letter-spacing: .14em;
	font-size: 13px; font-weight: 600; color: var(--beige);
	max-height: 0; opacity: 0; overflow: hidden;
	transition: max-height .6s var(--ease-out), opacity .5s;
}
.index__meta .status { letter-spacing: .04em; text-transform: none; font-size: 12px; }

@media (hover: hover) and (pointer: fine) {
	.index.is-hovering .index__link { filter: blur(6px); opacity: .35; }
	.index.is-hovering .index__link.is-active { filter: none; opacity: 1; }
	.index__link.is-active .index__title,
	.index__link:focus-visible .index__title { filter: drop-shadow(0 0 28px rgba(237, 201, 170, .25)); }
	.index__link.is-active .index__meta,
	.index__link:focus-visible .index__meta { max-height: 60px; opacity: 1; }
}

@media (hover: none), (max-width: 900px) {
	.index { text-align: left; }
	.index__item { border-top: 1px solid var(--line); }
	.index__item:last-child { border-bottom: 1px solid var(--line); }
	.index__item + .index__item { margin-top: 0; }
	.index__link { display: grid; grid-template-columns: 84px minmax(0, 1fr); justify-items: start; align-items: center; gap: 6px 18px; padding-block: 18px; }
	.index__thumb { display: block; grid-row: span 2; width: 84px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--shade); }
	.index__thumb img, .index__thumb .plate-empty { width: 100%; height: 100%; object-fit: cover; }
	.index__title { font-size: clamp(40px, 12vw, 64px); }
	.index__meta { max-height: none; opacity: 1; justify-content: flex-start; letter-spacing: .08em; font-size: 12px; }
	.reel .section__head { align-items: flex-start; text-align: left; }
}

/* Services */
.services__list { border-bottom: 1px solid var(--line); }
.service { border-top: 1px solid var(--line); }
.service__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: clamp(22px, 2.4vw, 34px);
	cursor: pointer;
	list-style: none;
}
.service__head::-webkit-details-marker { display: none; }
.service__title {
	font-family: var(--display);
	font-stretch: var(--display-stretch);
	text-transform: uppercase;
	font-weight: 700;
	font-size: clamp(38px, 5.2vw, 92px);
	line-height: .9;
	transition: opacity .4s;
}
.service__head:hover .service__title { opacity: .72; }
.service__icon { position: relative; flex: none; width: 22px; height: 22px; }
.service__icon::before, .service__icon::after {
	content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor;
	transition: transform .5s var(--ease-out);
}
.service__icon::after { transform: rotate(90deg); }
.service[open] .service__icon::after { transform: rotate(0deg); }
.service__body {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: 24px var(--gutter);
	padding-bottom: clamp(28px, 3vw, 44px);
}
.service__lead { font-size: clamp(18px, 1.3vw, 21px); line-height: 1.5; max-width: 32em; color: var(--text); }
.service__body .prose { grid-column: 1; color: var(--muted); }
.service__deliv { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 10px; align-content: start; }
.service__deliv li { padding-block: 6px; border-bottom: 1px solid var(--line); font-size: 15px; }
@media (max-width: 760px) {
	.service__body { grid-template-columns: 1fr; }
	.service__deliv { grid-column: 1; grid-row: auto; }
}

/* Publics */
.audiences__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 40px var(--gutter);
}
.audiences__grid > h2 { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.audiences__list { grid-column: 6 / -1; display: grid; }
.audiences__item {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 8px 32px;
	padding-block: 26px;
	border-top: 1px solid var(--line);
}
.audiences__item:last-child { border-bottom: 1px solid var(--line); }
.audiences__item dt { font-size: 19px; font-weight: 600; letter-spacing: -0.005em; }
.audiences__item dd { color: var(--muted); max-width: 30em; }
@media (max-width: 1000px) {
	.audiences__grid > h2, .audiences__list { grid-column: 1 / -1; position: static; }
}
@media (max-width: 600px) {
	.audiences__item { grid-template-columns: 1fr; }
}

/* Appel à l'action */
.cta {
	/* Le bleu de la marque comme source de lumière, assombri là où se trouve le texte. */
	background:
		radial-gradient(90% 120% at 88% -10%, var(--blue) 0%, rgba(42, 132, 161, .55) 35%, transparent 70%),
		var(--blue-deep);
	color: var(--cream);
	padding-block: clamp(88px, 11vw, 160px);
}
.cta__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 32px var(--gutter);
	align-items: end;
}
.cta__title {
	grid-column: 1 / -1;
}
.cta__body { grid-column: 7 / -1; display: grid; gap: 28px; justify-items: start; }
.cta__body .lead { color: var(--cream); }
.cta__social { font-size: 15px; color: rgba(255, 255, 255, .78); max-width: 30em; }
.cta__social .link { color: var(--cream); }
.cta__social .link:hover { color: var(--black); }
@media (max-width: 900px) {
	.cta__title, .cta__body { grid-column: 1 / -1; }
}

/* 7. Productions ---------------------------------------------------------- */
.page-head {
	padding-top: calc(var(--header-h) + clamp(56px, 9vw, 140px));
	padding-bottom: clamp(48px, 6vw, 88px);
	display: grid;
	gap: 28px;
}
.page-head__lead { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.filter {
	padding: 8px 16px 9px;
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px var(--line);
	font-size: 14px;
	transition: box-shadow .3s, background-color .3s, color .3s;
}
.filter:hover { box-shadow: inset 0 0 0 1px var(--cream); }
.filter[aria-current="page"] { background: var(--cream); color: var(--black); box-shadow: none; }

.cards {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-flow: row dense;
	gap: clamp(48px, 6vw, 96px) var(--gutter);
	padding-bottom: var(--section);
}
.card { grid-column: span 12; }
.card--landscape { grid-column: span 7; }
.card--portrait { grid-column: span 5; }
.card--portrait + .card--landscape, .card--landscape + .card--portrait { align-self: end; }
.card__link { display: grid; gap: 18px; }
.card__frame { position: relative; overflow: hidden; background: var(--shade); aspect-ratio: 2.39 / 1; }
.card--landscape .card__frame { aspect-ratio: 16 / 9; }
.card--portrait .card__frame { aspect-ratio: 4 / 5; }
.card__frame img, .card__frame .plate-empty {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transition: transform 1.4s var(--ease-out), filter .8s;
}
.card__link:hover .card__frame img { transform: scale(1.035); }
.card__status { position: absolute; top: 16px; left: 16px; }
.card__text { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.card__title { font-family: var(--display);
	font-stretch: var(--display-stretch);
	text-transform: uppercase; font-weight: 400; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; transition: color .4s; }
.card__title { transition: opacity .4s; }
.card__link:hover .card__title { opacity: .75; }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); }
@media (max-width: 800px) {
	.card, .card--landscape, .card--portrait { grid-column: 1 / -1; }
}

.empty { display: grid; gap: 28px; justify-items: start; padding-bottom: var(--section); }

.pagination { padding-bottom: var(--section); }
.nav-links { display: flex; gap: 16px; }
.page-numbers { padding: 6px 12px; }
.page-numbers.current { color: var(--beige); }

/* 8. Page projet ---------------------------------------------------------- */
.project__cover {
	position: relative;
	margin-top: var(--header-h);
	overflow: hidden;
	background: var(--shade);
	aspect-ratio: 2.39 / 1;
	max-height: calc(100svh - var(--header-h));
	width: 100%;
}
.project__cover--landscape { aspect-ratio: 16 / 9; }
.project__cover--portrait {
	aspect-ratio: auto;
	height: calc(100svh - var(--header-h) - 24px);
	max-height: 1100px;
}
.project__cover > img, .project__cover > .plate-empty {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.project__cover--portrait > img { object-fit: contain; background: var(--shade); }
@media (max-width: 760px) {
	.project__cover { aspect-ratio: 4 / 3; }
	.project__cover--portrait { height: auto; aspect-ratio: 4 / 5; }
	.project__cover--portrait > img { object-fit: cover; }
}

.project__head {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 32px var(--gutter);
	padding-block: clamp(48px, 7vw, 112px) clamp(48px, 6vw, 96px);
}
.project__title { grid-column: 1 / -1; max-width: 14em; }
.project__intro { grid-column: 1 / span 7; display: grid; gap: 24px; align-content: start; }
.fiche { grid-column: 9 / -1; display: grid; align-content: start; }
.fiche__row {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 16px;
	padding-block: 12px;
	border-top: 1px solid var(--line);
	font-size: 15px;
}
.fiche__row:last-child { border-bottom: 1px solid var(--line); }
.fiche__row dt { padding-top: 2px; }
@media (max-width: 900px) {
	.project__intro, .fiche { grid-column: 1 / -1; }
}

.chapters { display: grid; gap: 0; padding-bottom: clamp(40px, 5vw, 80px); }
.chapter {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px var(--gutter);
	padding-block: clamp(32px, 4vw, 56px);
	border-top: 1px solid var(--line);
}
.chapter__label {
	grid-column: 1 / span 3;
	font-family: var(--display);
	font-stretch: var(--display-stretch);
	text-transform: uppercase;
	font-weight: 700;
	font-size: clamp(30px, 2.8vw, 46px);
	line-height: .95;
	color: var(--beige);
}
.chapter__text { grid-column: 5 / span 7; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.6; max-width: 36em; }
.chapter__text p + p { margin-top: 1em; }
@media (max-width: 800px) {
	.chapter__label, .chapter__text { grid-column: 1 / -1; }
}

.prose--media { max-width: var(--max); padding-bottom: clamp(64px, 8vw, 120px); }
.prose--media > * { max-width: 40em; }
.prose--media > .wp-block-image,
.prose--media > .wp-block-gallery,
.prose--media > .wp-block-video,
.prose--media > .wp-block-embed,
.prose--media > .wp-block-columns,
.prose--media > figure { max-width: none; margin-top: clamp(16px, 2vw, 32px); }
.prose--media .wp-block-gallery { gap: clamp(12px, 1.6vw, 24px) !important; }
.prose--media figcaption, .wp-element-caption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: left; }
.prose--media .alignfull { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }

/* Galerie de la fiche projet : rangées de hauteur égale, chaque image
   garde ses proportions (--r = largeur / hauteur). */
.gallery { padding-block: clamp(32px, 4vw, 56px) clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); display: grid; gap: clamp(10px, 1.2vw, 18px); }
.gallery__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(16px, 2.4vw, 40px); }
.gallery__row { display: flex; gap: clamp(10px, 1.2vw, 18px); }
.gallery__item { flex: var(--r) 1 0%; min-width: 0; display: block; padding: 0; text-align: left; }
.gallery__frame { display: block; position: relative; overflow: hidden; aspect-ratio: var(--r); background: var(--shade); }
.gallery__frame img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06) saturate(.82); transition: transform 1.6s var(--ease-out), filter .8s; }
.gallery__item:hover .gallery__frame img { transform: scale(1.03); filter: contrast(1.04) saturate(1); }
.gallery__item:focus-visible { outline: 2px solid var(--beige); outline-offset: 4px; }
.gallery__row--solo { justify-content: center; }
.gallery__row--solo .gallery__item { flex: 0 1 auto; width: min(100%, calc(var(--r) * 82vh)); }
.js.motion .gallery__frame { clip-path: inset(50% 0 50% 0); transition: clip-path 1.4s var(--ease-in-out); }
.js.motion .gallery__frame.is-in { clip-path: inset(0 0 0 0); }
@media (max-width: 700px) {
	.gallery__row { flex-direction: column; }
	.gallery__row--solo .gallery__item, .gallery__item { width: 100%; flex: none; }
}

/* Visionneuse plein écran */
.lightbox {
	position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .97); color: var(--text);
	-webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	opacity: 0; transition: opacity .45s var(--ease-out);
}
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox.is-visible { opacity: 1; }
.lightbox::backdrop { background: transparent; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(56px, 7vw, 96px) clamp(16px, 7vw, 120px) 12px; min-height: 0; overflow: hidden; }
.lightbox__img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - clamp(56px, 7vw, 96px) - 76px); max-height: calc(100dvh - clamp(56px, 7vw, 96px) - 76px); object-fit: contain; transition: opacity .35s var(--ease-out); }
.lightbox__img.is-loading { opacity: 0; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 14px var(--gutter) 24px; }
.lightbox__caption { color: var(--muted); font-size: 14px; max-width: 60ch; }
.lightbox__count { font-family: var(--display); font-stretch: 75%; letter-spacing: .1em; font-size: 13px; color: var(--muted); white-space: nowrap; }
.lightbox__btn {
	position: absolute; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	font-size: 22px; line-height: 1; color: var(--white); transition: background-color .3s, opacity .3s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .1); }
.lightbox__btn:focus-visible { outline: 2px solid var(--beige); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 12px; top: 50%; margin-top: -26px; }
.lightbox--single .lightbox__prev, .lightbox--single .lightbox__next { display: none; }

.credits {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px var(--gutter);
	padding-block: clamp(32px, 4vw, 56px) clamp(64px, 8vw, 120px);
	border-top: 1px solid var(--line);
}
.credits .chapter__label { grid-column: 1 / span 3; }
.credits__list { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gutter); }
.credits__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.credits__row dt { color: var(--muted); }
@media (max-width: 800px) {
	.credits .chapter__label, .credits__list { grid-column: 1 / -1; }
	.credits__list { grid-template-columns: 1fr; }
}

.next { position: relative; }
.next__link { position: relative; display: block; height: clamp(320px, 60vh, 640px); overflow: hidden; }
.next__media { position: absolute; inset: 0; }
.next__media img, .next__media .plate-empty { width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .8s var(--ease-out), transform 1.6s var(--ease-out); }
.next__link:hover .next__media img { opacity: .8; transform: scale(1.03); }
.next__text { position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vw, 64px); display: grid; gap: 12px; }

/* 9. Pages, studio, contact ---------------------------------------------- */
.studio__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 40px var(--gutter);
}
.studio__portrait { grid-column: 1 / span 5; display: grid; gap: 12px; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.studio__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.studio__text { grid-column: 7 / -1; }
@media (max-width: 900px) {
	.studio__portrait, .studio__text { grid-column: 1 / -1; position: static; }
	.studio__portrait { max-width: 420px; }
}

.pricing-note { display: grid; gap: 20px; padding-top: 0; }
.pricing-note .lead { color: var(--muted); }

.contact {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 48px var(--gutter);
	padding-top: calc(var(--header-h) + clamp(56px, 8vw, 128px));
	padding-bottom: var(--section);
}
.contact__intro { grid-column: 1 / span 5; display: grid; gap: 28px; align-content: start; }
.contact__intro .lead { color: var(--muted); }
.contact__direct { display: grid; gap: 18px; margin-top: 12px; }
.contact__direct div { display: grid; gap: 2px; }
.contact__form { grid-column: 7 / -1; }
@media (max-width: 1000px) {
	.contact__intro, .contact__form { grid-column: 1 / -1; }
}

.form { display: grid; gap: 32px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gutter); }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--muted); padding: 0; }
.req { color: var(--beige); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
	width: 100%;
	font: inherit;
	font-size: 18px;
	color: var(--text);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	padding: 10px 0 12px;
	transition: border-color .3s;
	-webkit-appearance: none;
	appearance: none;
}
.field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--cream) 50%), linear-gradient(-45deg, transparent 50%, var(--cream) 50%);
	background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%;
	background-size: 6px 6px;
	background-repeat: no-repeat;
	padding-right: 28px;
}
.field select option { background: var(--black); color: var(--cream); }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field ::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--beige); outline: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--beige); }
.field [aria-invalid="true"] { border-bottom-color: var(--beige); }
.field__error { color: var(--beige); font-size: 14px; font-weight: 500; }
.field__error::before { content: "! "; font-weight: 700; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
	display: inline-block;
	padding: 9px 16px 10px;
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px var(--line);
	font-size: 15px;
	transition: background-color .3s, color .3s, box-shadow .3s;
}
.choice:hover span { box-shadow: inset 0 0 0 1px var(--cream); }
.choice input:checked + span { background: var(--cream); color: var(--black); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--beige); outline-offset: 3px; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; cursor: pointer; color: var(--muted); }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--beige); }
.check a { color: var(--cream); text-decoration: underline; text-underline-offset: .2em; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.form__foot .muted { font-size: 14px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status:empty { display: none; }
.form-status { margin-bottom: 32px; }
.form-status p { padding: 16px 20px; font-size: 16px; }
.form-status__ok { background: rgba(42, 132, 161, .28); border-left: 2px solid var(--blue); }
.form-status__err { background: var(--beige-soft); border-left: 2px solid var(--beige); }

.lost { padding-top: calc(var(--header-h) + 18vh); padding-bottom: 18vh; display: grid; gap: 28px; }
.lost__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.posts { border-bottom: 1px solid var(--line); padding-bottom: 0; margin-bottom: var(--section); }
.posts__item a { display: flex; justify-content: space-between; gap: 24px; padding-block: 24px; border-top: 1px solid var(--line); }
.posts__title { font-family: var(--display);
	font-stretch: var(--display-stretch);
	text-transform: uppercase; font-size: clamp(24px, 2.4vw, 36px); }

/* 10. Pied de page -------------------------------------------------------- */
.site-footer { padding-top: clamp(72px, 9vw, 128px); }
.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 40px var(--gutter);
	padding-bottom: clamp(56px, 7vw, 96px);
}
.site-footer__brand { grid-column: 1 / span 6; display: grid; gap: 14px; align-content: start; }
.site-footer__brand .credit { color: var(--muted); }
.site-footer__col { grid-column: span 3; display: grid; gap: 10px; align-content: start; }
.site-footer__col li + li { margin-top: 6px; }
.site-footer__mark {
	display: block;
	overflow: hidden;
	padding-inline: var(--gutter);
	font-family: var(--display);
	font-stretch: 50%;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 37.5vw;
	line-height: .74;
	letter-spacing: -0.02em;
	text-align: center;
	white-space: nowrap;
	color: rgba(255, 255, 255, .09);
	margin-top: 8px;
	user-select: none;
}
/* Survol : chaque lettre s'allume selon la proximité du
   curseur (--i de 0 à 1, piloté par main.js ; simple survol sinon). */
@property --i { syntax: '<number>'; inherits: false; initial-value: 0; }
.site-footer__mark span {
	--i: 0;
	display: inline-block;
	color: rgba(255, 255, 255, calc(.09 + var(--i) * .83));
	text-shadow:
		0 0 .015em rgba(255, 255, 255, calc(var(--i) * .45)),
		0 0 .07em rgba(255, 255, 255, calc(var(--i) * .22));
	transition: --i .6s var(--ease-out);
}
.site-footer__mark:not(.is-live) span:hover { --i: .8; }
@media (prefers-reduced-motion: reduce) {
	.site-footer__mark span { transition: none; }
}
.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-block: 24px 32px;
	border-top: 1px solid var(--line);
	font-size: 14px;
}
.site-footer__legal { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.site-footer__legal a:hover { color: var(--cream); }
@media (max-width: 800px) {
	.site-footer__brand { grid-column: 1 / -1; }
	.site-footer__col { grid-column: span 6; }
}
@media (max-width: 480px) {
	.site-footer__col { grid-column: 1 / -1; }
}

/* Blocs WordPress usuels */
.wp-block-image img { height: auto; }
.wp-block-quote { border-left: 2px solid var(--beige); padding-left: 24px; margin-left: 0; font-family: var(--display);
	font-stretch: var(--display-stretch);
	text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1.3; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin-block: 48px; }
.has-noir-color { color: var(--black); } .has-noir-background-color { background-color: var(--black); }
.has-beige-color { color: var(--beige); } .has-beige-background-color { background-color: var(--beige); }
.has-bleu-color { color: var(--blue); } .has-bleu-background-color { background-color: var(--blue); }
.has-blanc-color, .has-blanc-casse-color { color: var(--cream); } .has-blanc-background-color, .has-blanc-casse-background-color { background-color: var(--cream); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Mouvement réduit : aucune animation, tout est visible. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* 11. Mise en scène cinématique ------------------------------------------- */
/* Étalonnage : images légèrement désaturées et contrastées, couleur rendue au survol. */
.card__frame img, .index__thumb img, .next__media img, .project__cover > img, .project__cover .player__poster img {
	filter: contrast(1.06) saturate(.82);
}
.card__link:hover .card__frame img, .next__link:hover .next__media img { filter: contrast(1.04) saturate(1); }

/* Les images de projet entrent par l'ouverture d'un cadre, comme l'accueil. */
.js.motion .card__frame { clip-path: inset(50% 0 50% 0); transition: clip-path 1.4s var(--ease-in-out); }
.js.motion .card__frame.is-in { clip-path: inset(0 0 0 0); }

/* Légende de section, façon générique : une information réelle, en petit. */
.section__note { color: var(--muted); }
.section__note b { color: var(--beige); font-weight: 600; }

/* Emblème illustré (hibou) */
.emblem { display: block; height: auto; max-width: 100%; transition: transform 1.2s var(--ease-out), filter .8s; }
.emblem--footer { width: clamp(140px, 14vw, 200px); margin-bottom: 8px; transform-origin: 50% 90%; }
.site-footer__brand:hover .emblem--footer { transform: rotate(-3deg) translateY(-4px); }
.studio__emblem { display: grid; gap: 12px; justify-items: start; margin-top: clamp(48px, 6vw, 88px); }
.emblem--studio { width: min(420px, 100%); filter: drop-shadow(0 30px 60px rgba(42, 132, 161, .18)); }
.emblem--lost { width: clamp(160px, 18vw, 260px); }

/* ==========================================================================
   12. Version 2.0 : repères de tournage, signature et finitions
   Le site se lit comme un film : timecode, séquences, numéros de plan.
   Signature : les capitales étroites s'étirent (axe de largeur de Saira).
   ========================================================================== */

/* En-tête : séquence en cours et timecode de lecture (1 écran = 1 seconde). */
.hud-tc {
	position: relative; z-index: 2;
	margin-left: auto; margin-right: 4px;
	display: flex; gap: 12px; align-items: baseline;
	font-family: var(--hud); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.hud-tc b { font-weight: 400; color: var(--blue); }
@media (max-width: 900px) { .hud-tc span { display: none; } }

/* Bouton d'en-tête : rectangle net et témoin de tournage. */
.nav__extra .btn--tally {
	gap: 10px; border-radius: 3px;
	background: transparent; color: var(--cream);
	box-shadow: inset 0 0 0 1px rgba(237, 201, 170, .7);
	font-family: var(--hud); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
	transition: background .25s, color .25s, box-shadow .25s;
}
.nav__extra .btn--tally:hover { background: var(--beige); color: var(--black); box-shadow: none; }
.tally { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--beige); box-shadow: 0 0 8px rgba(237, 201, 170, .8); animation: tally 2.4s ease-in-out infinite; }
.btn--tally:hover .tally { background: var(--black); box-shadow: none; }
@keyframes tally { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Repères dans un cadre (ouverture, couverture d'un projet, portrait) */
.hud {
	position: absolute; pointer-events: none;
	font-family: var(--hud); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
	color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums;
}
.hud--hero { top: var(--frame-top); left: var(--gutter); right: var(--gutter); height: var(--frame-h); }
.hud--frame { inset: 0; z-index: 2; }
.hud__mark { position: absolute; width: 16px; height: 16px; border: 0 solid rgba(255, 255, 255, .75); }
.hud__mark--tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.hud__mark--tr { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.hud__mark--bl { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.hud__mark--br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.hud__t { position: absolute; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.hud__t--tl { top: 17px; left: 42px; }
.hud__t--tr { top: 17px; right: 42px; }
.hud__t--bl { bottom: 17px; left: 42px; }
.hud__t--br { bottom: 17px; right: 42px; }
.hud b { font-weight: 400; color: var(--blue); }
@media (max-width: 600px) {
	.hud__t--bl { display: none; }
	.hud__t { font-size: 9.5px; }
}

/* Repère de séquence en tête de section (moments clés seulement) */
.seq-tag {
	display: flex; align-items: center; gap: 14px;
	margin: 0 0 clamp(28px, 4vw, 56px);
	font-family: var(--hud); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
	color: var(--muted); font-variant-numeric: tabular-nums;
}
.seq-tag::before { content: ""; width: 28px; height: 1px; background: var(--beige); }
.seq-tag span { color: var(--blue); }

/* Ouverture : le nom en grand dans le cadre ; il s'élargit quand le cadre s'ouvre. */
.hero__name {
	position: absolute; left: 0; right: 0;
	top: calc(var(--frame-top) + var(--frame-h) / 2);
	transform: translateY(-50%);
	margin: 0; text-align: center;
	font-family: var(--display); font-stretch: var(--nt-w, 56%); font-weight: 800; text-transform: uppercase;
	font-size: clamp(72px, 21vw, 340px); line-height: .8; letter-spacing: .01em;
	color: #FFFFFF;
	text-shadow: 0 0 24px rgba(255, 255, 255, .18), 0 0 90px rgba(237, 201, 170, .10);
	pointer-events: none;
}

/* Bande d'images : deux rangées qui glissent en sens contraire */
.strip { padding-block: clamp(56px, 7vw, 112px) clamp(40px, 5vw, 80px); overflow: hidden; }
.strip .seq-tag { margin-bottom: clamp(24px, 3vw, 40px); }
.strip__row { display: flex; gap: 14px; width: max-content; padding-inline: var(--gutter); }
.strip__row + .strip__row { margin-top: 14px; }
.strip__frame { position: relative; flex: none; width: clamp(240px, 27vw, 480px); margin: 0; overflow: hidden; background: var(--shade); }
.strip__frame img { display: block; width: 100%; height: auto; aspect-ratio: 2.39 / 1; object-fit: cover; filter: saturate(.85) brightness(.85); transition: filter .6s var(--ease-out), transform 1.2s var(--ease-out); }
.strip__frame:hover img { filter: none; transform: scale(1.04); }
.strip__frame figcaption {
	position: absolute; left: 10px; right: 10px; bottom: 8px;
	display: flex; justify-content: space-between; gap: 10px;
	font-family: var(--hud); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
	color: rgba(255, 255, 255, .88); text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 900px), (hover: none) {
	.strip__row { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.strip__row::-webkit-scrollbar { display: none; }
	.strip__frame { width: 78vw; scroll-snap-align: start; }
}

/* Index : numéroté ; aperçu 2.39:1 qui suit le curseur et fait défiler les images */
.index__num { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
	.index__link { display: grid; grid-template-columns: clamp(64px, 7vw, 112px) minmax(0, 1fr); justify-items: start; align-items: start; column-gap: 0; }
	.index__num { display: block; grid-row: 1; padding-top: .9em; font-family: var(--hud); font-size: 12px; letter-spacing: .08em; color: var(--faint); transition: color .4s; }
	.index__link.is-active .index__num { color: var(--beige); }
	.index__title { grid-column: 2; }
	.index__meta { grid-column: 2; justify-content: flex-start; }
}
.peek {
	position: fixed; left: 0; top: 0; z-index: 90;
	width: clamp(300px, 27vw, 440px);
	pointer-events: none; opacity: 0; transition: opacity .35s var(--ease-out);
}
.peek.is-on { opacity: 1; }
.peek__frame { position: relative; aspect-ratio: 2.39 / 1; overflow: hidden; background: var(--shade); }
.peek__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.peek__frame img.is-on { opacity: 1; }
.peek__hud {
	display: flex; justify-content: space-between; gap: 12px; padding-top: 8px;
	font-family: var(--hud); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
	color: rgba(255, 255, 255, .78); font-variant-numeric: tabular-nums; text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}
.peek__hud b { font-weight: 400; color: var(--blue); }
.peek__bar { position: relative; height: 1px; margin-top: 6px; background: rgba(255, 255, 255, .25); }
.peek__bar i { position: absolute; top: -3px; left: 0; width: 1px; height: 7px; background: var(--blue); transition: left .25s var(--ease-out); }

/* À la une */
.spot { position: relative; isolation: isolate; overflow: hidden; min-height: min(92vh, 900px); display: grid; align-items: end; }
.spot__media { position: absolute; inset: -10% 0; z-index: -1; }
.spot__media img, .spot__media .plate-empty { width: 100%; height: 100%; object-fit: cover; }
.spot__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .15) 30%, rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, .85) 100%); }
.spot__in { position: relative; width: 100%; padding-block: clamp(120px, 14vw, 200px) clamp(56px, 7vw, 104px); }
.spot__title {
	margin: 0 -.32em 22px 0;
	font-family: var(--display); font-stretch: 100%; font-weight: 300; text-transform: uppercase;
	letter-spacing: .32em; font-size: clamp(40px, 8.4vw, 140px); line-height: 1;
}
.spot__meta { margin: 0; font-family: var(--hud); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.spot__meta b { font-weight: 400; color: var(--beige); }
.spot__text { max-width: 34em; margin: 16px 0 24px; color: rgba(255, 255, 255, .86); font-size: 17px; }

/* Appel à l'action : type de projet en un clic */
.cta__type { border: 0; margin: 0; padding: 0; min-width: 0; }
.cta__type legend { padding: 0; margin-bottom: 12px; font-family: var(--hud); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; font-size: 14.5px; line-height: 1.2; border: 1px solid rgba(255, 255, 255, .38); border-radius: 3px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chip span:hover { border-color: #FFFFFF; }
.chip input:checked + span { background: #FFFFFF; color: #000000; border-color: #FFFFFF; }
.chip input:focus-visible + span { outline: 2px solid #FFFFFF; outline-offset: 3px; }

/* Pied de page : fin du film */
.hud-end { margin: 0; font-family: var(--hud); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-variant-numeric: tabular-nums; }
.hud-end b { font-weight: 400; color: var(--blue); }
.site-footer__bottom { align-items: center; }
.site-footer__mark { font-size: 33vw; }
.site-footer__mark span { font-stretch: calc(50% + var(--i) * 20%); }

/* Transitions entre pages : fondu court ; l'image cliquée devient la couverture.
   Chrome, Edge et Safari ; ailleurs la page change normalement. Activées par
   le script d'en-tête (jamais sans JavaScript), et seulement après un clic sur
   un lien du site (main.js) : un envoi de formulaire change de page sans effet. */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
::view-transition-group(nt-cover) { animation-duration: .8s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
.nt-vt .project__cover { view-transition-name: nt-cover; }
.nt-vt [data-reveal-frame] { clip-path: none !important; }
.nt-vt [data-reveal-frame] > img { transform: none !important; }

/* Images qui défilent (cartes, plan suivant) */
.scrub { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .3s var(--ease-out); pointer-events: none; }
.scrub.is-on { opacity: 1; }
.scrub img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.scrub img.is-on { opacity: 1; }
.next__media .scrub img { opacity: 0; transform: none; }
.next__media .scrub img.is-on { opacity: .85; }

/* Planche : numéro, repères au survol */
.card__num { font-family: var(--hud); font-size: 11px; letter-spacing: .08em; color: var(--faint); align-self: center; }
.card__text { justify-content: flex-start; }
.card__meta { margin-left: auto; }
.card__hud {
	position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2;
	display: flex; justify-content: space-between;
	font-family: var(--hud); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
	color: rgba(255, 255, 255, .9); text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
	opacity: 0; transition: opacity .3s;
}
.card__hud b { font-weight: 400; }
.card__hud .tc { color: var(--blue); }
.card__link:hover .card__hud { opacity: 1; }
.card__status { z-index: 3; }

/* Bascule Planche / Index */
.view-switch {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	margin-bottom: clamp(24px, 3vw, 40px); padding-bottom: 14px; border-bottom: 1px solid var(--line);
	font-family: var(--hud); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.view-switch__btns { display: flex; gap: 6px; }
.view-switch button {
	padding: 7px 12px; border: 1px solid var(--line); border-radius: 3px;
	font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--muted);
	transition: color .25s, border-color .25s, background .25s;
}
.view-switch button:hover { color: #FFFFFF; border-color: var(--faint); }
.view-switch button[aria-pressed="true"] { color: #000000; background: var(--beige); border-color: var(--beige); }
.index--archive { margin: 0 0 clamp(64px, 8vw, 120px); }
.cards[hidden], .index--archive[hidden], .view-switch[hidden] { display: none !important; }

/* Fiche : repères de la couverture, fiche technique, chapitres numérotés */
.fiche__row dt { font-family: var(--hud); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.chapters { counter-reset: ch; }
.chapter { counter-increment: ch; }
.chapter .chapter__label::before {
	content: "PLAN 0" counter(ch);
	display: block; margin-bottom: 12px;
	font-family: var(--hud); font-size: 11px; font-weight: 400; letter-spacing: .1em; color: var(--faint);
}
.next .tc { color: var(--blue); margin-left: 12px; }
.next__text { z-index: 2; }

/* Services : départements numérotés, demande directe, déroulé */
.services__list { counter-reset: dep; }
.service { counter-increment: dep; }
.service__head::before {
	content: "DÉP. 0" counter(dep);
	flex: none; width: clamp(72px, 8vw, 120px);
	font-family: var(--hud); font-size: 11px; letter-spacing: .1em; color: var(--faint);
}
.service__title { margin-right: auto; }
.service__ask { justify-self: start; margin-top: 8px; font-size: 15px; }
.project-flow h2 { margin: 0 0 clamp(40px, 5vw, 72px); }

/* Studio */
.studio__frame { position: relative; }
.studio__text { counter-reset: st; }
.studio__text h2 { counter-increment: st; }
.studio__text h2::before {
	content: "PLAN 0" counter(st);
	display: block; margin-bottom: 10px;
	font-family: var(--hud); font-size: 11px; font-weight: 400; letter-spacing: .1em; color: var(--faint);
}

/* Contact : brief de production */
.brief-head {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 36px; border: 1px solid var(--line);
	font-family: var(--hud); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.brief-head span { padding: 12px 14px; min-width: 0; }
.brief-head span + span { border-left: 1px solid var(--line); }
.brief-head span:nth-child(2) { color: var(--cream); }
.brief-step {
	display: flex; align-items: baseline; gap: 14px; margin: 8px 0 -8px;
	padding-top: 14px; border-top: 1px solid var(--line);
	font-family: var(--hud); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream);
}
.brief-step span { color: var(--beige); }
.brief-note { margin: 12px 0 0; font-family: var(--hud); font-size: 11px; letter-spacing: .06em; color: var(--beige); }
.next-steps { display: grid; gap: 14px; margin-top: 16px; }
.next-steps .brief-step { margin: 0; }
.next-steps ol { margin: 0; padding-left: 1.2em; color: var(--muted); display: grid; gap: 8px; font-size: 15.5px; }
@media (max-width: 700px) {
	.brief-head { grid-template-columns: minmax(0, 1fr); }
	.brief-head span + span { border-left: 0; border-top: 1px solid var(--line); }
}

/* Signature : les grands titres s'étirent à leur apparition (largeur 50 % → normale). */
.stretch-in { transition: font-stretch 1.2s var(--ease-out); }
.stretch-in:not(.is-stretched) { font-stretch: 50%; }
@media (hover: hover) and (pointer: fine) {
	.index__title.is-stretched { transition: font-stretch .6s var(--ease-out), filter .5s var(--ease-out); }
	.index__link.is-active .index__title { font-stretch: 63%; }
}

@media (prefers-reduced-motion: reduce) {
	.tally { animation: none; }
	.stretch-in { transition: none; }
	::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
.seq-tag i { font-style: normal; color: inherit; }
.cta__form { display: grid; gap: 24px; justify-items: start; }
