/* ---------- */
/* Layouts    */
/* ---------- */



/* HEADER ---------------------------------------------------------- */

header {
	display: block;
	position: sticky;
	top: 0;
	left: 0;
	height: auto;
	padding: 0.8em 1.7em;
	z-index: 99;
	background-color: rgba(245, 243, 243, 0.5);
	-webkit-backdrop-filter	: saturate(180%) blur(10px);
	backdrop-filter: saturate(180%) blur(5px);
}

#header-container {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	width: min(100% - 2.5rem, var(--page-max-width));
	margin-inline: auto;
}


header #logo{
	padding-top: 10px;
	width: 130px;
}

nav li{
	margin-inline: 1.5rem;
	font-weight: 500;
}


.mobile-nav-toggle,
.mobile {
	display: none;
}

.nav-list {
	display: flex;
	flex-wrap: nowrap;
	justify-content: right;
	margin-left: auto;
	padding-top: .8em;
}






/* HERO SECTION ----------------------------------------------------------- */

#hero{
	margin-top: 100px;
	width: min(100% - 30rem, var(--page-max-width));
	margin-inline: auto;
}

h1.en{
	/* font-size: clamp(4.8rem, 9vw + 2rem, 6.4rem);
	font-weight: 700;
	line-height: clamp(4rem, 7vw + 2rem, 5.5rem); */
	font-size: clamp(2rem, 15vw, 7rem);
	line-height: 90%;

	letter-spacing: -.1rem;
	margin-bottom: 15px;
}

#intro p,
#intro h2{
	font-size: 2rem;
	font-weight: 500;
	line-height: 2.5rem;
}

#behaviour{
	letter-spacing: .2rem;
}

#CTA-intro{
	margin-top: 25px;
	display: flex;
	align-items: center;
}

#CTA-intro img{
	height: 2rem;
	margin-inline: 1.6rem;
}

#CTA-intro #typeform{
	font-size: 1.6rem;
	font-weight: 100;
	font-style: italic;
	line-height: 1.8rem;
	letter-spacing: -.05rem;
}




/* PROPOSITIONS ------------------------------------------------------------ */

#propositions{
	margin-block: 130px 8rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
	grid-gap: 3rem 3rem;
}

/* WHAT'S BELLEGARDE.CO? ------------------------------------------------------------ */

#bellegarde{
	background-color: black;
	padding-block: 5rem;
}

#bellegarde-container{
	width: min(100% - 30rem, var(--page-max-width));
	margin-inline: auto;
}

#bellegarde *{
	color: white;
}

#bellegarde-title{
	font-size: 2.4rem;
}

#bellegarde p{
	margin-top: 1.5rem;
}

#big-numbers-container{
	margin-top: 2rem;
	margin-bottom: 4rem;
	display: flex;
	gap: 30px 100px;
	flex-wrap: wrap;
}

/* THEMATICS ------------------------------------------------------------ */

#thematics{  
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
	width: min(100% - 30rem, var(--page-max-width));
	margin-inline: auto;
	margin-block: 130px 8rem;
	grid-gap: 7rem var(--grid-layout-gap);
	
	scroll-margin-top: 18rem;
}

#thematics .cartouche{
	max-width: 90vw;
}



/* THE TEAM ----------------------------------------------------------- */

section#team{
	margin-top: 130px;

	scroll-margin-top: 18rem;
}

h2#team-title{
	font-size: 4.5rem;
	font-weight: 900;
	width: min(100% - 30rem, var(--page-max-width));
	margin-inline: auto;
}

/* #team-title:before,
#team-title:after {
	position: absolute;
	top: 51%;
	overflow: hidden;
	width: 100%;
	height: 2px;
	content: '\a0';
	background-color: black;
}
#team-title:before {
	margin-left: -50%;
	text-align: right;
} */

.cards-container{
	padding-inline: min(10vw, 15rem);
	display: flex;
	gap: min(10vw, 10rem);
	overflow-x: auto;
	overflow-y: hidden;
	white-space: hidden;
	padding-block: 5rem 13em;
}

.cards-container::-webkit-scrollbar{
	display: none;
}


/* F.A.Q. ----------------------------------------------------------- */

section#FAQ{
	width: 500px;
	margin-inline: auto;
	padding-block: 5rem 13em;
	max-width: 90vw;
}

h2.FAQ{
	font-size: 4.5rem;
	font-weight: 900;
	line-height: 2.2rem;
	width: min(100% - 30rem, var(--page-max-width));
	margin-bottom: 40px; 
	
}

.FAQ.contact{
	font-size: 2rem;
	font-weight: 500;
	font-style: italic;
	margin-top: 4rem;	
}



/* CONTACT CTA ----------------------------------------------------------- */

section#CTA{
	display: block;
	position: sticky;
	top: 0;
	z-index: 99;
	background-color: black;
	padding-top: 25vh;
	padding-top: 25lvh;
	text-align: center;
	height: 100vh;
	height: 100lvh;
}

section#CTA *{
	color: white;
}

#CTA img{
	width: 130px;
}

h1.CTA{
	margin-top: 2.5rem;
	padding-inline: 2rem;
	/* font-size: clamp(4rem, 4vw + 1rem, 3rem); */
}

#CTA p{
	margin-top: 50px;
}

#CTA #hello{
	font-size: 105%;
	font-weight: 500;
}

#CTA button{
	margin-inline: auto;
	margin-top: 25px;
}

#CTA form{
	width: 30rem;
	margin-inline: auto;
}

#CTA input[type=text]{
	background-color: transparent;
	border: none;
	border-bottom: 1px solid white;
	margin-top: 20px;
	font-weight: 400;
	width: 100%;
}

#CTA input[type=text]::placeholder{
	font-style: italic;
}

#CTA input[type=submit]{
	margin-top: 20px;
}

#CTA #submit-feedback{
	font-size: 1.5rem;
	text-align: left;
	font-style: italic;
	font-weight: 400;
	padding-left: .5rem;
	visibility: hidden;
}

footer{
	position: sticky;
	top: 0;
}


/* ---------- */
/* MEDIA QUERIES    */
/* ---------- */
@media (max-width: 785px) {
	
	.big-viewport{
		display: none;
		visibility: hidden;
	}
	.container
	
	#header-container,
	#hero,
	#bellegarde-container,
	#thematics,
	h2#team-title,
	h2.FAQ{
		width: min(100% - 3rem, 600px)!important;
	}
	
	h1{
		font-size: clamp(2rem, 15vw, 7rem);
		line-height: 90%;
	}


/* HEADER NAV ----------------------------------------------------------- */



	header {
		padding: 0.8em 0em;
	}

	#header-container {
		display: block;
	}

	.logo-button-container {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-inline: auto;
	}


	/* Menu icon */

	.mobile-nav-toggle {
		display: block;
	}

	.mobile-nav-toggle label {
		cursor: pointer;
	}

	.bun-container {
		display: grid;
		align-items: center;
		grid-template: 32px / 32px;
		width: 32px;
	}

	#line-top,
	#line-bottom {
		grid-area: 1/1;
		height: 4px;
		width: 100%;
		border-radius: 10px;
		background: var(--txt-color);
		transition: transform .3s ease;
	}

	.bun-container #line-top {
		transform: translateY(5px);
	}

	.bun-container #line-bottom {
		transform: translateY(-5px);
	}


	.bun-trigger:checked+.mobile-nav-toggle .bun-container #line-top {
		transform-origin: 50% 50%;
		transform: rotate(45deg);
	}

	.bun-trigger:checked+.mobile-nav-toggle .bun-container #line-bottom {
		transform-origin: 50% 50%;
		transform: rotate(-45deg);
	}
	
	
	.primary-navigation {
		display: none;
	}

	.primary-navigation[data-visible] {
		display: block;
	}

	/* Menu */

	.nav-list {
		display: grid;
		justify-content: normal;
		margin-inline: auto;
	}

	.nav-list a {
		display: block;
		padding: 1em 0;
	}

	.nav-list *~*::before {
		content: "";
		display: block;
		border-bottom: 1.5px solid black;
	}	
	
	
	/* CONTACT CARDS ----------------------------------------------------------- */

	
}
