/* ==========================================================
   MetrYMMO V2
   FINANCEMENT — PAGE COMPLÈTE
   ========================================================== */

.metrymmo-financing-page {
	--financing-black: #0b0b0b;
	--financing-black-soft: #11100f;
	--financing-brown: #21160f;
	--financing-bronze: #8d5b32;
	--financing-gold: #c99a55;
	--financing-gold-light: #e0bb80;
	--financing-champagne: #f0d7ae;
	--financing-cream: #f5eee3;
	--financing-white: #ffffff;
	--financing-text: #2a211b;
	--financing-muted: #756b62;
}

/* Demande de financement — formulaire court et accessible. */
.financing-request-section {
	padding: 96px 0;
	background: #f5eee3;
}

.financing-request-card {
	max-width: 900px;
	margin: 0 auto;
	padding: clamp(24px, 5vw, 56px);
	border: 1px solid rgba(33, 22, 15, .1);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(11, 11, 11, .08);
}

.financing-request-intro {
	max-width: 650px;
	margin-bottom: 32px;
}

.financing-request-intro h2 {
	margin: 12px 0;
	color: #0b0b0b;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	line-height: 1.15;
}

.financing-request-intro p,
.financing-form-privacy-note {
	color: #756b62;
	line-height: 1.65;
}

.financing-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.financing-form-field {
	min-width: 0;
}

.financing-form-field--wide {
	grid-column: 1 / -1;
}

.financing-form-field label {
	display: block;
	margin-bottom: 8px;
	color: #21160f;
	font-size: .9rem;
	font-weight: 700;
}

.financing-form-field label > span:not(.optional) {
	color: #8d5b32;
}

.financing-form-field .optional {
	color: #756b62;
	font-size: .82rem;
	font-weight: 400;
}

.financing-form-field input,
.financing-form-field select,
.financing-form-field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid #d9d1c7;
	border-radius: 5px;
	background: #fff;
	color: #21160f;
	font: inherit;
}

.financing-form-field textarea {
	min-height: 130px;
	resize: vertical;
}

.financing-form-field input:focus-visible,
.financing-form-field select:focus-visible,
.financing-form-field textarea:focus-visible,
.financing-form-consent input:focus-visible {
	outline: 3px solid rgba(201, 154, 85, .45);
	outline-offset: 2px;
	border-color: #8d5b32;
}

.financing-amount-input {
	position: relative;
}

.financing-amount-input input {
	padding-right: 62px;
}

.financing-amount-input > span {
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	color: #756b62;
	font-size: .9rem;
}

.financing-form-consent {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	align-items: start;
	gap: 11px;
	margin: 24px 0 8px;
	color: #51483f;
	font-size: .9rem;
	line-height: 1.6;
}

.financing-form-consent input {
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: #8d5b32;
}

.financing-form-consent a {
	color: #704622;
	text-underline-offset: 3px;
}

.financing-form-privacy-note {
	margin: 10px 0 22px;
	font-size: .84rem;
}

.financing-form-message {
	margin: 0 0 24px;
	padding: 16px 18px;
	border-radius: 5px;
	line-height: 1.55;
}

.financing-form-message--success {
	border: 1px solid #a8c8ae;
	background: #f0f8f1;
	color: #214b2a;
}

.financing-form-message--error {
	border: 1px solid #ddb1aa;
	background: #fff5f3;
	color: #762e24;
}

.financing-form-message a {
	color: inherit;
	font-weight: 700;
}

@media (max-width: 640px) {
	.financing-request-section {
		padding: 64px 0;
	}

	.financing-request-card {
		padding: 24px 18px;
	}

	.financing-form-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.financing-form-field--wide {
		grid-column: auto;
	}

	.financing-request-form > .financing-page-button {
		width: 100%;
		white-space: normal;
	}
}


/* ==========================================================
   CONTAINER
   ========================================================== */

.metrymmo-financing-page .container {
	width: min(1180px, calc(100% - 48px));
	margin-right: auto;
	margin-left: auto;
}


/* ==========================================================
   LABELS
   ========================================================== */

.financing-page-eyebrow,
.financing-page-section-label {
	display: inline-block;
	color: var(--financing-gold);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.financing-page-eyebrow {
	margin-bottom: 20px;
}


/* ==========================================================
   BOUTONS
   ========================================================== */

.financing-page-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;

	min-height: 54px;
	padding: 0 25px;

	border: 1px solid transparent;
	border-radius: 2px;

	box-sizing: border-box;

	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;

	transition:
		transform 0.25s ease,
		background-color 0.25s ease,
		border-color 0.25s ease,
		color 0.25s ease,
		box-shadow 0.25s ease;
}

.financing-page-button span {
	font-size: 18px;
	line-height: 1;
	transition: transform 0.25s ease;
}

.financing-page-button:hover {
	transform: translateY(-2px);
}

.financing-page-button:hover span {
	transform: translateX(4px);
}

.financing-page-button--primary {
	background: var(--financing-gold);
	color: var(--financing-black);
	box-shadow: 0 12px 30px rgba(201, 154, 85, 0.16);
}

.financing-page-button--primary:hover {
	background: var(--financing-gold-light);
	color: var(--financing-black);
	box-shadow: 0 16px 34px rgba(201, 154, 85, 0.22);
}

.financing-page-button--secondary {
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.03);
	color: var(--financing-white);
}

.financing-page-button--secondary:hover {
	border-color: var(--financing-gold);
	color: var(--financing-gold-light);
}


/* ==========================================================
   HERO
   ========================================================== */

.financing-page-hero {
	position: relative;
	overflow: hidden;

	min-height: 650px;

	background:
		linear-gradient(
			115deg,
			var(--financing-black) 0%,
			var(--financing-black-soft) 55%,
			var(--financing-brown) 100%
		);

	color: var(--financing-white);
}

.financing-page-hero::before {
	content: "";

	position: absolute;
	top: -260px;
	right: -260px;

	width: 700px;
	height: 700px;

	border: 1px solid rgba(201, 154, 85, 0.16);
	border-radius: 50%;

	box-shadow:
		0 0 0 80px rgba(201, 154, 85, 0.025),
		0 0 0 160px rgba(201, 154, 85, 0.018);
}

.financing-page-hero::after {
	content: "";

	position: absolute;
	right: 4%;
	bottom: -220px;

	width: 500px;
	height: 500px;

	border-radius: 50%;

	background: rgba(141, 91, 50, 0.12);

	filter: blur(100px);

	pointer-events: none;
}

.financing-page-hero__inner {
	position: relative;
	z-index: 2;

	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);

	align-items: center;

	gap: 70px;

	min-height: 650px;

	padding-top: 90px;
	padding-bottom: 90px;

	box-sizing: border-box;
}

.financing-page-hero__content {
	max-width: 760px;
}

.financing-page-hero h1 {
	margin: 0;

	color: var(--financing-white);

	font-family: "Poppins", sans-serif;
	font-size: clamp(48px, 5.5vw, 74px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.045em;
}

.financing-page-hero p {
	max-width: 680px;

	margin: 28px 0 0;

	color: rgba(255, 255, 255, 0.68);

	font-size: 17px;
	line-height: 1.8;
}

.financing-page-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;

	margin-top: 38px;
}


/* ==========================================================
   HERO VISUEL
   ========================================================== */

.financing-page-hero__visual {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.financing-page-hero__card {
	position: relative;

	width: min(100%, 330px);
	min-height: 280px;

	padding: 42px;

	border: 1px solid rgba(201, 154, 85, 0.32);

	background:
		linear-gradient(
			145deg,
			rgba(255, 255, 255, 0.065),
			rgba(255, 255, 255, 0.012)
		);

	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);

	box-sizing: border-box;
}

.financing-page-hero__card::after {
	content: "";

	position: absolute;
	left: 42px;
	bottom: 42px;

	width: 70px;
	height: 1px;

	background: var(--financing-gold);
}

.financing-page-hero__card > span {
	display: block;

	margin-bottom: 65px;

	color: var(--financing-gold);

	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.financing-page-hero__card strong {
	display: block;

	color: var(--financing-white);

	font-family: "Poppins", sans-serif;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.15;
}

.financing-page-hero__card small {
	display: block;

	margin-top: 22px;

	color: rgba(255, 255, 255, 0.55);

	font-size: 12px;
	line-height: 1.7;
}


/* ==========================================================
   INTRO — NOTRE APPROCHE
   ========================================================== */

.financing-page-intro {
	padding: 70px 0;

	background: var(--financing-cream);
}

.financing-page-intro__grid {
	display: grid;
	grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr);

	gap: 90px;

	align-items: start;
}

.financing-page-intro__content {
	max-width: 720px;
}

.financing-page-intro__content h2 {
	margin: 0 0 24px;

	color: var(--financing-black);

	font-family: "Poppins", sans-serif;
	font-size: clamp(34px, 4vw, 50px);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.financing-page-intro__content p {
	margin: 0 0 22px;

	color: var(--financing-muted);

	font-size: 16px;
	line-height: 1.8;
}

.financing-page-intro__content p:last-child {
	margin-bottom: 0;
}


/* ==========================================================
   SERVICES
   ========================================================== */

.financing-page-services {
	padding: 110px 0;

	background: var(--financing-white);
}

.financing-page-heading {
	max-width: 760px;

	margin-bottom: 55px;
}

.financing-page-heading h2 {
	margin: 14px 0 20px;

	color: var(--financing-black);

	font-family: "Poppins", sans-serif;
	font-size: clamp(36px, 4vw, 52px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.financing-page-heading > p {
	max-width: 700px;

	margin: 0;

	color: var(--financing-muted);

	font-size: 16px;
	line-height: 1.8;
}

.financing-page-services__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));

	gap: 1px;

	border: 1px solid #e7ddd2;

	background: #e7ddd2;
}

.financing-page-service {
	display: grid;
	grid-template-columns: 65px minmax(0, 1fr);

	column-gap: 28px;
	row-gap: 12px;

	min-height: 230px;

	padding: 38px;

	background: var(--financing-white);

	box-sizing: border-box;

	transition:
		background-color 0.25s ease,
		transform 0.25s ease;
}

.financing-page-service:hover {
	position: relative;
	z-index: 2;

	background: var(--financing-cream);

	transform: translateY(-2px);
}

.financing-page-service__number {
	grid-column: 1;
	grid-row: 1 / span 2;

	color: var(--financing-gold);

	font-family: "Poppins", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.financing-page-service h3 {
	grid-column: 2;
	grid-row: 1;

	margin: 0;

	color: var(--financing-black);

	font-family: "Poppins", sans-serif;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.25;
}

.financing-page-service p {
	grid-column: 2;
	grid-row: 2;

	max-width: 520px;

	margin: 0;

	color: var(--financing-muted);

	font-size: 14px;
	line-height: 1.8;
}


/* ==========================================================
   PROCESS
   ========================================================== */

.financing-page-process {
	padding: 110px 0;

	background: var(--financing-black-soft);

	color: var(--financing-white);
}

.financing-page-process__header {
	max-width: 700px;

	margin-bottom: 65px;
}

.financing-page-process__header h2 {
	margin: 14px 0 0;

	color: var(--financing-white);

	font-family: "Poppins", sans-serif;
	font-size: clamp(38px, 4vw, 54px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.financing-page-process__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.financing-page-process__item {
	padding: 0 30px;

	box-sizing: border-box;
}

.financing-page-process__item:first-child {
	padding-left: 0;
}

.financing-page-process__item:last-child {
	padding-right: 0;
}

.financing-page-process__item:not(:last-child) {
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.financing-page-process__top {
	display: flex;
	align-items: center;

	gap: 20px;

	margin-bottom: 28px;
}

.financing-page-process__top span {
	color: var(--financing-gold);

	font-family: "Poppins", sans-serif;
	font-size: 13px;
	font-weight: 700;
}

.financing-page-process__top div {
	flex: 1;

	height: 1px;

	background: rgba(255, 255, 255, 0.12);
}

.financing-page-process__item h3 {
	margin: 0 0 14px;

	color: var(--financing-white);

	font-family: "Poppins", sans-serif;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.25;
}

.financing-page-process__item p {
	margin: 0;

	color: rgba(255, 255, 255, 0.56);

	font-size: 14px;
	line-height: 1.8;
}


/* ==========================================================
   INFO / À RETENIR
   ========================================================== */

.financing-page-info {
	padding: 110px 0;

	background: var(--financing-cream);
}

.financing-page-info__card {
	position: relative;

	display: grid;
	grid-template-columns: minmax(0, 1fr) 180px;

	align-items: center;

	min-height: 400px;

	padding: 70px;

	border: 1px solid rgba(141, 91, 50, 0.14);

	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.45),
			rgba(255, 255, 255, 0.12)
		);

	box-sizing: border-box;
}

.financing-page-info__content {
	position: relative;
	z-index: 2;

	max-width: 800px;
}

.financing-page-info__content h2 {
	margin: 15px 0 25px;

	color: var(--financing-black);

	font-family: "Poppins", sans-serif;
	font-size: clamp(38px, 4vw, 56px);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.04em;
}

.financing-page-info__content p {
	max-width: 720px;

	margin: 0;

	color: var(--financing-muted);

	font-size: 15px;
	line-height: 1.8;
}

.financing-page-info__mark {
	display: flex;
	align-items: center;
	justify-content: center;

	height: 100%;

	color: rgba(168, 111, 61, 0.12);

	font-family: "Times New Roman", serif;
	font-size: 190px;
	line-height: 1;
}

.financing-page-info__mark span {
	display: block;
}


/* ==========================================================
   BIENS
   ========================================================== */

.financing-page-properties {
	padding: 85px 0;

	background: var(--financing-white);
}

.financing-page-properties__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;

	gap: 50px;
}

.financing-page-properties__header h2 {
	margin: 14px 0 0;

	color: var(--financing-black);

	font-family: "Poppins", sans-serif;
	font-size: clamp(32px, 3.5vw, 46px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.035em;
}

.financing-page-text-link {
	display: inline-flex;
	align-items: center;

	gap: 10px;

	flex-shrink: 0;

	padding-bottom: 7px;

	border-bottom: 1px solid var(--financing-gold);

	color: var(--financing-gold);

	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;

	text-decoration: none;

	transition:
		color 0.25s ease,
		border-color 0.25s ease;
}

.financing-page-text-link span {
	font-size: 18px;

	transition: transform 0.25s ease;
}

.financing-page-text-link:hover {
	color: var(--financing-bronze);
	border-color: var(--financing-bronze);
}

.financing-page-text-link:hover span {
	transform: translateX(4px);
}


/* ==========================================================
   CTA
   ========================================================== */

.financing-page-cta {
	padding: 100px 0;

	background:
		linear-gradient(
			120deg,
			var(--financing-black) 0%,
			var(--financing-black-soft) 65%,
			var(--financing-brown) 100%
		);

	color: var(--financing-white);
}

.financing-page-cta__inner {
	position: relative;

	overflow: hidden;

	padding: 70px;

	border: 1px solid rgba(201, 154, 85, 0.24);

	background: rgba(255, 255, 255, 0.025);

	box-sizing: border-box;
}

.financing-page-cta__inner::after {
	content: "M";

	position: absolute;

	right: 40px;
	bottom: -75px;

	color: rgba(201, 154, 85, 0.045);

	font-family: "Times New Roman", serif;
	font-size: 300px;
	line-height: 1;

	pointer-events: none;
}

.financing-page-cta__inner > * {
	position: relative;
	z-index: 2;
}

.financing-page-cta__inner h2 {
	margin: 15px 0 22px;

	color: var(--financing-white);

	font-family: "Poppins", sans-serif;
	font-size: clamp(40px, 4.5vw, 60px);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -0.04em;
}

.financing-page-cta__inner p {
	max-width: 620px;

	margin: 0 0 32px;

	color: rgba(255, 255, 255, 0.58);

	font-size: 15px;
	line-height: 1.8;
}


/* ==========================================================
   RESPONSIVE — 1000 PX
   ========================================================== */

@media (max-width: 1000px) {

	.financing-page-hero__inner {
		grid-template-columns: 1fr;
	}

	.financing-page-hero__visual {
		display: none;
	}

	.financing-page-intro__grid {
		grid-template-columns: 1fr;

		gap: 30px;
	}

	.financing-page-process__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));

		row-gap: 45px;
	}

	.financing-page-process__item:nth-child(2) {
		border-right: 0;
	}

	.financing-page-process__item:nth-child(3) {
		padding-left: 0;
	}

	.financing-page-info__card {
		grid-template-columns: 1fr 130px;

		padding: 55px;
	}

}


/* ==========================================================
   MOBILE — 760 PX
   ========================================================== */

@media (max-width: 760px) {

	.metrymmo-financing-page .container {
		width: calc(100% - 32px);
	}


	/* HERO */

	.financing-page-hero {
		min-height: 570px;
	}

	.financing-page-hero__inner {
		min-height: 570px;

		padding-top: 70px;
		padding-bottom: 70px;
	}

	.financing-page-hero h1 {
		font-size: clamp(38px, 11vw, 58px);
		line-height: 0.98;
	}

	.financing-page-hero p {
		font-size: 15px;
		line-height: 1.75;
	}

	.financing-page-hero__actions {
		display: flex;
		flex-direction: column;
		align-items: flex-start;

		width: 100%;

		gap: 12px;
	}

	.financing-page-hero__actions .financing-page-button {
		width: auto;
		max-width: 100%;

		min-height: 50px;
		height: 50px;

		padding: 0 22px;

		flex: 0 0 auto;
	}


	/* INTRO */

	.financing-page-intro {
		padding: 55px 0;
	}

	.financing-page-intro__grid {
		gap: 22px;
	}

	.financing-page-intro__content h2 {
		font-size: 36px;
		line-height: 1.08;
	}

	.financing-page-intro__content p {
		font-size: 15px;
	}


	/* SERVICES */

	.financing-page-services {
		padding: 75px 0;
	}

	.financing-page-heading {
		margin-bottom: 38px;
	}

	.financing-page-heading h2 {
		font-size: 36px;
	}

	.financing-page-services__grid {
		grid-template-columns: 1fr;
	}

	.financing-page-service {
		min-height: auto;

		padding: 30px 25px;
	}

	.financing-page-service__number {
		font-size: 13px;
	}

	.financing-page-service h3 {
		font-size: 20px;
	}

	.financing-page-service p {
		font-size: 14px;
	}


	/* PROCESS */

	.financing-page-process {
		padding: 75px 0;
	}

	.financing-page-process__header {
		margin-bottom: 45px;
	}

	.financing-page-process__header h2 {
		font-size: 38px;
	}

	.financing-page-process__grid {
		grid-template-columns: 1fr;

		row-gap: 0;
	}

	.financing-page-process__item,
	.financing-page-process__item:nth-child(3) {
		padding: 30px 0;

		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.financing-page-process__item:first-child {
		padding-top: 0;
	}

	.financing-page-process__item:last-child {
		padding-bottom: 0;

		border-bottom: 0;
	}


	/* INFO */

	.financing-page-info {
		padding: 75px 0;
	}

	.financing-page-info__card {
		grid-template-columns: 1fr;

		min-height: auto;

		padding: 40px 28px;
	}

	.financing-page-info__content h2 {
		font-size: 38px;
	}

	.financing-page-info__mark {
		display: none;
	}


	/* BIENS */

	.financing-page-properties {
		padding: 65px 0;
	}

	.financing-page-properties__header {
		align-items: flex-start;
		flex-direction: column;

		gap: 25px;
	}

	.financing-page-properties__header h2 {
		font-size: 34px;
	}

	.financing-page-text-link {
		font-size: 14px;
	}


	/* CTA */

	.financing-page-cta {
		padding: 65px 0;
	}

	.financing-page-cta__inner {
		padding: 42px 28px;
	}

	.financing-page-cta__inner h2 {
		font-size: 40px;
	}

	.financing-page-cta__inner::after {
		right: -20px;
		bottom: -55px;

		font-size: 220px;
	}

}


/* ==========================================================
   PETIT MOBILE — 480 PX
   ========================================================== */

@media (max-width: 480px) {

	.metrymmo-financing-page .container {
		width: calc(100% - 28px);
	}

	.financing-page-hero__inner {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.financing-page-hero h1 {
		font-size: 40px;
	}

	.financing-page-hero p {
		font-size: 15px;
	}

	.financing-page-button {
		min-height: 48px;
		height: 48px;
		padding: 0 18px;

		font-size: 13px;
	}

	.financing-page-intro__content h2,
	.financing-page-info__content h2 {
		font-size: 34px;
	}

	.financing-page-heading h2 {
		font-size: 34px;
	}

	.financing-page-service {
		padding: 26px 20px;
	}

	.financing-page-process__header h2 {
		font-size: 34px;
	}

	.financing-page-info__card {
		padding: 34px 22px;
	}

	.financing-page-cta__inner {
		padding: 36px 22px;
	}

	.financing-page-cta__inner h2 {
		font-size: 36px;
	}

}
