:root {
	--padd		: 2.5vw;
	--padd2d	: calc(var(--padd) / 2);
	--padd3d	: calc(var(--padd) / 3);
	--padd4d	: calc(var(--padd) / 4);
	--padd15m	: calc(var(--padd) * 1.5);
	--padd2m	: calc(var(--padd) * 2);
	--padd3m	: calc(var(--padd) * 3);
	--padd4m	: calc(var(--padd) * 4);

	--nav		: 4.5vw;
	--hitpoint	: 2.5vw;
	--form		: 22%;
	--body		: calc(100% - var(--form));

	--primary	: #5F192B;
	--secondary	: #A40356;
}

/* ------------------------------------------ */

.splide__slide svg, .splide__slide svg * {
	stroke: var(--secondary);
}

.offer.two .waza .small {
    font-size: 12px;
    line-height: 0.2vw;
}

.waza {
	line-height: 1.5vw;
}

.c_green { color: var(--secondary); }
.c_prim { color: var(--primary); }

body, html {
	overflow-x: hidden;
}
body { display: flex; flex-direction: column; }

body::-webkit-scrollbar { width: 0; }
#formulaire::-webkit-scrollbar { width: 0; }

.visu { width: 100%; height: 35vw; object-fit: cover; }

ul { list-style: none; padding-inline-start: 0; margin: 0; }

.klavika { font-family: "klavika-web", sans-serif; }
.gotham { font-family: "gotham", sans-serif; }
.palace { font-family: "palace", sans-serif; }
.chalet { font-family: "chalet", sans-serif; }

section { margin-bottom: var(--padd); }

h2, h3, h4 { color: var(--secondary); font-weight: normal; margin-bottom: var(--padd2d); }

/* h2 { font-family: "palace", sans-serif; } */

h3 {
	position: relative;
	text-transform: uppercase;
	padding: 0 2em;
	width: fit-content;
	width: intrinsic;           /* Safari/WebKit uses a non-standard name */
	width: -moz-max-content;    /* Firefox/Gecko */
	width: -webkit-max-content; /* Chrome */
	font-family: "klavika-web", sans-serif;
	font-weight: bold;
}
h3:before {
	content: ' ';
	width: 100%; height: 1px;
	position: absolute;
	background-color: var(--primary);
	top: 50%; left: 0; z-index: -1;
	transform: translateY(-50%);
}
h3 span {
	position: relative; z-index: 1;
	background-color: white;
	padding: 0 1em;
	display: flex; justify-items: center;
}

/* h4 { line-height: 1.2em !important; font-family: "chalet", sans-serif; } */
h4 { line-height: 1.2em !important; font-family: "klavika-web", sans-serif; }

h5 {
	font-size: clamp(18px,1.6vw,28px); line-height: 1.2em; font-weight: normal;
	margin-bottom: var(--padd2d);
	/* font-family: "chalet", sans-serif; */
}

header { padding-bottom: var(--hitpoint); }
#navbar_hitpoint { position: absolute; bottom: calc(var(--nav) + var(--hitpoint)); }
#navbar_baseline {
	height: var(--hitpoint);
	display: flex; justify-content: center; align-items: center;
	position: absolute; bottom: 0; left: 0; right: 0; z-index: 100;
	background-color: var(--primary); color: white;
	will-change: position;
}

/* ------------------------------------------ */

.pbtn {
	display: flex; justify-content: center; align-items: center;
	background-color: var(--secondary); color: white;
	padding: var(--padd4d) var(--padd3d);
}
.pbtn img { height: 5vw; width: auto; margin-right: 6.66px; }

.btn {
	background-color: var(--secondary); color: white;
	display: flex; justify-content: center; align-items: center;
	width: 16.66vw; height: 2.85vw;
	cursor: pointer;
	text-transform: uppercase; font-weight: bold;
	margin: var(--padd2d) auto 0;
}
.btn img { height: 1vw; width: auto; margin-right: 6.66px; }

.text { font-size: 80%; line-height: 1.5em; margin-bottom: var(--padd2d); }

.eligi .eli {
	background-color: white; color: var(--secondary);
	font-size: 0.9vw;
	width: 5vw; height: 5vw;
	font-family: "chalet";
	display: flex; flex-direction: column;
	align-items: flex-start; justify-content: center;
	padding-top: 0.66vw; padding-left: 0.66vw;
	margin-bottom: var(--padd2d);
	text-align: left;
}
.eligi .eli sup { top: -1.5em; }
.eligi .eli b { line-height: 1em; font-weight: normal; }
.eligi .eli strong { line-height: 2em; font-weight: normal; }
.eligi .eli span { font-size: 1.5em; }

.eligi .text { margin-bottom: var(--padd); }

.offer {
	display: flex; flex-direction: column; justify-content: flex-start; align-items: center;
	position: relative;
	font-size: 1.5em; line-height: 1.5em;
	background-color: var(--secondary); color: white;
	text-align: center;
}
.offer strong { font-size: 1.75em; }
.offer sup { top: -2em; }
.offer.one sup { top: -1em; }
.offer.two { font-size: 1.75em; }
.offer.two .waza {
	background-color: white; color: var(--secondary);
    padding: 1.2vw 0.75vw 0.6vw 0.75vw;
    position: absolute; bottom: 0; left: 50%;
    transform: translate(-50%, 50%) rotate(-2.5deg);
	box-shadow: 0 0 20px -10px #000;
	line-height: 0.7em;
}
header .offer.two .waza { transform: translate(-50%, 105%) rotate(-2.5deg); }

/* ------------------------------------------ */

#body, footer { width: var(--body); }

nav {
	background-color: white; color: var(--primary);
	font-weight: bold;
	padding: 0 var(--padd);
	height: var(--nav);
	display: flex; align-items: center; justify-content: space-between;
	position: fixed; top: 0; left: 0; right: var(--form); z-index: 100;
}
nav > img { width: 20vw; height: auto; }
nav > div span { padding-left: var(--padd); }
nav .pbtn { background: linear-gradient(to right, var(--primary), var(--secondary)); border-radius: 5px; }

nav .logo { height: 1.7vw; }
#logo_prog {
	margin-left: var(--padd2d); padding-left: var(--padd2d);
	border-left: 1px solid var(--primary);
}

/* nav.active { position: fixed; }
nav[data-sticky="true"] { -webkit-animation: slide_from_top 0.5s both; animation: slide_from_top 0.5s both; }
nav.active[data-sticky="false"] { -webkit-animation: fade_out 0.5s both; animation: fade_out 0.5s both; } */

header { position: relative; margin-top: var(--nav); }
header #bg_header { padding-top: 53%; }
header #annonce {
	display: flex; flex-direction: column;
	padding: var(--padd2d) var(--padd);
	margin-bottom: 0;
	background-color: var(--primary); color: white;
}
header #annonce .fsize_vlg { line-height: 1.1em; }
#offers > div { display: flex; flex-direction: column; }
#baseline {
	background: var(--secondary); color: white;
	padding: var(--padd3d) var(--padd2d);
	text-align: center;
	border-radius: 5px;
}
header #baseline {
	position: absolute; top: calc(var(--padd) * 4.75); left: var(--padd);
}
#baseline h5 { font-weight: bold; margin-bottom: 0; }
#baseline hr {
	margin: 0.33em auto 0.15em; max-width: 75%;
	background-color: white; border-color: white;
}
header .eligi {
	position: absolute; top: calc(var(--padd) * 4.75); right: var(--padd); bottom: var(--hitpoint);
	display: flex; flex-direction: column;
	align-items: flex-end; justify-content: space-between;
}
header .eligi .eli {
	width: 6vw; height: 6vw;
	font-size: 1.1vw;
	border-radius: 5px;
	box-shadow: 0 0 20px -10px black;
}

main { padding: 0 var(--padd); width: 100%; }

section#residence { margin-top: var(--padd); }
#residence h4 { margin-bottom: 0.1em; }
#residence > div { display: grid; grid-template-columns: 1fr 1fr; }
#residence .list {
	border: 1px solid var(--primary);
	padding: var(--padd) var(--padd2d);
	height: fit-content;
	height: intrinsic;           /* Safari/WebKit uses a non-standard name */
	height: -moz-max-content;    /* Firefox/Gecko */
	height: -webkit-max-content; /* Chrome */
	margin-left: var(--padd2m);
}
#residence .list li {
	font-size: 90%; line-height: 1.5em; margin-bottom: 1em;
	position: relative;
	margin-left: 1em;
}
#residence .list li::before {
	content: '√';
	width: 1em; height: 1em;
	color: var(--secondary);
	position: absolute;
	top: 0; left: 0;
	transform: translateX(-100%);
}

section#maquette { margin-bottom: 0; }
#slider { height: max(220px, 38vw); }
#slider .splide__pagination { transform: translate(-50%, 0); }

section#prix {
	display: grid; grid-template-columns: 1.3fr 0.7fr;
	position: relative;
}
#prix > article:first-child {
	display: flex; flex-direction: column;
	justify-content: center; align-items: center;
}
#prix > article:last-child {
	background: url("../images/bg_gdp.svg") no-repeat left/cover;
	padding: var(--padd4m) 0;
	position: relative;
}
#prix h3 { position: relative; }
#prix .dispo {
	background-color: var(--secondary);
    color: white;
    padding: 5px;
    border-radius: 5px;
    width: fit-content;
    text-align: center;
	position: absolute; right: 0; top: 0;
	transform: translate(150%, -33.33%) rotate(-15deg);
}
#prix .offer.two { font-size: 1.4em; }
#prix .waza { transform: translate(-50%, 105%) rotate(-2.5deg); color: white; background-color: var(--primary); }
#prix #baseline {
	width: 65%; position: absolute; top: 45%; right: var(--padd); transform: translateY(-50%);
	border-radius: 5px;
}
#prix hr { background-color: var(--secondary); border-color: transparent; }
#prix #baseline, #prix .offer {
	background-color: white; color: var(--secondary);
}
#gdp {
	margin-top: var(--padd2d);
}
#gdp b { font-size: 110%; }
#gdp strong { color: var(--secondary); font-size: 120%; }
#gdp li {
	width: fit-content;
	width: intrinsic;           /* Safari/WebKit uses a non-standard name */
	width: -moz-max-content;    /* Firefox/Gecko */
	width: -webkit-max-content; /* Chrome */
}
#gdp li:not(:first-child) {
	border-top: 1px solid lightgrey;
	margin-top: 0.5em; padding-top: 0.5em;
}

section#quartier {
	display: grid; grid-template-columns: 1fr 1fr;
}

#quartier > div {
	display: flex; flex-direction: column; align-items: center;
	padding-left: var(--padd);
}
/* #quartier > div h3 + div { display: grid; grid-template-columns: 1fr 1fr; } */
#quartier .slider > img { display: block; margin: var(--padd2d) auto var(--padd3d); width: 17.5vw; }
#quartier .slider { margin-bottom: var(--padd2d); }
#quartier .splide__slide > div > b { display: flex; align-items: flex-end; }
#quartier .splide__slide > div > span { margin: 5px auto 2.5px; display: flex; justify-content: center; align-items: center; position: relative; width: 25%; }
#quartier .splide__slide > div > span > img { position: relative; z-index: 1; }
#quartier .splide__slide > div > span:before {
	content: ' ';
	position: absolute; top: 50%; left: 0; z-index: -1;
	width: 100%; height: 1px;
	background-color: var(--secondary);
	transform: translateY(-50%);
}
#quartier .splide__slide > div > p { padding: 0 5px; }
.splide__arrow--next {
	background: var(--secondary) !important;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.414' height='22.828' viewBox='0 0 12.414 22.828'%3E%3Cpath id='Tracé_6432' data-name='Tracé 6432' d='M5257.29,2315.834l10,10-10,10' transform='translate(-5255.875 -2314.42)' fill='none' stroke='%23a40356' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E%0A") no-repeat center/contain;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.414' height='22.828' viewBox='0 0 12.414 22.828'%3E%3Cpath id='Tracé_6432' data-name='Tracé 6432' d='M5257.29,2315.834l10,10-10,10' transform='translate(-5255.875 -2314.42)' fill='none' stroke='%23a40356' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E%0A") no-repeat center/contain;
	opacity: 1 !important;
}
.splide__arrow--prev {
	background: var(--secondary) !important;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.414' height='22.828' viewBox='0 0 12.414 22.828'%3E%3Cpath id='Tracé_6431' data-name='Tracé 6431' d='M5267.29,2315.834l-10,10,10,10' transform='translate(-5256.29 -2314.42)' fill='none' stroke='%23a40356' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E") no-repeat center/contain;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.414' height='22.828' viewBox='0 0 12.414 22.828'%3E%3Cpath id='Tracé_6431' data-name='Tracé 6431' d='M5267.29,2315.834l-10,10,10,10' transform='translate(-5256.29 -2314.42)' fill='none' stroke='%23a40356' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E") no-repeat center/contain;
	opacity: 1 !important;
}
.mab_slider__open {
	position: relative; bottom: 20px !important;
	background: rgba(244, 244, 244, 0.75) !important;
	width: max(30px, 2vw) !important; height: max(30px, 2vw) !important;
	right: 45.5% !important;
	border-radius: 5px;
}
.mab_slider__open:before {
	content: ' ';
	width: 66.6%; height: 66.6%;
	position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	background: var(--secondary) !important;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg id='noun-full-screen-1986030' transform='translate(-102.816 -32.812)'%3E%3Cpath id='Tracé_6433' data-name='Tracé 6433' d='M396.581,34.582h6.38l-.885-.885v6.381a.885.885,0,1,0,1.77,0V33.7a.9.9,0,0,0-.885-.885h-6.38a.885.885,0,1,0,0,1.77Z' transform='translate(-281.031)' fill='%23a40356'/%3E%3Cpath id='Tracé_6434' data-name='Tracé 6434' d='M399.736,40.687l.628-.628,1.5-1.5,1.812-1.812,1.573-1.573c.254-.254.511-.5.761-.761l.011-.011a.885.885,0,1,0-1.252-1.252l-.628.628-1.5,1.5-1.812,1.812-1.573,1.573c-.254.254-.511.5-.761.761l-.011.011a.885.885,0,1,0,1.252,1.252Z' transform='translate(-283.462 -0.083)' fill='%23a40356'/%3E%3Cpath id='Tracé_6435' data-name='Tracé 6435' d='M110.081,332.083H103.7l.885.885v-6.38a.885.885,0,1,0-1.77,0v6.38a.9.9,0,0,0,.885.885h6.381a.885.885,0,0,0,0-1.77Z' transform='translate(0 -281.041)' fill='%23a40356'/%3E%3Cpath id='Tracé_6436' data-name='Tracé 6436' d='M109.449,328.576l-.628.628-1.5,1.5-1.812,1.812-1.573,1.573c-.254.254-.511.5-.761.761l-.011.011a.885.885,0,0,0,1.252,1.252l.628-.628,1.5-1.5,1.812-1.812,1.573-1.573c.254-.254.511-.5.761-.761l.011-.011a.885.885,0,0,0-1.252-1.252Z' transform='translate(-0.091 -283.556)' fill='%23a40356'/%3E%3Cpath id='Tracé_6437' data-name='Tracé 6437' d='M110.081,32.812H103.7a.9.9,0,0,0-.885.885v6.381a.885.885,0,1,0,1.77,0V33.7l-.885.885h6.381a.885.885,0,1,0,0-1.77Z' fill='%23a40356'/%3E%3Cpath id='Tracé_6438' data-name='Tracé 6438' d='M110.687,39.449l-.628-.628-1.5-1.5-1.812-1.812-1.573-1.573c-.254-.254-.5-.511-.761-.761l-.011-.011a.885.885,0,0,0-1.252,1.252l.628.628,1.5,1.5,1.812,1.812,1.573,1.573c.254.254.5.511.761.761l.011.011a.885.885,0,0,0,1.252-1.252Z' transform='translate(-0.079 -0.095)' fill='%23a40356'/%3E%3Cpath id='Tracé_6439' data-name='Tracé 6439' d='M396.581,333.853h6.38a.9.9,0,0,0,.885-.885v-6.38a.885.885,0,0,0-1.77,0v6.38l.885-.885h-6.38a.885.885,0,0,0,0,1.77Z' transform='translate(-281.031 -281.041)' fill='%23a40356'/%3E%3Cpath id='Tracé_6440' data-name='Tracé 6440' d='M398.576,329.736l.628.628,1.5,1.5,1.812,1.812,1.573,1.573c.254.254.5.511.761.761l.011.011a.885.885,0,0,0,1.252-1.252l-.628-.628-1.5-1.5-1.812-1.812-1.573-1.573c-.254-.254-.5-.511-.761-.761l-.011-.011a.885.885,0,0,0-1.252,1.252Z' transform='translate(-283.552 -283.466)' fill='%23a40356'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg id='noun-full-screen-1986030' transform='translate(-102.816 -32.812)'%3E%3Cpath id='Tracé_6433' data-name='Tracé 6433' d='M396.581,34.582h6.38l-.885-.885v6.381a.885.885,0,1,0,1.77,0V33.7a.9.9,0,0,0-.885-.885h-6.38a.885.885,0,1,0,0,1.77Z' transform='translate(-281.031)' fill='%23a40356'/%3E%3Cpath id='Tracé_6434' data-name='Tracé 6434' d='M399.736,40.687l.628-.628,1.5-1.5,1.812-1.812,1.573-1.573c.254-.254.511-.5.761-.761l.011-.011a.885.885,0,1,0-1.252-1.252l-.628.628-1.5,1.5-1.812,1.812-1.573,1.573c-.254.254-.511.5-.761.761l-.011.011a.885.885,0,1,0,1.252,1.252Z' transform='translate(-283.462 -0.083)' fill='%23a40356'/%3E%3Cpath id='Tracé_6435' data-name='Tracé 6435' d='M110.081,332.083H103.7l.885.885v-6.38a.885.885,0,1,0-1.77,0v6.38a.9.9,0,0,0,.885.885h6.381a.885.885,0,0,0,0-1.77Z' transform='translate(0 -281.041)' fill='%23a40356'/%3E%3Cpath id='Tracé_6436' data-name='Tracé 6436' d='M109.449,328.576l-.628.628-1.5,1.5-1.812,1.812-1.573,1.573c-.254.254-.511.5-.761.761l-.011.011a.885.885,0,0,0,1.252,1.252l.628-.628,1.5-1.5,1.812-1.812,1.573-1.573c.254-.254.511-.5.761-.761l.011-.011a.885.885,0,0,0-1.252-1.252Z' transform='translate(-0.091 -283.556)' fill='%23a40356'/%3E%3Cpath id='Tracé_6437' data-name='Tracé 6437' d='M110.081,32.812H103.7a.9.9,0,0,0-.885.885v6.381a.885.885,0,1,0,1.77,0V33.7l-.885.885h6.381a.885.885,0,1,0,0-1.77Z' fill='%23a40356'/%3E%3Cpath id='Tracé_6438' data-name='Tracé 6438' d='M110.687,39.449l-.628-.628-1.5-1.5-1.812-1.812-1.573-1.573c-.254-.254-.5-.511-.761-.761l-.011-.011a.885.885,0,0,0-1.252,1.252l.628.628,1.5,1.5,1.812,1.812,1.573,1.573c.254.254.5.511.761.761l.011.011a.885.885,0,0,0,1.252-1.252Z' transform='translate(-0.079 -0.095)' fill='%23a40356'/%3E%3Cpath id='Tracé_6439' data-name='Tracé 6439' d='M396.581,333.853h6.38a.9.9,0,0,0,.885-.885v-6.38a.885.885,0,0,0-1.77,0v6.38l.885-.885h-6.38a.885.885,0,0,0,0,1.77Z' transform='translate(-281.031 -281.041)' fill='%23a40356'/%3E%3Cpath id='Tracé_6440' data-name='Tracé 6440' d='M398.576,329.736l.628.628,1.5,1.5,1.812,1.812,1.573,1.573c.254.254.5.511.761.761l.011.011a.885.885,0,0,0,1.252-1.252l-.628-.628-1.5-1.5-1.812-1.812-1.573-1.573c-.254-.254-.5-.511-.761-.761l-.011-.011a.885.885,0,0,0-1.252,1.252Z' transform='translate(-283.552 -283.466)' fill='%23a40356'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;
}
#maquette .splide__arrow {
	top: 50%; bottom: 0; transform: translateY(-50%);
	height: 66.6%; width: 45%;
}
#maquette .splide__arrow--prev { left: 0; }
#maquette .splide__arrow--next { right: 0; }
#maquette .splide__arrow--next svg,
#maquette .splide__arrow--next svg * { stroke-width: 2px; }
#maquette .splide__arrows.splide__arrows--ltr {
	border-radius: 5px;
	background: rgba(244, 244, 244, 0.75); z-index: 1;
	position: absolute; bottom: 20px; left: 45.5%;
	width: max(60px, 4vw); height: max(30px, 2vw);
}

section#map {
	display: flex; justify-content: flex-end; align-items: center;
	padding-left: var(--padd);
	background-color: #F7F7F7; color: black;
	margin: 0 var(--padd2m) var(--padd);
}
#bdv { text-align: right; padding-right: var(--padd); }
#nstroke { stroke: var(--secondary); }
#map > img { width: 29vw; height: auto; }

#formulaire {
	width: var(--form); height: 99.9vh;
	overflow-y: auto;
	background-color: white;
	box-shadow: 0px 0px 23px hsl(0deg 0% 0% / 33%);
	position: fixed; top: 0; right: 0; z-index: 1000;
	color: black;
}
::placeholder { color: black; }
#formulaire .placeholder {
	margin-bottom: 5px;
	padding-left: var(--padd4d);
	font-weight: bold;
}
#formulaire .title {
	background-color: var(--secondary); color: white;
	text-align: center;
	padding: var(--padd) var(--padd2d);
	display: flex; flex-direction: column;
	justify-content: center; align-items: center;
}
#formulaire .title .logo { width: 10vw; }
#formulaire .title h2 { margin-bottom: var(--padd2d); color: white; }
#picto_phone, #picto_phone path { fill: white; stroke: white; }
#formulaire .mab_radio { margin: var(--padd4d) 0 var(--padd2d); }
#formulaire .mab_radio__control {
	border-color: var(--secondary);
	border-radius: 0;
}
#formulaire .mab_radio input:checked+.mab_radio__control {
	background-color: var(--secondary);
}
#formulaire .btn {
	width: 100%; height: max(55px, 3vw);
	color: white; font-weight: bold;
	background: linear-gradient(to right, var(--primary), var(--secondary));
	margin: 0 auto;
	display: flex;
	cursor: pointer;
	border-radius: 5px;
}
#formulaire input, #formulaire select {
	margin-bottom: var(--padd4d);
	background-color: white;
	border: 1px solid var(--secondary); color: black; border-radius: 5px;
	width: 100%; height: 2vw;
	padding: 0 max(0.5vw, 15px);
	font-size: 75%;
	font-family: "klavika-web", sans-serif;
}
[name="commentaire"] { margin-bottom: var(--padd); }
#formulaire [aria-labelledby="typologie"] { margin-bottom: 0; width: 100%; height: 100%; }
#formulaire .mab_checkbox {
	width: 3vw; height: 2.66vw; border-radius: 5px;
}
#formulaire .mab_checkbox label { border-color: var(--secondary); color: black; font-weight: normal; }
#formulaire .mab_checkbox input:checked+label { background-color: var(--secondary); color: white; }
#container_input {
	display: grid; grid-template-columns: 1fr 1fr;
	column-gap: max(15px, 0.66vw);
}
#container_typo {
	display: flex; justify-content: flex-start; align-items: center;
	margin-bottom: var(--padd4d);
	font-size: 66.6%; font-weight: bold;
}
#formulaire form { padding: var(--padd) var(--padd2d); }
#mab_completion__list.active {
	transform: translateY(15px);
	border: 1px solid var(--secondary);
}
#formulaire svg { transform: translateY(15%); width: max(1.5vw, 20px); height: max(1.5vw, 20px) }
#confirmation {
	padding: var(--padd);
	text-align: center;
}

footer {
	padding: var(--padd);
	display: flex; justify-content: center; align-items: center;
	flex-direction: column;
	background-color: #F7F7F7; color: #747474;
}
footer > img { width: 23vw; height: auto; margin-bottom: var(--padd); }

/* ------------------------------------------ */

#Groupe_842 line { stroke: var(--primary); }

#quartier .splide__slide > div {
	width: 100% !important;
	display: flex; flex-direction: column;
	justify-content: center; align-items: center;
	text-align: center;
	border: 1px solid var(--secondary);
	height: 45vw;
}

@media (min-width: 1025px) {
	h4 { font-size: 2vw !important; }

	nav > .desktop { display: flex; align-items: center; }

	#prix #baseline h5 {
		font-size: clamp(14px, 1vw, 16px);
	}

	#navbar_baseline.active {
		position: fixed; top: var(--nav);
		width: calc(100% - var(--form));
		background-color: var(--secondary);
	}

	#maquette .splide__arrows.splide__arrows--ltr,
	#maquette .mab_slider__open {
		background: rgba(255, 255, 255, 0.75);
	}

	section#maquette { overflow: hidden; }

	header .eligi > img { width: 12.5vw; }

	.nomargin { margin-bottom: 1em !important; }

	#quartier .fsize_vlg { padding-right: 2em; }
	#quartier .slider { width: 100%; }
	#quartier .splide__list {
		display: grid; grid-template-columns: 1fr 1fr; gap: var(--padd2d);
	}
	#quartier .splide__slide .text { margin-bottom: 0; font-size: 75%; line-height: 1.2em; }
	#quartier .splide__slide > div { height: 9vw; }
	.splide__slide svg { width: 0.66vw; height: 0.66vw; }

	#formulaire .title > div:first-child {
		width: 90%; height: 2.66vw; margin: 0 auto;
		background-color: white;
		color: var(--secondary); border-radius: 5px;
		display: flex; justify-content: center; align-items: center;
		margin-bottom: var(--padd2d);
	}
}

#Tracé_189 { fill: var(--secondary); }

footer .mab_modal h4 { margin: var(--padd) 0 var(--padd2d); }
footer .mab_modal ul { list-style: disc; padding-inline-start: var(--padd2d); margin: 0; }
footer .mab_modal ul li { margin-bottom: var(--padd4d); }
footer .mab_modal ul li:first-child { margin-top: var(--padd3d); }


.splide__pagination__page.is-active { background: var(--secondary) !important; }
.splide__arrows svg, .splide__sr { display: none; }

#mab_slider__fullscreen--modal .mab_slider,
#mab_slider__fullscreen--modal .splide { background-color: transparent !important; height: 100vh !important; }

#mab_slider__fullscreen--modal .mab_modal__close {
    position: absolute; top: var(--padd2d); right: var(--padd2d);
    background: rgba(244, 244, 244, 1);
    width: max(40px, 2.5vw); height: max(40px, 2.5vw);
	border-radius: 5px;
}
#mab_slider__fullscreen--modal .mab_modal__close::before {
	content: ' '; display: block;
	background: var(--secondary);
	mask: url("../images/close2.svg") no-repeat center/cover;
	-webkit-mask: url("../images/close2.svg") no-repeat center/cover;
	width: 66.6%; height: 66.6%;
	position: relative; top: 50%; left: 50%;
	transform: translate(-50%, -50%);
}
#mab_slider__fullscreen--modal .splide__pagination li {
	display: flex;
	padding: 2px !important; margin: -1px;
	background: rgba(244, 244, 244, 1);
}
#mab_slider__fullscreen--modal .splide__pagination li:first-child { border-radius: 5px 0 0 5px; }
#mab_slider__fullscreen--modal .splide__pagination li:last-child { border-radius: 0 5px 5px 0; }



/* ------------------------------------------ */

input, select, option, ::placeholder {
	font-family: "klavika-web", sans-serif;
}

@media (max-width: 1024px) {

	#mab_slider__fullscreen--modal .splide__pagination { bottom: var(--padd2d); transform: translate(-50%, 0) !important; }
	#mab_slider__fullscreen--modal .splide__list li { background-size: contain !important; }


	:root {
		--padd	: 30px;

		--form	: 100%;
		--body	: 100%;
		--nav	: 17vw;
		--hitpoint	: 20vw;
	}

	nav:not(.active) #navbar_baseline {
		opacity: 0;
	}

	#navbar_hitpoint { top: 33.33%; bottom: unset; }
	header #navbar_baseline { display: none; }
	nav #navbar_baseline {
		position: static;
		opacity: 1;
		transition: opacity 0.3s ease;
		width: 118%; margin-left: 0;
		margin-top: 3.5%;
		padding: var(--padd2d);
		text-align: center;
		font-size: 0.75em;
		background-color: var(--secondary);
	}
	header #baseline { border-radius: 0; }
	nav #navbar_baseline > span { margin: 0; line-height: 1.5em; font-weight: normal; padding: 0 2vw; }

	#maquette .splide__arrows.splide__arrows--ltr, .mab_slider__open {
		bottom: 0 !important; transform: translateY(40%);
	}
	#slider .splide__pagination { transform: translate(-50%, 200%); }

	.visu { height: auto; width: 112%; margin-left: -6%; max-width: unset; }

	.nomargin { margin-bottom: 2em !important; }

	h3 {
		margin-left: auto; margin-right: auto;
		/* min-width: 66.6vw; */
	}
	h5 { font-size: 4.2vw; }
	.offer { font-size: 4.3vw; }
	.offer.two { font-size: 6vw; }
	.offer.two .waza { padding: 4.5vw 2vw 2vw; }

	.fsize_md { font-size: 4.4vw !important; }
	.fsize_vmd { font-size: 4.8vw !important; }
	.fsize_vlg { font-size: 6vw !important; }
	.prestations .fsize_vlg { font-size: 8vw !important; }
	.fsize_sm { font-size: 3.4vw !important; }

	.btn { width: 100%; height: 12.5vw; margin: var(--padd) auto; font-size: 4.4vw !important; }
	.btn img { height: 5vw; margin-right: 2.5vw; }

	#quartier .splide__slide {
		display: flex; justify-content: center;
		width: 100vw;
	}
	#quartier .splide__slide > div {
		width: 60% !important;
	}
	.splide__slide svg { width: 2.5vw; height: 2.5vw; }
	#quartier .splide__slide:last-child { margin-right: 40%; }

	.eligi .eli {
		width: 16vw !important; height: 16vw !important;
		font-size: 3vw !important;
		padding-top: 2.5vw; padding-left: 1.5vw;
	}

	#maquette .splide__arrows.splide__arrows--ltr { left: 37.5%; }
	.mab_slider__open { right: 37.5% !important; }

	nav {
		height: var(--nav); flex-direction: column;
		top: 0; right: 0;
		padding: var(--padd2d) var(--padd2d) var(--padd);
	}
	nav .logo { height: 7.5vw; }
	nav .pbtn { min-width: 40vw; }
	/* nav.active { height: 16.422vw; padding: var(--padd2d); } */
	nav > img { width: 56.410vw; margin-top: var(--padd); }
	nav > .mobile { display: flex; justify-content: space-between; align-items: center; width: 100%; }
	nav .menu {
		position: absolute; top: 16.25vw; z-index: 100;
		width: 100%;
		transform: translateX(100%); transition: transform 0.3s ease;
		background-color: white;
		padding: var(--padd);
	}
	nav .fsize_md { font-size: 3.5vw !important; }
	nav .menu .menu_container > div {
		display: flex; flex-direction: column;
		justify-content: center; align-items: flex-end;
	}
	nav > .mobile #logo_lnc, nav > .mobile #logo_lnc { width: 40%; opacity: 0; }
	nav.menu__open > .mobile #logo_lnc, nav.active > .mobile #logo_lnc { opacity: 1; transition: opacity 0.3s ease; }
	nav > div span { padding-left: 0; margin: var(--padd2d) 0; }
	nav > div span:not(:first-child) { margin: 0 0 var(--padd2d); }
	nav .menu.fsize_sm { font-size: 5vw !important; }
	nav .menu.active { transform: translateX(0); padding-top: 0; }
	nav .menu.active .menu_container { display: flex; justify-content: right; }
	.menu.active #logo_prog {
		margin-left: 0; padding-left: 0; border: unset;
		width: 40%; height: auto;
		height: fit-content;
	}
	/* nav.active > img { display: none; } */

	header { margin-top: var(--nav); text-align: center; padding-bottom: 0; }
	header #bg_header { position: relative; z-index: -1; }
	header #baseline { left: 17.5%; width: 65%; top: 10vw; position: static; width: 100%; }
	header #annonce { margin-left: 0; }
	header .eligi {
		position: static;
		flex-direction: row;
		justify-content: center; align-items: flex-start;
		margin-top: -5vw;
	}
	header aside.mobile{display: block!important;}
	header #logo_prog { display: none; }
	header .mobile {
	  display: flex;
	  flex-direction: row;
	  flex-wrap: nowrap;
	  justify-content: center;
	  align-items: center;
	  width: 100%;
	}

	header .logo {
	  max-width: 45%;
	  height: auto;
	}
	#offers > img { width: 34.5vw; margin: 0 var(--padd2d); }
	#offers > div { flex-direction: row; }
	#offers .eli { margin-bottom: 0; margin-right: var(--padd2d); box-shadow: 0 0 20px -10px black; }

	#gdp li { text-align: center; }
	#gdp.fsize_vmd { font-size: 4vw !important; }
	#prix h3 { margin-top: var(--padd2m); }
	#prix .dispo { right: unset; left: 0; transform: translate(-150%, -33.33%) rotate(-15deg); }

	main { padding: 0 var(--padd2d); }

	header #bg_header { padding-top: 77.5%; }

	#residence .collapse_label { margin-top: var(--padd2d); }
	#residence > div { grid-template-columns: 1fr; }
	#residence .list {
		margin-top: var(--padd); margin-left: 0;
		padding: var(--padd); padding-right: var(--padd2d);
	}

	section#prix, section#quartier { grid-template-columns: 1fr; }
	section#prix { margin-bottom: 0; }
	#prix > article:last-child {
		background: url("../images/bg_gdp_mob.svg") no-repeat top/cover;
		width: 112%; margin-left: -6%;
		padding: calc(var(--padd) * 4.5) 0 var(--padd4m);
		margin-top: var(--padd4d)
	}
	#prix #baseline {
		top: 52.5%; right: 50%;
		transform: translate(50%, -50%);
	}

	#quartier > div { padding: var(--padd) 0 var(--padd2d); }
	#quartier .slider > img { width: 80%; margin-top: var(--padd); }
	#quartier > h3 + div { grid-template-columns: 1fr; }
	#quartier .slider { margin-bottom: var(--padd2m); display: flex; }
	#quartier .splide__slide > div > b { justify-content: center; }
	#quartier .splide__slide > div > p { margin: 0 auto; text-align: center; }
	#quartier .splide__slide > div > span { width: 20%; }
	#Rectangle_750 { stroke: var(--secondary); }
	#quartier > img { width: 112%; margin-left: -6%; max-width: unset; }

	section#map { flex-direction: column; padding-left: 0; width: 112%; margin-left: -6%; margin-bottom: 0; }
	section#map > img { order: 2; width: 100%; }
	#bdv {
		order: 1;
		text-align: center;
		padding: var(--padd2m) var(--padd);
	}

	#formulaire {
		position: fixed; top: 0; left: 0; right: 0; bottom: 0;
		transform: translateX(-100%);
		transition: transform 0.3s ease;
	}
	#formulaire.active { transform: translateX(0); }
	#formulaire button.btn { margin-bottom: var(--padd); }
	#formulaire .mab_checkbox { width: 15vw; height: 12.5vw; }
	#formulaire .placeholder { padding-left: var(--padd2d); }
	#container_typo { font-size: 100%; }
	#formulaire input, #formulaire select { font-size: 100%; margin-bottom: var(--padd2d); height: 40px; }
	#mab_completion__list.active { transform: translateY(20px); }
	#formulaire .btn { background-color: var(--secondary); }
	#formulaire .title > div:first-child { display: none; }
	#formulaire .title .logo { width: 50vw; margin-top: var(--padd); }
	#formulaire .close { position: absolute; top: var(--padd2d); right: var(--padd2d); }

	footer { padding: var(--padd2m) var(--padd2d); }
	footer > img { width: 100%; }

	#cta_info {
		position: fixed;
		bottom: 0; left: 0; right: 0;
		border-radius: 5px 5px 0 0;
		/* bottom: var(--padd2d); left: var(--padd2d); right: var(--padd2d); */
		/* border-radius: 5px; */
		color: white;
		background: linear-gradient(to right, var(--primary), var(--secondary));
		display: flex; justify-content: center; align-items: center;
		height: 55px;
		text-transform: uppercase;
		font-weight: bold;
		z-index: 100;
		box-shadow: 0 0 20px -10px #000;
	}

	.collapse_label { color: var(--secondary); font-weight: bold; width: 100%; text-align: center; margin-top: calc(var(--padd2d) * -1); }
	/* .collapse_label.active { display: none; } */
	.collapse_content { max-height: 0; transition: max-height 0.3s ease; overflow: hidden; margin-bottom: 0; }
	.collapse_content.active { max-height: 100vh; margin-top: var(--padd2d); }
}