/* === ROBÓTICA MÓVEL PAGE CUSTOM STYLES === */

.robotica-movel-page-wrapper section {
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	display: block !important;
	justify-content: unset !important;
}

/* Keep footer at the viewport bottom on short content pages */
.robotica-movel-page-wrapper {
	min-height: calc(100vh - 220px);
}

/* Page-specific sticky footer fix for /produtos/robotica-movel/ */
body.page-id-17020 #page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body.page-id-17020 #page > .elementor.elementor-17020 {
	flex: 1 0 auto;
}

body.page-id-17020 #page > footer#colophon {
	margin-top: auto !important;
	padding-bottom: 0 !important;
}

body.page-id-17020 #page > footer#colophon .footer-width-fixer,
body.page-id-17020 #page > footer#colophon .footer-custom {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.robotica-movel-page-hero {
	position: relative;
}

.robotica-movel-page-sobre {
	background: linear-gradient(to bottom, #fff 0%, #f9fafb 100%);
}

.caracteristicas-lista-grid {
	grid-template-columns: repeat(3, 1fr);
	width: 90%;
	margin: 0 auto;
}

.caracteristica-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.caracteristica-card a:hover {
	background: #00d4c7 !important;
}

.testemunho-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
	.testemunhos-grid {
		grid-template-columns: 1fr !important;
	}

	.caracteristicas-lista-grid {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.equipa-grid {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 1024px) {
	.equipa-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 1150px) {
	.equipa-grid {
		grid-template-columns: 1fr !important;
		width: 100%;
	}
}

.equipa-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.equipa-card a:hover {
	background: #005a8c !important;
}

.contacto-form-container {
	animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* === AMR Products Section === */
.amr-produtos-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	max-width: 1100px;
	margin: 0 auto;
	align-items: center;
}

.amr-produto-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* Make product images a consistent height so text lines up across columns */
.amr-produto-card img {
    height: 320px;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Override gteck-title absolute positioning inside product cards */
.amr-produto-card .gteck-title {
	position: static !important;
	top: auto !important;
	left: auto !important;
	margin-top: 24px !important;
	margin-bottom: 0 !important;
	font-size: 2.5rem !important;
}

.amr-produto-desc {
	font-size: 1.05rem;
	color: #fff;
	margin: 12px 0 24px 0;
}

/* Override button absolute positioning inside product cards */
.amr-produto-card .details-product-button-left,
.amr-produto-card .details-product-button-right {
	position: static !important;
	bottom: auto !important;
	left: auto !important;
	font-size: 0.9em;
	padding: 8px 20px;
	border-radius: 24px;
}

@media (max-width: 768px) {
	.amr-produtos-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 768px) {
	.robotica-movel-page-hero h1 {
		font-size: 2.2rem !important;
	}

	.robotica-movel-page-hero p {
		font-size: 1.1rem !important;
	}

	.robotica-movel-page-sobre h2,
	.robotica-movel-page-caracteristicas h2,
	.robotica-movel-page-testemunhos h2,
	.robotica-movel-page-contacto h2 {
		font-size: 1.8rem !important;
	}

	.contacto-form-container {
		padding: 24px !important;
	}
}
