/* Navegação · submenu "Conheça" (Lighthouse / Pastores) */
.nav-sub { position: relative; }
.nav-sub > summary { display: inline-flex; align-items: center; gap: 4px; list-style: none; cursor: pointer; }
.nav-sub > summary::-webkit-details-marker { display: none; }
.nav-sub > summary svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.nav-sub[open] > summary svg { transform: rotate(180deg); }
.nav-sub__painel a { display: flex; flex-direction: column; }

/* Barra (desktop) */
.nav-sub--topo > summary { position: relative; padding: 4px 0; }
.nav-sub--topo > summary::after { content: ""; position: absolute; left: 0; right: 20px; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-sub--topo > summary:hover::after, .nav-sub--topo.nav-sub--atual > summary::after { transform: scaleX(1); }
.nav-sub--topo .nav-sub__painel { position: absolute; top: calc(100% + 22px); left: 50%; width: 200px; margin-left: -100px; padding: 8px; border: 1px solid rgba(24, 22, 20, .08); border-radius: 16px; background: var(--branco); color: var(--preto); box-shadow: 0 12px 32px rgba(24, 22, 20, .12); }
.nav-sub--topo .nav-sub__painel::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; background: var(--branco); border-top: 1px solid rgba(24, 22, 20, .08); border-left: 1px solid rgba(24, 22, 20, .08); border-top-left-radius: 3px; transform: translateX(-50%) rotate(45deg); pointer-events: none; }
.nav-sub--topo .nav-sub__painel a { position: relative; padding: 12px 14px; }
.nav-sub--topo .nav-sub__painel a::after { content: none; }
.nav-sub--topo .nav-sub__painel a span { font: 500 18px/1.2 var(--sans); }
.nav-sub--topo .nav-sub__painel a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-sub--topo[open] .nav-sub__painel { animation: nav-sub-entra .2s var(--ease); }
@keyframes nav-sub-entra { from { opacity: 0; transform: translateY(-4px); } }

/* Menu (hambúrguer) */
.menu { transition: opacity .25s var(--ease), transform .25s var(--ease); }
.nav-sub--menu > summary { display: flex; justify-content: space-between; width: 100%; padding: 8px 0; font: 500 28px/1.15 var(--sans); color: var(--preto); }
.nav-sub--menu > summary svg { width: 24px; height: 24px; }
.nav-sub--menu > summary:hover { opacity: .6; }
.nav-sub--menu .nav-sub__painel { display: grid; gap: 4px; margin: 4px 0 8px; padding: 8px 16px; border-radius: var(--raio); background: var(--branco); color: var(--preto); }
.menu__links .nav-sub--menu .nav-sub__painel a { padding: 6px 0; font: 500 20px/1.2 var(--sans); }
.nav-sub--menu .nav-sub__painel a[aria-current="page"] span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
