:root {
	--teal: #367D9C;
	--light-teal: #468DaC;
	--light-grey: #f3f3f3;
	--mid-grey: #ccc;
	--dark-grey: #888;
	--gap: 20px;
	--margeXL: 120px;
	--marge: 80px;
	--demi-marge: 40px;
	--dark: #333;
	--gold: rgba(255, 191, 0, 1);
	--light-gold: #ffda75;
	--pink: rgba(255, 0, 128, 1);
	--green: #99b160;
	--mauve: #C18AFF;

}

::selection {
	background-color: var(--gold);
	-webkit-text-fill-color: white;
}

* {
	box-sizing: border-box;
	/* Inclut padding/marge dans la largeur */
	scroll-behavior: smooth;
	margin: 0;
	padding: 0;
}

.gris {
	background-color: var(--light-grey);
}

.blanc {
	background-color: white;
}

.jaune {
	background-color: var(--light-gold);
}

.bleu {
	background-color: var(--teal);
	color: white;
}

.dark {
	color: var(--dark);
}

.bold {
	font-weight: 700;
}

.box-shadow {
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.no-box-shadow {
	box-shadow: none !important;
}

.hide {
	display: none !important;
}

.full-vh {
	min-height: 100vh;
}

.margin-top {
	margin-top: var(--demi-marge);
}

.slope {
	clip-path: polygon(0 0,
			100% 0,
			100% 90%,
			0 100%);
}

.tagline {
	font-size: 1.2em;
	font-weight: 700;
	background: var(--pink);
	background: linear-gradient(90deg, var(--pink) -20%, var(--mauve) 100%);
	/* Set the background size and repeat properties. */
	background-size: 100%;
	background-repeat: repeat;
	/* Use the text as a mask for the background. */
	/* This will show the gradient as a text color rather than element bg. */
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

html {
	cursor: wait;
	padding: 0;
	margin: 0;
	font-size: 16px;
}

body {
	font-family: 'Inter', sans-serif;
	color: black;
	line-height: 1.3;
	background: white;
	padding: 0;
	margin: 0;
}

main {
	min-height: 100vh;
}

section {
	position: relative;
	padding: var(--marge) 0;
	width: 100%;
	box-sizing: border-box;
	z-index: 1;
}

section.titre {
	padding-top: var(--margeXL);
	text-align: left;
	background: black;
	color: white;
	z-index: 3;
}


.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	box-sizing: border-box;
}

.container-small {
	max-width: 640px;
	margin: 0 auto;
	padding: 0 2rem;
	box-sizing: border-box;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
}

h1 {
	font-family: 'Lilita One', sans-serif;
	font-size: clamp(2.2em, 4.5vw, 4em);
	font-weight: 300;
}

h2 {
	font-family: 'Lilita One', sans-serif;
	font-size: clamp(1.8em, 3vw, 2.6em);
	margin: var(--marge) 0 var(--demi-marge) 0;
	text-transform: uppercase;
	text-align: center;
	font-weight: 300;
}

h3 {
	font-family: 'Lilita One', sans-serif;
	font-weight: 300;
	font-size: 1.6em;
}

p {
	max-width: 42rem;
	margin-bottom: 0.3em;

}



/* Listes personnalisées */

main ul {
	text-align: left;
	list-style: none;
	padding-left: 0;
	max-width: 42rem;
}

main ul li {
	margin-left: 1.3em;
	text-indent: -1.3em;
}

main ul li::before {
	content: "★";
	margin-right: 0.4em;
	color: var(--gold);
}


/* Liens */
a {
	font-weight: bold;
	color: var(--gold);
	text-decoration-thickness: 1px;
}

a.hover {
	color: var(--pink);
}

a.white {
	color: white;
	text-decoration: none;
}

a.fancy:hover {
	background: #ff0080;
	background: linear-gradient(90deg, rgba(255, 0, 128, 1) 0%, rgba(255, 191, 0, 1) 85%);
	/* Set the background size and repeat properties. */
	background-size: 100%;
	background-repeat: repeat;
	/* Use the text as a mask for the background. */
	/* This will show the gradient as a text color rather than element bg. */
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

a.bouton {
	text-transform: uppercase;
	display: inline-block;
	font-family: 'Inter', sans-serif;
	background-color: var(--gold);
	color: white;
	font-weight: 900;
	font-size: 0.9rem;
	padding: 1em 2em;
	cursor: pointer;
	border-radius: 3px;
	border: none;
	box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6);
	text-decoration: none;
	box-sizing: border-box;
	text-align: center;
}

a.bouton:hover {
	background: var(--pink);
	background: linear-gradient(90deg, rgba(255, 0, 128, 1) 0%, rgba(255, 191, 0, 1) 85%);
	color: white;
}

.main nav * {
	min-width: 0;
}

.main-nav {
	width: 100vw;
	max-width: 100%;
	overflow: hidden;
	position: fixed;
	top: 0;
	background: black;
	z-index: 200;
	font-size: clamp(0.6rem, 1.6vw, 0.9rem);
	line-height: 2;
}

.main-nav .container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	/* Alignement vertical si nécessaire */
	width: 100%;
}

.main-nav .nav-title {
	font-family: 'Lilita One', sans-serif;
	font-size: 2em;
	font-weight: 300;
	position: relative;
}

.main-nav .nav-title a {
	font-weight: normal;
}

.main-nav .nav-links {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
	gap: clamp(0.5rem, 2vw, 2rem);
	font-weight: 700;
	text-transform: uppercase;
	background: black;
	line-height: 4;
}

.main-nav .nav-links li {
	text-align: left;
	list-style: none;
	padding: 0;
}

.main-nav a {
	background-color: black;
	color: var(--mid-grey);
	text-decoration: none;
}

.main-nav a:hover:not(.active),
a.menulike:hover {
	background: #ff0080;
	background: linear-gradient(90deg, rgba(255, 0, 128, 1) 0%, rgba(255, 191, 0, 1) 85%);
	/* Set the background size and repeat properties. */
	background-size: 100%;
	background-repeat: repeat;
	/* Use the text as a mask for the background. */
	/* This will show the gradient as a text color rather than element bg. */
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
}

.main-nav a.active {
	cursor: default;
	color: white;
}

.main-nav a.active:not(.nav-title)::after {
	content: "";
	display: block;
	width: 100%;
	height: 0.2em;
	background: white;
	position: absolute;
	left: 0;
	top: 160%;
	position: relative;
	font-size: inherit;
}

/* --- HERO --- */
#hero {
	height: 100vh;
	min-height: 600px;
	overflow: hidden;
	background-image: url("../img/naute-blur.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 25% center;
	background-attachment: fixed;
	box-shadow: inset 0 -2px 6px 0 rgba(0, 0, 0, 0.5);
}

#blocktitre {
	margin-top: 40vh;
	color: white;
	text-shadow: 0.2em 0.2em 0 rgba(0, 0, 0, 0.5), 0 0 5px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 0, 0, 0.2);
}

#blocktitre .gros-titre {
	font-size: clamp(2.6rem, 8vw, 8rem);
	font-family: 'Lilita One', 'Inter', sans-serif;
	font-weight: 300;
}

#blocktitre .titre {
	font-size: clamp(1.2rem, 2.6vw, 4rem);
	font-family: 'Inter', sans-serif;
	font-weight: 800;
}

/* --- CREDIT --- */
#credit {
	text-align: right;
	color: #555;
	font-size: 0.6em;
	padding: 0 1em;
}

#credit a {
	color: inherit;
}

/* --- CARDS --- */
.cards-container {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: var(--gap);
	margin: 0 2rem;
}

.card {
	flex: 0 1 360px;
	padding: var(--gap);
	border-radius: 3px;
	background: white;
	font-size: 0.9rem;
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	gap: var(--gap);
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.small .card {
	flex: 0 1 240px;
	box-shadow: none;
	background: transparent;
}

.small .card .card-contents {
	padding: 0 4px;
}

.small .card .card-contents h3 {
	text-align: left;
	line-height: 1;
}

.large .card {
	flex: 1 1 510px;
}

.card>* {
	margin: 0;
}

.card .card-illustration {
	text-align: center;
}

.card .card-illustration img {
	max-width: 320px;
	max-height: 228px;
	object-fit: contain;
	margin: auto;
	/* Centre l'image si elle est plus petite */
	display: block;
	/* Évite les espaces bizarres */
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}

.small .card .card-illustration img {
	max-width: 260px;
	max-height: 600px;
}

.large .card .card-illustration img {
	max-width: 510px;
	max-height: 320px;
}

.card .card-contents {
	display: flex;
	flex-flow: column nowrap;
	gap: 1em;
}

.card .card-contents h3 {
	text-align: center;
}

.card:nth-child(even) ul li::before {
	color: var(--pink);
}

.card .bouton {
	margin-top: auto;
}

/* --- LOGOS --- */
#logos {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
	gap: 30px;
}

#logos img {
	max-width: 200px;
	max-height: 120px;
}

/* --- EXEMPLES --- */
section.exemples {}

section.exemples .exemple {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	gap: var(--gap);
}

section.exemples .exemple:not(:last-child)::after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	background: linear-gradient(to right,
			transparent,
			var(--mid-grey),
			transparent);
	margin: 2rem 0;
	/* Espace entre le projet et la ligne */
}

section.exemples .exemple:last-child {
	padding-bottom: 100px;
}

section.exemples .exemple .column {
	flex: 1;
}

section.exemples .exemple .column:first-child {
	text-align: center;
}

section.exemples .exemple .column>img,
section.exemples .exemple .column>a>img {
	max-width: 100%;
	max-height: 400px;
	object-fit: contain;
	border-radius: 3px;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
	margin: 0 auto;
}

.description ul {
	margin-bottom: 1em;
}

#footer {
	background: black;
	color: white;
	position: relative;
	height: 240px;
	margin: 0;
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: stretch;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
	font-size: clamp(0.5em, 2.6vw, 1em);
}

#footer #footerGauche {
	width: 50%;
	height: 240px;
	position: relative;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
}

#footer #footerGauche p {
	color: white;
	font-weight: bold;
	text-align: center;
}

#footer img {
	width: 50%;
	float: right;
	top: 0;
	object-fit: cover;
	object-position: left 42%;
	height: inherit;
}