/**
 * Contato.
 * Medidas extraídas de recursos/pronpts/referencias/contato.*.
 */

.vt-contato {
	padding: 120px 0;
	overflow: hidden;
	background-image: url("../../img/contato/contato-bg.webp");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	color: var(--vt-color-white);
}

.vt-contato__inner {
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
}

.vt-contato__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	gap: 48px;
	padding: 0 28px;
}

.vt-contato__left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 14px;
	min-width: 0;
	padding-top: 42px;
}

.vt-contato__title {
	width: 100%;
	margin: 0;
	color: var(--vt-color-white);
	font-size: 50px;
	font-weight: 800;
	line-height: 52.5px;
	letter-spacing: -1.25px;
	text-align: left;
}

.vt-contato__title-accent {
	color: #a8c8ee;
}

.vt-contato__lead {
	width: 100%;
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 18px;
	font-weight: 500;
	line-height: 27.9px;
}

.vt-contato__cards {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
	padding-top: 26px;
}

.vt-contato__card {
	display: flex;
	align-items: center;
	gap: 18px;
	width: 100%;
	min-height: 82px;
	padding: 18px 22px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.07);
}

.vt-contato__card--link {
	color: var(--vt-color-white);
	text-decoration: none;
}

.vt-contato__card--link:hover,
.vt-contato__card--link:focus-visible {
	color: var(--vt-color-white);
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.5);
}

.vt-contato__card--link:focus-visible {
	outline: 2px solid var(--vt-color-white);
	outline-offset: 3px;
}

.vt-contato__card-icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
}

.vt-contato__card-icon svg {
	display: block;
	width: 32px;
	height: 32px;
}

.vt-contato__card-body {
	display: block;
	min-width: 0;
}

.vt-contato__card-label {
	display: block;
	margin-bottom: 3px;
	color: var(--vt-color-white);
	font-size: 11px;
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 1.1px;
	text-transform: uppercase;
}

.vt-contato__card-label a {
	color: inherit;
}

.vt-contato__card-value {
	display: block;
	color: var(--vt-color-white);
	font-size: 15px;
	font-weight: 700;
	line-height: 23.25px;
}

.vt-contato__panel {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	padding: 40px;
	border-radius: 14px;
	background: var(--vt-color-white);
}

.vt-contato__form-title {
	width: 100%;
	margin: 0;
	padding: 0;
	color: var(--vt-color-ink);
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
	text-align: left;
}

.vt-contato__form-subtitle,
.vt-contato__notice {
	width: 100%;
	margin: 0;
	color: #6a7280;
	font-size: 15px;
	font-weight: 400;
	line-height: 26.35px;
}

.vt-contato__notice {
	text-align: center;
}

.vt-contato__form {
	width: 100%;
	margin: 0;
	padding: 30px 0;
	background: var(--vt-color-white);
}

.vt-contato__fields {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -5px;
}

.vt-contato__field {
	width: 50%;
	margin-bottom: 18px;
	padding: 0 5px;
}

.vt-contato__field--full {
	width: 100%;
}

.vt-contato__label {
	display: block;
	margin: 0;
	padding-bottom: 3px;
	color: var(--vt-color-body);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-transform: uppercase;
}

.vt-contato__field input,
.vt-contato__field textarea {
	display: block;
	width: 100%;
	min-height: 47px;
	padding: 6px 16px;
	border: 1px solid #e2e4e8;
	border-radius: 8px;
	background: var(--vt-color-white);
	color: #757575;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
}

.vt-contato__field input::placeholder,
.vt-contato__field textarea::placeholder {
	color: inherit;
	opacity: 0.6;
}

.vt-contato__error {
	display: block;
	margin-top: 4px;
	color: #b32d2e;
	font-size: 13px;
	line-height: 1.4;
}

.vt-contato__error:empty {
	display: none;
}

.vt-contato__submit {
	width: 100%;
	padding: 0 5px;
}

.vt-contato__submit-button {
	display: block;
	width: 100%;
	margin: 0;
	padding: 20px;
	border: 0;
	border-radius: 100px;
	background: var(--vt-color-blue-600);
	color: var(--vt-color-white);
	font-family: var(--vt-font-sans);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s;
}

.vt-contato__feedback:not(:empty) {
	margin-top: 14px;
	color: var(--vt-color-body);
	font-size: 15px;
	line-height: 1.5;
}

.vt-contato__feedback {
	scroll-margin-top: var(--vt-anchor-offset);
}

.vt-contato__form {
	scroll-margin-top: var(--vt-anchor-offset);
}

.vt-contato__feedback.is-error {
	color: #b32d2e;
}

.vt-contato__feedback.is-success {
	color: #1f7a3f;
}

.vt-contato__field input[aria-invalid="true"],
.vt-contato__field textarea[aria-invalid="true"] {
	border-color: #b32d2e;
}

.vt-contato__submit-button:disabled {
	opacity: 0.7;
	cursor: wait;
}

.vt-contato__feedback-retry {
	padding: 3px 10px;
	border: 1px solid currentColor;
	border-radius: 100px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.vt-contato__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 1024px) {
	.vt-contato__row {
		gap: 28px;
	}
}

@media (max-width: 767px) {
	.vt-contato {
		padding: 60px 0;
	}

	.vt-contato__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px 0;
		padding: 0 10px;
	}

	.vt-contato__left,
	.vt-contato__panel {
		width: 100%;
	}

	.vt-contato__title {
		font-size: 40px;
	}

	.vt-contato__lead {
		font-size: 16px;
	}

	.vt-contato__card-icon,
	.vt-contato__card-icon svg {
		width: 24px;
		height: 24px;
	}

	.vt-contato__panel {
		padding: 30px 10px;
	}

	.vt-contato__form-title {
		padding-bottom: 10px;
		font-size: 26px;
	}

	.vt-contato__field input,
	.vt-contato__field textarea {
		font-size: 14px;
	}
}
