.mwl-home {
	display: block;
	background: #FFFFFF;
}


/* Reset marge verticale héritée de GeneratePress sur les sections de la home. */
body.mwl-home-template .mwl-section,
.mwl-home > .mwl-section,
.mwl-home .mwl-section {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}


.mwl-section--quick {
	padding: 10px 0 12px;
}

.mwl-section--latest {
	padding-bottom: 24px;
}


.mwl-hero {
	--mwl-hero-image: url("../img/nedroma-panorama.svg");
	position: relative;
	min-height: 502px;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(6, 30, 40, .78) 0%, rgba(6, 30, 40, .45) 60%, rgba(6, 30, 40, .35) 100%),
		var(--mwl-hero-image) center 47% / cover no-repeat;
	color: #FFFFFF;
}

.mwl-hero__inner {
	position: relative;
	z-index: 1;
	padding: 58px 0 46px;
}

.mwl-hero__copy {
	max-width: 720px;
}

.mwl-hero h1 {
	margin: 0 0 14px;
	color: #FFFFFF;
	font-size: clamp(40px, 5vw, 58px);
	font-weight: 800;
	line-height: 1.06;
}

.mwl-hero h1 span {
	color: var(--mwl-green-soft);
}

.mwl-hero p {
	max-width: 760px;
	margin: 0;
	color: #FFFFFF;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
}

.mwl-hero-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 220px) minmax(124px, auto);
	align-items: stretch;
	width: min(890px, 100%);
	max-width: calc(100% - 2px);
	min-height: 86px;
	margin: 34px auto 0;
	padding: 16px;
	overflow: hidden;
	background: #FFFFFF;
	border: 1px solid rgba(226, 232, 240, .9);
	border-radius: 16px;
	box-shadow: var(--mwl-shadow-strong);
	color: var(--mwl-text);
}

.mwl-hero-search__field {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	margin: 0;
	padding: 4px 20px;
}

.mwl-hero-search__field--query {
	border-right: 1px solid var(--mwl-border);
}

.mwl-hero-search__field--city {
	position: relative;
	border-right: 1px solid var(--mwl-border);
}

.mwl-hero-search__icon {
	flex: 0 0 auto;
	color: var(--mwl-text);
}

.mwl-hero-search__icon svg {
	width: 23px;
	height: 23px;
	stroke-width: 2;
}

.mwl-hero-search__text {
	display: grid;
	gap: 2px;
	width: 100%;
}

.mwl-hero-search input,
.mwl-hero-search select {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--mwl-text);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: none;
}

.mwl-hero-search input::placeholder {
	color: #374151;
	opacity: 1;
}

.mwl-hero-search small {
	color: #64748B;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.25;
}

.mwl-hero-search select {
	appearance: none;
	padding-right: 24px;
}

.mwl-hero-search__chevron {
	position: absolute;
	right: 17px;
	color: var(--mwl-text);
	pointer-events: none;
}

.mwl-hero-search__chevron svg {
	width: 18px;
	height: 18px;
}

.mwl-hero-search .mwl-btn {
	min-width: 134px;
	min-height: 58px;
	border-radius: 10px;
}

.mwl-popular-cities {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 11px;
	margin-top: 18px;
	font-size: 13px;
	font-weight: 700;
	color: #FFFFFF;
}

.mwl-popular-cities a {
	min-width: 78px;
	padding: 6px 16px;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	background: rgba(15, 23, 42, .35);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.mwl-kicker {
	margin: 0 0 16px;
	color: var(--mwl-green);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.mwl-quick-grid {
	display: grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	align-items: stretch;
	gap: 12px;
}



.mwl-feature-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
	align-items: stretch;
	gap: 22px;
}

.mwl-city-card {
	position: relative;
	min-height: 296px;
	background:
		linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, .94) 35%, rgba(255, 255, 255, .58) 54%, rgba(255, 255, 255, 0) 78%),
		url("../img/nedroma-panorama.svg") center 45% / cover no-repeat;
}

.mwl-city-card__content {
	position: relative;
	z-index: 1;
	width: min(330px, 100%);
	padding: 24px 26px;
}

.mwl-city-card h2::after {
	display: block;
	width: 52px;
	height: 3px;
	margin-top: 12px;
	border-radius: 999px;
	background: var(--mwl-green);
	content: "";
}

.mwl-city-card ul,
.mwl-merchant-card ul {
	padding: 0;
	margin: 18px 0 0;
	list-style: none;
}

.mwl-city-card li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	color: var(--mwl-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
}

.mwl-city-card li svg {
	width: 20px;
	height: 20px;
	stroke-width: 2.4;
}

.mwl-city-card .mwl-btn {
	margin-top: 4px;
}

.mwl-info-card {
	padding: 24px 24px 12px;
}

.mwl-info-list {
	display: grid;
	flex: 1;
	align-content: start;
}

.mwl-info-card h2 {
	padding-bottom: 18px;
	border-bottom: 1px solid var(--mwl-border);
}


.mwl-secondary-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 22px;
}

.mwl-secondary-grid .mwl-card {
	min-height: 270px;
	padding: 22px 24px 18px;
}

.mwl-tourism-card,
.mwl-real-estate-card,
.mwl-merchant-card {
	justify-content: flex-start;
}

.mwl-real-estate-card .mwl-btn {
	margin-top: auto;
}

.mwl-tourism-card {
	min-height: auto;
}

.mwl-tourism-card .mwl-btn {
	margin-top: 0;
}

.mwl-destination-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 14px 0;
}

.mwl-destination {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 108px;
	overflow: hidden;
	padding: 10px;
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(15, 23, 42, 0) 15%, rgba(15, 23, 42, .75) 100%),
		url("../img/nedroma-panorama.svg") center / cover no-repeat;
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 800;
}

.mwl-destination::before,
.mwl-destination::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.mwl-destination::before {
	inset: 0;
	background:
		linear-gradient(180deg, rgba(15, 23, 42, 0) 8%, rgba(15, 23, 42, .32) 52%, rgba(15, 23, 42, .9) 100%),
		var(--mwl-destination-art);
	background-size: cover;
	background-position: center;
}

.mwl-destination::after {
	right: 11px;
	bottom: 25px;
	width: 34px;
	height: 58px;
	border-radius: 12px 12px 3px 3px;
	background: rgba(255, 255, 255, .2);
	box-shadow:
		-42px 18px 0 -8px rgba(255, 255, 255, .16),
		-76px 29px 0 -13px rgba(255, 255, 255, .16);
}

.mwl-destination span {
	position: relative;
	z-index: 1;
	color: #FFFFFF;
	font-weight: 900;
	text-shadow: 0 2px 5px rgba(0, 0, 0, .62);
}

.mwl-destination--0 {
	--mwl-destination-art:
		linear-gradient(135deg, rgba(15, 138, 76, .95), rgba(37, 99, 235, .78)),
		radial-gradient(circle at 25% 22%, rgba(255, 255, 255, .35) 0 8%, transparent 9%),
		linear-gradient(158deg, transparent 0 54%, rgba(6, 78, 59, .55) 55% 100%);
}

.mwl-destination--1 {
	--mwl-destination-art:
		linear-gradient(135deg, rgba(124, 58, 237, .88), rgba(249, 115, 22, .76)),
		radial-gradient(circle at 68% 18%, rgba(255, 255, 255, .34) 0 7%, transparent 8%),
		linear-gradient(162deg, transparent 0 48%, rgba(88, 28, 135, .5) 49% 100%);
}

.mwl-destination--2 {
	--mwl-destination-art:
		linear-gradient(135deg, rgba(37, 99, 235, .88), rgba(14, 165, 233, .72)),
		radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .38) 0 7%, transparent 8%),
		linear-gradient(165deg, transparent 0 50%, rgba(15, 23, 42, .42) 51% 100%);
}

.mwl-destination--3 {
	--mwl-destination-art:
		linear-gradient(135deg, rgba(245, 158, 11, .9), rgba(239, 68, 68, .74)),
		radial-gradient(circle at 72% 20%, rgba(255, 255, 255, .32) 0 8%, transparent 9%),
		linear-gradient(160deg, transparent 0 52%, rgba(124, 45, 18, .44) 53% 100%);
}

.mwl-filter-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 18px 0;
}

.mwl-filter-grid span {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 36px;
	padding: 0 11px;
	border: 1px solid var(--mwl-border);
	border-radius: 6px;
	color: #334155;
	font-size: 13px;
	font-weight: 500;
}

.mwl-filter-grid svg {
	width: 15px;
	height: 15px;
}

.mwl-real-estate-card .mwl-btn {
	min-width: 170px;
	align-self: flex-start;
}

.mwl-merchant-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-bottom: 0 !important;
}

.mwl-merchant-card__copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
}

.mwl-merchant-card ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px 17px;
	margin-bottom: 18px;
}

.mwl-merchant-card li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--mwl-text);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.mwl-merchant-card li span {
	display: grid;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 50%;
	background: #DCFCE7;
}

.mwl-merchant-card li svg {
	width: 12px;
	height: 12px;
	stroke-width: 3;
}

.mwl-shop-illustration {
	position: relative;
	align-self: flex-end;
	width: 126px;
	height: 64px;
	margin-top: auto;
	margin-right: -4px;
	opacity: .96;
	overflow: hidden;
}

.mwl-shop-illustration svg {
	width: 126px;
	height: auto;
	transform: translateY(-48px);
}

.mwl-why-band {
	padding: 24px 34px 26px;
	border-radius: 12px;
	background: var(--mwl-bg-soft);
	box-shadow: inset 0 0 0 1px rgba(226, 232, 240, .65);
}

.mwl-why-band h2 {
	margin: 0 0 22px;
	color: var(--mwl-text);
	text-align: center;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
}

.mwl-why-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: stretch;
	gap: 20px;
}

.mwl-why-item {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 11px;
	height: 100%;
	min-width: 0;
}

.mwl-why-item span {
	display: grid;
	width: 38px;
	height: 38px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 50%;
	background: #DCFCE7;
}

.mwl-why-item svg {
	width: 22px;
	height: 22px;
	stroke-width: 2.1;
}

.mwl-why-item strong {
	padding-top: 2px;
	color: var(--mwl-text);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.28;
}

.mwl-latest-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	gap: 22px;
}

.mwl-list-card {
	height: auto;
	min-height: 0;
	padding: 20px 20px 12px;
}

.mwl-card-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.mwl-card-heading a {
	color: var(--mwl-green);
	font-size: 13px;
	font-weight: 800;
}

.mwl-compact-list {
	display: grid;
}

.mwl-compact-row {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) auto;
	align-items: center;
	gap: 13px;
	min-height: 62px;
	padding: 7px 0;
	border-top: 1px solid var(--mwl-border);
}

.mwl-compact-row:first-child {
	border-top: 0;
}




.mwl-search-results {
	background: var(--mwl-bg);
}

.mwl-search-results .mwl-search {
	padding: 22px;
	border: 1px solid var(--mwl-border);
	border-radius: 16px;
	background: #FFFFFF;
	box-shadow: var(--mwl-shadow);
}

.mwl-search-results .mwl-search__form {
	display: none;
}

.mwl-search-results h2 {
	margin: 0 0 18px;
	color: var(--mwl-text);
	font-size: 24px;
	font-weight: 800;
}

.mwl-search-results .mwl-listings {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.mwl-search-results .mwl-card {
	padding: 0;
}

.mwl-search-results .mwl-card__media {
	display: block;
	min-height: 130px;
	background: url("../img/nedroma-panorama.svg") center / cover no-repeat;
}

.mwl-search-results .mwl-card__body {
	padding: 16px;
}

.mwl-search-results .mwl-card__body h3 {
	margin: 8px 0 6px;
	font-size: 18px;
	line-height: 1.2;
}

@media (max-width: 1180px) {

	.mwl-quick-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.mwl-why-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {

	.mwl-hero {
		min-height: 570px;
	}

	.mwl-hero-search {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.mwl-hero-search__field {
		min-height: 58px;
		padding: 0 12px;
	}

	.mwl-hero-search__field--query,
	.mwl-hero-search__field--city {
		border-right: 0;
		border-bottom: 1px solid var(--mwl-border);
	}

	.mwl-hero-search .mwl-btn {
		width: 100%;
		margin-top: 12px;
	}

	.mwl-feature-grid,
	.mwl-secondary-grid,
	.mwl-latest-grid {
		grid-template-columns: 1fr 1fr;
	}

	.mwl-city-card {
		min-height: 330px;
	}

	.mwl-merchant-card {
		grid-column: 1 / -1;
	}

	.mwl-search-results .mwl-listings {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 720px) {
	}

	.mwl-section {
		padding: 12px 0;
	}

	.mwl-section--quick {
		padding: 12px 0 12px;
	}

	.mwl-section--latest {
		padding-bottom: 24px;
	}


	.mwl-hero {
		min-height: 600px;
	}

	.mwl-hero__inner {
		padding: 46px 0 32px;
	}

	.mwl-hero h1 {
		font-size: clamp(36px, 12vw, 42px);
	}

	.mwl-hero p {
		font-size: 16px;
		font-weight: 600;
	}

	.mwl-popular-cities {
		justify-content: flex-start;
	}

	.mwl-quick-grid,
	.mwl-feature-grid,
	.mwl-secondary-grid,
	.mwl-latest-grid,
	.mwl-search-results .mwl-listings {
		grid-template-columns: 1fr;
	}

	.mwl-quick-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mwl-city-card {
		background:
			linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, .9) 46%, rgba(255, 255, 255, .18) 100%),
			url("../img/nedroma-panorama.svg") center / cover no-repeat;
	}

	.mwl-city-card__content {
		width: 100%;
	}

	.mwl-destination-grid,
	.mwl-filter-grid {
		grid-template-columns: 1fr 1fr;
	}

	.mwl-merchant-card {
		display: flex;
	}

	.mwl-shop-illustration {
		align-self: flex-end;
	}

	.mwl-why-band {
		padding: 22px 18px;
	}

	.mwl-why-grid {
		grid-template-columns: 1fr;
	}

	.mwl-why-item {
		justify-content: flex-start;
	}

	.mwl-compact-row {
		grid-template-columns: 52px minmax(0, 1fr);
	}

	.mwl-badge {
		grid-column: 2;
		justify-self: start;
		margin-top: 2px;
	}

}

@media (max-width: 430px) {

	.mwl-hero-search small {
		display: none;
	}

	.mwl-quick-card {
		min-height: 96px;
	}

	.mwl-secondary-grid .mwl-card,
	.mwl-info-card,
	.mwl-city-card__content,
	.mwl-list-card {
		padding-right: 18px;
		padding-left: 18px;
	}
}

/* === Fix lisibilité : texte blanc forcé sur tous les boutons/CTA verts === */
/* Surcharge GeneratePress qui peut imposer une couleur de lien aux boutons */
.mwl-hero-search .mwl-btn,
.mwl-hero-search .mwl-btn:link,
.mwl-hero-search .mwl-btn:visited,
.mwl-city-card .mwl-btn,
.mwl-city-card .mwl-btn:link,
.mwl-city-card .mwl-btn:visited,
.mwl-real-estate-card .mwl-btn,
.mwl-tourism-card .mwl-btn,
.mwl-merchant-card .mwl-btn,
.mwl-hero-search .mwl-btn svg {
	color: #FFFFFF !important;
	fill: currentColor;
}

/* S'assurer que le texte interne (span/svg) hérite bien du blanc */
.mwl-hero-search .mwl-btn *,
.mwl-city-card .mwl-btn *,
.mwl-tourism-card .mwl-btn *,
.mwl-real-estate-card .mwl-btn *,
.mwl-merchant-card .mwl-btn * {
	color: #FFFFFF !important;
}
