/* Contact Block — measured off Figma `06. Contato`, node 921:17593.
 * Map consent gate is an LGPD decision; the design showing a loaded map isn't reason to drop it. */
:root {
	--move-contact-bg: var(--move-color-surface, #ffffff);
	--move-contact-text: var(--move-color-text, #475c76);
	--move-contact-label: var(--move-color-text-muted, #627995);
	--move-contact-border: var(--move-color-border, #e3e7ec);
	--move-contact-map-bg: var(--move-color-placeholder-photo, #f8fafd);
	/* The design's own email colour and its underline rule. Darker than
	   brand-mid-emphasis and used only here; 12.6:1 on white, computed. */
	--move-contact-email: #1c3350;

	--move-contact-font-heading: var(--move-font-size-xs, 0.75rem);  /* 12px */
	--move-contact-font-body: var(--move-font-size-md, 1.125rem);    /* 18px */
	--move-contact-font-email: var(--move-font-size-2xl, 1.75rem);   /* 28px */
	--move-contact-font-map: var(--move-font-size-sm, 0.875rem);     /* 14px */
}

.move-contact-block {
	container-type: inline-size;
	container-name: move-contact-block;
	width: 100%;
	background: var(--move-contact-bg);
	color: var(--move-contact-text);
	font-family: var(--move-font-base);
	font-size: 1rem;
	font-weight: 400;
	--move-strong-weight: var(--move-font-weight-bold, 700);
}

.move-contact-block__container {
	max-width: var(--move-container-max, 1312px);
	margin-inline: auto;
	/* 100px top / 112px bottom, measured. */
	padding: 6.25rem var(--move-container-gutter, 2rem) 7rem;
	display: grid;
	gap: var(--move-space-lg, 3rem);
	grid-template-columns: 1fr;
}

/* The two groups sit at the top and the bottom of the column, which is what
   pins the email rule to the foot of the map beside it. */
/* The design sets the address and the email rule to 392px inside a much wider
   column, leaving deliberate slack between the text and the map. */
.move-contact-block__group {
	max-width: 24.5rem;
}
.move-contact-block__info {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--move-space-lg, 3rem);
	padding-block: 0.375rem;
}

/* Tagline/tagline-12 — a small uppercase label, not a heading in appearance.
   It stays an <h2> for structure: the section has no other heading, and the
   design's visual hierarchy is not a reason to flatten the outline. */
.move-contact-block__heading {
	margin: 0 0 2.25rem;
	font-size: var(--move-contact-font-heading);
	font-weight: var(--move-font-weight-regular, 400);
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: var(--move-letter-spacing-loose, 0.05em);
	color: var(--move-contact-label);
}

.move-contact-block__address {
	margin: 0;
	font-size: var(--move-contact-font-body);
	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);
}
.move-contact-block__address p:first-child {
	margin-top: 0;
}
.move-contact-block__address p:last-child {
	margin-bottom: 0;
}

/* The email is a full-width rule with the address on the left and an
   up-right arrow on the right, set in the heading face (Rosario) at 28px —
   the one place on this page the design uses it. */
.move-contact-block__email {
	margin: 0;
	font-size: var(--move-contact-font-email);
}
.move-contact-block__email a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--move-space-sm, 1rem);
	padding-bottom: var(--move-space-sm, 1rem);
	border-bottom: var(--move-border-width, 1px) solid var(--move-contact-email);
	font-family: var(--move-font-heading, inherit);
	font-weight: var(--move-font-weight-medium, 500);
	line-height: var(--move-line-snug, 1.3);
	/* Absolute -1px: Figma binds this to the letter-spacing/tight variable,
	   and at 28px the proportional step resolves to -0.28px. */
	letter-spacing: -1px;
	color: var(--move-contact-email);
	text-decoration: none;
	/* Well past the 24px SC 2.5.8 floor at this size, so no hit-area
	   pseudo-element is needed here (unlike the 12px links elsewhere). */
}
.move-contact-block__email a:hover {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}
.move-contact-block__email svg {
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
}
.move-contact-block__email a:focus-visible {
	outline: 2px solid var(--move-color-focus, #315179);
	outline-offset: 2px;
}

.move-contact-block__map-frame {
	width: 100%;
	height: var(--move-contact-map-height, 380px);
	border: 0;
	background: var(--move-contact-map-bg);
	display: block;
}

/* Consent placeholder — occupies exactly the space the embed will, so
   swapping one for the other shifts nothing (no CLS). */
.move-contact-block__map-consent {
	height: var(--move-contact-map-height, 380px);
	border: var(--move-border-width, 1px) dashed var(--move-contact-border);
	background: var(--move-contact-map-bg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--move-space-sm, 1rem);
	padding: var(--move-space-md, 1.5rem);
	text-align: center;
}
.move-contact-block__map-consent-text {
	margin: 0;
	max-width: 28rem;
	font-size: var(--move-font-size-base, 1rem);
	font-weight: var(--move-font-weight-light, 300);
	color: var(--move-contact-label);
}
.move-contact-block__map-consent-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.75rem 1.375rem;
	border: var(--move-border-width, 1px) solid transparent;
	border-radius: var(--move-radius, 0.75rem);
	background: var(--move-color-dark, #0f2a4a);
	color: #ffffff;
	font-family: inherit;
	font-size: var(--move-font-size-base, 1rem);
	font-weight: var(--move-font-weight-regular, 400);
	cursor: pointer;
}
.move-contact-block__map-consent-button:hover {
	filter: brightness(0.92);
}
.move-contact-block__map-consent-button:focus-visible {
	outline: 2px solid var(--move-color-focus, #315179);
	outline-offset: 2px;
}

.move-contact-block__map-link {
	margin: var(--move-space-xs, 0.5rem) 0 0;
	font-size: var(--move-contact-font-map);
}
.move-contact-block__map-link a {
	display: inline-flex;
	align-items: center;
	color: var(--move-color-focus, #315179);
	/* SC 2.5.8: hit-area pseudo-element, not min-height (would shift layout,
	   same reasoning as footer/breadcrumb links). Content is 16px tall
	   (measured); -4px each way reaches the 24px floor. */
	position: relative;
}
.move-contact-block__map-link a::after {
	content: "";
	position: absolute;
	inset: -4px 0;
}
.move-contact-block__map-link a:focus-visible {
	outline: 2px solid var(--move-color-focus, #315179);
	outline-offset: 2px;
}

@container move-contact-block (min-width: 1024px) {
	/* The design's own split: a text column and a 600px map beside it. */
	.move-contact-block__container {
		grid-template-columns: 1fr 600px;
	}
}
