html, body{
/* IMPORTANT : sans overflow-x : hidden appliqué sur html ET body, ça ne fonctionne pas sur mobile*/
	overflow-x: hidden;
}

body{
	position: relative;
	margin: 0;
	padding: 0;
	
	background: var(--clr-white);
	width: 100%;
	height: fit-content;
}

section{
	position: relative;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: var(--spc-14);	
	overflow: hidden;
}

hgroup p{
	font-family: Body;
	font-weight: 800;
	font-size: var(--ft-sz-label1);
	text-transform: uppercase;

	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0;
}

h1, h2, h3, h4{
	margin: 0;
	padding: 0;
	font-family: Heading;
	font-weight: 400;
	line-height: var(--ln-hgt-head);
}

h1{
	font-size: var(--ft-sz-h1);
}

h2{
	font-size: var(--ft-sz-h2);
}

h3{
	font-size: var(--ft-sz-h3);
}

h4{
	font-size: var(--ft-sz-h4);
}

h5, h6{
	margin: 0;
	padding: 0;
	font-family: Body;
	line-height: var(--ln-hgt-title);
}

h5{
	font-size: var(--ft-sz-title1);
}

h6{
	font-size: var(--ft-sz-title2);
}

p, ul, ol{
	margin: 0;
	padding: 0;
	font-family: Body;
	font-size: var(--ft-sz-bm);
	line-height: var(--ln-hgt-body);
}

p + p{
	margin-top: var(--spc-4);
}

ul, ol{
	list-style: none;
	padding-left: var(--spc-8);
}

ul li, ol li{
	position: relative;
}

ul li::before, ol li::before{
	content: "\2713";
	position: absolute;
	left: calc(-1 * var(--spc-8));
	font-weight: 800;
}

li + li{
	padding-top: var(--spc-2);
}

.section-blue{
	background: var(--clr-sec);	
	color: var(--clr-white);
}

.section-green{
	background: var(--clr-prim);
	color: var(--clr-sec);
}

.section-white{
	background: var(--clr-white);
	color: var(--clr-sec);
}

.content-hor, .content-vert{
	max-width: 1200px;

	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;	
}

.content-hor{
	flex-direction: row;
	gap: var(--spc-14);
}

.content-vert{
	flex-direction: column;
	gap: var(--spc-10);
}

.hero-pic{
	position: relative;
	object-fit: cover;
	width: 0;
	display: inline-block;
	flex: 1 0 0;
}

.hero-text{
	display: block;
	flex: 1 0 0;
}

/* FORMULAIRE */

#form-contact{
	display: flex;
	flex-direction: column;
	gap: var(--spc-10);

	position: relative;

	width: 800px;

	margin: 0 auto;
}

#list-fields{
	display: flex;
	flex-direction: column;
	gap: var(--spc-6);
}

#form-names{
	display: flex;
	flex-direction: row;
	gap: var(--spc-6);
}

label{
	width: 100%;

	font-family: Body;
	font-size: var(--ft-sz-bm);
	line-height: 100%;

	color: var(--clr-white);
}

input::placeholder, textarea::placeholder{
	color: var(--clr-neutral-500);
}

input:focus{
	outline: none;
}

input[type="text"], input[type="email"]{
	width: 100%;
	height: var(--hgt-btn);

	background: var(--clr-sec-200);
	border-radius: 8px;
	border: none;

	box-sizing: border-box;
	padding: 0 var(--spc-4);

	font-family: Body;
	font-size: var(--ft-sz-bm);
	color: var(--clr-white);
}

input[type="submit"]{
	background: var(--clr-prim);
	color: var(--clr-sec);
	height: var(--hgt-btn);
	min-width: 140px;

	font-family: Body;
	font-size: var(--ft-sz-btn);
	text-transform: uppercase;
	font-weight: 800 !important;
	line-height: 100%;

	box-sizing: border-box;
	border-radius: 100px;
	border: none;
	padding: 0 2rem;
	cursor: pointer;

	align-self: center;

	transition: 0.3s linear;
}

input[type="submit"]:hover{
	
}

textarea{
	height: 150px;
	width: 100%;

	background: var(--clr-sec-200);
	border-radius: 8px;
	border: none;

	box-sizing: border-box;
	padding: var(--spc-2) var(--spc-4);

	font-family: Body;
	font-size: var(--ft-sz-bm);
	color: var(--clr-white);
}

.labeled-field{
	position: relative;

	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--spc-4);

	flex: 1;
}