:root {
	--padd		: 2.5vw;
	--padd15d	: calc(var(--padd) * 0.66);
	--padd2d	: calc(var(--padd) * 0.5);
	--padd3d	: calc(var(--padd) * 0.33);
	--padd15m	: calc(var(--padd) * 1.5);
	--padd2m	: calc(var(--padd) * 2);
	--padd3m	: calc(var(--padd) * 3);

	--form	: 27.5vw;
}

@font-face {
    font-family: 'AlrightSans-Ultra';
    src: url('font/AlrightSans-Ultra.ttf') format('truetype');
}

@font-face {
    font-family: 'AlrightSans-Light';
    src: url('font/AlrightSans-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'AlrightSans';
    src: url('font/AlrightSans.ttf') format('truetype');
}

@font-face {
    font-family: 'AlrightSans-Bold';
    src: url('font/AlrightSans-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'AlrightSans-LightItalic';
    src: url('font/AlrightSans-LightItalic.ttf') format('truetype');
}

/* ========================================================================== */

body {
	background-color: #ffffff; color: black;
	display: grid; grid-template-columns:1.1fr 1.1fr 0.8fr;
	justify-items: center; align-items: center;
	min-height: 100vh;
	max-height: 100%;
	position: relative;
	margin: 0;
	/* scroll-behavior: smooth;
    -ms-scroll-chaining: none;
    overscroll-behavior: none; */
}

h1, h2 { font-weight: normal; }

section { position: relative; z-index: 100; }

.lato { font-family: "Lato", sans-serif; }

.light-typo {
	font-family: 'AlrightSans-Light';
}

.under {
	text-decoration: underline;
}

/* ========================================================================== */

.btn {
	cursor: pointer;
	width: calc((var(--form) - var(--padd)) / 2); height: max(2.5vw, 40px);
	background-color: #A77544; color: white;
	border: 2px solid #A77544;
	display: flex; justify-content: center; align-items: center;
	margin-left: var(--padd2d);
	transition: all 0.3s ease;
}
.btn:hover { background-color: white; color: black; }

/* ========================================================================== */

#content {
	display: flex; flex-direction: column;
	justify-content: flex-start; align-items: center;
	height: 100%;
}
#content > img:first-child {
	position: absolute;
    top: 5vw;
    left: -5vw;
    width: 10vw;
}
#content h1 {margin-top: 8vw; margin-bottom: var(--padd); width:60%; }
#content h1 strong { font-size: 1.5vw;font-family:'AlrightSans-Ultra'; }
#content h1 span {
	font-size: 1.5vw;
	font-family: 'AlrightSans-Light';
}

#content .bold, .title .bold, .bold {
	font-family: 'AlrightSans-Bold';
}

#content p {
	width: 60%;
/*	font-family: 'AlrightSans';*/
}

#content div {
	position: absolute;
	bottom: 1vw;
	width: 60%;
	
}

#content div p {
	font-size: 0.45vw;
	width: 100%;
	font-family: 'AlrightSans-Light';
}

#content div p a {
	cursor: pointer;
	text-decoration: underline;
}

/* ========================================================================== */

#perspective {
	height: 100%;
}

#perspective .bg-visu {
	background: url("../images/header-19-passy.jpg");
	background-repeat: no-repeat; 
	background-size: cover; 
	background-position: center center;
	width: 37vw;
    height: 100vh;
}


#perspective img {
	height: 100%;
}


/* ========================================================================== */

#formulaire {
	width: var(--form);
	height: 100%;
	padding: var(--padd2d) var(--padd);
	text-align: center;
	box-shadow: 2.5px 2.5px 10px #707070;
	background-color: #000000; color: white;
	overflow-y: scroll;
	position: fixed;
	right: 0;
	top: 0;
}

#formulaire::-webkit-scrollbar {
	width: 0px; /* Masque la barre de défilement */
    background: transparent; /* Optionnel : rend le fond transparent */
}

#formulaire .title {
	margin-top: 2vw;
	margin-bottom: 1vw;
}

#formulaire .logo-promoteur {
	width: 75%;
}

#formulaire h2 {
	margin: auto;
    margin-bottom: var(--padd3d);
    color: black;
    width: 100%;
    line-height: 2.5vw;
    background-color: #ffffff;
    text-transform: uppercase;
    font-size: 1.1vw;
    vertical-align: middle;
    padding: 0.5vw 1.5vw;
    font-weight: bold;
}

#confirmation {
	padding: var(--padd2m) 0;
	text-align: center;
	margin-bottom: 0;
}
#confirmation .btn { width: 80%; }
.formLeads input, .formLeads select {
	width: 100%; height: max(2.5vw, 40px);
	margin-bottom: var(--padd3d);
	background-color: #1F1F1F;
	padding-left: var(--padd2d); color: #ffffff; 
}

#projet .mab_checkbox input:checked+label {
	background-color: #ffffff;
	color: black;
	border: 3px solid #1F1F1F;
}

#container_typo .mab_checkbox input:checked+label {
	background-color: #ffffff;
	color: black;
	border: 3px solid #1F1F1F;
}

.formLeads .input-zone {
	text-align: left;
	margin-top: 2vw;
	padding: 0 1vw;
}

.formLeads .typo {
	font-family: 'AlrightSans-Bold';
}

.formLeads .contact {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1vw;
}

.formLeads .text-require {
	font-size: 0.7vw;
	text-align: center;
	font-family: 'AlrightSans-Light';
}

.formLeads #projet {
    display: flex;
    justify-content: space-around;
}

#projet .mab_checkbox label {
	border: 3px solid #1F1F1F !important;
	width: 9.5vw !important;
}

#projet .mab_checkbox {
	margin: 0 !important;
	width: 9.5vw!important;
}

#projet .mab_checkbox input {
	width: 100%!important;
}

#container_typo .mab_checkbox {
	margin: 0!important;
	width: 65px !important;
}

.mab_checkbox {
	border-radius: 0 !important; 
}

#container_typo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--padd4d);
    font-size: 75%;
    font-weight: bold;
    gap: 0.7vw;
    margin: 1vw 0;
    width: 99%;
    padding: 0 1vw;
    font-family: 'AlrightSans-Light';
}

#container_typo div label {
	border: 3px solid #1F1F1F !important;
}

.mab_radio__label {
	font-size: 0.5vw;
	line-height: 1.1!important;
	display: inline!important;
}

.formLeads #civilite {
	width: 50%;
}

.tel {
	width: 90%;
	margin: 0 auto;
}

.titre {
	margin-top: 1vw;
}

.tel a h3 {
	width: 100%;
	border: 3px solid #ffffff;
	background-color: #000000;
	line-height: 3vw;
}

small {
    font-family: 'AlrightSans-Light';
    font-size: 65%!important;
    margin-top: -1vw;
    top: -0.7vw;
    position: relative;
}

.line-height {
	font-family: 'AlrightSans-Light';
}

.content-bold {
	font-family: 'AlrightSans-Bold';
}

::placeholder { color: #ffffff; font-family:'AlrightSans-LightItalic'; }
#container_date { margin-top: 5px; }
#container_date > div { display: grid; grid-template-columns: 47.5% 47.5%; grid-gap: 5%; width: 100%; }
#container_date label { width: 100%; }
.formLeads { font-size: 90%; }
.formLeads i { margin-bottom: var(--padd2d); }
.formLeads .mab_radio { margin-top: var(--padd2d); padding:0 1vw }
.formLeads .mab_radio__label { text-align: left;font-family: 'AlrightSans-Light'; }
.formLeads .mab_radio__control {
	width: 30px; height: 30px;
	background-color: transparent;
	border-color: #ffffff; border-radius: 0;
}
.formLeads .mab_radio input:checked + .mab_radio__control { background-color: #ffffff; }
#formulaire .btn {
	width: 90%; height: max(3vw, 40px);
	margin: calc(var(--padd) * 0.66) auto;
	letter-spacing: 0.1em; line-height: 1em;    
	font-size: 1.3vw;
    font-family: 'AlrightSans-Light';
}
#heure {
	background: #E5EDED url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cg id='Groupe_2221' data-name='Groupe 2221' transform='translate(-50 -1745)'%3E%3Cg id='Ellipse_10' data-name='Ellipse 10' transform='translate(50 1745)' fill='none' stroke='%23000' stroke-width='1'%3E%3Ccircle cx='6' cy='6' r='6' stroke='none'/%3E%3Ccircle cx='6' cy='6' r='5.5' fill='none'/%3E%3C/g%3E%3Cpath id='Tracé_3942' data-name='Tracé 3942' d='M56,1746.217v3.273l1.923.9' transform='translate(0 1.51)' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E%0A") no-repeat 5%/12px;
	text-indent: 0.5em;
}
@media (min-width: 1025px) {
	input[name="date"] { text-indent: 0.5em; }
}
/* uniquement pour safari */
@media not all and (min-resolution:.001dpcm) {
	#heure {
		text-indent: 20px;
	}
	input[name="date"] { text-indent: 0; width: 100%; }
	input[type="date"]::before{
		content: attr(placeholder);
		white-space: pre;
		padding-left: 0;
	}
	input[type="date"]:focus::before {
		content:""!important;
	}
}
@media(max-width: 1024px) {
	input[type="date"]::before{
		content: attr(placeholder);
		white-space: pre;
		padding-left: 0.5em;
	}
	input[type="date"]:focus::before {
		content:""!important;
	}
}
input[name="date"] { position: relative; }
input[name="date"]::-webkit-calendar-picker-indicator {
	position: absolute; left: 6px; right: 0;
	width: 24px; padding-right: 75%;
	cursor: pointer;
	content:"";
	/* filter: invert(1); */
}

/* ========================================================================== */

h2 { line-height: 1.2em !important; }

.mentions {
	color: #FFFFFF;
	display: flex; flex-direction: column;
	justify-content: center; align-items: center;
	text-align: center;
	padding: var(--padd2d);
}
.mentions p { margin-bottom: 0; }
.mentions img {
	width: 50%; color: #FFFFFF;
	display: flex; flex-direction: column;
	justify-content: center; align-items: center;
	width: max(160px, 8.5vw);
	margin-bottom: var(--padd15d);
}

.vegetations { position: absolute; z-index: -1; }

/* ========================================================================== */

@media (min-width: 1024px) {

	.mobile { display: none; }

	h1 { line-height: 0.75em !important; }

	.mentions { width: 50%; }

	.vegetations { width: auto; height: 100%; }
	.vegetations.right { top: 0; right: 0; }
	.vegetations.left { top: 0; left: 0; }

}

/* ========================================================================== */

@media (max-width: 1024px) {

	.desktop { display: none; }

	:root {
		--padd	: 30px;

		--form	: 90vw;
	}

	body {
		grid-template-columns: 1fr;
	}

	h1 { line-height: 0.9em !important; text-align:center }

	.mentions { min-width: 100vw; }

	/* ========================================================================== */

	.vegetations { width: 100vw; height: auto; }
	.vegetations.top { top: 0; left: 0; }
	.vegetations.bottom { bottom: 0; left: 0; transform: translateY(-25%); }

	/* ========================================================================== */

	#content { padding-top: var(--padd3m); padding-bottom:10vw; }
	#content h1 strong { font-size: 6vw; }
	#content h1 span { font-size: 5vw; }
	#content h2 { font-size: 5vw; }
	#content p {
		width: 80%;
		text-align: center;
	}
	#content h1 { width:90%; }

	#content > img:first-child {
	    position: absolute;
	    top: -15vw;
	    left: inherit;
	    width: 30vw;
	}

	/* ========================================================================== */

	#formulaire {
		width: 100%;
		padding: 5vw 12vw 0 12vw;
		position: relative;
	}

	#formulaire .title {
		margin-top: -5vw;
		margin-bottom: 8vw;
	}

	.formLeads #projet {
	    display: flex;
	    justify-content: space-around;
    }

    .formLeads .text-require {
	    font-size: 2.7vw;
	}

	#projet .mab_checkbox label {
    	border: 3px solid #1F1F1F !important;
    	width: 35vw !important;
	}

	#projet .mab_checkbox input {
		width: 100%!important;
	}

	.inscription {
		position: relative;
		border: black solid 5px;
		top: 7vw;
        z-index: 101;
        background-color: #ffffff;
        width: 75%;
        text-align: center;
        margin-bottom: 0;
    }
	
	.inscription-text {
		margin-bottom: 0;
		line-height: 10vw;
		font-size: 4vw;
		text-transform: uppercase;
	}

	.input-zone {
		margin-top: 7vw!important;
	}

	.mab_radio__label {
    	font-size: 2.5vw;
    	line-height: 3vw !important;
	}

	#projet .mab_checkbox {
		margin: 0 !important;
		width: 36vw!important;
	}

	.typo {
		font-size: 4vw !important;
		margin-top: 4vw;
	}

	#formulaire h2 {
		width: 90%;
		font-size: 3.5vw;
		padding: 2.5vw;
	}

	.formLeads small {
		margin-bottom: var(--padd2d);
    	font-size: 2.7vw;
    	font-family: 'AlrightSans-Light';
	}

	.tel {
		position: absolute;
		top: 2vw;
		right: 2vw;
		text-align: right;
	}

	#formulaire .btn {
		font-size: 5vw;
	}

	.logo-copro {   
        position: absolute;
        top: 10vw;
        left: 0;
        height: 20vw;
        width: 60%;
        left: 16vw;
	}

	#perspective img {
		height: auto;
	}

	#perspective img:last-child {
		height: 20vw;
	}

	.footer {
		margin-bottom: 10vw;
	}
	#projet .mab_checkbox input {
		width: 160%;
	}

	.mention {
	    display: flex;
    	flex-direction: column;
    	gap: 5vw;
	    margin-bottom: 10vw;
	    text-decoration: underline;
	}
}