/**
 * Trabalhe conosco.
 * Seção compacta, com formulário próprio e reutilização dos padrões do tema.
 */

.vt-careers {
	padding: 100px 0;
	background: var(--vt-color-white);
	color: var(--vt-color-body);
}

.vt-careers__inner {
	width: 100%;
	max-width: var(--vt-container);
	margin-inline: auto;
}

.vt-careers__row {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: 56px;
	align-items: start;
	padding: 0 28px;
}

.vt-careers__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding-top: 12px;
}

.vt-careers__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--vt-color-blue-600);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 2.2px;
	text-transform: uppercase;
}

.vt-careers__eyebrow::before {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	background: var(--vt-color-blue-600);
}

.vt-careers__title {
	max-width: 420px;
	margin: 0;
	color: var(--vt-color-blue-900);
	font-size: 46px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -1.15px;
}

.vt-careers__lead {
	max-width: 440px;
	margin: 0;
	color: var(--vt-color-muted);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
}

.vt-careers__panel {
	min-width: 0;
	padding: 34px 36px 28px;
	border: 1px solid var(--vt-color-line);
	border-radius: var(--vt-radius-sm);
	background: var(--vt-color-white);
	box-shadow: 0 18px 48px rgba(15, 18, 22, 0.06);
}

.vt-careers__form {
	width: 100%;
	margin: 0;
}

.vt-careers__required-note {
	margin: 0 0 16px;
	color: var(--vt-color-muted);
	font-size: 12px;
	line-height: 1.5;
}

.vt-careers__required-note span,
.vt-careers__required {
	color: var(--vt-color-blue-600);
}

.vt-careers__required {
	margin-left: 4px;
}

.vt-careers__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 18px;
}

.vt-careers__field {
	min-width: 0;
	margin-bottom: 16px;
}

.vt-careers__field--full {
	grid-column: 1 / -1;
}

.vt-careers__label {
	display: block;
	padding-bottom: 6px;
	color: var(--vt-color-body);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0.9px;
	text-transform: uppercase;
}

.vt-careers__field input,
.vt-careers__field textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--vt-color-line);
	border-radius: var(--vt-radius-xs);
	background: var(--vt-color-white);
	color: var(--vt-color-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
}

.vt-careers__field input:focus-visible,
.vt-careers__field textarea:focus-visible {
	border-color: var(--vt-color-blue-600);
}

.vt-careers__field input::placeholder,
.vt-careers__field textarea::placeholder {
	color: var(--vt-color-muted-2);
	opacity: 0.75;
}

.vt-careers__field textarea {
	min-height: 92px;
	resize: vertical;
}

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

.vt-careers__file-input {
	padding: 9px 12px;
	font-size: 14px;
	cursor: pointer;
}

.vt-careers__file-input::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	border: 1px solid var(--vt-color-blue-600);
	border-radius: var(--vt-radius-pill);
	background: var(--vt-color-white);
	color: var(--vt-color-blue-600);
	font-family: var(--vt-font-sans);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color var(--vt-transition), color var(--vt-transition);
}

.vt-careers__file-input::file-selector-button:hover {
	background: var(--vt-color-blue-600);
	color: var(--vt-color-white);
}

.vt-careers__file-name {
	display: none;
	margin-top: 6px;
	color: var(--vt-color-blue-700);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

html.vt-careers-js .vt-careers__file-name {
	display: block;
}

html.vt-careers-js .vt-careers__file-input {
	color: transparent;
}

.vt-careers__help {
	display: block;
	margin-top: 3px;
	color: var(--vt-color-muted);
	font-size: 12px;
	line-height: 1.5;
}

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

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

.vt-careers__submit {
	margin-top: 2px;
}

.vt-careers__submit-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 0;
	padding: 16px 30px;
	border: 0;
	border-radius: var(--vt-radius-pill);
	background: var(--vt-color-blue-600);
	color: var(--vt-color-white);
	font-family: var(--vt-font-sans);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.15px;
	box-shadow: var(--vt-shadow-button);
	cursor: pointer;
	transition: background-color var(--vt-transition), opacity var(--vt-transition);
}

.vt-careers__submit-button:hover {
	background: var(--vt-color-blue-700);
}

.vt-careers__submit-button:disabled {
	opacity: 0.75;
	cursor: wait;
}

.vt-careers__spinner {
	display: none;
	width: 15px;
	height: 15px;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: var(--vt-color-white);
	border-radius: 50%;
}

.vt-careers__submit-button.is-loading .vt-careers__spinner {
	display: inline-block;
	animation: vt-careers-spin 700ms linear infinite;
}

@keyframes vt-careers-spin {
	to {
		transform: rotate(360deg);
	}
}

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

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

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

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

.vt-careers__feedback-retry {
	padding: 3px 10px;
	border: 1px solid currentColor;
	border-radius: var(--vt-radius-pill);
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.vt-careers__privacy {
	margin: 18px 0 0;
	color: var(--vt-color-muted);
	font-size: 12.5px;
	line-height: 1.6;
}

.vt-careers__privacy a {
	color: var(--vt-color-blue-600);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.vt-careers__noscript {
	margin: 14px 0 0;
	padding: 12px 14px;
	border: 1px solid var(--vt-color-line-soft);
	border-radius: var(--vt-radius-xs);
	background: var(--vt-color-line-soft);
	color: var(--vt-color-body);
	font-size: 13px;
	line-height: 1.5;
}

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

@media (max-width: 1024px) {
	.vt-careers__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.vt-careers__intro {
		padding-top: 0;
	}

	.vt-careers__title,
	.vt-careers__lead {
		max-width: 620px;
	}

	.vt-careers__title {
		font-size: 42px;
	}
}

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

	.vt-careers__row {
		padding: 0 10px;
	}

	.vt-careers__title {
		font-size: 36px;
		letter-spacing: -0.9px;
	}

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

	.vt-careers__panel {
		padding: 24px 18px 22px;
	}

	.vt-careers__fields {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.vt-careers__field--full {
		grid-column: auto;
	}

	.vt-careers__submit-button {
		width: 100%;
	}

	.vt-careers__file-input {
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vt-careers__submit-button,
	.vt-careers__file-input::file-selector-button {
		transition: none;
	}

	.vt-careers__submit-button.is-loading .vt-careers__spinner {
		animation: none;
	}
}
