/* Polices : Instrument Sans et Inter, chargées depuis Google Fonts (voir <head>) */

/* ==================================================================
   Anaïs Deshays — feuille de style du site
   Sections sombres et claires, grille de lignes fines, titres serrés
   avec une seconde ligne en italique, accent terracotta.
   ================================================================== */


:root {
	--black: #0b0b0c;
	--ink: #0f1010;
	--card: #1a1b1b;
	--card-hover: #222323;
	/* fonds sombres */
	--wine: #0b0b0c;
	--wine-deep: #0f1010;
	--line-dark: rgba(255, 255, 255, 0.09);
	--text-dark: rgba(255, 255, 255, 0.92);
	--muted-dark: rgba(255, 255, 255, 0.58);
	--paper: #f9f9f9;
	--white: #ffffff;
	--line: #e6e6e6;
	--text: #0f1010;
	--muted: #6f6f6f;
	--accent: #bd8d78;
	--accent-soft: #ead6cb;
	--accent-tint: rgba(189, 141, 120, 0.18);
	--heart: #e3173e;
	--radius: 0;
	--radius-lg: 0;
	--max: 1400px;
	--gutter: clamp(16px, 4vw, 64px);
	--side: 300px;
	--nav-h: 56px;
	--display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
	--body: "Inter", "Helvetica Neue", Arial, sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--nav-h) + 24px);
}
body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img,
video,
svg {
	display: block;
	max-width: 100%;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}
h1,
h2,
h3,
h4,
p,
ul {
	margin: 0;
}
ul {
	padding: 0;
	list-style: none;
}
:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 0;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Typographie ---------- */
.display,
.h1,
.h2,
.h3 {
	font-family: var(--display);
	font-weight: 400;
	color: inherit;
}
.h1 {
	font-size: clamp(42px, 5.2vw, 76px);
	line-height: 1.04;
	letter-spacing: -0.035em;
}
.h1 em,
.h2 em {
	font-style: italic;
	color: var(--accent);
}
.dark .h1 em,
.dark .h2 em {
	color: var(--accent-soft);
}
.h2 {
	font-size: clamp(30px, 3.2vw, 46px);
	line-height: 1.1;
	letter-spacing: -0.04em;
}
.h3 {
	font-size: 20px;
	line-height: 1.25;
	letter-spacing: -0.015em;
}
.lead {
	font-size: clamp(16px, 1.25vw, 18px);
	line-height: 1.6;
	color: var(--muted);
	max-width: 34em;
}
.dark .lead {
	color: var(--muted-dark);
}
.eyebrow {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}
.dark .eyebrow {
	color: var(--muted-dark);
}

/* ---------- Structure ---------- */
.dark {
	background: var(--wine);
	color: var(--text-dark);
}
.dark--ink {
	background: var(--wine-deep);
}
.light {
	background: var(--paper);
}
.wrap {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
/* Cadre à lignes fines : les bords du contenu sont tracés */
.frame {
	max-width: var(--max);
	margin: 0 auto;
	border-left: 1px solid var(--line);
	border-right: 1px solid var(--line);
}
.dark .frame {
	border-color: var(--line-dark);
}
.section {
	padding: clamp(72px, 9vw, 128px) 0;
}
.rule {
	height: 1px;
	background: var(--line);
	border: 0;
	margin: 0;
}
.dark .rule {
	background: var(--line-dark);
}

/* ---------- Boutons, étiquettes ---------- */
.btn {
	--fill: var(--accent);
	--fill-text: var(--white);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 18px;
	border-radius: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition:
		color 0.45s var(--ease),
		border-color 0.45s var(--ease),
		transform 0.2s var(--ease);
}
.btn:active {
	transform: scale(0.97);
}
/* remplissage qui part du point d'entrée de la souris */
.btn__fill {
	position: absolute;
	left: var(--x, 50%);
	top: var(--y, 50%);
	z-index: -1;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: var(--fill);
	transform: translate(-50%, -50%);
	transition:
		width 0.55s var(--ease),
		height 0.55s var(--ease);
	pointer-events: none;
}
.btn:hover .btn__fill,
.btn:focus-visible .btn__fill {
	width: var(--d, 400px);
	height: var(--d, 400px);
}
.btn.btn:hover,
.btn.btn:focus-visible {
	color: var(--fill-text);
}
/* libellé qui roule vers le haut au survol */
.btn__t {
	position: relative;
	display: inline-block;
	overflow: hidden;
	height: 1.2em;
	line-height: 1.2em;
}
.btn__t > span {
	display: block;
	transition: transform 0.55s var(--ease);
}
.btn:hover .btn__t > span,
.btn:focus-visible .btn__t > span {
	transform: translateY(-100%);
}
.btn svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	transition: transform 0.5s var(--ease);
}
.btn:hover svg:not(.heart) {
	transform: translateX(3px);
}
/* petit cœur qui bat au survol */
.btn .heart {
	width: 13px;
	height: 13px;
	color: var(--heart);
	transition: color 0.45s var(--ease);
}
.btn:hover .heart,
.btn:focus-visible .heart {
	animation: heartbeat 0.9s ease-in-out infinite;
}
@keyframes heartbeat {
	0%, 60%, 100% { transform: scale(1); }
	15% { transform: scale(1.3); }
	30% { transform: scale(0.95); }
	45% { transform: scale(1.18); }
}
.btn--light {
	background: var(--white);
	color: var(--ink);
	--fill: var(--accent);
}
.btn--dark {
	background: var(--ink);
	color: var(--white);
	--fill: var(--accent);
}
.btn--ghost {
	border: 1px solid var(--line);
	color: var(--text);
	--fill: var(--ink);
}
.dark .btn--ghost {
	border-color: rgba(255, 255, 255, 0.18);
	color: var(--text-dark);
	--fill: var(--white);
	--fill-text: var(--ink);
}
.btn--ghost:hover {
	border-color: var(--fill);
}
/* boutons d'action avec cœur : noirs, cœur blanc ; au survol blancs, cœur rouge */
.btn.btn--heart {
	background: var(--ink);
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.16);
	--fill: var(--white);
	--fill-text: var(--ink);
}
.light .btn.btn--heart,
.hl .btn.btn--heart {
	border-color: var(--ink);
}
.btn.btn--heart .heart {
	color: var(--white);
}
.btn.btn--heart:hover,
.btn.btn--heart:focus-visible {
	border-color: var(--ink);
}
.btn.btn--heart:hover .heart,
.btn.btn--heart:focus-visible .heart {
	color: var(--heart);
}
@media (prefers-reduced-motion: reduce) {
	.btn:hover .heart {
		animation-duration: 1.6s;
	}
}

.tag {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border-radius: 0;
	border: 1px solid var(--line);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	background: var(--white);
}
.dark .tag {
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.02);
	color: rgba(255, 255, 255, 0.85);
}
.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.announce {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 5px 10px 5px 5px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
	transition: border-color 0.3s;
}
.announce:hover {
	border-color: var(--accent);
}
.announce__tag {
	padding: 3px 6px;
	border-radius: 0;
	background: var(--accent-tint);
	color: var(--accent-soft);
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ---------- Navigation ---------- */
.nav {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	height: var(--nav-h);
	background: rgba(15, 16, 16, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line-dark);
	color: var(--white);
	transition: transform 0.5s var(--ease);
}
.nav--hidden {
	transform: translateY(-100%);
}
.nav__inner {
	height: 100%;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}
.nav__logo img {
	height: 30px;
	width: auto;
}
.nav__links {
	display: flex;
	height: var(--nav-h);
}
.nav__links a {
	display: flex;
	align-items: center;
	padding: 0 28px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.82);
	border-left: 1px solid var(--line-dark);
	transition: color 0.25s;
}
.nav__links a:last-child {
	border-right: 1px solid var(--line-dark);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
	color: var(--white);
}
.nav__links a[aria-current="page"] {
	box-shadow: inset 0 -2px 0 var(--accent);
}
.nav__actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}
.nav__actions .btn {
	height: 38px;
	font-size: 14px;
	padding: 0 14px;
}
.nav__burger {
	display: none;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
}
.nav__burger span {
	display: block;
	width: 20px;
	height: 1.5px;
	background: currentColor;
	box-shadow: 0 6px 0 currentColor;
	transform: translateY(-3px);
}
.menu {
	position: fixed;
	inset: var(--nav-h) 0 0 0;
	z-index: 49;
	background: var(--wine);
	color: var(--white);
	padding: 32px var(--gutter);
	display: none;
	flex-direction: column;
	gap: 6px;
}
.menu.is-open {
	display: flex;
}
.menu a {
	font-family: var(--display);
	font-size: 40px;
	letter-spacing: -0.03em;
	padding: 8px 0;
	border-bottom: 1px solid var(--line-dark);
}

/* ---------- Héros (accueil et pages) ---------- */
.hero {
	min-height: 100vh;
	min-height: 100svh;
	padding: 20px;
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 72px);
	position: relative;
	overflow: hidden;
}
/* fines colonnes verticales en fond, comme une trame */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 44px 100%;
	pointer-events: none;
	mask-image: linear-gradient(to right, transparent 45%, #000 70%);
	-webkit-mask-image: linear-gradient(to right, transparent 45%, #000 70%);
}
.hero--page {
	min-height: auto;
	padding-top: calc(var(--nav-h) + 20px);
}
.hero__media {
	position: relative;
	border-radius: 0;
	overflow: hidden;
	background: var(--card);
	min-height: 520px;
}
.hero__media img,
.hero__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__slide {
	opacity: 0;
	transform: scale(1.06);
	transition:
		opacity 1.4s var(--ease),
		transform 6s linear;
}
.hero__slide.is-active {
	opacity: 1;
	transform: scale(1);
}
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 11, 12, 0.05) 30%, rgba(11, 11, 12, 0.55) 100%);
	pointer-events: none;
}
.hero__caption {
	position: absolute;
	left: 24px;
	bottom: 22px;
	z-index: 2;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
	display: flex;
	gap: 10px;
	align-items: center;
}
.hero__dots {
	position: absolute;
	right: 24px;
	bottom: 26px;
	z-index: 2;
	display: flex;
	gap: 6px;
}
.hero__dots button {
	width: 22px;
	height: 3px;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.3);
	transition:
		background-color 0.4s,
		width 0.4s var(--ease);
}
.hero__dots button.is-active {
	width: 36px;
}
/* le point actif se remplit pendant la durée du visuel */
.hero__dots button {
	position: relative;
	overflow: hidden;
}
.hero__dots button::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--white);
	transform: scaleX(0);
	transform-origin: left;
}
.hero__dots button.is-active::after {
	animation: dot-fill 5.2s linear forwards;
}
@keyframes dot-fill {
	to { transform: scaleX(1); }
}

.hero__body {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 28px;
	padding: 72px 0 40px;
	max-width: 640px;
}
.hero__ctas {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 4px;
}
.hero__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	margin-top: auto;
	padding-top: 32px;
	font-size: 14px;
	color: var(--muted-dark);
}
.hero__links a:hover {
	color: var(--white);
}
.hero__corner {
	position: absolute;
	top: 22px;
	right: 28px;
	font-size: 13px;
	color: var(--muted-dark);
	z-index: 3;
}
.hero__corner a:hover {
	color: var(--white);
}

/* ---------- Bandeau de clients ---------- */
.clients {
	border-top: 1px solid var(--line-dark);
	overflow: hidden;
	height: 84px;
	display: flex;
	align-items: center;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.clients__track {
	display: flex;
	flex-shrink: 0;
	gap: 72px;
	padding-right: 72px;
	animation: marquee 42s linear infinite;
	white-space: nowrap;
}
.clients:hover .clients__track {
	animation-play-state: paused;
}
.clients__item {
	font-family: var(--display);
	font-size: 26px;
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.5);
	transition: color 0.3s;
}
.clients__item:hover {
	color: var(--white);
}
.clients__item--serif {
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 20px;
}
.clients__item--bold {
	font-weight: 500;
	letter-spacing: -0.04em;
}
.clients__item--italic {
	font-style: italic;
}
.clients__item--caps {
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 17px;
}
@keyframes marquee {
	to {
		transform: translateX(-100%);
	}
}

/* ---------- En-tête de section ---------- */
.head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	margin-bottom: clamp(40px, 5vw, 64px);
}
.head .h2 {
	max-width: 16em;
}

/* Onglets de filtre */
.filters {
	display: flex;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--white);
	flex-wrap: wrap;
}
.filters button {
	height: 36px;
	padding: 0 14px;
	border-radius: 0;
	font-size: 14px;
	color: var(--muted);
	transition:
		background-color 0.25s,
		color 0.25s;
}
.filters button:hover {
	color: var(--text);
}
.filters button[aria-pressed="true"] {
	background: var(--ink);
	color: var(--white);
}

/* ---------- Grille de projets ---------- */
.projects {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}
.project {
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 20px 20px 28px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	background: var(--paper);
	transition: background-color 0.4s;
}
.project:hover {
	background: var(--white);
}
.project[hidden] {
	display: none;
}
.project__media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 0;
	overflow: hidden;
	background: #ececec;
}
.project__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}
.project:hover .project__media img {
	transform: scale(1.045);
}
.project__go {
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--white);
	color: var(--ink);
	display: grid;
	place-items: center;
	opacity: 0;
	transform: translateY(8px);
	transition:
		opacity 0.35s,
		transform 0.45s var(--ease);
}
.project__go svg {
	width: 14px;
	height: 14px;
}
.project:hover .project__go {
	opacity: 1;
	transform: none;
}
.project__meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}
.project__title {
	font-family: var(--display);
	font-size: 22px;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
.project__desc {
	margin-top: 4px;
	font-size: 15px;
	color: var(--muted);
}
.project__cats {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
}

/* ---------- Section avec sommaire collant ---------- */
.split {
	display: grid;
	grid-template-columns: var(--side) minmax(0, 1fr);
}
.split__aside {
	border-right: 1px solid var(--line-dark);
	padding: clamp(72px, 9vw, 128px) var(--gutter) 0 0;
}
.light .split__aside,
.split--light .split__aside {
	border-color: var(--line);
}
.index {
	position: sticky;
	top: calc(var(--nav-h) + 48px);
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
}
.index a {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--muted-dark);
	transition: color 0.3s;
}
.light .index a {
	color: var(--muted);
}
.index a::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	transition: background-color 0.3s;
	flex-shrink: 0;
}
.light .index a::before {
	background: #e3e3e3;
}
.index a.is-active {
	color: var(--white);
}
.light .index a.is-active {
	color: var(--text);
}
.index a.is-active::before {
	background: var(--accent);
}
.split__main {
	padding-left: clamp(24px, 4vw, 48px);
}
.block {
	padding: clamp(72px, 9vw, 128px) 0;
}
.block + .block {
	border-top: 1px solid var(--line-dark);
}
.light .block + .block {
	border-top-color: var(--line);
}
.block .h2 {
	margin-bottom: 40px;
	max-width: 15em;
}

/* Cartes « expertise » (icône + libellé) */
.skills {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.skill {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 10px 20px 10px 10px;
	border-radius: 0;
	background: var(--card);
	transition: background-color 0.3s;
}
.skill:hover {
	background: var(--card-hover);
}
.skill__icon {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: 0;
	background: var(--accent-soft);
	color: var(--ink);
	display: grid;
	place-items: center;
}
.skill__icon svg {
	width: 26px;
	height: 26px;
}
.skill__label {
	font-size: 17px;
	color: var(--text-dark);
	line-height: 1.3;
}
.skill__tag {
	margin-left: auto;
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted-dark);
}

/* Étapes du parcours (onglets) */
.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 10px;
}
.step {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 54px;
	padding: 0 16px;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.025);
	color: var(--muted-dark);
	font-size: 15px;
	text-align: left;
	transition:
		background-color 0.3s,
		color 0.3s;
}
.step::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	box-shadow: none;
	flex-shrink: 0;
	transition: background-color 0.3s;
}
.step[aria-selected="true"] {
	background: var(--card);
	color: var(--white);
}
.step[aria-selected="true"]::before {
	background: var(--accent);
	box-shadow: 0 0 0 5px var(--accent-tint);
}
.panel {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	border-radius: 0;
	background: var(--card);
	overflow: hidden;
	min-height: 440px;
}
.panel[hidden] {
	display: none;
}
.panel__text {
	padding: 44px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
}
.panel__kicker {
	color: var(--accent);
	font-size: 13px;
	letter-spacing: 0.02em;
}
.panel__text .btn {
	margin-top: 6px;
}
/* Onglets du parcours : le panneau affiché entre en fondu */
.panel.is-current {
	animation: panel-in 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.panel.is-current .panel__media img {
	animation: panel-img 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes panel-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}
@keyframes panel-img {
	from { transform: scale(1.08); }
	to { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.panel.is-current,
	.panel.is-current .panel__media img {
		animation-duration: 0.01s;
	}
}
.block__lead {
	color: var(--muted-dark);
	max-width: 560px;
	margin: -12px 0 28px;
}

/* ---------- Méthode (accueil) ---------- */
.manifesto__head {
	display: grid;
	gap: 18px;
	max-width: 760px;
	margin-bottom: 56px;
}
.manifesto__head .lead {
	color: var(--muted-dark);
}
.principles {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}
.principle {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 24px 30px;
	border-radius: 0;
	background: var(--card);
	transition: background-color 0.3s;
}
.principle:hover {
	background: var(--card-hover);
}
.principle__num {
	color: var(--accent);
	font-size: 13px;
	margin-bottom: 36px;
}
.principle .h3 {
	color: var(--white);
}
.principle p {
	color: var(--muted-dark);
	font-size: 15px;
}
@media (max-width: 1080px) {
	.principles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 620px) {
	.principles {
		grid-template-columns: 1fr;
	}
	.principle__num {
		margin-bottom: 12px;
	}
}
.panel__text .h3 {
	color: var(--white);
}
.panel__text p {
	color: var(--muted-dark);
	font-size: 15px;
}
.panel__media {
	position: relative;
}
.panel__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.bars {
	display: grid;
	gap: 14px;
	margin-top: 8px;
}
.bar {
	display: grid;
	grid-template-columns: 120px 1fr 40px;
	align-items: center;
	gap: 14px;
	font-size: 14px;
	color: var(--text-dark);
}
.bar__track {
	height: 3px;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}
.bar__fill {
	height: 100%;
	width: var(--v);
	background: var(--accent);
	transform-origin: left;
}
.bar__value {
	color: var(--muted-dark);
	text-align: right;
}

/* ---------- Projet à la une (image pleine largeur + carte) ---------- */
.feature {
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.feature__bg {
	position: absolute;
	inset: -8% 0;
	background-size: cover;
	background-position: center;
	will-change: transform;
}
.feature__card {
	position: relative;
	margin-left: auto;
	width: min(460px, 100%);
	background: var(--paper);
	border-radius: 0;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.feature__quote {
	font-family: var(--display);
	font-size: 22px;
	line-height: 1.35;
	letter-spacing: -0.015em;
}
.feature__foot {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font-size: 14px;
	color: var(--muted);
}
.feature__foot strong {
	display: block;
	color: var(--text);
	font-weight: 500;
}
.feature__thumb {
	width: 40px;
	height: 40px;
	border-radius: 0;
	object-fit: cover;
}

/* ---------- Appel à contact ---------- */
.cta {
	position: relative;
	overflow: hidden;
}
.cta__inner {
	padding: clamp(96px, 12vw, 168px) 0 clamp(72px, 8vw, 104px);
	display: flex;
	flex-direction: column;
	gap: 28px;
	align-items: flex-start;
}
.cta .h1 {
	max-width: 12em;
}
.cta__shape {
	position: absolute;
	right: -6%;
	top: 50%;
	width: min(52vw, 720px);
	aspect-ratio: 1;
	transform: translateY(-50%);
	border-radius: 50%;
	border: 1px solid var(--line-dark);
	pointer-events: none;
}
.cta__shape::before,
.cta__shape::after {
	content: "";
	position: absolute;
	inset: 14%;
	border-radius: 50%;
	border: 1px solid var(--line-dark);
}
.cta__shape::after {
	inset: 34%;
	background: radial-gradient(circle, var(--accent-tint), transparent 70%);
	border-color: rgba(189, 141, 120, 0.3);
}

/* ---------- Pied de page ---------- */
.footer {
	background: var(--white);
	padding-top: 96px;
	overflow: hidden;
}
.footer__grid {
	display: grid;
	grid-template-columns: var(--side) 1fr 1fr;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.footer__grid > div {
	padding: 40px 0 48px;
}
.footer__grid > div + div {
	border-left: 1px solid var(--line);
	padding-left: 40px;
}
.footer__logo img {
	height: 46px;
	width: auto;
}
.footer h4 {
	font-size: 13px;
	font-weight: 400;
	color: var(--muted);
	margin-bottom: 22px;
}
.footer li a {
	display: inline-block;
	font-family: var(--display);
	font-size: 22px;
	letter-spacing: -0.015em;
	line-height: 1.6;
	transition: color 0.25s;
}
.footer li a:hover {
	color: var(--accent);
}
.footer__copy {
	margin-top: 56px;
	font-size: 13px;
	color: var(--muted);
}
.footer__big {
	display: grid;
	grid-template-columns: var(--side) 1fr;
}
.footer__big div:first-child {
	border-right: 1px solid var(--line);
}
.footer__big p {
	font-family: var(--display);
	font-size: clamp(80px, 13.5vw, 230px);
	line-height: 0.78;
	letter-spacing: -0.06em;
	white-space: nowrap;
	padding: 96px 0 0 32px;
	background: linear-gradient(180deg, #e4e4e4 0%, #f6f6f6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	transform: translateY(14%);
}

/* ---------- Apparitions au défilement ---------- */
.js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.9s var(--ease),
		transform 1.1s var(--ease);
	transition-delay: var(--d, 0s);
}
.js .reveal.is-in {
	opacity: 1;
	transform: none;
}
.js .hero .reveal {
	transform: translateY(16px);
}
.page-fade {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: var(--wine);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.45s ease;
}
.js.is-leaving .page-fade {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.js .reveal {
		transform: none;
		transition: opacity 0.6s ease;
	}
	.clients__track {
		animation-duration: 120s;
	}
	.hero__slide {
		transition: opacity 0.8s ease;
		transform: none !important;
	}
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
	:root {
		--side: 220px;
	}
	.projects {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.nav__links a {
		padding: 0 18px;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
	:root {
		--nav-h: 56px;
	}
	.nav__links,
	.nav__actions .btn--ghost {
		display: none;
	}
	.nav__inner {
		grid-template-columns: 1fr auto;
	}
	.nav__actions {
		gap: 4px;
	}
	.nav__burger {
		display: inline-flex;
	}
	.hero {
		grid-template-columns: 1fr;
		padding: 12px;
		padding-top: calc(var(--nav-h) + 12px);
		min-height: auto;
	}
	.hero__media {
		min-height: 62vh;
	}
	.hero__body {
		padding: 28px 4px 24px;
		gap: 22px;
	}
	.hero__corner {
		display: none;
	}
	.hero__links {
		display: none;
	}
	.projects {
		grid-template-columns: 1fr;
	}
	.split {
		grid-template-columns: 1fr;
	}
	.split__aside {
		display: none;
	}
	.split__main {
		padding-left: 0;
	}
	.skills,
	.steps {
		grid-template-columns: 1fr;
	}
	.panel {
		grid-template-columns: 1fr;
	}
	.panel__media {
		min-height: 300px;
		order: -1;
	}
	.panel__text {
		padding: 28px 22px;
	}
	.bar {
		grid-template-columns: 96px 1fr 36px;
	}
	.feature {
		min-height: auto;
		padding: 240px 0 24px;
	}
	.footer__grid,
	.footer__big {
		grid-template-columns: 1fr;
	}
	.footer__grid > div + div {
		border-left: 0;
		border-top: 1px solid var(--line);
		padding-left: 0;
	}
	.footer__big div:first-child {
		display: none;
	}
	.footer__big p {
		padding-left: 0;
	}
	.frame {
		border: 0;
	}
}

/* Boutons de la barre de navigation (toujours sur fond sombre) */
.nav .btn--ghost {
	border-color: rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.9);
	--fill: var(--white);
	--fill-text: var(--ink);
}

/* ==================================================================
   Liste des projets : image qui suit la souris
   ================================================================== */
.rows {
	border-top: 1px solid var(--line);
}
.row {
	position: relative;
	display: grid;
	grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) 160px 40px;
	align-items: center;
	gap: 24px;
	padding: 26px 8px;
	border-bottom: 1px solid var(--line);
	transition: padding 0.5s var(--ease);
}
.row[hidden] {
	display: none;
}
.row::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--white);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.5s var(--ease);
	z-index: 0;
}
.row > * {
	position: relative;
	z-index: 1;
}
.row:hover::before {
	transform: scaleY(1);
}
.row:hover {
	padding-left: 24px;
}
.row__num {
	font-size: 13px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}
.row__name {
	font-family: var(--display);
	font-size: clamp(28px, 3.4vw, 50px);
	line-height: 1;
	letter-spacing: -0.045em;
	transition: color 0.4s;
}
.row:hover .row__name {
	color: var(--accent);
	font-style: italic;
}
.row__desc {
	color: var(--muted);
	font-size: 15px;
}
.row__cats {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	text-align: right;
}
.row__arrow {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--line);
	display: grid;
	place-items: center;
	transition:
		background-color 0.4s,
		color 0.4s,
		transform 0.5s var(--ease);
}
.row__arrow svg {
	width: 14px;
	height: 14px;
}
.row:hover .row__arrow {
	background: var(--ink);
	color: var(--white);
	border-color: var(--ink);
	transform: rotate(-45deg);
}
.row__thumb {
	display: none;
}
.peek {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 40;
	width: 380px;
	aspect-ratio: 4 / 3;
	border-radius: 0;
	overflow: hidden;
	pointer-events: none;
	opacity: 0;
	will-change: transform, opacity;
	box-shadow: none;
}
.peek img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.12);
	transition:
		opacity 0.45s ease,
		transform 0.7s var(--ease);
}
.peek img.is-on {
	opacity: 1;
	transform: none;
}
@media (max-width: 820px) {
	.row {
		grid-template-columns: 88px minmax(0, 1fr) 32px;
		gap: 14px;
		padding: 16px 0;
	}
	.row:hover {
		padding-left: 0;
	}
	.row__num,
	.row__desc,
	.row__cats {
		display: none;
	}
	.row__thumb {
		display: block;
		aspect-ratio: 4 / 3;
		border-radius: 0;
		overflow: hidden;
		grid-row: 1;
		grid-column: 1;
	}
	.row__thumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.row__name {
		font-size: 26px;
	}
	.row__arrow {
		width: 32px;
		height: 32px;
	}
	.peek {
		display: none;
	}
}

/* Avant le lancement des animations : le héros reste masqué (évite un flash) */
.preload .hero__media,
.preload .hero__body,
.preload .hero__corner {
	visibility: hidden;
}

/* ==================================================================
   Pages intérieures
   ================================================================== */
.hero--text {
	grid-template-columns: 1fr;
	min-height: 0;
	padding: calc(var(--nav-h) + clamp(72px, 10vw, 140px)) var(--gutter) clamp(56px, 7vw, 96px);
	max-width: var(--max);
	margin: 0 auto;
}
.hero--text .hero__body {
	padding: 0;
	max-width: 880px;
}
.hero--page .hero__media {
	min-height: min(72vh, 680px);
}
.back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--muted-dark);
	transition: color 0.25s;
}
.back svg {
	width: 14px;
	height: 14px;
	transform: rotate(180deg);
}
.back:hover {
	color: var(--white);
}

/* ---------- Page projet : contenu ---------- */
.pc {
	display: grid;
	grid-template-columns: var(--side) minmax(0, 1fr);
}
.pc__aside {
	border-right: 1px solid var(--line);
	padding: clamp(64px, 8vw, 112px) var(--gutter) 0 0;
}
.facts {
	display: grid;
	gap: 18px;
	margin-bottom: 40px;
	font-size: 14px;
}
.facts dt {
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 4px;
}
.facts dd {
	margin: 0;
}
.pc__aside .index {
	top: calc(var(--nav-h) + 40px);
}
.pc__main {
	padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 8vw, 120px) clamp(24px, 4vw, 56px);
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}
.pc__main > .h2 {
	margin-top: 40px;
	font-size: clamp(26px, 2.6vw, 38px);
}
.pc__main > .h2:first-child {
	margin-top: 0;
}
.pc__main > p {
	font-size: 17px;
	line-height: 1.65;
	color: #3c3c3c;
	max-width: 40em;
}
.pc__main > ul {
	display: grid;
	gap: 8px;
	max-width: 40em;
}
.pc__main > ul li {
	position: relative;
	padding-left: 22px;
	color: #3c3c3c;
}
.pc__main > ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 8px;
	height: 1px;
	background: var(--accent);
}
.cap {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 16px;
	margin-bottom: -12px;
}
.fig {
	margin: 0;
	border-radius: 0;
	overflow: hidden;
	background: #efefef;
}
.fig img {
	width: 100%;
	height: auto;
}
.figs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.figs .fig {
	aspect-ratio: 1;
	display: grid;
	place-items: center;
}
.figs .fig img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.vids {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}
.vid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.vid video {
	width: 100%;
	border-radius: 0;
	background: var(--ink);
	aspect-ratio: 9 / 16;
	object-fit: cover;
}
.vid--wide video {
	aspect-ratio: 16 / 9;
}
.vid span {
	font-size: 13px;
	color: var(--muted);
}
.embed {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 0;
	overflow: hidden;
	background: var(--ink);
}
.embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.swatches {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}
.swatch {
	border: 1px solid var(--line);
	border-radius: 0;
	overflow: hidden;
	background: var(--white);
}
.swatch i {
	display: block;
	aspect-ratio: 4 / 3;
}
.swatch span {
	display: block;
	padding: 10px 12px;
	font-size: 14px;
}
.swatch small {
	display: block;
	color: var(--muted);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}
.pc__main .panel {
	color: var(--text-dark);
	min-height: 380px;
	margin: 12px 0;
}
.pc__main .panel .h3 {
	font-size: 24px;
}
.pc__main .panel__text {
	justify-content: center;
}
.pc__main .panel__text p {
	font-size: 15px;
}

/* ---------- Projet suivant ---------- */
.next {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	padding: clamp(80px, 10vw, 140px) 0;
}
.next__label {
	margin-bottom: 18px;
}
.next__name {
	transition: color 0.4s;
}
.next__name svg {
	display: inline-block;
	vertical-align: 0.05em;
	margin-left: 0.15em;
	width: 0.6em;
	height: 0.6em;
	transition: transform 0.5s var(--ease);
}
.next:hover .next__name {
	color: var(--accent-soft);
}
.next:hover .next__name svg {
	transform: translateX(10px);
}
.next__media {
	aspect-ratio: 4 / 3;
	border-radius: 0;
	overflow: hidden;
}
.next__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease);
}
.next:hover .next__media img {
	transform: scale(1.05);
}

/* ---------- Parcours ---------- */
.xps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.xp {
	background: var(--card);
	border-radius: 0;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.xp__top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}
.xp__top .h3 {
	color: var(--white);
	font-size: 24px;
}
.xp__years {
	font-size: 13px;
	color: var(--accent-soft);
	white-space: nowrap;
}
.xp p {
	font-size: 15px;
	color: var(--muted-dark);
}
.xp p b {
	color: var(--text-dark);
	font-weight: 500;
}
.duo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.duo .xp ul {
	display: grid;
	gap: 10px;
}
.duo .xp li {
	position: relative;
	padding-left: 22px;
	font-size: 15px;
	color: var(--text-dark);
}
.duo .xp li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.75em;
	width: 10px;
	height: 1px;
	background: var(--accent);
}
.tools {
	background: var(--card);
	border-radius: 0;
	padding: 32px;
	max-width: 720px;
}

/* ---------- Contact ---------- */
.reach {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line-dark);
	margin-top: 8px;
}
.reach a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line-dark);
	font-family: var(--display);
	font-size: clamp(20px, 2vw, 26px);
	letter-spacing: -0.02em;
	transition:
		color 0.3s,
		padding 0.4s var(--ease);
}
.reach a span {
	font-family: var(--body);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted-dark);
}
.reach a:hover {
	color: var(--accent-soft);
	padding-left: 10px;
}
.form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	max-width: 880px;
}
.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.field--full {
	grid-column: 1 / -1;
}
.field label {
	font-size: 13px;
	color: var(--muted);
}
.field input,
.field textarea {
	font: inherit;
	font-size: 16px;
	color: var(--text);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 0;
	padding: 14px 16px;
	transition:
		border-color 0.25s,
		box-shadow 0.25s;
}
.field textarea {
	min-height: 180px;
	resize: vertical;
}
.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-tint);
}
.form__honey {
	position: absolute;
	left: -9999px;
}
.form__foot {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 6px;
}
.form__status {
	font-size: 14px;
	color: var(--muted);
}
.form button[disabled] {
	opacity: 0.6;
	cursor: progress;
}

@media (max-width: 820px) {
	.pc {
		grid-template-columns: 1fr;
	}
	.pc__aside {
		border-right: 0;
		padding: 48px 0 0;
	}
	.pc__aside .index {
		display: none;
	}
	.facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-bottom: 0;
	}
	.pc__main {
		padding: 32px 0 72px;
	}
	.figs {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}
	.next {
		grid-template-columns: 1fr;
	}
	.xps,
	.duo,
	.form {
		grid-template-columns: 1fr;
	}
	.hero--text {
		padding-top: calc(var(--nav-h) + 56px);
	}
}

/* ---------- Pages projet : images mises en avant, l'une sous l'autre ---------- */
.pc__main {
	gap: clamp(28px, 3.4vw, 48px);
}
.pc__main .fig {
	width: 100%;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}
.pc__main .fig img {
	display: block;
	width: 100%;
	height: auto;
}
.pc__main .cap {
	margin-bottom: calc(-1 * clamp(14px, 2vw, 30px));
}
.txt {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 40em;
}
.txt p {
	font-size: 17px;
	line-height: 1.65;
	color: #3c3c3c;
}
.txt b {
	color: var(--text) !important;
}
.pc__main .vid {
	align-items: center;
}
.pc__main .vid video {
	width: auto;
	max-width: 100%;
	height: min(82vh, 860px);
	aspect-ratio: 9 / 16;
	box-shadow: none;
}
.pc__main .vid--wide video {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}
@media (max-width: 820px) {
	.pc__main .vid video {
		height: auto;
		width: 100%;
	}
}

/* ---------- Parcours : chiffres, méthode, outils, conviction ---------- */
.stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 8px 0 clamp(48px, 6vw, 80px);
	border-top: 1px solid var(--line-dark);
}
.stat {
	padding: 24px 24px 0 0;
}
.stat + .stat {
	padding-left: 24px;
	border-left: 1px solid var(--line-dark);
}
.stat dt {
	color: var(--muted-dark);
	font-size: 13px;
	margin-bottom: 10px;
}
.stat dd {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(40px, 5vw, 72px);
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--white);
}
.stat dd em {
	color: var(--accent);
}
.msteps {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line-dark);
}
.mstep {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: 20px;
	align-items: start;
	padding: 26px 0;
	border-bottom: 1px solid var(--line-dark);
}
.mstep__num {
	color: var(--accent);
	font-size: 13px;
	padding-top: 6px;
}
.mstep__body {
	display: grid;
	gap: 8px;
}
.mstep .h3 {
	color: var(--white);
}
.mstep p {
	color: var(--muted-dark);
	font-size: 15px;
	max-width: 560px;
}
.mstep__who {
	font-size: 12px;
	letter-spacing: 0.04em;
	padding: 6px 10px;
	border-radius: 0;
	border: 1px solid var(--line-dark);
	color: var(--text-dark);
	white-space: nowrap;
}
.mstep__who--ai {
	border-color: var(--accent);
	color: var(--accent-soft);
	background: var(--accent-tint);
}
.duo--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.xp--ai {
	box-shadow: inset 0 0 0 1px var(--accent);
}
.tools-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.tools-grid .tools {
	max-width: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.tools .h3 {
	color: var(--white);
}
.tools__lead {
	color: var(--muted-dark);
	font-size: 15px;
	margin-bottom: 8px;
}
.tools--ai .tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.statement {
	padding: clamp(80px, 12vw, 180px) 0;
	border-top: 1px solid var(--line-dark);
}
.statement__text {
	font-family: var(--display);
	font-size: clamp(32px, 4.6vw, 68px);
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: var(--white);
	max-width: 1000px;
}
.statement__text em {
	color: var(--accent-soft);
}
.statement__sign {
	margin-top: 28px;
	color: var(--muted-dark);
	font-size: 14px;
}
@media (max-width: 1080px) {
	.duo--3 {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 820px) {
	.stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.stat:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}
	.mstep {
		grid-template-columns: 40px minmax(0, 1fr);
	}
	.mstep__who {
		grid-column: 2;
		justify-self: start;
	}
	.tools-grid {
		grid-template-columns: 1fr;
	}
}
.xps > .xp:first-child {
	grid-column: 1 / -1;
	box-shadow: inset 0 0 0 1px var(--accent);
}
.pc__main .vid--square video {
	height: auto;
	width: min(100%, 640px);
	aspect-ratio: 1 / 1;
}

/* =========================================================
   Accueil : en-tête clair, cartes projet animées
   ========================================================= */
.hl {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: var(--ink);
}
.hl__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px var(--gutter);
	max-width: var(--max);
	width: 100%;
	margin: 0 auto;
	position: relative;
	z-index: 5;
}
.hl__logo img {
	height: 34px;
	width: auto;
}
.hl__links {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 15px;
}
.hl__links > a:not(.btn) {
	color: var(--ink);
	opacity: 0.7;
	transition: opacity 0.25s;
}
.hl__links > a:not(.btn):hover {
	opacity: 1;
}
.hl__links .btn {
	height: 40px;
}
.hl__grid {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 4vw, 64px);
	max-width: var(--max);
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.hl__text {
	display: flex;
	flex-direction: column;
	gap: 26px;
	padding: 40px 0;
}
.hl__title {
	font-size: clamp(44px, 5.2vw, 82px);
	line-height: 0.98;
	letter-spacing: -0.045em;
}
.hl__lead {
	font-size: clamp(17px, 1.4vw, 20px);
	color: var(--muted);
}
.hl .btn--ghost {
	border-color: rgba(15, 16, 16, 0.16);
	color: var(--ink);
}
.hl__visual {
	position: relative;
	height: min(76svh, 720px);
}
.hl .clients {
	border-top: 1px solid var(--line);
	height: 76px;
	flex-shrink: 0;
}
.hl .clients__item {
	color: rgba(15, 16, 16, 0.38);
}
.hl .clients__item:hover {
	color: var(--ink);
}

/* Carte projet */
.pcard {
	display: block;
	background: var(--white);
	border-radius: 0;
	padding: 10px 10px 0;
	box-shadow: none;
	color: var(--ink);
}
.pcard__media {
	display: block;
	border-radius: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #eee;
}
.pcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}
.pcard:hover .pcard__media img {
	transform: scale(1.05);
}
.pcard__info {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 14px 6px 16px;
}
.pcard__name {
	font-family: var(--display);
	font-size: 19px;
	letter-spacing: -0.02em;
}
.pcard__cat {
	font-size: 12px;
	color: var(--muted);
	white-space: nowrap;
}

/* Pile de cartes (glisser pour changer) */
.deck {
	position: absolute;
	inset: 0 0 56px;
	perspective: 1600px;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
	--rx: 0deg;
	--ry: 0deg;
	--dx: 24px;
	--k: 0;
}
.deck .pcard {
	/* --q : rang affiché ; les cartes remontent pendant qu'on lance celle du dessus */
	--q: calc(var(--p) - var(--k) * min(var(--p), 1));
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(440px, 78%);
	margin-left: calc(min(440px, 78%) / -2);
	margin-top: -190px;
	transform: rotateX(var(--rx)) rotateY(var(--ry)) translate3d(calc(var(--q) * var(--dx) - var(--dx) * 1.5), calc(var(--q) * -20px + 30px), calc(var(--q) * -40px)) rotate(calc(var(--q) * 3.5deg)) translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--tr, 0deg));
	opacity: clamp(0, calc(4 - var(--q)), 1);
	transition:
		transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 0.6s ease;
	will-change: transform;
	cursor: grab;
	-webkit-user-drag: none;
}
.deck .pcard img {
	-webkit-user-drag: none;
	pointer-events: none;
}
.deck .pcard.is-drag {
	transition: none;
}
.deck.is-grabbing .pcard {
	cursor: grabbing;
}
.deck .pcard.is-out {
	transform: translate3d(calc(var(--out, -1) * 130%), 40px, 0) rotate(calc(var(--out, -1) * 18deg));
	opacity: 0;
	transition:
		transform 0.56s cubic-bezier(0.4, 0, 0.7, 0.2),
		opacity 0.45s ease 0.1s;
}
.deck .pcard.no-anim {
	transition: none;
}
.deck.is-intro .pcard {
	transform: translate3d(var(--sx, 0px), var(--sy, -40vh), 0) rotate(var(--sr, -10deg)) scale(0.7);
	opacity: 0;
	transition: none;
}
.deck .pcard:not(.is-front) {
	pointer-events: none;
}
/* pastille qui suit la souris */
.deck-cursor {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 20;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 0;
	background: var(--wine);
	color: var(--white);
	font-size: 13px;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	scale: 0.6;
	transition:
		opacity 0.3s,
		scale 0.4s var(--ease);
}
.deck-cursor i {
	font-style: normal;
	opacity: 0.6;
	transition: transform 0.3s var(--ease);
}
.deck.is-hover .deck-cursor {
	opacity: 1;
	scale: 1;
}
.deck.is-grabbing .deck-cursor {
	scale: 0.85;
}
.deck.is-grabbing .deck-cursor i:first-child {
	transform: translateX(-4px);
}
.deck.is-grabbing .deck-cursor i:last-child {
	transform: translateX(4px);
}
@media (hover: hover) and (pointer: fine) {
	.deck .pcard {
		cursor: none;
	}
}
/* flèches et compteur sous la pile */
.deck-nav {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}
.deck-nav button {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(15, 16, 16, 0.14);
	color: var(--ink);
	display: grid;
	place-items: center;
	transition:
		background-color 0.25s,
		color 0.25s,
		border-color 0.25s;
}
.deck-nav button:hover {
	background: var(--wine);
	border-color: var(--wine);
	color: var(--white);
}
.deck-nav svg {
	width: 14px;
	height: 14px;
}
.deck-nav [data-deck-prev] svg {
	transform: scaleX(-1);
}

@media (max-width: 900px) {
	.hl__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.hl__text {
		padding: 24px 0 8px;
	}
	.hl__visual {
		height: 460px;
	}
	.hl__links > a:not(.btn) {
		display: none;
	}
	.deck {
		--dx: 12px;
	}
	.deck .pcard {
		width: min(320px, 74%);
		margin-left: calc(min(320px, 74%) / -2);
		margin-top: -150px;
	}
}

/* ---------- Cartes fines (révision) ---------- */
.pcard {
	background: none;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
}
.pcard__media {
	border-radius: 0;
	box-shadow: none;
}
.pcard__info {
	padding: 12px 0 0;
}
.pcard__name {
	font-size: 14px;
	letter-spacing: -0.01em;
}
.pcard__cat {
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.deck .pcard .pcard__info {
	opacity: 0;
	transition: opacity 0.4s;
}
.deck .pcard.is-front .pcard__info,
.deck.is-open .pcard .pcard__info {
	opacity: 1;
}

/* ---------- Parcours : frise des expériences ---------- */
.tl {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line-dark);
}
.tl__row {
	position: relative;
	display: grid;
	grid-template-columns: 150px minmax(0, 0.9fr) minmax(0, 1.4fr);
	grid-template-areas:
		"when who what"
		"when who tags";
	column-gap: 28px;
	row-gap: 14px;
	padding: 30px 0;
	border-bottom: 1px solid var(--line-dark);
}
.tl__row::before {
	content: "";
	position: absolute;
	left: 0;
	top: -1px;
	height: 1px;
	width: 0;
	background: var(--accent);
	transition: width 0.8s var(--ease);
}
.tl__row:hover::before {
	width: 100%;
}
.tl__when {
	grid-area: when;
	font-size: 13px;
	color: var(--accent-soft);
	padding-top: 6px;
	font-variant-numeric: tabular-nums;
}
.tl__row--now .tl__when::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-tint);
	vertical-align: 2px;
}
.tl__who {
	grid-area: who;
	display: grid;
	gap: 4px;
	align-content: start;
}
.tl__name {
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(24px, 2.2vw, 32px);
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: var(--white);
	transition: color 0.3s;
}
.tl__row:hover .tl__name {
	color: var(--accent-soft);
	font-style: italic;
}
.tl__role {
	font-size: 13px;
	color: var(--muted-dark);
}
.tl__what {
	grid-area: what;
	font-size: 15px;
	color: var(--text-dark);
	max-width: 520px;
}
.tl__tags {
	grid-area: tags;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.tl__tags span {
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 5px 9px;
	border-radius: 0;
	border: 1px solid var(--line-dark);
	color: var(--muted-dark);
}
@media (max-width: 900px) {
	.tl__row {
		grid-template-columns: 1fr;
		grid-template-areas: "when" "who" "what" "tags";
		row-gap: 10px;
		padding: 24px 0;
	}
	.tl__when {
		padding-top: 0;
	}
}

/* ---------- Galerie de visuels (sans ombre, sans fond) ---------- */
.gal {
	display: grid;
	gap: clamp(10px, 1.4vw, 20px);
	align-items: start;
	margin: 4px 0 24px;
}
.gal--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gal--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gal--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}
.gal img {
	display: block;
	width: 100%;
	height: auto;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}
@media (max-width: 900px) {
	.gal--4,
	.gal--5 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.gal--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- Projet : texte + galerie compacte côte à côte ---------- */
.txt ul,
.show__text ul {
	display: grid;
	gap: 10px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}
.txt li,
.show__text li {
	position: relative;
	padding-left: 22px;
	font-size: 16px;
	line-height: 1.55;
	color: #3c3c3c;
}
.txt li::before,
.show__text li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.78em;
	width: 10px;
	height: 1px;
	background: var(--accent);
}
.show {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
	padding: 40px 0 8px;
	border-top: 1px solid var(--line);
}
.show__text {
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: sticky;
	top: calc(var(--nav-h) + 24px);
}
.show__text p {
	font-size: 16px;
	line-height: 1.65;
	color: #3c3c3c;
}
.show__count {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent);
}
.gal--sm {
	gap: 8px;
	margin: 0;
}
.gal__item {
	display: block;
	cursor: zoom-in;
	overflow: hidden;
}
.gal__item img {
	transition: transform 0.6s var(--ease);
}
.gal__item:hover img {
	transform: scale(1.04);
}
@media (max-width: 900px) {
	.show {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.show__text {
		position: static;
	}
	.gal--sm.gal--5 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.gal--sm.gal--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ---------- Visionneuse plein écran ---------- */
.lb {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	background: rgba(11, 11, 12, 0.94);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}
.lb.is-open {
	opacity: 1;
	pointer-events: auto;
}
.lb img {
	max-width: min(92vw, 1080px);
	max-height: 88vh;
	width: auto;
	height: auto;
	transform: scale(0.96);
	transition: transform 0.4s var(--ease);
}
.lb.is-open img {
	transform: none;
}
.lb button {
	position: absolute;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: var(--white);
	font-size: 20px;
	display: grid;
	place-items: center;
	transition: background-color 0.25s;
}
.lb button:hover {
	background: rgba(255, 255, 255, 0.12);
}
.lb__close {
	top: 20px;
	right: 20px;
}
.lb__prev {
	left: 20px;
	top: 50%;
	margin-top: -23px;
}
.lb__next {
	right: 20px;
	top: 50%;
	margin-top: -23px;
}
.lb__count {
	position: absolute;
	bottom: 22px;
	left: 0;
	right: 0;
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
	font-size: 12px;
	letter-spacing: 0.06em;
}

/* ---------- Navigation mobile fixe en bas ---------- */
.tabbar {
	display: none;
}
@media (max-width: 820px) {
	.tabbar {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: calc(10px + env(safe-area-inset-bottom, 0px));
		z-index: 60;
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 4px;
		padding: 6px;
		border-radius: 0;
		background: rgba(15, 16, 16, 0.88);
		-webkit-backdrop-filter: blur(14px) saturate(1.4);
		backdrop-filter: blur(14px) saturate(1.4);
		border: 1px solid rgba(255, 255, 255, 0.08);
		box-shadow: none;
	}
	.tabbar__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		height: 54px;
		border-radius: 0;
		color: rgba(255, 255, 255, 0.6);
		font-size: 11px;
		letter-spacing: 0.01em;
		transition:
			background-color 0.25s,
			color 0.25s,
			transform 0.2s var(--ease);
		-webkit-tap-highlight-color: transparent;
	}
	.tabbar__item svg {
		width: 21px;
		height: 21px;
	}
	.tabbar__item:active {
		transform: scale(0.94);
	}
	.tabbar__item[aria-current="page"] {
		color: var(--white);
		background: rgba(255, 255, 255, 0.09);
	}
	.tabbar__item--cta {
		color: var(--ink);
		background: var(--accent-soft);
	}
	.tabbar__item--cta svg {
		color: var(--heart);
		fill: var(--heart);
		stroke: var(--heart);
	}
	.tabbar__item--cta[aria-current="page"] {
		color: var(--ink);
		background: var(--white);
	}
	/* la barre remplace le menu burger */
	.nav__burger,
	.menu {
		display: none !important;
	}
	body {
		padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
	}
}

/* ---------- Accueil : entrée sobre et effets souris ---------- */
.hl__rule {
	display: block;
	width: 64px;
	height: 1px;
	background: var(--accent);
	transform-origin: left;
	margin-bottom: -10px;
}
/* variante a : fin cercle qui suit la souris */
.cursor-ring,
.cursor-dot {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 30;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s;
}
.cursor-ring::before {
	content: "";
	position: absolute;
	left: -18px;
	top: -18px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(15, 16, 16, 0.45);
	transition:
		transform 0.5s var(--ease),
		background-color 0.4s,
		border-color 0.4s;
}
.cursor-dot::before {
	content: "";
	position: absolute;
	left: -2px;
	top: -2px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--ink);
}
.hl.cursor-on .cursor-ring,
.hl.cursor-on .cursor-dot {
	opacity: 1;
}
.hl.cursor-link .cursor-ring::before {
	transform: scale(1.7);
	background: rgba(189, 141, 120, 0.12);
	border-color: var(--accent);
}
.hl.cursor-link .cursor-dot {
	opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
	.hl[data-fx="a"].cursor-on,
	.hl[data-fx="a"].cursor-on a,
	.hl[data-fx="a"].cursor-on button {
		cursor: none;
	}
}
/* variante b : halo très doux sous la souris */
.hl__glow {
	position: absolute;
	left: -360px;
	top: -360px;
	width: 720px;
	height: 720px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(189, 141, 120, 0.13), rgba(189, 141, 120, 0));
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.8s;
}
.hl.glow-on .hl__glow {
	opacity: 1;
}
.hl__grid,
.hl .clients {
	position: relative;
	z-index: 1;
}

/* ---------- Parcours (version claire et simple) ---------- */
.pp-hero {
	padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 clamp(56px, 7vw, 96px);
}
.pp-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
}
.pp-hero__media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 0;
	background: #ececec;
	max-height: 680px;
}
.pp-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}
.pp-hero__text {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.pp-hero__text .lead {
	font-size: 18px;
	color: #4a4a4a;
}
.pp-sec {
	padding: clamp(48px, 6vw, 88px) 0;
	border-top: 1px solid var(--line);
}
.pp-sec__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.pp-sec__title {
	font-size: clamp(28px, 2.6vw, 38px);
}
.pp-xps {
	list-style: none;
	margin: 0;
	padding: 0;
}
.pp-xp {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	grid-template-areas: "when name" "when what";
	column-gap: 24px;
	row-gap: 4px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}
.pp-xp:first-child {
	padding-top: 6px;
}
.pp-xp__when {
	grid-area: when;
	font-size: 14px;
	color: var(--muted);
	padding-top: 4px;
}
.pp-xp__name {
	grid-area: name;
	font-family: var(--display);
	font-size: 22px;
	letter-spacing: -0.02em;
}
.pp-xp__what {
	grid-area: what;
	font-size: 16px;
	color: #4a4a4a;
}
.pp-skills {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}
.pp-skill__title {
	font-family: var(--display);
	font-weight: 400;
	font-size: 20px;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--ink);
}
.pp-skill ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-size: 16px;
	color: #4a4a4a;
}
.pp-tools {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.pp-tools li {
	padding: 10px 16px;
	border: 1px solid var(--line);
	border-radius: 0;
	font-size: 15px;
	background: var(--white);
}
@media (max-width: 900px) {
	.pp-hero__grid,
	.pp-sec__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.pp-hero__media {
		aspect-ratio: 1 / 1;
	}
	.pp-xp {
		grid-template-columns: 1fr;
		grid-template-areas: "when" "name" "what";
	}
	.pp-skills {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}
.pp-hero__text .lead + .lead {
	margin-top: -10px;
}
.pp-sec__head {
	display: grid;
	gap: 10px;
	align-content: start;
}
.pp-sec__intro {
	font-size: 15px;
	color: var(--muted);
	max-width: 22em;
}
.pp-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 36px 32px;
}
.pp-step {
	display: grid;
	gap: 8px;
	align-content: start;
	padding-top: 16px;
	border-top: 1px solid var(--ink);
}
.pp-step__num {
	font-size: 12px;
	color: var(--accent);
	letter-spacing: 0.04em;
}
.pp-step__title {
	font-family: var(--display);
	font-weight: 400;
	font-size: 22px;
	letter-spacing: -0.02em;
}
.pp-step p {
	font-size: 16px;
	line-height: 1.6;
	color: #4a4a4a;
}
.pp-skills {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	row-gap: 40px;
}
.pp-skill--ai .pp-skill__title {
	border-bottom-color: var(--accent);
	color: var(--accent);
}
.pp-toolrows {
	display: grid;
	gap: 18px;
}
.pp-toolrow {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
}
.pp-toolrow__label {
	font-size: 13px;
	color: var(--muted);
}
@media (max-width: 900px) {
	.pp-steps,
	.pp-skills {
		grid-template-columns: 1fr;
	}
	.pp-toolrow {
		grid-template-columns: 1fr;
		gap: 8px;
	}
}

/* ---------- Parcours : version dynamique ---------- */
.pp-line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.06em;
}
.pp-line > span {
	display: block;
}
.pp-js .pp-line > span {
	transform: translateY(105%);
	transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pp-js .pp-line + .pp-line > span {
	transition-delay: 0.12s;
}
.pp-js .pp-hero.is-in .pp-line > span {
	transform: none;
}
.pp-js .pp-hero__media {
	clip-path: inset(100% 0 0 0);
	transition: clip-path 1.3s cubic-bezier(0.65, 0, 0.35, 1);
}
.pp-js .pp-hero.is-in .pp-hero__media {
	clip-path: inset(0 0 0 0);
}
.pp-hero__media img {
	transform: scale(1.16);
	will-change: transform;
}
.pp-title {
	font-size: clamp(52px, 7vw, 108px);
	line-height: 0.95;
	letter-spacing: -0.05em;
}

/* chiffres */
.pp-stats-sec {
	padding: 0 0 clamp(56px, 6vw, 96px);
}
.pp-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	border-top: 1px solid var(--ink);
}
.pp-stat {
	padding: 22px 24px 0 0;
}
.pp-stat + .pp-stat {
	padding-left: 24px;
	border-left: 1px solid var(--line);
}
.pp-stat dt {
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 12px;
}
.pp-stat dd {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(44px, 5.5vw, 84px);
	line-height: 1;
	letter-spacing: -0.05em;
	font-variant-numeric: tabular-nums;
}
.pp-stat dd em {
	color: var(--accent);
	font-style: normal;
}

/* bandeau de mots qui défile */
.pp-band {
	display: flex;
	overflow: hidden;
	background: var(--ink);
	color: var(--white);
	padding: clamp(18px, 2.4vw, 30px) 0;
	transform: rotate(-1.5deg) translateY(var(--shift, 0px));
	margin: 0 -20px clamp(48px, 6vw, 88px);
	position: relative;
	z-index: 2;
}
.pp-band__track {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: clamp(20px, 3vw, 44px);
	padding-right: clamp(20px, 3vw, 44px);
	animation: marquee 32s linear infinite;
	white-space: nowrap;
	font-family: var(--display);
	font-size: clamp(28px, 4vw, 60px);
	letter-spacing: -0.03em;
}
.pp-band__track span:nth-of-type(2n) {
	font-style: italic;
	color: var(--accent-soft);
}
.pp-band__track i {
	font-style: normal;
	font-size: 0.5em;
	color: var(--accent);
}

/* frise avec ligne de progression */
.pp-xps-wrap {
	position: relative;
	padding-left: 28px;
}
.pp-xps__line {
	position: absolute;
	left: 4px;
	top: 10px;
	bottom: 10px;
	width: 1px;
	background: var(--line);
}
.pp-xps__line i {
	position: absolute;
	inset: 0;
	background: var(--accent);
	transform-origin: top;
	transform: scaleY(0);
}
.pp-xp {
	position: relative;
	transition:
		opacity 0.6s,
		transform 0.6s var(--ease);
}
.pp-xp::before {
	content: "";
	position: absolute;
	left: -28px;
	top: 28px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--paper);
	border: 1px solid #cfcfcf;
	transition:
		background-color 0.4s,
		border-color 0.4s,
		transform 0.4s var(--ease);
}
.pp-xp:first-child::before {
	top: 12px;
}
.pp-xp.is-active::before {
	background: var(--accent);
	border-color: var(--accent);
	transform: scale(1.25);
}
.pp-xp__name {
	transition: color 0.4s;
}
.pp-xp.is-active .pp-xp__name {
	color: var(--ink);
}
.pp-xp:not(.is-active) .pp-xp__name {
	color: #9a9a9a;
}

/* méthode : l'étape lue s'allume */
.pp-step {
	transition:
		border-color 0.5s,
		opacity 0.6s,
		transform 0.6s var(--ease);
}
.pp-step__num {
	font-family: var(--display);
	font-size: clamp(40px, 4vw, 60px);
	line-height: 1;
	letter-spacing: -0.04em;
	color: #d9d9d9;
	transition: color 0.5s;
}
.pp-step.is-active {
	border-top-color: var(--accent);
}
.pp-step.is-active .pp-step__num {
	color: var(--accent);
}

/* compétences et outils */
.pp-skill {
	transition:
		opacity 0.6s,
		transform 0.6s var(--ease);
}
.pp-skill li {
	transition:
		color 0.25s,
		transform 0.35s var(--ease);
}
.pp-skill li:hover {
	color: var(--ink);
	transform: translateX(6px);
}
.pp-tools li {
	transition:
		background-color 0.3s,
		color 0.3s,
		border-color 0.3s,
		transform 0.3s var(--ease);
}
.pp-tools li:hover {
	background: var(--ink);
	color: var(--white);
	border-color: var(--ink);
	transform: translateY(-3px);
}

/* cascade à l'apparition */
.pp-js .pp-stagger > * {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.8s ease,
		transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.pp-js .pp-stagger.is-in > * {
	opacity: 1;
	transform: none;
}
@media (max-width: 900px) {
	.pp-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.pp-stat:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}
}

/* ---------- Accueil : à propos ---------- */
.ab__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
}
.ab__media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 0;
	max-height: 640px;
}
.ab__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}
.ab__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.ab__text p {
	font-size: 17px;
	line-height: 1.65;
	color: #4a4a4a;
	max-width: 34em;
}
.ab__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 8px 0;
	border-top: 1px solid var(--ink);
	max-width: 520px;
}
.ab__facts > div {
	padding: 16px 16px 0 0;
}
.ab__facts dt {
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 6px;
}
.ab__facts dd {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(32px, 3.2vw, 46px);
	line-height: 1;
	letter-spacing: -0.04em;
}
@media (max-width: 900px) {
	.ab__grid {
		grid-template-columns: 1fr;
	}
	.ab__media {
		aspect-ratio: 1 / 1;
	}
}

/* ---------- Accueil : ce que je fais (texte + une image) ---------- */
.ex2__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.ex2__aside {
	position: sticky;
	top: calc(var(--nav-h) + 32px);
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.ex2__intro {
	font-size: 17px;
	line-height: 1.65;
	color: var(--muted-dark);
	max-width: 30em;
}
.ex2__media {
	margin: 12px 0 0;
	max-width: 360px;
}
.ex2__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
	border-radius: 0;
}
.ex2__media figcaption {
	margin-top: 10px;
	font-size: 12px;
	color: var(--muted-dark);
	letter-spacing: 0.04em;
}
.ex2__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line-dark);
}
.ex2__item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 16px;
	padding: 30px 0;
	border-bottom: 1px solid var(--line-dark);
	transition: background-color 0.4s;
}
.ex2__num {
	font-size: 13px;
	color: var(--accent);
	padding-top: 8px;
}
.ex2__body {
	display: grid;
	gap: 10px;
}
.ex2__title {
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(24px, 2.2vw, 32px);
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--white);
	transition: color 0.3s;
}
.ex2__item:hover .ex2__title {
	color: var(--accent-soft);
}
.ex2__body p {
	font-size: 16px;
	line-height: 1.65;
	color: var(--muted-dark);
	max-width: 36em;
}
.ex2__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 4px;
}
.ex2__tags span {
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 5px 9px;
	border-radius: 0;
	border: 1px solid var(--line-dark);
	color: var(--muted-dark);
}
@media (max-width: 900px) {
	.ex2__grid {
		grid-template-columns: 1fr;
	}
	.ex2__aside {
		position: static;
	}
	.ex2__media {
		max-width: 240px;
	}
	.ex2__item {
		grid-template-columns: 36px minmax(0, 1fr);
	}
}

/* ---------- Parcours v4 : mise en page éditoriale ---------- */
.pq-hero .eyebrow {
	display: block;
	margin-bottom: 18px;
}
.pq-title {
	font-size: clamp(64px, 12vw, 200px);
	line-height: 0.9;
	letter-spacing: -0.06em;
	margin-bottom: clamp(32px, 5vw, 72px);
}
.pq-title .pp-line + .pp-line {
	padding-left: 12vw;
}
.pq-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: end;
}
.pq-hero__media {
	max-height: 620px;
}
.pq-hero__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 560px;
}
.pq-hero__text p {
	font-size: 17px;
	line-height: 1.65;
	color: #4a4a4a;
}
.pq-hero__text .pq-kicker {
	font-family: var(--display);
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin-bottom: 4px;
}
.pq-hero__text .hero__ctas {
	margin-top: 10px;
}
.pq-sub {
	font-family: var(--display);
	font-size: 19px;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--ink);
	max-width: 26em;
}
.dark .pq-sub {
	color: var(--white);
}
.pq-head {
	gap: 14px;
}
.pq-head .pp-sec__intro {
	max-width: 28em;
	line-height: 1.6;
}
.pq-head--row {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 24px;
	margin-bottom: clamp(32px, 4vw, 56px);
}
.pq-head--row .pq-sub {
	color: var(--muted);
	text-align: right;
}

/* « Mon truc ? » */
.pq-truc {
	padding: clamp(80px, 10vw, 150px) 0;
}
.pq-truc__grid {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: clamp(24px, 4vw, 64px);
}
.pq-truc__label {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	padding-top: 12px;
}
.pq-truc__big {
	font-family: var(--display);
	font-size: clamp(32px, 4.2vw, 64px);
	line-height: 1.08;
	letter-spacing: -0.035em;
	color: var(--white);
	max-width: 18em;
}
.pq-truc__big em,
.pq-truc__end em {
	color: var(--accent-soft);
}
.pq-truc__text {
	margin-top: 32px;
	font-size: 18px;
	line-height: 1.65;
	color: var(--muted-dark);
	max-width: 38em;
}
.pq-truc__end {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--line-dark);
	font-family: var(--display);
	font-size: clamp(20px, 1.8vw, 26px);
	letter-spacing: -0.02em;
	color: var(--white);
	max-width: 32em;
}

/* expériences : nom de l'agence en avant */
.pq-hero ~ .pp-sec .pp-xp {
	grid-template-columns: 170px minmax(0, 1fr);
}
.pp-xp__when {
	font-family: var(--display);
}

/* « La créativité, version augmentée » */
.pq-aug {
	padding: clamp(64px, 8vw, 120px) 0;
}
.pq-aug__head {
	display: grid;
	gap: 14px;
	margin-bottom: clamp(32px, 4vw, 56px);
}
.pq-aug__title {
	font-size: clamp(40px, 5.6vw, 88px);
	line-height: 1;
	letter-spacing: -0.05em;
}
.pq-aug__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 48px);
	padding-top: 24px;
	border-top: 1px solid var(--ink);
}
.pq-aug__cols p {
	font-size: 17px;
	line-height: 1.65;
	color: #4a4a4a;
}
.pq-aug__cols p:first-child {
	font-family: var(--display);
	font-size: 22px;
	line-height: 1.3;
	color: var(--ink);
}
.pq-quote {
	margin: clamp(48px, 6vw, 96px) 0 0;
	padding: clamp(32px, 4vw, 56px);
	background: var(--accent-soft);
	border-radius: 0;
	display: grid;
	gap: 16px;
}
.pq-quote p {
	font-family: var(--display);
	font-size: clamp(30px, 4vw, 60px);
	line-height: 1.05;
	letter-spacing: -0.04em;
	font-style: italic;
	color: var(--ink);
}
.pq-quote footer {
	font-size: 18px;
	line-height: 1.6;
	color: #3c3c3c;
	max-width: 36em;
}
.pq-aug__end {
	margin-top: 32px;
	font-family: var(--display);
	font-size: clamp(20px, 1.8vw, 26px);
	letter-spacing: -0.02em;
}

/* méthode sur 4 colonnes */
.pq-steps {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ce que je peux imaginer pour vous */
.pq-offers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}
.pq-offer {
	position: relative;
	display: grid;
	gap: 10px;
	align-content: start;
	padding: clamp(24px, 2.6vw, 40px);
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	min-height: 240px;
	overflow: hidden;
	transition:
		color 0.4s,
		background-color 0.4s;
}
.pq-offer::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ink);
	transform: translateY(101%);
	transition: transform 0.6s var(--ease);
	z-index: 0;
}
.pq-offer > * {
	position: relative;
	z-index: 1;
}
.pq-offer:hover::before {
	transform: none;
}
.pq-offer:hover {
	color: var(--white);
}
.pq-offer__num {
	font-size: 12px;
	color: var(--accent);
}
.pq-offer__title {
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(22px, 2vw, 28px);
	letter-spacing: -0.025em;
	line-height: 1.15;
	margin-top: 28px;
}
.pq-offer p {
	font-size: 15px;
	line-height: 1.6;
	color: #5a5a5a;
	transition: color 0.4s;
}
.pq-offer:hover p {
	color: rgba(255, 255, 255, 0.7);
}
.pq-offer--ai .pq-offer__title {
	color: var(--accent);
}
.pq-tools__end {
	margin-top: 24px;
	font-size: 16px;
	color: #4a4a4a;
	max-width: 32em;
}
.pq-cta__sub {
	font-family: var(--display);
	font-size: clamp(20px, 1.8vw, 26px);
	color: var(--white);
}

@media (max-width: 1080px) {
	.pq-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.pq-offers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 900px) {
	.pq-title .pp-line + .pp-line {
		padding-left: 0;
	}
	.pq-hero__grid,
	.pq-truc__grid,
	.pq-aug__cols {
		grid-template-columns: 1fr;
	}
	.pq-head--row {
		flex-direction: column;
		align-items: start;
	}
	.pq-head--row .pq-sub {
		text-align: left;
	}
	.pq-steps,
	.pq-offers {
		grid-template-columns: 1fr;
	}
	.pq-offer {
		min-height: 0;
	}
	.pq-hero ~ .pp-sec .pp-xp {
		grid-template-columns: 1fr;
	}
}
/* le bandeau incliné ne doit pas créer de défilement horizontal */
main {
	overflow-x: clip;
}

/* ---------- Accueil : méthode (image + étapes) ---------- */
.how {
	border-top: 1px solid var(--line);
}
.how__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.how__media {
	margin: 0;
	position: sticky;
	top: calc(var(--nav-h) + 32px);
	border-radius: 0;
	overflow: hidden;
	aspect-ratio: 967 / 1200;
	max-height: calc(100vh - var(--nav-h) - 64px);
}
.how__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 1.6s var(--ease);
}
.how__media:hover img {
	transform: scale(1.08);
}
.how__head {
	display: grid;
	gap: 12px;
	margin-bottom: clamp(28px, 3vw, 44px);
}
.how__sub {
	font-size: 17px;
	color: var(--muted);
}
.how__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ink);
}
.how__step {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 16px;
	padding: 28px 0;
	border-bottom: 1px solid var(--line);
}
.how__num {
	font-family: var(--display);
	font-size: 36px;
	line-height: 1;
	letter-spacing: -0.04em;
	color: #d6d6d6;
	transition: color 0.4s;
}
.how__step:hover .how__num {
	color: var(--accent);
}
.how__title {
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(22px, 2vw, 28px);
	letter-spacing: -0.025em;
	margin-bottom: 8px;
}
.how__step p {
	font-size: 16px;
	line-height: 1.65;
	color: #4a4a4a;
	max-width: 34em;
}

/* ---------- Bloc contact (toutes les pages) ---------- */
.ccta {
	background: var(--accent-soft);
	color: var(--ink);
	padding: clamp(72px, 9vw, 140px) 0;
	overflow: hidden;
}
.ccta__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}
.ccta__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.ccta .eyebrow {
	color: rgba(15, 16, 16, 0.6);
}
.ccta__title {
	font-size: clamp(44px, 6vw, 96px);
	line-height: 0.98;
	letter-spacing: -0.05em;
	max-width: 12em;
}
.ccta__title em {
	color: var(--ink);
}
.ccta__lead {
	font-family: var(--display);
	font-size: clamp(20px, 1.8vw, 26px);
	letter-spacing: -0.02em;
}
.ccta__more {
	font-size: 17px;
	line-height: 1.65;
	color: rgba(15, 16, 16, 0.75);
	max-width: 34em;
}
.ccta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 28px;
	margin-top: 8px;
}
.ccta__mail {
	position: relative;
	font-size: 17px;
	padding-bottom: 4px;
}
.ccta__mail::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: currentColor;
	transform-origin: right;
	transition: transform 0.5s var(--ease);
}
.ccta__mail:hover::after {
	transform: scaleX(0);
	transform-origin: left;
}
.ccta__mail span {
	display: inline-block;
	transition: transform 0.4s var(--ease);
}
.ccta__mail:hover span {
	transform: translate(3px, -3px);
}
.ccta__art {
	margin: 0;
	justify-self: end;
	width: 100%;
	max-width: 440px;
	aspect-ratio: 967 / 1200;
	border-radius: 0;
	overflow: hidden;
}
.ccta__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.6s var(--ease);
}
.ccta__art:hover img {
	transform: scale(1.05);
}

@media (max-width: 900px) {
	.ccta__grid {
		grid-template-columns: 1fr;
	}
	.ccta__art {
		max-width: 100%;
		justify-self: stretch;
		aspect-ratio: 4 / 3;
	}
}
@media (max-width: 900px) {
	.how__grid {
		grid-template-columns: 1fr;
	}
	.how__media {
		position: static;
		aspect-ratio: 4 / 3;
	}
	.how__step {
		grid-template-columns: 44px minmax(0, 1fr);
	}
}


/* ---------- Pages projet : en-tête, détail, liens soulignés ---------- */
.ulink {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink);
}
.ulink::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	height: 1px;
	background: currentColor;
	transform-origin: right;
	transition: transform 0.5s var(--ease);
}
.ulink:hover::after {
	transform: scaleX(0);
	transform-origin: left;
}
.ulink svg {
	width: 14px;
	height: 14px;
	transition: transform 0.4s var(--ease);
}
.ulink:hover svg {
	transform: translateX(4px);
}
.ulink--light {
	color: var(--white);
}
.pj-facts .ulink {
	height: auto;
	font-weight: 400;
}
.pj-facts .ulink::after {
	bottom: -2px;
}
.hero--project .hero__ctas {
	align-items: center;
	gap: 24px;
}
.hero--project .hero__body {
	gap: 24px;
}
.pj-title {
	font-size: clamp(48px, 6vw, 96px);
	line-height: 0.98;
	letter-spacing: -0.05em;
}
.pj-line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.06em;
}
.pj-line > span {
	display: block;
}
/* entrée animée */
.pj-js .pj-line > span {
	transform: translateY(105%);
	transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pj-js .pj-line + .pj-line > span {
	transition-delay: 0.12s;
}
.pj-js .hero--project.is-in .pj-line > span {
	transform: none;
}
.pj-js .hero--project .hero__media {
	clip-path: inset(100% 0 0 0);
	transition: clip-path 1.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.pj-js .hero--project.is-in .hero__media {
	clip-path: inset(0 0 0 0);
}
.pj-js .hero--project .hero__media img {
	transform: scale(1.15);
	transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pj-js .hero--project.is-in .hero__media img {
	transform: none;
}
.pj-js .pj-in {
	opacity: 0;
	transform: translateY(14px);
	transition:
		opacity 0.9s ease,
		transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.pj-js .hero--project.is-in .pj-in {
	opacity: 1;
	transform: none;
}
.pj-js .hero--project .back.pj-in {
	transition-delay: 0.3s;
}
.pj-js .hero--project .tags.pj-in {
	transition-delay: 0.45s;
}
.pj-js .hero--project .hero__ctas.pj-in {
	transition-delay: 0.55s;
}
.pj-js .pj-stagger > * {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.8s ease,
		transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.pj-js .pj-stagger.is-in > * {
	opacity: 1;
	transform: none;
}
/* cercle de souris sur fond sombre */
.hero--project {
	position: relative;
}
.cursor-ring--light::before {
	border-color: rgba(255, 255, 255, 0.55);
}
.cursor-dot--light::before {
	background: var(--white);
}
.hero--project.cursor-on .cursor-ring,
.hero--project.cursor-on .cursor-dot {
	opacity: 1;
}
.hero--project.cursor-link .cursor-ring::before {
	transform: scale(1.7);
	background: rgba(189, 141, 120, 0.15);
	border-color: var(--accent);
}
.hero--project.cursor-link .cursor-dot {
	opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
	.hero--project.cursor-on,
	.hero--project.cursor-on a {
		cursor: none;
	}
}

/* bloc de détail sous l'en-tête */
.pj-detail {
	padding: clamp(56px, 7vw, 104px) 0;
	border-bottom: 1px solid var(--line);
}
.pj-detail__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.pj-facts {
	margin: 0;
	display: grid;
	border-top: 1px solid var(--ink);
}
.pj-facts > div {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.pj-facts dt {
	font-size: 13px;
	color: var(--muted);
	padding-top: 2px;
}
.pj-facts dd {
	margin: 0;
	font-size: 15px;
}
.pj-facts ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}
.pj-text {
	display: grid;
	gap: clamp(28px, 3vw, 44px);
}
.pj-text__title {
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(26px, 2.4vw, 34px);
	letter-spacing: -0.03em;
	margin-bottom: 12px;
}
.pj-text p {
	font-size: 18px;
	line-height: 1.7;
	color: #3c3c3c;
	max-width: 38em;
}
.pc__aside-label {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 14px;
}
@media (max-width: 900px) {
	.pj-detail__grid {
		grid-template-columns: 1fr;
	}
	.pj-facts > div {
		grid-template-columns: 96px minmax(0, 1fr);
	}
	.pj-text p {
		font-size: 17px;
	}
}
@media (max-width: 900px) {
	.pc__aside-label {
		display: none;
	}
}

/* ---------- Parcours : en-tête sobre ---------- */
.pq-hero3 {
	padding: calc(var(--nav-h) + clamp(40px, 5vw, 80px)) 0 clamp(48px, 6vw, 88px);
}
.pq-hero3__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
}
.pq-hero3__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 620px;
}
.pq-hero3__title {
	margin: 6px 0 4px;
}
.pq-hero3__kicker {
	font-family: var(--display);
	font-size: clamp(19px, 1.6vw, 23px);
	line-height: 1.3;
	letter-spacing: -0.015em;
	margin-bottom: 4px;
}
.pq-hero3__text > p:not(.pq-hero3__kicker) {
	font-size: 16.5px;
	line-height: 1.65;
	color: #4a4a4a;
}
.pq-hero3 .hero__ctas {
	align-items: center;
	gap: 24px;
	margin-top: 8px;
}
.pq-hero3__media {
	margin: 0;
	aspect-ratio: 4 / 5;
	max-height: 620px;
	overflow: hidden;
	background: #ececec;
}
.pq-hero3__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}
.pq-hero3__facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: clamp(48px, 6vw, 80px) 0 0;
	border-top: 1px solid var(--ink);
}
.pq-hero3__facts > div {
	padding: 16px 20px 0 0;
}
.pq-hero3__facts > div + div {
	padding-left: 20px;
	border-left: 1px solid var(--line);
}
.pq-hero3__facts dt {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 6px;
}
.pq-hero3__facts dd {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
}
/* entrée : simple fondu, sans mouvement */
.pp-js .pq-hero3__text,
.pp-js .pq-hero3__media,
.pp-js .pq-hero3__facts {
	opacity: 0;
	transition: opacity 1.1s ease;
}
.pp-js .pq-hero3.is-in .pq-hero3__text { opacity: 1; }
.pp-js .pq-hero3.is-in .pq-hero3__media { opacity: 1; transition-delay: 0.2s; }
.pp-js .pq-hero3.is-in .pq-hero3__facts { opacity: 1; transition-delay: 0.4s; }
@media (max-width: 900px) {
	.pq-hero3__grid {
		grid-template-columns: 1fr;
	}
	.pq-hero3__media {
		aspect-ratio: 1 / 1;
		max-width: 420px;
	}
	.pq-hero3__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 16px;
	}
	.pq-hero3__facts > div:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}
}

/* ---------- Titres H1 plus mesurés sur tout le site ---------- */
.h1 {
	font-size: clamp(34px, 4vw, 58px);
}
.hl__title {
	font-size: clamp(36px, 4.4vw, 64px);
}
.pj-title,
.ccta__title {
	font-size: clamp(34px, 4.2vw, 60px);
}
.pq-aug__title {
	font-size: clamp(32px, 3.8vw, 56px);
}
.pq-truc__big {
	font-size: clamp(28px, 3.2vw, 48px);
}

/* ---------- Accueil : navigation fixe en bas, fond blanc ---------- */
.homebar {
	display: none;
}
@media (min-width: 821px) {
	:root {
		--nav-h: 0px;
	}
	.nav,
	.menu {
		display: none !important;
	}
	body {
		padding-bottom: 88px;
	}
	.homebar {
		position: fixed;
		left: 50%;
		bottom: 20px;
		z-index: 60;
		display: flex;
		align-items: center;
		gap: 28px;
		padding: 8px 8px 8px 20px;
		background: var(--white);
		border: 1px solid var(--line);
		transform: translateX(-50%);
	}
	.homebar__logo img {
		height: 28px;
		width: auto;
		display: block;
	}
	.homebar__links {
		display: flex;
		gap: 22px;
		font-size: 15px;
	}
	.homebar__links a {
		color: var(--ink);
		opacity: 0.7;
		transition: opacity 0.25s;
	}
	.homebar__links a:hover,
	.homebar__links a[aria-current="page"] {
		opacity: 1;
	}
	.homebar__links a[aria-current="page"] {
		text-decoration: underline;
		text-underline-offset: 6px;
		text-decoration-thickness: 1px;
	}
	.homebar .btn {
		height: 40px;
	}
}
.hl__lead {
	max-width: 32em;
	line-height: 1.6;
}
/* cartes un peu plus grandes */
.deck .pcard {
	width: min(540px, 92%);
	margin-left: calc(min(540px, 92%) / -2);
	margin-top: -220px;
}
@media (max-width: 900px) {
	.deck .pcard {
		width: min(360px, 84%);
		margin-left: calc(min(360px, 84%) / -2);
		margin-top: -160px;
	}
}
/* barre mobile : fond blanc */
@media (max-width: 820px) {
	.tabbar {
		background: rgba(255, 255, 255, 0.94);
		border: 1px solid var(--line);
	}
	.tabbar__item {
		color: rgba(15, 16, 16, 0.55);
	}
	.tabbar__item[aria-current="page"] {
		color: var(--ink);
		background: rgba(15, 16, 16, 0.06);
	}
}

/* ---------- Accueil : ce que je crée (liste typographique + aperçu) ---------- */
.craft__head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 24px;
	margin-bottom: clamp(32px, 4vw, 56px);
}
.craft__hint {
	font-size: 13px;
	color: var(--muted-dark);
}
.craft__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}
.craft__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line-dark);
}
.craft__item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line-dark);
	color: rgba(255, 255, 255, 0.38);
	transition: color 0.35s;
}
.craft__num {
	font-size: 12px;
	color: var(--accent);
}
.craft__word {
	font-family: var(--display);
	font-size: clamp(30px, 3.6vw, 52px);
	line-height: 1.1;
	letter-spacing: -0.04em;
	transition: transform 0.5s var(--ease);
}
.craft__ex {
	font-size: 13px;
	color: var(--muted-dark);
	opacity: 0;
	transform: translateX(-8px);
	transition:
		opacity 0.35s,
		transform 0.5s var(--ease);
}
.craft__item.is-on {
	color: var(--white);
}
.craft__item.is-on .craft__word {
	transform: translateX(10px);
	font-style: italic;
}
.craft__item.is-on .craft__ex {
	opacity: 1;
	transform: none;
}
.craft__preview {
	position: sticky;
	top: 40px;
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--card);
}
.craft__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.06);
	transition:
		opacity 0.5s ease,
		transform 1.2s var(--ease);
}
.craft__img.is-on {
	opacity: 1;
	transform: none;
}
.craft__cap {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 8px 12px;
	background: var(--white);
	color: var(--ink);
	font-size: 13px;
}

/* ---------- Accueil : mon parcours (bandeau en colonnes) ---------- */
.jr__head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 32px;
	margin-bottom: clamp(32px, 4vw, 56px);
}
.jr__head .h2 {
	max-width: 18em;
	margin-top: 10px;
}
.jr__row {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	border-top: 1px solid var(--ink);
	border-bottom: 1px solid var(--line);
}
.jr__col {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px 20px 28px;
	min-height: 220px;
	border-left: 1px solid var(--line);
	transition:
		background-color 0.4s,
		color 0.4s;
}
.jr__col:first-child {
	border-left: 0;
}
.jr__label {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}
.jr__name {
	font-family: var(--display);
	font-size: clamp(22px, 2vw, 28px);
	letter-spacing: -0.03em;
	margin-top: 36px;
}
.jr__txt {
	font-size: 14.5px;
	line-height: 1.55;
	color: #5a5a5a;
}
.jr__col--now {
	background: var(--ink);
	color: var(--white);
}
.jr__col--now .jr__label {
	color: var(--accent-soft);
}
.jr__col--now .jr__txt {
	color: rgba(255, 255, 255, 0.7);
}
.jr__col:not(.jr__col--now):hover {
	background: var(--accent-soft);
}
.jr__brands {
	margin-top: 24px;
	font-size: 15px;
	color: #4a4a4a;
}
.jr__brands span {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	margin-right: 12px;
}
@media (max-width: 1080px) {
	.jr__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.jr__col {
		border-top: 1px solid var(--line);
		min-height: 180px;
	}
	.jr__col:nth-child(odd) {
		border-left: 0;
	}
	.jr__col--now {
		grid-column: 1 / -1;
	}
	.jr__col:nth-child(even) {
		border-left: 0;
	}
	.jr__col:nth-child(3),
	.jr__col:nth-child(5) {
		border-left: 1px solid var(--line);
	}
}
@media (max-width: 900px) {
	.craft__grid {
		grid-template-columns: 1fr;
	}
	.craft__preview {
		display: none;
	}
	.craft__ex {
		opacity: 1;
		transform: none;
	}
	.craft__item {
		grid-template-columns: 32px minmax(0, 1fr);
	}
	.craft__ex {
		grid-column: 2;
	}
	.craft__item .craft__word {
		color: var(--white);
	}
	.craft__head,
	.jr__head {
		flex-direction: column;
		align-items: start;
	}
}
@media (max-width: 900px) {
	.craft__hint {
		display: none;
	}
	.craft__item.is-on .craft__word {
		transform: none;
		font-style: normal;
	}
}

/* =========================================================
   Accueil, proposition « studio » : démonstration animée
   ========================================================= */
.hs {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--white);
}
.hs__grid {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
	max-width: var(--max);
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--gutter) 40px;
}
.hs__text {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 0;
	max-width: 520px;
}
.hs__title {
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(40px, 4.6vw, 70px);
	line-height: 1;
	letter-spacing: -0.045em;
	color: var(--ink);
}
.hs__lead {
	font-size: 17px;
	line-height: 1.6;
	color: #4a4a4a;
}
.hs__proof {
	font-size: 13px;
	color: var(--muted);
}
.hs .btn--ghost {
	border-color: rgba(15, 16, 16, 0.16);
	color: var(--ink);
}
.hs .clients {
	border-top: 1px solid var(--line);
	height: 72px;
	flex-shrink: 0;
}
.hs .clients__item {
	color: rgba(15, 16, 16, 0.38);
}

/* scène */
.st {
	position: relative;
	aspect-ratio: 16 / 11;
	perspective: 1600px;
}
.st__main {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #ececec;
	transform-origin: 50% 50%;
	will-change: transform;
}
.st__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
}
.st__img[data-k="0"] {
	opacity: 1;
}
.st__panel {
	position: absolute;
	left: 14px;
	top: 14px;
	bottom: 14px;
	width: 42%;
	padding: 14px;
	background: rgba(15, 16, 16, 0.86);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: var(--white);
	opacity: 0;
	transform: translateX(-30px);
}
.st__ptitle {
	font-size: 12px;
	letter-spacing: 0.04em;
	margin-bottom: 12px;
	color: rgba(255, 255, 255, 0.8);
}
.st__pgrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.st__pthumb {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	outline: 2px solid transparent;
	outline-offset: 2px;
	transition: outline-color 0.2s;
}
.st__pthumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.st__pthumb i {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 3px 6px;
	font-style: normal;
	font-size: 10px;
	background: rgba(15, 16, 16, 0.7);
}
.st__pthumb.is-on {
	outline-color: var(--white);
}
.st__phone {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 26%;
	aspect-ratio: 9 / 19;
	margin-left: -13%;
	padding: 6px;
	border-radius: 22px;
	background: var(--ink);
	transform: translateY(-50%);
	opacity: 0;
	will-change: transform;
}
.st__screen {
	width: 100%;
	height: 100%;
	border-radius: 16px;
	overflow: hidden;
	background: #ddd;
}
.st__screen img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}
.st__grid {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(3, minmax(0, 1fr));
	gap: 8px;
	pointer-events: none;
}
.st__tile {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	opacity: 0;
	will-change: transform;
}
.st__menu {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 4;
	display: grid;
	gap: 2px;
	min-width: 150px;
	padding: 10px;
	background: rgba(15, 16, 16, 0.9);
	color: var(--white);
	font-size: 12px;
	opacity: 0;
}
.st__menu p {
	padding: 2px 8px 8px;
	font-size: 13px;
	font-weight: 500;
}
.st__menu span {
	padding: 6px 8px;
	color: rgba(255, 255, 255, 0.75);
	transition:
		background-color 0.2s,
		color 0.2s;
}
.st__menu span.is-on {
	background: rgba(255, 255, 255, 0.14);
	color: var(--white);
}
.st__cursor {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 6;
	width: 22px;
	height: 22px;
	opacity: 0;
	will-change: transform;
}
@media (max-width: 900px) {
	.hs__grid {
		grid-template-columns: 1fr;
		gap: 36px;
		padding-top: 12px;
	}
}
