/* Page « Notre histoire » — simple, authentique, photos de l'atelier. */
.pezi-story {
	--story-primary: #c45824;
	--story-text: #151515;
	--story-muted: #68625e;
	--story-soft: #f7f3f0;
	font-family: Manrope, Inter, Arial, sans-serif;
	color: var(--story-text);
	background: #fff;
	overflow-x: clip;
}

.pezi-story-wrap {
	width: min(1180px, 100% - 48px);
	margin-inline: auto;
}

.pezi-story-eyebrow {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--story-primary);
}

.pezi-story h1,
.pezi-story h2 {
	font-family: Manrope, Inter, Arial, sans-serif !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
	color: var(--story-text);
	margin: 0 0 18px;
}

.pezi-story h1 {
	font-size: clamp(36px, 5vw, 60px);
	font-weight: 800;
	line-height: 1.05;
}

.pezi-story h2 {
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 800;
	line-height: 1.1;
}

.pezi-story p {
	font-size: 17px;
	line-height: 1.7;
	color: var(--story-muted);
	margin: 0 0 14px;
}

.pezi-story .pezi-story-eyebrow {
	font-size: 12px;
	line-height: 1.3;
	color: var(--story-primary);
}

.pezi-story-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	padding: 15px 26px;
	border-radius: 999px;
	background: var(--story-primary);
	color: #fff !important;
	font-weight: 800;
	font-size: 15px;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease;
}

.pezi-story-button:hover {
	background: #a8471b;
	transform: translateY(-2px);
}

/* Hero */
.pezi-story-hero {
	padding: 140px 0 80px;
	background: var(--story-soft);
}

.pezi-story-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	gap: 64px;
	align-items: center;
}

.pezi-story-lead {
	font-size: 19px !important;
	max-width: 520px;
}

.pezi-story figure {
	margin: 0;
}

.pezi-story figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

.pezi-story-hero__media img {
	aspect-ratio: 4 / 5;
}

/* Blocs photo + texte */
.pezi-story-block {
	padding: 96px 0;
}

.pezi-story-block--soft {
	background: var(--story-soft);
}

.pezi-story-block__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
	gap: 72px;
	align-items: center;
}

.pezi-story-block__grid--reverse {
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
}

.pezi-story-block__media img {
	aspect-ratio: 4 / 5;
	max-height: 680px;
}

.pezi-story-block__text {
	max-width: 520px;
}

.pezi-story-facts {
	list-style: none;
	margin: 26px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.pezi-story-facts li {
	position: relative;
	padding-left: 26px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--story-text);
}

.pezi-story-facts li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--story-primary);
}

/* Vidéo */
.pezi-story-video {
	padding: 96px 0;
	text-align: center;
}

.pezi-story-video__frame {
	display: flex;
	justify-content: center;
	margin-top: 12px;
}

.pezi-story-video__frame video {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 80vh;
	border-radius: 20px;
	background: #000;
}

.pezi-story-video__embed {
	position: relative;
	width: min(100%, 960px);
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	overflow: hidden;
}

.pezi-story-video__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Appel final */
.pezi-story-cta {
	padding: 88px 0;
	background: var(--story-primary);
	text-align: center;
}

.pezi-story-cta h2,
.pezi-story-cta p {
	color: #fff !important;
	margin-inline: auto;
	max-width: 720px;
}

.pezi-story-cta p {
	opacity: 0.9;
}

.pezi-story-button--light {
	background: #fff;
	color: var(--story-primary) !important;
}

.pezi-story-button--light:hover {
	background: #fbeee6;
}

/* Mobile */
@media (max-width: 900px) {
	.pezi-story-wrap {
		width: min(1180px, 100% - 32px);
	}

	.pezi-story-hero {
		padding: 112px 0 56px;
	}

	.pezi-story-hero__grid,
	.pezi-story-block__grid,
	.pezi-story-block__grid--reverse {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	/* Sur mobile : toujours le texte d'abord, puis la photo. */
	.pezi-story-block__grid .pezi-story-block__media {
		order: 2;
	}

	.pezi-story-block,
	.pezi-story-video {
		padding: 64px 0;
	}

	.pezi-story-block__media img,
	.pezi-story-hero__media img {
		max-height: 520px;
	}

	.pezi-story p {
		font-size: 16px;
	}

	.pezi-story-cta {
		padding: 64px 0;
	}
}
