/*
Theme Name: Liaison Graphique
Theme URI: https://www.liaison-graphique.com/
Author: Liaison Graphique
Description: Thème portfolio de Liaison Graphique — accueil éditorial, grille de projets filtrable et page détail par projet. Reprend le type de contenu « portfolio » de BeTheme : les projets et leurs adresses sont conservés.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: liaison-graphique
*/

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */

:root {
	--lg-bg: #F3F2EE;
	--lg-ink: #111111;
	--lg-text: #2C2C29;
	--lg-muted: #4A4A46;
	--lg-line: #DEDCD5;
	--lg-line-strong: #CFCDC5;
	--lg-white: #FFFFFF;
	--lg-dark-muted: #B5B5AE;
	--lg-accent: #2B3BFF;
	--lg-display: 'Bricolage Grotesque', system-ui, sans-serif;
	--lg-body: 'Inter Tight', system-ui, sans-serif;
	--lg-radius: 20px;
	--lg-gutter: 40px;
	--lg-ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
	margin: 0;
	background: var(--lg-bg);
	color: var(--lg-ink);
	font-family: var(--lg-body);
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--lg-ink); }
a:hover { color: var(--lg-accent); }

:focus-visible { outline: 2px solid var(--lg-accent); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-family: var(--lg-display); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.screen-reader-text:focus {
	clip: auto; width: auto; height: auto;
	top: 12px; left: 12px; z-index: 100;
	padding: 12px 18px; background: var(--lg-white); border-radius: 8px;
}

.lg-container { max-width: 1360px; margin: 0 auto; padding-inline: var(--lg-gutter); }

.lg-kicker {
	margin: 0 0 20px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lg-muted);
}
.lg-kicker--accent { color: var(--lg-accent); }

.lg-h2 { font-size: clamp(40px, 5vw, 72px); }
.lg-h2 sup { font-size: 0.35em; color: var(--lg-accent); letter-spacing: 0; vertical-align: top; }

/* ------------------------------------------------------------------ */
/* Boutons                                                             */
/* ------------------------------------------------------------------ */

.lg-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 15px 26px;
	border-radius: 999px;
	border: 1px solid transparent;
	font: 600 16px var(--lg-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.lg-btn--accent { background: var(--lg-accent); color: var(--lg-white); }
.lg-btn--accent:hover { background: var(--lg-ink); color: var(--lg-white); }
.lg-btn--ghost { background: transparent; color: var(--lg-ink); border-color: var(--lg-ink); }
.lg-btn--ghost:hover { background: var(--lg-ink); color: var(--lg-white); }
.lg-btn--white { background: var(--lg-white); color: var(--lg-ink); }
.lg-btn--white:hover { background: var(--lg-ink); color: var(--lg-white); }
.lg-btn--outline-white { background: transparent; color: var(--lg-white); border-color: var(--lg-white); }
.lg-btn--outline-white:hover { background: var(--lg-white); color: var(--lg-ink); }

/* ------------------------------------------------------------------ */
/* En-tête                                                             */
/* ------------------------------------------------------------------ */

.lg-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(243, 242, 238, .92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--lg-line);
}
.admin-bar .lg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .lg-header { top: 46px; } }

.lg-header__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding-block: 18px;
}

.lg-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--lg-display);
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -0.02em;
	text-decoration: none;
	color: var(--lg-ink);
}
.lg-logo svg { color: var(--lg-accent); flex: none; }
.custom-logo { max-height: 90px; width: auto; }

.lg-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.lg-menu { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; }
.lg-menu a { text-decoration: none; }
.lg-menu .current-menu-item > a,
.lg-menu .current-menu-ancestor > a,
.lg-menu .current_page_parent > a { color: var(--lg-accent); }
.lg-menu .sub-menu { display: none; }

.lg-header__cta {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--lg-ink);
	color: var(--lg-white);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}
.lg-header__cta:hover { background: var(--lg-accent); color: var(--lg-white); }

/* ------------------------------------------------------------------ */
/* Accueil                                                             */
/* ------------------------------------------------------------------ */

.lg-hero { padding-block: 96px 72px; }
.lg-hero__title {
	font-size: clamp(52px, 8.4vw, 136px);
	line-height: 0.92;
	letter-spacing: -0.045em;
	max-width: 1200px;
}
.lg-hero__title em, .lg-project-title em { font-style: normal; color: var(--lg-accent); }
.lg-hero__row {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 64px;
	align-items: flex-end;
	justify-content: space-between;
	margin-top: 48px;
}
.lg-hero__text { margin: 0; font-size: 21px; line-height: 1.5; max-width: 620px; color: var(--lg-text); }
.lg-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Projet à la une */
.lg-feature { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--lg-ink); }
.lg-feature__tile {
	position: relative;
	height: clamp(320px, 46vw, 640px);
	border-radius: var(--lg-radius);
	background: var(--lg-ink);
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding: clamp(24px, 4vw, 56px);
	transition: transform .5s var(--lg-ease);
}
.lg-feature:hover .lg-feature__tile { transform: scale(.985); }
.lg-feature__ring {
	position: absolute;
	right: -6%;
	top: -18%;
	width: 62%;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 2px solid var(--lg-accent);
	pointer-events: none;
}
.lg-feature__img {
	position: absolute;
	right: 6%;
	top: 10%;
	width: 44%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	border-radius: 12px 12px 0 0;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
	transition: transform .6s var(--lg-ease);
}
.lg-feature:hover .lg-feature__img { transform: translateY(-12px); }
.lg-feature__text { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 46%; }
.lg-feature__kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lg-dark-muted); }
.lg-feature__title {
	font-family: var(--lg-display);
	font-weight: 800;
	font-size: clamp(40px, 6vw, 88px);
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: var(--lg-white);
}
.lg-feature__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--lg-muted); }

.lg-round {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--lg-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--lg-ink);
	transition: background-color .2s, color .2s, border-color .2s;
}
.lg-feature:hover .lg-round { background: var(--lg-accent); border-color: var(--lg-accent); color: var(--lg-white); }

@media (max-width: 700px) {
	.lg-feature__img { width: 70%; right: -10%; top: 8%; opacity: .55; }
	.lg-feature__text { max-width: 100%; }
}

/* Sections */
.lg-section { padding-block: 120px; }
.lg-section--tight-bottom { padding-bottom: 40px; }
.lg-section-head {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 48px;
}

/* Filtres + grille */
.lg-grid-wrap { display: flex; flex-direction: column; }
.lg-section-head + .lg-grid-wrap .lg-filters { margin-top: -24px; }
.lg-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.lg-chip {
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid var(--lg-line-strong);
	background: transparent;
	color: var(--lg-ink);
	font: 500 15px var(--lg-body);
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.lg-chip span { opacity: .6; margin-left: 2px; }
.lg-chip:hover { border-color: var(--lg-ink); }
.lg-chip[aria-pressed="true"] { background: var(--lg-ink); border-color: var(--lg-ink); color: var(--lg-white); }

.lg-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 48px 28px;
}
.lg-grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }

.lg-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--lg-ink); }
.lg-card[hidden] { display: none; }
.lg-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	background: #E4E2DA;
	transition: transform .5s var(--lg-ease);
}
.lg-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--lg-ease); }
.lg-card:hover .lg-card__media { transform: scale(.97); }
.lg-card:hover .lg-card__media img { transform: scale(1.06); }
.lg-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 22px;
	font-family: var(--lg-display);
	font-weight: 800;
	font-size: 30px;
	line-height: 1;
	letter-spacing: -0.03em;
}
.lg-card__num {
	position: absolute;
	left: 14px;
	top: 14px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--lg-bg);
	color: var(--lg-ink);
	font-size: 12px;
	font-weight: 600;
}
.lg-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lg-card__title { font-size: 18px; font-weight: 600; }
.lg-card:hover .lg-card__title { color: var(--lg-accent); }
.lg-card__tag { font-size: 14px; color: var(--lg-muted); white-space: nowrap; }

.lg-grid-more { display: flex; justify-content: center; margin-top: 64px; }
.lg-grid-empty { padding: 48px 0; color: var(--lg-muted); }

/* Savoir-faire */
.lg-split { display: flex; flex-wrap: wrap; gap: 48px; }
.lg-split__aside { flex: 1 1 320px; }
.lg-split__main { flex: 2 1 560px; min-width: 0; }
.lg-split__aside h2 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.035em; line-height: 1.02; }
.lg-split__aside p { margin: 20px 0 0; font-size: 18px; line-height: 1.55; color: var(--lg-text); max-width: 420px; }

.lg-services { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--lg-ink); counter-reset: lg-service; }
.lg-services li {
	counter-increment: lg-service;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 20px;
	align-items: baseline;
	padding-block: 28px;
	border-bottom: 1px solid var(--lg-line-strong);
}
.lg-services li::before { content: counter(lg-service, decimal-leading-zero); font-size: 14px; font-weight: 600; color: var(--lg-accent); }
.lg-services__title { font-family: var(--lg-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; }
.lg-services__desc { font-size: 16px; line-height: 1.5; color: var(--lg-muted); }
@media (max-width: 700px) {
	.lg-services li { grid-template-columns: 40px minmax(0, 1fr); }
	.lg-services__desc { grid-column: 2; }
}

/* L'agence */
.lg-about { background: var(--lg-ink); color: var(--lg-white); }
.lg-about__inner { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-block: 120px; }
.lg-about__text {
	flex: 2 1 560px;
	margin: 0;
	font-family: var(--lg-display);
	font-weight: 600;
	font-size: clamp(30px, 3.6vw, 52px);
	line-height: 1.12;
	letter-spacing: -0.03em;
}
.lg-about__text em { font-style: normal; color: #8E8E88; }
.lg-stats { flex: 1 1 280px; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.lg-stats dt { font-size: 14px; color: var(--lg-dark-muted); margin-bottom: 6px; }
.lg-stats dd { margin: 0; font-family: var(--lg-display); font-weight: 800; font-size: 56px; letter-spacing: -0.04em; line-height: 1; }

/* Contact */
.lg-contact { display: flex; flex-wrap: wrap; gap: 64px; padding-block: 120px 96px; }
.lg-contact__aside { flex: 1 1 380px; display: flex; flex-direction: column; gap: 32px; }
.lg-contact__aside h2 { font-size: clamp(44px, 5.6vw, 84px); letter-spacing: -0.045em; line-height: 0.95; }
.lg-contact address { font-style: normal; display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.5; }
.lg-contact address a { font-weight: 600; }
.lg-contact address .lg-contact__mail { color: var(--lg-accent); }
.lg-contact__form { flex: 1.4 1 480px; min-width: 0; }

.lg-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	background: var(--lg-white);
	border-radius: var(--lg-radius);
	padding: clamp(24px, 3vw, 40px);
}
.lg-form--plugin { display: block; }
.lg-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.lg-field--full, .lg-form__notice { grid-column: 1 / -1; }
.lg-field input, .lg-field textarea,
.lg-form--plugin input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.lg-form--plugin textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid #8A8983;
	border-radius: 0;
	padding: 12px 0;
	background: transparent;
	font: 400 17px var(--lg-body);
	color: var(--lg-ink);
}
.lg-field textarea { resize: vertical; }
.lg-field input:focus, .lg-field textarea:focus { outline: none; border-bottom: 2px solid var(--lg-accent); }
.lg-form > .lg-btn { grid-column: 1 / -1; justify-self: start; border: 0; }
.lg-form--plugin input[type="submit"] { background: var(--lg-accent); color: var(--lg-white); border: 0; border-radius: 999px; padding: 16px 28px; font: 600 16px var(--lg-body); cursor: pointer; }
.lg-form__notice { margin: 0; padding: 14px 18px; border-radius: 12px; background: #E6E8FF; color: #1A2299; font-weight: 500; }
.lg-form__notice--error { background: #FBE4E0; color: #8A2414; }
.lg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .lg-form { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ */
/* Page projet                                                         */
/* ------------------------------------------------------------------ */

.lg-project-head { padding-block: 56px; }
.lg-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--lg-muted); margin-bottom: 56px; }
.lg-breadcrumb a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--lg-muted); }
.lg-breadcrumb a:hover { color: var(--lg-accent); }
.lg-breadcrumb [aria-current] { color: var(--lg-ink); font-weight: 600; }

.lg-project-intro { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-end; justify-content: space-between; }
.lg-project-intro > div { flex: 2 1 560px; }
.lg-project-title { font-size: clamp(56px, 9vw, 148px); line-height: 0.9; letter-spacing: -0.05em; overflow-wrap: anywhere; }
.lg-project-lead { flex: 1 1 320px; margin: 0; font-size: 20px; line-height: 1.5; color: var(--lg-text); max-width: 440px; }

.lg-facts { margin: 64px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--lg-ink); }
.lg-facts > div { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--lg-line-strong); }
.lg-facts dt { font-size: 13px; color: var(--lg-muted); margin-bottom: 8px; }
.lg-facts dd { margin: 0; font-size: 18px; font-weight: 600; }
.lg-facts a { display: inline-flex; align-items: center; gap: 6px; color: var(--lg-accent); text-decoration: none; }
.lg-facts a:hover { text-decoration: underline; }

.lg-showcase {
	position: relative;
	height: clamp(340px, 52vw, 760px);
	border-radius: var(--lg-radius);
	background: var(--lg-ink);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 5vw, 80px);
}
.lg-showcase__ring {
	position: absolute;
	left: -8%;
	bottom: -30%;
	width: 50%;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 2px solid var(--lg-accent);
	pointer-events: none;
}
.lg-browser {
	position: relative;
	width: min(100%, 980px);
	aspect-ratio: 16 / 10;
	max-height: 100%;
	background: var(--lg-bg);
	border-radius: 12px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.lg-browser__bar { flex: none; height: 32px; background: #E4E2DA; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.lg-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #BDBAB0; }
.lg-browser__bar span { margin-left: 16px; font-size: 12px; color: var(--lg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-browser__screen { flex: 1; min-height: 0; overflow-y: auto; }
.lg-browser__screen img { width: 100%; }

.lg-project-body { display: flex; flex-wrap: wrap; gap: 48px 80px; padding-block: 120px; }
.lg-project-body__aside { flex: 1 1 280px; }
.lg-project-body__main { flex: 3 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }

.lg-prose { font-size: 18px; line-height: 1.6; color: var(--lg-text); }
.lg-prose > :first-child { margin-top: 0; }
.lg-prose > :last-child { margin-bottom: 0; }
.lg-prose--lead > p:first-child {
	font-family: var(--lg-display);
	font-weight: 600;
	font-size: clamp(26px, 2.8vw, 40px);
	line-height: 1.2;
	letter-spacing: -0.025em;
	color: var(--lg-ink);
}
.lg-prose h2, .lg-prose h3 { margin: 1.6em 0 .6em; letter-spacing: -0.03em; }
.lg-prose h2 { font-size: 36px; }
.lg-prose h3 { font-size: 26px; }
.lg-prose img { border-radius: 16px; }
.lg-prose a { color: var(--lg-accent); }

.lg-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.lg-columns h2 { margin: 0 0 16px; font-family: var(--lg-body); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lg-accent); }
.lg-columns p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--lg-text); }
.lg-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 18px; }
.lg-list li { padding-bottom: 12px; border-bottom: 1px solid var(--lg-line-strong); }

.lg-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.lg-gallery figure { margin: 0; border-radius: var(--lg-radius); overflow: hidden; background: #E4E2DA; aspect-ratio: 4 / 5; }
.lg-gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.lg-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.lg-pager { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-block: 1px solid var(--lg-ink); }
.lg-pager a { display: flex; flex-direction: column; gap: 12px; padding: 40px 32px 40px 0; text-decoration: none; color: var(--lg-ink); }
.lg-pager a.lg-pager__next { align-items: flex-end; text-align: right; padding: 40px 0 40px 32px; }
.lg-pager__label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--lg-muted); }
.lg-pager__title { font-family: var(--lg-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -0.035em; line-height: 1.05; }
.lg-pager a:hover .lg-pager__title { color: var(--lg-accent); }

.lg-related { padding-top: 96px; }
.lg-related .lg-section-head h2 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -0.035em; }
.lg-related .lg-section-head { margin-bottom: 36px; align-items: baseline; }
.lg-related .lg-section-head a { font-weight: 600; }

.lg-cta-wrap { padding-block: 120px 96px; }
.lg-cta {
	background: var(--lg-accent);
	color: var(--lg-white);
	border-radius: 24px;
	padding: clamp(32px, 5vw, 72px);
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: flex-end;
	justify-content: space-between;
}
.lg-cta h2 { font-size: clamp(36px, 5vw, 68px); line-height: 0.98; letter-spacing: -0.045em; max-width: 760px; }
.lg-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ */
/* Archives et pages simples                                           */
/* ------------------------------------------------------------------ */

.lg-page-head { padding-block: 96px 48px; }
.lg-page-head h1 { font-size: clamp(52px, 8vw, 120px); letter-spacing: -0.045em; line-height: 0.95; }
.lg-page-head p { margin: 24px 0 0; font-size: 20px; color: var(--lg-text); max-width: 640px; }
.lg-page-body { padding-bottom: 120px; max-width: 820px; }

.lg-posts { display: flex; flex-direction: column; border-top: 1px solid var(--lg-ink); }
.lg-posts article { padding-block: 28px; border-bottom: 1px solid var(--lg-line-strong); }
.lg-posts h2 { font-size: 32px; letter-spacing: -0.03em; }
.lg-posts h2 a { text-decoration: none; }
.lg-pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; }
.lg-pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--lg-line-strong); text-decoration: none; padding: 0 14px; }
.lg-pagination .current { background: var(--lg-ink); color: var(--lg-white); border-color: var(--lg-ink); }

/* ------------------------------------------------------------------ */
/* Pied de page                                                        */
/* ------------------------------------------------------------------ */

.lg-footer { border-top: 1px solid var(--lg-line); }
.lg-footer__inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-block: 28px; font-size: 14px; color: var(--lg-muted); }
.lg-footer a { color: var(--lg-muted); }
.lg-footer a:hover { color: var(--lg-accent); }
.lg-footer .lg-menu { font-size: 14px; gap: 8px 20px; }

/* ------------------------------------------------------------------ */
/* Petits écrans et mouvement réduit                                   */
/* ------------------------------------------------------------------ */

@media (max-width: 700px) {
	:root { --lg-gutter: 20px; }
	.lg-hero { padding-block: 56px 48px; }
	.lg-section, .lg-project-body, .lg-about__inner { padding-block: 200px; }
	.lg-contact, .lg-cta-wrap { padding-block: 200px 64px; }
	.lg-menu { gap: 8px 18px; }
	.lg-pager a, .lg-pager a.lg-pager__next { padding: 28px 0; }
	.lg-pager a + a { border-top: 1px solid var(--lg-line-strong); }
	.lg-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
