/* deSap : feuille de style unique, sans bibliothèque */

:root {
	--paper: #f6f2ec;
	--surface: #fffdf9;
	--ink: #1c1b19;
	--ink-2: #3a3732;
	--muted: #6b645a;
	--line: #e2d9cc;
	--accent: #b4532a;
	--accent-dark: #93421f;
	--oak: #e0a066;
	--dark: #1c1b19;
	--dark-2: #2a2825;
	--error: #b42318;
	--ok: #2f6b3a;
	--radius: 14px;
	--radius-small: 10px;
	--shadow: 0 1px 2px rgb(28 27 25 / 6%), 0 8px 24px rgb(28 27 25 / 8%);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.0625rem/1.6 var(--font);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }

h1, h2, h3 {
	margin: 0 0 .5em;
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden, .trap {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	padding: .6em 1em; border-radius: var(--radius-small);
	background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip:focus { top: 12px; }

.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }

/* Boutons et liens */

.btn {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .85em 1.35em;
	border: 2px solid var(--accent); border-radius: 999px;
	background: var(--accent); color: #fff;
	font: 600 1rem/1.2 var(--font); text-decoration: none;
	cursor: pointer;
	transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-small { padding: .55em 1.05em; font-size: .95rem; }
.btn-ghost { background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 55%); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgb(255 255 255 / 18%); border-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; border-color: #fff; }

.link {
	display: inline-flex; align-items: center; gap: .4em;
	color: var(--accent); font-weight: 600; text-decoration: none;
	border-bottom: 2px solid transparent;
}
.link:hover { border-bottom-color: currentColor; }
.link:hover .icon { transform: translateX(3px); }
.link .icon { transition: transform .2s; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }

.eyebrow {
	margin-bottom: .8em;
	color: var(--accent);
	font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 46em; }

/* En-tête */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgb(246 242 236 / 88%);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgb(28 27 25 / 6%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }

.logo { display: inline-flex; align-items: center; }
.logo img { width: auto; height: 44px; }
.logo .logo-light { display: none; }
.page-accueil .site-header:not(.is-scrolled) .logo-dark { display: none; }
.page-accueil .site-header:not(.is-scrolled) .logo-light { display: block; }
.logo-footer img { width: auto; height: 72px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav ul a {
	display: block; padding: .5em .8em; border-radius: 999px;
	color: var(--ink-2); font-weight: 550; text-decoration: none;
	transition: background .2s, color .2s;
}
.nav ul a:hover { background: rgb(28 27 25 / 6%); color: var(--ink); }
.nav ul a[aria-current="page"] { color: var(--ink); background: rgb(180 83 42 / 12%); }

/* Sélecteur de langue : menu déroulant dans l'en-tête, liste dans le pied de page */
.lang-menu { position: relative; }
.lang-menu summary {
	display: flex; align-items: center; gap: 6px;
	padding: .45em .7em; border: 1px solid var(--line); border-radius: 999px;
	color: var(--ink-2); font-size: .85rem; font-weight: 700; letter-spacing: .04em;
	cursor: pointer; list-style: none; user-select: none;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { border-color: var(--ink); color: var(--ink); }
.lang-menu summary .icon { width: 1em; height: 1em; }
.lang-menu summary .icon:last-child { transition: transform .2s; }
.lang-menu[open] summary .icon:last-child { transform: rotate(180deg); }
.lang-menu ul {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
	min-width: 180px; padding: 6px; list-style: none;
	border: 1px solid var(--line); border-radius: var(--radius-small);
	background: var(--surface); box-shadow: var(--shadow);
}
.lang-menu li a {
	display: flex; align-items: center; gap: 10px;
	padding: .55em .75em; border-radius: 8px;
	color: var(--ink-2); font-weight: 550; text-decoration: none;
}
.lang-menu li a:hover { background: rgb(28 27 25 / 6%); color: var(--ink); }
.lang-menu li a[aria-current] { color: var(--accent); }
.nav .lang-menu ul { display: grid; gap: 2px; }
.lang-code { width: 2em; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.page-accueil .site-header:not(.is-scrolled) .lang-menu summary { color: #fff; border-color: rgb(255 255 255 / 45%); }

.langs { display: flex; gap: 2px; list-style: none; }
.langs a {
	display: block; padding: .3em .45em;
	font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-decoration: none;
}
.langs-footer { margin-top: 1.4em; }
.site-footer .langs a { color: rgb(246 242 236 / 65%); }
.site-footer .langs a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--oak); }

.nav-toggle { display: none; }

@media (max-width: 1099px) {
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 46px; height: 46px; padding: 0;
		border: 1px solid var(--line); border-radius: 50%;
		background: var(--surface); cursor: pointer;
	}
	.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
		display: block; width: 18px; height: 2px; border-radius: 2px;
		background: var(--ink); transition: transform .25s, background .25s;
	}
	.nav-toggle-bar { position: relative; }
	.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
	.nav-toggle-bar::before { top: -6px; }
	.nav-toggle-bar::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

	.nav {
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 12px var(--gutter) 24px;
		background: var(--paper); border-bottom: 1px solid var(--line);
		box-shadow: 0 16px 30px rgb(28 27 25 / 10%);
	}
	.nav ul { flex-direction: column; }
	.nav ul a { padding: .75em .9em; border-radius: var(--radius-small); font-size: 1.1rem; }
	.nav .btn { justify-content: center; }
	.lang-menu summary { justify-content: center; padding: .7em; }
	.lang-menu ul { position: static; margin-top: 8px; box-shadow: none; }
	.page-accueil .site-header:not(.is-scrolled) .nav .lang-menu summary { color: var(--ink-2); border-color: var(--line); }
	/* Sans JavaScript, le plan du site en pied de page reste disponible */
	.nav:not(.is-open) { display: none; }
}

/* Accueil : bandeau photo */

.hero {
	position: relative; isolation: isolate;
	display: flex; align-items: flex-end;
	min-height: min(60svh, 540px);
	padding: 96px 0 clamp(32px, 4.5vw, 56px);
	margin-top: -64px;
	color: #fff;
	overflow: hidden;
}
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgb(20 19 17 / 82%) 0%, rgb(20 19 17 / 55%) 45%, rgb(20 19 17 / 10%) 100%),
		linear-gradient(0deg, rgb(20 19 17 / 55%) 0%, transparent 45%);
}
.hero h1 { max-width: 13em; }
.hero .lead { color: rgb(255 255 255 / 88%); max-width: 34em; }
.hero .eyebrow { color: var(--oak); }
.page-accueil .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; }
.page-accueil .site-header:not(.is-scrolled) .nav ul a { color: #fff; }
.page-accueil .site-header:not(.is-scrolled) .nav ul a:hover { background: rgb(255 255 255 / 14%); }
/* Le menu des langues a un fond clair : ses liens restent foncés, même sur la photo d'accueil */
.page-accueil .site-header:not(.is-scrolled) .nav .lang-menu li a { color: var(--ink-2); }
.page-accueil .site-header:not(.is-scrolled) .nav .lang-menu li a:hover { color: var(--ink); background: rgb(28 27 25 / 6%); }
.page-accueil .site-header:not(.is-scrolled) .nav .lang-menu li a[aria-current] { color: var(--accent); }
@media (max-width: 1099px) {
	.page-accueil .site-header:not(.is-scrolled) .nav ul a { color: var(--ink-2); }
	.page-accueil .site-header:has(.nav.is-open) { background: var(--paper); }
	.page-accueil .site-header:has(.nav.is-open) .logo-dark { display: block; }
	.page-accueil .site-header:has(.nav.is-open) .logo-light { display: none; }
}

/* Sections */

.section { padding: clamp(36px, 5.5vw, 72px) 0; }
.section-tight { padding-top: clamp(16px, 2.5vw, 28px); }
/* Section qui suit directement le titre d’une page : pas de double espacement */
.page-head + .section { padding-top: clamp(6px, 1vw, 12px); }
.page-head .wrap > :last-child { margin-bottom: 0; }
.section-alt { background: #efe8de; }
.section-dark { background: var(--dark); color: var(--paper); }
.section-dark .eyebrow { color: var(--oak); }
.section-dark p { color: rgb(246 242 236 / 80%); }
.section-dark .link { color: var(--oak); }

.section-head { max-width: 720px; margin-bottom: clamp(18px, 2.5vw, 30px); }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p:last-child { color: rgb(246 242 236 / 75%); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; }

.page-head { padding: clamp(30px, 5vw, 60px) 0 clamp(14px, 2vw, 24px); }
.page-head h1 { max-width: 15em; }
.page-head-small h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-head .actions { margin-top: 1.4rem; }

.split { display: grid; gap: clamp(22px, 4vw, 52px); align-items: center; }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split-reverse > :first-child { order: 2; }
}
.split > div > :last-child { margin-bottom: 0; }
.split + .wrap { margin-top: clamp(20px, 3vw, 36px); }

.rounded { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.1rem; list-style: none; }
.chips a {
	display: inline-block; padding: .45em 1em;
	border: 1px solid var(--line); border-radius: 999px;
	background: var(--surface); color: var(--ink-2);
	font-size: .95rem; font-weight: 550; text-decoration: none;
}
.chips a:hover { border-color: var(--accent); color: var(--accent); }

/* Cartes */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; list-style: none; }
.card a {
	display: flex; flex-direction: column; height: 100%;
	padding: 10px 10px 16px;
	border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--surface); text-decoration: none;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--radius-small); margin-bottom: 12px; }
.card h3, .card p { padding: 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Étapes */

.steps { display: grid; gap: 10px; list-style: none; counter-reset: step; }
.steps li {
	position: relative; counter-increment: step;
	padding: 16px 20px 16px 68px;
	border: 1px solid rgb(246 242 236 / 14%); border-radius: var(--radius);
	background: var(--dark-2);
}
.steps li::before {
	content: counter(step, decimal-leading-zero);
	position: absolute; left: 20px; top: 16px;
	color: var(--oak); font: 700 1.2rem/1.3 var(--font-display);
}
.steps h3, .steps h2 { margin-bottom: .25em; font-size: 1.15rem; }
.steps p { margin: 0; }
.steps-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.steps-grid li { padding: 52px 20px 20px; background: var(--surface); border-color: var(--line); }
.steps-grid li::before { top: 18px; left: 20px; color: var(--accent); font-size: 1.4rem; }
.steps-grid p { color: var(--muted); }

/* Caractéristiques techniques */

.specs { display: grid; gap: 0; margin: 1.1rem 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 16px; padding: .55em 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: .92rem; font-weight: 600; }
.specs dd { margin: 0; }
.specs-compact { margin: 1rem 0 1.1rem; }
.specs-compact div { grid-template-columns: minmax(110px, 30%) 1fr; font-size: .97rem; }

/* Avantages */

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.features > div { padding: 22px; border: 1px solid rgb(246 242 236 / 14%); border-radius: var(--radius); background: var(--dark-2); }
.features h3 { display: flex; align-items: center; gap: .5em; color: var(--paper); }
.features h3 .icon { color: var(--oak); width: 1.4em; height: 1.4em; }

.ticks { list-style: none; display: grid; gap: .45em; margin: 1em 0; }
.ticks li { position: relative; padding-left: 1.6em; }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: .5em;
	width: .9em; height: .5em;
	border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
	transform: rotate(-45deg);
}
.section-dark .ticks li::before { border-color: var(--oak); }

/* Formations */

.course-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; list-style: none; }
.course { padding: clamp(18px, 2.5vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.course h2 { font-size: 1.6rem; }
.course > p { color: var(--ink-2); }

/* Galerie */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter {
	padding: .5em 1.1em;
	border: 1px solid var(--line); border-radius: 999px;
	background: var(--surface); color: var(--ink-2);
	font: 550 .95rem/1.2 var(--font); cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.gallery { columns: 2 220px; column-gap: 12px; list-style: none; }
@media (min-width: 1100px) { .gallery { columns: 4; } }
.gallery li { break-inside: avoid; margin-bottom: 12px; }
.gallery li[hidden] { display: none; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius-small); background: var(--line); }
.gallery img { width: 100%; transition: transform .5s ease, opacity .3s; }
.gallery a:hover img { transform: scale(1.04); }

/* Références : bandeau de logos défilant sur toute la largeur */

.marquee {
	overflow: hidden;
	padding: 6px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: defilement 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; align-items: center; gap: 14px; padding-right: 14px; list-style: none; }
.marquee-list li {
	display: grid; place-items: center;
	width: 190px; height: 92px; padding: 14px 20px;
	border: 1px solid var(--line); border-radius: var(--radius-small); background: #fff;
}
.marquee-list img { max-width: 100%; max-height: 56px; width: auto; height: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.marquee-list li:hover img { filter: none; opacity: 1; }
.marquee-list span { font: 700 1.05rem/1.2 var(--font-display); text-align: center; }
@keyframes defilement { to { transform: translateX(-50%); } }

/* Sans animation : les logos s'affichent en grille */
@media (prefers-reduced-motion: reduce) {
	.marquee { -webkit-mask-image: none; mask-image: none; }
	.marquee-track { width: auto; justify-content: center; }
	.marquee-list { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
	.marquee-list[aria-hidden] { display: none; }
}

/* Bouton de retour en haut */

.to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 40;
	display: grid; place-items: center;
	width: 46px; height: 46px; padding: 0;
	border: 0; border-radius: 50%;
	background: var(--accent); color: #fff;
	box-shadow: 0 6px 18px rgb(28 27 25 / 30%);
	cursor: pointer;
	opacity: 0; transform: translateY(12px); pointer-events: none;
	transition: opacity .25s, transform .25s, background .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent-dark); }
.to-top .icon { width: 22px; height: 22px; }

/* Bandeau devis */

.cta { background: var(--accent); color: #fff; padding: clamp(30px, 4.5vw, 52px) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; max-width: 40em; color: rgb(255 255 255 / 88%); }

/* Contact */

.contact-grid { display: grid; gap: clamp(22px, 4vw, 44px); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); } }

.panel { padding: clamp(18px, 2.5vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel h2 { font-size: 1.5rem; }
.big-phone { font: 700 1.4rem/1.3 var(--font-display); }
.big-phone a { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; color: var(--accent); }
.address-block { margin: 1em 0; line-height: 1.6; }

.form { display: grid; gap: 14px; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: .35em; font-weight: 600; font-size: .97rem; }
.req { color: var(--accent); }
.field input, .field select, .field textarea {
	width: 100%; padding: .8em .95em;
	border: 1px solid #cfc5b6; border-radius: var(--radius-small);
	background: var(--surface); color: var(--ink);
	font: inherit; font-size: 1rem;
	transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 9em; }
.field input[type="file"] { padding: .65em; background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(180 83 42 / 18%); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: .4em 0 0; color: var(--error); font-size: .93rem; font-weight: 600; }
.hint { margin: .4em 0 0; color: var(--muted); font-size: .92rem; }
.form > .btn { justify-self: start; }

.notice { margin: 0; padding: 16px 20px; border-radius: var(--radius-small); border: 1px solid; }
.notice-error { border-color: rgb(180 35 24 / 35%); background: #fbeceb; color: var(--error); font-weight: 600; }
.notice-ok { padding: clamp(22px, 3vw, 32px); border-color: rgb(47 107 58 / 30%); background: #eaf3ec; }
.notice-ok h2 { color: var(--ok); font-size: 1.6rem; }

/* Textes juridiques */

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; font-size: 1.35rem; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--accent); }

/* Pied de page */

.site-footer { background: var(--dark); color: rgb(246 242 236 / 78%); padding: clamp(32px, 5vw, 52px) 0 22px; font-size: .97rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-grid p { margin-top: .8em; max-width: 22em; }
.footer-title { color: var(--paper); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1em; }
.footer-links { list-style: none; display: grid; gap: .35em; }
.site-footer a { color: rgb(246 242 236 / 85%); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgb(246 242 236 / 12%); font-size: .9rem; }
.footer-bottom p { margin: 0; padding-right: 56px; }

/* Visionneuse */

.lightbox {
	width: 100vw; height: 100dvh; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0;
	background: rgb(14 13 12 / 94%); color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgb(14 13 12 / 70%); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 64px; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82dvh; width: auto; height: auto; border-radius: 6px; }
.lightbox figcaption { max-width: 60ch; color: rgb(255 255 255 / 80%); font-size: .97rem; text-align: center; }
.lightbox button {
	position: absolute; display: grid; place-items: center;
	width: 48px; height: 48px; padding: 0;
	border: 1px solid rgb(255 255 255 / 25%); border-radius: 50%;
	background: rgb(255 255 255 / 8%); color: #fff; cursor: pointer;
}
.lightbox button:hover { background: rgb(255 255 255 / 20%); }
.lightbox button .icon { width: 22px; height: 22px; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
	.lightbox figure { padding: 0 8px; }
	.lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; }
}

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

@media print {
	.site-header, .site-footer, .cta, .filters, .lightbox, .to-top, .marquee { display: none !important; }
	body { background: #fff; }
}
