/* ==========================================================================
   ASSEM v2 — component styles (loaded after style.css)
   ========================================================================== */

/* Banner slider
   O padding lateral é o mesmo do .assem-section (24px) para o banner ficar
   exactamente com a largura da caixa de notícias que vem a seguir. */
.assem-banner { position: relative; padding: clamp(20px, 3vw, 36px) 24px; }
.assem-banner__viewport { position: relative; overflow: hidden; border-radius: var(--radius); }
.assem-banner__track { display: flex; align-items: flex-start; will-change: transform; }
.assem-banner__slide { flex: 0 0 100%; display: block; }

/* A altura acompanha a imagem enviada: sem aspect-ratio fixo nem "cover", o
   banner aparece inteiro em vez de ser cortado em cima e em baixo. */
.assem-banner__photo {
	width: 100%;
	height: auto;
	display: block;
}

/* Só para quando o banner ainda não tem imagem. */
.assem-banner__img {
	width: 100%;
	aspect-ratio: 1237 / 458;
	background-color: #1a2c5e;
	background-size: cover;
	background-position: center;
	display: grid;
	place-items: center;
	color: #fff;
	text-align: center;
	padding: 24px;
}
.assem-banner__img h2 { font-size: clamp(22px, 4vw, 40px); font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.assem-banner__img p { font-size: clamp(13px, 1.8vw, 18px); margin-top: 8px; opacity: .95; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.assem-banner__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	line-height: 0;
	z-index: 3;
}
.assem-banner__arrow--prev { left: 6px; }
.assem-banner__arrow--next { right: 6px; }
.assem-dots { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.assem-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	border: none;
	padding: 0;
	cursor: pointer;
	background: #c6c6c6;
	transition: background .3s ease;
}
.assem-dot.is-active { background: var(--red); }

/* Section headings */
.assem-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.assem-title { font-size: 29px; font-weight: 400; color: var(--navy); }
.assem-title--center { text-align: center; display: block; font-size: 30px; margin-bottom: 26px; }
.assem-more { font-size: 32px; line-height: 1; color: var(--navy-soft); }
.assem-more:hover { color: var(--red); }

/* Latest news */
/* As capas das matérias são banners largos — 33 das 35 medidas estão em
   2,70:1. Os cartões são dimensionados a partir daí, para a capa encher o
   cartão inteiro sem cortar nem sobrar faixa.

   A coluna da direita empilha dois cartões, por isso a largura do destaque
   tem de ser o dobro da coluna mais o intervalo entre eles; é o que dá o
   2,12fr contra 1fr. Com o destaque em 2,7 de proporção, os dois cartões da
   coluna caem exactamente na mesma proporção. */
.assem-news {
	display: grid;
	grid-template-columns: minmax(0, 2.12fr) minmax(0, 1fr);
	gap: 16px;
	align-items: stretch;
}
.assem-news__lead {
	position: relative;
	aspect-ratio: 2.7;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	background-color: var(--navy);
	background-size: cover;
	background-position: center;
}
.assem-news__col { display: flex; flex-direction: column; gap: 16px; }
.assem-news__item {
	position: relative;
	flex: 1 1 0;
	min-height: 0;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	background-color: var(--navy);
	background-size: cover;
	background-position: center;
}

/* Empilhado, cada cartão fica com a proporção da capa. */
@media (max-width: 760px) {
	.assem-news { grid-template-columns: minmax(0, 1fr); }
	.assem-news__lead,
	.assem-news__item { aspect-ratio: 2.7; }
	.assem-news__item { flex: 0 0 auto; }
}
.assem-news__body { padding: 26px 26px 24px; color: #fff; }
.assem-news__item .assem-news__body { padding: 16px 18px; }
.assem-news__title { font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; text-wrap: balance; }
.assem-news__item .assem-news__title { font-size: 16px; line-height: 1.22; }
.assem-news__date { font-size: 14px; opacity: .92; margin-top: 8px; }
.assem-news__item .assem-news__date { font-size: 11px; margin-top: 4px; }

/* Full-width content banners (Cidadão / Parceiro) */
.assem-banner-card { display: block; border-radius: 14px; overflow: hidden; }
.assem-banner-card img { width: 100%; height: auto; border-radius: 14px; }
.assem-banner-card--placeholder {
	aspect-ratio: 1132 / 210;
	display: grid;
	place-items: center;
	text-align: center;
	color: #fff;
	padding: 24px;
	background: linear-gradient(120deg, var(--navy), var(--navy-soft));
}
.assem-banner-card--placeholder strong { font-size: clamp(20px, 3vw, 30px); font-weight: 800; }
.assem-banner-card--placeholder span { display: block; font-size: 14px; margin-top: 6px; opacity: .9; }

/* Eu na Assem (gallery) */
.assem-gallery-box { background: var(--navy); padding: 20px 26px; color: #fff; border-radius: var(--radius); }
.assem-gallery-box .assem-title,
.assem-gallery-box .assem-more { color: #fff; }
.assem-gallery-box .assem-title { font-size: 26px; }
.assem-gallery-box .assem-more { font-size: 30px; }
.assem-gallery-box .assem-more:hover { color: #c9d4f2; }
.assem-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(172px, 1fr)); gap: 14px; }
.assem-gallery__item {
	aspect-ratio: 226 / 190;
	background-size: cover;
	background-position: center;
	border: 4px solid #fff;
	border-radius: 8px;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .22);
	background-color: #3c53a8;
}
.assem-gallery__note { margin-top: 16px; font-size: 13.5px; line-height: 1.5; }
.assem-gallery__link { display: inline-block; margin-top: 2px; font-size: 13.5px; }
.assem-gallery__link:hover { text-decoration: underline; }

/* Porque me associar (stats + join) */
.assem-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.assem-stat { background: var(--navy); border-radius: 10px; color: #fff; text-align: center; padding: 9px 10px 12px; }
.assem-stat__num { font-size: 24px; line-height: 1.25; }
.assem-stat__label { font-size: 12.5px; }
.assem-join { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 32px; align-items: flex-start; }
.assem-join__img {
	width: min(340px, 100%);
	aspect-ratio: 238 / 208;
	object-fit: cover;
	flex-shrink: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--navy), var(--navy-soft));
}
.assem-join__body { flex: 1 1 320px; font-size: 18px; line-height: 1.4; color: var(--navy); padding: 15px 0; }
.assem-join__body h3 { margin: 0 0 4px; font-weight: 700; font-size: 22px; }
.assem-btn {
	display: inline-block;
	margin-top: 16px;
	padding: 5px 13px;
	border: 2px solid var(--navy);
	background: #fff;
	color: var(--navy);
	font-size: 15px;
	border-radius: 5px;
	transition: background .15s ease, color .15s ease;
}
.assem-btn:hover { background: var(--navy); color: #fff; }

/* Benefícios (coverflow carousel) */
.assem-benefits__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 360px;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
}
.assem-benefit { position: relative; border-radius: 22px; overflow: hidden; display: grid; background-size: cover; background-position: center; }
.assem-benefit__label {
	display: grid;
	place-items: center;
	text-align: center;
	/* Stronger than the prototype: the real photos are brighter, so the labels
	   need more contrast to stay legible. */
	background: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .62));
	color: #fff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .85);
}
.assem-benefit__l1 { display: block; font-size: 16px; }
.assem-benefit__l2 { display: block; font-size: 22px; font-weight: 700; }
.assem-benefit--side { z-index: 1; flex: 0 0 clamp(140px, 24vw, 252px); height: 298px; }
.assem-benefit--left { margin-right: -32px; }
.assem-benefit--left .assem-benefit__label { padding: 12px 44px 12px 10px; }
.assem-benefit--right { margin-left: -32px; }
.assem-benefit--right .assem-benefit__label { padding: 12px 10px 12px 44px; }
.assem-benefit--center { z-index: 2; flex: 0 0 clamp(220px, 34vw, 348px); height: 348px; box-shadow: 0 8px 28px rgba(0, 0, 0, .3); }
.assem-benefit--center .assem-benefit__label { padding: 12px; }
.assem-benefit--center .assem-benefit__l1 { font-size: 23px; }
.assem-benefit--center .assem-benefit__l2 { font-size: 34px; }
.assem-benefits__arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 6px; z-index: 3; line-height: 0; }
.assem-benefits__arrow--prev { left: -38px; }
.assem-benefits__arrow--next { right: -38px; }
.assem-benefits__mobile { position: relative; max-width: 360px; margin: 0 auto; }
.assem-benefits__mobile .assem-benefit { height: 300px; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.assem-benefits__mobile .assem-benefit__label { padding: 14px; background: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.42)); }
.assem-benefits__mobile .assem-benefit__l1 { font-size: 20px; }
.assem-benefits__mobile .assem-benefit__l2 { font-size: 30px; }
.assem-benefits__mobile .assem-benefits__arrow { width: 42px; height: 42px; border-radius: 50%; background: rgba(48, 67, 136, .82); display: grid; place-items: center; padding: 0; }
.assem-benefits__mobile .assem-benefits__arrow--prev { left: 8px; }
.assem-benefits__mobile .assem-benefits__arrow--next { right: 8px; }
.assem-benefits__dots { display: flex; justify-content: center; gap: 9px; margin-top: 14px; }
.assem-bdot { width: 10px; height: 10px; border-radius: 999px; border: none; padding: 0; cursor: pointer; background: #c6c6c6; transition: width .3s ease, background .3s ease; }
.assem-bdot.is-active { width: 26px; background: var(--navy); }

/* Newsletter */
.assem-newsletter { background: var(--red); padding: 18px 34px 16px; border-radius: var(--radius); }
.assem-newsletter__title { text-align: center; color: #fff; font-weight: 700; font-size: 15.5px; margin: 0 0 14px; }
.assem-newsletter__row { display: flex; flex-wrap: wrap; gap: 12px; }
.assem-newsletter__input { min-width: 0; height: 30px; padding: 0 10px; border: none; border-radius: 3px; font-size: 13px; color: #333; outline: none; background: #fff; }
.assem-newsletter__input--name { flex: 1 1 200px; }
.assem-newsletter__input--email { flex: 1.15 1 220px; }
.assem-newsletter__btn { background: var(--navy); color: #fff; border: none; border-radius: 4px; padding: 0 26px; height: 30px; font-size: 13px; cursor: pointer; transition: background .15s ease; }
.assem-newsletter__btn:hover { background: var(--navy-dark); }
.assem-newsletter__consent { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: #fff; font-weight: 700; font-size: 12.5px; }
.assem-newsletter__consent a { text-decoration: underline; }
.assem-newsletter__success { margin: 0; text-align: center; color: #fff; font-weight: 700; font-size: 14.5px; }
.assem-hidden { display: none !important; }

/* Footer */
.assem-footer { background: var(--footer-bg); margin-top: 38px; }
.assem-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 36px 30px 10px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.assem-footer .assem-logo { position: static; top: auto; left: auto; width: 124px; height: 124px; flex-shrink: 0; box-shadow: none; }
.assem-footer .assem-logo img { padding: 11px; }
.assem-footer__addr { font-size: 14.5px; line-height: 1.6; color: var(--navy); }
.assem-footer__contacts { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; color: var(--navy); }
.assem-footer__contacts a { display: flex; align-items: center; gap: 9px; }
.assem-footer__contacts a:hover { text-decoration: underline; }
.assem-footer__links { margin-left: auto; display: flex; flex-direction: column; gap: 7px; text-align: right; font-size: 14.5px; color: var(--navy); }
.assem-footer__links .assem-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.assem-footer__links .assem-menu a:hover { text-decoration: underline; }
/* Só o PRIMEIRO item de topo (não o primeiro de cada sub-menu). */
.assem-footer__links .assem-menu > li:first-child > a { font-size: 16.5px; }
.assem-copyright { margin: 0; text-align: center; padding: 20px 20px 24px; font-size: 14.5px; color: var(--navy); }

@media (max-width: 839px) {
	.assem-footer__links { margin-left: 0; text-align: left; }
}

/* ==========================================================================
   Header Menu (WordPress nav, multi-level) — desktop navy bar
   ========================================================================== */
.assem-topmenu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 28px;
	height: 100%;
}
/* Todos os <li> precisam de position:relative — sem isto o submenu de 3º nível
   ancora-se ao item de topo e aparece deslocado, no cimo do dropdown. */
.assem-topmenu li { position: relative; }
.assem-topmenu > li { height: 100%; display: flex; align-items: center; }
.assem-topmenu a { color: #fff; font-size: 15.5px; text-decoration: none; white-space: nowrap; }
.assem-topmenu > li > a:hover { text-decoration: underline; }
.assem-topmenu .menu-item-has-children > a::after { content: "\25BE"; font-size: 10px; margin-left: 5px; }

/* Submenus */
.assem-topmenu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 5px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 216px;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
	display: none;
	z-index: 40;
}
.assem-topmenu li:hover > .sub-menu { display: block; }
.assem-topmenu .sub-menu a { display: block; padding: 7px 15px; color: #333; font-size: 14px; }
.assem-topmenu .sub-menu a:hover { background: #f1f1f1; }
.assem-topmenu .sub-menu .menu-item-has-children > a { font-weight: 700; }
.assem-topmenu .sub-menu .menu-item-has-children > a::after { content: "\25B8"; float: right; }

/* Third level flies to the side */
.assem-topmenu .sub-menu .sub-menu { top: -6px; left: 100%; }

/* Mobile: nested items indented inside the panel */
.assem-mobile-panel .sub-menu { list-style: none; margin: 0; padding: 0 0 0 14px; }
.assem-mobile-panel .assem-menu .menu-item-has-children > a::after { content: " ▾"; font-size: 11px; }

/* Setas do banner no mobile.
   O protótipo escondia-as, mas no telemóvel são a única forma de navegar (não
   há hover). Ganham um fundo circular translúcido para não se perderem sobre a
   imagem, e encostam mais à borda por causa do padding menor da secção. */
@media (max-width: 839px) {
	.assem-banner__arrow {
		width: 38px;
		height: 38px;
		border-radius: 50%;
		background: rgba(255, 255, 255, .85);
		box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
		display: grid;
		place-items: center;
		padding: 0;
	}
	.assem-banner__arrow svg { width: 14px; height: 19px; }
	.assem-banner__arrow--prev { left: 10px; }
	.assem-banner__arrow--next { right: 10px; }
}

/* Eu na Assem — gallery items are links to the CPT posts */
.assem-gallery__item {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	transition: transform .25s ease;
}
.assem-gallery__item:hover { transform: translateY(-3px); }
.assem-gallery__caption {
	width: 100%;
	padding: 8px 10px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
	background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,0) 100%);
}

/* ==========================================================================
   Mobile refinements
   ========================================================================== */

/* "Junte-se a nós!" — image spans the full width on mobile */
@media (max-width: 839px) {
	.assem-join { gap: 18px; }
	.assem-join__img {
		width: 100%;
		max-width: none;
		aspect-ratio: 16 / 9;
		object-fit: cover;
	}
	.assem-join__body { flex-basis: 100%; padding-top: 0; }
}

/* Footer: centre the logo and the address block on small screens */
@media (max-width: 420px) {
	.assem-footer__inner {
		justify-content: center;
		text-align: center;
		gap: 22px;
	}
	.assem-footer .assem-logo { margin-left: auto; margin-right: auto; }
	.assem-footer__addr {
		width: 100%;
		text-align: center;
	}
	.assem-footer__contacts { width: 100%; align-items: center; }
	.assem-footer__links { width: 100%; text-align: center; align-items: center; }
	.assem-footer__links .assem-menu { align-items: center; }
}

/* ==========================================================================
   News listing / search results (list + advertising sidebar)
   ========================================================================== */
.assem-listing__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 40px;
	align-items: start;
}
.assem-listing__heading {
	font-size: 26px;
	font-weight: 400;
	color: var(--navy);
	margin: 0 0 22px;
}
.assem-listing__heading::before {
	content: "•";
	margin-right: 6px;
	color: var(--navy);
}

.assem-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.assem-list__item { display: flex; gap: 20px; align-items: flex-start; }

/* A miniatura segue a proporção das capas (2,7:1, como na home): em 166/104
   — quase 1,6:1 — o "cover" comia perto de 40% das laterais de cada capa.
   A largura sobe de 166px para 240px para a miniatura não ficar franzina ao
   lado do texto agora que é mais baixa. */
.assem-list__thumb {
	flex: 0 0 240px;
	width: 240px;
	aspect-ratio: 27 / 10;
	border-radius: 8px;
	overflow: hidden;
	display: block;
	background: linear-gradient(135deg, var(--navy), var(--navy-soft));
	box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
}
.assem-list__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.assem-list__thumb--empty { display: block; width: 100%; height: 100%; }

.assem-list__body { flex: 1 1 auto; min-width: 0; }
.assem-list__date { font-size: 12px; color: #6b74a0; margin-bottom: 2px; }
.assem-list__title { margin: 0 0 4px; font-size: 22px; font-weight: 400; line-height: 1.25; color: var(--navy); }
.assem-list__title a { color: inherit; }
.assem-list__title a:hover { color: var(--red); }
.assem-list__excerpt { margin: 0; font-size: 15px; line-height: 1.45; color: #333; }
.assem-list__empty { font-size: 18px; color: var(--navy); margin-bottom: 18px; }

.assem-listing__pagination { margin-top: 34px; }
.assem-listing__pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 3px;
	border: 1px solid var(--navy);
	border-radius: 5px;
	color: var(--navy);
	font-size: 14px;
}
.assem-listing__pagination .page-numbers.current,
.assem-listing__pagination .page-numbers:hover { background: var(--navy); color: #fff; }

/* Sidebar ads */
.assem-listing__aside { display: flex; flex-direction: column; gap: 22px; }
.assem-aside-ad { display: block; border-radius: 6px; overflow: hidden; }
.assem-aside-ad img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
	.assem-listing__grid { grid-template-columns: 1fr; gap: 34px; }
	.assem-listing__aside {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.assem-aside-ad { flex: 1 1 220px; max-width: 300px; }
}
@media (max-width: 560px) {
	.assem-list__item { flex-direction: column; gap: 10px; }
	.assem-list__thumb { flex-basis: auto; width: 100%; aspect-ratio: 27 / 10; }
	.assem-list__title { font-size: 19px; }
}

/* ==========================================================================
   Página: Convênio Médico
   ========================================================================== */
.assem-pg { font-family: 'Poppins', system-ui, 'Segoe UI', sans-serif; }
.assem-pg p { margin: 0 0 14px; }

/* Cabeçalhos com traço */
.assem-pg__head { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
/* Empty flex spacer — lets the heading sit centred with the rule on one side
   only (as in the reference layout). */
.assem-pg__spacer { flex: 1 1 auto; }
.assem-pg__rule { flex: 1 1 auto; height: 3px; background: var(--navy); border-radius: 2px; }

/* The page title keeps its rule aligned with the bold second line. */
.assem-pg__head--title { align-items: flex-end; }
.assem-pg__head--title .assem-pg__rule { margin-bottom: 16px; }

.assem-pg__h1 { display: flex; flex-direction: column; line-height: 1.02; color: #1b1b1b; flex: 0 0 auto; }
.assem-pg__h1-thin { font-size: clamp(30px, 4.4vw, 46px); font-weight: 300; }
.assem-pg__h1-bold { font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; }
.assem-pg__h2 {
	flex: 0 0 auto;
	margin: 0;
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 700;
	color: var(--navy);
}

/* Linhas imagem + texto */
.assem-pg__row {
	display: flex;
	align-items: center;
	gap: 34px;
	flex-wrap: wrap;
}
.assem-pg__row--reverse { flex-direction: row-reverse; }
.assem-pg__img {
	flex: 0 0 clamp(260px, 34%, 380px);
	width: clamp(260px, 34%, 380px);
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	box-shadow: 0 3px 14px rgba(0, 0, 0, .16);
}
.assem-pg__text {
	flex: 1 1 320px;
	min-width: 0;
	font-size: clamp(15px, 1.35vw, 19px);
	line-height: 1.6;
	color: #222;
}
.assem-pg__text--right { text-align: right; }
.assem-pg__contact { font-weight: 600; color: var(--navy); }
.assem-pg__contact a { color: inherit; }
.assem-pg__contact a:hover { text-decoration: underline; }

/* Operadoras */
.assem-pg__logos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 18px;
}
.assem-pg__logo {
	display: grid;
	place-items: center;
	height: 92px;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid #d7d9e2;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}
.assem-pg__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.assem-pg__cta { display: flex; justify-content: center; margin-top: 34px; }
.assem-pg__btn {
	display: inline-block;
	padding: 9px 20px;
	background: var(--navy);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	border-radius: 6px;
	transition: background .15s ease;
}
.assem-pg__btn:hover { background: var(--navy-dark); }

/* Documentos */
.assem-pg__docs-title {
	text-align: center;
	font-size: clamp(17px, 1.7vw, 21px);
	font-weight: 700;
	color: var(--navy);
	line-height: 1.5;
	margin: 0 0 22px;
}
.assem-pg__docs {
	list-style: none;
	margin: 0;
	padding: 22px 26px;
	border: 2px solid var(--navy);
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.assem-pg__docs li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 15px;
	line-height: 1.45;
	color: #222;
}
.assem-pg__check { flex: 0 0 17px; margin-top: 2px; }

@media (max-width: 780px) {
	.assem-pg__head { flex-wrap: nowrap; }
	.assem-pg__spacer { display: none; }
	.assem-pg__row, .assem-pg__row--reverse { flex-direction: column; align-items: stretch; gap: 20px; }
	.assem-pg__img { width: 100%; flex-basis: auto; aspect-ratio: 16 / 10; }
	.assem-pg__text, .assem-pg__text--right { text-align: left; }
}

/* ==========================================================================
   Componentes partilhados das páginas internas (.assem-pg)
   ========================================================================== */

/* Intro em destaque */
.assem-pg__intro {
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.65;
	color: #222;
	max-width: 900px;
}

/* --- Pessoas (diretoria / conselhos) --- */
.assem-pg__people {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 24px 20px;
}
.assem-pg__person { display: flex; gap: 14px; align-items: center; }
.assem-pg__person img {
	flex: 0 0 84px;
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 10px;
	background: #dfe3ef;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
}
.assem-pg__person-name { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.25; }
.assem-pg__person-role { font-size: 12.5px; color: #6b74a0; margin-top: 2px; }

/* Destaque (presidente) */
.assem-pg__lead { display: flex; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.assem-pg__lead img {
	flex: 0 0 clamp(180px, 24%, 250px);
	width: clamp(180px, 24%, 250px);
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: 0 3px 14px rgba(0, 0, 0, .18);
}
.assem-pg__lead-text { flex: 1 1 320px; font-size: 16px; line-height: 1.6; color: #222; }
.assem-pg__lead-sign { margin-top: 12px; font-weight: 700; color: var(--navy); }

/* --- Galeria em grelha --- */
.assem-pg__gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 14px;
}
/* As miniaturas estão dentro de <a> (lightbox) — o <a> é que forma a grelha. */
.assem-pg__gallery > a { display: block; cursor: zoom-in; }
.assem-pg__gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
	display: block;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
	transition: transform .25s ease;
}
.assem-pg__gallery img:hover { transform: translateY(-3px); }

/* --- Timeline (história) --- */
.assem-pg__timeline { display: flex; flex-direction: column; gap: 26px; }
.assem-pg__tl {
	display: flex;
	gap: 22px;
	align-items: center;
	padding: 16px 18px;
	border-left: 4px solid var(--navy);
	background: #f6f7fb;
	border-radius: 0 12px 12px 0;
}
.assem-pg__tl:nth-child(even) { flex-direction: row-reverse; border-left: none; border-right: 4px solid var(--navy); border-radius: 12px 0 0 12px; }
.assem-pg__tl img {
	flex: 0 0 clamp(160px, 26%, 260px);
	width: clamp(160px, 26%, 260px);
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.assem-pg__tl-body { flex: 1 1 260px; min-width: 0; }
.assem-pg__tl-year { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; color: var(--navy); line-height: 1.1; }
.assem-pg__tl-text { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: #333; }

/* --- Cards de serviços (ícone + checklist) --- */
.assem-pg__services {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
}
.assem-pg__service {
	background: #fff;
	border: 1px solid #d7d9e2;
	border-radius: 12px;
	padding: 18px 20px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, .06);
}
.assem-pg__service h3 {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	color: var(--navy);
	display: flex;
	align-items: center;
	gap: 8px;
}
.assem-pg__service ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.assem-pg__service li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: #333; }

/* --- Card de preço (associar) --- */
.assem-pg__price {
	max-width: 520px;
	margin: 0 auto;
	border: 2px solid var(--navy);
	border-radius: 16px;
	overflow: hidden;
}
.assem-pg__price-head { background: var(--navy); color: #fff; text-align: center; padding: 20px 18px; }
.assem-pg__price-head .lbl { font-size: 14.5px; opacity: .9; }
.assem-pg__price-head .val { font-size: 40px; font-weight: 800; line-height: 1.1; margin: 2px 0 4px; }
.assem-pg__price-head .obs { font-size: 12px; opacity: .85; line-height: 1.4; }
.assem-pg__price-body { padding: 20px 24px; }
.assem-pg__price-body ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.assem-pg__price-body li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; color: #222; }
.assem-pg__price-body .note { margin: 14px 0 0; font-size: 12.5px; color: #6b74a0; }

/* --- Vídeo responsivo --- */
.assem-pg__video { position: relative; width: 100%; max-width: 780px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(0, 0, 0, .2); }
.assem-pg__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Contactos (mapa + endereço) --- */
.assem-pg__places { display: flex; flex-direction: column; gap: 30px; }
.assem-pg__place { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 26px; align-items: center; }
.assem-pg__place iframe { width: 100%; height: 260px; border: 0; border-radius: 12px; box-shadow: 0 3px 14px rgba(0, 0, 0, .16); display: block; }
.assem-pg__place-name { font-size: 22px; font-weight: 700; color: var(--navy); margin: 0 0 10px; }
.assem-pg__place-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #333; margin-bottom: 8px; }
.assem-pg__place-row svg { flex: 0 0 18px; margin-top: 2px; }
@media (max-width: 820px) {
	.assem-pg__place { grid-template-columns: 1fr; }
}

/* Galeria em retrato (ex.: professores). As imagens são cards prontos, com o
   nome e a função impressos no rodapé — por isso usamos o rácio nativo (9:16)
   e não recortamos nada: qualquer crop cortaria o rosto ou a legenda. */
.assem-pg__gallery--portrait {
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 16px;
}
.assem-pg__gallery--portrait img {
	aspect-ratio: 9 / 16;
	object-fit: contain;
	background: #f6f7fb;
}

/* ==========================================================================
   Notícia (single)
   ========================================================================== */
.assem-single { font-family: 'Poppins', system-ui, 'Segoe UI', sans-serif; }

/* Mesmo respiro que o banner da home tem em relação à tarja do topo. */
.assem-single__hero { display: flex; justify-content: center; padding-top: clamp(20px, 3vw, 36px); }
/* A capa segue a proporção com que é cadastrada (2,7:1, como na home e na
   listagem): em 16/10 o "cover" cortava perto de 40% da largura.
   A largura acompanha o corpo do texto — 860px, e a capa tem 852px nativos,
   por isso aparece praticamente em tamanho real. */
.assem-single__hero img {
	width: 100%;
	max-width: 860px;
	aspect-ratio: 27 / 10;
	object-fit: cover;
	border-radius: 6px;
	display: block;
	box-shadow: 0 3px 14px rgba(0, 0, 0, .16);
}

.assem-single__head { max-width: 860px; text-align: center; padding-top: 14px; padding-bottom: 0; }
.assem-single__date { font-size: 15px; color: #333; margin-bottom: 4px; }
.assem-single__title {
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 400;
	line-height: 1.2;
	color: #1b1b1b;
	margin: 0 0 10px;
	text-wrap: balance;
}
.assem-single__lead {
	font-size: clamp(15px, 1.5vw, 19px);
	font-style: italic;
	color: #444;
	margin: 0 0 14px;
}
.assem-single__rule { border: 0; border-top: 1px solid #c9ccd8; margin: 8px 0 0; }

.assem-single__body {
	max-width: 860px;
	font-size: 16px;
	line-height: 1.65;
	color: #222;
}
.assem-single__body p { margin: 0 0 14px; }
.assem-single__body strong { color: #1b1b1b; }
.assem-single__body a { color: var(--navy-soft); text-decoration: underline; }
.assem-single__body h2,
.assem-single__body h3 { font-size: 19px; font-weight: 700; color: #1b1b1b; margin: 20px 0 8px; }
.assem-single__body ul,
.assem-single__body ol { margin: 0 0 14px; padding-left: 20px; }

/* FOTOS */
.assem-single__fotos { max-width: 860px; }
.assem-single__fotos-title { font-size: 16px; font-weight: 700; color: #1b1b1b; margin: 0 0 12px; }
.assem-single__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 10px;
}
.assem-single__grid img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 4px;
	display: block;
	transition: transform .2s ease;
}
.assem-single__grid a:hover img { transform: translateY(-2px); }

/* ==========================================================================
   Mais notícias (carrossel)
   ========================================================================== */
.assem-more-news__title {
	font-size: 22px;
	font-weight: 400;
	color: var(--navy);
	margin: 0 0 14px;
}
.assem-more-news__title::before { content: "•"; margin-right: 6px; }

.assem-more-news__viewport { position: relative; display: flex; align-items: center; gap: 10px; }

.assem-more-news__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	flex: 1 1 auto;
	padding: 4px 0;
}
.assem-more-news__track::-webkit-scrollbar { display: none; }

.assem-more-news__card {
	flex: 0 0 clamp(190px, 23%, 250px);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	text-align: center;
}
.assem-more-news__card img,
.assem-more-news__ph {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 4px;
	display: block;
	background: linear-gradient(135deg, var(--navy), var(--navy-soft));
	transition: transform .2s ease;
}
.assem-more-news__card:hover img { transform: translateY(-3px); }
.assem-more-news__name {
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.3;
	color: #1b1b1b;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.assem-more-news__date { font-size: 11px; color: #6b74a0; margin-top: 3px; }

.assem-more-news__arrow {
	flex: 0 0 auto;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	line-height: 0;
}
.assem-more-news__arrow:disabled { opacity: .3; cursor: default; }

@media (max-width: 560px) {
	.assem-more-news__card { flex-basis: 62%; }
	.assem-single__grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
}

/* ==========================================================================
   Rodapé — mapa do site em 3 colunas
   ========================================================================== */
.assem-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, auto));
	gap: 14px 34px;
	text-align: left;
}
.assem-footer__col-title {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--navy);
	white-space: nowrap;
}
.assem-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.assem-footer__col a {
	font-size: 13.5px;
	color: #4a5794;
	white-space: nowrap;
}
.assem-footer__col a:hover { color: var(--navy); text-decoration: underline; }

@media (max-width: 1040px) {
	.assem-footer__links { margin-left: 0; width: 100%; }
	.assem-footer__cols { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
@media (max-width: 420px) {
	.assem-footer__cols { text-align: center; justify-items: center; }
	.assem-footer__col ul { align-items: center; }
}

/* ==========================================================================
   Lightbox (visualizador de imagem)
   ========================================================================== */
.assem-lb {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 20px;
	background: rgba(12, 16, 32, .92);
	backdrop-filter: blur(2px);
}
.assem-lb.is-open { display: flex; }

/* Impede o fundo de fazer scroll enquanto o visualizador está aberto. */
body.assem-lb-lock { overflow: hidden; }

.assem-lb__stage {
	margin: 0;
	max-width: min(1100px, 100%);
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.assem-lb__img {
	max-width: 100%;
	max-height: calc(100vh - 130px);
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
	background: #1a2036;
	transition: opacity .2s ease;
}
.assem-lb.is-loading .assem-lb__img { opacity: .35; }

.assem-lb__caption {
	color: #e6e9f5;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
	max-width: 700px;
}

.assem-lb__close,
.assem-lb__nav {
	background: rgba(255, 255, 255, .12);
	color: #fff;
	border: none;
	cursor: pointer;
	border-radius: 50%;
	display: grid;
	place-items: center;
	transition: background .15s ease;
	flex: 0 0 auto;
}
.assem-lb__close:hover,
.assem-lb__nav:hover { background: rgba(255, 255, 255, .28); }

.assem-lb__close {
	position: absolute;
	top: 16px;
	right: 18px;
	width: 42px;
	height: 42px;
	font-size: 28px;
	line-height: 1;
}
.assem-lb__nav {
	width: 46px;
	height: 46px;
	font-size: 20px;
}
.assem-lb__counter {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: #c9cee0;
	font-size: 13px;
	letter-spacing: .04em;
}

/* Miniaturas: deixa claro que são clicáveis. */
.assem-single__grid a { cursor: zoom-in; display: block; }

@media (max-width: 620px) {
	.assem-lb { padding: 12px; gap: 4px; }
	.assem-lb__nav { width: 38px; height: 38px; font-size: 17px; }
	.assem-lb__img { max-height: calc(100vh - 150px); }
}

/* ==========================================================================
   Páginas construídas no Elementor
   ========================================================================== */

/* O Elementor traz a sua própria grelha — aqui só garantimos o respiro em
   relação à tarja do topo e ao rodapé. */
.assem-pg--elementor {
	padding-top: clamp(20px, 3vw, 36px);
	padding-bottom: clamp(20px, 3vw, 36px);
}

/* Conteúdo do editor nas páginas simples (page.php sem Elementor). */
.assem-entry { font-size: 16px; line-height: 1.7; color: #222; }
.assem-entry p { margin: 0 0 14px; }
.assem-entry h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 22px 0 10px; }
.assem-entry h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 18px 0 8px; }
.assem-entry ul, .assem-entry ol { margin: 0 0 14px; padding-left: 20px; }
.assem-entry img { border-radius: 10px; }
.assem-entry a { color: var(--navy-soft); text-decoration: underline; }

.assem-pg__empty {
	font-size: 16px;
	color: #6b74a0;
	background: #f6f7fb;
	border: 1px dashed #c9cfe4;
	border-radius: 10px;
	padding: 22px;
	text-align: center;
}

/* ==========================================================================
   Layout das páginas geradas no Elementor
   --------------------------------------------------------------------------
   O Elementor controla o layout dos containers por custom properties
   (--flex-direction, --width, --gap). Definir só `display:flex` não chega:
   é preciso sobrepor essas variáveis, senão os defaults dele ganham.
   ========================================================================== */

/* Linha: imagem + texto lado a lado */
.e-con.assem-el-row > .e-con-inner {
	--flex-direction: row;
	--flex-wrap: wrap;
	--align-items: center;
	--gap: 30px;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 30px !important;
}
.e-con.assem-el-row--rev > .e-con-inner {
	--flex-direction: row-reverse;
	flex-direction: row-reverse !important;
}
.e-con.assem-el-col-img {
	--width: clamp(220px, 32%, 340px);
	width: clamp(220px, 32%, 340px) !important;
	flex: 0 0 auto !important;
}
.e-con.assem-el-col-txt {
	--width: auto;
	width: auto !important;
	flex: 1 1 320px !important;
}
.assem-el-col-img img { border-radius: 8px; box-shadow: 0 3px 14px rgba(0, 0, 0, .16); }

/* Grelha de pessoas */
.e-con.assem-el-people > .e-con-inner {
	--flex-direction: row;
	--flex-wrap: wrap;
	--align-items: flex-start;
	--gap: 26px 20px;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: flex-start !important;
	gap: 26px 20px !important;
}
.e-con.assem-el-person {
	--width: calc(20% - 16px);
	width: calc(20% - 16px) !important;
	flex: 0 0 auto !important;
}
.assem-el-person img { border-radius: 8px; }
.assem-el-person .elementor-heading-title { font-size: 15px !important; line-height: 1.25; }
.assem-el-person .elementor-widget-text-editor { font-size: 13px; color: #6b74a0; }

/* Logos das operadoras */
.e-con.assem-el-logos > .e-con-inner {
	--flex-direction: row;
	--flex-wrap: wrap;
	--gap: 18px;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 18px !important;
}
.e-con.assem-el-logo {
	--width: calc(25% - 14px);
	width: calc(25% - 14px) !important;
	flex: 0 0 auto !important;
	display: grid;
	place-items: center;
	background: #fff;
	border: 1px solid #d7d9e2;
	border-radius: 8px;
	padding: 14px !important;
}

/* A galeria do Elementor herda o respiro do tema. */
.assem-pg--elementor .elementor-image-gallery img { border-radius: 8px; }

@media (max-width: 900px) {
	.e-con.assem-el-person { --width: calc(33.333% - 14px); width: calc(33.333% - 14px) !important; }
	.e-con.assem-el-logo { --width: calc(50% - 9px); width: calc(50% - 9px) !important; }
}
@media (max-width: 620px) {
	.e-con.assem-el-row > .e-con-inner,
	.e-con.assem-el-row--rev > .e-con-inner {
		--flex-direction: column;
		flex-direction: column !important;
	}
	.e-con.assem-el-col-img { --width: 100%; width: 100% !important; }
	.e-con.assem-el-person { --width: calc(50% - 10px); width: calc(50% - 10px) !important; }
}

/* ==========================================================================
   Elementor — aproximar do estilo do fallback (.assem-pg)
   --------------------------------------------------------------------------
   Os widgets do Elementor trazem os seus próprios defaults (tamanhos, cores,
   grelha da galeria). Aqui reescrevemo-los para que uma página montada no
   Elementor fique visualmente igual à versão em código.
   ========================================================================== */

/* ---- Tipografia base ---- */
.assem-pg--elementor {
	font-family: 'Poppins', system-ui, 'Segoe UI', sans-serif;
	color: #222;
}
.assem-pg--elementor .elementor-widget-text-editor {
	font-size: clamp(15px, 1.35vw, 19px);
	line-height: 1.6;
	color: #222;
}
.assem-pg--elementor .elementor-widget-text-editor p { margin: 0 0 14px; }
.assem-pg--elementor .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.assem-pg--elementor a { color: var(--navy-soft); }

/* ---- Título da página: "Fino BOLD" + traço a preencher ---- */
.e-con.assem-el-title > .e-con-inner {
	--flex-direction: row;
	--align-items: center;
	--gap: 20px;
	flex-direction: row !important;
	align-items: center !important;
	gap: 20px !important;
	flex-wrap: nowrap !important;
}
.assem-el-title .elementor-widget-heading { flex: 0 0 auto; width: auto !important; }
.assem-el-title .elementor-heading-title {
	font-size: clamp(30px, 4.4vw, 46px);
	font-weight: 300;
	line-height: 1.05;
	color: #1b1b1b;
	white-space: nowrap;
}
.assem-el-title .elementor-heading-title strong { font-weight: 600; }
.assem-el-title .elementor-widget-divider { flex: 1 1 auto; width: auto !important; }

/* ---- Título de secção: heading centrado + traço ---- */
.e-con.assem-el-head > .e-con-inner {
	--flex-direction: row;
	--align-items: center;
	--gap: 20px;
	flex-direction: row !important;
	align-items: center !important;
	gap: 20px !important;
	flex-wrap: nowrap !important;
}
.assem-el-head .elementor-widget-heading { flex: 0 0 auto; width: auto !important; }
.assem-el-head .elementor-widget-divider { flex: 1 1 auto; width: auto !important; }
.assem-el-head .elementor-heading-title {
	font-size: clamp(24px, 3.2vw, 36px);
	font-weight: 700;
	color: var(--navy);
	line-height: 1.15;
	white-space: nowrap;
}

/* Traço navy (o divider do Elementor) */
.assem-pg--elementor .elementor-divider { padding: 0 !important; }
.assem-pg--elementor .elementor-divider-separator {
	border-top: 3px solid var(--navy) !important;
	border-radius: 2px;
	width: 100% !important;
}

/* Subtítulos sem traço */
.assem-el-subhead .elementor-heading-title {
	font-size: clamp(17px, 1.8vw, 22px);
	font-weight: 700;
	color: var(--navy);
	line-height: 1.4;
}

/* ---- Introdução ---- */
.assem-el-intro .elementor-widget-text-editor {
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.65;
	max-width: 900px;
}

/* ---- Imagens ---- */
.assem-pg--elementor .elementor-widget-image img {
	border-radius: 10px;
	box-shadow: 0 3px 14px rgba(0, 0, 0, .16);
	display: block;
}
.assem-el-col-img .elementor-widget-image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}
/* Retratos das pessoas: sem corte agressivo. */
.assem-el-person .elementor-widget-image img {
	aspect-ratio: 3 / 4;
	object-fit: cover;
	width: 100%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

/* ---- Galeria: mesma grelha do fallback ---- */
.assem-pg--elementor .elementor-image-gallery .gallery {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 14px;
	margin: 0 !important;
}
.assem-pg--elementor .elementor-image-gallery .gallery-item {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
	padding: 0 !important;
}
.assem-pg--elementor .elementor-image-gallery .gallery-icon,
.assem-pg--elementor .elementor-image-gallery .gallery-icon a { display: block; }
.assem-pg--elementor .elementor-image-gallery img {
	width: 100% !important;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: none !important;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
	transition: transform .25s ease;
}
.assem-pg--elementor .elementor-image-gallery img:hover { transform: translateY(-3px); }
.assem-pg--elementor .elementor-image-gallery .gallery-caption { display: none; }

/* Galeria de professores (retratos altos): sem corte. */
.assem-el-gallery--portrait .elementor-image-gallery .gallery {
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.assem-el-gallery--portrait .elementor-image-gallery img {
	aspect-ratio: 9 / 16;
	object-fit: contain;
	background: #f6f7fb;
}

/* ---- Checklists (icon-list) na caixa do fallback ----
   O frontend.min.css do Elementor traz `.e-con > .e-con-inner { padding-inline:
   0 }` com a mesma especificidade desta regra e é carregado depois, por isso
   ganhava e colava o texto à borda do quadro. Daí o !important. */
.assem-el-checklist > .e-con-inner {
	border: 2px solid var(--navy);
	border-radius: 14px;
	padding: 22px 26px !important;
}
@media (max-width: 620px) {
	.assem-el-checklist > .e-con-inner { padding: 18px !important; }
}
.assem-pg--elementor .elementor-icon-list-item {
	font-size: 15px;
	line-height: 1.45;
	color: #222;
	margin-bottom: 6px;
}
.assem-pg--elementor .elementor-icon-list-icon { color: #3aa757; }

/* ---- Botão ----
   O Elementor pinta os botões com a cor global do "kit" (verde, por omissão),
   com especificidade alta — daí o !important para trazer o navy da marca. */
.assem-pg--elementor .elementor-button,
.assem-pg--elementor .elementor-button-wrapper .elementor-button,
.assem-pg--elementor a.elementor-button {
	background-color: var(--navy) !important;
	background-image: none !important;
	color: #fff !important;
	fill: #fff !important;
	font-size: 15px !important;
	font-weight: 600;
	border-radius: 6px;
	padding: 10px 22px;
	border: none;
	transition: background-color .15s ease;
	font-family: inherit;
}
.assem-pg--elementor .elementor-button:hover,
.assem-pg--elementor a.elementor-button:hover {
	background-color: var(--navy-dark) !important;
	color: #fff !important;
}

/* ---- Vídeo ---- */
.assem-el-video > .e-con-inner { max-width: 780px; margin: 0 auto; }
.assem-el-video .elementor-widget-video { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(0, 0, 0, .2); }

@media (max-width: 700px) {
	/* Em ecrãs estreitos o traço ao lado do título rouba espaço ao texto. */
	.e-con.assem-el-title > .e-con-inner,
	.e-con.assem-el-head > .e-con-inner { flex-wrap: wrap !important; }
	.assem-el-title .elementor-heading-title,
	.assem-el-head .elementor-heading-title { white-space: normal; }
	.assem-el-title .elementor-widget-divider,
	.assem-el-head .elementor-widget-divider { flex-basis: 100% !important; }
}

/* ==========================================================================
   Logo com contorno próprio (logo-assem-v2)
   --------------------------------------------------------------------------
   Quando o logo enviado já inclui o anel circular, o container não desenha o
   seu próprio — senão ficariam dois anéis, com o logo encolhido no meio.
   ========================================================================== */
.assem-logo--img {
	background: transparent;
	border: none;
	box-shadow: none;
}
.assem-logo--img img {
	padding: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ==========================================================================
   Agenda de eventos
   ========================================================================== */
.assem-agenda__tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 22px;
	border-bottom: 2px solid #e4e7f0;
}
.assem-agenda__tab {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	padding: 10px 6px;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	color: #6b74a0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color .15s ease;
}
.assem-agenda__tab:hover { color: var(--navy); }
.assem-agenda__tab.is-active { color: var(--navy); border-bottom-color: var(--navy); }
.assem-agenda__count {
	font-size: 12px;
	font-weight: 700;
	background: #e4e7f0;
	color: var(--navy);
	border-radius: 999px;
	padding: 1px 8px;
	min-width: 20px;
	text-align: center;
}
.assem-agenda__tab.is-active .assem-agenda__count { background: var(--navy); color: #fff; }

.assem-agenda__panel[hidden] { display: none; }

.assem-agenda__month {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--navy);
	margin: 26px 0 14px;
	padding-bottom: 8px;
	border-bottom: 1px dashed #cdd3e6;
}
.assem-agenda__month:first-child { margin-top: 0; }

.assem-agenda__list { display: flex; flex-direction: column; gap: 16px; }

/* Cartão de evento */
.assem-event {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr) 150px;
	gap: 20px;
	align-items: center;
	background: #fff;
	border: 1px solid #e4e7f0;
	border-left: 4px solid var(--navy);
	border-radius: 12px;
	padding: 16px 20px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, .05);
	transition: box-shadow .2s ease, transform .2s ease;
}
.assem-event:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .1); transform: translateY(-2px); }

/* Badge de data */
.assem-event__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 12px;
	background: linear-gradient(145deg, var(--navy), var(--navy-soft));
	color: #fff;
	text-align: center;
	flex-shrink: 0;
}
.assem-event__day { font-size: 30px; font-weight: 800; line-height: 1; }
.assem-event__mon { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }

/* Corpo */
.assem-event__body { min-width: 0; }
.assem-event__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 5px; }
.assem-event__weekday { font-size: 12.5px; font-weight: 600; text-transform: capitalize; color: #6b74a0; }
.assem-event__pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	color: var(--navy);
	background: #eef1f8;
	border-radius: 999px;
	padding: 3px 10px;
}
.assem-event__pill svg { flex-shrink: 0; }
.assem-event__title { font-size: 19px; font-weight: 700; line-height: 1.25; margin: 0 0 5px; }
.assem-event__title a { color: #1b1b1b; }
.assem-event__title a:hover { color: var(--navy); }
.assem-event__excerpt { font-size: 14px; line-height: 1.5; color: #444; margin: 0 0 8px; }
.assem-event__link { font-size: 14px; font-weight: 600; color: var(--navy-soft); }
.assem-event__link:hover { color: var(--red); }

/* Miniatura */
.assem-event__thumb {
	width: 150px;
	height: 96px;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
}

.assem-agenda__empty {
	font-size: 16px;
	color: #6b74a0;
	background: #f6f7fb;
	border: 1px dashed #c9cfe4;
	border-radius: 10px;
	padding: 26px;
	text-align: center;
}

@media (max-width: 720px) {
	.assem-event { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "date body" "thumb thumb"; padding: 14px; gap: 14px; }
	.assem-event__date { grid-area: date; width: 64px; height: 64px; }
	.assem-event__day { font-size: 24px; }
	.assem-event__body { grid-area: body; }
	.assem-event__thumb { grid-area: thumb; width: 100%; height: 160px; }
}

/* Barra de detalhes do evento (single de post da Agenda) */
.assem-single__event {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 20px;
	margin: 0 0 6px;
	padding: 12px 16px;
	background: #eef1f8;
	border-radius: 10px;
}
.assem-single__event-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--navy);
}
