/* Os seletores de titulo do passo aparecem em par: "... h3" e
   "... .elementor-heading-title" — o widget de titulo do Elementor traz uma
   regra de cor que pesa (0,2,0) e ganharia de ".isp-passo h3" (0,1,1).
   Ver a mesma nota em 15-servico-recebe.css. */

/* =========================================================================
   COMO FUNCIONA — faixa clara, cabecalho + quatro cards largos 2x2
   Figma: Frame 35733 (1014:876), y 3613–4601.

   Este bloco esta em outra escala no arquivo (eyebrow 13.119, titulo 37.716,
   raio 16.398): sao numeros de um grupo que foi redimensionado no Figma.
   Ficam como estao, para bater com o render.
   ========================================================================= */

#isp-como {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 60px;
	padding: 120px 50px;
	background-color: var(--isp-branco);
	color: var(--isp-chumbo);
	overflow: hidden;
}

#isp-como > .e-con {
	margin: 0;
	padding: 0;
}

#isp-como > .elementor-widget {
	width: 100%;
	margin: 0;
	padding: 0;
}

/* O cabecalho desta seção e mais estreito e tem gap proprio. */
#isp-como-topo {
	width: 628px;
	gap: 34.436px;
}

#isp-como .isp-servico__eyebrow .elementor-heading-title {
	max-width: 508.345px;
	font-size: 13.119px;
	line-height: 21.318px;
	letter-spacing: 1.3119px;
}

/* O titulo esta 0,12 grau fora do prumo no arquivo — e de proposito. */
#isp-como .isp-servico__titulo .elementor-heading-title {
	width: 398px;
	max-width: 100%;
	margin-inline: auto;
	font-size: 37.716px;
	line-height: 42.635px;
	transform: rotate(0.12deg);
}

#isp-como .isp-servico__lead {
	max-width: 492px;
	font-size: 16px;
	line-height: 22.958px;
	color: rgba(13, 13, 13, 0.6);
}

/* ---------- Os quatro cards ---------- */
.isp-passos {
	display: grid;
	grid-template-columns: repeat(2, 594px);
	gap: 17.218px 17px;
	justify-content: center;
	width: 100%;
	max-width: var(--isp-largura);
	margin-inline: auto;
}

/* Pedido do cliente (26/08/2026): os quatro cards ficam claros e o azul da
   marca vira o hover, como na seção "Para quem e". */
.isp-passo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 19.678px;
	min-height: 243px;
	padding: 30px 20px;
	border: 0.82px solid rgba(97, 97, 249, 0);
	border-radius: 16.398px;
	background-color: #fdfdfd;
	transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
	.isp-passo:hover {
		background-color: var(--isp-azul);
		transform: translateY(-2px);
		box-shadow: 0 18px 40px rgba(5, 60, 250, 0.18);
	}

	.isp-passo:hover .isp-passo__ico {
		color: #ffffff;
	}

	.isp-passo:hover h3,
	.isp-passo:hover .elementor-heading-title {
		color: #ffffff;
	}

	.isp-passo:hover p {
		color: rgba(253, 253, 253, 0.78);
	}
}

.isp-passo__ico {
	display: block;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	color: var(--isp-azul);
}


.isp-passo__ico svg {
	display: block;
	width: 100%;
	height: 100%;
}

.isp-passo h3,
.isp-passo .elementor-heading-title {
	text-box-trim: trim-both;
	text-box-edge: cap alphabetic;
	margin: 0;
	font-family: var(--isp-fonte-corpo);
	font-size: 20px;
	line-height: 16.786px;
	font-weight: 400;
	color: var(--isp-chumbo);
	transition: color 0.25s ease;
}


.isp-passo p {
	text-box-trim: trim-both;
	text-box-edge: cap alphabetic;
	margin: 0;
	max-width: 537px;
	font-family: var(--isp-fonte-titulo);
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;
	color: rgba(13, 13, 13, 0.6);
	transition: color 0.25s ease;
}


/* =========================================================================
   RESPONSIVO
   ========================================================================= */

@media (max-width: 1280px) {
	.isp-passos {
		grid-template-columns: minmax(0, 1fr);
		max-width: 620px;
		margin-inline: auto;
	}
}

@media (max-width: 1024px) {
	#isp-como {
		gap: 48px;
		padding: 80px var(--isp-margem);
	}

	#isp-como-topo {
		width: 100%;
	}

	#isp-como .isp-servico__titulo .elementor-heading-title {
		width: auto;
		font-size: 32px;
		line-height: 40px;
	}
}

/* =========================================================================
   COMO FUNCIONA NO CELULAR — Figma "04 COMO FUNCIONA" (390x1274 no Discovery)

   Regua: 64 | topo 174 | 14 | respiro 8 | 14 | passo | 14 | passo … | 64
   Os passos deixam a grade de duas colunas e viram uma pilha de 342. Um
   deles e azul (o destaque do arquivo); os outros, quase brancos.
   ========================================================================= */
@media (max-width: 767px) {
	#isp-como {
		gap: 14px;
		padding: 64px var(--isp-margem);
	}

	#isp-como-topo {
		width: 100%;
		gap: 14px;
	}

	#isp-como .isp-servico__eyebrow .elementor-heading-title {
		font-size: 12px;
		line-height: 16px;
		letter-spacing: 1.6px;
	}

	#isp-como .isp-servico__titulo .elementor-heading-title {
		width: 100%;
		font-size: 26px;
		line-height: 32px;
	}

	#isp-como .isp-servico__lead {
		font-family: var(--isp-fonte-corpo);
		font-size: 14px;
		line-height: 22px;
	}

	.isp-passos {
		display: flex;
		flex-direction: column;
		gap: 14px;
		width: 100%;
	}

	.isp-passo {
		gap: 12px;
		padding: 20px;
		border-radius: 16px;
	}

	.isp-passo__ico {
		width: 30px;
		height: 30px;
		flex: 0 0 30px;
	}

	.isp-passo h3,
	.isp-passo .elementor-heading-title {
		font-size: 18px;
		line-height: 25px;
	}

	.isp-passo p {
		font-size: 14px;
		line-height: 22px;
	}
}
