/* « Un mot du pasteur » : fond blanc, photo à gauche (0,8 part) et texte à droite (1,2 part). */

.eaq-pasteur {
	background: #fff;
	padding: 96px 0;
}

.eaq-pasteur__grille {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 60px;
	align-items: center;
}

.eaq-pasteur__visuel {
	position: relative;
}

.eaq-pasteur__photo {
	height: 460px;
	overflow: hidden;
}

/* Cadrage de la maquette : le haut de la photo (le visage) reste visible. Le recul de l'ouverture part donc
   du haut, et la photo ne glisse pas dans son cadre (data-eaq-profondeur en couperait le haut). */
.eaq-pasteur__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
	transform-origin: 50% 0;
}

.eaq-pasteur__nom {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #0e3350;
	color: #f4f1ea;
	padding: 14px 20px;
	line-height: 1.35;
}

/* Le cartouche glisse en place une fois la photo ouverte (main.js, data-eaq-rideau). */
.eaq-rideau:not(.eaq-rideau--ouvert) ~ .eaq-pasteur__nom {
	opacity: 0;
	transform: translateX(-24px);
}

.eaq-rideau--ouvert ~ .eaq-pasteur__nom {
	transition: opacity .8s ease .9s, transform .9s cubic-bezier(.16, .84, .3, 1) .9s;
}

.eaq-pasteur__nom strong {
	display: block;
	font-size: 14.5px;
}

.eaq-pasteur__nom span {
	font-size: 12.5px;
	color: rgba(244, 241, 234, .7);
}

.eaq-pasteur__titre {
	margin: 0 0 22px;
	font-weight: 700;
	font-size: clamp(32px, 3.4vw, 46px);
	letter-spacing: -.03em;
	color: #0e3350;
}

.eaq-pasteur__citation {
	margin: 0 0 16px;
	font-family: 'Noto Serif', serif;
	font-size: 19px;
	line-height: 1.75;
	color: #2d3b47;
}

.eaq-pasteur__signature {
	margin: 0 0 30px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
	color: #556270;
}

@media (max-width: 820px) {
	.eaq-pasteur {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.eaq-pasteur__grille {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.eaq-pasteur__photo {
		height: 340px;
	}
}

@media (max-width: 600px) {
	.eaq-pasteur__grille {
		padding-left: 20px;
		padding-right: 20px;
	}
}
