/* Moulins à vendre (.biz) — landing gold (same pattern as lys-bourbonnais.com) */

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

html {
	height: 100%;
}

body {
	margin: 0;
	min-height: 100%;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #3d3518;
	text-align: center;
	background-color: #2c2818;
	background-image: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.28)),
		url("images/lysbourb20260726a.jpg");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

a {
	color: #8a6d12;
	text-decoration: none;
	border-bottom: 1px dotted rgba(138, 109, 18, 0.45);
	transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover,
a:focus {
	color: #5c480a;
	border-bottom-style: solid;
	border-bottom-color: #c5a028;
}

#content {
	position: relative;
	z-index: 1;
	width: min(720px, calc(100% - 1.5rem));
	margin: 1.75rem auto 2.5rem;
	padding: 1.75rem 1.5rem 1.5rem;
	background: rgba(255, 252, 240, 0.96);
	border: 2px solid #c5a028;
	border-radius: 18px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(226, 199, 56, 0.25) inset;
}

.logo {
	display: block;
	margin: 0 auto 0.75rem;
	width: 140px;
	height: auto;
	border: 0;
}

h1 {
	margin: 0 0 0.35rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.45rem, 4vw, 1.85rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.04em;
	color: #2a2410;
}

.tagline {
	margin: 0 0 1rem;
	font-style: italic;
	font-size: 1rem;
	color: #6b5c2e;
}

hr {
	margin: 1.1rem 0;
	height: 1px;
	border: 0;
	background: linear-gradient(90deg, transparent, #c5a028, transparent);
}

.lead {
	margin: 0;
	font-size: 0.98rem;
	color: #3d3518;
}

.cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: center;
	margin: 1.15rem 0 0.25rem;
}

.cta a {
	display: inline-block;
	padding: 0.65rem 1.15rem;
	border: 0;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.cta a.primary {
	background: #c5a028;
	color: #1f1a0a;
}

.cta a.primary:hover {
	background: #d4b03a;
	color: #1f1a0a;
}

.cta a.secondary {
	background: #fff;
	color: #6b5c2e;
	box-shadow: 0 0 0 2px #c5a028 inset;
}

.cta a.secondary:hover {
	background: #faf6e8;
	color: #3d3518;
}

.section-title {
	margin: 0 0 0.65rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a6d12;
}

.link-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0.5rem;
	text-align: left;
}

.link-grid a {
	display: block;
	padding: 0.55rem 0.75rem;
	background: #fff;
	border: 1px solid #e8d78a;
	border-radius: 8px;
	border-bottom: 1px solid #e8d78a;
	color: #3d3518;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
	box-shadow: 0 1px 4px rgba(197, 160, 40, 0.12);
}

.link-grid a:hover {
	border-color: #c5a028;
	background: #fffdf5;
	color: #5c480a;
	box-shadow: 0 0 0 1px #c5a028;
}

.link-grid a span {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.78rem;
	font-weight: 400;
	color: #7a6b3a;
}

.ffam {
	margin: 0.25rem 0 0;
}

.ffam img,
.ffam-logo {
	display: block;
	margin: 0.5rem auto 0;
	width: 200px;
	max-width: min(200px, 70vw);
	height: auto;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ffam a {
	border-bottom: none;
}

.ffam-name {
	margin: 0.55rem 0 0;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
}

.ffam-name a {
	border-bottom: 1px dotted rgba(138, 109, 18, 0.45);
}

.footer-links {
	margin: 0;
	font-size: 0.92rem;
}

.footer-links a {
	margin: 0 0.35rem;
	font-weight: 600;
}

.legal {
	margin: 0.85rem 0 0;
	font-size: 0.8rem;
	color: #7a6b3a;
}

@media (max-width: 520px) {
	#content {
		margin: 1rem auto 1.5rem;
		padding: 1.25rem 1rem 1.15rem;
	}

	.cta a {
		width: 100%;
	}
}
