@font-face {
    font-family: Inter-Variable;
    src: url(../fonts/Inter/Inter-Variable.ttf) format('ttf');
    font-weight: regular;
}
@font-face {
    font-family: Inter-Italic;
    src: url(../fonts/Inter/Inter-Italic.ttf) format('ttf');
}


*{
	margin: 0;
	padding: 0;
	font-family: Inter, sans-serif;
	box-sizing: border-box;
	font-variant-emoji: text;
}

body {
	min-height: 100vh;
	font-family: Inter, sans-serif;
	font-size: 21px;
	font-variant-emoji: text;
}
h1{
	font-family: Inter, sans-serif;
	color: #black ;
	font-size: 24px;
	font-variant-emoji: text;
}
p{
	padding: 0px 33px;
	font-family: Inter, sans-serif;
	font-variant-emoji: text;
	margin-bottom: 18px;
}

a{
	color:black;
	text-decoration: none;
	font-weight: normal;
	font-family: Inter, sans-serif;
	font-variant-emoji: text;
}

img {
	width: 100%;
	height: auto;
}


/*Pour la vidéo en arrière-plan*/
video {
	position: relative;
	margin-top: 90px;
	width: 100%;
	height: auto;
	display: block;
	z-index: -1;
}


/*Pour les intégrations Youtube*/
.video-responsive {
	overflow:hidden;
	padding-bottom:56.25%; 
	position:relative;
	height:0;
}
.video-responsive iframe {
	left:0;
	top:0;
	height:100%;
	width:100%;
	position:absolute;
}


/*Pour le menu du haut*/
.header{
	position: fixed;
	align-items: center;
	top: 0;
	left: 0;
	width: 100%;
	padding: 33px 33px;
	display: flex;
	justify-content: space-between;
	font-variant-emoji: text;
	background-color: white;
	z-index: 1000;
	min-height: 90px;
	transition: padding 0.3s, min-height 0.3s;
}
.header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: black;
}
.logo {
	color: black;
	font-size: 24px;
	text-decoration: none;
	font-variant-emoji: text;
	background-color: white;
	z-index: 1000;
	line-height: 24px;
	transition: font-size 0.3s ease, line-height 0.3s ease;
	white-space: nowrap;
}
/* Cibler les caractères ◊ individuellement */
.logo > span {
	display: inline-block;
	transition: transform 0.15s;
	border-bottom: none !important;
}
/* Animation au survol : rotation à 25° */
.logo:hover > span:first-child,
.logo:hover > span:last-child {
	transform: rotate(27deg);
}
/* Les ◊ ne doivent JAMAIS avoir de soulignement */
.logo > span:first-child,
.logo > span:last-child {
	border-bottom: none !important;
}
/* Soulignement uniquement sur le nom, pas sur les ◊ */
.logo .logo-name {
	border-bottom: 1.5px solid transparent !important;
	transition: border-bottom 0.5s;
	display: inline-block;
}
.logo:hover .logo-name {
	border-bottom: 1.5px solid black !important;
}

/* Stabilisation du navbar avec Grid et largeurs fixes */
.navbar {
	display: grid;
	grid-template-columns: 175px 215px 95px auto;
	gap: 28px;
	align-items: center;
	transition: grid-template-columns 0.3s;
}

.navbar a{
	color: black;
	font-size: 24px;
	text-decoration: none;
	margin-left: 0;
	border-bottom: 1px;
	transition: font-size 0.3s, border-bottom 0.5s;
	font-variant-emoji: text;
	position: relative;
	width: 100%;
	text-align: center;
	justify-self: center;
	white-space: nowrap;
	overflow: visible;
}
.navbar a:hover{
	border-bottom: 1.5px solid black;
}
/* Le • par défaut */
.navbar a::before {
	content: '•';
	position: absolute;
	left: -0.1em;
	transition: opacity 0.4s, transform 0.4s;
	transform: rotate(0deg) scale(1);
}
/* Le ◊ au survol */
.navbar a::after {
	content: '◊';
	position: absolute;
	left: -0.2em;
	opacity: 0;
	transition: opacity 0.4s, transform 0.4s;
	transform: rotate(-45deg) scale(0.5);
}
/* Au survol : masquer le • et afficher le ◊ */
.navbar a:hover::before {
	opacity: 0;
	transform: rotate(45deg) scale(0.5);
}
.navbar a:hover::after {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

.navbar .active-page {
	width: 100%;
	text-align: center;
	justify-self: center;
	margin-left: 0;
	white-space: nowrap;
	overflow: visible;
	transition: font-size 0.3s;
}

/* Utiliser un poids de police intermédiaire pour réduire le décalage */
.navbar .active-page b {
	font-weight: 600;
	letter-spacing: 0.01em;
}

.logo:hover{
	border-bottom: 1.5px solid black;
}

/*Pour le menu responsive*/
.sidebar{
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	width: 100%;
	z-index: 999;
	background-color: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(10px);
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0;
	padding-top: 100px;
}
.sidebar a{
	position: relative;
	color: black;
	font-size: 24px;
	text-decoration: none;
	margin-left: 13px;
	margin-top: 23px;
	font-variant-emoji: text;
	transition: 0.5s;
}
/* Bouton de fermeture positionné en haut à droite */
.sidebar > a:first-child {
	position: absolute;
	top: 33px;
	right: 33px;
	margin: 0;
}
/* Liens de navigation centrés */
.sidebar a:not(:first-child){
	position: relative;
	color: black;
	font-size: 24px;
	text-decoration: none;
	margin: 23px 0;
	font-variant-emoji: text;
	transition: 0.5s;
	text-align: center;
	padding-left: 0;
}
.sidebar a:hover{
	border-bottom: 1.5px solid black;
}
.sidebar-bottom{
	display: none;
}
/* Le • par défaut dans la sidebar */
.sidebar a:not(:first-child)::before {
	content: '•';
	position: relative;
	margin-right: 0.3em;
	display: inline-block;
	transition: opacity 0.4s ease, transform 0.4s ease;
	transform: rotate(0deg) scale(1);
}
/* Le ◊ au survol dans la sidebar */
.sidebar a:not(:first-child)::after {
	content: '◊';
	position: absolute;
	left: 0;
	opacity: 0;
	transition: opacity 0.4s ease, transform 0.4s ease;
	transform: rotate(-45deg) scale(0.5);
}
/* Au survol : masquer le • et afficher le ◊ */
.sidebar a:not(:first-child):hover::before {
	opacity: 0;
	transform: rotate(45deg) scale(0.5);
}
.sidebar a:not(:first-child):hover::after {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

.menu-button {
	display: none;
	width: 30px;
	height: 24px;
	position: relative;
	z-index: 1001;
	transition: width 0.3s, height 0.3s;
	justify-self: end;
}
.menu-button span {
	display: block;
	position: absolute;
	height: 2.5px;
	width: 100%;
	background: black;
	left: 0;
	transition: all 0.3s;
}
.menu-button span:nth-child(1) {
	top: 0px;
}
.menu-button span:nth-child(2) {
	bottom: 0px;
}
/* Animation vers la croix */
.menu-button.active span:nth-child(1) {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}
.menu-button.active span:nth-child(2) {
	bottom: 50%;
	transform: translateY(50%) rotate(-45deg);
}


/*Pour les liens sociaux*/
.socials a{
	position: relative;
	margin-left: 33px;
	margin-right: 33px;
	text-decoration: none;
	color: black;
	font-size: 17px;
	border-bottom: 2px solid transparent;
	transition: 0.5s;
}
.socials a:hover{
	border-bottom: 1.5px solid black;
}
.sidebar-bottom{
	display: flex;
	flex-direction: column;
}
.menu-button{
	display: none;
	line-height: 0;
}


/*Avis de copyright*/
.copyright p{
	position: relative;
	color: black;
	font-size: 11px;
	padding: 0px 33px;
	margin-bottom: 33px;
	text-align: right;
	top: 783px;
	z-index: -1;
}

.text_right{
	text-align: right;
}


.container_project{
	padding: 300px;
	gap: 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
}


.portrait{
	padding: 0px 300px;
	display: grid;
	align-items: center;
	height: 10%;
	width: auto;
	grid-template-columns: 1fr;
}

.small-text p{
	position: relative;
	color: black;
	font-size: 11px;
	margin-bottom: 30px;
	text-align: right;
}


.descriptif {
	left: 33px;
	display: flex;
	flex-direction: column;
}
.descriptif a{
	padding: 0px 33px;
	font-family: Inter, sans-serif;
	font-variant-emoji: text;
	font-weight: regular;
	text-decoration: none;
	color: black;
	font-size: 17.5px;
}


/*Pour la couleur de sélection des textes*/
::selection {
    color: lightgrey;
    -webkit-text-fill-color: lightgrey;
}
::-moz-selection {
    color: lightgrey;
    -webkit-text-fill-color: lightgrey;
}
::-webkit-selection {
    color: lightgrey;
    -webkit-text-fill-color: lightgrey;
}


/* Page active non-cliquable */
.navbar .active-page,
.sidebar .active-page {
	color: black;
	font-size: 24px;
	text-decoration: none;
	margin-left: 0;
	border-bottom: 2px solid transparent;
	font-variant-emoji: text;
	transition: font-size 0.3s, border-bottom 0.5s;
}
.navbar .active-page b span,
.sidebar .active-page b span {
	border-bottom: 1.5px solid transparent;
	transition: 0.5s;
	display: inline-block;
}
/* Effet de soulignement au survol de la page active */
.navbar .active-page:hover b span,
.sidebar .active-page:hover b span {
	border-bottom: 1.5px solid black;
}
/* Pour la sidebar uniquement */
.sidebar .active-page {
	margin: 23px 0;
	text-align: center;
	border-bottom: 1.5px solid transparent;
	padding-left: 0 !important;
}

/* Poids de police intermédiaire pour la sidebar aussi */
.sidebar .active-page b {
	font-weight: 600;
	letter-spacing: 0.01em;
}

/* Retire aussi les pseudo-éléments ::before et ::after pour les pages actives */
.sidebar .active-page::after {
	display: none;
}
/* Effet de rotation sur le ◊ de la page active */
.navbar .active-page::before {
    content: '◊';
    margin-right: 0.3em;
    display: inline-block;
    transition: transform 0.2s;
}
/* Positionnement pour la page active dans la sidebar */
.sidebar .active-page::before {
	content: '◊';
	position: relative;
	margin-right: 0.3em;
	display: inline-block;
	transition: transform 0.2s;
}
.navbar .active-page:hover::before {
    transform: rotate(25deg);
}
.sidebar .active-page:hover::before {
	transform: rotate(25deg);
}


/*Pour le responsive design*/
@media(max-width: 950px){
	.hideOnMobile{
		display: none;
	}
	.menu-button{
		display: block;
	}
	.navbar {
		display: flex;
		gap: 0;
	}
	.navbar a,
	.navbar .active-page {
		margin-left: 33px;
	}
	.container_project{
		display: grid;
		grid-template-columns: 1fr;
	}
}
@media(max-width: 400px){
	.copyright{
		display: none;
	}
	.socials{
		display: none;
	}
}