:root {
	--mepmr-brand: #1b4332;
	--mepmr-brand-dark: #132e22;
	--mepmr-brand-mid: #2d6a4f;
	--mepmr-brand-soft: #e8f3ee;
	--mepmr-cta: #c0392b;
	--mepmr-cta-dark: #96281b;
	--mepmr-ink: #1a1a1a;
	--mepmr-ink-soft: #4a5057;
	--mepmr-line: #d0dcd4;
	--mepmr-soft: #f3f8f5;
	--mepmr-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
	--mepmr-radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }

body {
	margin: 0;
	font-family: var(--mepmr-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--mepmr-ink);
	background: #ffffff;
	-webkit-font-smoothing: auto;
}

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

a { color: var(--mepmr-brand); }
a:hover { color: var(--mepmr-brand-mid); }

h1, h2, h3, h4 {
	font-family: var(--mepmr-font);
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 14px;
}
h1 { font-size: 2.5rem; color: #ffffff; }
h2 { font-size: 1.9rem; color: var(--mepmr-brand); }
h2 h2, .mepmr-content h2 { color: var(--mepmr-brand); }
h3 { font-size: 1.35rem; color: var(--mepmr-brand); }
h4 { font-size: 1.1rem; color: var(--mepmr-brand); }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
ul li, ol li { margin-bottom: 8px; color: var(--mepmr-ink); }
dt { font-weight: 700; color: var(--mepmr-brand); }
dd { color: var(--mepmr-ink); margin: 0 0 14px; }
strong { font-weight: 700; }

.mepmr-skip {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--mepmr-brand);
	color: #fff;
	padding: 10px 16px;
	z-index: 300;
}
.mepmr-skip:focus { left: 8px; top: 8px; color: #fff; }

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

/* ---- BUTTONS ---- */
.mepmr-btn {
	display: inline-block;
	font-family: var(--mepmr-font);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	border: 0;
	border-radius: var(--mepmr-radius);
	padding: 13px 28px;
	cursor: pointer;
}
.mepmr-btn-cta { background: var(--mepmr-cta); color: #ffffff; }
.mepmr-btn-cta:hover { background: var(--mepmr-cta-dark); color: #ffffff; }
.mepmr-btn-full { display: block; width: 100%; text-align: center; }
.mepmr-btn-light { background: #ffffff; color: var(--mepmr-cta); font-weight: 700; }
.mepmr-btn-light:hover { background: #f0f0f0; color: var(--mepmr-cta-dark); }

/* ---- HEADER ---- */
.mepmr-hdr {
	position: relative;
	background: #ffffff;
	border-bottom: 3px solid var(--mepmr-cta);
	box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.mepmr-hdr-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.mepmr-logo-lnk { display: inline-flex; flex-shrink: 0; }
.mepmr-logo-lnk img { height: 44px; width: auto; }

.mepmr-nav-toggle { position: absolute; left: -999px; }
.mepmr-burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 6px;
	border: 2px solid var(--mepmr-cta);
	border-radius: var(--mepmr-radius);
}
.mepmr-burger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--mepmr-brand);
}
.mepmr-nav-toggle:checked ~ .mepmr-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mepmr-nav-toggle:checked ~ .mepmr-burger span:nth-child(2) { opacity: 0; }
.mepmr-nav-toggle:checked ~ .mepmr-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mepmr-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.mepmr-nav ul li a {
	color: var(--mepmr-brand);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 400;
	padding: 6px 12px;
	border-radius: var(--mepmr-radius);
}
.mepmr-nav ul li a:hover { color: var(--mepmr-brand-mid); }
.mepmr-nav ul li.mepmr-nav-cta a {
	background: var(--mepmr-cta);
	color: #ffffff;
	font-weight: 700;
}
.mepmr-nav ul li.mepmr-nav-cta a:hover { background: var(--mepmr-cta-dark); color: #ffffff; }

@media (max-width: 768px) {
	.mepmr-burger { display: flex; }
	.mepmr-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #ffffff;
		border-top: 2px solid var(--mepmr-cta);
		z-index: 100;
		padding: 16px 24px 20px;
	}
	.mepmr-nav-toggle:checked ~ .mepmr-nav { display: block; }
	.mepmr-nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
	.mepmr-nav ul li a { font-size: 1rem; display: block; color: var(--mepmr-brand); }
}

/* ---- HERO ---- */
.mepmr-hero {
	position: relative;
	background: var(--mepmr-brand);
	overflow: hidden;
}
.mepmr-hero-bg {
	position: absolute;
	inset: 0;
	background-image: url('img/hero.jpg');
	background-size: cover;
	background-position: center 30%;
}
.mepmr-hero-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(27, 67, 50, 0.82);
}

/* Hero top: centered text block */
.mepmr-hero-top {
	position: relative;
	z-index: 2;
	max-width: 720px;
	margin: 0 auto;
	padding: 56px 24px 40px;
	text-align: center;
	color: #ffffff;
}
.mepmr-hero-top h1 {
	font-size: 2.6rem;
	color: #ffffff;
	margin-bottom: 16px;
}
.mepmr-hero-lead {
	font-size: 1.08rem;
	color: #b8d4c2;
	margin-bottom: 28px;
	line-height: 1.65;
}
.mepmr-hero-checks {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: inline-flex;
	flex-direction: column;
	gap: 10px;
	text-align: left;
}
.mepmr-hero-checks li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #d4e8dc;
	font-size: 0.97rem;
	margin-bottom: 0;
}
.mepmr-hero-checks li svg { flex-shrink: 0; margin-top: 2px; }

/* Hero form band: full-width strip below text */
.mepmr-form-band {
	position: relative;
	z-index: 2;
	background: #ffffff;
	box-shadow: 0 -4px 18px rgba(0,0,0,0.18);
	padding: 24px 0;
}
.mepmr-form-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}
.mepmr-form-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr) auto;
	gap: 10px;
	align-items: end;
}
.mepmr-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.mepmr-field label {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--mepmr-brand);
	letter-spacing: 0.02em;
}
.mepmr-field input {
	font-family: var(--mepmr-font);
	font-size: 0.94rem;
	font-weight: 400;
	color: var(--mepmr-ink);
	background: var(--mepmr-soft);
	border: 1px solid var(--mepmr-line);
	border-radius: var(--mepmr-radius);
	padding: 9px 11px;
	width: 100%;
}
.mepmr-field input:focus {
	outline: none;
	border-color: var(--mepmr-brand-mid);
	background: #ffffff;
}
.mepmr-field-submit {
	align-self: end;
}
.mepmr-field-submit .mepmr-btn-cta {
	white-space: nowrap;
	padding: 10px 20px;
	font-size: 0.97rem;
}
.mepmr-form-legal {
	font-size: 0.74rem;
	color: #888;
	margin-top: 6px;
	text-align: center;
}
.mepmr-form-ok {
	background: #e8f5e9;
	color: #1e6b2e;
	border: 1px solid #a5d6a7;
	border-radius: var(--mepmr-radius);
	padding: 10px 14px;
	font-size: 0.92rem;
	margin-bottom: 12px;
	grid-column: 1 / -1;
}
.mepmr-form-err {
	background: #fdecea;
	color: #b71c1c;
	border: 1px solid #ef9a9a;
	border-radius: var(--mepmr-radius);
	padding: 10px 14px;
	font-size: 0.92rem;
	margin-bottom: 12px;
	grid-column: 1 / -1;
}
.mepmr-honeypot { position: absolute; left: -9999px; opacity: 0; }

@media (max-width: 1024px) {
	.mepmr-form-grid { grid-template-columns: repeat(3, 1fr); }
	.mepmr-field-submit { grid-column: 1 / -1; }
	.mepmr-field-submit .mepmr-btn-cta { width: 100%; }
}
@media (max-width: 640px) {
	.mepmr-hero-top { padding: 40px 18px 32px; }
	.mepmr-hero-top h1 { font-size: 1.9rem; }
	.mepmr-form-grid { grid-template-columns: 1fr; }
}

/* ---- AVIQ BAR ---- */
.mepmr-aviq {
	background: var(--mepmr-cta);
	padding: 18px 24px;
}
.mepmr-aviq-inner {
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	flex-wrap: wrap;
}
.mepmr-aviq-item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #ffe0dd;
	font-size: 0.9rem;
}
.mepmr-aviq-item svg { flex-shrink: 0; }
.mepmr-aviq-item strong { color: #ffffff; }

/* ---- TYPES ---- */
.mepmr-types {
	padding: 56px 24px;
	background: #ffffff;
}
.mepmr-types-inner {
	max-width: 1180px;
	margin: 0 auto;
}
.mepmr-types-inner > h2 { text-align: center; margin-bottom: 36px; color: var(--mepmr-brand); }
.mepmr-types-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 22px;
}
.mepmr-type-card {
	background: var(--mepmr-soft);
	border-radius: 6px;
	border: 1px solid var(--mepmr-line);
	border-top: 3px solid var(--mepmr-brand);
	overflow: hidden;
}
.mepmr-type-body { padding: 20px 20px; }
.mepmr-type-body h3 { font-size: 1.05rem; margin-top: 0; color: var(--mepmr-brand); }
.mepmr-type-body p { font-size: 0.9rem; color: var(--mepmr-ink-soft); margin: 0; }

/* ---- CONTENT ---- */
.mepmr-content {
	max-width: 1180px;
	margin: 0 auto;
	padding: 56px 24px;
}
.mepmr-content h2 { margin-top: 44px; color: var(--mepmr-brand); }
.mepmr-content h2:first-child { margin-top: 0; }
.mepmr-content h3 { margin-top: 28px; color: var(--mepmr-brand); }
.mepmr-content h4 { margin-top: 20px; color: var(--mepmr-brand); }
.mepmr-content ul li, .mepmr-content ol li { color: var(--mepmr-ink); }

.geobe-maillage {
	margin-top: 52px;
	border-top: 2px solid var(--mepmr-line);
	padding-top: 28px;
}
.geobe-maillage h2 { font-size: 1.4rem; color: var(--mepmr-brand); }
.geobe-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
	gap: 8px;
	margin-top: 18px;
}
.geobe-grid a {
	display: block;
	padding: 9px 13px;
	background: var(--mepmr-soft);
	border: 1px solid var(--mepmr-line);
	border-radius: var(--mepmr-radius);
	text-decoration: none;
	color: var(--mepmr-brand);
	font-size: 0.9rem;
}
.geobe-grid a:hover { background: var(--mepmr-brand-soft); border-color: var(--mepmr-brand); }

/* ---- TARIFS ---- */
.mepmr-tarifs {
	background: var(--mepmr-soft);
	padding: 56px 24px;
}
.mepmr-tarifs-inner {
	max-width: 1180px;
	margin: 0 auto;
}
.mepmr-tarifs-inner > h2 { text-align: center; margin-bottom: 36px; color: var(--mepmr-brand); }
.mepmr-tarifs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 22px;
}
.mepmr-tarif-card {
	background: #ffffff;
	border-radius: 6px;
	border: 1px solid var(--mepmr-line);
	border-left: 4px solid var(--mepmr-brand);
	padding: 22px 20px;
}
.mepmr-tarif-card h3 { font-size: 1.05rem; margin-top: 0; margin-bottom: 8px; color: var(--mepmr-brand); }
.mepmr-tarif-card p { font-size: 0.9rem; color: var(--mepmr-ink-soft); margin: 0; }

/* ---- PROCESS ---- */
.mepmr-process {
	background: var(--mepmr-brand);
	padding: 56px 24px;
}
.mepmr-process-inner {
	max-width: 1180px;
	margin: 0 auto;
}
.mepmr-process-inner > h2 { text-align: center; color: #ffffff; margin-bottom: 40px; }
.mepmr-process-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}
.mepmr-step {
	text-align: center;
	padding: 20px 16px;
}
.mepmr-step-num {
	display: block;
	width: 46px;
	height: 46px;
	line-height: 46px;
	background: var(--mepmr-cta);
	color: #ffffff;
	font-size: 1.3rem;
	font-weight: 700;
	border-radius: 50%;
	margin: 0 auto 14px;
}
.mepmr-step h3 { font-size: 1rem; color: #ffffff; margin-bottom: 6px; }
.mepmr-step p { font-size: 0.86rem; color: #9ec4ae; margin: 0; }

/* ---- FAQ ---- */
.mepmr-faq {
	padding: 56px 24px;
	background: #ffffff;
}
.mepmr-faq-inner {
	max-width: 860px;
	margin: 0 auto;
}
.mepmr-faq-inner > h2 { text-align: center; margin-bottom: 36px; color: var(--mepmr-brand); }
.mepmr-faq-list { margin: 0; padding: 0; }
.mepmr-faq-list dt {
	font-weight: 700;
	color: var(--mepmr-brand);
	padding: 16px 0 8px;
	border-top: 1px solid var(--mepmr-line);
	font-size: 1.02rem;
}
.mepmr-faq-list dt:first-child { border-top: 0; padding-top: 0; }
.mepmr-faq-list dd {
	margin: 0 0 8px;
	color: var(--mepmr-ink-soft);
	font-size: 0.93rem;
	line-height: 1.65;
}

/* ---- CTA BAND ---- */
.mepmr-cta {
	background: var(--mepmr-cta);
	padding: 52px 24px;
	text-align: center;
}
.mepmr-cta-inner {
	max-width: 680px;
	margin: 0 auto;
}
.mepmr-cta-inner h2 { color: #ffffff; margin-bottom: 10px; }
.mepmr-cta-inner p { color: rgba(255,255,255,0.88); margin-bottom: 26px; }

/* ---- FOOTER ---- */
.mepmr-ftr {
	background: var(--mepmr-brand-dark);
	color: #c0d8c8;
	padding: 44px 24px 0;
}
.mepmr-ftr-inner {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 36px;
	padding-bottom: 32px;
}
.mepmr-ftr-logo img { height: 36px; width: auto; margin-bottom: 10px; filter: brightness(0) invert(1) opacity(0.75); }
.mepmr-ftr-logo p { font-size: 0.86rem; color: #80a890; line-height: 1.65; }
.mepmr-ftr-col-title {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--mepmr-cta);
	display: block;
	margin-bottom: 12px;
}
.mepmr-ftr-col ul { list-style: none; margin: 0; padding: 0; }
.mepmr-ftr-col ul li { margin-bottom: 7px; color: #80a890; }
.mepmr-ftr-col ul li a { color: #80a890; text-decoration: none; font-size: 0.86rem; }
.mepmr-ftr-col ul li a:hover { color: #ffffff; }
.mepmr-ftr-col p { font-size: 0.86rem; color: #80a890; }
.mepmr-ftr-col .mepmr-btn-cta { font-size: 0.88rem; padding: 9px 18px; }
.mepmr-ftr-bottom {
	max-width: 1180px;
	margin: 0 auto;
	border-top: 1px solid #2a5040;
	padding: 18px 0 22px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}
.mepmr-ftr-bottom span { font-size: 0.78rem; color: #507060; }

@media (max-width: 900px) {
	.mepmr-ftr-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.mepmr-ftr-inner { grid-template-columns: 1fr; gap: 24px; }
	.mepmr-ftr-bottom { flex-direction: column; align-items: flex-start; }
}
