/*==============================================================
	LYON BOIS CONCEPT — feuille de style principale (modernisation 2026)

	Identité conservée : logo blanc et or, or #c59c5e sur fonds
	sombres (noir, bleu nuit #152a38). Titres en Montserrat capitales
	(comme les titres « font-alt » d'origine), texte en Inter ;
	polices auto-hébergées.

	Sommaire : 1. polices · 2. variables · 3. base · 4. mise en page
	5. boutons · 6. en-tête · 7. pied de page · 8. accueil
	9. grilles de projets · 10. pages intérieures · 11. formulaires
	12. alertes · 13. visionneuse · 14. impression
==============================================================*/

/*--- 1. POLICES ---------------------------------------------*/
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/montserrat-latin-LaWOCQv.woff2") format('woff2');
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-Gz7AlRl.woff2") format('woff2');
}


/*--- 2. VARIABLES -------------------------------------------*/
:root {
	/* Or (couleur du logo) et déclinaisons */
	--or: #c59c5e;
	--or-clair: #d9bb8c;
	--or-fonce: #8a6a3a;     /* texte or sur fond clair (contraste AA) */
	--or-100: #f1e7d7;
	--or-50: #faf6ef;

	/* Fonds sombres : noir de l'en-tête d'origine et bleu nuit */
	--noir: #111417;
	--noir-800: #1a1f24;
	--nuit: #152a38;
	--nuit-700: #1f3b4e;

	/* Neutres chauds */
	--encre: #1d1d1b;
	--texte: #3d3a35;
	--discret: #6b6459;
	--ligne: #e6dfd3;
	--creme: #f7f3ec;
	--blanc: #fff;

	/* États */
	--succes: #2a7a4f;
	--succes-bg: #e6f3eb;
	--attente: #8a5a00;
	--attente-bg: #fbf0d9;
	--danger: #b3322a;
	--danger-bg: #fbeae8;

	--font-titre: 'Montserrat', system-ui, sans-serif;
	--font-texte: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--rayon-sm: 6px;
	--rayon: 12px;
	--rayon-lg: 20px;
	--ombre-sm: 0 1px 2px rgba(17, 20, 23, .06), 0 2px 8px rgba(17, 20, 23, .05);
	--ombre: 0 12px 32px rgba(17, 20, 23, .10);
	--ombre-lg: 0 24px 60px rgba(17, 20, 23, .22);

	--container: 1200px;
	--gouttiere: clamp(1rem, 4vw, 2rem);
	--header-h: 76px;
}


/*--- 3. BASE ------------------------------------------------*/
*,
*::before,
*::after {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--font-texte);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--texte);
	background: var(--blanc);
	-webkit-font-smoothing: antialiased;
}

main {
	flex: 1 0 auto;
}

main:focus {
	outline: none;
}

h1, h2, h3, h4 {
	margin: 0 0 .6em;
	font-family: var(--font-titre);
	font-weight: 700;
	line-height: 1.2;
	color: var(--encre);
	text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p {
	margin: 0 0 1em;
}

a {
	color: var(--or-fonce);
	text-underline-offset: .18em;
	transition: color .15s;
}

a:hover {
	color: var(--encre);
}

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

strong {
	color: var(--encre);
}

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

::selection {
	background: var(--or-100);
	color: var(--encre);
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 200;
	padding: .6rem 1rem;
	border-radius: var(--rayon-sm);
	background: var(--or);
	color: var(--noir);
	font-weight: 700;
}

.skip-link:focus {
	top: 1rem;
}

.badge {
	display: inline-grid;
	place-items: center;
	min-width: 1.6em;
	padding: 0 .45em;
	border-radius: 99px;
	background: var(--or-100);
	color: var(--or-fonce);
	font-size: .78em;
	font-weight: 700;
	line-height: 1.6;
}

.vide {
	padding: 2rem;
	border: 1px dashed var(--ligne);
	border-radius: var(--rayon);
	text-align: center;
	color: var(--discret);
}


/*--- 4. MISE EN PAGE ----------------------------------------*/
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gouttiere);
}

.section {
	padding-block: clamp(4rem, 9vw, 7rem);
}

.section--claire {
	background: var(--creme);
}

.section__entete {
	max-width: 46rem;
	margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
}

.section__entete h2,
.titre-trait {
	text-transform: uppercase;
	letter-spacing: .06em;
}

.section__entete h2::after,
.titre-trait::after {
	content: '';
	display: block;
	width: 56px;
	height: 3px;
	margin: .7rem auto 0;
	border-radius: 2px;
	background: var(--or);
}

.titre-trait {
	font-size: clamp(1.3rem, 2.4vw, 1.7rem);
	margin-top: 3rem;
}

.titre-trait::after {
	margin-left: 0;
}

.surtitre {
	margin: 0 0 .5rem;
	font-family: var(--font-titre);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--or-fonce);
}

/* Apparition au défilement (contrôleur « apparition ») */
.apparition {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
	transition-delay: calc(var(--delai, 0) * 90ms);
}

.apparition.is-visible {
	opacity: 1;
	transform: none;
}


/*--- 5. BOUTONS ---------------------------------------------*/
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	min-height: 48px;
	padding: .7rem 1.6rem;
	border: 2px solid transparent;
	border-radius: 99px;
	font-family: var(--font-titre);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:active {
	transform: none;
}

.btn--primary {
	background: var(--or);
	color: var(--noir);
}

.btn--primary:hover {
	background: var(--or-clair);
	color: var(--noir);
	box-shadow: 0 8px 22px rgba(197, 156, 94, .35);
}

.btn--ghost {
	border-color: rgba(255, 255, 255, .75);
	color: var(--blanc);
}

.btn--ghost:hover {
	background: var(--blanc);
	color: var(--noir);
}

.btn--outline {
	border-color: var(--encre);
	color: var(--encre);
}

.btn--outline:hover {
	background: var(--encre);
	color: var(--blanc);
}

.btn--ghost-dark {
	color: var(--encre);
}

.btn--ghost-dark:hover {
	background: var(--creme);
	color: var(--encre);
}

.btn--danger {
	background: var(--danger-bg);
	color: var(--danger);
}

.btn--danger:hover {
	background: var(--danger);
	color: var(--blanc);
}

.btn--sm {
	min-height: 38px;
	padding: .45rem 1rem;
	font-size: .72rem;
}

.btn--large {
	min-height: 54px;
	padding-inline: 2.2rem;
}

.btn--icone {
	padding-inline: .7rem;
}

.btn[disabled] {
	opacity: .6;
	pointer-events: none;
}


/*--- 6. EN-TÊTE ---------------------------------------------*/
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	background: rgba(17, 20, 23, .82);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transition: background-color .25s, box-shadow .25s;
}

.site-header.is-scrolled {
	background: rgba(17, 20, 23, .95);
	box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	margin-right: auto;
	color: var(--blanc);
	text-decoration: none;
}

.brand:hover {
	color: var(--blanc);
}

.brand img {
	width: 56px;
	height: 56px;
}

.brand__nom {
	font-family: var(--font-titre);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1.1;
}

.brand__nom span {
	color: var(--or);
}

.nav {
	display: flex;
	align-items: center;
	gap: .35rem;
}

.nav__link {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .55rem .9rem;
	border: 0;
	border-radius: 99px;
	background: none;
	font: 700 .8rem/1.2 var(--font-titre);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .88);
	text-decoration: none;
	cursor: pointer;
	transition: color .15s, background-color .15s;
}

.nav__link:hover,
.nav__link[aria-expanded="true"] {
	color: var(--or);
	background: rgba(255, 255, 255, .06);
}

.nav__cta {
	margin-left: .6rem;
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: var(--rayon-sm);
	background: none;
	color: var(--blanc);
	font-size: 1.2rem;
	cursor: pointer;
}

.dropdown {
	position: relative;
}

.dropdown__menu {
	position: absolute;
	top: calc(100% + .6rem);
	left: 50%;
	min-width: 240px;
	margin: 0;
	padding: .5rem;
	list-style: none;
	transform: translateX(-50%);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: var(--rayon);
	background: var(--noir-800);
	box-shadow: var(--ombre-lg);
}

.dropdown__menu a {
	display: block;
	padding: .6rem .9rem;
	border-radius: var(--rayon-sm);
	color: var(--blanc);
	font-weight: 600;
	text-decoration: none;
}

.dropdown__menu a:hover,
.dropdown__menu a[aria-current] {
	background: rgba(197, 156, 94, .14);
	color: var(--or);
}

.dropdown__separateur {
	margin-top: .35rem;
	padding-top: .35rem;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.dropdown__separateur a {
	font-size: .9rem;
	color: rgba(255, 255, 255, .7);
}

/* Barre de progression de lecture (sous le menu) */
.progression {
	height: 3px;
	background: transparent;
}

.progression__barre {
	height: 100%;
	background: linear-gradient(90deg, var(--or-fonce), var(--or), var(--or-clair));
	transform: scaleX(0);
	transform-origin: left;
}

@media (max-width: 900px) {
	.nav-toggle {
		display: inline-grid;
		place-items: center;
	}

	.brand__nom {
		font-size: .95rem;
	}

	.nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: .2rem;
		padding: 1rem var(--gouttiere) 1.5rem;
		background: var(--noir);
		box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}

	.nav.is-open {
		display: flex;
	}

	.nav__link {
		justify-content: space-between;
		padding: .9rem 1rem;
		border-radius: var(--rayon-sm);
		font-size: .9rem;
	}

	.dropdown__menu {
		position: static;
		transform: none;
		margin: .2rem 0 .5rem;
		box-shadow: none;
	}

	.nav__cta {
		margin: .6rem 0 0;
	}
}

/* Bouton « haut de page » */
.scroll-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--noir);
	color: var(--or);
	box-shadow: var(--ombre);
	text-decoration: none;
	transition: transform .2s, background-color .2s;
}

.scroll-top:hover {
	transform: translateY(-3px);
	background: var(--or);
	color: var(--noir);
}


/*--- 7. PIED DE PAGE ----------------------------------------*/
.site-footer {
	background: var(--noir);
	color: rgba(255, 255, 255, .72);
	font-size: .95rem;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr auto;
	gap: 2.5rem;
	align-items: start;
	padding-block: 3.5rem 2.5rem;
}

.site-footer__marque p {
	max-width: 26rem;
	margin: 1rem 0 0;
}

.site-footer .brand img {
	width: 48px;
	height: 48px;
}

.site-footer__liens {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.site-footer a {
	color: rgba(255, 255, 255, .85);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--or);
}

.site-footer__reseaux {
	display: flex;
	gap: .75rem;
}

.site-footer__reseaux a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	font-size: 1.25rem;
	transition: border-color .2s, color .2s, background-color .2s;
}

.site-footer__reseaux a:hover {
	border-color: var(--or);
	background: var(--or);
	color: var(--noir);
}

.site-footer__bas {
	border-top: 1px solid rgba(255, 255, 255, .08);
	font-size: .82rem;
}

.site-footer__bas .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .5rem 2rem;
	padding-block: 1.2rem;
}

.site-footer__bas p {
	margin: 0;
}

.site-footer__bas a {
	color: var(--or);
}

@media (max-width: 760px) {
	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}


/*--- 8. ACCUEIL ---------------------------------------------*/

/* Bandeau plein écran */
.hero {
	position: relative;
	display: grid;
	align-items: center;
	min-height: clamp(560px, 100svh, 1100px);
	padding-block: calc(var(--header-h) + 3rem) 5rem;
	overflow: hidden;
	background: var(--noir);
	color: var(--blanc);
	isolation: isolate;
}

.hero__fond {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: hero-zoom 18s ease-out both;
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(17, 20, 23, .55) 0%, rgba(17, 20, 23, .35) 40%, rgba(17, 20, 23, .8) 100%),
		radial-gradient(ellipse at center, rgba(17, 20, 23, 0) 30%, rgba(17, 20, 23, .45) 100%);
}

@keyframes hero-zoom {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}

.hero__contenu {
	text-align: center;
}

.hero__surtitre {
	margin: 0 0 1rem;
	font-family: var(--font-titre);
	font-size: clamp(.9rem, 2vw, 1.3rem);
	font-weight: 700;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--or);
	animation: monter .8s .1s both;
}

.hero__titre {
	margin: 0 0 1.25rem;
	font-size: clamp(2.6rem, 9vw, 6rem);
	font-weight: 800;
	letter-spacing: .06em;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--blanc);
}

/* Les mots du titre apparaissent l'un après l'autre (reprise de l'animation d'origine). */
.hero__titre span {
	display: inline-block;
	animation: monter .9s cubic-bezier(.2, .7, .2, 1) both;
	animation-delay: calc(.3s + var(--i) * .22s);
}

.hero__texte {
	max-width: 38rem;
	margin: 0 auto 2.25rem;
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	color: rgba(255, 255, 255, .85);
	animation: monter .8s 1.1s both;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	animation: monter .8s 1.3s both;
}

.hero__defiler {
	position: absolute;
	left: 50%;
	bottom: 1.5rem;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-left: -22px;
	color: var(--blanc);
	font-size: 1.6rem;
	text-decoration: none;
	animation: rebond 2.2s infinite;
}

.hero__defiler:hover {
	color: var(--or);
}

@keyframes monter {
	from { opacity: 0; transform: translateY(26px); }
	to { opacity: 1; transform: none; }
}

@keyframes rebond {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(8px); }
}

/* Prestations */
.prestations {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.prestation {
	padding: 2rem 1.5rem;
	border: 1px solid var(--ligne);
	border-radius: var(--rayon);
	background: var(--blanc);
	text-align: center;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}

.prestation:hover {
	transform: translateY(-4px);
	border-color: var(--or-100);
	box-shadow: var(--ombre);
}

.prestation__icone {
	display: inline-grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin-bottom: 1.1rem;
	border-radius: 50%;
	background: var(--or-50);
	color: var(--or-fonce);
	font-size: 2.2rem;
	transition: background-color .25s, color .25s;
}

.prestation:hover .prestation__icone {
	background: var(--noir);
	color: var(--or);
}

.prestation h3 {
	font-size: 1rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--or-fonce);
}

.prestation p {
	margin: 0;
	font-size: .97rem;
}

@media (max-width: 1000px) {
	.prestations {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 520px) {
	.prestations {
		grid-template-columns: 1fr;
	}
}

/* À propos : image pleine hauteur à gauche, texte à droite */
.a-propos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--creme);
}

.a-propos__image img {
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
}

.a-propos__texte {
	align-self: center;
	max-width: 40rem;
	padding: clamp(3rem, 6vw, 5.5rem) var(--gouttiere);
	padding-left: clamp(1.5rem, 5vw, 5rem);
	text-align: justify;
	hyphens: auto;
}

.a-propos__texte h2 {
	text-transform: uppercase;
	letter-spacing: .06em;
	text-align: left;
}

.a-propos__texte h2::after {
	content: '';
	display: block;
	width: 56px;
	height: 3px;
	margin-top: .7rem;
	border-radius: 2px;
	background: var(--or);
}

.a-propos__texte p:not(.surtitre) {
	font-size: 1.05rem;
}

@media (max-width: 900px) {
	.a-propos {
		grid-template-columns: 1fr;
	}

	.a-propos__image img {
		max-height: 420px;
	}

	.a-propos__texte {
		max-width: none;
		text-align: left;
	}
}

/* Réalisations : filtres et pied de grille */
.filtres {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .6rem;
	margin-bottom: 2rem;
}

.filtre {
	min-height: 42px;
	padding: .5rem 1.25rem;
	border: 1px solid var(--ligne);
	border-radius: 99px;
	background: var(--blanc);
	font: 700 .78rem/1.2 var(--font-titre);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--encre);
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}

.filtre:hover {
	border-color: var(--or);
	color: var(--or-fonce);
}

.filtre[aria-pressed="true"] {
	border-color: var(--noir);
	background: var(--noir);
	color: var(--or);
}

.realisations__pied {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
}

.realisations__compteur {
	margin: 0;
	font-family: var(--font-titre);
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--or-fonce);
}

/* Appel à projet */
.appel {
	background: linear-gradient(120deg, var(--or-fonce), var(--or) 55%, var(--or-clair));
	color: var(--noir);
}

.appel__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	padding-block: clamp(2.5rem, 6vw, 4rem);
}

.appel h2 {
	margin: 0 0 .3rem;
	color: var(--noir);
}

.appel p {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 500;
}

.appel .btn--primary {
	background: var(--noir);
	color: var(--or);
}

.appel .btn--primary:hover {
	background: var(--noir-800);
	color: var(--or-clair);
	box-shadow: 0 10px 26px rgba(17, 20, 23, .3);
}

/* Étapes d'un projet : 4 étapes / image / 4 étapes */
.etapes {
	display: grid;
	grid-template-columns: 1fr minmax(260px, 1.1fr) 1fr;
	gap: 2.5rem;
	align-items: center;
}

.etapes__colonne {
	display: grid;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.etape {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.etape__icone {
	flex: 0 0 56px;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border: 1px solid var(--or-100);
	border-radius: 50%;
	color: var(--or-fonce);
	font-size: 1.5rem;
}

.etape h3 {
	margin-bottom: .25rem;
	font-size: 1rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--encre);
}

.etape__numero {
	margin-right: .35rem;
	color: var(--or);
}

.etape p {
	margin: 0;
	font-size: .97rem;
}

.etapes__image img {
	width: 100%;
	border-radius: var(--rayon-lg);
	box-shadow: var(--ombre);
}

@media (max-width: 1000px) {
	.etapes {
		grid-template-columns: 1fr 1fr;
	}

	.etapes__image {
		display: none;
	}
}

@media (max-width: 600px) {
	.etapes {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}
}

/* Bande de 6 photos carrées, cadre or (comme l'original) */
.bande {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 5px;
	padding: 5px;
	background: var(--or);
}

.bande img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

@media (max-width: 760px) {
	.bande {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Contact */
.contact {
	max-width: 48rem;
	margin-inline: auto;
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border-radius: var(--rayon-lg);
	background: var(--blanc);
	box-shadow: var(--ombre);
}

/* Carte Google Maps chargée au clic */
.carte {
	height: 460px;
	border-block: 5px solid var(--or);
	background:
		linear-gradient(rgba(17, 20, 23, .86), rgba(17, 20, 23, .86)),
		repeating-linear-gradient(45deg, var(--nuit) 0 2px, transparent 2px 22px),
		var(--noir);
	color: rgba(255, 255, 255, .85);
}

.carte iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.carte__apercu {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	height: 100%;
	padding: 1.5rem;
	text-align: center;
}

.carte__apercu > i {
	font-size: 3.2rem;
	color: var(--or);
}

.carte__apercu p {
	margin: 0;
}

.carte__apercu strong {
	color: var(--blanc);
}

.carte__mention {
	max-width: 30rem;
	font-size: .82rem;
	color: rgba(255, 255, 255, .6);
}

.carte__mention a {
	color: var(--or);
}


/*--- 9. GRILLES DE PROJETS ----------------------------------*/
.grille-projets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.carte-projet a {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--rayon);
	background: var(--noir);
	color: var(--blanc);
	text-decoration: none;
	aspect-ratio: 4 / 3;
}

.carte-projet img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .3s;
}

.carte-projet__legende {
	position: absolute;
	inset: auto 0 0;
	display: flex;
	flex-direction: column;
	gap: .15rem;
	padding: 3rem 1.25rem 1.1rem;
	background: linear-gradient(180deg, rgba(17, 20, 23, 0), rgba(17, 20, 23, .85));
	transition: padding .3s;
}

.carte-projet__nom {
	font-family: var(--font-titre);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--blanc);
}

.carte-projet__categorie {
	font-size: .85rem;
	color: var(--or);
}

.carte-projet a:hover img,
.carte-projet a:focus-visible img {
	transform: scale(1.06);
	opacity: .85;
}

.carte-projet a:hover .carte-projet__legende {
	padding-bottom: 1.5rem;
}

@media (max-width: 900px) {
	.grille-projets {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.grille-projets {
		grid-template-columns: 1fr;
	}
}


/*--- 10. PAGES INTÉRIEURES ----------------------------------*/
.entete-page {
	padding-block: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem)) clamp(2.5rem, 6vw, 4rem);
	background:
		radial-gradient(ellipse at top right, rgba(197, 156, 94, .16), transparent 60%),
		var(--noir);
	color: var(--blanc);
}

.entete-page__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	text-align: center;
}

.entete-page__titres {
	flex: 1;
	max-width: 52rem;
}

.entete-page h1 {
	margin: 0;
	font-size: clamp(1.8rem, 4.5vw, 3rem);
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--blanc);
}

.entete-page .surtitre,
.entete-page .surtitre a {
	color: var(--or);
}

.entete-page .surtitre a:hover {
	color: var(--blanc);
}

.entete-page__nav {
	flex: 0 0 52px;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	color: var(--blanc);
	font-size: 1.5rem;
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s;
}

.entete-page__nav:hover {
	border-color: var(--or);
	background: var(--or);
	color: var(--noir);
}

@media (max-width: 560px) {
	.entete-page__nav {
		flex-basis: 42px;
		width: 42px;
		height: 42px;
		font-size: 1.2rem;
	}
}

/* Texte riche (descriptions, pages légales) */
.prose {
	max-width: 52rem;
	margin-inline: auto;
	font-size: 1.05rem;
}

.prose h2 {
	margin-top: 2.5rem;
	font-size: clamp(1.3rem, 2.4vw, 1.6rem);
}

.prose h3 {
	margin-top: 2rem;
	font-size: 1.2rem;
	color: var(--or-fonce);
}

.prose h4 {
	margin-top: 1.5rem;
}

.prose ul,
.prose ol {
	padding-left: 1.3rem;
}

.prose li {
	margin-bottom: .45rem;
}

.prose li::marker {
	color: var(--or);
}

.prose > :first-child,
.prose > :first-child > :first-child {
	margin-top: 0;
}

.page-projet,
.page-categorie,
.page-texte {
	padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3.5rem, 8vw, 6rem);
}

.page-projet > .alert,
.page-categorie > .alert {
	max-width: 52rem;
	margin: 0 auto 2rem;
}

.galerie {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: .75rem;
	margin: 3rem 0 0;
	padding: 0;
	list-style: none;
}

.galerie a {
	display: block;
	overflow: hidden;
	border-radius: var(--rayon-sm);
	aspect-ratio: 4 / 3;
	background: var(--creme);
	cursor: zoom-in;
}

.galerie img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.galerie a:hover img {
	transform: scale(1.05);
}

.page-projet__retour {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin: 3rem 0 0;
}

.page-texte__intro {
	padding: 1.5rem 1.75rem;
	border-left: 4px solid var(--or);
	border-radius: 0 var(--rayon) var(--rayon) 0;
	background: var(--creme);
	color: var(--discret);
}

.page-texte__intro p:last-child {
	margin-bottom: 0;
}

.page-texte__date {
	font-size: .9rem;
	font-weight: 600;
}

.fiche {
	display: grid;
	grid-template-columns: minmax(10rem, max-content) 1fr;
	gap: .4rem 1.5rem;
	margin: 0;
}

.fiche dt {
	font-weight: 600;
	color: var(--encre);
}

.fiche dd {
	margin: 0;
	overflow-wrap: anywhere;
}

@media (max-width: 560px) {
	.fiche {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.fiche dd {
		margin-bottom: .6rem;
	}
}

.plan,
.plan ul {
	list-style: none;
	padding-left: 0;
}

.plan > li {
	margin-bottom: 1rem;
	font-family: var(--font-titre);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.plan ul {
	margin-top: .4rem;
	padding-left: 1.25rem;
	border-left: 2px solid var(--or-100);
	font-family: var(--font-texte);
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

.plan ul li {
	margin-bottom: .25rem;
}

/* Pages d'erreur */
.erreur {
	display: grid;
	align-items: center;
	min-height: 80vh;
	padding-block: calc(var(--header-h) + 3rem) 4rem;
	background: var(--creme);
	text-align: center;
}

.erreur__code {
	margin: 0;
	font-family: var(--font-titre);
	font-size: clamp(5rem, 18vw, 9rem);
	font-weight: 800;
	line-height: 1;
	color: var(--or);
}

.erreur__inner p {
	max-width: 36rem;
	margin-inline: auto;
}

.erreur__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}


/*--- 11. FORMULAIRES ----------------------------------------*/
.form {
	display: grid;
	gap: 1.15rem;
}

.form-row {
	display: grid;
	gap: 1.15rem;
}

.form-row--2 {
	grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
	.form-row--2 {
		grid-template-columns: 1fr;
	}
}

.field {
	display: grid;
	gap: .35rem;
	min-width: 0;
}

.field > label,
.field legend {
	font-weight: 600;
	font-size: .95rem;
	color: var(--encre);
}

label.required::after {
	content: ' *';
	color: var(--danger);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
select,
textarea {
	width: 100%;
	min-height: 48px;
	padding: .7rem .95rem;
	border: 1px solid #cfc6b8;
	border-radius: var(--rayon-sm);
	background: var(--blanc);
	font: inherit;
	color: var(--encre);
	transition: border-color .15s, box-shadow .15s;
}

textarea {
	min-height: 150px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--or);
	box-shadow: 0 0 0 4px rgba(197, 156, 94, .22);
}

::placeholder {
	color: #9a9184;
}

.field--error input,
.field--error textarea,
.field--error select {
	border-color: var(--danger);
}

.field__help {
	margin: 0;
	font-size: .85rem;
	color: var(--discret);
}

.field__errors {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .88rem;
	font-weight: 600;
	color: var(--danger);
}

.check {
	display: flex;
	gap: .7rem;
	align-items: flex-start;
}

.check input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: .2rem;
	accent-color: var(--or-fonce);
}

.check label {
	font-size: .93rem;
}

.champ-captcha {
	max-width: 8rem;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
}

.password-field {
	position: relative;
}

.password-field input {
	padding-right: 3.2rem;
}

.password-field button {
	position: absolute;
	top: 50%;
	right: .4rem;
	width: 40px;
	height: 40px;
	transform: translateY(-50%);
	border: 0;
	border-radius: var(--rayon-sm);
	background: none;
	color: var(--discret);
	cursor: pointer;
}

/* Champ piège (honeypot) : hors écran, ignoré des lecteurs d'écran. */
.piege {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form__mention {
	margin: 0;
	font-size: .85rem;
	color: var(--discret);
}

.form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	align-items: center;
}

.form .btn--large {
	justify-self: start;
}

.carte-formulaire {
	max-width: 28rem;
	margin: clamp(2.5rem, 6vw, 4rem) auto;
	padding: 2rem;
	border: 1px solid var(--ligne);
	border-radius: var(--rayon-lg);
	box-shadow: var(--ombre);
}

.carte-formulaire .alert {
	margin-bottom: 1.25rem;
}


/*--- 12. ALERTES --------------------------------------------*/
.flashes {
	display: grid;
	gap: .75rem;
	margin-bottom: 1.5rem;
}

.alert {
	display: flex;
	gap: .8rem;
	align-items: flex-start;
	padding: 1rem 1.2rem;
	border-radius: var(--rayon);
	font-weight: 500;
}

.alert > i {
	margin-top: .3rem;
}

.alert p {
	margin: 0;
}

.alert--success {
	background: var(--succes-bg);
	color: var(--succes);
}

.alert--error {
	background: var(--danger-bg);
	color: var(--danger);
}

.alert--info {
	background: var(--or-50);
	color: var(--or-fonce);
}


/*--- 13. VISIONNEUSE ----------------------------------------*/
.visionneuse {
	width: 100vw;
	max-width: none;
	height: 100vh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(10, 12, 14, .96);
	color: var(--blanc);
}

.visionneuse::backdrop {
	background: rgba(10, 12, 14, .9);
}

.visionneuse[open] {
	display: grid;
	animation: fondu .25s ease;
}

.visionneuse__figure {
	display: grid;
	place-items: center;
	gap: .75rem;
	margin: 0;
	padding: 4.5rem clamp(.5rem, 6vw, 5.5rem) 1.5rem;
	height: 100%;
}

.visionneuse__figure img {
	max-width: 100%;
	max-height: calc(100vh - 8rem);
	object-fit: contain;
	border-radius: var(--rayon-sm);
	box-shadow: var(--ombre-lg);
}

.visionneuse__figure figcaption {
	font-family: var(--font-titre);
	font-size: .85rem;
	letter-spacing: .15em;
	color: rgba(255, 255, 255, .7);
}

.visionneuse__bouton {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	background: rgba(17, 20, 23, .6);
	color: var(--blanc);
	font-size: 1.4rem;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}

.visionneuse__bouton:hover {
	background: var(--or);
	color: var(--noir);
}

.visionneuse__fermer {
	top: 1rem;
	right: 1rem;
}

.visionneuse__precedent,
.visionneuse__suivant {
	top: 50%;
	transform: translateY(-50%);
}

.visionneuse__precedent {
	left: 1rem;
}

.visionneuse__suivant {
	right: 1rem;
}

@media (max-width: 600px) {
	.visionneuse__precedent,
	.visionneuse__suivant {
		top: auto;
		bottom: 1rem;
		transform: none;
	}
}

@keyframes fondu {
	from { opacity: 0; }
	to { opacity: 1; }
}


/*--- 14. IMPRESSION -----------------------------------------*/
@media print {
	.site-header,
	.site-footer,
	.scroll-top,
	.carte,
	.bande,
	.hero__defiler,
	.filtres {
		display: none !important;
	}

	.entete-page,
	.hero {
		min-height: 0;
		padding: 1rem 0;
		background: none;
		color: var(--encre);
	}

	.entete-page h1,
	.hero__titre {
		color: var(--encre);
	}
}
