/*
 * Trabalhe Conosco: listagem e pagina da vaga.
 * Cores do tema: primaria #004d62, secundaria #0fa6ca, alerta #b20000.
 * Texto em azul usa #0b7c99: o #0fa6ca sobre branco fica em ~2,9:1 de
 * contraste; ele so aparece em bordas e destaques.
 *
 * O Flatsome estiliza legend, dl, li e botoes de forma generica (caixa alta,
 * margens). Os seletores daqui tem especificidade suficiente para vencer sem
 * depender da ordem de carregamento.
 */

.tc-pagina { padding-top: 24px; padding-bottom: 48px; }

/* Trilha */
.tc-trilha { font-size: .85em; color: #6b7280; margin-bottom: 18px; }
.tc-trilha a { color: #004d62; }
.tc-trilha span[aria-hidden] { margin: 0 6px; }

/* Topo da vaga */
.tc-topo { padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid #e5eaee; }
.tc-topo__area,
.tc-card__area {
	display: inline-block;
	font-size: .78em;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #0b7c99;
	margin-bottom: 6px;
}
.tc-topo__titulo { margin: 0 0 14px; color: #004d62; line-height: 1.2; }
.tc-pagina .button.tc-topo__cta { margin: 18px 0 0; }

/* Etiquetas */
.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tc-chips > .tc-chip,
.tc-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 5px 12px;
	border-radius: 999px;
	background: #eef6f8;
	color: #004d62;
	font-size: .85em;
	line-height: 1.4;
}
.tc-icone { flex-shrink: 0; }

/* Corpo: descricao + resumo */
.tc-corpo { display: grid; gap: 32px; }
@media (min-width: 850px) {
	.tc-corpo { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
	.tc-resumo { position: sticky; top: 110px; }
}
.tc-descricao > *:last-child { margin-bottom: 0; }

.tc-resumo {
	border: 1px solid #e3e8ec;
	border-radius: 12px;
	padding: 22px;
	background: #fff;
}
.tc-resumo__titulo { font-size: 1em; margin: 0 0 14px; color: #004d62; }
.tc-resumo dl { margin: 0 0 18px; font-size: inherit; opacity: 1; text-transform: none; }
.tc-resumo dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #e5eaee; }
.tc-resumo dl > div:last-child { border-bottom: 0; }
.tc-resumo dt { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; color: #6b7280; margin: 0; }
.tc-resumo dd { margin: 0; text-align: right; font-weight: 600; color: #22222f; }
.tc-resumo .button.tc-resumo__cta { margin: 0; }

/* Avisos */
.tc-aviso {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-left: 4px solid #0fa6ca;
	background: #eef8fb;
	border-radius: 4px;
}
.tc-aviso--encerrada { border-left-color: #8a8f98; background: #f3f4f6; }

/* Formulario */
.tc-candidatura {
	max-width: 780px;
	margin: 56px auto 0;
	padding: 32px;
	border: 1px solid #e3e8ec;
	border-radius: 14px;
	background: #f7fafb;
	scroll-margin-top: 110px;
}
@media (max-width: 549px) {
	.tc-candidatura { padding: 20px 16px; margin-top: 40px; }
}
.tc-candidatura__titulo { margin: 0 0 6px; color: #004d62; }
.tc-candidatura__intro { margin: 0 0 24px; color: #6b7280; }
.tc-obrigatorio { color: #b20000; }

.tc-form__resumo {
	margin: 0 0 24px;
	padding: 14px 18px;
	border-left: 4px solid #b20000;
	background: #fff5f5;
	border-radius: 4px;
}
.tc-form__resumo:focus { outline: 2px solid #b20000; outline-offset: 2px; }
.tc-form__resumo-titulo { margin: 0; font-weight: 700; color: #b20000; }
.tc-form__resumo ul { margin: 8px 0 0 18px; padding: 0; }
.tc-form .tc-form__resumo li { margin: 0 0 4px; }
.tc-form__resumo a { color: #b20000; text-decoration: underline; }

.tc-campo { margin: 0 0 20px; }
.tc-campo fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.tc-rotulo,
.tc-campo legend {
	display: block;
	width: auto;
	font-weight: 700;
	font-size: .95em;
	margin: 0 0 6px;
	padding: 0;
	border: 0;
	text-transform: none;
	letter-spacing: normal;
	color: #22222f;
}
.tc-form input[type="text"],
.tc-form input[type="email"],
.tc-form input[type="tel"],
.tc-form input[type="date"],
.tc-form textarea,
.tc-form select {
	width: 100%;
	max-width: 100%;
	margin: 0;
	background-color: #fff;
}
.tc-form textarea { min-height: 120px; }
.tc-form input[type="file"] {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px;
	border: 1px dashed #b8c4cc;
	border-radius: 8px;
	background: #fff;
	font-size: .9em;
	cursor: pointer;
}
.tc-form input[type="file"]:hover { border-color: #0fa6ca; }

.tc-opcao {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	font-size: .95em;
	margin: 0 0 6px;
	cursor: pointer;
}
.tc-form .tc-opcao input { margin: 4px 0 0; flex-shrink: 0; }
.tc-campo--simnao .tc-opcao { display: inline-flex; margin-right: 22px; }

.tc-ajuda { margin: 6px 0 0; font-size: .82em; color: #6b7280; }
.tc-erro { margin: 6px 0 0; font-size: .85em; font-weight: 600; color: #b20000; }
.tc-campo--erro input,
.tc-campo--erro textarea,
.tc-campo--erro select { border-color: #b20000 !important; box-shadow: 0 0 0 1px #b20000; }

.tc-campo--consentimento { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e3e8ec; }
.tc-campo--consentimento a { color: #004d62; text-decoration: underline; }

.tc-form__rodape { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.tc-form .button.tc-form__enviar { margin: 0; }
.tc-form__enviar[disabled] { opacity: .7; cursor: progress; }
.tc-form__status { font-size: .9em; color: #6b7280; }

/* Armadilha para robos: fora da tela, nunca visivel */
.tc-armadilha {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Sucesso */
.tc-sucesso { text-align: center; padding: 12px 0; }
.tc-sucesso:focus { outline: none; }
.tc-sucesso__icone { color: #1e8e5a; margin: 0 auto 10px; display: block; }
.tc-sucesso__texto { font-size: 1.05em; max-width: 520px; margin: 0 auto 20px; }
.tc-sucesso .button { margin: 0; }

/* Listagem */
.tc-vagas {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	margin: 8px 0 32px;
}
.tc-card { margin: 0; }
.tc-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 22px;
	border: 1px solid #e3e8ec;
	border-radius: 12px;
	background: #fff;
	color: #22222f;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.tc-card__link:hover,
.tc-card__link:focus-visible {
	color: #22222f;
	border-color: #0fa6ca;
	box-shadow: 0 10px 28px rgba(0, 77, 98, .12);
	transform: translateY(-2px);
}
.tc-card__titulo { margin: 0 0 12px; font-size: 1.15em; color: #004d62; line-height: 1.3; }
.tc-card__resumo { margin: 14px 0 0; font-size: .9em; color: #4b5563; }
.tc-card__cta { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: .9em; color: #0b7c99; }

.tc-sem-vagas {
	padding: 28px;
	border: 1px dashed #b8c4cc;
	border-radius: 12px;
	text-align: center;
	color: #4b5563;
	margin: 8px 0 32px;
}
.tc-sem-vagas p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
	.tc-card__link { transition: none; }
	.tc-card__link:hover { transform: none; }
}
