/**
 * Section page Sophrologie — À quoi sert la sophrologie ?
 * Shortcode : [wpcursor name="sophrologie-apports"]
 */

.wpcursor-sophrologie-apports {
	--wpcursor-sophro-apports-bg: #ffffff;
	--wpcursor-sophro-apports-heading: #4a2d5c;
	--wpcursor-sophro-apports-accent: #e8a598;
	--wpcursor-sophro-apports-body: #5f5f6a;
	--wpcursor-sophro-apports-card-bg: #ffffff;

	box-sizing: border-box;
	width: 100%;
	padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
	background: var(--wpcursor-sophro-apports-bg);
	color: var(--wpcursor-sophro-apports-body);
}

.wpcursor-sophrologie-apports__inner {
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.wpcursor-sophrologie-apports__header {
	margin: 0 0 clamp(2.25rem, 4.5vw, 3rem);
	text-align: center;
}

.wpcursor-sophrologie-apports__heading {
	margin: 0;
	font-family: var(--wpcursor-font-title);
	font-size: clamp(1.75rem, 3.2vw, 2.35rem);
	font-weight: var(--wpcursor-title-weight, 700);
	line-height: 1.2;
	letter-spacing: var(--wpcursor-title-letter-spacing, -0.027em);
	color: var(--wpcursor-sophro-apports-heading);
}

.wpcursor-sophrologie-apports__divider {
	width: 3.25rem;
	height: 2px;
	margin: 1.15rem auto 0;
	border-radius: 999px;
	background: var(--wpcursor-sophro-apports-accent);
}

.wpcursor-sophrologie-apports__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.85rem;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	width: 100%;
	box-sizing: border-box;
}

.wpcursor-sophrologie-apports__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100%;
	padding: 1.35rem 0.85rem 1.25rem;
	border-radius: 16px;
	background: var(--wpcursor-sophro-apports-card-bg);
	box-shadow: 0 6px 22px rgba(74, 45, 92, 0.06);
	box-sizing: border-box;
	text-align: center;
}

.wpcursor-sophrologie-apports__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	margin: 0 0 1rem;
	border-radius: 50%;
	overflow: hidden;
}

.wpcursor-sophrologie-apports__icon--purple {
	background: #ebe4f2;
	color: #7a5f96;
}

.wpcursor-sophrologie-apports__icon--pink {
	background: #fae8ee;
	color: #c87a8f;
}

.wpcursor-sophrologie-apports__icon--orange {
	background: #fcefdc;
	color: #d49a5c;
}

.wpcursor-sophrologie-apports__icon--green {
	background: #e8f2ea;
	color: #6a9a72;
}

.wpcursor-sophrologie-apports__icon--blue {
	background: #e5eff5;
	color: #5e8fa8;
}

.wpcursor-sophrologie-apports__icon--peach {
	background: #faece8;
	color: #d48f7f;
}

.wpcursor-sophrologie-apports__icon-image {
	display: block;
	width: 2.5rem;
	height: 2.5rem;
	object-fit: contain;
}

.wpcursor-sophrologie-apports__icon-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wpcursor-sophrologie-apports__card-title {
	margin: 0 0 0.55rem;
	font-family: var(--wpcursor-font-title);
	font-size: 0.98rem;
	font-weight: var(--wpcursor-title-weight, 700);
	line-height: 1.3;
	letter-spacing: var(--wpcursor-title-letter-spacing, -0.027em);
	color: var(--wpcursor-sophro-apports-heading);
}

.wpcursor-sophrologie-apports__card-text {
	margin: 0;
	font-family: var(--wpcursor-font-body);
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.55;
	color: var(--wpcursor-sophro-apports-body);
}

@media (max-width: 1100px) {
	.wpcursor-sophrologie-apports__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
	}
}

@media (max-width: 720px) {
	.wpcursor-sophrologie-apports__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.85rem;
	}

	.wpcursor-sophrologie-apports {
		padding: clamp(2.5rem, 7vw, 3.5rem) clamp(1.25rem, 4vw, 2rem);
	}
}

@media (max-width: 640px) {
	.wpcursor-sophrologie-apports__grid {
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		max-width: none;
		margin-inline: auto;
		justify-items: stretch;
	}
}
