/* ======- RAPPEL COULEUR -===== */
/*								 */
/*		#2b2b5c		bleu		 */
/*		#ffffff		blanc		 */
/*		#d881c7		rose		 */
/*								 */
/* ============================= */



/* ====== PRINCIPAUX BLOCS ====== */

body {
    background-image		: url("/assets/images/fond_repetable.png");
    background-repeat		: repeat;
    background-size			: 300px;
	font-size 				: 16px;
	font-family 			: 'Poppins', sans-serif;
    color					: #2b2b5c;
}

header {
	background-color	: #2b2b5c;
	font-size 			: 18px;
	text-align 			: center;
}

.contenu {
	min-height			: 550px;
	max-width 			: 1150px;
	width 				: 100%;
	margin 				: auto;
	margin-top			: -50px;
	padding 			: 25px;
	border-radius 		: 15px;
    box-shadow			: 0 4px 15px rgba(0, 0, 0, 0.08);
	background-color	: white;
}

footer {
	margin-top			: 50px;
	background-color	: #2b2b5c;
}

/* ====== PROPRIÉTÉS COMMUNES ====== */

.envaleur {
	font-weight : 600;
	color 		: #d881c7;
}

.envaleurplus {
	font-weight		: 600;
	font-size		: 20px;
	text-decoration	: underline;
	text-align		: center;
}

.invisible {
	position	: absolute;
	width		: 1px;
	height		: 1px;
	padding		: 0;
	margin		: -1px;
	overflow	: hidden;
	clip		: rect(0, 0, 0, 0);
	border		: 0;
}

h2 {
	padding 		: 20px;
	font-size 		: 30px;
	font-weight	 	: 600;
	color 			: #d881c7;
	text-align 		: center;
	text-shadow 	: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

h3 {
	margin-top : 25px;
	padding 	: 5px;
	font-size 	: 25px;
	font-weight : 600;
	text-shadow : 2px 2px 5px rgba(0, 0, 0, 0.2);
}

br {
	margin-bottom : 5px;
}

/* ====== HEADER ====== */

header img {
	margin 		: 25px;
	display		: inline;
	height		: 250px;
}

.hero {
	color : #ffffff;
}

.menu {
	max-width 			: 1150px;
	width 				: 100%;
	margin 				: auto;
	margin-top 			: 25px;
	padding 			: 20px 10px;
	padding-bottom 		: 75px;
	color 				: #ffffff;
	font-weight 		: 600;
	font-size			: 20px;
}

.menu ul {
	display 			: flex;
	gap 				: 125px;
	justify-content 	: center;
}

.menu a {
	display 	: inline-block;
	transition	: transform 0.3s ease;
}

.menu a:hover {
	color		: #d881c7;
	transform	: scale(1.35);
}

/* ====== VALIDATION MESSAGE ====== */

.fond-superposition {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.fenetre-dialogue {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    animation: apparition 0.25s ease;
}

.fenetre-dialogue h3 {
    margin-bottom: 15px;
    color: #2b2b5c;
}

.fenetre-dialogue p {
    margin-bottom: 20px;
}

.bouton-dialogue {
    display: inline-block;
    background-color: #2b2b5c;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.bouton-dialogue:hover {
    background-color: #d881c7;
}

/* ====== CONTENU ====== */

.contenu p {
	padding : 10px;
}

/* ====== PIED DE PAGE ====== */

.reseaux {
	max-width 		: 1150px;
	width 			: 100%;
	margin 			: auto;
	display			: flex;
	gap 			: 0px;
	justify-content : center;
}

.reseaux a {
	flex			: 1;
    display			: flex;
    align-items		: center;
    justify-content	: center;
    transition		: 0.3s ease;
    padding			: 5px 5px;
}

.reseaux img {
    width		: 60%;
    height		: auto;
    transition	: transform 0.3s ease;
}

.reseaux a:hover {
	color		: #d881c7;
	transform	: scale(1.15);
}

.reseaux a:hover img {
    transform	: scale(1.15);
}

footer p {
	color 			: #ffffff;
	text-align 		: center;
	padding-top		: 50px;
	padding-bottom	: 25px;
}

/* ====== ANIMATION CSS ====== */

@keyframes apparition {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ====== AFFICHAGE SUR TABLETTE ====== */

@media (max-width: 1024px) {
	.menu ul {
		gap : 60px;
	}

	header img {
		height : 200px;
	}

	.contenu {
		margin-top	: -30px;
		padding		: 20px;
	}
}

/* ====== AFFICHAGE SUR MOBILE ====== */

@media (max-width: 768px) {
	header img {
		height	: 150px;
		margin	: 15px;
	}

	.hero p {
		font-size	: 16px;
		padding		: 0 15px;
	}

	.menu {
		padding-bottom : 30px;
	}

	.menu ul {
		flex-direction	: column;
		gap				: 20px;
		align-items		: center;
	}

	.menu a:hover {
		transform : none;
	}

	.contenu {
		margin-top		: -20px;
		padding			: 15px;
		border-radius	: 10px;
	}

	h2 {
		font-size : 24px;
	}

	h3 {
		font-size : 20px;
	}

	.reseaux {
		flex-direction : column;
	}

	.reseaux img {
		width : 40%;
	}
}