/* SGE — About Almiro (B2B brand) */
.elementor-element-sgeabt01,
.elementor-element-sgeabt01 .e-con,
.elementor-element-sgeabt01 .elementor-widget-container {
	overflow: visible !important;
	background-color: #1a1a1a !important;
}

.sge-almiro {
	--sge-almiro-dark: #1a1a1a;
	--sge-almiro-light: #f5f5f5;
	--sge-almiro-surface: #ffffff;
	--sge-almiro-text: #1a1a1a;
	--sge-almiro-muted: rgba(255, 255, 255, 0.72);
	--sge-almiro-muted-dark: rgba(26, 26, 26, 0.68);
	--sge-almiro-gold: #f2e90d;
	--sge-almiro-border: rgba(255, 255, 255, 0.14);
	--sge-almiro-border-light: rgba(26, 26, 26, 0.1);
	background: var(--sge-almiro-dark);
}

.sge-almiro__inner {
	max-width: 76rem;
	margin: 0 auto;
	padding-inline: clamp(1.25rem, 4vw, 4.375rem);
}

/* —— Dark hero panel —— */
.sge-almiro__panel {
	position: relative;
	padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
	background:
		linear-gradient(135deg, rgba(200, 169, 110, 0.08) 0%, transparent 42%),
		var(--sge-almiro-dark);
}

.sge-almiro__panel::after {
	content: "";
	position: absolute;
	right: clamp(1rem, 4vw, 4rem);
	bottom: 0;
	width: clamp(6rem, 14vw, 10rem);
	height: 3px;
	background: var(--sge-almiro-gold);
}

.sge-almiro__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: end;
}

.sge-almiro__eyebrow {
	margin: 0 0 0.875rem;
	color: var(--sge-almiro-gold);
	font-family: "DM Sans", sans-serif;
	font-size: clamp(0.72rem, 1.1vw, 0.8125rem);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.sge-almiro__title {
	margin: 0 0 1.25rem;
	color: #ffffff !important;
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(3.25rem, 8vw, 5.5rem);
	font-weight: 400;
	line-height: 0.92;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* Elementor kit sets `.elementor-kit-5 h2 { color: accent_2 (#1A1A1A) }` —
   which vanishes on this dark panel. Force white past the kit. */
.elementor-kit-5 .sge-almiro h2.sge-almiro__title,
.elementor-kit-5 .sge-almiro .sge-almiro__title,
.elementor-kit-5 .elementor-widget-sge_about_almiro .sge-almiro__title,
body.elementor-kit-5 .sge-almiro__title,
body:not(.elementor-editor-active) .sge-almiro__title {
	color: #ffffff !important;
}

.sge-almiro__badge {
	display: inline-flex;
	align-items: center;
	margin: 0 0 1.75rem;
	padding: 0.5rem 0.875rem;
	border: 1px solid rgba(200, 169, 110, 0.55);
	color: var(--sge-almiro-gold);
	font-family: "DM Sans", sans-serif;
	font-size: clamp(0.6875rem, 1vw, 0.75rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sge-almiro__taglines {
	padding-top: 1.25rem;
	border-top: 1px solid var(--sge-almiro-border);
}

.sge-almiro__tagline {
	margin: 0 0 0.5rem;
	color: #ffffff;
	font-family: "DM Sans", sans-serif;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	font-weight: 600;
	line-height: 1.35;
}

.sge-almiro__tagline-alt {
	margin: 0;
	color: var(--sge-almiro-gold);
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(1.375rem, 2.5vw, 1.875rem);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sge-almiro__purpose {
	margin: 0 0 1.5rem;
	color: var(--sge-almiro-muted);
	font-family: "DM Sans", sans-serif;
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.75;
}

.sge-almiro__sectors {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sge-almiro__sector {
	padding: 0.5rem 0.875rem;
	border: 1px solid var(--sge-almiro-border);
	color: #ffffff;
	font-family: "DM Sans", sans-serif;
	font-size: clamp(0.8125rem, 1.1vw, 0.875rem);
	font-weight: 500;
	line-height: 1.35;
}

/* —— Product cards (light band) —— */
.sge-almiro__products-wrap {
	padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5rem);
	background: var(--sge-almiro-light);
}

.sge-almiro__products-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--sge-almiro-border-light);
}

.sge-almiro__products-title {
	margin: 0;
	color: var(--sge-almiro-text);
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.sge-almiro__products-lead {
	margin: 0;
	max-width: 28rem;
	color: var(--sge-almiro-muted-dark);
	font-family: "DM Sans", sans-serif;
	font-size: clamp(0.9375rem, 1.3vw, 1rem);
	line-height: 1.55;
}

.sge-almiro__products-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 1.75vw, 1.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sge-almiro__product-card {
	min-height: 100%;
}

.sge-almiro__product-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
	background: var(--sge-almiro-surface);
	border: 1px solid var(--sge-almiro-border-light);
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.sge-almiro__product-link:hover,
.sge-almiro__product-link:focus-visible {
	border-color: #f2e90d;
	box-shadow: 0 14px 32px rgba(26, 26, 26, 0.08);
	transform: translateY(-3px);
}

.sge-almiro__product-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e8e8e8;
}

.sge-almiro__product-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(26, 26, 26, 0) 45%, rgba(26, 26, 26, 0.35) 100%);
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.sge-almiro__product-link:hover .sge-almiro__product-media::after,
.sge-almiro__product-link:focus-visible .sge-almiro__product-media::after {
	opacity: 0.85;
}

.sge-almiro__product-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.sge-almiro__product-link:hover .sge-almiro__product-media img,
.sge-almiro__product-link:focus-visible .sge-almiro__product-media img {
	transform: scale(1.06);
}

.sge-almiro__product-index {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	padding: 0.35rem 0.55rem;
	background: #f2e90d;
	color: #1a1a1a;
	font-family: "Bebas Neue", sans-serif;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.06em;
}

.sge-almiro__product-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem 1.125rem 1.125rem;
}

.sge-almiro__product-name {
	color: var(--sge-almiro-text);
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(1.25rem, 1.8vw, 1.5rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.sge-almiro__product-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: auto;
	color: var(--sge-almiro-muted-dark);
	font-family: "DM Sans", sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: color 0.2s ease, gap 0.2s ease;
}

.sge-almiro__product-cta::after {
	content: "→";
	font-size: 1rem;
	line-height: 1;
}

.sge-almiro__product-link:hover .sge-almiro__product-cta,
.sge-almiro__product-link:focus-visible .sge-almiro__product-cta {
	color: #1a1a1a;
	gap: 0.55rem;
}

/* Center a lone last-row card in a 3-column grid (e.g. 7 items). */
.sge-almiro__products-grid > .sge-almiro__product-card:last-child:nth-child(3n + 1):not(:first-child) {
	grid-column: 2;
}

@media (max-width: 1024px) {
	.sge-almiro__products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sge-almiro__products-grid > .sge-almiro__product-card:last-child:nth-child(3n + 1):not(:first-child) {
		grid-column: auto;
	}

	.sge-almiro__products-grid > .sge-almiro__product-card:last-child:nth-child(odd):not(:first-child) {
		grid-column: 1 / -1;
		max-width: 22rem;
		justify-self: center;
		width: 100%;
	}
}

@media (max-width: 767px) {
	.sge-almiro__hero {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.sge-almiro__products-head {
		flex-direction: column;
		align-items: flex-start;
	}

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

	.sge-almiro__products-grid > .sge-almiro__product-card:last-child:nth-child(odd):not(:first-child) {
		grid-column: auto;
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sge-almiro__product-link,
	.sge-almiro__product-media img {
		transition: none;
	}

	.sge-almiro__product-link:hover,
	.sge-almiro__product-link:focus-visible {
		transform: none;
	}
}
