/* SITE DA TEMPORADA — CSS geral. SEM DESIGN DE PROPÓSITO (Sandro, 24/09/2026: "tira o CSS e deixa puro, purinho —
   a gente vai criar o template próprio"). O visual do ano nasce aqui quando o template for feito.
   Regras: 1rem = 10px · nada de style="" no HTML · cor do SWCore trocada aqui (html[sw-theme] { --sw-pri: ... }). */

/* ── IDENTIDADE 2026 (tirada do cartaz oficial) — SÓ VARIÁVEIS, ainda sem aplicar design ─────────────────────
   Fontes baixadas para ../fonts (como no sanweb.com.br; o layout pré-carrega sozinho).
   A fonte exata do cartaz não se sabe pela imagem — estas são as grátis mais parecidas; trocar se o designer passar. */
@font-face { font-family: "Yeseva One"; src: url("../fonts/yeseva-one.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-italico.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --baile-f-titulo: "Yeseva One", Georgia, serif;             /* "Baile do Menino Deus", "2026" */
  --baile-f-faixa:  "Playfair Display", Georgia, serif;       /* itálico 700: "Uma brincadeira de Natal" */
  --baile-f-texto:  "Archivo", system-ui, sans-serif;         /* datas, local, créditos (300 = o "20H" fino) */

  /* ARTE OFICIAL DO SITE 2026 (Site Base 2026.ai, 19/10/2026) — cores medidas na arte */
  --arte-laranja:   #eb6822;   /* fundo do hero, Galeria, Edições */
  --arte-amarelo:   #f5ac1b;   /* faixa "acesso gratuito", 23 anos, Ficha */
  --arte-vinho:     #6d1e1a;   /* régua de patrocínio, Autores */
  --arte-creme:     #f9f1dd;   /* título "Baile do Menino Deus", datas */
  --arte-ouro:      #fccf45;   /* "2026", estrelas */
  --arte-hora:      #fac332;   /* "20H" */
  --arte-azul:      #134b8a;   /* rodapé / Assessoria de Imprensa */
  --arte-marrom:    #4d2825;   /* texto escuro */

  --baile-creme:    #eee6d5;   /* fundo do cartaz */
  --baile-bege:     #e3d6bc;   /* folhas claras */
  --baile-ouro:     #8e6b2f;   /* título */
  --baile-vinho:    #7b2d3a;   /* faixa "Uma brincadeira de Natal", "do", rodapé */
  --baile-mostarda: #c9a338;   /* faixa do site/redes, contorno da Sagrada Família */
  --baile-laranja:  #d7772e;   /* "20H", "É LIVRE É GRÁTIS" */
  --baile-marrom:   #5b4a3f;   /* datas e textos */
  --baile-azul:     #2f4b82;   /* manto de Maria, anjo */
  --baile-verde:    #2e4a3a;   /* selo "43 anos de história" */
  --baile-terracota:#c4613a;   /* pele / detalhes */
}

/* COR DO SWCORE = COR DA ARTE (Sandro, 19/10: "o scroll está verde") — o verde-esmeralda padrão do SWCore pintava
   a barra de rolagem, o botão de voltar ao topo e os destaques. Agora laranja da arte, vinho ao passar o mouse. */
:root:root, html[sw-theme], html[sw-theme="dark"], html[sw-theme="light"] {
  --sw-pri: var(--arte-laranja); --sw-pri-bd: var(--arte-vinho); --sw-pri-hv: var(--arte-vinho);
}
html { scrollbar-color: var(--arte-laranja) var(--arte-creme); }
::-webkit-scrollbar-track { background: var(--arte-creme); }
::-webkit-scrollbar-thumb { background: var(--arte-laranja); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--arte-vinho); }

/* FONTE PRINCIPAL DO CARTAZ NOS TÍTULOS (Sandro, 24/09: "joga no título aquela fonte principal") */
h1, h2, h3, .site-topo__marca { font-family: var(--baile-f-titulo); font-weight: 400; }

/* TOPO 2026 — principal: sem fundo, letra marrom sobre o hero · segundo topo: vinho do cartaz, letra creme */
.site-topo { color: var(--baile-marrom); }
.site-topo a, .site-topo__abrir { color: inherit; }
.site-topo__abrir { border: 0; background: transparent; font-size: 2.6rem; cursor: pointer; }
.site-topo__marca { font-size: 2.2rem; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 600px) { .site-topo__marca { font-size: 1.7rem; } .site-topo__redes { gap: .2rem; } .site-topo__redes a { width: 3.6rem; } }
.site-apresenta { padding: 1rem 1.6rem 0; font-size: 1.3rem; letter-spacing: .08em; text-transform: uppercase; }
.site-topo.topo-com-fundo { background: rgb(123 45 58 / .94); color: var(--baile-creme); backdrop-filter: blur(8px);
  box-shadow: 0 .4rem 1.6rem rgb(0 0 0 / .18); }

/* ── CARROSSÉIS — só o MÍNIMO para funcionar (o sw-slider do SWCore precisa de altura). Não é design. ── */
.carrossel-apoio { height: 16rem; }
.carrossel-fotos { height: clamp(28rem, 55vw, 64rem); }
.carrossel-apoio img, .carrossel-fotos img { width: 100%; height: 100%; object-fit: contain; }
/* apoio: o "zoom" do SWCore troca por FADE; aqui desliga só o zoom lento (fica o fade) e mostra a logo inteira */
.carrossel-apoio [sw-slider-it] > * { animation: none; }
.carrossel-apoio [sw-slider-it] > img { object-fit: contain; }

/* ── SEÇÕES ANIMADAS (sw-ani="sections") — só o MÍNIMO para funcionar: cada tela cobre a anterior (stack, mask,
   zoom…), então precisa de FUNDO SÓLIDO; senão uma aparece através da outra. Não é design (fundo = o do SWCore). ── */
.tela { background: var(--sw-bg); }

/* ── BARRA FIXA (partes/topo.php) — presa no topo o tempo todo; o menu abre pela esquerda (sw-panel).
   --site-topo-h = altura real da barra (o geral.js mede); as telas depois do hero descem essa altura
   para o conteúdo não ficar escondido atrás dela. O hero fica por baixo da barra (tela cheia). ── */
.site-topo { position: fixed; inset: 0 0 auto; z-index: 90; transition: background-color .3s ease, box-shadow .3s ease; }
/* SEGUNDO TOPO (js/geral.js põe .topo-com-fundo depois de 80% da 1ª tela): compacto, sem a faixa "quem apresenta" */
.site-apresenta { transition: opacity .3s ease; }
.site-topo.topo-com-fundo .site-apresenta { display: none; }
.site-topo__barra { display: flex; align-items: center; gap: 1.6rem; padding: 1rem 1.6rem; }
.site-topo__redes { display: flex; gap: 1rem; margin-left: auto; }
.site-topo__redes a { display: grid; place-items: center; width: 4rem; height: 4rem; color: inherit; }
.site-topo__redes svg { width: 2.2rem; height: 2.2rem; }

/* MENU LATERAL (sw-panel) — itens em coluna; submenu = <details> (abre/fecha sem JS), mesma montagem do JGE. */
.site-menu__lista { display: flex; flex-direction: column; gap: .4rem; }
.site-menu__lista a, .site-menu__sub > summary { display: flex; align-items: center; padding: 1rem 1.2rem; }.site-menu__sub > summary { cursor: pointer; list-style: none; }
.site-menu__sub > summary::-webkit-details-marker { display: none; }
.site-menu__seta { margin-left: auto; transition: transform .2s; }
.site-menu__sub[open] .site-menu__seta { transform: rotate(180deg); }
.site-menu__sub > a { padding-left: 2.8rem; }
.tela:not(.tela--capa) [sw-ani-scroll] { padding-top: var(--site-topo-h, 6rem); }

/* O <h1> da página única existe para o Google e leitores de tela, mas não aparece nem ocupa espaço. */
.site-titulo-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── HERO (arte 2026, em camadas) — o CSS está em css/paginas/home.css › HERO 2026 ── */
/* sobre o hero laranja o topo é claro e sem o nome (o logo grande já está na tela); o nome volta no 2º topo */
.site-topo { color: var(--arte-creme); }
.site-topo:not(.topo-com-fundo) .site-topo__marca { opacity: 0; pointer-events: none; }
.site-topo__marca { transition: opacity .3s; }
.site-topo.topo-com-fundo { background: rgb(109 30 26 / .95); }

/* ── TOPO SOBRE O HERO = IGUAL AO CARTAZ (Sandro, 19/10) ──────────────────────────────────────────────────────
   "Ministério da Cultura, Prefeitura do Recife e Itaú / apresentam o espetáculo": centralizado, 2 linhas, negrito
   branco, na Elza 14 da arte (0,97% da largura). Ícones de rede: QUADRADOS BRANCOS com o ícone vinho, UM EMBAIXO
   DO OUTRO na direita (arte: 32,6 px a cada 47,3 px, a 36 px da borda). O botão do menu não toma altura. */
.site-topo:not(.topo-com-fundo) .site-apresenta { padding: .45vw 12vw 0; text-align: center; text-transform: none;
  letter-spacing: 0; font-family: var(--baile-f-texto); font-weight: 700; font-size: max(1.1rem, .97vw); line-height: 1.25; color: #fff; }
.site-apresenta strong { display: block; text-transform: uppercase; }
.site-apresenta span { display: block; text-transform: lowercase; }   /* cartaz: "apresentam o espetáculo" minúsculo */
.site-topo:not(.topo-com-fundo) .site-topo__barra { position: absolute; inset: 0 0 auto; padding: 0; pointer-events: none; }
.site-topo:not(.topo-com-fundo) .site-topo__barra > * { pointer-events: auto; }
/* o nome escondido (só aparece no 2º topo) NÃO pode ficar por cima do botão do menu roubando o clique */
.site-topo:not(.topo-com-fundo) .site-topo__barra > .site-topo__marca { visibility: hidden; pointer-events: none; }
.site-topo:not(.topo-com-fundo) .site-topo__abrir { position: absolute; left: 2.5vw; top: .8vw; }
/* BOTÃO DO MENU = QUADRADINHO BRANCO com o ícone vinho, igual aos de rede (Sandro, 19/10: "tira o nome, deixa somente
   o quadradinho branco"); um pouco maior que os de rede para ser achado */
.site-topo__abrir { display: inline-grid; place-items: center; width: max(3.6rem, 2.6vw); height: max(3.6rem, 2.6vw); padding: 0;
  border-radius: 18%; background: #fff; color: #7a1e2c; font-size: max(2.4rem, 1.7vw); transition: transform .2s; }
.site-topo__abrir:hover, .site-topo__abrir:focus-visible { transform: scale(1.08); }
.site-topo:not(.topo-com-fundo) .site-topo__redes { position: absolute; right: 2.5vw; top: .8vw; flex-direction: column; gap: 1.02vw; }
.site-topo__redes a { width: max(3.2rem, 2.26vw); height: max(3.2rem, 2.26vw); transition: transform .2s; }
.site-topo__redes a:hover, .site-topo__redes a:focus-visible { transform: scale(1.08); }
.site-topo__redes img { display: block; width: 100%; height: 100%; }   /* ícone recortado da arte (quadrado já vem nele) */
.site-topo.topo-com-fundo .site-topo__redes a { width: 3.2rem; height: 3.2rem; }
@media (max-width: 760px), (max-aspect-ratio: 6/5) {
  .site-topo:not(.topo-com-fundo) .site-apresenta { padding-inline: 5.6rem; font-size: 1.15rem; }
  .site-topo:not(.topo-com-fundo) .site-topo__redes { flex-direction: row; top: auto; bottom: auto; right: 1.6rem; top: 1rem; gap: .8rem; }
  .site-topo:not(.topo-com-fundo) .site-topo__redes { position: static; }
  .site-topo:not(.topo-com-fundo) .site-topo__barra { position: static; padding: .8rem 1.6rem; justify-content: space-between; }
  .site-topo:not(.topo-com-fundo) .site-topo__abrir { position: static; }
}

/* ── MENU 2026 (Sandro, 19/10: "abre amarelinho, a cor padrão; um enfeitezinho por dentro; bem direitinho; animado") ──
   Painel do SWCore (sw-panel="lft"; aberto = .is-active). Fundo amarelo da arte, borda de flores da arte embaixo,
   nome do Baile em cima, itens em vinho entrando um atrás do outro, estrelinhas piscando uma de cada vez. */
.site-menu { --sw-panel-sz: min(42rem, 88vw); background: var(--arte-amarelo); color: var(--arte-vinho); border: 0;
  background-image: url("../img/arte/borda-flores.webp"); background-repeat: repeat-x; background-position: center bottom;
  background-size: auto 13rem; }
.site-menu [sw-panel-hdr] { background: transparent; border: 0; padding: 2.4rem 2.4rem 1.2rem; align-items: center; }
.site-menu__marca { display: block; flex: 1; min-width: 0; }
.site-menu__marca img { display: block; width: 100%; max-width: 30rem; height: auto; }
.site-menu [sw-panel-cls] { color: var(--arte-vinho); background: #fff; border-radius: .6rem; }
.site-menu [sw-panel-bdy] { padding: .8rem 1.6rem 1.6rem; }
.site-menu__lista a, .site-menu__sub > summary { position: relative; border-radius: .6rem; color: var(--arte-vinho); text-decoration: none;
  font-family: var(--baile-f-texto); font-weight: 800; font-size: 1.7rem; letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .25s, color .25s, padding-left .25s; }
.site-menu__lista a::before, .site-menu__sub > summary::before { content: ""; width: .8rem; height: .8rem; margin-right: 1.2rem; flex: none;
  border-radius: 50%; background: var(--arte-laranja); transition: transform .25s, background-color .25s; }
.site-menu__lista a:hover, .site-menu__lista a:focus-visible, .site-menu__sub > summary:hover {
  background: var(--arte-vinho); color: var(--arte-creme); padding-left: 1.8rem; }
.site-menu__lista a:hover::before, .site-menu__sub > summary:hover::before { background: var(--arte-ouro); transform: scale(1.4); }
.site-menu__lista a[aria-current="page"] { background: rgb(109 30 26 / .12); }
/* APOIE O BAILE sempre em vinho, como no passar do mouse (Carla, 27/11/2026) */
.site-menu__lista a.site-menu__destaque { background: var(--arte-vinho); color: var(--arte-creme); }
.site-menu__lista a.site-menu__destaque::before { background: var(--arte-ouro); }
.site-menu__sub > a { font-size: 1.45rem; font-weight: 700; text-transform: none; letter-spacing: 0; }
.site-menu__sub > a::before { width: .5rem; height: .5rem; background: var(--arte-vinho); opacity: .5; }

/* itens entrando um atrás do outro quando o menu abre */
.site-menu.is-active .site-menu__lista > * { animation: menu-item .5s cubic-bezier(.2, .8, .2, 1) both; }
.site-menu.is-active .site-menu__lista > :nth-child(1) { animation-delay: .12s; }
.site-menu.is-active .site-menu__lista > :nth-child(2) { animation-delay: .17s; }
.site-menu.is-active .site-menu__lista > :nth-child(3) { animation-delay: .22s; }
.site-menu.is-active .site-menu__lista > :nth-child(4) { animation-delay: .27s; }
.site-menu.is-active .site-menu__lista > :nth-child(5) { animation-delay: .32s; }
.site-menu.is-active .site-menu__lista > :nth-child(6) { animation-delay: .37s; }
.site-menu.is-active .site-menu__lista > :nth-child(7) { animation-delay: .42s; }
.site-menu.is-active .site-menu__lista > :nth-child(n + 8) { animation-delay: .47s; }
.site-menu.is-active .site-menu__marca { animation: menu-item .6s cubic-bezier(.2, .8, .2, 1) .05s both; }
@keyframes menu-item { from { opacity: 0; transform: translateX(-2.4rem); } to { opacity: 1; transform: none; } }

/* ESTRELINHAS do menu — o mesmo brilho branco das estrelas do topo; ciclo de 8 s, cada uma na sua vez (nunca juntas) */
.site-menu__estrelas { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.site-menu__estrelas i { position: absolute; width: 2.6rem; aspect-ratio: 1; opacity: 0; animation: menu-estrela 8s ease-out infinite; }
.site-menu__estrelas i::before, .site-menu__estrelas i::after { content: ""; position: absolute; inset: 0; }
.site-menu__estrelas i::before { border-radius: 50%; background: radial-gradient(circle, #fff8d8 0, rgb(252 207 69 / .6) 22%, transparent 62%); }
.site-menu__estrelas i::after { background: linear-gradient(transparent 47%, #fff 50%, transparent 53%), linear-gradient(90deg, transparent 47%, #fff 50%, transparent 53%); }
.site-menu__estrelas i:nth-child(1) { right: 12%; top: 16%; animation-delay: 1s; }
.site-menu__estrelas i:nth-child(2) { right: 22%; top: 48%; animation-delay: 3s; width: 1.8rem; }
.site-menu__estrelas i:nth-child(3) { right: 8%;  top: 68%; animation-delay: 5s; }
.site-menu__estrelas i:nth-child(4) { right: 30%; top: 30%; animation-delay: 7s; width: 2rem; }
@keyframes menu-estrela { 0% { opacity: 0; transform: scale(.3) rotate(0); } 3% { opacity: 1; transform: scale(1) rotate(25deg); }
  7%, 100% { opacity: 0; transform: scale(.5) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) {
  .site-menu.is-active .site-menu__lista > *, .site-menu.is-active .site-menu__marca, .site-menu__estrelas i { animation: none; }
}

/* IDIOMAS no pé do menu (partes/idiomas.php) — bandeirinhas; só o português pronto, os outros "em breve" */
.site-menu__pe { position: relative; z-index: 1; background: transparent; border: 0; padding: 1.2rem 2.4rem 14rem; }
.site-idiomas__titulo { display: block; margin-bottom: .8rem; font-family: var(--baile-f-texto); font-size: 1.2rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--arte-vinho); opacity: .75; }
.site-idiomas ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.site-idiomas a, .site-idiomas__breve { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: .6rem;
  background: rgb(255 255 255 / .55); color: var(--arte-vinho); text-decoration: none; font-family: var(--baile-f-texto);
  font-size: 1.35rem; font-weight: 700; transition: background-color .2s, transform .2s; }
.site-idiomas a:hover, .site-idiomas a:focus-visible { background: #fff; transform: translateY(-2px); }
.site-idiomas a[aria-current] { background: #fff; box-shadow: inset 0 0 0 2px var(--arte-vinho); }
.site-idiomas__breve { opacity: .6; cursor: default; }
.site-idiomas__bandeira { display: block; flex: none; width: 2.8rem; height: 2rem; border-radius: .3rem; overflow: hidden;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .12); }
.site-idiomas__bandeira svg { display: block; width: 100%; height: 100%; }
.site-menu.is-active .site-menu__pe { animation: menu-item .5s cubic-bezier(.2, .8, .2, 1) .5s both; }

/* ── MENU COMPACTO (Sandro, 25/11/2026) — virou lista única de 15 itens, igual ao menu de 2025: fonte e espaços
   menores para aparecer quase tudo de uma vez; IDIOMAS = só as 4 bandeirinhas numa fileira, lá embaixo, em cima
   da faixa de flores. O nome do idioma continua para leitor de tela e no balãozinho (title). ── */
.site-menu [sw-panel-hdr] { padding: 1.4rem 2rem .6rem; }
.site-menu__marca img { max-width: 24rem; }
/* MARCA DO MENU (27/11/2026, Sandro: "igual à do home") — as peças do topo nas MESMAS proporções do cartaz (home.css › HERO):
   bolinha 35.23%/25.47%/7.91% da marca; fita a 14.93% da esquerda, 26.07% (da largura) do topo, 42.59% de largura.
   Quadro laranja com o fundo de flores do topo. */
.site-menu__marca { flex: 0 1 26rem; }   /* 27/11 (Sandro): SEM quadro laranja e sem as flores */
.menu-marca { position: relative; display: block; width: 100%; aspect-ratio: 100 / 41.5; }
.site-menu__marca .menu-marca img { position: absolute; display: block; height: auto; max-width: none; }
.site-menu__marca .menu-marca__logo { left: 0; top: 0; width: 100%; }
.site-menu__marca .menu-marca__bolinha { left: 35.23%; top: 25.47%; width: 7.91%; }
.site-menu__marca .menu-marca__faixa { left: 14.93%; top: 62.8%; width: 42.59%; z-index: 1; }   /* 26.07% da largura = 62.8% da altura (41.5) */
/* 25/11 (Sandro: "exagerou, preenche todo o campo"): a lista ocupa a altura livre e cada item ESTICA por igual
   (flex 1 0 auto: cresce até encher, nunca encolhe abaixo do texto — tela baixa rola). */
.site-menu [sw-panel-bdy] { display: flex; flex-direction: column; padding: .2rem 1.2rem .8rem; }
.site-menu__lista { flex: 1 0 auto; gap: 0; }
.site-menu__lista a { flex: 1 0 auto; max-height: 5.6rem; padding: .6rem 1.2rem; font-size: 1.55rem; line-height: 1.3; letter-spacing: .035em; }
.site-menu__lista a::before { width: .6rem; height: .6rem; margin-right: 1rem; }.site-menu__lista a:hover, .site-menu__lista a:focus-visible { padding-left: 1.5rem; }
.site-menu__pe { padding: 7.6rem 2rem 1.4rem; }   /* a lista para ANTES da faixa de flores; as bandeiras ficam na parte vinho */
.site-idiomas__titulo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-menu .site-idiomas { width: 100%; }
.site-menu .site-idiomas ul { display: flex; justify-content: center; gap: 1rem; }
.site-menu .site-idiomas__op { width: auto; padding: .5rem; gap: 0; background: rgb(255 255 255 / .85); box-shadow: 0 .2rem .6rem rgb(0 0 0 / .18); }
.site-menu .site-idiomas__op > .notranslate { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-menu .site-idiomas__bandeira { width: 3.2rem; height: 2.3rem; }
@media (max-height: 700px) {   /* tela baixa (notebook pequeno, celular deitado): aperta mais um pouco */
  .site-menu__lista a { padding-block: .45rem; font-size: 1.25rem; }
}

/* ── RODAPÉ 2026 (partes/rodape.php, todas as páginas) — azul-escuro, menu, © e "Desenvolvido por" + logo SanWeb (branca) ── */
.site-rodape { display: grid; justify-items: center; gap: 1.6rem; padding: 3.2rem 1.6rem 4rem; background: #0d3563; color: rgb(255 255 255 / .85);
  font-family: var(--baile-f-texto); text-align: center; }
.site-rodape__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.4rem; }
.site-rodape__menu a { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.4rem; letter-spacing: .06em; text-transform: uppercase; }
.site-rodape__menu a:hover { color: var(--arte-ouro); }
.site-rodape__direitos { margin: 0; font-size: 1.3rem; }
.site-rodape__sanweb { display: inline-flex; align-items: center; gap: 1.2rem; margin-top: .8rem; padding-top: 1.6rem; border-top: 1px solid rgb(255 255 255 / .15);
  color: rgb(255 255 255 / .7); text-decoration: none; font-size: 1.2rem; letter-spacing: .14em; text-transform: uppercase; transition: color .2s; }
.site-rodape__sanweb img { display: block; height: 2.6rem; width: auto; opacity: .9; transition: opacity .2s; }
.site-rodape__sanweb:hover { color: #fff; } .site-rodape__sanweb:hover img { opacity: 1; }

/* ── TOPO 2026 v3 (07/11/2026) — no começo a página fica COMO ERA (hero inteiro, sem barra); só o botão do menu é um
   quadrado BRANCO colado no canto. Ao subir a página, a barra clara DESCE com o "quem apresenta" no centro.
   Fora da página inicial a barra já nasce à vista (topo.php põe .topo-com-fundo). */
.topo26__menu { position: fixed; top: 0; left: 0; z-index: 95; width: 6rem; height: 6rem; border: 0; padding: 0; cursor: pointer;
  background: #fff; color: var(--arte-vinho); font-size: 3rem; display: grid; place-items: center;
  box-shadow: 0 .2rem 1rem rgb(0 0 0 / .15); transition: background-color .25s ease, color .25s ease; }
.topo26__menu:hover, .topo26__menu:focus-visible { background: var(--arte-laranja); color: #fff; }
.topo26__menu i { transition: transform .25s ease; }
.topo26__menu:hover i { transform: scale(1.12); }

.topo26 { position: fixed; inset: 0 0 auto; z-index: 90; background: var(--arte-creme); color: var(--arte-vinho);
  box-shadow: 0 .2rem 1.2rem rgb(77 40 37 / .12); transform: translateY(-105%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.topo26.topo-com-fundo { transform: none; }
.topo26__barra { display: flex; justify-content: center; align-items: center; min-height: 6rem; padding: .6rem 6.8rem; }
.topo26__apresenta { display: flex; flex-direction: column; align-items: center; text-align: center; color: inherit; text-decoration: none;
  font-family: var(--baile-f-texto); line-height: 1.25; }
.topo26__apresenta strong { font-size: 1.4rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.topo26__apresenta span { font-size: 1.3rem; text-transform: uppercase; color: var(--arte-marrom); }
body:not(.site--home) main#conteudo { padding-top: var(--site-topo-h, 6rem); }

.redes-lado { position: fixed; right: 1.6rem; top: 50%; transform: translateY(-50%); z-index: 80; display: flex; flex-direction: column; gap: .8rem; }
.redes-lado a { width: 4.2rem; height: 4.2rem; display: grid; place-items: center; background: var(--arte-vinho); color: var(--arte-creme);
  font-size: 2.2rem; text-decoration: none; box-shadow: 0 .3rem 1rem rgb(0 0 0 / .18); transition: background-color .25s ease, transform .25s ease; }
.redes-lado a:hover, .redes-lado a:focus-visible { background: var(--arte-laranja); transform: translateX(-.4rem); }

@media (max-width: 760px) {
  .topo26__menu { width: 5.2rem; height: 5.2rem; font-size: 2.6rem; }
  .topo26__barra { min-height: 5.2rem; padding: .4rem 1.2rem .4rem 6.2rem; }
  .topo26__apresenta strong { font-size: 1.1rem; }
  .topo26__apresenta span { font-size: 1rem; }
  .redes-lado { right: .8rem; gap: .6rem; top: auto; bottom: 12rem; transform: none; }
  .redes-lado a { width: 3.6rem; height: 3.6rem; font-size: 1.9rem; }
}

/* TOPO v3 › com a barra à vista (07/11/2026): botão do menu LARANJA e as iniciais dos 4 idiomas no canto direito.
   O botão fica fora da barra, então olha para ela pelo :has(). Sem barra (início do hero) continua branco. */
body:has(.topo26.topo-com-fundo) .topo26__menu { background: var(--arte-laranja); color: #fff; }
body:has(.topo26.topo-com-fundo) .topo26__menu:hover, body:has(.topo26.topo-com-fundo) .topo26__menu:focus-visible { background: var(--arte-vinho); }
.topo26__barra { justify-content: center; position: relative; }
.topo26__idiomas { position: absolute; right: 2rem; top: 50%; translate: 0 -50%; display: flex; gap: 1.4rem;
  font-family: var(--baile-f-texto); font-size: 1.4rem; }
.topo26__idiomas a, .topo26__idiomas span { color: var(--arte-marrom); text-decoration: none; opacity: .7; cursor: default; transition: opacity .2s; }
.topo26__idiomas span:hover { opacity: 1; }
.topo26__idiomas [aria-current] { font-weight: 800; color: var(--arte-vinho); opacity: 1; cursor: pointer; }
@media (min-width: 761px) { .topo26__barra { padding-right: 20rem; padding-left: 20rem; } }
@media (max-width: 760px) {
  .topo26__barra { flex-direction: column; padding-right: 1.2rem; }
  .topo26__idiomas { position: static; translate: none; gap: 1.2rem; font-size: 1.15rem; margin-top: .2rem; }
}

/* TOPO v3 › REDES (07/11/2026): saem os idiomas da barra; no lugar, as redes em quadradinhos na HORIZONTAL.
   As redes do hero (.redes-lado) deixam de ser fixas: ficam na lateral direita do hero e sobem junto com ele. */
.topo26__idiomas { display: none; }
.topo26__redes { position: absolute; right: 1.6rem; top: 50%; translate: 0 -50%; display: flex; gap: .6rem; }
.topo26__redes a { width: 3.8rem; height: 3.8rem; display: grid; place-items: center; background: var(--arte-vinho); color: var(--arte-creme);
  font-size: 2rem; text-decoration: none; transition: background-color .25s ease, transform .25s ease; }
.topo26__redes a:hover, .topo26__redes a:focus-visible { background: var(--arte-laranja); transform: translateY(-.2rem); }
.redes-lado { position: absolute; top: 50svh; }
@media (max-width: 760px) {
  .topo26__barra { flex-direction: column; padding-right: 1.2rem; }
  .topo26__redes { position: static; translate: none; margin-top: .4rem; gap: .5rem; }
  .topo26__redes a { width: 3rem; height: 3rem; font-size: 1.6rem; }
  /* 26/11/2026: o topo do celular pode ficar mais alto que a tela (a família não fica mais por baixo das datas) →
     as redes ficam no canto de BAIXO do topo, ao lado do José (home.js mede e põe --redes-top); sem JS, o lugar antigo. */
  .redes-lado { top: auto; bottom: auto; top: var(--redes-top, calc(100svh - 33rem)); }
}

/* REDES EM CASCATA (Sandro, 07/11/2026: "entrando em cascata fica muito legal") — um quadradinho depois do outro.
   No hero: quando o hero entra (html.hero-entra, home.js). Na barra: TODA vez que ela desce (.topo-com-fundo).
   Usa "translate" (não "transform") para não brigar com o efeito de passar o mouse. */
@keyframes rede-cascata { from { opacity: 0; translate: 2.4rem 0; } to { opacity: 1; translate: 0 0; } }
@keyframes rede-cascata-cai { from { opacity: 0; translate: 0 -1.6rem; } to { opacity: 1; translate: 0 0; } }
html.hero-entra .redes-lado a { animation: rede-cascata .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(2s + var(--i, 0) * .12s); }
.topo26.topo-com-fundo .topo26__redes a { animation: rede-cascata-cai .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.25s + var(--i, 0) * .08s); }
:is(.redes-lado, .topo26__redes) a:nth-child(2) { --i: 1; }
:is(.redes-lado, .topo26__redes) a:nth-child(3) { --i: 2; }
:is(.redes-lado, .topo26__redes) a:nth-child(4) { --i: 3; }
:is(.redes-lado, .topo26__redes) a:nth-child(5) { --i: 4; }
:is(.redes-lado, .topo26__redes) a:nth-child(6) { --i: 5; }
@media (prefers-reduced-motion: reduce) { .redes-lado a, .topo26__redes a { animation: none !important; } }

/* ── TRADUÇÃO (07/11/2026) — o tradutor do Google ESCONDIDO (js/geral.js › TRADUÇÃO): some a barra que ele põe no
   topo (e que empurra a página para baixo), o balão "texto original" e o realce ao passar o mouse. */
.skiptranslate iframe, iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, #tradutor-google { display: none !important; visibility: hidden !important; }
body { top: 0 !important; position: static; }
.goog-text-highlight, font[style] { background: none !important; box-shadow: none !important; }
/* os botões de idioma no pé do menu (antes eram links e "em breve") */
.site-idiomas__op { display: flex; align-items: center; gap: .8rem; width: 100%; padding: .8rem 1rem; border: 0; border-radius: .6rem;
  background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .2s, transform .2s; }
.site-idiomas__op:hover, .site-idiomas__op:focus-visible { background: #fff; transform: translateY(-2px); }
.site-idiomas__op[aria-current] { background: #fff; box-shadow: inset 0 0 0 2px var(--arte-vinho); }
