/* ==========================================================================
   Good Uniforme — Elementor sections (homepage & landing pages)
   Reusable classes: add them in Elementor → Avancé → Classes CSS.
   Values set in the Elementor panel override these defaults.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared building blocks
   -------------------------------------------------------------------------- */
.gu-el-eyebrow .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: .6rem;
	color: var(--wp--preset--color--accent);
	font-family: var(--wp--preset--font-family--heading);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.3;
	text-transform: uppercase;
}
.gu-el-eyebrow .elementor-heading-title::before {
	content: "";
	flex: none;
	width: 1.6em;
	height: .8em;
	background: var(--wp--preset--gradient--brand);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gu-el-title .elementor-heading-title {
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.gu-el-intro { color: var(--wp--preset--color--muted); font-size: 1.0625rem; line-height: 1.7; max-width: 62ch; }
.gu-el-intro p { margin: 0; }
.gu-el-intro p + p { margin-top: .9em; }
.gu-el-intro strong { color: var(--wp--preset--color--navy); }

.gu-el-head { max-width: 760px; }
.gu-el-head--center { align-items: center; text-align: center; margin-inline: auto; }
.gu-el-head--center .gu-el-eyebrow .elementor-heading-title { justify-content: center; }

/* Buttons */
body .gu-el-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	padding: .95rem 1.6rem;
	border-radius: 999px;
	background: var(--wp--preset--color--accent);
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	box-shadow: 0 8px 20px rgba(212, 67, 14, .25);
	transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
/* A button beside a section title keeps its width instead of wrapping. */
.e-con > .gu-el-btn { flex-shrink: 0; }
@media (max-width: 480px) { body .gu-el-btn .elementor-button { padding: .85rem 1.3rem; } }
body .gu-el-btn .elementor-button:hover { background: var(--wp--preset--color--navy); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(3, 15, 39, .2); }
body .gu-el-btn--light .elementor-button { background: #fff; color: var(--wp--preset--color--navy); box-shadow: none; }
body .gu-el-btn--light .elementor-button:hover { background: var(--wp--preset--color--amber); color: var(--wp--preset--color--navy); }
body .gu-el-btn--ghost .elementor-button { background: transparent; color: var(--wp--preset--color--navy); box-shadow: inset 0 0 0 2px var(--wp--preset--color--navy); }
body .gu-el-btn--ghost .elementor-button:hover { background: var(--wp--preset--color--navy); color: #fff; box-shadow: inset 0 0 0 2px var(--wp--preset--color--navy); }

.gu-el-actions > .elementor-element, .gu-el-inline { width: auto !important; flex: 0 0 auto; }

/* Check list */
.gu-el-checks .elementor-icon-list-items { display: grid; gap: .6rem; }
.gu-el-checks .elementor-icon-list-item { align-items: flex-start !important; }
.gu-el-checks .elementor-icon-list-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 1.35rem; height: 1.35rem; margin-top: .1rem;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
}
.gu-el-checks .elementor-icon-list-icon svg { width: .65rem; height: .65rem; fill: #fff; }
.gu-el-checks .elementor-icon-list-icon i { font-size: .65rem; color: #fff; }
.gu-el-checks .elementor-icon-list-text { padding-left: .65rem; color: var(--wp--preset--color--ink); font-weight: 500; }

/* Cards (sector, textile) */
.gu-el-card {
	position: relative;
	height: 100%;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	overflow: hidden;
	color: inherit;
	text-decoration: none !important;
	transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s;
}
.gu-el-card:hover { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--lift); border-color: transparent; }
.gu-el-card__img { overflow: hidden; }
.gu-el-card__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gu-el-card:hover .gu-el-card__img img { transform: scale(1.05); }
.gu-el-card__title .elementor-heading-title {
	padding: 1.15rem 1.25rem 0;
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
}
.gu-el-card__text { padding: .4rem 1.25rem 0; color: var(--wp--preset--color--muted); font-size: .9375rem; line-height: 1.6; }
.gu-el-card__text p { margin: 0; }
.gu-el-card__more { margin-top: auto !important; }
.gu-el-card__more .elementor-heading-title {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: 1rem 1.25rem 1.25rem;
	color: var(--wp--preset--color--accent);
	font-family: var(--wp--preset--font-family--heading);
	font-size: .875rem;
	font-weight: 700;
}
.gu-el-card__more .elementor-heading-title::after { content: "→"; transition: transform .2s; }
.gu-el-card:hover .gu-el-card__more .elementor-heading-title::after { transform: translateX(4px); }

.gu-el-card--special {
	justify-content: center;
	padding: 1.5rem .5rem !important;
	background: var(--wp--preset--gradient--night);
	border-color: transparent;
}
.gu-el-card--special::before {
	content: "";
	position: absolute; right: -30px; bottom: -10px;
	width: 220px; aspect-ratio: 30 / 14;
	background: var(--wp--preset--gradient--brand); opacity: .25;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gu-el-card--special .gu-el-card__title .elementor-heading-title { color: #fff; font-size: 1.375rem; }
.gu-el-card--special .gu-el-card__text { color: rgba(255, 255, 255, .75); }
.gu-el-card--special .gu-el-card__more { margin-top: 0 !important; }
.gu-el-card--special .gu-el-card__more .elementor-heading-title { color: var(--wp--preset--color--amber); }

.gu-el-card--tile .gu-el-card__img img { aspect-ratio: 1 / 1; }
/* Studio photos (outfit on white): whole silhouette, not cropped. */
.gu-el-card--studio .gu-el-card__img { background: #fff; }
.gu-el-card--studio .gu-el-card__img img { object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 767px) {
	.gu-h-sectors .gu-el-card__img img { aspect-ratio: 16 / 9; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.gu-h-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(60% 80% at 85% 20%, rgba(241, 90, 36, .18), transparent 60%),
		var(--wp--preset--gradient--night);
	color: #fff;
}
.gu-h-hero::before {
	content: "";
	position: absolute; left: -80px; bottom: -60px;
	width: min(560px, 80vw); aspect-ratio: 30 / 14;
	background: var(--wp--preset--gradient--brand); opacity: .07; pointer-events: none;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gu-h-hero .gu-el-eyebrow .elementor-heading-title { color: var(--wp--preset--color--amber); }
.gu-h-hero__brand .elementor-heading-title {
	display: inline-flex; align-items: center; gap: .6rem;
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.gu-h-hero__brand .elementor-heading-title::after {
	content: "";
	width: 1.6em; aspect-ratio: 30 / 14;
	background: var(--wp--preset--gradient--brand);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath d='M0 0h5l6 7-6 7H0l6-7zM9.5 0h5l6 7-6 7h-5l6-7zM19 0h5l6 7-6 7h-5l6-7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gu-h-hero__lead strong { color: #fff; }
.gu-h-hero__title .elementor-heading-title {
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(2.1rem, 4.4vw, 3.5rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.gu-h-hero__lead { color: rgba(255, 255, 255, .78); font-size: 1.125rem; line-height: 1.7; max-width: 54ch; }
.gu-h-hero__lead p { margin: 0; }

.gu-h-hero__points { margin-top: .75rem; }
.gu-h-hero__points .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.gu-h-hero__points .elementor-icon-list-text { color: rgba(255, 255, 255, .85); font-size: .9375rem; }
.gu-h-hero__points .elementor-icon-list-icon { background: rgba(247, 147, 30, .2); }
.gu-h-hero__points .elementor-icon-list-icon svg { fill: var(--wp--preset--color--amber); }
.gu-h-hero__points .elementor-icon-list-icon i { color: var(--wp--preset--color--amber); }

.gu-h-hero__media { position: relative; }
/* Sector chips */
.gu-h-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.gu-h-chips a {
	display: inline-block;
	padding: .45rem .95rem;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	color: #fff;
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s, border-color .2s, color .2s;
}
.gu-h-chips a:hover { background: var(--wp--preset--color--amber); border-color: var(--wp--preset--color--amber); color: var(--wp--preset--color--navy); }

/* Sector mosaic (second column offset for rhythm) */
.gu-h-mosaic__tile {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
	text-decoration: none !important;
}
.gu-h-mosaic > .gu-h-mosaic__tile:nth-child(even) { transform: translateY(28px); }
.gu-h-mosaic__img img {
	display: block; width: 100%;
	aspect-ratio: 1 / 1; object-fit: cover; object-position: center top;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.gu-h-mosaic__tile:hover .gu-h-mosaic__img img { transform: scale(1.06); }
.gu-h-mosaic__label { position: absolute !important; left: 12px; top: 12px; width: auto !important; }
.gu-h-mosaic__label .elementor-heading-title {
	padding: .35rem .75rem;
	background: rgba(3, 15, 39, .82);
	border-radius: 999px;
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: .8125rem;
	font-weight: 700;
}
.gu-h-mosaic__tile:hover .gu-h-mosaic__label .elementor-heading-title { background: var(--wp--preset--color--accent); }
.gu-h-hero__media::before {
	content: "";
	position: absolute; inset: -14px 24px 24px -14px;
	border: 2px solid rgba(247, 147, 30, .45);
	border-radius: 28px;
	pointer-events: none;
}
.gu-h-hero__badge {
	position: absolute !important;
	left: -24px; bottom: -28px;
	width: auto !important; max-width: 300px;
	padding: 1rem 1.25rem;
	background: #fff;
	border-radius: 14px;
	box-shadow: var(--wp--preset--shadow--lift);
	color: var(--wp--preset--color--muted);
	font-size: .875rem;
	line-height: 1.5;
}
.gu-h-hero__badge p { margin: 0; }
.gu-h-hero__badge strong { display: block; margin-bottom: .2rem; color: var(--wp--preset--color--navy); font-family: var(--wp--preset--font-family--heading); font-size: .8125rem; }
@media (max-width: 1024px) {
	.gu-h-hero__badge { left: 16px; bottom: -24px; }
	.gu-h-hero__media::before { display: none; }
}
@media (max-width: 767px) {
	.gu-h-hero__badge { position: relative !important; left: auto; bottom: auto; margin: -2rem 1rem 0 !important; max-width: none; }
}

/* --------------------------------------------------------------------------
   Sectors: featured tiles first, then the others
   -------------------------------------------------------------------------- */
.gu-el-card--feature {
	grid-column: span 2;
	grid-row: span 2;
	justify-content: flex-end;
	min-height: 520px;
	background: var(--wp--preset--color--navy);
	border-color: transparent;
}
.gu-el-card--feature .gu-el-card__img { position: absolute !important; inset: 0; }
.gu-el-card--feature .gu-el-card__img,
.gu-el-card--feature .gu-el-card__img .elementor-widget-container { height: 100%; }
.gu-el-card--feature .gu-el-card__img img { height: 100%; aspect-ratio: auto; object-position: center top; }
.gu-el-card--feature::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(3, 15, 39, 0) 35%, rgba(3, 15, 39, .92) 100%);
	pointer-events: none;
}
.gu-el-card--feature > .elementor-element:not(.gu-el-card__img) { position: relative; z-index: 1; }
.gu-el-card--feature .gu-el-card__title .elementor-heading-title { padding: 0 1.75rem; color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.gu-el-card--feature .gu-el-card__text { max-width: 46ch; padding: .5rem 1.75rem 0; color: rgba(255, 255, 255, .82); font-size: 1rem; }
.gu-el-card--feature .gu-el-card__more { margin-top: 0 !important; }
.gu-el-card--feature .gu-el-card__more .elementor-heading-title { padding: 1rem 1.75rem 1.75rem; color: var(--wp--preset--color--amber); }
@media (max-width: 1024px) {
	.gu-el-card--feature { grid-row: span 1; min-height: 440px; }
}
@media (max-width: 767px) {
	.gu-el-card--feature { grid-column: span 1; min-height: 400px; }
}

/* --------------------------------------------------------------------------
   Section backgrounds
   -------------------------------------------------------------------------- */
.gu-h-about, .gu-h-steps, .gu-h-blog { background: var(--wp--preset--color--surface); }

/* About */
.gu-h-about { overflow: hidden; }
.gu-h-about__media { position: relative; }
.gu-h-about__media::before {
	content: "";
	position: absolute; inset: 32px -20px -20px 32px;
	background: var(--wp--preset--gradient--brand);
	border-radius: 24px;
	opacity: .9;
}
.gu-h-about__img { position: relative; }
.gu-h-about__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 24px; }
@media (max-width: 1024px) {
	.gu-h-about__media { max-width: 460px; }
	.gu-h-about__media::before { inset: 20px -12px -12px 20px; }
}

/* Steps */
.gu-h-step {
	height: 100%;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
}
.gu-h-step .gu-el-card__title .elementor-heading-title,
.gu-h-step .gu-el-card__text { padding: 0; }
.gu-h-step__num .elementor-heading-title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1;
	background: var(--wp--preset--gradient--brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Product & post lists rendered by shortcodes */
.gu-h-products .gu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gu-h-blog .gu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) {
	.gu-h-products .gu-grid, .gu-h-blog .gu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.gu-h-products .gu-grid, .gu-h-blog .gu-grid { grid-template-columns: 1fr; }
}

/* CTA (background comes from .gu-cta in theme.css) */
.gu-h-cta .gu-el-eyebrow .elementor-heading-title { color: var(--wp--preset--color--amber); }
.gu-h-cta .gu-cta__title { max-width: none; }
.gu-h-cta .gu-cta__title .elementor-heading-title {
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	font-weight: 800;
	line-height: 1.15;
}
.gu-h-cta .gu-cta__text { margin: 0; color: rgba(255, 255, 255, .75); }
.gu-h-cta .gu-cta__text p { margin: 0; }

/* --------------------------------------------------------------------------
   Responsive adjustments
   -------------------------------------------------------------------------- */
/* Tablet: the hero mosaic sits under the text, so keep it on one row. */
@media (min-width: 768px) and (max-width: 1024px) {
	.gu-h-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.gu-h-mosaic > .gu-h-mosaic__tile:nth-child(even) { transform: translateY(16px); }
	.gu-h-hero__badge { position: relative !important; left: auto; bottom: auto; align-self: flex-start; margin-top: 2.5rem !important; }
}

@media (max-width: 767px) {
	.gu-h-hero__title .elementor-heading-title { font-size: clamp(1.75rem, 8vw, 2.1rem); }
	.gu-h-hero__lead { font-size: 1rem; }

	/* Section head + its button stack: button on the left, under the text. */
	.e-con:has(> .gu-el-head),
	.e-con-inner:has(> .gu-el-head) { align-items: flex-start !important; }

	/* Large sector tile: photo above the text instead of behind it. */
	.gu-el-card--feature { min-height: 0; justify-content: flex-start; }
	.gu-el-card--feature::after { display: none; }
	.gu-el-card--feature .gu-el-card__img { position: relative !important; inset: auto; height: auto; background: #fff; }
	.gu-el-card--feature .gu-el-card__img .elementor-widget-container { height: auto; }
	.gu-el-card--feature .gu-el-card__img img { height: auto; aspect-ratio: 4 / 3; }
	.gu-el-card--feature .gu-el-card__title .elementor-heading-title { padding: 1.25rem 1.25rem 0; font-size: 1.375rem; }
	.gu-el-card--feature .gu-el-card__text { padding: .4rem 1.25rem 0; }
	.gu-el-card--feature .gu-el-card__more .elementor-heading-title { padding: 1rem 1.25rem 1.25rem; }

	/* Textile tiles, 2 per row: title + link only. */
	.gu-h-textile .gu-el-card__text { display: none; }
	.gu-h-textile .gu-el-card__title .elementor-heading-title { padding: .9rem .9rem 0; font-size: 1rem; }
	.gu-h-textile .gu-el-card__more .elementor-heading-title { padding: .6rem .9rem .9rem; font-size: .8125rem; white-space: nowrap; }
	.gu-h-textile .gu-el-card--special { padding: 1rem .25rem !important; }}
