.contact-page {
	width: 100%;
	max-width: 1120px;
	float: none !important;
	margin: 18px auto 30px;
	padding: 0 14px;
	box-sizing: border-box;
	color: #30495d;
	font-family: "Open Sans", Arial, sans-serif;
}

.contact-page *,
.contact-page *:before,
.contact-page *:after {
	box-sizing: border-box;
}

.contact-shell.Card {
	overflow: hidden;
	padding: 0 25px 26px;
	border: 1px solid #d5e1e9;
	border-radius: 13px;
	background: #f7fafc;
	box-shadow: 0 10px 30px rgba(34, 65, 88, .09);
}

/* Cabeçalho */

.contact-header {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0 -25px 22px;
	padding: 24px 27px;
	border-bottom: 1px solid #d5e1e9;
	background: #fff;
}

.contact-logo {
	width: 100%;
	max-width: 330px;
}

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

.contact-heading {
	padding-left: 26px;
	border-left: 1px solid #dce5eb;
}

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

.contact-heading h1 {
	margin: 0;
	color: #123f68;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
}

.contact-heading p {
	margin: 6px 0 0;
	color: #71818e;
	font-size: 13px;
	line-height: 1.45;
}

.contact-messages .ui-messages {
	margin: 0 0 18px;
}

/* Painéis */

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(260px, .75fr);
	gap: 20px;
	align-items: start;
}

.contact-panel {
	padding: 24px 26px 26px;
	border: 1px solid #d5e1e9;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(34, 65, 88, .06);
}

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

.contact-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;
}

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

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

/* Campos */

.contact-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.contact-field {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 7px;
}

.contact-field-full {
	grid-column: 1 / -1;
}

.contact-field label {
	color: #385269;
	font-size: 12px;
	font-weight: 700;
}

.contact-input.ui-inputfield {
	width: 100% !important;
	min-height: 42px;
	border: 1px solid #b9c9d5;
	border-radius: 7px;
	background: #fff !important;
	color: #2f4659;
	font-size: 13px;
	box-shadow: none;
}

.contact-input.ui-inputfield:focus {
	border-color: #397ca9;
	box-shadow: 0 0 0 3px rgba(57, 124, 169, .12);
}

.contact-input.ui-state-error {
	border-color: #c0504d;
}

.contact-uppercase {
	text-transform: uppercase;
}

.contact-uppercase::placeholder,
.contact-lowercase::placeholder {
	text-transform: none;
}

.contact-lowercase {
	text-transform: lowercase;
}

.contact-textarea.ui-inputtextarea {
	min-height: 130px;
	resize: vertical;
	line-height: 1.5;
	white-space: normal !important;
}

.contact-counter {
	align-self: flex-end;
	color: #8796a2;
	font-size: 11px;
}

/* Botões */

.contact-primary-button.ui-button,
.contact-secondary-button.ui-button,
.contact-link-button.ui-button {
	min-height: 42px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 700;
	text-shadow: none;
	box-shadow: none;
}

.contact-primary-button.ui-button {
	border: 1px solid #175481;
	background: #175481;
	color: #fff;
}

.contact-primary-button.ui-button:hover {
	border-color: #103f63;
	background: #103f63;
}

.contact-secondary-button.ui-button {
	width: 100%;
	margin-top: 16px;
	border: 1px solid #2d775b;
	background: #2d775b;
	color: #fff;
}

.contact-secondary-button.ui-button:hover {
	border-color: #235f48;
	background: #235f48;
}

.contact-link-button.ui-button {
	border: 1px solid #aebdca;
	background: #fff;
	color: #365b77;
}

.contact-link-button.ui-button:hover {
	border-color: #7791a5;
	background: #f4f7f9;
	color: #274d69;
}

.contact-actions {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid #e2e9ee;
}

.contact-actions .ui-button {
	width: auto !important;
	min-width: 150px;
}

.contact-actions .contact-primary-button.ui-button {
	min-width: 220px;
}

/* Painel lateral */

.contact-side-panel {
	display: flex;
	flex-direction: column;
}

.contact-action-icon {
	display: flex;
	width: 39px;
	height: 39px;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
	border-radius: 8px;
	background: #e9f4ef;
	color: #2c795a;
	font-size: 18px;
}

.contact-side-panel > p {
	margin: 7px 0 18px;
	color: #71818e;
	font-size: 12px;
	line-height: 1.55;
}

/* Diálogos */

.contact-dialog.ui-dialog {
	width: min(440px, calc(100vw - 30px)) !important;
	overflow: hidden;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 20px 55px rgba(20, 44, 65, .25);
}

.contact-dialog.ui-dialog .ui-dialog-content {
	padding: 22px 24px;
	background: #fff;
}

.contact-dialog-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 10px;
}

.contact-dialog-actions .ui-button {
	width: auto !important;
	min-width: 110px;
}

.contact-result {
	text-align: center;
}

.contact-result-icon {
	display: inline-flex;
	width: 45px;
	height: 45px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #e7f0f7;
	color: #245f89;
	font-size: 21px;
}

.contact-result h2 {
	margin: 12px 0 8px;
	color: #173f61;
	font-size: 19px;
}

.contact-result p {
	margin: 0 0 18px;
	color: #3b5367;
	font-size: 14px;
	line-height: 1.55;
}

.contact-result .ui-button {
	width: auto !important;
	min-width: 120px;
}

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

@media (max-width: 780px) {
	.contact-page {
		padding: 0 8px;
	}

	.contact-shell.Card {
		padding: 0 14px 18px;
	}

	.contact-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 17px;
		margin: 0 -14px 18px;
		padding: 21px;
	}

	.contact-logo {
		max-width: 290px;
	}

	.contact-heading {
		padding: 15px 0 0;
		border-top: 1px solid #dce5eb;
		border-left: 0;
	}

	.contact-heading h1 {
		font-size: 22px;
	}

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

@media (max-width: 560px) {
	.contact-fields {
		grid-template-columns: 1fr;
	}

	.contact-actions {
		flex-direction: column-reverse;
	}

	.contact-actions .ui-button,
	.contact-actions .contact-primary-button.ui-button {
		width: 100% !important;
		min-width: 0;
	}
}
