/**
 * Solução v2 — dobras próprias (hero, jornada, diferenciais).
 * Stats, logos, CTA, blog e Digix vêm do CSS da Home v2.
 */

body.habix-solucao-v2 main.hv2,
body.habix-solucao-v2 .sv2,
body.habix-solucao-v2 .sv2-hero {
	overflow: visible !important;
}

body.habix-solucao-v2 .sv2-hero {
	padding: 0;
	background: #fff;
}

body.habix-solucao-v2 .sv2-hero__top {
	position: relative;
	z-index: 2;
	padding: 32px 0 0;
	background: #fff;
}

body.habix-solucao-v2 .sv2-hero__copy {
	width: min(100% - 48px, 920px);
	margin: 0 auto;
	text-align: center;
}

body.habix-solucao-v2 .sv2-hero__title {
	margin: 0 0 8px !important;
	color: var(--habix-title);
	font-family: Inter, sans-serif;
	font-size: var(--t-hero) !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-wrap: balance;
}

body.habix-solucao-v2 .sv2-hero__title span {
	color: var(--habix-accent);
	font-size: inherit !important;
	font-weight: inherit !important;
}

body.habix-solucao-v2 .sv2-hero__media {
	position: relative;
	z-index: 2;
	width: min(100% - 32px, 980px);
	margin: 0 auto -48px;
	line-height: 0;
	pointer-events: none;
}

body.habix-solucao-v2 .sv2-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	object-fit: contain;
	object-position: center bottom;
}

body.habix-solucao-v2 .sv2-hero__panel-wrap,
.sv2 .sv2-hero__panel-wrap {
	position: relative !important;
	z-index: 3 !important;
	width: min(100% - 48px, 888px) !important;
	max-width: 888px !important;
	margin: 0 auto !important;
}

body.habix-solucao-v2 .sv2-hero__panel,
.sv2 .sv2-hero__panel,
.sv2-hero__panel {
	position: relative !important;
	z-index: 3 !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 48px 24px 64px !important;
	overflow: hidden !important;
	border: 0 !important;
	border-radius: 90px 90px 0 0 !important;
	-webkit-border-radius: 90px 90px 0 0 !important;
	background: #2c006a !important;
	background-color: #2c006a !important;
	clip-path: inset(0 round 90px 90px 0 0) !important;
	-webkit-clip-path: inset(0 round 90px 90px 0 0) !important;
}

body.habix-solucao-v2 .sv2-hero__panel::before,
body.habix-solucao-v2 .sv2-hero__panel::after,
.sv2 .sv2-hero__panel::before,
.sv2 .sv2-hero__panel::after,
.sv2-hero__panel::before,
.sv2-hero__panel::after {
	content: none !important;
	display: none !important;
}

body.habix-solucao-v2 .sv2-hero__panel-inner {
	width: min(100% - 48px, 760px);
	margin: 0 auto;
	text-align: center;
}

body.habix-solucao-v2 .sv2-hero__panel-inner p {
	margin: 0 0 18px;
	color: #fff;
	font-family: Inter, sans-serif;
	font-size: 20px !important;
	line-height: 1.55;
	text-wrap: pretty;
}

body.habix-solucao-v2 .sv2-hero__panel-inner p:last-of-type {
	margin-bottom: 28px;
}

body.habix-solucao-v2 .sv2-hero__panel-inner .hv2-btn {
	margin: 0 auto;
}

body.habix-solucao-v2 .sv2-jornada,
body.habix-solucao-v2 .hv2-stats,
body.habix-solucao-v2 .hv2-social {
	background: #f2f2f5;
}

body.habix-solucao-v2 .sv2-jornada .hv2-section__title {
	max-width: 18em;
}

body.habix-solucao-v2 .sv2-only {
	background: #f2f2f5;
}

body.habix-solucao-v2 .sv2-only__inner {
	width: min(100% - 48px, 1200px);
	text-align: center;
}

body.habix-solucao-v2 .sv2-only__title {
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: var(--title-gap) !important;
	max-width: none;
	color: var(--habix-title) !important;
	text-align: center;
}

body.habix-solucao-v2 .sv2-only__title span {
	color: var(--habix-accent) !important;
	font-size: inherit !important;
}

body.habix-solucao-v2 .sv2-only__lead {
	margin: 0 auto 48px;
	max-width: 62ch;
	color: var(--habix-text);
	font-family: Inter, sans-serif;
	font-size: var(--t-body);
	line-height: 1.55;
	text-align: center;
	text-wrap: pretty;
}

body.habix-solucao-v2 .sv2-only__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 20px;
	align-items: start;
	padding: 28px 0 36px;
}

body.habix-solucao-v2 .sv2-only__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	min-width: 0;
	height: auto;
	min-height: 132px;
	padding: 42px 18px 40px;
	border-radius: 14px;
	background: #ebe4f5;
	text-align: center;
}

body.habix-solucao-v2 .sv2-only__card.is-open {
	min-height: 0;
	align-self: start;
}

body.habix-solucao-v2 .sv2-only__icon {
	position: absolute;
	top: 0;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: #2c006a;
	color: #fff;
	transform: translate(-50%, -50%);
}

body.habix-solucao-v2 .sv2-only__icon svg {
	width: 22px;
	height: 22px;
}

body.habix-solucao-v2 .sv2-only__name {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	margin: 0 !important;
	min-height: calc(22px * 1.3 * 2);
	color: var(--habix-title) !important;
	font-size: var(--t-card) !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

body.habix-solucao-v2 .sv2-only__card.is-open .sv2-only__name {
	margin-bottom: 12px !important;
	min-height: 0;
	-webkit-line-clamp: 3;
}

body.habix-solucao-v2 .sv2-only__body {
	display: none;
	overflow: hidden;
	flex: 0 0 auto;
}

body.habix-solucao-v2 .sv2-only__card.is-open .sv2-only__body {
	display: block;
}

body.habix-solucao-v2 .sv2-only__body p {
	margin: 0;
	color: var(--habix-text);
	font-family: Inter, sans-serif;
	font-size: var(--t-small);
	line-height: 1.5;
	text-wrap: pretty;
}

body.habix-solucao-v2 .sv2-only__toggle {
	position: absolute;
	bottom: 0;
	left: 50%;
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--habix-accent);
	color: #fff;
	cursor: pointer;
	transform: translate(-50%, 50%);
}

body.habix-solucao-v2 .sv2-only__toggle::before,
body.habix-solucao-v2 .sv2-only__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	background: #fff;
	transform: translate(-50%, -50%);
}

body.habix-solucao-v2 .sv2-only__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

body.habix-solucao-v2 .sv2-only__card.is-open .sv2-only__toggle::after {
	display: none;
}

@media (max-width: 900px) {
	body.habix-solucao-v2 .sv2-hero__media {
		margin-bottom: -32px;
	}

	body.habix-solucao-v2 .sv2-hero__panel {
		padding: 40px 20px 56px !important;
	}

	body.habix-solucao-v2 .sv2-only__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 20px;
	}
}

@media (max-width: 640px) {
	body.habix-solucao-v2 .sv2-hero__top {
		padding-top: 20px;
	}

	body.habix-solucao-v2 .sv2-hero__media {
		width: min(100% - 16px, 980px);
		margin-bottom: -24px;
	}

	body.habix-solucao-v2 .sv2-hero__panel {
		padding: 32px 16px 48px !important;
	}

	body.habix-solucao-v2 .sv2-only__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}
