/*
 * FJPN Páginas 1.4.0 — widgets da página Serviços audiovisuais (widgets/v4-audiovisual.php),
 * conforme o protótipo aprovado (caminho D). Usa as cores e a base de `paginas-v2.css`.
 */
.fjpn-v2 .av-azul { color: var(--v2-azul); }
.fjpn-v2 .av-topo .olho { margin-bottom: 12px; }
.fjpn-v2 .av-h2 { margin: 0 0 16px; font-size: 38px; line-height: 1.12; font-weight: 800; color: var(--v2-tinta); letter-spacing: -.02em; }
.fjpn-v2 .av-sub { margin: 0; max-width: 60ch; font-size: 19px; line-height: 1.65; color: var(--v2-suave); }
.fjpn-v2 .av-topo { margin-bottom: 36px; }

/* Botões */
.fjpn-v2 .av-botoes { display: flex; gap: 12px; flex-wrap: wrap; }
.fjpn-v2 .av-botao { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; background: var(--v2-laranja); color: #fff !important; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; }
.fjpn-v2 .av-botao:hover { background: #ea580c; }
.fjpn-v2 .av-botao--whatsapp { background: #15803d; }
.fjpn-v2 .av-botao--whatsapp:hover { background: #166534; }
.fjpn-v2 .av-botao svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.fjpn-v2 .av-botao--claro { background: none; border: 2px solid rgba(255, 255, 255, .55); }
.fjpn-v2 .av-botao--claro:hover { background: rgba(255, 255, 255, .1); }

/* Cabeçalho com foto de fundo */
.fjpn-v2 .av-heroi { position: relative; overflow: hidden; background: #0b1220; color: #fff; }
.fjpn-v2 .av-heroi__foto { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .6; }
.fjpn-v2 .av-heroi__veu { position: absolute; inset: 0; background: linear-gradient(90deg, #0b1220 30%, rgba(11, 18, 32, .4)); }
.fjpn-v2 .av-heroi .wrap { position: relative; padding-top: 96px; padding-bottom: 104px; }
.fjpn-v2 .av-heroi .v2-trilha, .fjpn-v2 .av-heroi .v2-trilha a { color: #94a3b8; }
.fjpn-v2 .av-heroi .olho { color: #fdba74; }
.fjpn-v2 .av-h1 { margin: 0 0 20px; max-width: 780px; font-size: 60px; line-height: 1.04; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.fjpn-v2 .av-heroi__texto { margin: 0 0 36px; max-width: 56ch; font-size: 21px; line-height: 1.6; color: #cbd5e1; }
.fjpn-v2 .av-faixa { border-bottom: 1px solid var(--v2-linha); }
.fjpn-v2 .av-faixa .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding-top: 36px; padding-bottom: 36px; }
.fjpn-v2 .av-faixa p { margin: 4px 0 0; font-size: 16px; line-height: 1.5; color: var(--v2-suave); }
.fjpn-v2 .av-faixa .av-faixa__titulo { margin: 0; font-size: 22px; font-weight: 800; color: var(--v2-tinta); }

/* Vídeos */
.fjpn-v2 .av-videos { padding: 104px 0 96px; scroll-margin-top: 100px; }
.fjpn-v2 .av-videos__grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fjpn-v2 .av-video__quadro { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0b1220; box-shadow: 0 20px 50px rgba(15, 23, 42, .14); }
.fjpn-v2 .av-video__quadro iframe { display: block; width: 100%; height: 100%; border: 0; }
.fjpn-v2 .av-video__olho { margin: 18px 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--v2-laranja-texto); }
.fjpn-v2 .av-video__tipo { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 800; color: var(--v2-tinta); letter-spacing: -.01em; }
.fjpn-v2 .av-video__desc { margin: 4px 0 0; font-size: 15px; color: var(--v2-apoio); }

/* Formatos */
.fjpn-v2 .av-formatos { padding: 0 0 104px; }
.fjpn-v2 .av-formatos__grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fjpn-v2 .av-formato { display: flex; flex-direction: column; padding: 28px; border-radius: 20px; border: 1px solid var(--v2-linha); background: #fff; }
.fjpn-v2 .av-formato__ico { width: 48px; height: 48px; border-radius: 14px; background: #fff7ed; display: grid; place-items: center; margin-bottom: 18px; }
.fjpn-v2 .av-formato__ico svg { width: 24px; height: 24px; stroke: var(--v2-laranja-texto); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fjpn-v2 .av-formato__titulo { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--v2-tinta); }
.fjpn-v2 .av-formato__texto { margin: 0 0 14px; font-size: 16px; line-height: 1.6; }
/* "Ideal para" sempre no pé do cartão, alinhado entre os cartões da mesma fileira. */
.fjpn-v2 .av-formato__ideal { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--v2-linha); font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--v2-azul); }

/* Estrutura (fundo escuro) */
.fjpn-v2 .av-estrutura { background: #0b1220; color: #cbd5e1; padding: 104px 0; scroll-margin-top: 100px; }
.fjpn-v2 .av-estrutura__topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.fjpn-v2 .av-estrutura__topo .av-topo { margin: 0; }
.fjpn-v2 .av-estrutura .olho { color: #fdba74; }
.fjpn-v2 .av-estrutura .av-h2 { margin-bottom: 12px; color: #fff; }
.fjpn-v2 .av-estrutura .av-sub { font-size: 18px; color: #cbd5e1; }
.fjpn-v2 .av-mosaico { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.fjpn-v2 .av-mosaico figure { position: relative; margin: 0; border-radius: 18px; overflow: hidden; }
.fjpn-v2 .av-mosaico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fjpn-v2 .av-mosaico figcaption { position: absolute; left: 12px; bottom: 12px; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(11, 18, 32, .75); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; }
.fjpn-v2 .av-mosaico__alta { grid-row: span 2; }
.fjpn-v2 .av-equip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.fjpn-v2 .av-equip > div { padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.fjpn-v2 .av-equip p { margin: 0; font-size: 15px; line-height: 1.55; color: #cbd5e1; }
.fjpn-v2 .av-equip .av-equip__titulo { margin-bottom: 4px; font-size: 16px; font-weight: 700; color: #fff; }

/* Etapas */
.fjpn-v2 .av-etapas { padding: 112px 0; }
.fjpn-v2 .av-etapas .av-topo { margin-bottom: 44px; }
.fjpn-v2 ol.av-etapas__linha { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; margin: 0; padding: 0; list-style: none; }
.fjpn-v2 ol.av-etapas__linha::before { content: ""; position: absolute; left: 20px; right: 20px; top: 20px; height: 2px; background: var(--v2-linha); }
.fjpn-v2 ol.av-etapas__linha > li { position: relative; margin: 0; padding: 0; }
.fjpn-v2 ol.av-etapas__linha > li::before { content: none; }
.fjpn-v2 .av-etapas__num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--v2-azul); color: #fff; font-weight: 800; margin-bottom: 18px; box-shadow: 0 0 0 8px #fff; position: relative; }
.fjpn-v2 .av-etapas p { margin: 0; font-size: 16px; line-height: 1.6; }
.fjpn-v2 .av-etapas .av-etapas__titulo { margin-bottom: 6px; font-size: 19px; font-weight: 700; color: var(--v2-tinta); }

/* Perguntas frequentes */
.fjpn-v2 .av-perguntas { padding: 96px 0; background: var(--v2-fundo); border-top: 1px solid var(--v2-linha); }
.fjpn-v2 .av-perguntas .av-h2 { margin: 0; }
.fjpn-v2 .av-perguntas__grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; align-items: start; }
.fjpn-v2 .av-perguntas details { border: 1px solid var(--v2-linha); border-radius: 16px; padding: 18px 22px; background: #fff; }
.fjpn-v2 .av-perguntas summary { cursor: pointer; font-weight: 700; color: var(--v2-tinta); font-size: 17px; line-height: 1.4; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.fjpn-v2 .av-perguntas summary::-webkit-details-marker { display: none; }
.fjpn-v2 .av-perguntas summary::after { content: "+"; color: var(--v2-laranja-texto); font-size: 22px; line-height: 1; }
.fjpn-v2 .av-perguntas details[open] summary::after { content: "–"; }
.fjpn-v2 .av-perguntas details p { margin: 12px 0 0; font-size: 16px; line-height: 1.6; }

/* Faixa de contato */
.fjpn-v2 .av-contato { background: var(--v2-azul-escuro); color: #fff; scroll-margin-top: 100px; }
.fjpn-v2 .av-contato .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.fjpn-v2 .av-contato .olho { color: #fdba74; }
.fjpn-v2 .av-contato .av-h2 { color: #fff; }
.fjpn-v2 .av-contato .av-sub { color: #dbe6f7; }
.fjpn-v2 .av-contato .av-topo { margin-bottom: 28px; }
.fjpn-v2 .av-contato__quadro { padding: 28px; border-radius: 20px; background: rgba(255, 255, 255, .08); }
.fjpn-v2 .av-contato__quadro p { margin: 0; font-size: 16px; line-height: 1.8; color: #fff; }
.fjpn-v2 .av-contato__quadro p + p { margin-top: 12px; }
.fjpn-v2 .av-contato__quadro strong { display: block; }
/* Último bloco da página: o rodapé sobe 35px sobre ele (ver 1.3.4). */
.fjpn-v2 .elementor-element:last-child > .elementor-widget-container > .av-contato .wrap,
.fjpn-v2 .elementor-element:last-child > .av-contato .wrap { padding-bottom: calc(96px + 35px); }

@media (max-width: 1023px) {
	.fjpn-v2 .av-formatos__grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fjpn-v2 .av-videos__grade { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.fjpn-v2 .av-heroi .wrap { padding-top: 56px; padding-bottom: 64px; }
	.fjpn-v2 .av-h1 { font-size: 40px; }
	.fjpn-v2 .av-heroi__texto { font-size: 18px; }
	.fjpn-v2 .av-h2 { font-size: 30px; }
	.fjpn-v2 .av-videos { padding: 64px 0; }
	.fjpn-v2 .av-videos__grade, .fjpn-v2 .av-formatos__grade { grid-template-columns: 1fr; }
	.fjpn-v2 .av-formatos { padding-bottom: 64px; }
	.fjpn-v2 .av-estrutura, .fjpn-v2 .av-etapas, .fjpn-v2 .av-perguntas { padding: 64px 0; }
	.fjpn-v2 .av-mosaico { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
	.fjpn-v2 .av-mosaico__alta { grid-row: span 1; grid-column: span 2; } /* 1.4.1: primeira foto inteira; as outras 4 em 2×2 */
	.fjpn-v2 .av-equip { grid-template-columns: 1fr 1fr; }
	.fjpn-v2 ol.av-etapas__linha { grid-template-columns: 1fr 1fr; }
	.fjpn-v2 ol.av-etapas__linha::before { display: none; }
	.fjpn-v2 .av-perguntas__grade { grid-template-columns: 1fr; }
	.fjpn-v2 .av-contato .wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
	.fjpn-v2 .elementor-element:last-child > .elementor-widget-container > .av-contato .wrap,
	.fjpn-v2 .elementor-element:last-child > .av-contato .wrap { padding-bottom: calc(64px + 35px); }
	.fjpn-v2 .av-botao { white-space: normal; text-align: left; }
}
@media (max-width: 560px) {
	.fjpn-v2 .av-equip { grid-template-columns: 1fr; }
	.fjpn-v2 .av-mosaico { grid-template-rows: 160px 160px 160px; }
}
