html,
body.home-body {
	min-height: 100%;
}

body.home-body {
	margin: 0;
	background: #edf3f7 !important;
	color: #2f4659;
	font-family: "Open Sans", Arial, sans-serif;
}

.home-body *,
.home-body *:before,
.home-body *:after {
	box-sizing: border-box;
}

.home-page {
	position: relative;
	min-height: 100vh;
	padding: 34px 20px;
	overflow: hidden;
}

.home-page:before,
.home-page:after {
	position: fixed;
	z-index: 0;
	content: "";
	border-radius: 50%;
	pointer-events: none;
}

.home-page:before {
	top: -190px;
	right: -140px;
	width: 440px;
	height: 440px;
	background: rgba(34, 94, 139, .10);
}

.home-page:after {
	bottom: -220px;
	left: -170px;
	width: 480px;
	height: 480px;
	background: rgba(61, 130, 113, .08);
}

.home-shell {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
}

/* Cabeçalho */

.home-brand {
	display: flex;
	align-items: center;
	gap: 26px;
	margin-bottom: 20px;
	padding: 23px 28px;
	border: 1px solid #d5e1e9;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(34, 65, 88, .08);
}

.home-brand-logo {
	display: block;
	width: 100%;
	max-width: 340px;
}

.home-brand-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.home-brand-copy {
	padding-left: 26px;
	border-left: 1px solid #dce5eb;
}

.home-brand-eyebrow {
	display: block;
	margin-bottom: 5px;
	color: #39769e;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.home-brand h1 {
	margin: 0;
	color: #123f68;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.2;
}

.home-brand p {
	margin: 7px 0 0;
	color: #71818e;
	font-size: 13px;
	line-height: 1.5;
}

/* Serviços em destaque */

.home-featured {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.home-featured-card {
	--tone: #175481;
	--tone-dark: #103f63;
	display: flex;
	align-items: center;
	gap: 15px;
	min-height: 96px;
	padding: 20px 22px;
	border: 1px solid var(--tone);
	border-radius: 13px;
	background: var(--tone);
	box-shadow: 0 10px 24px rgba(34, 65, 88, .14);
	color: #fff !important;
	text-decoration: none !important;
	transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-featured-card:hover,
.home-featured-card:focus {
	background: var(--tone-dark);
	box-shadow: 0 14px 28px rgba(20, 44, 65, .22);
	transform: translateY(-2px);
}

.home-featured-card:focus {
	outline: 3px solid rgba(57, 124, 169, .35);
	outline-offset: 2px;
}

.home-tone-blue {
	--tone: #175481;
	--tone-dark: #103f63;
}

.home-tone-green {
	--tone: #2d775b;
	--tone-dark: #235f48;
}

.home-tone-teal {
	--tone: #2b6f8f;
	--tone-dark: #205670;
}

.home-featured-icon {
	display: flex;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 11px;
	background: rgba(255, 255, 255, .14);
	font-size: 22px;
}

.home-featured-copy {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	gap: 3px;
}

.home-featured-copy strong {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.home-featured-copy span {
	color: rgba(255, 255, 255, .82);
	font-size: 12px;
	line-height: 1.45;
}

.home-featured-arrow {
	font-size: 22px;
	opacity: .7;
	transition: transform .2s ease, opacity .2s ease;
}

.home-featured-card:hover .home-featured-arrow {
	opacity: 1;
	transform: translateX(3px);
}

/* Grupos de serviços */

.home-groups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.home-panel {
	padding: 24px 26px 26px;
	border: 1px solid #d5e1e9;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(34, 65, 88, .08);
}

.home-panel-header {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e2e9ee;
}

.home-panel-icon {
	display: flex;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	background: #e7f0f7;
	color: #245f89;
	font-size: 19px;
}

.home-panel h2 {
	margin: 0;
	color: #173f61;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.home-panel-header p {
	margin: 3px 0 0;
	color: #788793;
	font-size: 12px;
}

.home-links {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.home-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	border: 1px solid #e6ecf2;
	border-radius: 9px;
	background: #fff;
	color: #2f4659 !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-link:hover,
.home-link:focus {
	border-color: #b9d4ea;
	background: #f7fbff;
	box-shadow: 0 6px 16px rgba(26, 74, 115, .08);
	transform: translateY(-1px);
}

.home-link:focus {
	outline: 3px solid rgba(57, 124, 169, .25);
	outline-offset: 1px;
}

.home-link-icon {
	display: flex;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #e9f4ef;
	color: #2c795a;
	font-size: 15px;
}

.home-link-text {
	flex: 1;
	min-width: 0;
	line-height: 1.4;
}

.home-link-external {
	color: #9aabb8;
	font-size: 12px;
}

@media (max-width: 900px) {
	.home-featured {
		grid-template-columns: 1fr;
	}

	.home-groups {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 780px) {
	.home-page {
		padding: 18px 12px;
	}

	.home-brand {
		flex-direction: column;
		align-items: flex-start;
		gap: 17px;
		padding: 21px;
	}

	.home-brand-logo {
		max-width: 290px;
	}

	.home-brand-copy {
		padding: 15px 0 0;
		border-top: 1px solid #dce5eb;
		border-left: 0;
	}

	.home-brand h1 {
		font-size: 22px;
	}

	.home-panel {
		padding: 20px 18px 22px;
	}
}
