/*
 * Pourquoi GREENCO — couleurs héritées d'Astra (Personnaliser > Styles globaux > Couleurs).
 * --ast-global-color-0 : accent principal   --ast-global-color-1 : accent survol
 * --ast-global-color-2 : titres             --ast-global-color-3 : texte
 * --ast-global-color-4 : fond clair         --ast-global-color-5 : fond blanc
 * Les valeurs de repli ne servent que si le thème Astra n'est pas actif.
 */
.pg-why {
	--pg-accent: var(--ast-global-color-0, #0f4a33);
	--pg-accent-2: var(--ast-global-color-1, #4caf43);
	--pg-heading: var(--ast-global-color-2, #1c2521);
	--pg-text: var(--ast-global-color-3, #5b655f);
	--pg-bg: var(--ast-global-color-4, #f6f6f8);
	--pg-card: var(--ast-global-color-5, #ffffff);
	--pg-on-accent: var(--ast-global-color-5, #ffffff);
	background: var(--pg-bg);
	font-family: inherit;
	padding: 0;
}
.pg-why * { box-sizing: border-box; }
.pg-why .pg-container {
	max-width: var(--wp--style--global--wide-size, 1320px);
	margin-inline: auto;
	padding: 0 !important;
}
/* Titre : même style que h1.entry-title (astra-child/style.css) */
.pg-why .pg-title {
	position: relative;
	display: inline-block;
	margin: 0 0 32px;
	padding-bottom: 6px;
	color: var(--pg-heading);
}
.pg-why .pg-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 64px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--gc-green), var(--gc-lime));
}
body.rtl .pg-why .pg-title::after,
html[dir="rtl"] .pg-why .pg-title::after,
.pg-why[dir="rtl"] .pg-title::after {
	left: auto;
	right: 0;
	background: linear-gradient(270deg, var(--gc-green), var(--gc-lime));
}
@media (max-width: 768px) {
	.pg-why .pg-title::after {
		width: 35px;
	}
}
.pg-why .pg-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.pg-why .pg-card {
	background: var(--pg-card);
	border-radius: 20px;
	padding: 32px 24px;
	text-align: center;
}
.pg-why .pg-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--pg-accent);
	display: flex;
	align-items: center;
	justify-content: center;
}
.pg-why .pg-icon svg { width: 28px; height: 28px; stroke: var(--pg-on-accent); }
.pg-why .pg-card h3 {
	margin: 0 0 10px;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--pg-heading);
}
.pg-why .pg-card p {
	margin: 0;
	font-size: .95rem;
	line-height: 1.8;
	color: var(--pg-text);
}
@media (max-width: 980px) { .pg-why .pg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pg-why .pg-grid { grid-template-columns: 1fr; } }
