/* LR — Time (About 03). Valores = layout aprovado.
 *
 * < 1000px (ou retrato fixo desligado): cada pessoa mostra o próprio retrato.
 * ≥ 1000px com .has-viewer: retrato em arco fixo ao lado da lista (troca pela rolagem).
 */

.lr-team {
	--lr-team-line: var(--lr-primary);
	--lr-team-bar: var(--lr-teal);
	--lr-team-portrait-bg: var(--lr-primary);
	--lr-team-min-h: 52vh;
	position: relative;
	border-top: 1px solid var(--lr-line);
}

.lr-team__inner {
	max-width: var(--lr-max);
	margin: 0 auto;
	padding: clamp(80px, 10vw, 150px) var(--lr-gutter);
}

/* ------------------------------------------------------------------ header */

.lr-team__head {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 64px;
	justify-content: space-between;
	align-items: flex-end;
}

.lr-team__title {
	flex: 1 1 520px;
	min-width: 0;
	margin: 0;
	font-weight: 800;
	font-size: calc(clamp(38px, 4.8vw, 80px) * var(--lr-ts, 1));
	line-height: 1;
	letter-spacing: -.035em;
	color: var(--lr-primary);
	text-wrap: balance;
}

.lr-team__intro {
	flex: 0 1 460px;
	min-width: 0;
	font-size: calc(18px * var(--lr-ts, 1));
	line-height: 1.6;
	color: var(--lr-primary);
	text-wrap: pretty;
}

.lr-team__intro p + p {
	margin-top: 1em;
}

/* ------------------------------------------------------------------ body */

.lr-team__body {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(40px, 6vw, 110px);
	margin-top: clamp(48px, 6vw, 96px);
	align-items: flex-start;
}

/* viewer (sticky, ≥ 1000) */

.lr-team__viewer {
	display: none;
	flex: 1 1 380px;
	min-width: 0;
	max-width: 480px;
	position: sticky;
	top: 110px;
}

.lr-team__frame-wrap {
	position: relative;
	padding: 0 7% 0 0;
}

.lr-team__frame {
	position: absolute;
	right: 0;
	top: 6%;
	width: 93%;
	height: 94%;
	border-radius: 999px 999px 0 0;
	background-color: var(--lr-team-frame, var(--lr-mint));
	transition: background-color .8s ease;
}

.lr-team__box {
	position: relative;
	aspect-ratio: 4 / 5;
	max-height: calc(100vh - 300px);
	margin: 0 auto;
	overflow: hidden;
	border-radius: 999px 999px 0 0;
	background-color: var(--lr-team-portrait-bg);
}

.lr-team__photo {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(1.05);
	transition: opacity .8s ease, transform 1.2s var(--lr-ease);
}

.lr-team__photo.is-active {
	opacity: 1;
	transform: scale(1);
	z-index: 1;
}

/* Especificidade ≥ 0,2,0: vence ".elementor img". */
.lr-team__pic .lr-team__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 25%;
}

.lr-team__pic .lr-team__mark {
	width: 40%;
	height: auto;
}

.lr-team__note {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 16px;
	text-align: center;
	font-family: ui-monospace, Menlo, monospace;
	font-size: calc(10px * var(--lr-ts, 1));
	letter-spacing: .1em;
	color: var(--lr-white);
}

/* captions */

.lr-team__caps {
	position: relative;
	margin-top: 24px;
	min-height: 96px;
}

.lr-team__cap {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .6s ease, transform .7s var(--lr-ease);
}

.lr-team__cap.is-prev {
	transform: translateY(-14px);
}

.lr-team__cap.is-active {
	opacity: 1;
	transform: translateY(0);
}

.lr-team__cap-num {
	font-size: calc(13px * var(--lr-ts, 1));
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: .16em;
	color: var(--lr-teal);
}

.lr-team__cap-name {
	margin-top: 8px;
	font-weight: 800;
	font-size: calc(clamp(28px, 2.6vw, 40px) * var(--lr-ts, 1));
	line-height: 1.05;
	letter-spacing: -.03em;
	color: var(--lr-primary);
}

.lr-team__cap-role {
	margin-top: 6px;
	font-size: calc(15px * var(--lr-ts, 1));
	font-weight: 700;
	line-height: 1.4;
	color: var(--lr-teal);
}

/* ------------------------------------------------------------------ list */

.lr-team__list {
	flex: 1.3 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.lr-team__member {
	position: relative;
	padding: clamp(28px, 3vw, 44px) 0 clamp(48px, 6vw, 96px) clamp(20px, 2vw, 32px);
	border-top: 1.5px solid var(--lr-team-line);
	min-height: 0;
}

.lr-team__bar {
	position: absolute;
	left: 0;
	top: -1.5px;
	width: 4px;
	height: 0;
	background-color: var(--lr-team-bar);
	transition: height .7s var(--lr-ease);
}

/* Retrato por pessoa (< 1000px): mesma moldura em arco deslocada do viewer desktop. */
.lr-team__pwrap {
	position: relative;
	max-width: 366px;
	margin-bottom: 24px;
	padding: 0 7% 0 0;
}

.lr-team__portrait {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 999px 999px 0 0;
	background-color: var(--lr-team-portrait-bg);
}

.lr-team__portrait .lr-team__note {
	bottom: 14px;
}

.lr-team__name {
	margin: 0;
	font-weight: 800;
	font-size: calc(clamp(26px, 2.4vw, 36px) * var(--lr-ts, 1));
	line-height: 1.05;
	letter-spacing: -.025em;
	color: var(--lr-primary);
}

.lr-team__role {
	margin-top: 6px;
	font-size: calc(15px * var(--lr-ts, 1));
	font-weight: 700;
	line-height: 1.4;
	color: var(--lr-teal);
}

.lr-w .lr-team__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	padding: 2px 0;
	font-size: calc(14px * var(--lr-ts, 1));
	font-weight: 700;
	line-height: 1.3;
	color: var(--lr-primary);
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1.5px;
	transition: color .3s;
}

.lr-w .lr-team__link:hover,
.lr-w .lr-team__link:focus-visible {
	color: var(--lr-teal);
}

.lr-team__bio {
	margin-top: 22px;
	max-width: 620px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-size: calc(18px * var(--lr-ts, 1));
	line-height: 1.65;
	color: var(--lr-primary);
	text-wrap: pretty;
}

.lr-team__bio-hint {
	margin-top: 22px;
	max-width: 620px;
	padding: 16px 18px;
	border: 1.5px dashed var(--lr-primary);
	font-family: ui-monospace, Menlo, monospace;
	font-size: calc(12px * var(--lr-ts, 1));
	letter-spacing: .08em;
}

/* ------------------------------------------------------------------ viewer mode (≥ 1000) */

@media (min-width: 1000px) {
	.lr-team.has-viewer .lr-team__viewer {
		display: block;
	}

	.lr-team.has-viewer .lr-team__pwrap {
		display: none;
	}

	.lr-team.has-viewer .lr-team__member {
		min-height: var(--lr-team-min-h);
	}

	.lr-team.has-viewer .lr-team__member.is-active .lr-team__bar {
		height: 120px;
	}
}

/* Sem animação: trocas instantâneas. */
.lr-team.is-static .lr-team__frame,
.lr-team.is-static .lr-team__photo,
.lr-team.is-static .lr-team__cap,
.lr-team.is-static .lr-team__bar {
	transition: none;
}

/* Desktop/notebook (≥ 1000px): colunas sempre lado a lado (em 1000–1080px a soma das
 * bases não cabia e o bloco empilhava como no tablet). */
@media (min-width: 1000px) {
	.lr-team__head,
	.lr-team__body {
		flex-wrap: nowrap;
	}
}
