:root {
	--move-team-bg: var(--move-color-bg, #faf7f0);
	--move-team-text: var(--move-color-text, #475c76);
	--move-team-text-muted: var(--move-color-text-muted, #627995);
	--move-team-photo-bg: var(--move-color-placeholder-photo, #eae7dd);
	--move-team-accent-text: var(--move-color-accent-text, #315179);

	/* Base step is the Figma-named scale (tokens.css), mobile, stepped up by
	   the container query. -lg is a literal (48px, "Nossa equipe" heading) —
	   no named step lands there. */
	--move-team-font-heading: var(--move-font-size-2xl, 1.75rem);    /* 28px, mobile */
	--move-team-font-heading-lg: 3rem;                               /* 48px */
	--move-team-font-intro: var(--move-font-size-base, 1rem);     /* 16px */
	--move-team-font-title: var(--move-font-size-xl, 1.5rem);     /* 24px */
	--move-team-font-meta: var(--move-font-size-base, 1rem);      /* 16px */

	--move-team-card-max: 18rem; /* 288px, matches the site-wide card width */
}

.move-team-grid {
	container-type: inline-size;
	container-name: move-team-grid;
	width: 100%;
	background: var(--move-team-bg);
	color: var(--move-team-text);
	font-family: var(--move-font-base);
	font-size: 1rem;
	font-weight: 400;
	--move-strong-weight: var(--move-font-weight-bold, 700);
	scroll-margin-top: var(--move-subnav-sticky-height, 2.5rem);
	/* 54px, not the shared 16px card-grid gap: makes 4 x 288 land on the
	   1312px rail exactly. Scoped here, not :root — .move-card-grid is a
	   shared class and a :root override would leak into every other grid
	   using it while this stylesheet is loaded. */
	--move-card-grid-gap: 3.375rem; /* 54px */
}

.move-team-grid__container {
	max-width: var(--move-container-max, 1200px);
	margin-inline: auto;
	/* 60px block (429:7603). */
	padding: 3.75rem var(--move-container-gutter, 2rem);
}

.move-team-grid__heading {
	margin: 0 0 0.5rem;
	color: var(--move-color-dark, #0f2a4a);
	font-size: var(--move-team-font-heading);
	font-weight: var(--move-font-weight-regular, 400);
	letter-spacing: var(--move-letter-spacing-tighter, -0.02em);
	line-height: var(--move-line-snug, 1.3);
	--move-em-weight: var(--move-font-weight-medium, 500);
}
.move-team-grid__intro {
	margin: 0 0 var(--move-space-md, 1.5rem);
	max-width: 48rem;
	font-size: var(--move-team-font-intro);
	line-height: var(--move-line-body, 1.65);
	color: var(--move-team-text-muted);
}
.move-team-grid__empty {
	color: var(--move-team-text-muted);
	font-size: var(--move-team-font-intro);
}

.move-team-grid__list {
	/* gap/64, heading to card row (429:7603). */
	margin-top: var(--move-space-xl, 4rem);
}
/* .move-card-grid (global.css) sets display:grid unconditionally. This
 * compound selector out-specifies it without !important, regardless of load
 * order; the @container rule below restores grid the same way.
 */
.move-team-grid__swiper .move-team-grid__list {
	display: flex;
}

/* Before Swiper initialises (or if it never arrives), the row stays
   scrollable rather than clipped by `.swiper`'s overflow. */
.move-team-grid__swiper:not(.swiper-initialized) {
	overflow-x: auto;
}

.move-team-grid__arrows {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-bottom: var(--move-space-sm, 1rem);
}
/* Box model/border/focus ring from shared .move-carousel-arrow (tokens.css);
   this adds only the hover colour. */
.move-team-grid__arrow {
	color: var(--move-team-text);
}
.move-team-grid__arrow:hover {
	border-color: var(--move-team-accent-text);
	color: var(--move-team-accent-text);
}

/* Swiper's vendor CSS sets .swiper-pagination { position: absolute }, which
 * at equal specificity can beat the shared .move-carousel-pagination
 * override depending on enqueue order. This compound selector out-specifies
 * it so the dots render in flow instead of overlapping the card.
 */
.move-team-grid__swiper .move-team-grid__pagination {
	position: relative;
	color: var(--move-team-text-muted);
}
.move-team-grid__pagination .swiper-pagination-bullet-active {
	color: var(--move-team-accent-text);
}

/* Swiper is disabled from here up (initTeamCarousel, main.js): list is a
   plain CSS grid, mobile-only carousel controls have nothing to control. */
@container move-team-grid (min-width: 768px) {
	.move-team-grid__heading {
		font-size: var(--move-team-font-heading-lg);
	}
	.move-team-grid__arrows,
	.move-team-grid__pagination {
		display: none;
	}
	.move-team-grid__swiper {
		overflow: visible;
	}
	/* Same compound-selector specificity as the mobile-forcing flex rule
	   above, so this wins once the container is wide enough. */
	.move-team-grid__swiper .move-team-grid__list {
		display: grid;
		grid-template-columns: repeat(
			var(--move-team-grid-columns, 4),
			minmax(min(100%, 16rem), var(--move-team-card-max, 18rem))
		);
	}
	.move-team-grid__list[data-columns="2"] {
		--move-team-grid-columns: 2;
		max-width: calc(2 * var(--move-team-card-max, 18rem) + 1 * var(--move-card-grid-gap, 1rem));
	}
	.move-team-grid__list[data-columns="3"] {
		--move-team-grid-columns: 3;
		max-width: calc(3 * var(--move-team-card-max, 18rem) + 2 * var(--move-card-grid-gap, 1rem));
	}
	.move-team-grid__list[data-columns="4"] {
		--move-team-grid-columns: 4;
		max-width: calc(4 * var(--move-team-card-max, 18rem) + 3 * var(--move-card-grid-gap, 1rem));
	}
}

.move-team-card.move-card {
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.move-team-card__photo {
	background: var(--move-team-photo-bg);
	/* 288x359 portrait slot, per Figma, not the square this shipped with. */
	aspect-ratio: 4 / 5;
	border-radius: var(--move-radius, 0.75rem);
	overflow: hidden;
	margin-bottom: var(--move-space-32, 2rem);
}
.move-team-card__photo img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
}
.move-team-card__photo--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.move-team-card__title {
	color: var(--move-color-dark-alt, #061b33);
	font-size: var(--move-team-font-title);
	font-weight: var(--move-font-weight-regular, 400);
	/* Absolute -1px (429:7611), not the -0.24px the em step gives at 24px. */
	letter-spacing: -1px;
	line-height: var(--move-line-snug, 1.3);
	margin: 0;
}
.move-team-card__role {
	/* text/span, not the accent: role is the same muted blue-grey as
	   the caption scale. */
	color: var(--move-color-text-muted, #627995);
	font-size: var(--move-team-font-meta);
	font-weight: var(--move-font-weight-light, 300);
	line-height: var(--move-line-relaxed, 1.5);
	letter-spacing: var(--move-letter-spacing-tight, -0.01em);
	/* 43px (429:7609). */
	margin: 0 0 2.6875rem;
}
.move-team-card__role p {
	margin: 0;
}
.move-team-card__text {
	/* text/body, not the caption step: bio runs at full body colour, unlike
	   the muted role above it (429:7613). */
	color: var(--move-color-text, #475c76);
	font-size: var(--move-team-font-meta);
	font-weight: var(--move-font-weight-light, 300);
	line-height: var(--move-line-relaxed, 1.5);
	letter-spacing: var(--move-letter-spacing-tight, -0.01em);
	/* Full bio, no line clamp (client, Asana 1220787850909895). */
}
.move-team-card__text p:first-child {
	margin-top: 0;
}
.move-team-card__text p:last-child {
	margin-bottom: 0;
}
