@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@500;600;700&family=Open+Sans:wght@400;600;700;800&display=swap');

/***** landing Immo21 *****/
:root {
	--red: #e60515;
	--red-dark: #be0000;
	--yellow: #f6ea1a;
	--black: #000000;
	--ink: #1b1b1b;
	--grey: #f2f2f2;
	--line: #dcdcdc;
	--muted: #5c5c5c;
	--radius: 18px;
}
*, *::before, *::after	{ box-sizing: border-box; }
html					{ scroll-behavior: smooth; }
body.landing			{ margin: 0; font: 400 16px/1.7 "Open Sans", Arial, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.landing img			{ max-width: 100%; height: auto; display: block; }
.landing a				{ color: inherit; }
.landing h1, .landing h2, .landing h3 { margin: 0; color: var(--black); }
.lp_wrap				{ width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* boutons */
.lp_btn					{ display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 6px; border: 2px solid transparent; font: 700 13px/1 "Open Sans"; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.lp_btn:hover			{ transform: translateY(-2px); }
.lp_btn_big				{ min-height: 60px; padding: 0 38px; font-size: 14px; }
.lp_btn_red				{ background: var(--red); color: #fff !important; }
.lp_btn_red:hover		{ background: var(--black); }
.lp_btn_black			{ background: var(--black); color: #fff !important; }
.lp_btn_black:hover		{ background: var(--red); }
.lp_btn_yellow			{ background: var(--yellow); color: var(--black) !important; }
.lp_btn_yellow:hover	{ background: #fff; }
.lp_btn_outline			{ border-color: #fff; color: #fff !important; }
.lp_btn_outline:hover	{ background: #fff; color: var(--red) !important; }
.lp_tel::before, .lp_tel_dark::before { content: ""; width: 18px; height: 18px; background: url(../images/tel_white.svg) center/contain no-repeat; }
.lp_tel_dark::before	{ background-image: url(../images/tel.svg); }

/* header */
.lp_header				{ position: relative; z-index: 5; background: #fff; border-bottom: 1px solid var(--grey); }
.lp_header .lp_wrap		{ display: flex; align-items: center; gap: 28px; min-height: 104px; }
.lp_logo img			{ width: 80px; height: 80px; transition: transform .4s; }
.lp_logo:hover img		{ transform: rotate(-8deg); }
.lp_baseline			{ margin: 0; padding-left: 28px; border-left: 3px solid var(--yellow); font-size: 14px; line-height: 1.5; color: var(--muted); }
.lp_baseline strong		{ color: var(--black); }
.lp_header_cta			{ margin-left: auto; display: flex; align-items: center; gap: 26px; }
.lp_mail				{ font-size: 14px; text-decoration: none; padding-left: 28px; background: url(../images/mail.svg) left center/18px no-repeat; }
.lp_mail:hover			{ color: var(--red); }

/* hero */
.lp_hero				{ position: relative; padding: 70px 0 110px; background: var(--grey); overflow: hidden; }
.lp_hero::before		{ content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; background: var(--yellow); right: -180px; top: -260px; opacity: .9; }
.lp_hero_grid			{ position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.lp_eyebrow				{ display: inline-block; margin: 0 0 18px; font: 600 13px/1 "Barlow"; letter-spacing: 2px; text-transform: uppercase; color: var(--red); }
.lp_eyebrow::before		{ content: ""; display: inline-block; width: 26px; height: 3px; background: var(--red); vertical-align: middle; margin: -3px 12px 0 0; }
.lp_hero h1				{ font: 800 clamp(36px, 4.6vw, 60px)/1.05 "Open Sans"; letter-spacing: -1.5px; margin-bottom: 24px; }
.lp_hero h1 span		{ display: block; color: var(--red); }
.lp_lead				{ font-size: 18px; color: #333; margin: 0 0 26px; max-width: 540px; }
.lp_checks				{ list-style: none; margin: 0 0 34px; padding: 0; }
.lp_checks li			{ position: relative; padding-left: 34px; margin-bottom: 10px; font-weight: 600; }
.lp_checks li::before	{ content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); }
.lp_checks li::after	{ content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lp_hero_img			{ position: relative; }
.lp_hero_img img		{ width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -25px rgba(0,0,0,.45); }
.lp_badge				{ position: absolute; left: -40px; bottom: -34px; display: flex; align-items: center; gap: 14px; padding: 20px 26px; background: var(--black); color: #fff; border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.lp_badge strong		{ font: 800 46px/1 "Open Sans"; color: var(--yellow); }
.lp_badge span			{ font-size: 13px; line-height: 1.35; }

/* formulaire */
.lp_form_section		{ position: relative; padding: 0 0 100px; margin-top: -40px; scroll-margin-top: 20px; }
.lp_form_section .lp_wrap { max-width: 1000px; }
.lp_form_head			{ position: relative; background: var(--red); color: #fff; padding: 38px 48px 34px; border-radius: var(--radius) var(--radius) 0 0; }
.lp_form_head h2		{ color: #fff; font: 800 34px/1.1 "Open Sans"; letter-spacing: -.5px; margin-bottom: 6px; }
.lp_form_head p			{ margin: 0; opacity: .92; }
.lp_form_head::after	{ content: ""; position: absolute; right: 40px; top: 50%; width: 64px; height: 64px; margin-top: -32px; border-radius: 50%; background: var(--yellow) url(../images/search.svg) center/26px no-repeat; }
.lp_form, .lp_confirm	{ background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 40px 80px -40px rgba(0,0,0,.35); border: 1px solid var(--grey); border-top: 0; }
.lp_step				{ border: 0; margin: 0; padding: 56px 56px 20px; min-width: 0; }
.lp_step + .lp_step		{ border-top: 1px dashed var(--line); padding-bottom: 56px; }
.lp_step legend			{ float: left; width: 100%; display: flex; align-items: center; gap: 14px; margin-bottom: 40px; padding: 0; font: 700 22px/1.2 "Open Sans"; color: var(--black); }
.lp_step legend span	{ display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: var(--yellow); font: 700 18px/1 "Barlow"; }
.lp_step legend + *		{ clear: both; }
.lp_field				{ margin-bottom: 44px; min-width: 0; }
.lp_label				{ display: block; margin: 0 0 14px; font: 700 15px/1.3 "Open Sans"; color: var(--black); }
.lp_label em, .lp_error em { font-style: normal; color: var(--red); }
.lp_sublabel			{ display: block; margin: 18px 0 8px; font-size: 14px; color: var(--muted); }
.lp_count				{ float: right; font: 600 13px/1.3 "Open Sans"; color: var(--red); }
.lp_row					{ display: grid; gap: 0 40px; }
.lp_row_2				{ grid-template-columns: 1fr 1fr; }
.lp_row_3				{ grid-template-columns: 1.2fr 1fr 1fr; }
.lp_form input[type=text], .lp_form input[type=email], .lp_form input[type=tel], .lp_form input[type=number], .lp_form select, .lp_form textarea {
	width: 100%; min-height: 54px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font: 400 16px/1.4 "Open Sans"; color: var(--ink); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.lp_form select			{ background: #fff url(../images/arrow_select.svg) right 16px center/12px no-repeat; padding-right: 44px; }
.lp_form textarea		{ resize: vertical; min-height: 96px; }
.lp_form input:focus, .lp_form select:focus, .lp_form textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 4px rgba(246,234,26,.6); }
.lp_form .lp_invalid	{ border-color: var(--red) !important; box-shadow: 0 0 0 4px rgba(230,5,21,.12) !important; }
.lp_suffix				{ position: relative; }
.lp_suffix input		{ padding-right: 54px !important; }
.lp_suffix span			{ position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted); }
.lp_form input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }
.lp_form input[type=number] { -moz-appearance: textfield; }

/* contrôles : segments, chips, régions */
.lp_seg input, .lp_chips input, .lp_region input, .lp_switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lp_seg					{ display: inline-flex; flex-wrap: wrap; padding: 5px; background: var(--grey); border-radius: 10px; gap: 4px; }
.lp_seg label span		{ display: block; padding: 12px 30px; border-radius: 7px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.lp_seg_small label span { padding: 10px 16px; min-width: 46px; text-align: center; font-size: 15px; }
.lp_seg label span:hover { background: #fff; }
.lp_seg input:checked + span { background: var(--black); color: var(--yellow); }
.lp_seg input:focus-visible + span, .lp_chips input:focus-visible + span, .lp_region input:focus-visible + span, .lp_switch input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

.lp_chips				{ display: flex; flex-wrap: wrap; gap: 12px 10px; }
.lp_chips label span	{ display: inline-block; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 30px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; }
.lp_chips label span:hover { border-color: var(--black); }
.lp_chips input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }

.lp_regions				{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-radius: 12px; }
.lp_regions.lp_invalid	{ outline: 2px solid var(--red); outline-offset: 6px; }
.lp_region				{ display: block; cursor: pointer; }
.lp_region > span		{ position: relative; display: block; height: 100%; padding: 14px 44px 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; transition: all .2s; }
.lp_region strong		{ display: block; font-size: 15px; line-height: 1.3; color: var(--black); }
.lp_region small		{ display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.lp_region > span::after { content: ""; position: absolute; right: 14px; top: 16px; width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--line); background: #fff center/12px no-repeat; transition: all .2s; }
.lp_region:hover > span	{ border-color: var(--black); }
.lp_region input:checked + span { border-color: var(--red); background: #fff6f6; box-shadow: inset 4px 0 0 var(--red); }
.lp_region input:checked + span::after { background-color: var(--red); border-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }

.lp_tags_box			{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px; min-height: 54px; border: 1.5px solid var(--line); border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.lp_tags_box:focus-within { border-color: var(--black); box-shadow: 0 0 0 4px rgba(246,234,26,.6); }
.lp_tags_box ul			{ display: contents; list-style: none; }
.lp_tags_box li			{ display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 14px; background: var(--black); color: #fff; border-radius: 30px; font-size: 14px; font-weight: 600; }
.lp_tags_box li button	{ width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font: 700 15px/1 Arial; cursor: pointer; }
.lp_tags_box li button:hover { background: var(--red); }
.lp_form .lp_tags_box input { flex: 1; min-width: 200px; min-height: 36px; border: 0; padding: 4px 8px; box-shadow: none !important; }

.lp_switch				{ display: inline-flex; align-items: center; gap: 14px; font-weight: 700; cursor: pointer; }
.lp_switch span			{ position: relative; width: 50px; height: 28px; border-radius: 30px; background: var(--line); transition: background .2s; flex: none; }
.lp_switch span::after	{ content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s; }
.lp_switch input:checked + span { background: var(--red); }
.lp_switch input:checked + span::after { transform: translateX(22px); }

.lp_hp					{ position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lp_consent				{ font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0 0 24px; }
.lp_consent a, #rgpdForm a { color: var(--red); }
.lp_submit				{ width: 100%; }
.lp_error				{ margin: 0; padding: 16px 48px; background: #fff0f0; color: var(--red-dark); font-weight: 700; border: 1px solid var(--grey); border-top: 0; }
.lp_confirm				{ padding: 60px 48px; text-align: center; }
.lp_confirm_icon		{ width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center/34px no-repeat; }
.lp_confirm h3			{ font: 800 26px/1.2 "Open Sans"; margin-bottom: 10px; }
.lp_confirm p			{ max-width: 520px; margin: 0 auto 26px; }
#rgpdForm				{ padding: 16px 20px; border: 1px solid var(--line); border-radius: 8px; margin: 0 0 18px; font: 400 13px/1.6 "Open Sans"; }
#rgpdForm input[type=checkbox] { width: 18px; height: 18px; float: left; margin: 3px 0 0; -webkit-appearance: checkbox; appearance: checkbox; accent-color: var(--red); }
#rgpdForm label			{ display: block; padding-left: 30px; font-size: 13px; }
#rgpdFormAcceptError	{ padding: 5px 0 0 30px; color: var(--red); }

/* blocs de critères : panneaux colorés */
/* uniquement : type de bien, prix, chambres/surface/façades, extérieur/état */
.lp_step:first-of-type > .lp_field:nth-of-type(3), .lp_step:first-of-type .lp_row .lp_field { margin-bottom: 20px; padding: 26px 28px 28px; background: #f6f6f6; border-radius: 14px; }
.lp_step:first-of-type .lp_row { gap: 0 20px; }
.lp_step:first-of-type .lp_row:last-of-type { margin-bottom: 24px; }
.lp_step:first-of-type > .lp_field:nth-of-type(3) .lp_label, .lp_step:first-of-type .lp_row .lp_label { display: flex; align-items: center; gap: 10px; }
.lp_step:first-of-type > .lp_field:nth-of-type(3) .lp_label::before, .lp_step:first-of-type .lp_row .lp_label::before { content: ""; width: 8px; height: 8px; background: var(--red); flex: none; }
.lp_step:first-of-type .lp_row .lp_seg { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.lp_step:first-of-type .lp_row .lp_seg label span:hover { background: var(--grey); }
.lp_step:first-of-type .lp_row .lp_seg_small { flex-wrap: nowrap; }
.lp_step:first-of-type .lp_row .lp_seg_small label span { padding: 10px 0; min-width: 42px; }
.lp_chips label span { background: #fff; }

/* étapes */
.lp_steps				{ padding: 20px 0 110px; }
.lp_steps h2, .lp_agence h2, .lp_band h2 { font: 800 clamp(28px, 3vw, 40px)/1.15 "Open Sans"; letter-spacing: -.8px; }
.lp_steps h2			{ text-align: center; margin-bottom: 50px; }
.lp_steps_grid			{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.lp_steps_grid li		{ position: relative; padding: 36px 32px; background: var(--grey); border-radius: var(--radius); overflow: hidden; }
.lp_steps_grid li span	{ display: block; font: 700 64px/1 "Barlow"; color: var(--red); margin-bottom: 18px; }
.lp_steps_grid li:nth-child(2) { background: var(--black); color: #ddd; }
.lp_steps_grid li:nth-child(2) h3 { color: #fff; }
.lp_steps_grid li:nth-child(2) span { color: var(--yellow); }
.lp_steps_grid h3		{ font: 700 20px/1.3 "Open Sans"; margin-bottom: 10px; }
.lp_steps_grid p		{ margin: 0; font-size: 15px; }

/* agence */
.lp_agence				{ padding: 0 0 110px; }
.lp_agence_grid			{ display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.lp_agence_img			{ position: relative; }
.lp_agence_img::before	{ content: ""; position: absolute; inset: 30px -30px -30px 30px; border-radius: var(--radius); background: var(--yellow); z-index: -1; }
.lp_agence_img img		{ border-radius: var(--radius); width: 100%; }
.lp_agence_grid			{ position: relative; z-index: 0; }
.lp_agence h2			{ margin-bottom: 18px; }
.lp_stats				{ list-style: none; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp_stats strong		{ display: block; font: 800 48px/1 "Open Sans"; color: var(--black); }
.lp_stats li:nth-child(3) strong::after { content: "%"; font-size: 24px; margin-left: 2px; }
.lp_stats span			{ display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.lp_stats li			{ position: relative; padding-top: 16px; }
.lp_stats li::before	{ content: ""; position: absolute; top: 0; left: 0; width: 10px; height: 10px; background: var(--red); }

/* bande contact */
.lp_band				{ background: var(--red); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.lp_band::after			{ content: ""; position: absolute; left: -120px; bottom: -220px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.08); }
.lp_band_grid			{ position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.lp_band h2				{ color: #fff; margin-bottom: 6px; }
.lp_band p				{ margin: 0; opacity: .9; }
.lp_band_cta			{ display: flex; gap: 14px; flex-wrap: wrap; }

/* footer */
.lp_footer				{ background: var(--black); color: #bdbdbd; font-size: 14px; line-height: 1.7; padding: 50px 0 0; }
.lp_footer a			{ color: #fff; text-decoration: none; }
.lp_footer a:hover		{ color: var(--yellow); }
.lp_footer p			{ margin: 0; }
.lp_footer_grid			{ display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 30px; padding-bottom: 34px; }
.lp_footer_title		{ font: 800 22px/1.2 "Open Sans"; color: #fff; margin-bottom: 8px !important; }
.lp_footer_title span	{ color: var(--red); }
.lp_footer_links		{ list-style: none; display: flex; flex-wrap: wrap; gap: 6px 26px; padding-top: 20px !important; padding-bottom: 26px !important; border-top: 1px solid #262626; margin: 0 auto; font-size: 13px; }
.lp_footer_links a		{ color: #9a9a9a; }

/* responsive */
@media (max-width: 1100px) {
	.lp_regions			{ grid-template-columns: repeat(2, 1fr); }
	.lp_row_3			{ grid-template-columns: 1fr 1fr; }
	.lp_row_3 .lp_field:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.lp_baseline, .lp_mail { display: none; }
	.lp_hero			{ padding: 40px 0 90px; }
	.lp_hero_grid, .lp_agence_grid { grid-template-columns: 1fr; gap: 50px; }
	.lp_hero_img		{ max-width: 620px; }
	.lp_badge			{ left: 16px; bottom: -28px; }
	.lp_steps_grid		{ grid-template-columns: 1fr; }
	.lp_agence_img::before { inset: 18px -12px -18px 18px; }
	.lp_band_grid		{ flex-direction: column; align-items: flex-start; }
	.lp_footer_grid		{ grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
	.lp_wrap			{ padding: 0 16px; }
	.lp_header .lp_wrap	{ min-height: 84px; }
	.lp_logo img		{ width: 62px; height: 62px; }
	.lp_header_cta .lp_btn { min-height: 46px; padding: 0 18px; }
	.lp_hero::before	{ width: 360px; height: 360px; right: -160px; top: -170px; }
	.lp_lead			{ font-size: 16px; }
	.lp_btn_big			{ width: 100%; }
	.lp_badge strong	{ font-size: 36px; }
	.lp_form_section	{ margin-top: -30px; }
	.lp_form_section .lp_wrap { padding: 0; }
	.lp_form_head, .lp_form, .lp_confirm { border-radius: 0; }
	.lp_form_head		{ padding: 30px 84px 26px 20px; }
	.lp_form_head h2	{ font-size: 28px; }
	.lp_form_head::after { right: 18px; width: 50px; height: 50px; margin-top: -25px; }
	.lp_step			{ padding: 40px 20px 10px; }
	.lp_step + .lp_step	{ padding-bottom: 40px; }
	.lp_field			{ margin-bottom: 36px; }
	.lp_step:first-of-type > .lp_field:nth-of-type(3), .lp_step:first-of-type .lp_row .lp_field { padding: 20px 16px 22px; margin-bottom: 14px; }
	.lp_error			{ padding: 14px 20px; }
	.lp_regions, .lp_row_2, .lp_row_3 { grid-template-columns: 1fr; }
	.lp_count			{ float: none; display: block; margin-top: 4px; }
	.lp_seg				{ display: flex; }
	.lp_seg label		{ flex: 1; }
	.lp_seg label span	{ padding-left: 8px; padding-right: 8px; text-align: center; }
	.lp_stats strong	{ font-size: 38px; }
	.lp_stats			{ gap: 10px; }
	.lp_band_cta, .lp_band_cta .lp_btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	html				{ scroll-behavior: auto; }
	.animate			{ opacity: 1 !important; transition: none !important; }
}
