/* Páginas de Contacto e Recrutamento.
   Portado de contacto.astro e recrutamento.astro — mesmas medidas. */

/* --- Linha de informação (contacto) --------------------------------------- */
.s-info {
	display: grid;
	grid-template-columns: 34.98% 8.08% 25.04% 16.22% 25.04%;
	margin-block: 30px;
}
.s-info__bloco--largo { grid-column: 1; }
.s-info__bloco:nth-of-type(2) { grid-column: 3; }
.s-info__bloco:nth-of-type(3) { grid-column: 5; }
.s-info__duas { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; }
/* `.s-info` à frente para ganhar o `p:last-child { margin-bottom: 0 }` do
   base.css — no protótipo é o encapsulamento do Astro que faz isso. */
.s-info .s-info__linha {
	margin: 16.4px 0;
	font-size: var(--txt-base);
	line-height: 26.2px;
	color: rgb(255 255 255 / 0.75);
}
.s-info__linha strong { font-weight: var(--peso-forte); }
.s-info__linha a { color: inherit; }
.s-info__linha a:hover { color: var(--cor-marca); }
.s-info__redes { margin: 16px 0 0; padding: 0; list-style: none; }
.s-info__redes a {
	font-size: var(--txt-base);
	font-weight: var(--peso-titulo);
	line-height: 26.2px;
	color: rgb(255 255 255 / 0.75);
}
.s-info__redes a:hover { color: var(--cor-marca); }

/* --- Texto e redes (recrutamento) ----------------------------------------- */
.s-recrut {
	display: grid;
	grid-template-columns: 60.66% 14.05% 24.72%;
	margin-block: 30px;
}
.s-recrut__texto { grid-column: 1; }
.s-recrut__redes { grid-column: 3; }
.s-recrut .t-h4 { padding-top: 7.9px; }
.s-recrut__redes ul { margin: 16px 0 0; padding: 0; list-style: none; }
.s-recrut__redes a {
	font-size: var(--txt-base);
	font-weight: var(--peso-titulo);
	line-height: 26.2px;
	color: rgb(255 255 255 / 0.75);
}
.s-recrut__redes a:hover { color: var(--cor-marca); }

/* --- Formulário ----------------------------------------------------------- */
.s-form { margin-block: 30px 60px; }

/* --- Mapa ----------------------------------------------------------------- */
/* De bordo a bordo, como no original. Tiles do OpenStreetMap, sem chave nem
   conta. O Leaflet é servido connosco — nada de CDN. A roda do rato não dá
   zoom (rolava a página e o mapa ao mesmo tempo): aproxima-se pelos botões, e
   o rato serve para arrastar. */
.s-mapa { position: relative; height: 420px; background: var(--cor-fundo-alt); }
.s-mapa__palco { width: 100%; height: 100%; }

/* Os controlos do Leaflet vestidos como o resto do site. */
.s-mapa .leaflet-control-zoom { border: 0; box-shadow: none; }
.s-mapa .leaflet-control-zoom a {
	width: 40px;
	height: 40px;
	margin-bottom: 6px;
	font-size: 20px;
	line-height: 38px;
	color: #fff;
	background: rgb(17 16 19 / 0.85);
	border: 1px solid rgb(255 255 255 / 0.18);
	border-radius: var(--raio);
	transition: background var(--transicao);
}
.s-mapa .leaflet-control-zoom a:hover { background: var(--cor-marca); }
.s-mapa .leaflet-control-attribution {
	font-size: 11px;
	background: rgb(17 16 19 / 0.7);
	color: rgb(255 255 255 / 0.7);
}
.s-mapa .leaflet-control-attribution a { color: rgb(255 255 255 / 0.9); }

/* Pino da marca: disco laranja com a marca em branco, e um bico por baixo a
   apontar à morada. O ícone por omissão do Leaflet traz imagens do pacote —
   este é nosso. */
.s-mapa .pino {
	width: 56px;
	height: 56px;
	background: var(--cor-marca) var(--pino, none) center / 30px 30px no-repeat;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 8px 22px rgb(0 0 0 / 0.45);
}
.s-mapa .pino::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 100%;
	width: 0;
	height: 0;
	margin: -2px 0 0 -7px;
	border: 7px solid transparent;
	border-top: 10px solid #fff;
}
.s-mapa__link {
	position: absolute;
	right: 16px; bottom: 16px;
	z-index: 500;
	margin: 0;
	padding: 8px 14px;
	font-size: var(--txt-sm);
	background: rgb(17 16 19 / 0.85);
	border-radius: var(--raio);
}
.s-mapa__link a { color: #fff; }
.s-mapa__link a:hover { color: var(--cor-marca); }

/* --- Faixa de recrutamento ------------------------------------------------ */
/* O sobretítulo desta variante é mais claro que o da faixa de orçamentação. */
.cta--recrutamento .cta__sobretitulo { color: #82838c; }

@media (max-width: 1023px) {
	.s-info { grid-template-columns: 1fr; gap: 24px; }
	.s-info__bloco--largo,
	.s-info__bloco:nth-of-type(2),
	.s-info__bloco:nth-of-type(3) { grid-column: 1; }
	.s-recrut { grid-template-columns: 1fr; gap: 24px; }
	.s-recrut__texto, .s-recrut__redes { grid-column: 1; }
}
@media (max-width: 600px) {
	.s-info__duas { grid-template-columns: 1fr; }
}
