/**
 * Veltter Vagas — estilos da listagem e da página de vaga.
 * Paleta e tipografia herdadas da identidade Veltter.
 */

.vv-wrap,
.vv-single {
	--vv-dark: #1a1a1a;
	--vv-lime: #c8e632;
	--vv-teal: #2bbcb3;
	--vv-gray: #f5f5f5;
	--vv-white: #ffffff;
	--vv-text: #333333;
	--vv-text-light: #666666;
	--vv-border: #e0e0e0;
	--vv-radius: 14px;
	--vv-ease: cubic-bezier(0.16, 1, 0.3, 1);

	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--vv-text);
	box-sizing: border-box;
}

.vv-wrap *,
.vv-single * {
	box-sizing: border-box;
}

/* ---------- Listagem (hub) ---------- */

.vv-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: clamp(1.5rem, 1rem + 2vw, 3rem) 1.25rem;
}

.vv-head {
	margin-bottom: 1.75rem;
}

.vv-title {
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
	font-weight: 800;
	line-height: 1.05;
	color: var(--vv-dark);
	margin: 0 0 0.35rem;
	letter-spacing: -0.02em;
}

.vv-count {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--vv-dark);
	background: var(--vv-lime);
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	margin: 0;
}

.vv-intro {
	margin: 1.25rem 0 0;
	color: var(--vv-text-light);
	max-width: 70ch;
	line-height: 1.6;
}

.vv-intro p {
	margin: 0 0 0.75rem;
}

.vv-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.75rem 0;
}

.vv-filters input[type="search"],
.vv-filters select {
	font: inherit;
	color: var(--vv-text);
	padding: 0.7rem 1rem;
	border: 1px solid var(--vv-border);
	border-radius: 10px;
	background: var(--vv-white);
	min-height: 46px;
}

.vv-filters input[type="search"] {
	flex: 1 1 240px;
}

.vv-filters input[type="search"]:focus,
.vv-filters select:focus {
	outline: none;
	border-color: var(--vv-teal);
	box-shadow: 0 0 0 3px rgba(43, 188, 179, 0.18);
}

.vv-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 1rem;
}

.vv-card {
	position: relative;
	background: var(--vv-white);
	border: 1px solid var(--vv-border);
	border-radius: var(--vv-radius);
	overflow: hidden;
	transition: transform 0.35s var(--vv-ease), box-shadow 0.35s var(--vv-ease), border-color 0.35s var(--vv-ease);
}

.vv-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: linear-gradient(var(--vv-teal), var(--vv-lime));
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.35s var(--vv-ease);
}

.vv-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -22px rgba(26, 26, 26, 0.45);
	border-color: transparent;
}

.vv-card:hover::before {
	transform: scaleY(1);
}

.vv-card-link {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.4rem 1.4rem 1.3rem;
	text-decoration: none;
	height: 100%;
}

.vv-card-role {
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--vv-dark);
	margin: 0;
}

.vv-card-loc {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.9rem;
	color: var(--vv-text-light);
	margin: 0;
}

.vv-card-loc svg {
	color: var(--vv-teal);
	flex: none;
}

.vv-card-cta {
	margin-top: auto;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--vv-teal);
	transition: gap 0.3s var(--vv-ease);
}

.vv-empty-filter {
	margin-top: 1.5rem;
	color: var(--vv-text-light);
}

.vv-empty {
	background: var(--vv-gray);
	border-radius: var(--vv-radius);
	padding: 2.5rem 1.5rem;
	text-align: center;
	color: var(--vv-text-light);
}

.vv-empty p {
	max-width: 48ch;
	margin: 0 auto 1.25rem;
	line-height: 1.6;
}

/* ---------- Botões ---------- */

.vv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	padding: 0.85rem 1.5rem;
	border-radius: 10px;
	cursor: pointer;
	border: 0;
	transition: transform 0.25s var(--vv-ease), background-color 0.25s var(--vv-ease), color 0.25s var(--vv-ease);
}

.vv-btn--apply {
	background: var(--vv-lime);
	color: var(--vv-dark);
}

.vv-btn--apply:hover {
	background: var(--vv-teal);
	color: var(--vv-white);
	transform: translateY(-2px);
}

.vv-btn--ghost {
	background: transparent;
	color: var(--vv-dark);
	border: 2px solid var(--vv-dark);
}

.vv-btn--ghost:hover {
	background: var(--vv-dark);
	color: var(--vv-white);
	transform: translateY(-2px);
}

/* CTA "Ver todas as vagas" ao fim da descrição */
.vv-all-cta {
	margin-top: 2.25rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--vv-border);
	text-align: center;
}

/* ---------- Página individual ---------- */

.vv-single {
	background: var(--vv-gray);
}

/* Dark hero band, no estilo da home */
.vv-single-hero {
	background: linear-gradient(135deg, #1a1a1a 0%, #232323 100%);
	color: var(--vv-white);
	padding: clamp(2.25rem, 1.5rem + 3vw, 4rem) 1.25rem clamp(3rem, 2rem + 4vw, 5rem);
}

.vv-single-hero-inner {
	max-width: 820px;
	margin: 0 auto;
}

.vv-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 1.4rem;
}

.vv-breadcrumb a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

.vv-breadcrumb a:hover {
	color: var(--vv-lime);
}

.vv-single-title {
	font-size: clamp(1.8rem, 1.2rem + 2.5vw, 3rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--vv-white);
	margin: 0 0 1.25rem;
}

.vv-single-title::after {
	content: "";
	display: block;
	width: 60px;
	height: 4px;
	margin-top: 1rem;
	border-radius: 4px;
	background: var(--vv-lime);
}

.vv-tags {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.75rem;
	padding: 0;
}

.vv-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	padding: 0.4rem 0.85rem;
}

.vv-tag--loc {
	background: rgba(200, 230, 50, 0.16);
	border-color: rgba(200, 230, 50, 0.3);
	color: var(--vv-lime);
}

.vv-tag--loc svg {
	color: var(--vv-lime);
}

/* Cartão de conteúdo sobreposto ao hero */
.vv-single-inner {
	max-width: 820px;
	margin: -2rem auto 3rem;
	background: var(--vv-white);
	border-radius: 16px;
	box-shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.4);
	padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
	position: relative;
}

.vv-single-body {
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--vv-text);
}

.vv-single-body > *:first-child {
	margin-top: 0;
}

.vv-single-body h1,
.vv-single-body h2,
.vv-single-body h3,
.vv-single-body h4 {
	color: var(--vv-dark);
	line-height: 1.3;
	margin: 1.8rem 0 0.75rem;
}

.vv-single-body p {
	margin: 0 0 1rem;
}

.vv-single-body ul,
.vv-single-body ol {
	margin: 0 0 1rem;
	padding-left: 1.4rem;
}

.vv-single-body li {
	margin-bottom: 0.4rem;
}

/* Imagens da descrição (ex.: flyer 1080x1080 do inHire): tamanho contido e centralizado */
.vv-single-body img {
	display: block;
	max-width: min(100%, 440px);
	height: auto;
	margin: 0 auto 1.5rem;
	border-radius: 14px;
	border: 1px solid var(--vv-border);
}

/* Um <h3> que só contém a imagem não deve criar espaço extra */
.vv-single-body h3:has(> strong > img:only-child),
.vv-single-body h3:has(> img:only-child) {
	margin: 0 0 1rem;
	text-align: center;
}

.vv-single-body a {
	color: var(--vv-teal);
}

/* ---------- Rodapé / CTA da vaga ---------- */

.vv-single-foot {
	margin-top: 2.5rem;
}

.vv-apply-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	background: var(--vv-dark);
	color: var(--vv-white);
	border-radius: var(--vv-radius);
	padding: 1.75rem;
}

.vv-apply-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
}

.vv-apply-sub {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.92rem;
}

.vv-back {
	margin: 1.5rem 0 0;
}

.vv-back a {
	color: var(--vv-text-light);
	text-decoration: none;
	font-weight: 600;
}

.vv-back a:hover {
	color: var(--vv-teal);
}

.vv-gone {
	text-align: center;
}

.vv-gone p {
	color: var(--vv-text-light);
	max-width: 52ch;
	margin: 0 auto 1.5rem;
	line-height: 1.6;
}

@media (max-width: 600px) {
	.vv-apply-box {
		flex-direction: column;
		align-items: flex-start;
	}
	.vv-apply-box .vv-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vv-card,
	.vv-card::before,
	.vv-btn {
		transition: none;
	}
}
