/*
@font-face {
    font-family: 'Garet';
    src: url('../fonts/Garet/Garet-Book.woff2') format('woff2'),
         url('../fonts/Garet/Garet-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Garet';
    src: url('../fonts/Garet/Garet-Heavy.woff2') format('woff2'),
         url('../fonts/Garet/Garet-Heavy.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Garet';
    src: url('../fonts/Garet/Garet-Heavy.woff2') format('woff2'),
         url('../fonts/Garet/Garet-Heavy.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
*/

/*	--------------------------------------	*/
/*					Header					*/
/*	--------------------------------------	*/
header {
	background: #141273;
		/*	gris :					#555555555555
			gris-blanc :			#f5f5f5
			gris-noir :				#181818
			marron :				#3B2F2F
			bleu marine :			#18124E
			bleu clair :			#9999ff
			bleu roi (electrique) :	#1812CE
			bleu roi (foncé) :		#141273	*/
	color: white;
	padding: 1.5rem 0;
	text-align: center;
}

h1 {
	font-size: 2.5rem;
}

/*	--------------------------------------	*/
/*					Corps					*/
/*	--------------------------------------	*/
body {
	font-family: 'Segoe UI', sans-serif;		/*	Police	(Segoe UI)							*/
	margin: 0;									/*	Marges externes						*/
	padding: 0;									/*	Paddings internes					*/
	background: #f5f5f5;						/*	Couleur de fond						*/
	color: black;								/*	Couleur du texte par défaut			*/
	line-height: 1.6;							/*	Hauteur de ligne					*/
	text-align: justify;						/*	Alignement du texte					*/
}

h2 {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 2rem;
	color: #181818;
	position: relative;
	padding-bottom: 0.5rem;
}

h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 4px;
	background: linear-gradient(90deg, #1812CE, #141273);
	border-radius: 2px;
}

/* Items principaux */
ul li {
  padding: 0px 0px;
  margin: 0px 0;
  border-radius: 800px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

/* Effet au survol */
ul li:hover {
  transform: translateX(3px);
}

ul li ul li {
  font-size: 0.8em;
}

/*	--------------------------------------	*/
/*			Barre de navigation				*/
/*	--------------------------------------	*/
nav {
	display: flex;								/*	Disposition de l'Affichage			*/
		/* flex : flexbox (horizontale)	*/
		/* grid : grille (verticale)	*/
	justify-content: center;					/*	Alignement du display				*/
	background: #181818;
	padding: 0.5rem 0;
	flex-wrap: wrap;							/*	Alignement si ça déborde			*/
		/* wrap : retour à la ligne		*/
		/* nowrap : déborde				*/
	border-top: 7px solid #f5f5f5;
	transition: all 3s ease;

}

/*	------- Liens dans la balise nav ------	*/
nav a {
	color: white;
	text-decoration: none;
	font-weight: bold;
	margin: 0 15px;
	white-space: nowrap;
	font-size: 1rem;
}

/*	-------------- Au survol --------------	*/
nav a:hover {
	text-decoration: underline;
	font-size: 1.5rem;
	/*transform: scale(1.5);*/
	transition: font-size 0.5s ease;
}

/*	--------------------------------------	*/
/*		Burger menu (menu mobile)			*/
/*	--------------------------------------	*/
.burger-menu {									/*	Les trois traits du menu			*/
	display: none;
		/* Caché par défaut				*/
	cursor: pointer;
	font-size: 1.5rem;
	background: none;
	border: none;
	color: #141273;
}

@media (max-width: 768px) {
	.burger-menu {								
		display: block;
		margin: 10px;
	}

	nav {										
		max-height: 0;              /* menu replié */
		overflow: hidden;           /* cache le contenu */
		flex-direction: column;
		background: #181818;
		align-items: center;
		transition: max-height 0.5s ease, opacity 0.3s ease;
		opacity: 0;                 /* invisible au départ */
	}
	
	nav.active {								
		max-height: 400px;          /* ajuste selon ton menu */
		opacity: 1;
	}

	nav a {
		margin: 10px 0;
	}
}


/*	--------------------------------------	*/
/*			Conteneur images				*/
/*	--------------------------------------	*/
.image-container {
	display: flex;
	justify-content: center;
	gap: 10px;									/*	Espace entre les images				*/
	padding: 1rem;
}

/*	---------- Style des images ----------	*/
.image-container img {
	max-width: 48%;								/*	Largeur max (proportion de l'écran)	*/
	height: auto;								/*	Hauteur								*/
		/* Automatique : garde proportions	*/
	border-radius: 10px;						/*	Coins arrondis						*/
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);	/*	Ombre								*/
}

/*	--------------------------------------	*/
/*			Style des sections				*/
/*	--------------------------------------	*/
section {
	padding: 2rem;
	max-width: 800px;							/*	Largeur max pour ne pas trop étirer	*/
	margin: auto;
}

/*	--------------------------------------	*/
/*			Style des sous-sections			*/
/*	--------------------------------------	*/
.title {
	max-width: 800px;
	margin: 2rem auto;
}

.title-item {
	margin-bottom: 1.2rem;
	border-radius: 10px;
	padding: 0;
	background: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	overflow: hidden;
	border-left: 5px solid #141273;
}

.title-item:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.title-header {
	background: none;
	border: none;
	width: 100%;
	text-align: left;
	font-size: 1.2rem;
	font-weight: 600;
	cursor: pointer;
	padding: 1.2rem 1.5rem;
	transition: all 0.3s ease;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #181818;
}

.title-header::after {
	content: '+';
	font-size: 1.5rem;
	transition: transform 0.3s ease;
}

.title-header:hover {
	color: white;
	background-color: #141273;
}

.title-header.active {
	color: white;
	background-color: #141273;
}
        
.title-header.active::after {
	content: '-';
	transform: rotate(0deg);
}
        
.title-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.4s ease;
	opacity: 0;
	padding: 0 1.5rem;
	background-color: white;
}

.title-content.open {
	opacity: 1;
	max-height: 2000px;
	padding: 0rem 1.5rem 0.5rem;
}

.title-content p {
	margin-bottom: 1rem;
	line-height: 1.6;
	color: black;
}

.title-content ul {
	list-style-type: none;
	padding-left: 0;
	margin: 0.5rem 0;
	color: black;

}

.title-content li {
    color: black;
	margin-bottom: 0.8rem;
	padding-left: 1.2rem;
	position: relative;
	line-height: 1.5;
}

.title-content li::before {
	content: '•';
	position: absolute;
	left: 0;
	color: #1812CE;
	font-weight: bold;
}

/*LINK*/
.link {
    display: inline-block;
    padding: 5px 0;
    color: black;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.link:hover {
    color: #1812CE;
	text-decoration: underline;
	font-size: 1.1rem;
	transition: font-size 0.5s ease;
}

/*	--------------------------------------	*/
/*			Style du footer					*/
/*	--------------------------------------	*/
footer {
	background: #181818;
	color: white;
	text-align: center;
	padding: 1rem;
	margin-top: 2rem;
}

/*	--------------------------------------	*/
/*		Style pour iframe du CV				*/
/*	--------------------------------------	*/
.cv iframe {
	width: 100%;
	height: 600px;
	border: none;
	margin-top: 1rem;
}

/*	--------------------------------------	*/
/*		Styles formulaires contact			*/
/*	--------------------------------------	*/
.contact-table {
    width: 100%;
    max-width: 600px;
    margin: 1.5rem auto;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.contact-table th,
.contact-table td {
    padding: 12px 15px;
    text-align: left;
}

.contact-table th {
    background-color: #141273;
    color: white;
    font-weight: 600;
}

.contact-table tr:nth-child(even) {
    background-color: #f5f5f5;
}

.contact-table tr:hover {
    background-color: white;
}

.contact-table a {
    color: #141273;
    text-decoration: none;
}

.contact-table a:hover {
    text-decoration: underline;
}