:root {
	--page-background: #d4d9dd;
	--header-background: #3b4346;
	--header-background-dark: #353d40;
	--content-background: #f7f7f7;
	--surface: #ffffff;
	--text: #474f51;
	--text-dark: #30383b;
	--muted: #78868e;
	--border: #d9dfe2;
	--border-dark: #272d30;
	--accent: #ed391b;
	--accent-dark: #ce1a00;
	--shadow: 2px 2px 3px rgba(54, 65, 70, 0.14);
	--radius: 3px;
	--content-width: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--page-background) url("images/bg03.jpg");
	color: var(--text);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

button,
input,
textarea {
	font: inherit;
}

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	color: var(--text-dark);
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: 700;
	line-height: 1.2;
}

p {
	margin-bottom: 1.15rem;
}

/* En-tête */

.site-header {
	background: var(--header-background) url("images/bg01.jpg");
	border-bottom: 1px solid var(--border-dark);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
	color: #fff;
	text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.55);
}

.header-inner {
	width: min(var(--content-width), calc(100% - 40px));
	min-height: 132px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 82px minmax(210px, 1fr) auto;
	align-items: center;
	gap: 30px;
}

.logo-link {
	width: 82px;
	height: 82px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.22);
}

.logo-link img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.site-identity {
	min-height: 68px;
	padding: 11px 24px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.04);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.site-name {
	display: block;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.25;
	text-transform: uppercase;
}

.site-tagline {
	display: block;
	margin-top: 4px;
	color: #d3dadd;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.94rem;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.025em;
	line-height: 1.25;
	text-transform: none;
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.site-nav a {
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #d7dcde;
	font-size: 0.94rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
}

.site-nav a.active,
.site-nav a[aria-current="page"] {
	border-color: rgba(255, 255, 255, 0.22);
	border-bottom-color: var(--accent);
	background: rgba(0, 0, 0, 0.16);
	color: #fff;
}

/* Structure générale et hiérarchie typographique */

main {
	width: min(var(--content-width), calc(100% - 40px));
	margin: 0 auto;
	padding: 52px 0 72px;
}

.content-panel,
.contact-form-card,
.projects-header,
.project-media,
.project-description {
	border: 1px solid var(--border);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.content-panel {
	padding: clamp(34px, 5vw, 60px) clamp(24px, 7vw, 84px);
}

.section-header {
	max-width: 820px;
	margin: 0 auto 32px;
	text-align: center;
}

.page-title {
	margin-bottom: 10px;
	font-size: clamp(2.15rem, 4vw, 3.15rem);
	font-style: italic;
	letter-spacing: -0.025em;
}

.section-title {
	margin-bottom: 0;
	color: #8396a1;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 600;
}

.content-heading {
	margin-bottom: 14px;
	font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.prose {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.8;
}

.prose p:last-child,
.callout p:last-child,
.contact-message p:last-child,
.project-description p:last-child {
	margin-bottom: 0;
}

/* Accueil */

.home-panel {
	max-width: 1080px;
	margin: 0 auto;
	text-align: center;
}

.home-panel .prose {
	max-width: 850px;
}

/* À propos */

.about-panel {
	max-width: 1080px;
	margin: 0 auto;
}

.about-story {
	text-align: center;
}

.callout {
	max-width: 820px;
	margin: 42px auto 0;
	padding: 24px 28px;
	border-left: 4px solid var(--accent);
	background: #f2f5f6 url("images/bg04.png");
}

.callout h3 {
	margin-bottom: 8px;
	font-size: 1.25rem;
}

/* Contact */

.contact-layout {
	display: grid;
	grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
	gap: clamp(34px, 6vw, 72px);
	align-items: stretch;
}

.contact-message {
	padding: clamp(32px, 5vw, 56px);
	border: 1px solid var(--border-dark);
	background: var(--header-background-dark) url("images/bg02.jpg");
	box-shadow: var(--shadow);
	color: #c8d0d3;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.45);
}

.contact-message .eyebrow {
	margin-bottom: 12px;
	color: var(--accent);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.contact-message h1 {
	margin-bottom: 18px;
	color: #fff;
	font-size: clamp(2rem, 4vw, 3rem);
	font-style: italic;
	letter-spacing: -0.025em;
}

.contact-message p:not(.eyebrow) {
	font-size: 1rem;
	line-height: 1.75;
}

.contact-details {
	margin-top: 30px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-details h2 {
	margin-bottom: 16px;
	color: #fff;
	font-size: 1.25rem;
}

.contact-details address {
	display: grid;
	gap: 8px;
	font-style: normal;
	line-height: 1.55;
}

.contact-details strong {
	color: #fff;
	font-size: 1.05rem;
}

.contact-details a {
	width: fit-content;
	color: #e1e7e9;
	font-weight: 600;
	text-decoration-color: rgba(237, 57, 27, 0.75);
	text-underline-offset: 4px;
}

.contact-details a:hover,
.contact-details a:focus-visible {
	color: #fff;
}

.contact-details .address-link {
	font-weight: 400;
}

.contact-map {
	margin-top: 26px;
}

.contact-map iframe {
	width: 100%;
	height: 235px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: #dfe4e6;
	display: block;
}

.contact-map > a {
	display: inline-block;
	margin-top: 9px;
	color: #dbe2e4;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration-color: var(--accent);
	text-underline-offset: 3px;
}

.contact-form-card {
	padding: clamp(28px, 4vw, 46px);
}

.form-heading {
	margin-bottom: 28px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--border);
	font-size: 1.65rem;
}

.contact-form {
	display: grid;
	gap: 19px;
}


.honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.form-status {
	display: none;
	margin: 0 0 24px;
	padding: 13px 15px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-size: 0.94rem;
	line-height: 1.55;
}

.form-status:not(:empty) {
	display: block;
}

.form-status-success {
	border-color: #93b89b;
	background: #e9f5eb;
	color: #285b32;
}

.form-status-error {
	border-color: #d0a0a0;
	background: #f8e9e9;
	color: #7b2b2b;
}

.form-note {
	margin: -4px 0 0;
	color: var(--muted);
	font-size: 0.8rem;
	line-height: 1.5;
	text-align: center;
}

.form-field {
	margin: 0;
}

.form-field label {
	display: block;
	margin-bottom: 6px;
	color: var(--text-dark);
	font-size: 0.88rem;
	font-weight: 700;
}

.form-field input,
.form-field textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #cbd3d7;
	border-radius: var(--radius);
	outline: none;
	background: #fbfcfc;
	color: var(--text);
	transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.form-field textarea {
	min-height: 132px;
	resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
	border-color: var(--accent);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(237, 57, 27, 0.12);
}

.submit-button {
	width: 100%;
	min-height: 48px;
	margin-top: 3px;
	padding: 12px 20px;
	border: 1px solid #a61500;
	border-radius: var(--radius);
	background: linear-gradient(#ed391b, #ce1a00);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.35);
	transition: filter 160ms ease, transform 160ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

/* Réalisations */

.projects-list {
	display: grid;
	gap: 56px;
}

.projects-header {
	padding: 32px clamp(24px, 5vw, 54px);
	text-align: center;
}

.projects-header .page-title {
	margin-bottom: 8px;
}

.projects-header p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 1rem;
}

.project-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(30px, 6vw, 64px);
	align-items: stretch;
}

.project-row:nth-child(even) .project-media {
	order: 2;
}

.project-row:nth-child(even) .project-description {
	order: 1;
}

.project-media,
.project-description {
	min-height: 260px;
}

.project-media {
	overflow: hidden;
	background: #e9edef;
}

.project-media img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
}

.project-description {
	padding: clamp(26px, 4vw, 44px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.project-description h2 {
	margin-bottom: 12px;
	font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.project-description p {
	max-width: 430px;
	font-size: 1rem;
	line-height: 1.7;
}

/* Pied de page */

.site-footer {
	padding: 30px 20px;
	border-top: 1px solid var(--border-dark);
	background: var(--header-background-dark) url("images/bg02.jpg");
	color: #aeb7ba;
	font-size: 0.82rem;
	text-align: center;
	text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1050px) {
	.header-inner {
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 22px;
		padding: 22px 0;
	}

	.site-nav {
		grid-column: 1 / -1;
		justify-content: center;
		flex-wrap: wrap;
	}

	.contact-layout {
		grid-template-columns: minmax(270px, 0.8fr) minmax(360px, 1.2fr);
		gap: 36px;
	}
}

@media (max-width: 760px) {
	.header-inner,
	main {
		width: min(100% - 28px, var(--content-width));
	}

	.header-inner {
		grid-template-columns: 68px minmax(0, 1fr);
		gap: 14px;
	}

	.logo-link {
		width: 68px;
		height: 68px;
	}

	.site-identity {
		min-height: 62px;
		padding: 9px 12px;
	}

	.site-name {
		font-size: 0.88rem;
	}

	.site-tagline {
		font-size: 0.8rem;
	}

	.site-nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
		gap: 8px;
	}

	.site-nav a {
		min-height: 46px;
		padding: 9px 8px;
		border-color: rgba(255, 255, 255, 0.12);
	}

	main {
		padding: 34px 0 52px;
	}

	.content-panel {
		padding-left: 22px;
		padding-right: 22px;
	}

	.contact-layout {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.contact-message,
	.contact-form-card {
		padding: 28px 22px;
	}

	.contact-map iframe {
		height: 220px;
	}

	.project-row {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.project-row:nth-child(even) .project-media,
	.project-row:nth-child(even) .project-description {
		order: initial;
	}

	.projects-list {
		gap: 42px;
	}
}

@media (max-width: 430px) {
	.site-nav {
		grid-template-columns: 1fr;
	}

	.page-title {
		font-size: 2.05rem;
	}

	.contact-message h1 {
		font-size: 2rem;
	}
}

/* Accueil — présentation avec emblème et texte côte à côte */
.home-panel {
	max-width: 1080px;
	margin: 0 auto;
	text-align: left;
}

.home-layout {
	display: grid;
	grid-template-columns: minmax(178px, 230px) minmax(0, 1fr);
	gap: clamp(36px, 6vw, 72px);
	align-items: center;
}

.home-brand {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.home-brand img {
	width: 178px;
	height: auto;
	max-width: 100%;
	border-radius: 50%;
	box-shadow: 0 8px 22px rgba(48, 56, 59, 0.16);
}

.home-copy .section-header {
	max-width: none;
	margin: 0 0 26px;
	text-align: left;
}

.home-heritage {
	display: inline-block;
	margin: 0 0 14px;
	padding: 7px 13px;
	border-left: 4px solid var(--accent);
	background: #eef2f3 url("images/bg04.png");
	color: var(--text-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1rem, 2vw, 1.22rem);
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.home-copy .prose {
	max-width: none;
	margin: 0;
}

@media (max-width: 760px) {
	.home-layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.home-brand img {
		width: 178px;
	}

	.home-copy .section-header {
		text-align: center;
	}

	.home-heritage {
		margin-left: auto;
		margin-right: auto;
	}
}
