.singlePage {
	margin-top: 12rem;
}

.singlePage h1 {
	font-family: "Rethink Sans", sans-serif;
	font-size: clamp(2.5rem, 5vw + 1.5rem, 5rem);
	font-weight: 700;
	color: var(--fg-dark);
	text-align: center;
	padding-inline: 1rem;
}

.singlePage h2 {
	margin-top: 8rem;
	font-family: "Rethink Sans", sans-serif;
	font-size: clamp(2rem, 5vw, 4rem);
	font-weight: 700;
	color: var(--fg-dark);
	text-align: center;
	padding-inline: 1rem;
}

.singlePage .txtBox {
	margin-top: 6rem;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.singlePage .txt1 {
	width: 50vw;
	max-width: 700px;
	text-wrap: balance;
	padding-inline: 1rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: var(--fg-light);
}

.singlePage .graph {
	width: 50vw;
	max-width: 700px;
	height: 260px;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}

/* Mini aperçu graphique du site single page */
.pagePreview {
	width: 155px;
	height: 220px;
	background: #fff;
	border-radius: 1.3rem;
	box-shadow: 0 0 35px #00000012;
	box-sizing: border-box;
	padding: .8rem;
	display: flex;
	flex-direction: column;
	gap: .6rem;
	transform: rotate(2deg);
	animation: previewFloat 4s ease-in-out infinite;
}

.previewBar {
	height: 12px;
	width: 100%;
	border-radius: 1rem;
	background: #ececf0;
}

.previewHero {
	height: 65px;
	border-radius: .9rem;
	background: #f2f2f5;
	padding: .7rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: .4rem;
}

.previewHero div:first-child {
	width: 80%;
	height: 8px;
	border-radius: 1rem;
	background: oklch(62.3% 0.214 259.815);
}

.previewHero div:last-child {
	width: 55%;
	height: 6px;
	border-radius: 1rem;
	background: #cfcfd5;
}

.previewLine {
	width: 100%;
	height: 6px;
	border-radius: 1rem;
	background: #e4e4e8;
}

.previewLine.short {
	width: 65%;
}

.previewCards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: .35rem;
}

.previewCards span {
	height: 38px;
	border-radius: .55rem;
	background: #f0f0f3;
}

.previewButton {
	margin-top: auto;
	width: 45%;
	height: 15px;
	border-radius: 1rem;
	background: oklch(62.3% 0.214 259.815);
}

@keyframes previewFloat {
	0%, 100% {
		transform: translateY(0) rotate(2deg);
	}

	50% {
		transform: translateY(-8px) rotate(2deg);
	}
}


.txtBox2 {
	margin-top: 2rem;
	display: flex;
	justify-content: center;
	padding-inline: 1rem;
	transition: .2s ease;
}

.txtBox2 .btn-box {
	display: flex;
	justify-content: center;
}

.txtBox2 .txt2 {
	box-sizing: border-box;
	padding-inline: 3rem;
	padding-bottom: 1.25rem;
	padding-top: 2rem;
	width: 100%;
	max-width: 950px;
	border-radius: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	font-size: clamp(1rem, 2vw, 1.25rem);
	transition: .2s ease;
	background: #fff;
	box-shadow: 0 0 30px #00000011;
}

.txtBox2 .txt2 .parag {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	/*padding-bottom: 1rem;*/
	font-size: clamp(1rem, 2vw, 1.25rem);
	/*height: 100px;*/
	overflow: hidden;
	position: relative;
	transition: .2s ease;
}

.txtBox2 .txt2 .mask {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, #fff, #00000000);
	pointer-events: none;
}

.txtBox2 .txt2 .parag.deployed {
	height: 100%;
}

.txtBox2 .txt2 .parag.deployed .mask {
	display: none;
}

.txtBox2 button {
	display: flex;
	background: none;
	border: none;
	outline: none;
	justify-content: center;
	align-items: center;
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: #686868;
	gap: .25rem;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.txtBox2 .open svg {
	transition: transform .3s ease;
}

.txtBox2 .parag.deployed ~ .btn-box .open svg {
	transform: rotate(180deg);
}


/* Grille des prestations */
#singleCard {
	background: var(--bg-dark);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-inline: 1rem;
	margin-top: 8rem;
	padding-bottom: 8rem;
}

#singleCard h2 {
	color: var(--fg-dark);
	margin-bottom: 4rem;
}

.cardBox {
	width: 100%;
	max-width: 1200px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(3, auto);
	gap: 1rem;
	padding-inline: 1rem;
	box-sizing: border-box;
}

.cardSingle {
	background: #fff;
	color: var(--fg-dark);
	padding-block: 2rem;
	padding-inline: 2.5rem;
	padding-bottom: 2.5rem;
	width: 100%;
	border-radius: 2rem;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 100%;
	position: relative;
	box-shadow: 0 0 30px #00000011;
}

.cardSingle p {
	margin-bottom: 1rem;
	font-size: 1.12rem;
}

.cardSingle h3 {
	font-size: 2rem;
}

.cardSingle .detail {
	display: flex;
	flex-direction: column;
	gap: .75rem;
	margin-top: 1.5rem;
}

.cardSingle ul {
	list-style: none;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.cardSingle ul li {
	position: relative;
	padding-left: 1.25rem;
	line-height: 1.25rem;
	color: #686868;
}

.cardSingle ul li::before {
	position: absolute;
	left: 0;
	content: "✓";
	color: oklch(62.3% 0.214 259.815);
}


.txtBox3 {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 1rem;
	font-size: clamp(1rem, 2vw, 1.25rem);
	margin-top: 4rem;
	margin-bottom: 12rem;
	padding-inline: 1rem;
}

.txtBox3 p {
	max-width: 950px;
	width: 100%;
}


/* CTA final */
.singleCta {
	max-width: 950px;
	margin: 0 auto 8rem auto;
	padding: 3.5rem 2rem;
	box-sizing: border-box;
	text-align: center;
	background: #fff;
	border-radius: 2rem;
	box-shadow: 0 0 30px #00000011;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
}

.singleCta p {
	font-size: 1.1rem;
	color: #686868;
}

.singleCta h2 {
	margin-top: 0;
	padding: 0;
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.singleCtaBtn {
	margin-top: .5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.5rem;
	border-radius: 999px;
	text-decoration: none;
	background: var(--fg-dark);
	color: #fff;
	font-weight: 600;
	transition: transform .2s ease, opacity .2s ease;
	-webkit-tap-highlight-color: transparent;
}

.singleCtaBtn:hover {
	transform: translateY(-2px);
	opacity: .9;
}


@media (max-width: 620px) {

	.singlePage .txt1 {
		width: 70vw;
	}

	.singlePage .graph {
		height: 170px;
		width: 30vw;
	}

	.pagePreview {
		width: 115px;
		height: 165px;
		padding: .55rem;
		gap: .4rem;
		border-radius: 1rem;
	}

	.previewHero {
		height: 46px;
	}

	.previewCards span {
		height: 28px;
	}

	.txtBox2 .txt2 {
		padding-inline: 1.75rem;
		padding-top: 1.5rem;
	}

	.cardBox {
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: repeat(6, auto);
		gap: 1rem;
		padding-inline: 1rem;
	}

	.cardSingle {
		padding-inline: 1.5rem;
		padding-top: 1.5rem;
	}

	.singleCta {
		margin-inline: 1rem;
		padding-inline: 1.5rem;
	}
}


@media (max-width: 500px) {

	.singlePage {
		margin-top: 8rem;
	}

	.singlePage .txtBox {
		margin-top: 4rem;
		flex-direction: column-reverse;
		gap: 2rem;
	}

	.singlePage .txt1 {
		width: 100%;
		padding: 1rem;
		box-sizing: border-box;
	}

	.singlePage .graph {
		width: 100%;
		height: 180px;
	}

	.pagePreview {
		width: 125px;
		height: 180px;
	}

	#singleCard {
		padding-inline: 0;
	}

	.cardSingle h3 {
		font-size: 1.75rem;
	}
}
