/*----------section_tarif_titre-------------*/

.section_tarif_titre {
	width: 100%;
	margin: 0;
	text-align: center;

	padding: 0px;
}
.section_tarif_titre h1 {
	animation: slideUp 1s ease-out forwards;
	margin: 0px;
	color: white;
	font-size: clamp(50px, 20vw, 250px);
}

.tarif_grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2);
}

.tarif_grid article {
	border: 1px solid white;
}

.tarif_grid article:hover {
	background-color: white;
	border: 1px solid white;
	transform: scale(1.1);
	transition: 0.5s;
}

.tarif_grid article:hover h1 {
	color: black;
	transition: 1s;
}

.tarif_grid article:hover h2 {
	color: black;
	transition: 1s;
}

.tarif_grid article:hover ul li {
	color: black;
	transition: 1s;
}

.tarif_grid article h1 {
	color: white;
	text-align: center;
}

.tarif_grid article h2 {
	color: rgb(255, 255, 255);
	text-align: center;
}

.tarif_grid article ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0px;
}

.tarif_grid article ul li {
	padding: 0px;
	list-style: none;
	color: rgb(195, 195, 195);
	text-align: center;
}

@media (max-width: 867px) {
	/*-----HEADER-----*/

	header img {
		width: 150px;
	}

	/*----------section---------*/
	.tarif_grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2);
	}

	.tarif_grid .prenium {
		grid-column: 1/3;
		grid-row: 1/3;
		text-align: center;
	}
}

@media (max-width: 452px) {
	/*------------section_tarif-------------*/
	.tarif_grid {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: repeat(4);
	}

	.tarif_grid .classique {
		grid-column: 1/3;
		grid-row: 3/4;
		text-align: center;
	}
}
