/* ==================================================
CONTAINER
================================================== */
.about__inner {
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: 64px;
	box-sizing: border-box;
	padding-bottom : 64px;
}

/* ==================================================
TABLET
================================================== */
@media (min-width: 783px) and (max-width: 1024px) {
	.about__inner {
		padding-inline: 64px;
	}

}

/* ==================================================
MOBILE
================================================== */
@media (max-width: 782px) {
	.about__inner {
		padding-inline: 20px;
	}

}

/* ==================================================
PARTNERS
================================================== */
.about-partners {
	padding-block: 32px;
}

.about-partners__inner {
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: 64px;
	box-sizing: border-box;
}

/* ==================================================
TITLE
================================================== */
.about-partners__title {
	margin: 0 0 72px;
	color: var(--wp--preset--color--black);
}

/* ==================================================
PARTNERS GRID
================================================== */
.about-partners__list {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: center;
	column-gap: 48px;
	row-gap: 64px;
	padding-top:32px;
}

/* ==================================================
PARTNER
================================================== */
.about-partners__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.about-partners__link {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

/* ==================================================
LOGO
================================================== */
.about-partners__logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 150px;
	max-height: 70px;
	object-fit: contain;
	transform: translateY(0) scale(1);
	transition:
	transform 280ms cubic-bezier(.2, .8, .2, 1),
	opacity 280ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.about-partners__link:hover .about-partners__logo {
		transform: translateY(-5px) scale(1.06);
	}

}

/* ==================================================
TABLET
================================================== */
@media (min-width: 783px) and (max-width: 1024px) {
	.about-partners__inner {
		padding-inline: 64px;
	}

	.about-partners__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 40px;
		row-gap: 56px;
	}

}

/* ==================================================
MOBILE
================================================== */
@media (max-width: 782px) {
	.about-partners {
		padding-block: 64px;
	}

	.about-partners__inner {
		padding-inline: 20px;
	}

	.about-partners__title {
		margin-bottom: 48px;
	}

	.about-partners__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 24px;
		row-gap: 40px;
	}

	.about-partners__logo {
		max-width: 130px;
		max-height: 60px;
	}

}

/* ==================================================
PARTNERS — SCROLL ANIMATION
================================================== */
.about-partners__item {
	opacity: 1;
	transform: translateY(0);
	transition:
	opacity 520ms ease,
	transform 520ms cubic-bezier(.2, .8, .2, 1);
}

.about-partners__item.is-entering {
	opacity: 0;
	transform: translateY(18px);
}

@media (prefers-reduced-motion: reduce) {
	.about-partners__item {
		transition: none;
	}

	.about-partners__item.is-entering {
		opacity: 1;
		transform: none;
	}

}

/* =========================================================
ABOUT CONTENT
========================================================= */
.about-content {
	display: flex;
	flex-direction: column;
	gap: 64px;
	margin-top: 48px;
}

/* =========================================================
INTRO
========================================================= */
.about-intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: stretch;
	z-index: 1;
}

.about-intro__text {
	margin: 0;
	font-family: var(--wp--preset--font-family--geist);
	font-size: 2.25rem; /* 36px Figma */
	font-weight: 600;
	line-height: 1.18;
}

.about-intro__text strong {
	color: var(--wp--preset--color--secondary);
	font-weight: 700;
}

.about-intro__image {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	overflow: hidden;
	border-radius: 24px;
}

.about-intro__image img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* =========================================================
PILLARS
========================================================= */
.about-pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
}

.about-pillar {
	position: relative;
	padding-inline: 32px;
}

.about-pillar:first-child {
	padding-left: 0;
}

.about-pillar:last-child {
	padding-right: 0;
}

.about-pillar + .about-pillar {
	border-left: 2px solid currentColor;
}

.about-pillar__title {
	width: fit-content;
	margin: 0 0 24px;
	font-family: var(--wp--preset--font-family--geist);
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.about-pillar__title::after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 12px;
	background: currentColor;
}

.about-pillar p {
	margin: 0;
	line-height: 1.45;
}

.about-pillar p strong {
	color: var(--wp--preset--color--secondary);
}

/* =========================================================
FEATURE ROWS
========================================================= */
.about-feature {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	align-items: stretch;
}

.about-feature__card,
.about-feature__image {
}

.about-feature__card {
	position: relative;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	padding: 48px 64px;
	border-radius: 24px;
}

.about-feature__card p {
	margin: 0;
	line-height: 1.45;
}

.about-feature__card strong {
	font-weight: 800;
}

/* JAUNE */
.about-feature--yellow .about-feature__card {
	padding-left: 112px;
	color: var(--wp--preset--color--dark-violet);
	background:
	radial-gradient(
	circle at 80% 15%,
	rgba(255, 255, 255, 0.5) 0%,
	rgba(255, 255, 255, 0) 55%
	),
	color-mix(
	in srgb,
	var(--wp--preset--color--yellow) 50%,
	white
	);
}

/* BLEU */
.about-feature--blue .about-feature__card {
	padding-right: 112px;
	color: var(--wp--preset--color--secondary);
	background:
	radial-gradient(
	circle at 20% 15%,
	rgba(255, 255, 255, 0.55) 0%,
	rgba(255, 255, 255, 0) 55%
	),
	var(--wp--preset--color--blue-clear);
}

.about-feature--blue .about-feature__card strong {
	color: var(--wp--preset--color--secondary);
}

/* ==================================================
ABOUT FEATURE CARDS — HOVER
================================================== */
.about-feature__card {
	border: 1px solid rgba(24, 14, 66, 0.06);
	box-shadow:
	0 4px 12px rgba(24, 14, 66, 0.04);
	transition:
	transform 520ms cubic-bezier(.2, .8, .2, 1),
	box-shadow 320ms ease,
	border-color 320ms ease;
}

@media (hover: hover) {
	.about-feature__card.about-reveal.is-visible:hover {
		transform: translateY(-8px);
		border-color: rgba(24, 14, 66, 0.1);
		box-shadow:
		0 8px 16px rgba(24, 14, 66, 0.05),
		0 20px 40px rgba(24, 14, 66, 0.08);
	}

}

/* =========================================================
FEATURE IMAGES
========================================================= */
.about-feature__image {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	overflow: hidden;
	border-radius: 24px;
}

.about-feature__image img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* =========================================================
ICON
========================================================= */
.about-feature__icon {
	position: absolute;
	width: 60px;
	height: 60px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

/* Bloc jaune */
.about-feature--yellow .about-feature__icon {
	background-image: url("../../images/icone-1.png");
}

/* Bloc bleu clair */
.about-feature--blue .about-feature__icon {
	background-image: url("../../images/icone-2.png");
}

.about-feature--yellow .about-feature__icon {
	left: 32px;
	top: 50%;
	transform: translateY(-50%);
}

.about-feature--blue .about-feature__icon {
	right: 32px;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 782px) {
	.about-content {
		gap: 48px;
		margin-top: 32px;
	}

	/* INTRO */
	.about-intro {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.about-intro__text {
		font-size: 1.75rem;
	}

	.about-intro__image {
		height: auto;
	}

	.about-intro__image img {
		height: auto;
		aspect-ratio: 4 / 3;
	}

	/* PILLARS */
	.about-pillars {
		display: flex;
		flex-direction: column;
		gap: 32px;
	}

	.about-pillar,
	.about-pillar:first-child,
	.about-pillar:last-child {
		padding: 0;
	}

	.about-pillar + .about-pillar {
		padding: 32px 0 0;
		border-left: 0;
		border-top: 1px solid currentColor;
	}

	.about-pillar__title {
		margin-bottom: 20px;
	}

	/* FEATURE ROWS */
	.about-feature {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.about-feature__card,
	.about-feature__image {
		width: 100%;
		min-height: 0;
	}

	.about-feature__card {
		padding: 72px 24px 32px;
	}

	.about-feature--yellow .about-feature__card,
	.about-feature--blue .about-feature__card {
		padding: 72px 24px 32px;
	}

	.about-feature__image {
		height: auto;
	}

	.about-feature__image img {
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}

	/* ICON */
	.about-feature--yellow .about-feature__icon,
	.about-feature--blue .about-feature__icon {
		top: 20px;
		left: 24px;
		right: auto;
		transform: none;
	}

}

.about-pillar {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	padding-inline: 32px;
}

.about-pillar > * {
	margin-block-start: 0;
}

.about-pillar__title {
	margin: 0 0 24px;
}

.about-pillars,
.about-pillar {
	--wp--style--block-gap: 0;
}

@media (max-width: 782px) {
	.about-feature {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	/* Le bloc bleu est inversé :
	carte d'abord, image ensuite */
	.about-feature--blue {
		flex-direction: column-reverse;
	}

	.about-feature__card,
	.about-feature__image {
		width: 100%;
		min-height: 0;
	}

	.about-feature__card {
		padding: 72px 24px 32px;
	}

	.about-feature--yellow .about-feature__card,
	.about-feature--blue .about-feature__card {
		padding: 72px 24px 32px;
	}

	/* Les images retrouvent leur hauteur naturelle en mobile */
	.about-feature__image {
		position: relative;
		width: 100%;
		height: auto;
		margin: 0;
		overflow: hidden;
		border-radius: 24px;
	}

	.about-feature__image img {
		position: static;
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}

	/* Icône en haut à gauche des cartes */
	.about-feature--yellow .about-feature__icon,
	.about-feature--blue .about-feature__icon {
		top: 20px;
		left: 24px;
		right: auto;
		transform: none;
	}

	.about-intro__image {
		position: relative;
		width: 100%;
		height: auto;
		margin: 0;
		overflow: hidden;
		border-radius: 24px;
	}

	.about-intro__image img {
		position: static;
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}

}

/* ==================================================
ABOUT — SCROLL REVEAL
================================================== */
.about-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition:
	opacity 700ms ease,
	transform 800ms cubic-bezier(.2, .8, .2, 1);
	transition-delay: calc(var(--reveal-index, 0) * 180ms);
}

.about-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.about-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

}

@media (max-width: 782px) {
	.about-reveal {
		transition-delay: 0ms;
	}

}
