/* Nexella — ajustes do tema sobre a base vinda do protótipo aprovado.
   Carregado depois de theme-base.css. */

/* Expõe a paleta com o prefixo que o formulário do Nexella Core procura, para
   que o cadastro herde as cores do tema em vez de repetir valores. */
:root {
	--nxl-c-purple: var(--purple);
	--nxl-c-purple-light: var(--purple-light);
	--nxl-c-wash: var(--purple-wash);
	--nxl-c-mist: var(--mist);
	--nxl-c-line: var(--line);
	--nxl-c-ink: var(--ink);
	--nxl-c-body: var(--body);
	--nxl-c-muted: var(--muted);
}

/* No protótipo as páginas eram seções escondidas; no site cada uma é uma URL. */
.page[hidden] { display: block; }

/* ---------- conteúdo vindo do editor do WordPress ---------- */
.entry-content {
	max-width: 68ch;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.entry-content > * { margin: 0; }

/* Título ou parágrafo vazio, deixado por engano no editor, não deve abrir um
   buraco na página. Some sem precisar caçar o bloco no painel. */
.entry-content h1:empty,
.entry-content h2:empty,
.entry-content h3:empty,
.entry-content h4:empty,
.entry-content p:empty,
.entry-content div:empty { display: none; }

/* Uma imagem solta no editor ocupa a largura do texto, não fica perdida no
   meio da página. */
.entry-content .wp-block-image,
.entry-content .wp-block-media-text { width: 100%; }
.entry-content .wp-block-image img,
.entry-content .wp-block-media-text__media img {
	width: 100%;
	height: auto;
	border-radius: var(--r-md);
}
.entry-content h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); margin-top: 18px; }
.entry-content h3 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); margin-top: 12px; }
.entry-content ul,
.entry-content ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.entry-content a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }
.entry-content img { border-radius: var(--r-md); }
.entry-content blockquote {
	border-left: 3px solid var(--purple-light);
	padding-left: 20px;
	font-family: var(--display);
	font-size: 1.15rem;
	color: var(--ink);
}
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th,
.entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--mist); }

/* Tabelas e blocos largos não empurram a página de lado no celular. */
.entry-content .wp-block-table { overflow-x: auto; }

/* ---------- imagem destacada nos lugares onde havia placeholder ---------- */
.photo--filled { background: none; border: 0; }
.photo--filled img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------- menu: item ativo ---------- */
.nav .current-menu-item > a,
.nav .current_page_item > a { color: var(--purple); }
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after { transform: scaleX(1); }

/* O menu do WordPress vem como lista; o protótipo usava links soltos. */
.nav ul,
.mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 26px;
}
.mobile-nav ul { display: block; }
.foot-col ul { gap: 9px; }

/* Seção cujo conteúdo sumiu (tudo vazio) não deve deixar o espaço dela para
   trás — era isso que criava as faixas brancas no meio das páginas. */
.sec:has(> .wrap:empty),
.sec > .wrap:has(> .entry-content:empty) { display: none; }

/* A faixa de chamada já tem respiro próprio; a seção em volta não precisa
   empilhar mais espaço em cima dela. */
.sec--tight:has(> .wrap > .cta-band) { padding-block: 0 clamp(40px, 6vw, 68px); }

/* ---------- faixa de chamada: menor e centralizada ----------
   Antes ela ocupava quase uma tela inteira com o texto empurrado para baixo.
   A causa: a regra `.cta-band > *` do layout base dava position:relative a
   TODOS os filhos, inclusive as curvas decorativas — que então ocupavam quase
   300px de altura real no lugar de ficarem ao fundo. Esta regra é mais
   específica e devolve as curvas ao fundo, onde elas não empurram nada. */
.cta-band > .flow {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.cta-band {
	align-items: center;
	text-align: center;
	padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 56px);
	gap: 16px;
}
.cta-band p { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-band .cta-marks { justify-content: center; }
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }

/* ---------- cartão de participante da rede ---------- */
.perfil-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.perfil-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
	border-color: var(--purple-light);
}

.perfil-capa { display: block; }

.perfil-foto {
	aspect-ratio: 3 / 4;
	background: linear-gradient(145deg, #EDE6F9 0%, #E3DAF4 100%);
	display: grid;
	place-items: center;
	overflow: hidden;
}
.perfil-capa img { transition: transform .4s ease; }
.perfil-card:hover .perfil-capa img { transform: scale(1.04); }

.perfil-corpo h3 a { color: inherit; }
.perfil-card:hover .perfil-corpo h3 a { color: var(--purple); }

.perfil-ver {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 6px;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--purple);
}
.perfil-ver .ico { stroke: var(--purple); transition: transform .24s ease; }
.perfil-card:hover .perfil-ver .ico { transform: translateX(4px); }
.perfil-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* Sem foto, a inicial do nome segura a composição da grade. */
.perfil-inicial {
	font-family: var(--display);
	font-size: 3.4rem;
	color: var(--purple);
	opacity: .55;
	line-height: 1;
}

.perfil-corpo {
	padding: 20px 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.perfil-corpo h3 {
	font-family: var(--display);
	font-size: 1.15rem;
	color: var(--ink);
	letter-spacing: 0;
	text-transform: none;
	margin: 0;
}
.perfil-chamada {
	font-size: .88rem;
	color: var(--purple);
	font-weight: 600;
}
.perfil-corpo .loc {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: .8rem;
	color: var(--muted);
}
.perfil-corpo .loc .ico { width: 14px; height: 14px; stroke: var(--muted); }
.perfil-corpo .chips { margin-top: 4px; }

/* Foto real no avatar do Matching */
.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

/* ---------- faixa da home enquanto a rede é nova ---------- */
.band-convite {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 18px;
	padding-block: clamp(36px, 5vw, 52px);
}
.band-convite h2 { color: #fff; margin: 0; }
.band-convite p { color: rgba(255, 255, 255, .82); margin: 6px 0 0; }
@media (min-width: 880px) {
	.band-convite {
		flex-direction: row;
		text-align: left;
		justify-content: space-between;
		gap: 32px;
	}
	.band-convite > div { flex: 1; }
}

/* ---------- duas colunas de texto lado a lado ---------- */
.duo { display: grid; gap: 32px; }
@media (min-width: 880px) {
	.duo { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.duo-item { display: flex; flex-direction: column; gap: 14px; }

/* ---------- fluxo cidade > bairro > rede ---------- */
.fluxo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
.fluxo-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}
.fluxo-item h3 {
	font-family: var(--sans);
	font-size: .84rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 0;
}
.fluxo-seta .ico { stroke: var(--purple-light); width: 26px; height: 26px; transform: rotate(90deg); }

@media (min-width: 720px) {
	.fluxo { flex-direction: row; justify-content: center; gap: 30px; }
	.fluxo-seta .ico { transform: none; }
}

/* ---------- vídeo ---------- */
.video-box {
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--mist);
	border: 1px solid var(--line);
}
.video-box iframe,
.video-box video,
.video-box embed {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}
.video-box--vazio {
	aspect-ratio: 16 / 9;
	border-style: dashed;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 24px;
	text-align: center;
}
.video-box--vazio b {
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--purple);
}
.video-box--vazio span {
	font-size: .85rem;
	color: var(--muted);
	max-width: 34ch;
}

/* ---------- mapa de proximidade ---------- */
.mapa {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
}

.mapa-centro {
	width: 132px;
	height: 132px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: linear-gradient(140deg, var(--deep) 0%, var(--purple) 100%);
	box-shadow: 0 14px 34px rgba(111, 60, 195, .28);
	flex: none;
}
.mapa-voce {
	font-family: var(--display);
	font-size: 1.5rem;
	color: #fff;
}

.mapa-pontos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
	max-width: 560px;
}
@media (min-width: 760px) {
	.mapa-pontos {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		max-width: none;
		gap: 16px;
	}
}

.mapa-ponto {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 10px 20px 10px 12px;
	transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.mapa-ponto:hover {
	transform: translateY(-3px);
	border-color: var(--purple-light);
	box-shadow: var(--shadow-md);
}
.mapa-ico {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--purple-wash);
	display: grid;
	place-items: center;
	flex: none;
}
.mapa-ico .ico { width: 19px; height: 19px; }
.mapa-rotulo {
	font-size: .84rem;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--ink);
}

/* ---------- submenu do cabeçalho ---------- */
.nav li { position: relative; }
.nav .tem-submenu > a::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-right: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: .6;
}

/* Dois seletores, e não só `.submenu`: a regra `.nav ul` acima é mais
   específica e impunha ao submenu o `gap: 26px` do menu principal — era isso
   que abria o buraco entre "Como funciona" e "Sobre nós". */
.nav .submenu,
.mobile-nav .submenu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(6px);
	min-width: 190px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-md);
	padding: 8px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
	z-index: 70;
}
.nav .tem-submenu:hover > .submenu,
.nav .tem-submenu:focus-within > .submenu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}
.nav .submenu li,
.mobile-nav .submenu li { width: 100%; margin: 0; }
.submenu a {
	display: block;
	padding: 9px 14px;
	border-radius: var(--r-sm);
	font-size: .76rem;
	white-space: nowrap;
	transition: background-color .18s ease;
}
.submenu a::after { display: none; }
.submenu a:hover { background: var(--purple-wash); }

/* Uma ponte invisível impede que o menu feche ao mover o mouse até ele. */
.nav .tem-submenu::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 10px;
}

/* No celular o submenu fica sempre aberto, recuado — não há hover para abrir. */
.mobile-nav .submenu {
	position: static;
	transform: none;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	box-shadow: none;
	border: 0;
	padding: 0 0 0 18px;
	background: none;
	min-width: 0;
}
.mobile-nav .submenu a {
	font-size: .78rem;
	color: var(--muted);
	border-bottom: 1px solid var(--line-soft);
	border-radius: 0;
	padding: 11px 0;
}

/* ---------- carrossel do encontro ---------- */
.galeria { display: flex; flex-direction: column; gap: 20px; }

.galeria-topo {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.galeria-topo h2 { margin: 6px 0 0; }

.galeria-setas { display: flex; gap: 8px; }
.galeria-seta {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1.5px solid var(--purple);
	background: var(--paper);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background-color .2s ease, opacity .2s ease, transform .2s ease;
}
.galeria-seta .ico { stroke: var(--purple); }
.galeria-seta:hover:not(:disabled) { background: var(--purple-wash); transform: translateY(-2px); }
.galeria-seta:disabled { opacity: .3; cursor: default; }
[data-galeria-antes] .ico { transform: rotate(180deg); }

/* O trilho usa o scroll do próprio navegador: rola com o dedo no celular,
   trava em cada foto e não precisa de biblioteca. */
.galeria-trilho {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 4px;
	margin-inline: calc(var(--gut) * -1);
	padding-inline: var(--gut);
	scroll-padding-inline: var(--gut);
}
.galeria-trilho::-webkit-scrollbar { display: none; }
.galeria-trilho:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; border-radius: var(--r-md); }

/* Todos os quadros têm a mesma altura e a largura é que muda conforme a
   proporção da mídia. É o que mantém a fileira reta mesmo misturando o vídeo
   deitado com as fotos — antes o vídeo esticava o quadro e sobrava um vão
   branco embaixo dele. */
.galeria-item {
	flex: 0 0 auto;
	height: clamp(230px, 54vw, 420px);
	width: auto;
	aspect-ratio: 4 / 3;
	max-width: calc(100vw - var(--gut) * 2);
	margin: 0;
	scroll-snap-align: start;
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--mist);
	border: 1px solid var(--line);
}

.galeria-item--video { aspect-ratio: 16 / 9; background: #000; }

.galeria-item {
	transition: opacity .55s cubic-bezier(.22, .61, .36, 1),
	            box-shadow .55s cubic-bezier(.22, .61, .36, 1);
}

/* Entrada: os quadros sobem um atrás do outro quando a galeria chega na tela.
   Só o JS esconde os quadros ('pronta'), porque sem JS ninguém devolveria a
   opacidade e a galeria ficaria invisível. */
.galeria.pronta .galeria-item { opacity: 0; }

.galeria.entrou .galeria-item {
	opacity: 1;
	animation: galeria-sobe .75s cubic-bezier(.22, .61, .36, 1) backwards;
	animation-delay: var(--atraso, 0ms);
}
/* O keyframe mexe só na posição: a opacidade fica com a transição, senão o
   fim da animação travaria o realce do quadro da vez. */
@keyframes galeria-sobe {
	from { transform: translateY(26px); }
	to   { transform: none; }
}

/* Com espaço na tela dá para destacar um quadro de cada vez. No celular cabe
   quase só um, então destacar não diz nada — e atrapalha. */
@media (min-width: 760px) {
	.galeria.entrou .galeria-item { opacity: .5; }
	.galeria.entrou .galeria-item.ativo {
		opacity: 1;
		box-shadow: 0 18px 44px rgba(27, 7, 51, .16);
	}
	.galeria.entrou .galeria-item:hover,
	.galeria.entrou .galeria-item:focus-within { opacity: 1; }
}

.galeria-abrir {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}
.galeria-item img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform .5s ease;
}
.galeria-item:hover img { transform: scale(1.03); }

/* O vídeo cabe inteiro no quadro: cortar a fala dela pela lateral seria pior
   que deixar as tarjas pretas. */
.galeria-embed { width: 100%; height: 100%; }
.galeria-item video,
.galeria-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	border: 0;
	background: #000;
}

.galeria-pontos {
	display: flex;
	justify-content: center;
	gap: 7px;
	flex-wrap: wrap;
}
.galeria-ponto {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: var(--line);
	cursor: pointer;
	transition: background-color .25s ease, width .25s ease;
}
.galeria-ponto.on { background: var(--purple); width: 22px; border-radius: 999px; }

/* ---------- foto em tela cheia ---------- */
.lightbox {
	border: 0;
	padding: 0;
	background: none;
	width: 100vw;
	max-width: 100vw;
	height: 100dvh;
	max-height: 100dvh;
	overflow: hidden;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 10px;
	place-content: center;
}
/* Só quando aberto. Declarar o display solto sobrescreve o `display:none` que
   o navegador dá ao dialog fechado — e o fundo invisível passa a comer o
   clique da página inteira. */
.lightbox[open] { display: grid; }
.lightbox:not([open]) { display: none; }
.lightbox::backdrop {
	background: rgba(27, 7, 51, .94);
	backdrop-filter: blur(6px);
	animation: lb-fundo .35s ease both;
}
.lightbox[open] { animation: lb-entra .4s cubic-bezier(.22, .61, .36, 1) both; }

@keyframes lb-fundo { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-entra {
	from { opacity: 0; transform: scale(.96); }
	to   { opacity: 1; transform: scale(1); }
}

/* Camada que recebe o clique de fechar: cobre tudo, mas fica atrás da foto e
   dos botões, senão engoliria o clique deles. */
.lightbox-fundo { position: fixed; inset: 0; z-index: 0; }

.lightbox-palco {
	grid-column: 2;
	margin: 0;
	display: grid;
	place-items: center;
	z-index: 1;
	min-width: 0;
}
.lightbox img {
	display: block;
	max-width: min(92vw, 1400px);
	max-height: 86dvh;
	width: auto;
	height: auto;
	border-radius: var(--r-md);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
	transition: opacity .22s ease, transform .35s cubic-bezier(.22, .61, .36, 1);
}
.lightbox img.trocando { opacity: 0; }
.lightbox img.entrando-dir { animation: lb-dir .38s cubic-bezier(.22, .61, .36, 1) both; }
.lightbox img.entrando-esq { animation: lb-esq .38s cubic-bezier(.22, .61, .36, 1) both; }

@keyframes lb-dir { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes lb-esq { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }

.lightbox-fechar,
.lightbox-seta {
	z-index: 2;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
	transition: background-color .2s ease, transform .2s ease;
}
.lightbox-fechar:hover,
.lightbox-seta:hover { background: rgba(255, 255, 255, .3); transform: scale(1.08); }

.lightbox-fechar {
	position: fixed;
	top: 18px;
	right: 18px;
	width: 42px;
	height: 42px;
	font-size: 26px;
	line-height: 1;
}

.lightbox-seta { width: 48px; height: 48px; }
.lightbox-seta .ico { stroke: #fff; }
.lightbox-seta--antes { grid-column: 1; }
.lightbox-seta--antes .ico { transform: rotate(180deg); }
.lightbox-seta--depois { grid-column: 3; }
.lightbox-seta[hidden] { display: none; }

.lightbox-conta {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 2;
	color: rgba(255, 255, 255, .75);
	font-size: .8rem;
	letter-spacing: .08em;
	font-variant-numeric: tabular-nums;
}

/* No celular as setas ficariam espremendo a foto; ali o dedo resolve. */
@media (max-width: 719px) {
	.lightbox { grid-template-columns: 1fr; gap: 0; }
	.lightbox-palco { grid-column: 1; }
	.lightbox-seta {
		position: fixed;
		bottom: 44px;
		width: 44px;
		height: 44px;
	}
	.lightbox-seta--antes { left: 16px; }
	.lightbox-seta--depois { right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.galeria-trilho { scroll-behavior: auto; }
	.galeria-item,
	.galeria-item img,
	.lightbox img { transition: none; animation: none; }
	.galeria .galeria-item { opacity: 1; transform: none; }
	.lightbox[open], .lightbox::backdrop { animation: none; }
}

/* ---------- busca do diretório ---------- */
.busca { margin-bottom: 20px; }
.busca-campo {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--paper);
	border: 1.5px solid var(--line);
	border-radius: 999px;
	padding: 6px 6px 6px 18px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.busca-campo:focus-within {
	border-color: var(--purple);
	box-shadow: 0 0 0 4px var(--purple-wash);
}
.busca-campo .ico { stroke: var(--muted); flex: none; }
.busca-campo input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: none;
	padding: 10px 0;
	font-size: .95rem;
	font-family: inherit;
	color: var(--ink);
}
.busca-campo input:focus { outline: none; }
.busca-campo input::placeholder { color: #9A93A8; }
.busca-campo .btn { flex: none; }

@media (max-width: 560px) {
	.busca-campo { flex-wrap: wrap; border-radius: var(--r-md); padding: 12px; }
	.busca-campo input { width: 100%; flex-basis: 100%; }
	.busca-campo .btn { width: 100%; }
}

/* ---------- filtros por segmento ---------- */
.filtros {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}
.filtro {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: .84rem;
	color: var(--ink);
	background: var(--paper);
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.filtro:hover { border-color: var(--purple-light); background: var(--purple-wash); }
.filtro--on {
	background: var(--purple);
	border-color: var(--purple);
	color: #fff;
	font-weight: 600;
}
.filtro-n {
	font-size: .72rem;
	opacity: .7;
	font-variant-numeric: tabular-nums;
}

.busca-total {
	font-size: .85rem;
	color: var(--muted);
	margin-bottom: 18px;
}

/* ---------- página de perfil ---------- */
.voltar {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--purple);
}
.voltar .ico { stroke: var(--purple); transform: rotate(180deg); }
.voltar:hover { color: var(--purple-hi); }

.perfil-pagina { display: grid; gap: 32px; align-items: start; }
@media (min-width: 880px) {
	.perfil-pagina { grid-template-columns: 300px 1fr; gap: 48px; }
}

.perfil-lado { display: flex; flex-direction: column; gap: 18px; }
.perfil-retrato {
	aspect-ratio: 3 / 4;
	border-radius: var(--r-lg);
	overflow: hidden;
	background: linear-gradient(145deg, #EDE6F9, #E3DAF4);
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
}
.perfil-retrato img { width: 100%; height: 100%; object-fit: cover; }

.perfil-corpo-pagina { display: flex; flex-direction: column; gap: 18px; }
.perfil-profissao {
	font-size: 1.05rem;
	color: var(--purple);
	font-weight: 600;
	margin: 0;
}
.perfil-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	font-size: .88rem;
	color: var(--muted);
}
.perfil-meta span { display: flex; align-items: center; gap: 7px; }
.perfil-meta .ico { width: 16px; height: 16px; stroke: var(--muted); }

.perfil-bloco { display: flex; flex-direction: column; gap: 10px; }

.perfil-contato {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: var(--mist);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	padding: 18px;
}
.perfil-contato .ico { flex: none; margin-top: 2px; }
.perfil-contato p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- fundadora ---------- */
.fundadora { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) {
	.fundadora { grid-template-columns: 420px 1fr; gap: 56px; }
}

.fundadora-foto { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.fundadora-foto .photo { border-radius: var(--r-lg); }

/* A legenda fica sobre a foto, como no modelo que a cliente mandou. */
.fundadora-selo {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 26px 24px 22px;
	background: linear-gradient(to top, rgba(42, 15, 79, .92) 20%, rgba(42, 15, 79, 0));
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.fundadora-nome {
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .8);
}
.fundadora-selo p {
	font-family: var(--display);
	font-size: 1.15rem;
	line-height: 1.3;
	color: #fff;
	margin: 0;
}

.citacao {
	margin: 0;
	border-left: 3px solid var(--purple-light);
	padding-left: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.citacao p {
	font-family: var(--display);
	font-size: clamp(1.1rem, 2.4vw, 1.35rem);
	font-style: italic;
	color: var(--ink);
	line-height: 1.45;
}
.citacao cite {
	font-style: normal;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--purple);
}

.corrente {
	font-family: var(--display);
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	line-height: 1.7;
	color: var(--ink);
}

.assinatura {
	font-family: var(--display);
	font-size: clamp(1.1rem, 2.6vw, 1.5rem);
	font-style: italic;
	color: var(--purple);
	font-weight: 500;
}

/* ---------- categorias de negócio ---------- */
.categorias {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
@media (min-width: 640px) { .categorias { grid-template-columns: repeat(4, 1fr); } }

.categoria {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	padding: 24px 16px;
	transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.categoria:hover {
	transform: translateY(-4px);
	border-color: var(--purple-light);
	box-shadow: var(--shadow-md);
}
.categoria-ico {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--purple-wash);
	display: grid;
	place-items: center;
}
.categoria-nome {
	font-size: .86rem;
	font-weight: 700;
	color: var(--ink);
}

/* ---------- listas com ícone ---------- */
.lista-marcada {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.lista-marcada li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: .98rem;
	color: var(--body);
}
.lista-marcada .ico { flex: none; margin-top: 2px; }
.lista-marcada--densa { gap: 10px; }
.lista-marcada--densa li { font-size: .92rem; }

/* ---------- grupo de WhatsApp ---------- */
.grupo {
	display: grid;
	gap: 22px;
	align-items: center;
	background: linear-gradient(120deg, var(--purple-wash) 0%, #FBF9FE 100%);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: clamp(26px, 4vw, 40px);
	text-align: center;
	justify-items: center;
}
@media (min-width: 900px) {
	.grupo {
		grid-template-columns: auto 1fr auto;
		text-align: left;
		justify-items: start;
		gap: 30px;
	}
}
.grupo-ico {
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: var(--purple);
	display: grid;
	place-items: center;
	flex: none;
}
.grupo-ico .ico { stroke: #fff; }
.grupo-texto { display: flex; flex-direction: column; gap: 8px; }
.grupo-texto h2 { margin: 0; }
.grupo-texto p { font-size: .94rem; margin: 0; }
.grupo-nota { font-size: .85rem !important; color: var(--muted); }
.grupo .btn { flex: none; }

/* ---------- autorização no cadastro ---------- */
.nxl-opt-in {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: var(--purple-wash);
	border: 1px solid var(--purple-light);
	border-radius: var(--r-md);
	padding: 16px;
	cursor: pointer;
}
.nxl-opt-in input {
	margin-top: 2px;
	width: 18px;
	height: 18px;
	accent-color: var(--purple);
	flex: none;
}
.nxl-opt-in span {
	font-size: .85rem;
	color: var(--body);
	line-height: 1.55;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
}

/* ---------- encontros sem data futura ---------- */
.nxl-empty {
	border: 1px dashed var(--line);
	border-radius: var(--r-md);
	padding: 28px;
	text-align: center;
	color: var(--muted);
	background: var(--mist);
}

/* ---------- paginação ---------- */
.nxl-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 36px;
}
.nxl-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	font-size: .9rem;
	color: var(--ink);
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.nxl-pagination .page-numbers:hover { border-color: var(--purple-light); background: var(--purple-wash); }
.nxl-pagination .page-numbers.current {
	background: var(--purple);
	border-color: var(--purple);
	color: #fff;
	font-weight: 700;
}

/* ---------- acessibilidade ---------- */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--purple);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 var(--r-sm) 0;
	font-size: .85rem;
	font-weight: 700;
}
.skip-link:focus { left: 0; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- barra de admin não cobre o cabeçalho fixo ---------- */
.admin-bar .site-head { top: 32px; }
@media screen and (max-width: 782px) {
	.admin-bar .site-head { top: 46px; }
}
