/* Menu, idioma e rodapé do site nas páginas de evento */
body { margin: 0; }
[hidden] { display: none !important; }
:root { --o-cream: #ebddcb; --o-red: #ef3b25; --o-gold: #ffd80e; --o-brown: #3d2010; --o-head: "Work Sans", "Helvetica Neue", Arial, sans-serif; --o-mono: "Space Mono", "Courier New", monospace; --pill-bg: var(--o-cream); --nav-fg: #fff; --bar-bg: #000; --bar-fg: #fff; --bar-line: rgba(255,255,255,.16); }
.nav { position: relative; z-index: 60; height: 100px; display: grid; grid-template-columns: 1fr 132px 1fr; align-items: start; padding-top: 18px; font-family: var(--o-mono); }
.nav .social { display: flex; gap: 22px; padding-top: 12px; justify-self: end; margin-right: 12vw; }
.nav .social a { color: var(--nav-fg); display: grid; place-items: center; }
.nav .social svg { width: 18px; height: 18px; fill: currentColor; }
.nlogo { display: block; width: 132px; height: 70px; }
.nlogo img { width: 100%; height: 100%; object-fit: contain; }
.npills { display: flex; gap: 8px; justify-self: start; margin-left: 5vw; padding-top: 10px; }
.npills a { font-size: 13px; line-height: 1.6; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; background: var(--pill-bg); color: #111; padding: 9px 18px; border-radius: 999px; transition: background .25s, transform .25s; }
.npills a:hover { background: var(--o-red); transform: translateY(-1px); }
.npills a[aria-current="page"] { background: var(--o-red); }
.npills a.pill-ilha { background: #06384a; color: #e9cfa3; box-shadow: inset 0 0 0 1px rgba(233,207,163,.55); }
.npills a.pill-ilha:hover { background: var(--o-red); color: #fff; }
.menu-btn { display: none; }
.lang { position: absolute; top: 28px; left: max(20px, 3vw); display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(0,0,0,.55); }
.lang a { padding: 5px 10px; border-radius: 999px; font-size: 12px; line-height: 1.4; letter-spacing: .04em; text-decoration: none; color: #fff; transition: background .25s; }
.lang a:hover { background: rgba(255,255,255,.18); }
.lang a[aria-current="true"] { background: var(--pill-bg); color: #111; }

/* barra de tipos de evento: fica presa no topo ao rolar */
.avtop { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bar-bg); border-bottom: 1px solid var(--bar-line); color: var(--bar-fg); font-family: var(--o-mono); }
.avtop-in { max-width: 1320px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 14px; height: 64px; }
.avseg { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.avseg::-webkit-scrollbar { display: none; }
.avseg a { padding: 8px 12px; border-radius: 999px; font-size: 12px; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--bar-fg); opacity: .78; transition: background .2s, opacity .2s; }
.avseg a:hover { opacity: 1; }
.avseg a.on { opacity: 1; background: var(--pill-bg); color: #111; }
.avcart { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border: 0; border-radius: 999px; background: var(--pill-bg); color: #111; font: 13px var(--o-mono); text-transform: uppercase; cursor: pointer; }
.avcart .count { min-width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #111; color: #fff; font-size: 12px; }
.avcart.has .count { background: var(--o-red); }

.site-foot { background: var(--o-brown); color: #fff; font-family: var(--o-mono); font-size: 14px; padding-block: 60px 90px; padding-left: max(20px, 4vw); padding-right: max(20px, 4vw); position: relative; z-index: 2; }
.sf-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 36px; align-items: start; max-width: 1240px; margin-inline: auto; }
.sf-contact { display: grid; gap: 14px; min-width: 0; }
.sf-contact a { color: #fff; font-family: var(--o-head); font-weight: 700; font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.sf-contact a:hover, .sf-cta a:hover { text-decoration: underline; }
.sf-menu { display: grid; gap: 10px; }
.sf-menu a { color: #fff; font-family: var(--o-head); font-weight: 700; font-size: 15px; text-transform: uppercase; text-decoration: none; transition: color .2s; }
.sf-menu a:hover, .sf-menu a[aria-current="page"] { color: var(--o-red); }
.sf-cta { display: grid; gap: 14px; justify-items: start; }
.sf-cta p { margin: 0; }
.sf-btn { display: inline-block; background: var(--o-cream); color: #111; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; padding: 13px 26px; border-radius: 999px; }
.sf-credit { max-width: 1240px; margin: 44px auto 0; text-align: right; }
@media (min-width: 861px) and (max-width: 1180px) {
  .nav { grid-template-columns: 236px 132px 1fr; }
  .nav .social { margin-right: 18px; gap: 14px; }
  .npills { margin-left: 16px; gap: 6px; }
  .npills a { font-size: 12px; padding: 9px 14px; }
  .lang { left: 16px; }
}
@media (max-width: 860px) {
  .nav { grid-template-columns: auto 1fr; padding: 12px 16px 0; height: 80px; }
  .nav .social { display: none; }
  .nlogo { width: 92px; height: 50px; }
  .menu-btn { display: grid; justify-self: end; margin-top: 6px; background: var(--pill-bg); color: #111; border: 0; border-radius: 999px; font: 13px var(--o-mono); text-transform: uppercase; padding: 10px 18px; cursor: pointer; }
  .npills { display: none; grid-column: 1 / -1; flex-direction: column; margin: 8px 0 0; padding: 14px; background: rgba(0,0,0,.92); border-radius: 22px; justify-self: stretch; position: relative; z-index: 70; }
  .nav.open { height: auto; padding-bottom: 12px; }
  .nav.open .npills { display: flex; }
  .npills a { text-align: center; }
  .lang { top: 18px; left: 50%; transform: translateX(-50%); }
  .lang a { padding: 5px 8px; }
  .avtop-in { height: 54px; }
  .avtop .avcart { display: none; }
  .sf-grid { grid-template-columns: 1fr; }
  .sf-credit { text-align: left; }
}

/* Estrutura de 2026-11: menu com as quatro frentes e volta para a entrada */
.npills a { font-size: 12px; padding: 9px 15px; }
.npills { margin-left: 2.5vw; }
.lang.voltar a { color: #fff; }
.avseg a.volta { opacity: .6; }
