/* =====================================================================
   Valentin — Ficha de Máquina
   Tokens do Figma "Ficha Corte": verde #71A550 · Mallard #2D4320
   fundo #F2F2F2 · card acessório #F8FAFC / borda #E2E8F0
   ===================================================================== */

.vm-ficha {
	--vm-green: #71a550;
	--vm-dark: #2d4320;
	--vm-dark-70: rgba(45, 67, 32, 0.7);
	--vm-dark-05: rgba(45, 67, 32, 0.05);
	--vm-green-10: rgba(113, 165, 80, 0.1);
	--vm-line: #e2e7df;

	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--vm-dark);
	-webkit-font-smoothing: antialiased;

	/* A ficha ocupa a largura inteira da tela, como no Figma, mesmo quando
	   o tema a coloca dentro de um container estreito. */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	background: #f2f2f2;
	overflow-x: clip;
}

.vm-ficha *,
.vm-ficha *::before,
.vm-ficha *::after {
	box-sizing: border-box;
}

.vm-ficha button {
	appearance: none;
	-webkit-appearance: none;
	border: 0 !important;
	background: none;
	font-family: inherit;
	cursor: pointer;
	padding: 0;
}

.vm-ficha a {
	text-decoration: none;
	box-shadow: none;
}

.vm-ficha section {
	max-width: 1350px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* 100vw inclui a barra de rolagem; sem isso a página ganharia rolagem lateral. */
html:has(.vm-ficha) body {
	overflow-x: hidden;
}

/* ---------- Topo ------------------------------------------------------ */
.vm-ficha .vm-hero {
	display: grid;
	grid-template-columns: minmax(0, 600fr) minmax(0, 645fr);
	gap: clamp(32px, 8vw, 109px);
	align-items: center;
	padding-top: clamp(48px, 6vw, 91px);
	padding-bottom: clamp(56px, 7.5vw, 109px);
}

.vm-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	background: var(--vm-green-10);
	border-radius: 9999px;
	color: var(--vm-green);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.32px;
	line-height: 16.5px;
	text-transform: uppercase;
}

.vm-badge__dot {
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: var(--vm-green);
}

.vm-hero__title {
	margin: 16px 0 0;
	font-size: clamp(34px, 3.7vw, 64px);
	font-weight: 800;
	line-height: 1.05;
	color: var(--vm-dark);
	letter-spacing: -0.5px;
}

.vm-models {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.vm-models li {
	padding: 4px 12px;
	background: var(--vm-dark-05);
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.55px;
	line-height: 16.5px;
	color: var(--vm-dark);
}

.vm-hero__desc {
	max-width: 512px;
	margin: 20px 0 0;
	font-size: 18px;
	font-weight: 300;
	line-height: 29.25px;
	color: var(--vm-dark-70);
}

.vm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 28px;
}

.vm-btn {
	display: inline-flex;
	align-items: center;
	height: 56px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.12px;
	text-transform: uppercase;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.vm-btn--solid {
	padding: 0 32px;
	background: var(--vm-green);
	color: #fff !important;
}

.vm-btn--solid:hover {
	background: #5f8f43;
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(113, 165, 80, 0.3);
}

.vm-btn--ghost {
	padding: 0 34px;
	border: 2px solid rgba(45, 67, 32, 0.15) !important;
	color: var(--vm-dark) !important;
}

.vm-btn--ghost:hover {
	border-color: var(--vm-green) !important;
	color: var(--vm-green) !important;
}

/* ---------- Carrossel do topo ---------------------------------------- */
.vm-hero__media {
	position: relative;
}

.vm-slider {
	position: relative;
	width: 100%;
	aspect-ratio: 645 / 554;
	background: linear-gradient(180deg, #f3f3f3 0%, #ececec 100%);
	border-radius: 31px;
	box-shadow: 9px 9px 30px -1px rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

.vm-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8%;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.vm-slide.is-active {
	opacity: 1;
}

.vm-slider__ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #b9bdb6;
	font-size: 15px;
}

.vm-ficha .vm-dots {
	display: flex;
	justify-content: center;
	gap: 6px;

	/* Dentro do card, 15px acima da borda inferior do slider. */
	position: absolute;
	left: 0;
	right: 0;
	bottom: 15px;
	z-index: 2;
	margin: 0;
}

.vm-ficha .vm-dot {
	width: 15px;
	height: 15px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #71a550;
	cursor: pointer;
	opacity: 0.5;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.vm-ficha .vm-dot:hover {
	background: #71a550;
	opacity: 1;
}

.vm-ficha .vm-dot.is-active {
	background: #59823f;
	opacity: 1;
}

/* ---------- Título de seção ------------------------------------------ */
.vm-section-title {
	margin: 0 0 clamp(28px, 4.5vw, 66px);
	font-size: clamp(26px, 2.6vw, 44px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.35px;
	text-align: center;
	color: var(--vm-dark);
}

/* ---------- Tabela ---------------------------------------------------- */
.vm-ficha .vm-specs {
	padding-bottom: clamp(56px, 7vw, 104px);
}

.vm-table-wrap {
	background: #fff;
	border: 1px solid var(--vm-green-10);
	border-radius: 16px;
	box-shadow: 0 10px 15px -3px rgba(113, 165, 80, 0.05), 0 4px 6px -4px rgba(113, 165, 80, 0.05);
	overflow: hidden;
}

.vm-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.vm-table th {
	padding: 16px 24px;
	background: var(--vm-green);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.1px;
	line-height: 16.5px;
	text-align: left;
	text-transform: uppercase;
	border: 0;
}

.vm-table th.vm-th-right {
	text-align: right;
}

.vm-table td {
	padding: 24px;
	border: 0;
	border-top: 1px solid var(--vm-line);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	color: var(--vm-dark-70);
	vertical-align: middle;
}

.vm-table tbody tr:nth-child(even) {
	background: rgba(244, 247, 242, 0.5);
}

.vm-table .vm-td-modelo {
	font-size: 16px;
	font-weight: 800;
	line-height: 24px;
	color: var(--vm-dark);
	white-space: nowrap;
}

.vm-table .vm-td-orc {
	text-align: right;
	white-space: nowrap;
}

.vm-mini-btn {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background: var(--vm-green);
	border-radius: 8px;
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.72px;
	line-height: 16px;
	text-transform: uppercase;
	transition: background 0.18s ease;
}

.vm-mini-btn:hover {
	background: #5f8f43;
}

/* ---------- Acessórios ------------------------------------------------ */
.vm-ficha .vm-acess {
	max-width: 1350px;
	margin: 0 auto clamp(56px, 6vw, 82px);
	padding: clamp(36px, 4.5vw, 64px) clamp(20px, 8.8%, 119px) clamp(40px, 5vw, 72px);
	background: var(--vm-green);
	border-radius: 50px;
}

.vm-acess__title {
	margin: 0 0 clamp(28px, 3.8vw, 52px);
	font-size: clamp(26px, 2.6vw, 44px);
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	color: #fff;
}

.vm-acess__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px clamp(16px, 7.5%, 100px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vm-acess__item {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 72px;
	padding: 12px 17px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: #0f172a;
}

.vm-check {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 9999px;
	background: rgba(0, 139, 69, 0.1);
	color: #008b45;
}

.vm-check svg {
	width: 14px;
	height: 14px;
}

/* ---------- Aplicações ------------------------------------------------ */
.vm-ficha .vm-aplic {
	padding-bottom: clamp(56px, 6vw, 82px);
}

.vm-aplic__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 31px;
}

.vm-aplic__grid figure {
	margin: 0;
	aspect-ratio: 325 / 314;
	border-radius: 27px;
	overflow: hidden;
	background: #e6e6e6;
}

.vm-aplic__grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.vm-aplic__grid figure:hover img {
	transform: scale(1.05);
}

/* ---------- CTA -------------------------------------------------------- */
.vm-ficha .vm-cta {
	/* Faixa de borda a borda (1735px no Figma = largura total da tela). */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: 0;
	padding: clamp(44px, 4.5vw, 64px) 24px clamp(48px, 5vw, 72px);
	background: var(--vm-green);
	text-align: center;
}

.vm-cta h2 {
	text-wrap: balance;
	margin: 0 0 clamp(24px, 3vw, 40px);
	font-size: clamp(26px, 3vw, 50px);
	font-weight: 900;
	line-height: 1.16;
	letter-spacing: -1.5px;
	color: #fff;
}

.vm-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 279px;
	max-width: 100%;
	height: 57px;
	background: #fff;
	border-radius: 270px;
	color: var(--vm-green) !important;
	font-size: 20px;
	font-weight: 700;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.vm-cta__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

/* =====================================================================
   Responsivo
   ===================================================================== */
@media (max-width: 1100px) {
	.vm-ficha .vm-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
		padding-top: 40px;
		padding-bottom: 48px;
	}

	.vm-acess__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.vm-ficha .vm-acess {
		border-radius: 30px;
		padding: 40px 20px 44px;
		margin-left: 1em;
		margin-right: 1em;
		width: auto;
	}
}

@media (max-width: 720px) {
	.vm-hero__desc {
		font-size: 16px;
		line-height: 26px;
	}

	.vm-btn {
		height: 50px;
		font-size: 12px;
		flex: 1 1 100%;
		justify-content: center;
	}

	.vm-acess__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.vm-cta .vm-br-desktop {
		display: none;
	}


}

/* ---------------------------------------------------------------------
   O cabeçalho do Elementor é branco no site inteiro. Na ficha de máquina,
   o fundo da página é #F2F2F2, então as sobras laterais da barra de menu
   apareciam brancas. Aqui o cabeçalho acompanha o fundo — apenas nestas
   páginas, sem tocar no resto do site. Os containers verdes mantêm a
   própria cor, porque a regra não usa !important sobre eles.
   --------------------------------------------------------------------- */
body.single-vlt_maquina {
	background-color: #f2f2f2;
}

body.single-vlt_maquina header.elementor-location-header,
body.single-vlt_maquina .elementor-location-header {
	background-color: #f2f2f2 !important;
}

body.single-vlt_maquina #wpadminbar ~ header .elementor-element:not([data-settings*="background"]) {
	background-color: transparent;
}

/* =====================================================================
   Faixa promocional (ficha de dobra: "Ferramentas de Dobra")
   ===================================================================== */
.vm-ficha .vm-banner {
	padding-bottom: clamp(48px, 6vw, 88px);
}

.vm-banner__box {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
	align-items: center;
	gap: 24px;
	padding: clamp(28px, 3.4vw, 46px) clamp(24px, 3.6vw, 52px);
	background: var(--vm-green);
	border-radius: 30px;
	overflow: visible;
}

/* Faixa sem imagem: vira coluna única e o texto ocupa a largura toda,
   sem deixar um vão à direita nem margem negativa órfã. */
.vm-banner__box:not(:has(.vm-banner__img)) {
	grid-template-columns: minmax(0, 1fr);
}

/* A seção de características precisa de contexto próprio para nunca
   ser coberta pela arte da faixa, que transborda por margem negativa. */
.vm-ficha .vm-specs {
	position: relative;
	z-index: 1;
	clear: both;
}

.vm-banner__text h2 {
	margin: 0;
	font-size: clamp(22px, 2.1vw, 34px);
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
}

.vm-banner__text p {
	max-width: 430px;
	margin: 10px 0 0;
	font-size: clamp(14px, 1.05vw, 17px);
	font-weight: 300;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

.vm-banner__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	height: 48px;
	margin-top: 22px;
	padding: 0 28px;
	background: #fff;
	border-radius: 270px;
	color: var(--vm-green) !important;
	font-size: 16px;
	font-weight: 700;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.vm-banner__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

/* A arte transborda a caixa, como no protótipo. */
.vm-banner__img {
	align-self: end;
	margin: clamp(-60px, -4vw, -20px) 0 clamp(-32px, -2.2vw, -12px);
	text-align: right;
}

.vm-banner__img img {
	width: 100%;
	max-width: 420px;
	height: auto;
	display: inline-block;
}

/* =====================================================================
   Tabela rótulo/valor (linha de conformação): sem cabeçalho verde
   ===================================================================== */
.vm-specs--rotulo .vm-table td {
	padding: 20px 32px;
	font-size: 15px;
}

.vm-specs--rotulo .vm-table .vm-td-modelo {
	width: 38%;
	font-size: 15px;
	font-weight: 700;
	color: var(--vm-dark);
	white-space: normal;
}

.vm-specs--rotulo .vm-table tbody tr:first-child td {
	border-top: 0;
}

.vm-specs--rotulo .vm-table tbody tr:nth-child(even) {
	background: rgba(244, 247, 242, 0.6);
}

@media (max-width: 900px) {
	.vm-banner__box {
		grid-template-columns: minmax(0, 1fr);
		text-align: center;
	}

	.vm-banner__text p {
		margin-left: auto;
		margin-right: auto;
	}

	.vm-banner__img {
		margin: 0;
		text-align: center;
	}

	.vm-specs--rotulo .vm-table .vm-td-modelo {
		width: auto;
	}
}

/* Sem foto cadastrada, o card do topo encolhe: com a altura cheia (554px)
   ele empurrava o texto para o meio e abria um vão enorme na ficha. */
.vm-slider--vazio {
	aspect-ratio: 645 / 340;
	box-shadow: none;
	border: 1px dashed rgba(45, 67, 32, 0.15);
}

.vm-ficha .vm-slider--vazio + .vm-dots {
	display: none;
}

/* No protótipo da linha de conformação as duas colunas são centralizadas,
   com o rótulo em negrito escuro e o valor em cinza mais leve. */
.vm-specs--rotulo .vm-table td {
	text-align: center;
}

.vm-specs--rotulo .vm-table .vm-td-modelo {
	text-align: center;
}

/* =====================================================================
   Mobile das tabelas — por último, para vencer a cascata dos blocos
   @media anteriores (900px) e das regras de desktop do estilo rótulo.
   ===================================================================== */
@media (max-width: 720px) {
	.vm-table thead {
		display: none;
	}

	.vm-table,
	.vm-table tbody,
	.vm-table tr,
	.vm-table td {
		display: block;
		width: 100%;
	}

	/* Zebra no BLOCO inteiro (linha), como no desktop: uma linha branca,
	   a seguinte num verde-claro. Nunca por célula. */
	.vm-table tbody tr {
		background: #fff;
		padding: 12px 20px;
		border: 0;
		border-top: 1px solid var(--vm-line);
	}

	.vm-table tbody tr:first-child {
		border-top: 0;
	}

	.vm-table tbody tr:nth-child(even) {
		background: rgba(244, 247, 242, 0.6);
	}

	/* Célula nunca tem fundo próprio — o fundo é da linha. */
	.vm-table td {
		background: transparent !important;
		border: 0;
		padding: 0;
		white-space: normal;
		text-align: left !important;
	}

	/* ---- estilo CABEÇALHO (corte): rótulo da coluna acima de cada valor ---- */
	.vm-specs--header .vm-table td {
		padding: 3px 0;
	}

	.vm-specs--header .vm-table td[data-label]:not([data-label=""])::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 1px;
		font-size: 10px;
		font-weight: 700;
		letter-spacing: 1.1px;
		text-transform: uppercase;
		color: var(--vm-green);
	}

	.vm-specs--header .vm-table .vm-td-modelo {
		font-size: 16px;
		margin-bottom: 4px;
	}

	.vm-specs--header .vm-table .vm-td-orc {
		padding-top: 10px;
	}

	/* ---- estilo RÓTULO/VALOR (conformação): rótulo em cima, valor embaixo ---- */
	.vm-specs--rotulo .vm-table td::before {
		content: none;
	}

	/* Zera o padding que o desktop aplica na célula (senão a linha incha). */
	.vm-specs--rotulo .vm-table td {
		padding: 0 !important;
	}

	/* Altura uniforme para todas as linhas do estilo rótulo. */
	.vm-specs--rotulo .vm-table tbody tr {
		min-height: 76px;
		justify-content: center;
	}

	.vm-specs--rotulo .vm-table .vm-td-modelo {
		font-size: 14px;
		font-weight: 700;
		color: var(--vm-dark);
		margin-bottom: 2px;
		line-height: 1.3;
	}

	.vm-specs--rotulo .vm-table td:not(.vm-td-modelo) {
		line-height: 1.35;
	}

	.vm-specs--rotulo .vm-table td:not(.vm-td-modelo) {
		color: var(--vm-dark-70);
	}
}
