:root {
	--bleu_fonce: hsl(233, 50%, 24%);
	--bleu_fonce_active: hsl(233, 40%, 45%);
	--bleu_fonce_alpha: hsla(233, 50%, 20%, 0.6);
}
@font-face {
	font-family: 'Inter';
	font-weight: 100 900;
	font-style: normal;
	font-named-instance: 'Regular';
	src: url("fonts/InterVariable.woff2") format("woff2");
}
@font-face {
	font-family: 'Anton';
	font-weight: 400;
	font-style: normal;
	src: url("fonts/anton-v25-latin-regular.woff2") format("woff2");
}
* {
	margin: 0;
	padding: 0;
}
html {
	font-family: Inter, Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-style: normal;
	color: black;
}
body {
	/*transition-delay: 1s;*/
	background-color: black;
}
p {
	margin: 1em 0;
	line-height: 1.5em;
}
ul {
	margin: 1em 0 1em 2em;
}
li {
	margin: 0.5em 0;
}
h1 {
	font-weight: 700;
	font-size: 2.5em;
	margin: 1em 0;
}
h2 {
	font-weight: 600;
	font-size: 2em;
	margin: 2em 0 1rem 0;
}


.fullPage {
	width: 100%;
	min-height: 100dvh;
}
.hidden {
	display: none !important;
}
#interface {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: fixed;
}
#interface .section {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	top: 100%;
	transition: top 0.5s;
}
#interface .section.visible {
	top: 0;
}
#interface .section.top {
	top: -100%;
}
#interface .title {
	display: flex;
	padding: 0 1em;
	align-items: center;
	height: 3em;
	background-color: black;
	color: white;
	font-weight: 600;
	line-height: 1em;
}
#interface .title > *:first-child {
	flex-grow: 1;
}
#interface .title .btn {
	cursor: pointer;
	border: 1px solid;
	font-size: 0.8em;
	font-weight: normal;
	padding: 0.25em 0.75em;
	border-radius: 0.5em;
	opacity: 0.6;
}
#interface .content {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}
#interface .content .btn {
	font-family: Anton;
	font-size: 2.5em;
	line-height: 1.2em;
	color: white;
	flex-grow: 1;
	display: flex;
	align-items: center;
	gap: 1em;
	padding: 0 1em;
	cursor: pointer;
	background-color: hsl(228, 48%, 45%);
}
#interface .content.small .btn {
	font-size: 2em;
}
#interface .content .btn.active .case {
	background-position: 0 center;
	background-color: white;
	color: black;
}
#interface .content .btn .case {
	flex-shrink: 0;
	width: 1.5em;
	height: 1.5em;
	border: 3px solid;
	border-radius: 0.25em;
	transition: color 0.3s ease-out, background-color 0.3s ease-out;
	/*transition: background-position 0.3s ease-out, background-color 0.3s ease-out;
	background-image: url(selection.svg);
	background-repeat: no-repeat;
	background-size: 1.5em 1.5em;
	background-position: -1.5em center;*/
	
	display: flex;
	justify-content: center;
	align-items: center;
}
#interface .content .btn .case div {
	font-family: Inter;
	font-size: 0.9em;
	font-weight: 300;
	opacity: 0.8;
}
#interface .content .btn.active .case div {
	opacity: 1;
}



/* ACCUEIL */
.section-accueil {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	gap: 2em;
	/*background-image: url(casier-vert-fade.webp);
	background-attachment: fixed;
	background-repeat: repeat-x;
	background-size: contain;
	background-position: top center;*/
}
.section-accueil .logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1em;
	cursor: pointer;
	margin-top: 2em;
}
.section-accueil .cadenas {
	position: relative;
}
.section-accueil .cadenas img {
	display: block;
	width: 100%;
	max-width: 132px;
}
.section-accueil .cadran {
	position: absolute;
	bottom: 0;
	animation-duration: 7s;
	animation-name: cadran;
	animation-iteration-count: infinite;
}
.section-accueil .slogan {
	width: calc(100% - 4em);
	max-width: 380px;
}
.section-accueil .bandeau {
	background-color: var(--bleu_fonce);
	width: calc(100% - 2rem);
	color: white;
	padding: 1.25em 1rem;
	display: flex;
	justify-content: center;
	margin-bottom: 2em;
}
.section-accueil p {
	font-size: 1.5em;
	line-height: 1.15em;
	font-weight: 600;
	width: calc(100% - 2em);
	max-width: 480px;
	text-align: center;
}


/* INFOS */
.section-infos {
	background-color: white;
	color: var(--bleu_fonce);
	padding: 2em 1em;
}
.section-infos > div {
	margin: 0 auto;
	max-width: 800px;
}
.section-infos .bouton {
	background-color: var(--bleu_fonce);
	/*background-image: linear-gradient(var(--bleu_fonce), );*/
	color: white;
	font-weight: 800;
	width: max-content;
	margin: 2em auto;
	font-size: 1.5em;
	padding: 1em;
	border-radius: 0.5em;
	cursor: pointer;
}
.partenaires {
	margin: 3em 0;
	display: flex;
	flex-wrap: wrap;
	gap: 3em;
	justify-content: center;
	align-items: center;
}
.partenaires img {
	width: 100%;
	max-width: 200px;
	display: block;
}


.scrollButton {
	width: 2em;
	height: 2em;
	outline: 2px solid white;
	border-radius: 0.25em;
	position: absolute;
	bottom: 2em;
	left: calc(50% - 1em);
	background-color: var(--bleu_fonce_alpha);
	background-image: url(scroll-blanc.svg);
	background-repeat: no-repeat;
	background-position: center;
	transition-duration: 0.2s;
	opacity: 0.75;
	cursor: pointer;
}
.scrollButton:hover {
	width: 4em;
	left: calc(50% - 2em);
	opacity: 1;
	border-radius: 1em;
}
@media (max-width: 600px) {
	.scrollButton {
		display: none;
	}
}

#anim {
	width: 200px;
	height: 240px;
	background-color: white;
	position: absolute;
	border-radius: 1em;
	box-shadow: 0 0.5em 0.5em rgba(0,0,0,0.5);
	left: calc(50% - 100px);
	top: -260px;
}
#anim.visible {
	animation-name: cadenas1;
	animation-duration: 2s;
	animation-fill-mode: forwards;
}
#anim > div {
	width: 200px;
	height: 240px;
	top: 0;
	position: absolute;
}
#anim > div:nth-child(1) {
	background-image: url(anim-cadenas-1.svg);
}
#anim.visible > div:nth-child(1) {
	animation-name: cadenas2;
	animation-delay: 0.5s;
	animation-duration: 1s;
	animation-fill-mode: forwards;
}
#anim > div:nth-child(2) {
	background-image: url(anim-cadenas-2.svg);
}
@keyframes cadenas1 {
	0% {
		top: -260px;
	}
	20% {
		top: calc(50% - 120px);
	}
	80% {
		top: calc(50% - 120px);
	}
	100% {
		top: calc(100% + 20px);
	}
}
@keyframes cadenas2 {
	0% {
		top: 0;
	}
	10% {
		top: 10px;
	}
	40% {
		top: -25px;
	}
	100% {
		top: -25px;
	}
}


@media (max-width: 1200px) {
	#interface .content .btn {
		font-size: 2.25em;
	}
}
@media (max-width: 1000px) {
	#interface .content .btn {
		font-size: 2em;
	}
}
@media (max-width: 800px) {
	#interface .content .btn {
		font-size: 1.75em;
	}
}
@media (max-width: 600px) {
	#interface .content .btn {
		font-size: 1.5em;
	}
}
