/**
 * Section page Soins holistiques — Précautions et limites.
 * Shortcode : [wpcursor name="holistique-precautions"]
 */

.wpcursor-holistique-precautions {
	--wpcursor-hol-prec-bg: #ffffff;
	--wpcursor-hol-prec-banner: #f8f3f8;
	--wpcursor-hol-prec-border: rgba(74, 45, 92, 0.1);
	--wpcursor-hol-prec-heading: #4a2d5c;
	--wpcursor-hol-prec-body: #5f5f6a;
	--wpcursor-hol-prec-icon: #6f4f87;

	box-sizing: border-box;
	width: 100%;
	padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem);
	background: var(--wpcursor-hol-prec-bg);
	color: var(--wpcursor-hol-prec-body);
}

.wpcursor-holistique-precautions__inner {
	max-width: 1180px;
	margin: 0 auto;
	box-sizing: border-box;
}

.wpcursor-holistique-precautions__banner {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(1rem, 2.5vw, 1.75rem);
	align-items: start;
	padding: clamp(1.75rem, 3.5vw, 2.25rem) clamp(1.5rem, 3vw, 2rem);
	border: 1px solid var(--wpcursor-hol-prec-border);
	border-radius: 20px;
	background: var(--wpcursor-hol-prec-banner);
	overflow: hidden;
	box-sizing: border-box;
}

.wpcursor-holistique-precautions__deco {
	position: absolute;
	right: -2%;
	bottom: -15%;
	z-index: 0;
	width: min(28vw, 220px);
	height: min(32vw, 260px);
	opacity: 0.18;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 160' fill='none'%3E%3Cpath d='M62 18c-12 28-16 62-8 92M48 36c-8 20-10 48-4 72M76 44c10 24 12 52 6 76M40 108c14-8 24-8 38 0' stroke='%234a2d5c' stroke-width='1.4' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

.wpcursor-holistique-precautions__icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	margin-top: 0.15rem;
	border-radius: 50%;
	background: rgba(111, 79, 135, 0.1);
	color: var(--wpcursor-hol-prec-icon);
}

.wpcursor-holistique-precautions__content {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.wpcursor-holistique-precautions__heading {
	margin: 0 0 0.85rem;
	font-family: var(--wpcursor-font-title);
	font-size: clamp(1.25rem, 2.2vw, 1.5rem);
	font-weight: var(--wpcursor-title-weight, 700);
	line-height: 1.3;
	letter-spacing: var(--wpcursor-title-letter-spacing, -0.027em);
	color: var(--wpcursor-hol-prec-heading);
}

.wpcursor-holistique-precautions__paragraph {
	margin: 0 0 0.85rem;
	font-family: var(--wpcursor-font-body);
	font-size: clamp(0.88rem, 1.25vw, 0.95rem);
	font-weight: 400;
	line-height: 1.65;
	color: var(--wpcursor-hol-prec-body);
}

.wpcursor-holistique-precautions__paragraph:last-of-type {
	margin-bottom: 0;
}

@media (max-width: 640px) {
	.wpcursor-holistique-precautions__banner {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 1.35rem 1.25rem;
	}

	.wpcursor-holistique-precautions__icon {
		margin-top: 0;
	}
}
