/* Fotoclube Associados — usa as variáveis do tema fotoclube-poa quando presentes. */
.fca-hero, .fca-perfil, .fca-grade, .fca-filtro { --fca-azul: var(--fc-blue, #141259); --fca-amarelo: var(--fc-yellow, #edbc22); --fca-linha: var(--fc-line, #e7e7ed); --fca-suave: var(--fc-muted, #646778); }

/* Hero: últimas fotos */
.fca-hero { background: var(--fca-azul); color: #fff; padding-block: 40px 48px; }
.fca-hero .fc-eyebrow { color: var(--fca-amarelo); }
.fca-hero h2 { color: #fff; margin: 6px 0 0; }
.fca-hero-topo { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.fca-mosaico { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 10px; }
.fca-mosaico-item { transition: opacity .7s ease; }
.fca-mosaico.is-trocando .fca-mosaico-item { opacity: 0; }
.fca-mosaico-item { position: relative; overflow: hidden; border-radius: 6px; background: #0b0a33; display: block; }
.fca-mosaico-item.is-destaque { grid-column: span 2; grid-row: span 2; }
.fca-mosaico-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.fca-mosaico-item:hover img, .fca-mosaico-item:focus-visible img { transform: scale(1.04); }
.fca-mosaico-legenda { position: absolute; inset: auto 0 0 0; padding: 28px 12px 10px; background: linear-gradient(transparent, #000000b3); color: #fff; display: flex; flex-direction: column; line-height: 1.3; }
.fca-mosaico-legenda strong { font-size: 13px; font-weight: 400; }
.fca-mosaico-legenda small { font-size: 11px; opacity: .85; }
.fca-hero a, .fca-hero a:hover { text-decoration: none; }

/* Busca e filtro */
.fca-filtro { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.fca-filtro input, .fca-filtro select { flex: 1 1 220px; min-width: 0; padding: 11px 12px; border: 1px solid var(--fca-linha); border-radius: 4px; background: #fafafa; font: inherit; }
.fca-filtro select { flex: 0 1 260px; }
.fca-filtro button { border: 0; }

/* Grade de cartões */
.fca-grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fca-cartao { border: 1px solid var(--fca-linha); border-radius: 6px; overflow: hidden; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.fca-cartao:hover { box-shadow: 0 12px 28px #14125920; transform: translateY(-2px); }
.fca-cartao-link { display: block; color: inherit; text-decoration: none !important; height: 100%; }
.fca-cartao-capa { aspect-ratio: 16 / 10; background: #f0f0f4; }
.fca-cartao-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fca-cartao-corpo { padding: 0 18px 18px; text-align: center; }
.fca-cartao h3 { font-size: 18px; margin: 10px 0 6px; color: var(--fca-azul); }
.fca-cartao p { font-size: 14px; color: var(--fca-suave); margin: 0 0 10px; }
.fca-avatar { display: inline-block; width: 72px; height: 72px; margin-top: -36px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; background: #fff; box-shadow: 0 2px 8px #0002; position: relative; }
.fca-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fca-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.fca-chips li, .fca-chips a { font-size: 12px; font-weight: 700; color: var(--fca-azul); background: #f5f3e9; border-radius: 20px; padding: 3px 10px; text-decoration: none !important; }
.fca-vazio { padding: 30px 0; color: var(--fca-suave); }

/* Áreas de atuação */
.fca-areas { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.fca-areas a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--fc-line, #e7e7ed); border-radius: 6px; font-weight: 700; text-decoration: none !important; }
.fca-areas a:hover { background: #f5f3e9; }
.fca-areas span { color: var(--fc-muted, #646778); font-weight: 400; }

/* Perfil */
.fca-perfil-capa { height: clamp(220px, 34vw, 420px); background: var(--fca-azul); overflow: hidden; }
.fca-perfil-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fca-perfil-topo { display: flex; align-items: flex-end; gap: 24px; margin-top: -60px; position: relative; }
.fca-perfil-topo h1 { margin: 70px 0 4px; }
.fca-avatar-grande { width: 150px; height: 150px; margin: 0; flex-shrink: 0; border-width: 5px; }
.fca-tagline { font-size: 18px; color: var(--fca-suave); margin: 0 0 12px; }
.fca-perfil-topo .fca-chips { justify-content: flex-start; }
.fca-perfil-grade { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 48px; margin-top: 36px; }
.fca-contato { display: flex; flex-direction: column; gap: 10px; align-self: start; padding: 22px; border: 1px solid var(--fca-linha); border-radius: 8px; }
.fca-botao { text-align: center; text-decoration: none !important; }
.fca-whatsapp { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 4px; background: #25d366; color: #fff !important; font-weight: 800; }
.fca-whatsapp:hover, .fca-whatsapp:focus-visible { background: #1ebe5b; }
.fca-botao-claro { display: block; padding: 11px 16px; border: 1px solid var(--fca-linha); border-radius: 4px; font-weight: 700; overflow-wrap: anywhere; }
.fca-numero, .fca-endereco { margin: 0; color: var(--fca-suave); font-size: 14px; }
.fca-redes { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 8px; }
.fca-redes a { display: flex; align-items: center; gap: 8px; text-decoration: none !important; font-weight: 700; }
.fca-video { position: relative; aspect-ratio: 16 / 9; margin-top: 24px; }
.fca-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.fca-voltar { margin: 10px 0 40px; font-weight: 800; }

@media (max-width: 1100px) { .fca-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 850px) {
	.fca-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fca-mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
	.fca-perfil-grade { grid-template-columns: 1fr; gap: 28px; }
	.fca-hero-topo { display: block; }
	.fca-hero-topo .fc-button { margin-top: 14px; }
}
@media (max-width: 540px) {
	.fca-grade { grid-template-columns: 1fr; }
	.fca-perfil-topo { flex-direction: column; align-items: flex-start; gap: 0; }
	.fca-perfil-topo h1 { margin-top: 12px; }
	.fca-avatar-grande { width: 120px; height: 120px; }
}

/* Cabeçalho: sem busca do site nem link "Perfil associado(a)"; no lugar, o botão "Atualize seu perfil" */
.fc-brand-row .fc-search, .fc-top .fc-top-profile, .fc-top .fc-top-divider { display: none !important; }
.fca-atualize { white-space: nowrap; flex-shrink: 0; margin-left: auto; }
@media (max-width: 850px) {
	.fca-atualize { order: 2; padding: 8px 14px; font-size: 14px; }
	.fc-brand-row .menu-toggle { order: 3; }
}

/* Galeria do perfil em masonry (colunas, mantém a proporção de cada foto) */
.fca-masonry { columns: 3 260px; column-gap: 14px; }
.fca-masonry-item { display: block; margin: 0 0 14px; break-inside: avoid; border-radius: 6px; overflow: hidden; background: #f0f0f4; }
.fca-masonry-item img { display: block; width: 100%; height: auto; transition: transform .4s ease, opacity .2s ease; }
.fca-masonry-item:hover img, .fca-masonry-item:focus-visible img { transform: scale(1.03); }
@media (max-width: 540px) { .fca-masonry { columns: 2; column-gap: 8px; } .fca-masonry-item { margin-bottom: 8px; } }

/* Links para outros associados no perfil */
.fca-relacionados h2 { margin-bottom: 20px; }
.fca-relacionados > p { margin-top: 20px; }
.fca-descricao { max-width: 720px; color: var(--fc-muted, #646778); }
