/* WhatsApp comercial e banners de patrocinadores (inc/destaque.php). */

/* ---------- WhatsApp no topo ---------- */
.zap-topo { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 99px; background: #1fa855; color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.zap-topo svg { width: 18px; height: 18px; }
.zap-topo:hover { background: #178a45; transform: translateY(-1px); }
/* No computador o topo fica dentro da largura do site: WhatsApp com "Como posso ajudar?" e menu um pouco mais justo. */
@media (min-width: 901px) {
	.zap-topo { height: 36px; padding: 0 9px 0 7px; gap: 5px; font-size: 11px; flex: none; }
	.zap-topo svg { width: 17px; height: 17px; }
	#site-header .nav-wrap { gap: 5px; }
	#site-header .header nav { gap: 6px; }
	/* "Início" fica fora do menu do computador para tudo caber: a logo já leva à página inicial. */
	#site-header #main-nav > a:first-child[href$="marionojapao.com.br/"] { display: none; }
	/* "Serviços" é curto: o botão vermelho fica do tamanho do texto. */
	#site-header .topo-acoes .header-cta { min-width: max-content; width: auto; flex: none; padding: 0 16px; }
}
/* Grupo WhatsApp + "Como posso ajudar?": no computador segue o fluxo do topo; no celular fica junto, à esquerda da lupa. */
.topo-acoes { display: contents; }
@media (max-width: 900px) {
	.nav-wrap { position: relative; }
	#site-header .brand { justify-self: start; width: auto; }
	#site-header .brand img { width: auto; height: 44px; object-fit: contain; }
	.topo-acoes { position: absolute; right: 38px; top: 10px; display: flex; align-items: center; gap: 6px; }
	/* celular: o texto do WhatsApp em duas linhas curtas para caber ao lado do "Serviços" */
	.zap-topo { width: auto; height: 38px; padding: 0 10px 0 8px; gap: 6px; border-radius: 19px; }
	.zap-topo span { max-width: 64px; font-size: 10.5px; line-height: 1.1; white-space: normal; text-align: left; }
	#site-header .topo-acoes .header-cta { display: inline-flex; width: auto !important; min-width: 0; height: 36px; margin: 0; padding: 0 10px; font-size: 11px; white-space: nowrap; }
}
/* Tablet: há espaço para o texto do WhatsApp também. */
@media (min-width: 600px) and (max-width: 900px) {
	.topo-acoes .zap-topo { width: auto; padding: 0 12px 0 9px; gap: 6px; font-size: 12px; }
	.topo-acoes .zap-topo span { display: inline; max-width: none; font-size: 12px; white-space: nowrap; }
}
@media (max-width: 359px) {
	#site-header .brand img { height: 36px; }
	.topo-acoes { gap: 4px; }
	#site-header .topo-acoes .header-cta { padding: 0 7px; font-size: 10px; }
	.zap-topo { width: 36px; padding: 0; justify-content: center; }
	.zap-topo span { display: none; }
}

/* ---------- Cartão com QR (Serviços e janela de atendimento) ---------- */
.zap-card { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; padding: 26px; border: 1px solid #cfe9d9; border-left: 4px solid #1fa855; border-radius: 6px; background: #f3fbf6; }
.zap-card__qr { width: 170px; height: 170px; padding: 8px; border-radius: 6px; background: #fff; box-shadow: 0 6px 18px -10px rgba(16, 32, 46, .35); }
.zap-card .eyebrow { color: #178a45; }
.zap-card h2 { margin: 2px 0 6px; font: 700 26px/1.2 Lora, serif; }
.zap-card p:not(.eyebrow) { margin: 0 0 16px; color: var(--muted); }
.zap-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 4px; background: #1fa855; color: #fff; font-weight: 700; }
.zap-btn svg { width: 20px; height: 20px; }
.zap-btn:hover { background: #178a45; transform: translateY(-1px); }
.zap-servicos { margin-top: 10px; margin-bottom: 30px; }
.zap-card--janela { margin: 0 0 22px; padding: 18px; grid-template-columns: auto 1fr; gap: 16px; }
.zap-card--janela .zap-card__qr { width: 110px; height: 110px; padding: 4px; }
.zap-card--janela h2 { font-size: 19px; }
.zap-card--janela p:not(.eyebrow) { margin-bottom: 10px; font-size: 13px; }
@media (max-width: 640px) {
	.zap-card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 22px 18px; }
	.zap-card__qr { width: 150px; height: 150px; }
	.zap-card--janela { grid-template-columns: 1fr; }
	.zap-card--janela .zap-card__qr { display: none; }
	.zap-card--janela p:not(.eyebrow) { display: none; }
	.zap-btn { width: 100%; justify-content: center; }
}

/* ---------- Banners ---------- */
.banner-ad { padding: 12px 0 14px; background: #f4f2ee; border-bottom: 1px solid var(--line); }
/* a faixa do topo fica na mesma largura das páginas */
.banner-ad--topo { width: min(100%, var(--page, 100%)); margin-inline: auto; box-shadow: 0 0 28px rgba(0, 0, 0, .42); clip-path: inset(0 -40px); }
.banner-ad--home { padding: 34px 0; background: #fff; border: 0; }
.banner-ad--artigos { margin: 30px 0; padding: 0; background: none; border: 0; }
.banner-ad--artigos .wrap { width: 100%; }
.banner-ad__selo { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8a9096; }
.banner-ad__trilho { position: relative; }
.banner-ad__trilho.girando > :not(.is-on) { display: none; }
.banner-ad__trilho:not(.girando) > * + * { display: none; }
.banner-ad__item { display: block; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 8px 22px -16px rgba(16, 32, 46, .5); animation: bannerEntra .5s ease both; }
@keyframes bannerEntra { from { opacity: 0; } to { opacity: 1; } }
.banner-ad__item img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: cover; }
.banner-ad--topo .banner-ad__item img { max-height: 150px; }
a.banner-ad__item:hover { box-shadow: 0 12px 28px -14px rgba(16, 32, 46, .6); }

/* banner montado com logo, nome e resumo (patrocinador sem imagem de banner) */
.banner-ad__auto { display: flex; align-items: center; gap: 22px; min-height: 96px; padding: 16px 26px; border: 1px solid var(--line); border-left: 4px solid var(--red); }
.banner-ad__auto img { width: auto; max-width: 160px; max-height: 64px; object-fit: contain; }
.banner-ad__auto strong { font: 700 22px/1.2 Lora, serif; }
.banner-ad__auto > span { flex: 1; font-size: 15px; color: #2f3b45; }
.banner-ad__auto em { font-style: normal; font-weight: 700; color: var(--red); white-space: nowrap; }

/* convite para os espaços sem patrocinador */
.banner-ad__convite { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 96px; padding: 18px 26px; background: linear-gradient(110deg, var(--dark) 0%, #1d3549 62%, #6b1c22 100%); color: #fff; position: relative; }
.banner-ad__convite::after { content: ''; position: absolute; right: -40px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--red); opacity: .35; pointer-events: none; }
.banner-ad__convite > * { position: relative; z-index: 1; }
.banner-ad__convite strong { display: block; font: 700 clamp(18px, 2.4vw, 26px)/1.2 Lora, serif; }
.banner-ad__convite small { display: block; margin-top: 4px; font-size: 13px; color: #c8d0d5; }
.banner-ad__convite em { flex: none; padding: 11px 18px; border-radius: 4px; background: var(--red); font-style: normal; font-weight: 700; font-size: 14px; white-space: nowrap; }
.banner-ad__convite:hover em { background: #fff; color: var(--red); }
.banner-ad--topo .banner-ad__convite { min-height: 74px; padding: 12px 22px; }

@media (max-width: 640px) {
	.banner-ad { padding: 10px 0 12px; }
	.banner-ad__auto { flex-wrap: wrap; gap: 10px 16px; padding: 14px 16px; }
	.banner-ad__auto > span { flex-basis: 100%; font-size: 14px; }
	.banner-ad__convite { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px; }
	.banner-ad__convite em { padding: 9px 14px; font-size: 13px; }
	.banner-ad--topo .banner-ad__convite small { display: none; }
	.banner-ad--topo .banner-ad__convite { flex-direction: row; align-items: center; min-height: 0; }
	.banner-ad--topo .banner-ad__convite strong { font-size: 15px; }
}

/* Página Parcerias: no lugar do valor, um convite para falar com o Mario. */
.partner-cta { margin-top: 18px; padding: 18px; border: 1px solid #cfe9d9; border-radius: 6px; background: #f3fbf6; }
.partner-cta p { margin: 0 0 14px; font-size: 15px; color: #2f3b45; }
.partner-cta .zap-btn { width: 100%; justify-content: center; }
.partner-form-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--red); }

/* ---------- Vídeos: busca e assuntos em botões ---------- */
.filters.vfiltro{display:block;background:#fff;padding:0;margin-bottom:26px}
.filters.vfiltro .vfiltro__busca{position:relative;display:block}
.vfiltro__busca svg{position:absolute;left:18px;top:50%;width:22px;height:22px;transform:translateY(-50%);fill:#8a9399;pointer-events:none}
.filters.vfiltro .vfiltro__busca input{width:100%;height:56px;padding:0 18px 0 52px;border:1px solid #d9dcde;border-radius:30px;background:#f7f5f2;font-size:16px;color:var(--ink)}
.filters.vfiltro .vfiltro__busca input:focus{background:#fff;border-color:var(--red);box-shadow:0 0 0 4px rgba(215,25,32,.12);outline:0}
.vfiltro__chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.vfiltro__chips button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border:1px solid #e3c3c4;border-radius:30px;background:#fff;color:var(--ink);font-weight:700;font-size:14px;cursor:pointer}
.vfiltro__chips button span{display:inline-grid;place-items:center;min-width:24px;height:22px;padding:0 6px;border-radius:11px;background:#f6e3e4;color:var(--red);font-size:12px}
.vfiltro__chips button:hover{border-color:var(--red)}
.vfiltro__chips button.is-ativo{background:var(--red);border-color:var(--red);color:#fff}
.vfiltro__chips button.is-ativo span{background:rgba(255,255,255,.25);color:#fff}
.vfiltro__total{margin:14px 0 0;font-size:14px;color:var(--muted)}
.vfiltro__total b{color:var(--ink)}
@media(max-width:620px){.vfiltro__chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;margin-right:-14px;scrollbar-width:none}.vfiltro__chips::-webkit-scrollbar{display:none}.vfiltro__chips button{flex:none}}

/* ---------- Sobre: vídeos mais recentes ---------- */
.sb-videos{padding:44px 0 10px}
.sb-videos__cabeca{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px}
.sb-videos__cabeca h2{font:700 clamp(26px,4vw,36px)/1.15 Lora,serif;margin:4px 0 0}
@media(max-width:620px){.sb-videos__cabeca{flex-direction:column;align-items:flex-start;gap:6px}}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Página de vídeos: miniaturas menores (4 por linha no computador, 2 no tablet). */
@media(min-width:1000px){.library{grid-template-columns:repeat(4,1fr)!important;column-gap:20px;row-gap:28px}.library .video-card h3{font-size:16px;line-height:1.2}}
@media(min-width:621px) and (max-width:999px){.library{grid-template-columns:repeat(2,1fr)!important}}

/* Caixa de download de material (PDF) dentro das notícias */
.mnj-download{margin:34px 0 26px;padding:22px 24px;border:1px solid #f1c3c5;border-left:5px solid var(--red);border-radius:8px;background:#fff7f7;font-family:Inter,Arial,sans-serif}
.mnj-download p{margin:0 0 10px;font-size:15px;line-height:1.55}
.mnj-download .mnj-download__titulo{font:700 20px/1.25 Lora,serif;color:var(--ink);margin-bottom:6px}
.mnj-download .mnj-download__botao{color:#fff!important;text-decoration:none!important;margin-top:4px}
@media(max-width:620px){.mnj-download{padding:18px}.mnj-download .mnj-download__botao{width:100%}}
