/* Melhorias de leitura e apresentação institucional - IFX-6361, IFX-6365 e IFX-6368 */
.home-services .home-intro-card {
	position: relative;
	padding: 28px 30px 30px;
	background: #f7f8fb;
	border: 1px solid #e5e8f0;
	border-left: 5px solid #ffb016;
	border-radius: 4px;
	box-shadow: 0 14px 35px rgba(5, 25, 84, 0.08);
}

.home-services .home-intro-card::before {
	content: "";
	position: absolute;
	top: 22px;
	right: 24px;
	width: 34px;
	height: 5px;
	background: #051954;
	box-shadow: 12px 10px 0 #ffb016;
}

.home-services .home-intro-copy {
	max-width: 680px;
	padding-right: 54px;
}

.home-services .home-intro-copy p {
	margin: 0;
	color: #17223f;
	font-size: 17px;
	line-height: 1.75;
}

.home-services .home-intro-card .default-button {
	margin-top: 22px;
}

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

.wrap-about .about-story-grid p {
	position: relative;
	margin: 0;
	padding: 28px 30px 28px 34px;
	background: #ffffff;
	border: 1px solid #e5e8f0;
	border-radius: 4px;
	box-shadow: 0 12px 30px rgba(5, 25, 84, 0.07);
	color: #29334b;
	font-size: 16px;
	line-height: 1.75;
}

.wrap-about .about-story-grid p::before {
	content: "";
	position: absolute;
	top: 28px;
	left: 0;
	width: 5px;
	height: 42px;
	background: #ffb016;
}

.wrap-about .about-story-grid p:first-child {
	grid-column: 1 / -1;
	padding: 34px 38px;
	background: #051954;
	border-color: #051954;
	color: #ffffff;
	font-size: 18px;
	line-height: 1.7;
}

.wrap-about .about-story-grid p:first-child::before {
	top: 0;
	left: 38px;
	width: 80px;
	height: 5px;
}

.wrap-about .about-story-grid p:last-child {
	grid-column: 1 / -1;
	column-count: 2;
	column-gap: 48px;
	column-rule: 1px solid #e7eaf0;
}

.wrap-about .gallery {
	position: relative;
	margin-top: 76px;
	padding: 76px 24px 82px;
	background: linear-gradient(145deg, #eef2f8 0%, #f8f9fc 58%, #eef3fb 100%);
	border-top: 1px solid #e1e6ef;
	border-bottom: 1px solid #e1e6ef;
}

.wrap-about .gallery-intro {
	max-width: 1408px;
	margin: 0 auto 30px;
}

.wrap-about .gallery-intro span {
	display: inline-block;
	margin-bottom: 9px;
	color: #e89200;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.wrap-about .gallery-intro h2 {
	max-width: 720px;
	margin: 0 0 10px;
	color: #051954;
	font-size: 34px;
	line-height: 1.18;
}

.wrap-about .gallery-intro p {
	margin: 0;
	color: #5b6578;
	font-size: 15px;
	line-height: 1.6;
}

.wrap-about .gallery .row.expanded {
	display: grid !important;
	grid-template-columns: minmax(0, 1.44fr) minmax(0, 1fr);
	gap: 16px;
	max-width: 1408px;
	margin: 0 auto;
}

.wrap-about .gallery .row.expanded > .sm-12 {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
}

.wrap-about .gallery .row.expanded > .sm-12:first-child,
.wrap-about .gallery .gallery-card,
.wrap-about .gallery .gallery-card figure,
.wrap-about .gallery .small-items,
.wrap-about .gallery .small-items .item {
	min-width: 0;
	min-height: 0;
}

.wrap-about .gallery .gallery-card {
	position: relative;
	display: block;
	height: 100%;
	overflow: hidden;
	background: #dfe5ee;
	border: 1px solid rgba(5, 25, 84, 0.1);
	border-radius: 14px;
	box-shadow: 0 18px 42px rgba(5, 25, 84, 0.14);
}

.wrap-about .gallery .gallery-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 58%, rgba(5, 25, 84, 0.46) 100%);
	pointer-events: none;
}

.wrap-about .gallery .gallery-card::after {
	content: "+";
	position: absolute;
	right: 18px;
	bottom: 18px;
	z-index: 2;
	width: 42px;
	height: 42px;
	background: #ffb016;
	border-radius: 50%;
	box-shadow: 0 8px 20px rgba(5, 25, 84, 0.24);
	color: #051954;
	font-size: 25px;
	font-weight: 700;
	line-height: 42px;
	text-align: center;
	transition: transform 180ms ease, background-color 180ms ease;
}

.wrap-about .gallery .gallery-card figure {
	position: relative;
	height: 100%;
	margin: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	transition: transform 320ms ease;
}

.wrap-about .gallery .gallery-card-main figure {
	aspect-ratio: 4 / 3;
}

.wrap-about .gallery .gallery-card figure img {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.wrap-about .gallery .gallery-card:hover figure,
.wrap-about .gallery .gallery-card:focus figure {
	transform: scale(1.035);
}

.wrap-about .gallery .gallery-card:hover::after,
.wrap-about .gallery .gallery-card:focus::after {
	background: #ffffff;
	transform: translateY(-3px);
}

.wrap-about .gallery .small-items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 16px;
	height: 100%;
}

.wrap-about .gallery .small-items .item {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

.wrap-about .motors {
	padding: 88px 0 96px;
	background: #f6f8fc;
}

.wrap-about .motors .title.centered {
	margin-bottom: 42px;
}

.wrap-about .motors .support-brands {
	margin: 0;
}

.wrap-about .motors .support-group {
	margin: 0 0 22px;
	padding: 28px 30px 30px;
	background: #ffffff;
	border: 1px solid #e3e8f0;
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(5, 25, 84, 0.07);
}

.wrap-about .motors .support-group:last-child {
	margin-bottom: 0;
}

.wrap-about .motors .support-group > h3 {
	display: inline-flex;
	align-items: center;
	margin: 0 0 20px;
	padding: 9px 14px;
	background: #051954;
	border: 0;
	border-radius: 7px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
}

.wrap-about .motors .support-group > h3::before {
	content: "";
	width: 7px;
	height: 7px;
	margin-right: 9px;
	background: #ffb016;
	border-radius: 50%;
}

.wrap-about .motors .support-group ul {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wrap-about .motors .support-group li {
	display: flex !important;
	float: none !important;
	align-items: center;
	justify-content: center;
	width: calc((100% - 64px) / 5) !important;
	min-height: 128px;
	padding: 24px;
	background: #f9fafc;
	border: 1px solid #e8ebf1;
	border-radius: 10px;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wrap-about .motors .support-group li:hover {
	border-color: rgba(255, 176, 22, 0.8);
	box-shadow: 0 12px 28px rgba(5, 25, 84, 0.1);
	transform: translateY(-3px);
}

.wrap-about .motors .support-group li img {
	display: block;
	width: auto !important;
	max-width: 100%;
	max-height: 72px;
	object-fit: contain;
}

.wrap-condominiums .condo-intro-card {
	position: relative;
	padding: 34px 36px 36px;
	background: #ffffff;
	border-top: 5px solid #ffb016;
	border-radius: 4px;
	box-shadow: 0 16px 38px rgba(5, 25, 84, 0.11);
}

.wrap-condominiums .silver-area .condo-intro-card h2 {
	margin-top: 0;
	margin-bottom: 18px;
	color: #051954;
	font-size: 30px;
	line-height: 1.2;
}

.wrap-condominiums .condo-intro-copy p,
.wrap-condominiums .condo-benefits-copy p {
	color: #34405b;
	font-size: 16px;
	line-height: 1.7;
}

.wrap-condominiums .condo-intro-card .default-button {
	margin-top: 14px;
}

.wrap-condominiums .condo-benefits-card {
	position: relative;
	padding: 30px 34px;
	background: rgba(255, 255, 255, 0.97);
	border: 1px solid #e1e5ed;
	border-radius: 4px;
	box-shadow: 0 14px 34px rgba(5, 25, 84, 0.1);
}

.wrap-condominiums .silver-area .bottom .inner .condo-benefits-card h3 {
	margin-top: 0;
	padding-bottom: 14px;
	border-bottom: 1px solid #e7eaf0;
	font-size: 19px;
	line-height: 1.45;
}

.wrap-condominiums .condo-benefits-copy p:last-child {
	margin-bottom: 0;
}

.wrap-condominiums .silver-area .bottom .inner .condo-economy-card {
	position: relative;
	margin-top: 46px;
	padding: 34px 30px;
	border-top: 5px solid #ffb016;
	box-shadow: 0 16px 36px rgba(5, 25, 84, 0.18);
}

.wrap-condominiums .silver-area .bottom .inner .condo-economy-card::before {
	content: "+";
	position: absolute;
	top: -20px;
	left: 50%;
	width: 38px;
	height: 38px;
	margin-left: -19px;
	background: #ffb016;
	border-radius: 50%;
	color: #051954;
	font-size: 26px;
	font-weight: 700;
	line-height: 38px;
	text-align: center;
}

.wrap-services .service-detail-copy--structured {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 34px 0 42px;
	padding: 34px;
	background: linear-gradient(145deg, #f6f8fc 0%, #ffffff 100%);
	border: 1px solid #e2e6ee;
	border-top: 5px solid #ffb016;
	border-radius: 6px;
	box-shadow: 0 16px 38px rgba(5, 25, 84, 0.1);
}

.wrap-services .service-detail-copy--structured > h1,
.wrap-services .service-detail-copy--structured > hr,
.wrap-services .service-detail-copy--structured > h3,
.wrap-services .service-detail-copy--structured > h3 + p,
.wrap-services .service-detail-copy--with-kicker > h1 + p {
	grid-column: 1 / -1;
}

.wrap-services .service-detail-copy--structured > h1 {
	margin: 0 0 2px;
	color: #051954;
	font-size: 34px;
	line-height: 1.15;
}

.wrap-services .service-detail-copy--structured > p {
	position: relative;
	margin: 0;
	padding: 24px 24px 24px 28px;
	color: #26334e;
	font-size: 16px;
	line-height: 1.75;
	background: #ffffff;
	border: 1px solid #e5e8ef;
	border-radius: 5px;
	box-shadow: 0 9px 24px rgba(5, 25, 84, 0.06);
}

.wrap-services .service-detail-copy--structured > p::before {
	content: "";
	position: absolute;
	top: 24px;
	bottom: 24px;
	left: 0;
	width: 4px;
	background: #ffb016;
}

.wrap-services .service-detail-copy--with-kicker > h1 + p {
	justify-self: start;
	padding: 6px 12px;
	color: #051954;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background: #fff1d2;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
}

.wrap-services .service-detail-copy--with-kicker > h1 + p::before {
	display: none;
}

.wrap-services .service-detail-copy--structured > hr {
	width: 100%;
	margin: 10px 0 0;
	border: 0;
	border-top: 1px solid #dfe4ed;
}

.wrap-services .service-detail-copy--structured > h3 {
	margin: 4px 0 -2px;
	color: #051954;
	font-size: 22px;
	line-height: 1.25;
}

.wrap-services .service-detail-copy--structured > h3 + p {
	background: #051954;
	border-color: #051954;
	color: #ffffff;
}

@media (max-width: 64em) {
	.wrap-services .service-detail-copy--structured {
		padding: 28px;
	}

	.wrap-about .about-story-grid {
		grid-template-columns: 1fr;
	}

	.wrap-about .about-story-grid p:first-child {
		grid-column: auto;
	}

	.wrap-about .about-story-grid p:last-child {
		grid-column: auto;
		column-count: 1;
		column-rule: 0;
	}

	.wrap-about .gallery {
		padding-right: 28px;
		padding-left: 28px;
	}

	.wrap-about .gallery .row.expanded {
		grid-template-columns: 1fr;
	}

	.wrap-about .gallery .small-items {
		height: auto;
	}

	.wrap-about .gallery .small-items .gallery-card figure {
		height: auto;
		aspect-ratio: 4 / 3;
	}

	.wrap-about .motors .support-group li {
		width: calc((100% - 32px) / 3) !important;
	}

	.wrap-condominiums .condo-intro-card,
	.wrap-condominiums .condo-benefits-card {
		padding: 26px;
	}
}

@media (max-width: 40em) {
	.wrap-services .service-detail-copy--structured {
		grid-template-columns: 1fr;
		gap: 14px;
		margin: 26px 0 34px;
		padding: 22px 18px;
	}

	.wrap-services .service-detail-copy--structured > h1 {
		font-size: 28px;
	}

	.wrap-services .service-detail-copy--structured > p {
		padding: 21px 20px 21px 24px;
		font-size: 15px;
		line-height: 1.7;
	}

	.wrap-services .service-detail-copy--structured > p::before {
		top: 21px;
		bottom: 21px;
	}

	.home-services .home-intro-card {
		margin-top: 24px;
		padding: 24px 22px;
	}

	.home-services .home-intro-card::before {
		top: 18px;
		right: 18px;
	}

	.home-services .home-intro-copy {
		padding-right: 36px;
	}

	.home-services .home-intro-copy p,
	.wrap-about .about-story-grid p,
	.wrap-condominiums .condo-intro-copy p,
	.wrap-condominiums .condo-benefits-copy p {
		font-size: 15px;
		line-height: 1.7;
	}

	.wrap-about .about-story-grid {
		gap: 14px;
	}

	.wrap-about .about-story-grid p,
	.wrap-about .about-story-grid p:first-child {
		padding: 24px 22px 24px 26px;
	}

	.wrap-about .about-story-grid p:first-child {
		font-size: 16px;
	}

	.wrap-about .about-story-grid p:first-child::before {
		left: 26px;
	}

	.wrap-about .gallery {
		margin-top: 50px;
		padding: 52px 16px 58px;
	}

	.wrap-about .gallery-intro {
		margin-bottom: 22px;
	}

	.wrap-about .gallery-intro h2 {
		font-size: 27px;
	}

	.wrap-about .gallery .row.expanded,
	.wrap-about .gallery .small-items {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.wrap-about .gallery .gallery-card {
		border-radius: 10px;
	}

	.wrap-about .gallery .gallery-card::after {
		right: 13px;
		bottom: 13px;
		width: 36px;
		height: 36px;
		font-size: 22px;
		line-height: 36px;
	}

	.wrap-about .motors {
		padding: 58px 0 66px;
	}

	.wrap-about .motors .title.centered {
		margin-bottom: 28px;
	}

	.wrap-about .motors .support-group {
		margin-right: 15px;
		margin-left: 15px;
		padding: 22px 16px 18px;
	}

	.wrap-about .motors .support-group li {
		width: calc((100% - 12px) / 2) !important;
		min-height: 102px;
		padding: 16px;
	}

	.wrap-about .motors .support-group li img {
		max-height: 56px;
	}

	.wrap-condominiums .condo-intro-card,
	.wrap-condominiums .condo-benefits-card {
		margin: 20px 15px 0;
		padding: 24px 22px;
	}

	.wrap-condominiums .silver-area .condo-intro-card h2 {
		font-size: 24px;
	}

	.wrap-condominiums .silver-area .bottom .inner .condo-economy-card {
		margin: 40px 15px 0;
	}
}
