/*
Theme Name:   Grupos Zap Premium (Hello Elementor Child)
Description:  Tema filho premium para o plugin Diretório de Grupos Zap. Cabeçalho fixo com botão "Enviar meu Grupo", rodapé com links de SEO local e tipografia Inter + Plus Jakarta Sans. Totalmente compatível com Elementor e Elementor Pro (o Theme Builder substitui cabeçalho e rodapé se você criar os seus).
Author:       Diretório de Grupos Zap
Template:     hello-elementor
Version:      1.0.0
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  dgz-child
*/

body { background: #f5f8f6; color: #0d1c17; font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; letter-spacing: -.015em; }
a { color: #0b7a53; }
a:hover { color: #095f41; }
.site-main.page, body:not(.elementor-page):not(.home) .site-main { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
body.dgz-body .site-main, body .dgz-page { max-width: none; padding: 0; }
.page-header .entry-title { font-weight: 800; }
body.page:not(.elementor-page) .page-content { background: #fff; border: 1px solid #e3eae7; border-radius: 24px; padding: 36px; }
body.page:not(.elementor-page) .page-content:has(.dgz-scope) { background: none; border: 0; padding: 0; }
body.page:has(.dgz-scope) .page-header { display: none; }
body.page:has(.dgz-scope) .site-main { max-width: none; padding: 0; margin: 0; }

/* ---------- Cabeçalho ---------- */
.gz-header { position: sticky; top: 0; z-index: 9990; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(13, 28, 23, .07); }
.admin-bar .gz-header { top: 32px; }
.gz-header__in { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 72px; display: flex; align-items: center; gap: 28px; }
.gz-brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: #0d1c17 !important; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -.02em; flex: none; }
.gz-brand img { max-height: 44px; width: auto; }
.gz-brand__mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #25d366, #0b7a53); box-shadow: 0 6px 14px -6px rgba(11, 122, 83, .7); }
.gz-nav { flex: 1; }
.gz-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.gz-nav a { display: block; padding: 9px 14px; border-radius: 10px; color: #2b3b36 !important; text-decoration: none !important; font-weight: 600; font-size: 15px; transition: background .2s, color .2s; }
.gz-nav a:hover, .gz-nav .current-menu-item > a { background: #e7f5ef; color: #095f41 !important; }
.gz-actions { display: flex; gap: 8px; align-items: center; }
.gz-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 14.5px; text-decoration: none !important; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.gz-btn:hover { transform: translateY(-1px); }
.gz-btn--wa { color: #fff !important; background: linear-gradient(180deg, #25d366, #17a14d); box-shadow: 0 8px 18px -8px rgba(23, 161, 77, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.gz-btn--ghost { color: #7a5300 !important; background: #fdf5e3; border: 1px solid rgba(227, 165, 43, .45); }
.gz-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #e3eae7; background: #fff; color: #0d1c17; align-items: center; justify-content: center; cursor: pointer; padding: 0; }

/* ---------- Rodapé ---------- */
.gz-footer { background: #04241a; color: rgba(255, 255, 255, .7); padding: 64px 0 28px; margin-top: 0; font-size: 14.5px; }
.gz-footer a { color: rgba(255, 255, 255, .78) !important; text-decoration: none !important; }
.gz-footer a:hover { color: #fff !important; }
.gz-footer__in { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gz-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.gz-footer .gz-brand { color: #fff !important; margin-bottom: 14px; }
.gz-footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.gz-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.gz-footer__desc { line-height: 1.65; margin: 0 0 18px; max-width: 360px; }
.gz-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .5); }
.gz-footer__disclaimer { max-width: 720px; }

@media (max-width: 960px) {
	.gz-nav, .gz-actions .gz-btn--ghost { display: none; }
	.gz-burger { display: inline-flex; margin-left: 0; }
	.gz-actions { margin-left: auto; }
	.gz-header.is-open .gz-nav { display: block; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e3eae7; padding: 12px 20px 20px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.2); }
	.gz-header.is-open .gz-nav ul { flex-direction: column; }
	.gz-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.gz-header__in { height: 64px; gap: 12px; }
	.gz-header.is-open .gz-nav { top: 64px; }
	.gz-actions .gz-btn--wa span { display: none; }
	.gz-actions .gz-btn--wa { padding: 11px 13px; }
	.gz-brand__name { font-size: 17px; }
	.gz-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.admin-bar .gz-header { top: 0; }
}
