/* ==========================================================================
   Rade v2 : noir, blanc, et le logo Luca Defendini comme système graphique.
   Blocs massifs, texte renversé, filet courbe. Titres en Bodoni Moda.
   ========================================================================== */

@font-face {
	font-family: "Bodoni";
	font-style: normal;
	font-display: swap;
	font-weight: 400 900;
	src: url("../fonts/bodoni-latin.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Bodoni";
	font-style: normal;
	font-display: swap;
	font-weight: 400 900;
	src: url("../fonts/bodoni-latin-ext.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Bodoni";
	font-style: italic;
	font-display: swap;
	font-weight: 400 900;
	src: url("../fonts/bodoni-latin-italic.woff2") format("woff2-variations");
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-ext.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Jetons
   -------------------------------------------------------------------------- */
:root {
	--ink: #000;
	--paper: #fff;
	--mute: #6b6b6b;
	--mute-dark: #9a9a9a;
	--line: rgba(0, 0, 0, 0.16);
	--line-dark: rgba(255, 255, 255, 0.2);
	--ok: #137a3f;
	--err: #c62a1c;

	--serif: "Bodoni", "Bodoni 72", "Didot", Georgia, serif;
	--sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--fs-small: clamp(0.8rem, 0.77rem + 0.12vw, 0.88rem);
	--fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
	--fs-lead: clamp(1.15rem, 1.04rem + 0.5vw, 1.45rem);
	--fs-h2: clamp(2.6rem, 1.6rem + 5vw, 7rem);
	--fs-h1: clamp(3.2rem, 1.6rem + 8vw, 11rem);

	--gutter: clamp(1rem, 0.3rem + 3.2vw, 3.5rem);
	--max: 1480px;
	--header-h: clamp(64px, 56px + 2vw, 92px);
	--sec: clamp(5rem, 3rem + 9vw, 12rem);

	--ease: cubic-bezier(0.7, 0, 0.2, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	color-scheme: light;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: var(--fs-body);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
h1, h2, h3, h4 {
	margin: 0;
	font-family: var(--serif);
	font-weight: 800;
	font-variation-settings: "opsz" 96;
	line-height: 0.92;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
::selection { background: var(--ink); color: var(--paper); }
[data-theme="dark"] ::selection { background: var(--paper); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
[data-theme="dark"] { background: var(--ink); color: var(--paper); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
.skip {
	position: fixed;
	left: 1rem; top: -100px;
	z-index: 1000;
	padding: 0.8rem 1.2rem;
	background: var(--ink);
	color: var(--paper);
	font-weight: 700;
}
.skip:focus { top: 1rem; }
.site-main { outline: none; display: block; }

.split-line { overflow: clip; padding-bottom: 0.1em; margin-bottom: -0.1em; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 1.9em;
	border: 1px solid currentColor;
	border-radius: 999px;
	overflow: hidden;
	isolation: isolate;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	font-size: var(--fs-body);
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	border-radius: inherit;
	transform: translateY(102%);
	transition: transform 0.5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn > span { position: relative; display: inline-block; }
.btn--sm { min-height: 44px; padding: 0 1.4em; font-size: var(--fs-small); }

.btn--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--dark::before { background: var(--paper); }
.btn--dark:hover, .btn--dark:focus-visible { color: var(--ink); }
.btn--line { color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover, .btn--line:focus-visible { color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light::before { background: var(--ink); }
.btn--light:hover, .btn--light:focus-visible { color: var(--paper); }
.btn--ghost { color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); }

.link-ext {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	min-height: 44px;
	font-weight: 600;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 80% / 100% 1px no-repeat;
	transition: background-size 0.5s var(--ease);
}
.link-ext:hover { background-size: 0 1px; background-position: 100% 80%; }
.link-ext__arrow { transition: transform 0.4s var(--ease); }
.link-ext:hover .link-ext__arrow { transform: translate(3px, -3px); }

.linklike { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.22em; cursor: pointer; }

/* --------------------------------------------------------------------------
   Chargement, rideau de transition, curseur
   -------------------------------------------------------------------------- */
.loader {
	position: fixed;
	inset: 0;
	z-index: 400;
	display: none;
	place-items: center;
	background: var(--paper);
	color: var(--ink);
}
.intro .loader { display: grid; }
.loader__logo { width: min(40vmin, 330px); height: auto; fill: currentColor; overflow: visible; }
.loader__logo .ld-curve { fill: none; }
.intro .loader__logo > * { visibility: hidden; }

.curtain {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: var(--ink);
	transform: translateY(101%);
	pointer-events: none;
}
.arriving .curtain { transform: translateY(0); }

.cursor {
	position: fixed;
	left: 0; top: 0;
	z-index: 500;
	display: none;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border-radius: 50%;
	background: var(--paper);
	mix-blend-mode: difference;
	pointer-events: none;
	transition: width 0.45s var(--ease-out), height 0.45s var(--ease-out), margin 0.45s var(--ease-out);
	will-change: transform;
}
.has-cursor .cursor { display: grid; place-items: center; }
.cursor__label { font-size: 0.82rem; font-weight: 700; color: var(--ink); opacity: 0; transition: opacity 0.25s; white-space: nowrap; }
.cursor.is-label { width: 100px; height: 100px; margin: -50px 0 0 -50px; mix-blend-mode: normal; box-shadow: 0 0 0 1px var(--ink); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-hidden { width: 0; height: 0; margin: 0; }

/* --------------------------------------------------------------------------
   En-tête : s'inverse automatiquement sur les fonds sombres
   -------------------------------------------------------------------------- */
.masthead {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 200;
	height: var(--header-h);
	color: var(--paper);
	mix-blend-mode: difference;
	pointer-events: none;
	transition: transform 0.6s var(--ease);
}
.masthead.is-hidden { transform: translateY(-110%); }
.admin-bar .masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar .masthead { top: 46px; } }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 100%; padding-inline: var(--gutter); }
.masthead a, .masthead button { pointer-events: auto; }

.brand { display: block; color: inherit; line-height: 0; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.is-home .masthead:not(.is-scrolled) .brand { opacity: 0; transform: translateY(-30%); pointer-events: none; }
.brand__logo { width: auto; height: calc(var(--header-h) * 0.6); aspect-ratio: 1122 / 1145; fill: currentColor; overflow: visible; }
.brand__logo .ld-curve, .footer__giant .ld-curve { fill: none; }
.brand__img { max-height: calc(var(--header-h) * 0.6); width: auto; }
.brand:hover .brand__logo { animation: ld-turn 1s var(--ease); }
@keyframes ld-turn { to { transform: rotate(180deg); } }

.nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3.5rem); }
.nav__list { display: flex; gap: clamp(1.25rem, 2.4vw, 2.75rem); list-style: none; }
.nav__list a { position: relative; display: inline-block; padding-block: 0.6rem; font-weight: 600; text-decoration: none; }
.nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0.35rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: 100% 50%;
	transition: transform 0.5s var(--ease);
}
.nav__list a:hover::after,
.nav__list .current-menu-item > a::after,
.nav__list .current_page_parent > a::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__cta {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 0 1.4em;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__cta:hover { background: var(--paper); color: var(--ink); }
.nav__foot { display: none; }

.burger { display: none; align-items: center; gap: 0.8rem; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.burger__lines { position: relative; width: 30px; height: 10px; }
.burger__lines span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger__lines span:first-child { top: 0; }
.burger__lines span:last-child { top: 8.5px; }
.burger[aria-expanded="true"] .burger__lines span:first-child { top: 4.25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:last-child { top: 4.25px; transform: rotate(-45deg); }

@media (max-width: 1000px) {
	.burger { display: inline-flex; position: relative; z-index: 2; }
	.nav {
		position: fixed;
		inset: 0;
		z-index: 1;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-end;
		gap: 2rem;
		padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
		background: var(--ink);
		color: var(--paper);
		clip-path: inset(0 0 100% 0);
		visibility: hidden;
		transition: clip-path 0.8s var(--ease), visibility 0s 0.8s;
		pointer-events: auto;
	}
	.nav.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 0.8s var(--ease); }
	.masthead.is-open { mix-blend-mode: normal; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list li { overflow: clip; }
	.nav__list a {
		display: block;
		padding: 0;
		font-family: var(--serif);
		font-size: clamp(3rem, 14vw, 6rem);
		font-weight: 800;
		line-height: 1.02;
		letter-spacing: -0.012em;
		transform: translateY(105%);
		transition: transform 0.8s var(--ease);
	}
	.nav__list a::after { display: none; }
	.nav.is-open .nav__list a { transform: none; }
	.nav.is-open .nav__list li:nth-child(2) a { transition-delay: 0.06s; }
	.nav.is-open .nav__list li:nth-child(3) a { transition-delay: 0.12s; }
	.nav.is-open .nav__list li:nth-child(4) a { transition-delay: 0.18s; }
	.nav.is-open .nav__list li:nth-child(5) a { transition-delay: 0.24s; }
	.nav__foot { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; width: 100%; margin: 1rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); font-size: var(--fs-small); color: var(--mute-dark); }
	.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Accueil : ouverture (le logo à l'échelle de l'écran)
   -------------------------------------------------------------------------- */
.hero {
	--fs: min(13.4vw, 19.5vh);
	--top: calc(var(--header-h) + 5vh);
	--blk: calc(var(--fs) * 0.6);
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	padding-top: var(--top);
	padding-bottom: 6vh;
	overflow: clip;
	background: var(--paper);
}
.hero__shapes { position: absolute; inset: 0; pointer-events: none; }
.hero__blk { position: absolute; background: var(--ink); will-change: transform; }
.hero__blk--l { top: 0; left: var(--gutter); width: var(--blk); height: calc(var(--top) + var(--fs) * 0.88 * 2); transform-origin: 50% 0; }
.hero__blk--d { top: calc(var(--top) + var(--fs) * 0.88 * 2); right: var(--gutter); bottom: 0; width: var(--blk); transform-origin: 50% 100%; }
.hero__curve {
	position: absolute;
	right: calc(var(--gutter) + var(--blk));
	bottom: 4vh;
	width: calc(var(--fs) * 1.25);
	height: calc(var(--fs) * 1.25);
	overflow: visible;
	fill: none;
	stroke: var(--ink);
	stroke-width: 9;
}
.hero__curve path { stroke-dasharray: 700; stroke-dashoffset: 0; }

.hero__wrap { position: relative; width: auto; margin: 0; padding-inline: var(--gutter); }
.hero__title {
	position: relative;
	margin: 0;
	color: var(--paper);
	mix-blend-mode: difference;
	font-size: var(--fs);
	font-weight: 900;
	line-height: 0.88;
	letter-spacing: -0.012em;
	white-space: nowrap;
}
.line { display: block; position: relative; }
.line__in { display: inline-block; will-change: transform; }
.line--indent { padding-left: calc(var(--blk) + 0.35em); }
.line--indent2 { padding-left: calc(var(--fs) * 1.7); }
.line--flip { margin-inline: calc(-1 * var(--gutter)); padding-left: calc(var(--gutter) + var(--fs) * 0.55); }
.line--flip::before {
	content: "";
	position: absolute;
	left: 0; right: 0;
	top: 0.06em;
	bottom: -0.02em;
	background: var(--paper);
	transform: scaleX(var(--band, 1));
	transform-origin: 0 50%;
}
.line--flip .line__in { color: var(--ink); position: relative; }
.flip { display: inline-block; transform: rotate(180deg); transform-origin: 50% 54%; will-change: transform; }

.hero__foot {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 30rem);
	gap: 1.75rem;
	margin-top: 4vh;
	padding-left: calc(var(--blk) + 0.35 * var(--fs));
}
.hero__intro { margin: 0; font-size: var(--fs-lead); line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.scroll-cue {
	position: absolute;
	left: calc(var(--gutter) + var(--blk) / 2 - 0.6em);
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	font-size: var(--fs-small);
	font-weight: 600;
	text-decoration: none;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}
.scroll-cue__bar { position: relative; width: 1px; height: 64px; background: var(--line); overflow: clip; }
.scroll-cue__bar::after { content: ""; position: absolute; inset: 0; background: currentColor; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(100%); } 50% { transform: translateY(0); } 100% { transform: translateY(-100%); } }

@media (max-width: 700px) {
	.hero { --fs: 17.5vw; --blk: 15vw; min-height: 0; padding-bottom: 4rem; }
	.hero__blk--d { top: calc(var(--top) + var(--fs) * 0.88 * 4); height: 36vh; bottom: auto; }
	.hero__curve { display: none; }
	.line--indent2 { padding-left: calc(var(--fs) * 0.6); }
	.hero__foot { padding-left: 0; margin-top: 2.5rem; padding-right: calc(var(--blk) + 1rem); }
	.hero__actions .btn { width: 100%; }
	.scroll-cue { display: none; }
}

/* --------------------------------------------------------------------------
   Manifeste
   -------------------------------------------------------------------------- */
.manifesto { padding-block: var(--sec); }
.manifesto__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 2rem var(--gutter); }
.manifesto__label { font-size: var(--fs-small); font-weight: 600; padding-top: 0.8em; }
.manifesto__text {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(1.8rem, 1rem + 3.3vw, 4.6rem);
	font-weight: 500;
	font-variation-settings: "opsz" 34;
	line-height: 1.06;
	letter-spacing: -0.015em;
}
.manifesto__facts {
	grid-column: 2;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem var(--gutter);
	margin-top: clamp(2.5rem, 6vw, 6rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--ink);
}
.manifesto__facts dt { font-family: var(--serif); font-size: clamp(3.5rem, 2rem + 5vw, 7rem); font-weight: 900; line-height: 0.9; }
.manifesto__facts dd { margin-top: 0.8rem; max-width: 18rem; color: var(--mute); }
@media (max-width: 800px) {
	.manifesto__grid { grid-template-columns: 1fr; }
	.manifesto__facts { grid-column: 1; grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Réalisations : cartes empilées
   -------------------------------------------------------------------------- */
.work { position: relative; padding-top: var(--sec); }
.work__head { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: clamp(3rem, 6vw, 6rem); }
.work__lead { justify-self: end; max-width: 30rem; }
.work__title { font-size: clamp(3.2rem, 0.8rem + 9.6vw, 12.5rem); font-weight: 900; letter-spacing: -0.012em; line-height: 0.82; }
.work__title sup { font-family: var(--sans); font-size: 0.14em; font-weight: 600; letter-spacing: 0; vertical-align: top; margin-left: 0.2em; position: relative; top: 0.3em; }
.work__lead { margin: 0; color: var(--mute-dark); font-size: var(--fs-lead); line-height: 1.45; }

.card {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100svh;
	overflow: clip;
	background: var(--accent);
	color: var(--paper);
	transform-origin: 50% 0;
}
.card::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #000; opacity: var(--shade, 0); pointer-events: none; }
.card__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	align-items: center;
	gap: var(--gutter);
	height: 100%;
	padding: calc(var(--header-h) + 1rem) var(--gutter) 3rem;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.38));
}
.card__marquee {
	position: absolute;
	left: 0; right: 0;
	bottom: -0.14em;
	z-index: 0;
	overflow: clip;
	font-family: var(--serif);
	font-size: clamp(6rem, 3rem + 16vw, 22rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.012em;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.12);
	pointer-events: none;
}
.card__marquee-track { display: inline-flex; gap: 0.35em; will-change: transform; }
.card__meta { position: relative; z-index: 2; align-self: end; padding-bottom: 6vh; }
.card__count { font-size: var(--fs-small); font-weight: 600; opacity: 0.75; font-variant-numeric: tabular-nums; }
.card__title { font-size: clamp(2.6rem, 1.4rem + 4vw, 6rem); font-weight: 900; letter-spacing: -0.012em; margin-bottom: 1rem; }
.card__title a { text-decoration: none; }
.card__sector { font-size: var(--fs-small); font-weight: 600; opacity: 0.8; }
.card__excerpt { max-width: 30rem; opacity: 0.92; }
.card__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin: 1.75rem 0 0; }
.card__stage { position: relative; z-index: 1; display: block; color: inherit; }
.work__foot { padding-block: clamp(3rem, 6vw, 6rem) var(--sec); }

@media (max-width: 860px) {
	.work__head { grid-template-columns: 1fr; }
	.card { position: relative; height: auto; }
	.card__inner { grid-template-columns: 1fr; padding: 3.5rem var(--gutter) 3rem; gap: 2rem; }
	.card__meta { order: 2; padding-bottom: 0; }
	.card__stage { order: 1; }
	.card__marquee { top: 0.4rem; bottom: auto; font-size: 30vw; }
}

/* --------------------------------------------------------------------------
   Appareils : navigateur + téléphone
   -------------------------------------------------------------------------- */
.device { position: relative; padding: 0 9% 9% 0; }
.device--solo { padding: 0; }
.device__browser { position: relative; border-radius: 12px; overflow: clip; background: #e9e9e9; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.08); }
.device__bar { display: flex; align-items: center; gap: 1rem; height: 34px; padding-inline: 14px; background: #ececec; }
.device__dots { display: flex; gap: 6px; }
.device__dots i { width: 10px; height: 10px; border-radius: 50%; background: #c9c9c9; }
.device__url { flex: 1; max-width: 20rem; margin-inline: auto; padding: 3px 10px; border-radius: 6px; background: #fff; color: #555; font-size: 11px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device__screen { position: relative; aspect-ratio: 16 / 10; min-height: 0; overflow: hidden; background: #fff; }
.device__shot { position: absolute; top: 0; left: 0; width: 100%; height: auto; max-width: none; will-change: transform; }
.device__empty { position: absolute; inset: 0; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 3.5rem); font-weight: 900; }
.device__phone {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 25%;
	padding: 2.6%;
	border-radius: 15% / 7.5%;
	background: #0d0d0d;
	box-shadow: 0 0 0 1px #2c2c2c inset, 0 40px 70px -20px rgba(0, 0, 0, 0.7);
	will-change: transform;
}
.device__phone::before { content: ""; position: absolute; top: 3.4%; left: 50%; z-index: 2; width: 32%; height: 2.2%; border-radius: 999px; background: #0d0d0d; transform: translateX(-50%); }
.device__phone-screen { position: relative; aspect-ratio: 9 / 19.5; min-height: 0; overflow: hidden; border-radius: 11% / 5.2%; background: #fff; isolation: isolate; }

/* --------------------------------------------------------------------------
   Bandeau défilant
   -------------------------------------------------------------------------- */
.band { padding-block: clamp(2rem, 5vw, 5rem); overflow: clip; border-top: 1px solid var(--line-dark); }
.band__row {
	display: flex;
	align-items: center;
	gap: 0.45em;
	width: max-content;
	font-family: var(--serif);
	font-size: clamp(3rem, 1.5rem + 7vw, 9.5rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.012em;
	white-space: nowrap;
	will-change: transform;
}
.band__row i { display: inline-block; width: 0.3em; height: 0.3em; background: currentColor; flex: none; }
.band__row--flip { color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.band__row--flip i { background: none; border: 1.5px solid var(--paper); }
.band__row--flip span { display: inline-block; transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   Titres de section
   -------------------------------------------------------------------------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: end; gap: 2rem var(--gutter); margin-bottom: clamp(3rem, 6vw, 6.5rem); }
.sec-title { font-size: var(--fs-h2); font-weight: 900; letter-spacing: -0.012em; line-height: 0.86; }
.sec-lead { margin: 0; font-size: var(--fs-lead); line-height: 1.45; color: var(--mute); max-width: 32rem; }
[data-theme="dark"] .sec-lead { color: var(--mute-dark); }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Services (accueil)
   -------------------------------------------------------------------------- */
.services { padding-block: var(--sec); }
.srv { list-style: none; border-top: 1px solid var(--ink); }
.srv__item { border-bottom: 1px solid var(--ink); }
.srv__link {
	position: relative;
	display: grid;
	grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 4fr) minmax(0, 1.4fr) 3rem;
	align-items: center;
	gap: 1rem var(--gutter);
	padding: clamp(1.5rem, 3vw, 2.75rem) 1rem;
	isolation: isolate;
	text-decoration: none;
	transition: color 0.6s var(--ease);
}
.srv__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.6s var(--ease); }
.srv__link:hover, .srv__link:focus-visible { color: var(--paper); }
.srv__link:hover::before, .srv__link:focus-visible::before { transform: scaleY(1); transform-origin: 50% 0; }
.srv__num { font-size: var(--fs-small); font-weight: 600; }
.srv__title { font-family: var(--serif); font-size: clamp(1.9rem, 1rem + 3vw, 4.4rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.012em; transition: transform 0.6s var(--ease); }
.srv__link:hover .srv__title { transform: translateX(1.5rem); }
.srv__text { font-size: var(--fs-small); line-height: 1.55; color: var(--mute); transition: color 0.6s var(--ease); }
.srv__link:hover .srv__text { color: var(--mute-dark); }
.srv__price { font-weight: 700; text-align: right; white-space: nowrap; }
.srv__arrow { font-size: 1.8rem; text-align: right; transition: transform 0.6s var(--ease); }
.srv__link:hover .srv__arrow { transform: rotate(45deg); }
@media (max-width: 900px) {
	.srv__link { grid-template-columns: 2rem 1fr 2rem; padding-inline: 0.25rem; }
	.srv__text, .srv__price { grid-column: 2 / -1; text-align: left; }
	.srv__arrow { grid-row: 1; grid-column: 3; }
}

/* --------------------------------------------------------------------------
   Méthode
   -------------------------------------------------------------------------- */
.method { padding-block: var(--sec); }
.method__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: start; }
.method__left { position: sticky; top: calc(var(--header-h) + 2rem); }
.method__num { --h: clamp(12rem, 42vh, 30rem); height: var(--h); margin-top: 2rem; overflow: clip; font-family: var(--serif); font-size: var(--h); font-weight: 900; line-height: 1; letter-spacing: -0.012em; }
.method__num-track { display: flex; flex-direction: column; transition: transform 0.9s var(--ease); }
.method__num-track span { display: block; height: var(--h); line-height: 1; }
.method__steps { list-style: none; padding-top: 12vh; }
.mstep { min-height: 62vh; padding-block: 2rem; border-top: 1px solid var(--line-dark); opacity: 0.28; transition: opacity 0.6s var(--ease); }
.mstep.is-active { opacity: 1; }
.mstep__n { font-size: var(--fs-small); font-weight: 600; color: var(--mute-dark); }
.mstep__title { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 5rem); font-weight: 900; letter-spacing: -0.012em; margin-bottom: 1.5rem; }
.mstep__text { max-width: 30rem; font-size: var(--fs-lead); line-height: 1.5; color: #d6d6d6; }
.no-motion .mstep { opacity: 1; }
@media (max-width: 860px) {
	.method__grid { grid-template-columns: 1fr; }
	.method__left { position: static; }
	.method__num { display: none; }
	.method__steps { padding-top: 2rem; }
	.mstep { min-height: 0; opacity: 1; padding-block: 2rem 2.5rem; }
}

/* --------------------------------------------------------------------------
   Ancrage local
   -------------------------------------------------------------------------- */
.local { position: relative; padding-block: var(--sec); overflow: clip; }
.local__word {
	font-family: var(--serif);
	font-size: clamp(7rem, 2rem + 26vw, 34rem);
	font-weight: 900;
	line-height: 0.8;
	letter-spacing: -0.012em;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--ink);
	margin-bottom: clamp(2rem, 5vw, 5rem);
	padding-left: var(--gutter);
	will-change: transform;
}
.local__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem var(--gutter); }
.local__body p { font-size: var(--fs-lead); line-height: 1.5; max-width: 34rem; }
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 0; margin-top: 2rem; font-family: var(--serif); font-variation-settings: "opsz" 14; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); font-weight: 600; }
.towns li:not(:last-child)::after { content: ""; display: inline-block; width: 0.3em; height: 0.3em; margin: 0 0.55em 0.12em; background: var(--ink); vertical-align: middle; }
@media (max-width: 800px) { .local__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Questions fréquentes
   -------------------------------------------------------------------------- */
.faq { padding-block: var(--sec); border-top: 1px solid var(--ink); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 2rem var(--gutter); align-items: start; }
.faq__grid .sec-title { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.qa { border-bottom: 1px solid var(--ink); }
.qa:first-child { border-top: 1px solid var(--ink); }
.qa summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 72px;
	padding-block: 1.4rem;
	font-family: var(--serif);
	font-variation-settings: "opsz" 16;
	font-size: clamp(1.25rem, 1rem + 0.9vw, 1.9rem);
	font-weight: 700;
	line-height: 1.15;
	list-style: none;
	cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 22px; height: 22px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa[open] summary i::before { transform: rotate(180deg); }
.qa__a { padding-bottom: 1.75rem; max-width: 40rem; color: var(--mute); }
.qa__a p { margin: 0; }
@media (max-width: 860px) {
	.faq__grid { grid-template-columns: 1fr; }
	.faq__grid .sec-title { position: static; }
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.footer { position: relative; overflow: clip; }
.footer__call { position: relative; padding-block: var(--sec) clamp(4rem, 8vw, 8rem); }
.footer__kicker { font-size: var(--fs-lead); color: var(--mute-dark); }
.footer__big { white-space: nowrap; font-size: clamp(3rem, 0.5rem + 13vw, 18rem); font-weight: 900; letter-spacing: -0.012em; line-height: 0.82; }
.footer__big a { position: relative; display: inline-block; text-decoration: none; }
.footer__word, .footer__mirror { display: block; transition: transform 0.9s var(--ease), color 0.6s var(--ease); }
.footer__word { transform-origin: 50% 55%; }
.footer__mirror { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45); transform: rotate(180deg); transform-origin: 50% 55%; }
.footer__big a:hover .footer__word { transform: rotate(-180deg); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45); }
.footer__big a:hover .footer__mirror { transform: rotate(0deg); color: var(--paper); -webkit-text-stroke: 0; }

.magnet {
	position: relative;
	margin: clamp(1.5rem, 3vw, 3rem) 0 0 auto;
	display: grid;
	place-items: center;
	width: clamp(120px, 12vw, 190px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--paper);
	color: var(--ink);
	font-weight: 700;
	text-align: center;
	line-height: 1.2;
	text-decoration: none;
	will-change: transform;
}
.magnet__inner { pointer-events: none; display: block; }

.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem var(--gutter); padding-block: clamp(3rem, 5vw, 5rem); border-top: 1px solid var(--line-dark); }
.footer__brand .brand__logo { height: 96px; }
.footer__brand p { margin-top: 1.5rem; max-width: 20rem; color: var(--mute-dark); font-size: var(--fs-small); }
.footer__title { margin-bottom: 1rem; font-size: var(--fs-small); color: var(--mute-dark); }
.footer__list { list-style: none; display: grid; gap: 0.3rem; }
.footer__list a, .footer__list span { display: inline-block; padding-block: 0.25rem; text-decoration: none; }
.footer__list a:hover { text-decoration: underline; }
.footer__clock { font-family: var(--serif); font-size: 2.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; padding-block: 1.5rem; border-top: 1px solid var(--line-dark); font-size: var(--fs-small); color: var(--mute-dark); }
.footer__legal p { margin: 0 auto 0 0; }
.footer__legal-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer__legal-list a { display: inline-block; padding-block: 0.4rem; }
.totop { color: var(--paper); font-weight: 600; }
.footer__giant { overflow: clip; padding: 2rem var(--gutter) 0; }
.footer__giant svg { width: 100%; height: auto; fill: var(--paper); stroke: var(--paper); overflow: visible; will-change: transform; }
@media (max-width: 900px) {
	.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer__brand { grid-column: 1 / -1; }
	.magnet { margin: 2.5rem 0 0; }
}

/* --------------------------------------------------------------------------
   Pages intérieures
   -------------------------------------------------------------------------- */
.phero { position: relative; padding-top: calc(var(--header-h) + clamp(3rem, 8vh, 7rem)); padding-bottom: clamp(3rem, 6vw, 6rem); overflow: clip; }
.phero__blk { position: absolute; top: 0; right: 24%; width: clamp(3rem, 9vw, 9rem); height: 72%; background: var(--ink); will-change: transform; }
.phero__title {
	position: relative;
	z-index: 1;
	max-width: 14ch;
	font-size: var(--fs-h1);
	font-weight: 900;
	letter-spacing: -0.012em;
	line-height: 0.84;
	color: var(--paper);
	mix-blend-mode: difference;
	overflow-wrap: break-word;
	hyphens: auto;
}
.phero--compact .phero__title { font-size: clamp(2.6rem, 1.5rem + 5vw, 6.5rem); max-width: 18ch; }
.phero--article .phero__title { font-size: clamp(2.4rem, 1.4rem + 4vw, 5.5rem); max-width: 20ch; }
.phero__lead { position: relative; z-index: 1; margin: 2rem 0 0; max-width: 36rem; font-size: var(--fs-lead); line-height: 1.45; }
.crumbs { position: relative; z-index: 1; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: 0.35rem; margin-bottom: 2rem; font-size: var(--fs-small); color: var(--mute); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.page-body { padding-bottom: var(--sec); }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); margin-top: 2em; }
.prose h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 4px solid var(--ink); font-family: var(--serif); font-size: 1.5rem; }

.ticks { list-style: none; display: grid; gap: 0.55rem; margin: 1.25rem 0; }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.55rem; height: 0.55rem; background: currentColor; }

/* Services (page) */
.offers { padding-bottom: var(--sec); }
.offer { display: grid; grid-template-columns: 4rem minmax(0, 6fr) minmax(0, 5fr); gap: 1.5rem var(--gutter); padding-block: clamp(2.5rem, 5vw, 5rem); border-top: 1px solid var(--ink); scroll-margin-top: var(--header-h); }
.offer__num { font-size: var(--fs-small); font-weight: 600; padding-top: 0.6rem; }
.offer__title { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 5.4rem); font-weight: 900; letter-spacing: -0.012em; }
.offer__text { font-size: var(--fs-lead); line-height: 1.45; }
.offer__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.offer__price { margin: 0; font-family: var(--serif); font-size: 1.8rem; font-weight: 800; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } }

.included { padding-block: var(--sec); }
.included__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.included__grid li { padding: 2rem 1.5rem 2.5rem 0; border-bottom: 1px solid var(--line-dark); }
.included__grid li:not(:nth-child(4n)) { border-right: 1px solid var(--line-dark); }
.included__grid li:not(:nth-child(4n + 1)) { padding-left: 1.5rem; }
.included__grid h3 { font-size: 1.7rem; margin-bottom: 0.75rem; }
.included__grid p { margin: 0; color: var(--mute-dark); font-size: var(--fs-small); }
@media (max-width: 1000px) {
	.included__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.included__grid li { border-right: 0 !important; padding-left: 0 !important; }
}
@media (max-width: 560px) { .included__grid { grid-template-columns: 1fr; } }

/* À propos */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gutter); align-items: start; padding-bottom: var(--sec); }
.about__visual { position: sticky; top: calc(var(--header-h) + 2rem); }
.about__logo { width: 100%; height: auto; fill: var(--ink); overflow: visible; }
.about__logo .ld-curve { fill: none; stroke: var(--ink); }
.about__portrait { width: 100%; max-width: 30rem; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 2rem; filter: grayscale(1) contrast(1.1); }
.about__body .prose { font-size: var(--fs-lead); }
.facts { margin-block: 2.5rem; border-top: 1px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--fs-small); color: var(--mute); padding-top: 0.15rem; }
.facts dd { font-weight: 600; }
@media (max-width: 860px) {
	.about { grid-template-columns: 1fr; }
	.about__visual { position: static; max-width: 18rem; }
}

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--gutter); align-items: start; padding-bottom: var(--sec); }
.contact__aside { display: grid; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ink); }
.contact__item { display: grid; margin: 0; }
.contact__label { font-size: var(--fs-small); color: var(--mute); }
.contact__item a { font-family: var(--serif); font-variation-settings: "opsz" 16; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); font-weight: 700; overflow-wrap: anywhere; text-decoration: none; }
.contact__item a:hover { text-decoration: underline; }
.contact__tip { padding: 1.25rem 1.4rem; background: var(--ink); color: var(--paper); font-size: var(--fs-small); }
.contact__tip p { margin: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* Formulaire */
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.field { display: grid; gap: 0.3rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-small); font-weight: 600; }
.req { color: var(--err); }
.field input:not([type="checkbox"]),
.field select,
.field textarea,
.searchform input[type="search"] {
	width: 100%;
	min-height: 56px;
	padding: 0.7rem 0;
	border: 0;
	border-bottom: 1px solid var(--ink);
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: max(16px, 1.15rem);
	transition: box-shadow 0.3s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.2rem center; padding-right: 2rem; }
.field input:focus, .field select:focus, .field textarea:focus, .searchform input[type="search"]:focus { outline: none; box-shadow: 0 2px 0 var(--ink); }
.field [aria-invalid="true"] { border-color: var(--err) !important; box-shadow: 0 2px 0 var(--err); }
.field__error { margin: 0.3rem 0 0; color: var(--err); font-size: var(--fs-small); font-weight: 600; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.85rem; }
.field--check input { width: 22px; height: 22px; margin: 0.1rem 0 0; accent-color: var(--ink); }
.field--check label { font-weight: 400; line-height: 1.5; }
.field--check .field__error { grid-column: 2; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.5rem; }
.form__note { margin: 0; font-size: var(--fs-small); color: var(--mute); }
.form__status { outline: none; }
.form__status:not(:empty) { margin-top: 1.5rem; }
.notice { margin: 0; padding: 1.1rem 1.25rem; font-weight: 600; overflow-wrap: anywhere; }
.notice--ok { background: var(--ink); color: var(--paper); }
.notice--err { border: 1px solid var(--err); color: var(--err); }
.form.is-sending button[type="submit"] { opacity: 0.55; pointer-events: none; }
@media (max-width: 640px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }
.searchform { display: flex; align-items: end; gap: 1rem; max-width: 36rem; }
.search-again { margin-bottom: 3rem; }

/* Pages légales */
.legal { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: var(--gutter); align-items: start; padding-bottom: var(--sec); }
.legal__toc { position: sticky; top: calc(var(--header-h) + 1rem); font-size: var(--fs-small); border-top: 1px solid var(--ink); padding-top: 1rem; }
.legal__toc-title { font-weight: 700; margin-bottom: 0.75rem; }
.legal__toc ol { list-style: none; display: grid; }
.legal__toc a { display: block; padding-block: 0.3rem; text-decoration: none; color: var(--mute); line-height: 1.35; }
.legal__toc a:hover { color: var(--ink); }
.legal__body h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.legal-date { color: var(--mute); font-size: var(--fs-small); }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: static; } }

/* Réalisations : index */
.index { position: relative; padding-bottom: var(--sec); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-bottom: clamp(2rem, 4vw, 4rem); font-weight: 600; }
.filters a { display: inline-flex; align-items: flex-start; gap: 0.2rem; min-height: 44px; padding-top: 0.6rem; text-decoration: none; color: var(--mute); transition: color 0.3s; }
.filters a:hover, .filters a[aria-current="page"] { color: var(--ink); }
.filters a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.filters sup { font-size: 0.7em; }
.index__list { list-style: none; border-top: 1px solid var(--ink); }
.index__item { border-bottom: 1px solid var(--ink); }
.index__link { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; padding-block: clamp(1.25rem, 2.6vw, 2.5rem); text-decoration: none; transition: opacity 0.5s var(--ease); }
.index__title { font-family: var(--serif); font-size: clamp(2.2rem, 1rem + 5vw, 7rem); font-weight: 900; line-height: 0.92; letter-spacing: -0.012em; transition: transform 0.7s var(--ease); }
.index__meta { display: grid; justify-items: end; gap: 0.2rem; font-size: var(--fs-small); color: var(--mute); text-align: right; flex: none; }
.index__list:hover .index__link { opacity: 0.22; }
.index__list .index__link:hover, .index__list .index__link:focus-visible { opacity: 1; }
.index__link:hover .index__title { transform: translateX(2vw); }
.index__mobile { display: none; }
.preview { position: fixed; left: 0; top: 0; z-index: 150; width: clamp(260px, 30vw, 520px); pointer-events: none; opacity: 0; transition: opacity 0.35s var(--ease-out); will-change: transform; }
.preview.is-on { opacity: 1; }
.preview__frame { aspect-ratio: 16 / 10; min-height: 0; overflow: hidden; border-radius: 8px; background: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); transform: scale(0.85); transition: transform 0.5s var(--ease-out); }
.preview.is-on .preview__frame { transform: scale(1); }
.preview__img { width: 100%; height: auto; }
@media (max-width: 860px), (hover: none) {
	.index__link { flex-direction: column; gap: 0.4rem; }
	.index__meta { justify-items: start; text-align: left; }
	.index__mobile { display: block; padding-bottom: 2rem; }
	.preview { display: none; }
}

/* Réalisation : fiche */
.case__hero { padding-top: calc(var(--header-h) + clamp(3rem, 8vh, 7rem)); padding-bottom: clamp(3rem, 6vw, 6rem); }
.case__title { font-size: clamp(3.4rem, 1.4rem + 10vw, 14rem); font-weight: 900; letter-spacing: -0.012em; line-height: 0.82; overflow-wrap: break-word; hyphens: auto; }
.case__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem var(--gutter); margin-block: clamp(2rem, 4vw, 4rem) 2rem; }
.case__lead { margin: 0; font-size: var(--fs-lead); line-height: 1.45; }
.case__meta > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-block: 0.7rem; border-bottom: 1px solid var(--line); }
.case__meta > div:first-child { border-top: 1px solid var(--ink); }
.case__meta dt { font-size: var(--fs-small); color: var(--mute); }
.case__meta dd { font-weight: 600; }
@media (max-width: 800px) { .case__intro { grid-template-columns: 1fr; } }

.tour { position: relative; height: 260vh; background: var(--accent, var(--ink)); }
.tour__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: clip; }
.tour__stage { padding-top: calc(var(--header-h) * 0.6); }
.tour__stage .device { width: min(100%, calc((100svh - var(--header-h) - 3rem) * 1.75)); margin-inline: auto; }
@media (max-width: 800px) { .tour { height: 180vh; } }

.case__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--gutter); padding-block: var(--sec); }
.case__body .prose { font-size: var(--fs-lead); }
.case__features { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.case__features h2 { font-size: 2rem; }
@media (max-width: 860px) { .case__body { grid-template-columns: 1fr; } }

.next { overflow: clip; }
.next__link { display: block; padding: clamp(4rem, 10vw, 9rem) var(--gutter); text-decoration: none; }
.next__label { display: block; font-size: var(--fs-small); color: var(--mute-dark); margin-bottom: 1rem; }
.next__title { display: inline-block; font-family: var(--serif); font-size: clamp(3rem, 1rem + 10vw, 13rem); font-weight: 900; line-height: 0.85; letter-spacing: -0.012em; transition: transform 0.8s var(--ease), color 0.6s; }
.next__link:hover .next__title { transform: translateX(3vw); color: transparent; -webkit-text-stroke: 1.5px var(--paper); }

/* Journal */
.posts { list-style: none; border-top: 1px solid var(--ink); }
.post-item { border-bottom: 1px solid var(--ink); }
.post-item article { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.5rem var(--gutter); padding-block: clamp(1.5rem, 3vw, 3rem); }
.post-item__date { grid-row: span 2; margin: 0; color: var(--mute); font-size: var(--fs-small); padding-top: 0.6rem; }
.post-item__title { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.6rem); font-weight: 800; }
.post-item__title a { text-decoration: none; }
.post-item__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.post-item__excerpt { margin: 0; max-width: 42rem; color: var(--mute); }
@media (max-width: 640px) { .post-item article { grid-template-columns: 1fr; } .post-item__date { grid-row: auto; } }
.article__meta { position: relative; z-index: 1; margin: 1.5rem 0 0; color: var(--mute); font-size: var(--fs-small); }
.article__cover img { width: 100%; margin-bottom: 3rem; }
.article__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; max-width: 66ch; margin-top: 4rem; padding: 1.75rem; background: var(--ink); color: var(--paper); }
.article__cta p { margin: 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 3rem; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 0.8rem; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; }
.nav-links .current { background: var(--ink); color: var(--paper); }
.empty { padding-block: 2rem; }

/* 404 */
.lost { padding-top: calc(var(--header-h) + 4rem); padding-bottom: var(--sec); }
.lost__code { display: flex; margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(8rem, 4rem + 22vw, 26rem); font-weight: 900; line-height: 0.8; letter-spacing: -0.012em; }
.lost__code .flip { transform: rotate(180deg); }
.lost__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }

/* Bandeau cookies */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 450; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; max-width: 54rem; margin-inline: auto; padding: 1.25rem 1.5rem; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); font-size: var(--fs-small); }
.consent[hidden] { display: none; }
.consent__body { flex: 1 1 26rem; }
.consent__body p { margin: 0; }
.consent__title { font-family: var(--serif); font-weight: 800; font-size: 1.3rem; margin-bottom: 0.4rem !important; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Éditeur de blocs */
.alignwide { max-width: min(100vw - 2 * var(--gutter), 1100px); }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.wp-block-button__link { border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; }

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.card { position: relative; }
	.tour { height: auto; }
	.tour__pin { position: relative; height: auto; padding-block: 4rem; }
}

@media print {
	.masthead, .loader, .curtain, .cursor, .consent, .magnet, .footer__giant, .band { display: none !important; }
	[data-theme="dark"] { background: #fff !important; color: #000 !important; }
	.card { position: relative; height: auto; }
}

/* Capture indisponible : jamais d'image cassée, un écran au nom du site à la place. */
.device__screen.is-empty::after,
.device__phone-screen.is-empty::after {
	content: attr(data-label);
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 1rem;
	background: var(--accent, var(--ink));
	color: var(--paper);
	font-family: var(--serif);
	font-size: clamp(1.2rem, 3vw, 2.6rem);
	font-weight: 900;
	text-align: center;
}
.device__screen.is-empty .device__shot,
.device__phone-screen.is-empty .device__shot { visibility: hidden; }
.device__phone-screen.is-empty::after { font-size: clamp(0.7rem, 1.4vw, 1.1rem); padding: 0.5rem; overflow-wrap: anywhere; }

/* En-tête plein dès qu'on a défilé : lisible au-dessus des textes, couleur de la section en dessous. */
.masthead { transition: transform 0.6s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease); }
.masthead.is-solid { mix-blend-mode: normal; background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.masthead.is-solid.on-dark { background: var(--ink); color: var(--paper); box-shadow: 0 1px 0 var(--line-dark); }
.masthead.is-solid .nav__cta:hover { background: var(--ink); color: var(--paper); }
.masthead.is-solid.on-dark .nav__cta:hover { background: var(--paper); color: var(--ink); }
.masthead.is-open { background: transparent !important; color: var(--paper) !important; box-shadow: none !important; }
