/* =====================================================================
   Lusocare — rodapé
   Cores e medidas tiradas da maqueta do cliente.
   ===================================================================== */

.lc-rodape {
	--r-fundo: #F5F2EC;
	--r-navy: #304E6A;
	--r-forte: #1F2E44;
	--r-texto: #5C6572;
	--r-ouro: #8A7350;
	--r-linha: #E7E2D8;
	--r-barra: #15243A;
	--r-barra-txt: #C6D0DC;

	font-family: var(--sans, Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	box-sizing: border-box;
}

.lc-rodape *, .lc-rodape *::before, .lc-rodape *::after { box-sizing: border-box; }
.lc-rodape p { margin: 0; }
.lc-rodape a { text-decoration: none; }

.lc-rodape__wrap {
	width: var(--lc-rail-width, min(1360px, calc(100% - 64px)));
	margin-left: var(--lc-rail-left, auto);
	margin-right: auto;
	padding-inline: var(--lc-rail-pad, 18px);
}

.lc-rodape__corpo {
	padding-block: 34px 44px;
	background: var(--r-fundo);
}

/* --- topo: logótipo e acordos ------------------------------------- */

.lc-rodape__topo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
}

/* Só o logótipo, sem caixa nem fundo. */
.lc-rodape__logo {
	display: block;
	width: auto;
	height: auto;
	background: none;
}

.lc-rodape__logo img { display: block; width: auto; height: 68px; }

.lc-rodape__acordos { display: flex; align-items: center; gap: 18px; }

.lc-rodape__acordo {
	display: grid;
	place-items: center;
	height: 100px;
	padding: 14px 28px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 26px -18px rgba(31, 46, 68, .35);
}

.lc-rodape__acordo img { display: block; width: auto; height: auto; max-height: 52px; max-width: 210px; object-fit: contain; }

/* --- rótulos em versaletes ---------------------------------------- */

.lc-rodape__rotulo {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--r-ouro);
}

.lc-rodape__acordos .lc-rodape__rotulo { margin: 0 4px 0 0; color: #6B7684; }

/* --- grelha das quatro colunas ------------------------------------ */

.lc-rodape__grelha {
	display: grid;
	/* Proporções da maqueta (485 : 329 : 329 : 343), com um mínimo nos
	   cartões: abaixo dos ~1600px a morada partia em três linhas. */
	grid-template-columns: minmax(0, 1.47fr) minmax(333px, 1fr) minmax(333px, 1fr) minmax(0, 1.04fr);
	gap: 22px;
	align-items: stretch;
}

.lc-rodape__esp { align-self: start; }

/* mapa */

.lc-rodape__mapa { display: flex; flex-direction: column; }

.lc-rodape__mapa-caixa {
	flex: 1 1 auto;
	min-height: 240px;
	overflow: hidden;
	border-radius: 10px;
	background: #E9E6E0;
}

.lc-rodape__mapa-caixa iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 240px;
	border: 0;
}

.lc-rodape__maps {
	display: inline-block;
	margin-top: 12px;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--r-forte);
}

.lc-rodape__maps:hover { color: var(--r-navy); }

/* cartões das unidades */

.lc-ucartao {
	display: flex;
	flex-direction: column;
	padding: 24px 26px 22px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 30px -22px rgba(31, 46, 68, .4);
}

.lc-ucartao__morada {
	font-size: 16.5px;
	line-height: 1.5;
	color: var(--r-texto);
}

.lc-ucartao__tels { margin-top: 18px; }

.lc-ucartao__tel {
	display: block;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--r-forte);
}

.lc-ucartao__tel:hover { color: var(--r-navy); }

.lc-ucartao__nota {
	display: block;
	margin-bottom: 10px;
	font-size: 13.5px;
	line-height: 1.4;
	color: #7C8593;
}

.lc-ucartao__nota:last-child { margin-bottom: 0; }

.lc-ucartao__horario {
	margin-top: 14px;
	padding-top: 16px;
	border-top: 1px solid #EDEFF2;
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--r-texto);
}

.lc-ucartao__horario strong { color: var(--r-forte); }

.lc-ucartao__accoes { display: flex; gap: 8px; margin-top: 18px; }

.lc-rbtn {
	flex: 1 1 0;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 12px;
	white-space: nowrap;
	border: 1px solid var(--r-navy);
	border-radius: 8px;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1;
	transition: background .2s, color .2s;
}

.lc-rbtn--cheio { background: var(--r-navy); color: #fff; }
.lc-rbtn--cheio:hover { background: #26405a; color: #fff; }
.lc-rbtn--linha { background: #fff; color: var(--r-forte); }
.lc-rbtn--linha:hover { background: #F2F6FA; }

.lc-ucartao__email {
	margin-top: 16px;
	font-size: 15.5px;
	color: var(--r-texto);
}

.lc-ucartao__email:hover { color: var(--r-navy); }

/* especialidades */

.lc-rodape__esp ul { margin: 0; padding: 0; list-style: none; }

.lc-rodape__esp li + li { margin-top: 8px; }

.lc-rodape__esp a {
	font-size: 16.5px;
	line-height: 1.45;
	color: #3F546B;
	transition: color .2s;
}

.lc-rodape__esp a:hover { color: var(--r-navy); text-decoration: underline; }

/* --- barra escura -------------------------------------------------- */

.lc-rodape__barra {
	padding-block: 20px 22px;
	background: var(--r-barra);
	color: var(--r-barra-txt);
}

.lc-rodape__barra-topo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.lc-rodape__links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.lc-rodape__links a {
	font-size: 15.5px;
	color: var(--r-barra-txt);
	transition: color .2s;
}

.lc-rodape__links a:hover { color: #fff; }
.lc-rodape__links .lc-rodape__destaque { font-weight: 700; color: #fff; }

.lc-rodape__redes { display: flex; align-items: center; gap: 12px; }

.lc-rodape__rede {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: #fff;
	transition: transform .2s, filter .2s;
}

.lc-rodape__rede svg { width: 21px; height: 21px; }
.lc-rodape__rede:hover { transform: translateY(-2px); filter: brightness(1.08); }

.lc-rodape__rede--facebook { background: #1877F2; }
.lc-rodape__rede--linkedin { background: #0A66C2; }
.lc-rodape__rede--instagram {
	background:
		radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%);
}

.lc-rodape__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 18px;
	font-size: 14.5px;
	color: #8E9BAB;
}

.lc-rodape__legal a { color: #8E9BAB; }
.lc-rodape__legal a:hover { color: #fff; }

/* --- ecrãs médios e pequenos --------------------------------------- */

@media (max-width: 1200px) {
	.lc-rodape__grelha { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.lc-rodape__mapa-caixa iframe { height: 260px; }
}

@media (max-width: 767px) {
	.lc-rodape__corpo { padding-block: 28px 34px; }
	.lc-rodape__topo { justify-content: flex-start; gap: 18px; margin-bottom: 26px; }
	.lc-rodape__logo { width: auto; height: auto; }
	.lc-rodape__logo img { height: 56px; }
	.lc-rodape__acordos { flex-wrap: wrap; gap: 12px; }
	.lc-rodape__acordos .lc-rodape__rotulo { flex: 1 0 100%; margin: 0 0 4px; }
	/* min-width:0 e max-width:100% deixam os dois logótipos encolher para
	   caberem lado a lado; sem isso o AdvanceCare empurrava-se para baixo. */
	.lc-rodape__acordo { flex: 1 1 0; min-width: 0; height: 78px; padding: 10px 14px; }
	.lc-rodape__acordo img { max-height: 38px; max-width: 100%; }
	.lc-rodape__grelha { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.lc-rodape__mapa-caixa iframe { height: 220px; }
	.lc-ucartao { padding: 22px; }
	.lc-rodape__barra-topo { flex-direction: column; align-items: flex-start; }
	.lc-rodape__links { gap: 14px 18px; }
	.lc-rodape__legal { flex-direction: column; align-items: flex-start; gap: 6px; }
}


/* --- mapa desenhado (Alcochete, 16/10/2026) ------------------------ */
.lc-mapa-svg {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 240px;
	overflow: hidden;
	border-radius: 10px;
	background: #EEF2F6;
}
.lc-mapa-svg img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 46%;
}
.lc-mapa-svg__chip {
	position: absolute;
	left: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 15px;
	border-radius: 999px;
	background: #fff;
	color: #0B1929;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 6px 16px -6px rgba(11, 25, 41, .35);
}
.lc-mapa-svg__chip svg { width: 14px; height: 14px; }
.lc-mapa-svg:hover .lc-mapa-svg__chip { color: #0085C6; }
.lc-contactos__mapa .lc-mapa-svg { position: absolute; inset: 0; border-radius: 0; }
.lc-contactos__mapa .lc-mapa-svg__chip { top: 18px; bottom: auto; left: 18px; }
