.jpt-timeline {
	--jpt-accent: #c99955;
	--jpt-line: #e0c59f;
	--jpt-row-gap: 52px;
	--jpt-center-gap: 88px;
	--jpt-icon-size: 70px;
	--jpt-number-size: 50px;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--jpt-row-gap);
	width: 100%;
	padding: 8px 0;
}

.jpt-timeline::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	background: var(--jpt-line);
	transform: translateX(-50%);
}

.jpt-step {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--jpt-center-gap) minmax(0, 1fr);
	align-items: center;
}

.jpt-number {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: 50%;
	box-sizing: border-box;
	width: var(--jpt-number-size);
	height: var(--jpt-number-size);
	display: grid;
	place-items: center;
	border: 1px solid var(--jpt-line);
	border-radius: 50%;
	background: #fff;
	color: var(--jpt-accent);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	transform: translate(-50%, -50%);
}

.jpt-number::before,
.jpt-number::after {
	content: "";
	position: absolute;
	left: 50%;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--jpt-accent);
	transform: translateX(-50%);
}

.jpt-number::before { top: -14px; }
.jpt-number::after { bottom: -14px; }

.jpt-card {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	padding: 24px 28px;
	display: flex;
	align-items: center;
	gap: 22px;
	border: 1px solid rgba(32, 38, 45, .05);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(25, 32, 40, .09);
}

.jpt-timeline--start-left .jpt-step:nth-child(odd) .jpt-card,
.jpt-timeline--start-right .jpt-step:nth-child(even) .jpt-card {
	grid-column: 1;
}

.jpt-timeline--start-left .jpt-step:nth-child(even) .jpt-card,
.jpt-timeline--start-right .jpt-step:nth-child(odd) .jpt-card {
	grid-column: 3;
}

.jpt-icon {
	box-sizing: border-box;
	width: var(--jpt-icon-size);
	height: var(--jpt-icon-size);
	display: grid;
	flex: 0 0 var(--jpt-icon-size);
	place-items: center;
	border: 1px solid #e8d3b6;
	border-radius: 50%;
	color: #c99955;
	font-size: 31px;
}

.jpt-icon svg {
	display: block;
	width: 31px;
	height: 31px;
	fill: currentColor;
}

.jpt-content { min-width: 0; }

.jpt-title {
	margin: 0;
	color: #191919;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
}

.jpt-title-line {
	display: block;
	width: 31px;
	height: 1px;
	margin: 9px 0 9px;
	background: var(--jpt-accent);
}

.jpt-description {
	color: #626262;
	font-size: 13px;
	line-height: 1.55;
}

.jpt-timeline--animated .jpt-step {
	opacity: 0;
	transition: opacity var(--jpt-duration, 650ms) ease var(--jpt-delay, 0ms), transform var(--jpt-duration, 650ms) cubic-bezier(.22, .61, .36, 1) var(--jpt-delay, 0ms);
}

.jpt-timeline--animated.jpt-effect-alternate .jpt-step:nth-child(odd) { transform: translateX(-46px); }
.jpt-timeline--animated.jpt-effect-alternate .jpt-step:nth-child(even) { transform: translateX(46px); }
.jpt-timeline--animated.jpt-effect-up .jpt-step { transform: translateY(42px); }
.jpt-timeline--animated.jpt-effect-fade .jpt-step { transform: none; }
.jpt-timeline--animated.jpt-effect-scale .jpt-step { transform: scale(.94); }
.jpt-timeline--animated .jpt-step.is-visible { opacity: 1; transform: none; }

@media (max-width: 767px) {
	.jpt-timeline {
		--jpt-row-gap: 24px;
		--jpt-icon-size: 52px;
		--jpt-mobile-rail: calc(var(--jpt-number-size) + 12px);
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		padding: 8px 0;
		overflow: visible;
	}

	.jpt-timeline::before {
		top: 8px;
		bottom: 8px;
		left: calc(var(--jpt-number-size) / 2 + 2px);
		transform: none;
	}

	.jpt-step {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		display: grid;
		grid-template-columns: var(--jpt-mobile-rail) minmax(0, 1fr);
		align-items: start;
	}

	.jpt-number {
		top: 26px;
		left: calc(var(--jpt-number-size) / 2 + 2px);
		font-size: 15px;
		transform: translate(-50%, -50%);
	}

	.jpt-number::before,
	.jpt-number::after {
		display: none;
	}

	.jpt-card {
		box-sizing: border-box;
		grid-column: 2 !important;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		padding: 20px;
		align-items: flex-start;
		gap: 15px;
		border-radius: 12px;
		box-shadow: 0 7px 20px rgba(25, 32, 40, .07);
	}

	.jpt-icon {
		font-size: 23px;
	}

	.jpt-icon svg {
		width: 23px;
		height: 23px;
	}

	.jpt-title {
		font-size: 17px;
	}

	.jpt-description {
		overflow-wrap: anywhere;
		font-size: 13px;
		line-height: 1.5;
	}

	.jpt-title {
		overflow-wrap: anywhere;
	}

	/* No mobile a entrada lateral não pode ampliar a largura da página. */
	.jpt-timeline--animated.jpt-effect-alternate .jpt-step:nth-child(odd),
	.jpt-timeline--animated.jpt-effect-alternate .jpt-step:nth-child(even) {
		transform: translateY(28px);
	}

	.jpt-timeline--animated .jpt-step.is-visible {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jpt-timeline--animated .jpt-step { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 420px) {
	.jpt-card {
		display: block;
	}

	.jpt-icon {
		margin-bottom: 15px;
	}
}
