/*
 * formaurbisLAB: aspeto do site anterior (YOOtheme Pro, sem licença) sobre o Helix Ultimate + SP Page Builder.
 * As classes fu-* vêm do conversor do layout do YOOtheme (/var/backups/formaurbislab-20261203/sppb/yoo2sppb.php).
 * 2026-12-03, aljm1.
 */

/* Tipos de letra alojados no próprio site (Inter e Poppins, licença OFL) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/formaurbislab/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/formaurbislab/inter-latin-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/formaurbislab/poppins-600-latin.woff2") format("woff2"); }

:root { --fu-red: #fe0000; --fu-gap: 15px; }

html body {
	font-family: Inter, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 1.5;
	color: #000;
	background: #fff;
}
body p { margin: 0 0 20px; }
body a, body .sppb-addon a { color: #000; text-decoration: none; }
body a:hover, body a:focus, body .sppb-addon a:hover { color: var(--fu-red); text-decoration: none; }
body b, body strong { font-weight: 600; }
body h1, body h2, body h3, body h4, body h5, body h6 { font-family: Poppins, Inter, Helvetica, Arial, sans-serif; color: #000; }

/* Largura: 1200px de conteúdo, margens de 40px, como no site anterior */
#sp-header .container, #sp-main-body .container, #sp-footer .container, #sp-bottom .container {
	max-width: 1280px;
	padding-left: 40px;
	padding-right: 40px;
}

/* Cabeçalho: logótipo à esquerda, menu em minúsculas à direita */
#sp-header {
	height: 135px;
	background: #fff;
	box-shadow: none;
}
#sp-header .logo { height: 135px; display: flex; align-items: center; }
#sp-header .logo img.logo-image { height: 68px; width: auto; max-width: none; }
#sp-header .sp-megamenu-wrapper, #sp-header #sp-menu > .sp-column { height: 135px; }
#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span {
	font-family: Inter, Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 400;
	text-transform: lowercase;
	color: #000;
	line-height: 135px;
	padding: 0;
	margin: 0 0 0 46px;
	letter-spacing: 0;
}
#sp-header .sp-megamenu-parent > li:first-child > a { margin-left: 0; }
@media (min-width: 992px) { #sp-header .sp-megamenu-parent { margin-top: 27px; } }
#sp-header .sp-megamenu-parent > li > a:hover,
#sp-header .sp-megamenu-parent > li.active > a,
#sp-header .sp-megamenu-parent > li.active > a:hover { color: var(--fu-red); }
/* Cabeçalho fixo ao descer: mesma altura, com uma sombra leve */
#sp-header.header-sticky { box-shadow: 0 0 6px rgba(0, 0, 0, .06); }
#sp-header .row { flex-wrap: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) {
	#sp-header .logo img.logo-image { height: 44px; }
	#sp-header .sp-megamenu-parent > li > a { margin-left: 22px; }
	#sp-header .container { padding-left: 30px; padding-right: 30px; }
}
body .offcanvas-menu .offcanvas-inner ul.menu > li > a { text-transform: lowercase; font-size: 16px; color: #000; }
body .offcanvas-menu .offcanvas-inner ul.menu > li > a:hover,
body .offcanvas-menu .offcanvas-inner ul.menu > li.active > a { color: var(--fu-red); }

#sp-top-bar { display: none; }

/* Corpo da página: sem título nem informação do artigo (o conteúdo vem do layout) */
#sp-main-body { padding: 40px 0 70px; }
.article-details .article-header, .article-details .article-info, .article-details .article-ratings-social-share,
.article-details .article-can-edit, .article-details .pager { display: none; }
#sp-page-builder .page-content > .sppb-section:first-child { margin-top: 0; }
#sp-page-builder .sppb-row-container { max-width: none; padding: 0; }
/* (com !important: o SPPB escreve margens por secção com o id da secção) */
#sp-page-builder .sppb-section.fu-row { padding: 0 !important; margin: 0 0 20px !important; }
#sp-page-builder .sppb-section.fu-row.fu-row-m-small { margin: 15px 0 15px !important; }
#sp-page-builder .sppb-section.fu-row.fu-row-m-default { margin: 20px 0 20px !important; }
#sp-page-builder .sppb-section.fu-row.fu-row-m-remove-vertical { margin-top: 0 !important; margin-bottom: 0 !important; }
#sp-page-builder .sppb-section.fu-row.fu-mt0 { margin-top: 0 !important; }
#sp-page-builder .sppb-section.fu-row.fu-mb0 { margin-bottom: 0 !important; }
#sp-page-builder .sppb-section.fu-row:first-child { margin-top: 0 !important; }
#sp-page-builder .sppb-row { margin-left: calc(-1 * var(--fu-gap)); margin-right: calc(-1 * var(--fu-gap)); }
#sp-page-builder .sppb-row > div > .sppb-column,
#sp-page-builder .sppb-row > [class*="sppb-col"] { padding-left: var(--fu-gap); padding-right: var(--fu-gap); }
#sp-page-builder .sppb-column.fu-va-bottom { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
#sp-page-builder .sppb-column.fu-va-middle { display: flex; flex-direction: column; justify-content: center; height: 100%; }
#sp-page-builder .sppb-column.fu-va-bottom .sppb-column-addons, #sp-page-builder .sppb-column.fu-va-middle .sppb-column-addons { width: 100%; }
#sp-page-builder .sppb-addon-wrapper { margin-bottom: 20px; }
#sp-page-builder .sppb-addon-wrapper:last-child { margin-bottom: 0; }

/* Visibilidade do YOOtheme: "l" (só a partir de 1200px) e "hidden-l" (só abaixo de 1200px) */
@media (max-width: 1199.98px) { .fu-vis-l, .sppb-addon-wrapper:has(.fu-vis-l) { display: none !important; } }
@media (min-width: 1200px) { .fu-hid-l, .sppb-addon-wrapper:has(.fu-hid-l) { display: none !important; } }

/* Títulos */
.fu-headline .fu-h { font-family: Poppins, Inter, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 18px; line-height: 1.2; margin: 0; text-transform: none; }
.fu-headline h4.fu-h, .fu-headline h5.fu-h, .fu-headline h6.fu-h { font-size: 14px; }
.fu-headline .fu-h a { color: #000; }
.fu-headline .fu-h a:hover { color: var(--fu-red); }

/* Texto */
.fu-text { font-size: 12px; line-height: 18px; }
.fu-text p:last-child { margin-bottom: 0; }
.fu-text ul, .fu-text ol { padding-left: 20px; margin: 0 0 20px; }
.fu-text img { max-width: 100%; height: auto; }
.fu-text a, .fu-panel-content a, .fu-dl-content a, .fu-panel-title a { color: var(--fu-red); }
.fu-text a:hover, .fu-panel-content a:hover, .fu-dl-content a:hover, .fu-panel-title a:hover { color: #000; }

/* Imagens */
.fu-image .sppb-addon-single-image-container, .fu-image img { width: 100%; }
.fu-image img { display: block; height: auto; }
.fu-image.fu-m-large { margin-top: 20px; }

/* Galeria: imagem com troca ao passar o rato e título por cima */
.fu-gallery { display: grid; grid-template-columns: repeat(var(--fu-cols, 1), minmax(0, 1fr)); gap: 30px; }
.fu-gallery.fu-cols-2 { --fu-cols: 2; } .fu-gallery.fu-cols-3 { --fu-cols: 3; } .fu-gallery.fu-cols-4 { --fu-cols: 4; }
.fu-gal-item > a, .fu-gal-item > .fu-gal-box { position: relative; display: block; overflow: hidden; color: #fff; }
.fu-gal-item img { display: block; width: 100%; height: auto; }
.fu-gal-item .fu-img-hover { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease; }
.fu-gal-item > a:hover .fu-img-hover, .fu-gal-item > a:focus .fu-img-hover { opacity: 1; }
.fu-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 15px; opacity: 0; transition: opacity .3s ease; background: rgba(0, 0, 0, .45); }
.fu-gal-item > a:hover .fu-overlay, .fu-gal-item > a:focus .fu-overlay { opacity: 1; }
.fu-gal-item .fu-gal-title { color: #fff; font-size: 14px; font-weight: 600; margin: 0; }
.fu-gal-item .fu-meta, .fu-gal-item .fu-gal-content { color: #fff; }

/* Painéis (livros, membros, projetos): imagem, título e texto */
.fu-panel { display: flex; flex-direction: column; gap: 15px; }
.fu-panel-img img { display: block; max-width: 100%; height: auto; }
.fu-panel.fu-img-left { flex-direction: row; align-items: flex-start; gap: 40px; }
.fu-panel.fu-img-left .fu-panel-img { flex: 0 0 auto; width: 150px; }
.fu-panel.fu-iw-1-2.fu-img-left .fu-panel-img { width: 50%; }
.fu-panel-main { flex: 1 1 auto; min-width: 0; }
.fu-panel.fu-title-left .fu-panel-main { display: flex; gap: 40px; align-items: flex-start; }
.fu-panel.fu-title-left .fu-panel-title { flex: 0 0 auto; }
.fu-panel.fu-title-left .fu-panel-body { flex: 1 1 auto; min-width: 0; }
.fu-panel-title { font-family: Poppins, Inter, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 600; line-height: 1.3; margin: 0 0 8px; }
.fu-panel-title.fu-ts-text-meta { font-family: Inter, Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 400; color: #000; }
.fu-panel-title.fu-ts-h4 { font-size: 14px; }
.fu-meta { font-size: 12px; color: #000; margin: 0 0 4px; }
.fu-panel-content p { margin: 0 0 10px; }
.fu-panel-content p:last-child { margin-bottom: 0; }

/* Listas de descrição (contactos, currículos) */
.fu-dl { list-style: none; margin: 0; padding: 0; }
.fu-dl > li { margin: 0 0 10px; padding: 0; }
.fu-dl.fu-dl-collapse > li { margin-bottom: 0; }
.fu-dl.fu-dl-large > li { margin-bottom: 20px; }
.fu-dl-title { font-family: Inter, Helvetica, Arial, sans-serif; }
.fu-dl.fu-ts-text-bold .fu-dl-title { font-weight: 600; }
.fu-dl.fu-ts-h5 .fu-dl-title { font-family: Poppins, Inter, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 14px; }
.fu-dl-content p { margin: 0; }
.fu-dl .fu-meta { margin: 2px 0 0; }
.fu-dl.fu-ta-left { text-align: left; }
@media (min-width: 960px) {
	.fu-dl.fu-dl-grid > li { display: flex; gap: 15px; }
	.fu-dl.fu-dl-grid .fu-dl-title { flex: 0 0 auto; width: 120px; }
	.fu-dl.fu-dl-grid.fu-dl-tw-medium .fu-dl-title { width: 200px; }
	.fu-dl.fu-dl-grid.fu-dl-tw-large .fu-dl-title { width: 300px; }
	.fu-dl.fu-dl-grid .fu-dl-content { flex: 1 1 auto; min-width: 0; }
}

/* Mapas com marcadores (The City, The Street, ...) */
.fu-popover { position: relative; }
.fu-popover .fu-pop-bg { display: block; width: 100%; height: auto; }
.fu-marker { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; color: var(--fu-red); text-decoration: none; }
.fu-marker-icon { width: 18px; height: 18px; border-radius: 50%; background: var(--fu-red); color: #000; font: 600 16px/18px Inter, Arial, sans-serif; text-align: center; box-shadow: 0 0 0 1px #000 inset; }
.fu-marker-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* o nome já está desenhado no mapa */
a.fu-marker:hover .fu-marker-icon { background: #000; color: #fff; }

/* Botão "back" */
.fu-buttons.fu-ta-right { text-align: right; }
.fu-button { display: inline-flex; align-items: center; gap: 12px; font-family: Poppins, Inter, Helvetica, Arial, sans-serif; font-weight: 600; font-size: 14px; color: #000; padding: 4px 0; }
.fu-ico-back { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-right: 6px solid currentColor; }

/* Rodapé: direitos à esquerda, logótipos dos parceiros à direita */
#sp-bottom { display: none; }
#sp-footer { background: #fff; color: #000; padding: 20px 0 30px; font-size: 10px; }
#sp-footer .container-inner { border-top: 0; padding: 0; }
#sp-footer .row { align-items: center; }
#sp-footer .sp-copyright { font-size: 10px; color: #000; }
#sp-footer .sp-copyright a { color: var(--fu-red); }
#sp-footer .sp-copyright a:hover { color: #000; }
.fu-parceiros { display: flex; justify-content: flex-end; align-items: center; gap: 40px; flex-wrap: wrap; }
.fu-parceiros img { width: 115px; height: auto; display: block; }
#sp-footer #sp-footer2 .sp-module { margin: 0; }

@media (max-width: 991.98px) {
	#sp-header, #sp-header .logo { height: 90px; }
	#sp-header .logo img.logo-image { height: 40px; }
	#sp-header .row { flex-wrap: nowrap; }
	#sp-header #sp-logo { flex: 1 1 auto; min-width: 0; }
	#sp-header #sp-menu { flex: 0 0 auto; }
	#sp-header .sp-megamenu-wrapper, #sp-header #sp-menu > .sp-column { height: 90px; }
	#sp-header .container { padding-left: 20px; padding-right: 20px; }
	#sp-main-body .container, #sp-footer .container { padding-left: 20px; padding-right: 20px; }
	.fu-parceiros { justify-content: flex-start; gap: 20px; margin-top: 15px; }
}
@media (max-width: 767.98px) {
	#sp-page-builder .sppb-row > div > .sppb-column, #sp-page-builder .sppb-row > [class*="sppb-col"] { margin-bottom: 20px; }
	.fu-panel.fu-img-left, .fu-panel.fu-title-left .fu-panel-main { gap: 20px; }
	.fu-panel.fu-img-left .fu-panel-img { width: 100px; }
	.fu-panel.fu-title-left .fu-panel-main { flex-direction: column; gap: 4px; }
	.fu-parceiros img { width: 90px; }
}

/* Menu lateral (telemóvel): logótipo mais pequeno, sem tapar o botão de fechar */
.offcanvas-menu .logo img, .offcanvas-menu .logo-image { height: 34px !important; width: auto; max-width: calc(100% - 50px); }
