/*
 * À propos — Kahel · Home About.
 */

.kahel-home-about-section {
	padding-top: var(--wp--custom--home--section-padding-y);
	padding-bottom: var(--wp--custom--home--section-padding-y);
}

.kahel-home-about-section .kahel-home-about {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--custom--home--about-gap);
	align-items: center;
}

.kahel-home-about-section.is-inverse .kahel-home-about-visual-col {
	order: 2;
}

.kahel-home-about-section .kahel-home-about-visual {
	position: relative;
	min-height: var(--wp--custom--home--about-visual-min);
	overflow: hidden;
	border-radius: 30px;
	background:
		radial-gradient(circle at 68% 24%, rgba(255, 255, 255, 0.65), transparent 28%),
		linear-gradient(145deg, #ffd7b2 0%, var(--wp--preset--color--orange) 55%, var(--wp--preset--color--orange-deep) 100%);
	box-shadow: var(--wp--preset--shadow--media);
}

.kahel-home-about-section .kahel-home-about-visual.has-image {
	min-height: 0;
	aspect-ratio: 4 / 5;
	background: var(--wp--preset--color--cream);
}

/* Une photo en paysage : le cadre s'allonge, le texte se centre à côté. */
.kahel-home-about-section .kahel-home-about-visual.has-image.is-paysage {
	aspect-ratio: 4 / 3;
}

.kahel-home-about-section .kahel-home-about-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kahel-home-about-section .kahel-parallax {
	position: absolute;
	inset: 0;
	transform: translate3d(0, var(--kahel-parallaxe, 0px), 0);
}

.kahel-home-about-section .kahel-home-about-title {
	max-width: var(--wp--custom--home--about-title-max);
	margin: 0;
}

.kahel-home-about-section .kahel-home-about-copy-text {
	max-width: 58ch;
	margin-top: 28px;
}

.kahel-home-about-section .kahel-home-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 32px 0;
	padding: 0;
	list-style: none;
}

.kahel-home-about-section .kahel-home-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid rgba(36, 23, 15, 0.1);
	border-radius: var(--wp--custom--radius--pill);
	background: #fff8ef;
	font-weight: 800;
	transition: border-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--ease), background-color var(--wp--custom--motion--duration-fast) var(--wp--custom--motion--ease);
}

.kahel-home-about-section .kahel-home-chip::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--wp--preset--color--orange);
	transition: transform 400ms var(--wp--custom--motion--ease-spring);
}

.kahel-home-about-section .kahel-home-chip:hover {
	border-color: var(--wp--preset--color--orange);
	background: var(--wp--preset--color--cream);
}

.kahel-home-about-section .kahel-home-chip:hover::before {
	transform: scale(1.35);
}

@media (max-width: 900px) {
	.kahel-home-about-section .kahel-home-about {
		grid-template-columns: 1fr;
	}

	.kahel-home-about-section.is-inverse .kahel-home-about-visual-col {
		order: 0;
	}
}
