/* Calendário de eventos (/conteudos/eventos/), 30/10/2026. Entra depois de marca.css,
   site.css e paginas.css; aqui só o que a agenda tem a mais: os ingressos da
   abertura, a linha do ano, os filtros e os cartões de evento.
   Gerador: tools/paginas/montar.py + tools/paginas/eventos.py. */

.ev-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Abertura: os três próximos eventos como ingressos na pilha da marca. */
.ev-pilha > .ev-bilhete { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px 24px; border-width: 0; text-decoration: none;
  -webkit-mask: radial-gradient(circle 13px at 0 62%, transparent 98%, #000) , radial-gradient(circle 13px at 100% 62%, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask: radial-gradient(circle 13px at 0 62%, transparent 98%, #000) intersect, radial-gradient(circle 13px at 100% 62%, transparent 98%, #000); }
.ev-bilhete::after { content: ''; position: absolute; left: 20px; right: 20px; top: 62%; border-top: 2px dashed var(--line-2); }
.ev-bilhete small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-texto); }
.ev-bilhete b { font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: clamp(26px, 2.6vw, 38px); line-height: .95; letter-spacing: -.035em; text-wrap: balance; }
.ev-bilhete span { margin-top: auto; padding-top: 26px; font-size: 15px; color: var(--muted); }
.ev-bilhete.frente { background: var(--bloco); color: var(--sobre-bloco); }
.ev-bilhete.frente small { color: var(--accent); }
.ev-bilhete.frente span { color: var(--sobre-bloco-2); }
.ev-bilhete.frente::after { border-color: rgb(243 238 229 / 25%); }
.ev-falta { position: absolute; right: 22px; bottom: 20px; font-style: normal; font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--accent); }
.ev-falta:empty { display: none; }
.ev-pilha > .ev-bilhete { min-height: 46%; }
.ev-pilha > .ev-bilhete:hover { z-index: 3; }

/* Linha do ano: um ponto por evento, empilhado no mês. */
.ev-leg { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; white-space: nowrap; }
.ev-leg::before { content: ''; width: 11px; height: 11px; border-radius: 50%; background: var(--text); }
.ev-leg.br::before { background: var(--accent); }
.ev-leg.prev::before { background: transparent; box-shadow: inset 0 0 0 2px var(--muted); }
.ev-linha-caixa { overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.ev-linha { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(46px, 1fr); gap: 4px; min-width: 640px; margin: 0; padding: 26px 0 0; list-style: none; border-bottom: 2px solid var(--text); }
.ev-linha li { position: relative; }
.ev-linha li[data-ano]::before { content: attr(data-ano); position: absolute; top: -26px; left: 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.ev-linha li[data-ano]:not(:first-child) { border-left: 1px dashed var(--line-2); }
.ev-linha a { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; height: 100%; min-height: 150px; padding: 10px 2px 12px; border-radius: 14px 14px 0 0; color: var(--text); text-decoration: none; transition: background .3s; }
.ev-linha a[href]:hover, .ev-linha a.agora { background: var(--cartao); }
.ev-linha a.agora b { color: var(--accent-texto); }
.ev-linha a[aria-disabled] { opacity: .45; }
.ev-linha b { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ev-pontos { display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; }
.ev-pontos i { display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--text); transition: opacity .3s, transform .3s var(--sai); }
.ev-pontos i.br { background: var(--accent); }
.ev-pontos i.prev { background: transparent; box-shadow: inset 0 0 0 2px var(--muted); }
.ev-pontos i.prev.br { box-shadow: inset 0 0 0 2px var(--accent); }
.ev-pontos i.fora { opacity: .14; transform: scale(.7); }
.ev-linha a:hover .ev-pontos i:not(.fora) { transform: scale(1.2); }

/* Filtros: grudam embaixo do cabeçalho enquanto a agenda rola. Linha de
   cima: as quatro vistas, a busca e a contagem; embaixo, os chips (no
   celular, recolhidos atrás do botão "Filtros"). */
.ev-filtros { position: sticky; top: var(--ev-topo, 84px); z-index: 20; margin: 0 0 10px; padding: 14px 0 12px; background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.ev-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ev-vistas { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--surface); }
.ev-vistas button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 700 14px/1 var(--sans); cursor: pointer; transition: background .25s, color .25s; }
.ev-vistas button:hover { color: var(--text); }
.ev-vistas button[aria-selected="true"] { background: var(--text); color: var(--bg); box-shadow: 0 6px 14px -8px var(--sombra); }
.ev-vistas svg, .ev-cal-nav svg, .ev-ficha-pe svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ev-painel { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 12px; }
.ev-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ev-chips-rot { margin-right: 4px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ev-chips button, .ev-ver-passados, .ev-limpar, .ev-abre-filtros { padding: 8px 14px; border: 1.5px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text); font: 600 14px/1 var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ev-chips button:hover, .ev-abre-filtros:hover { border-color: var(--text); }
.ev-chips button[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--bg); }
.ev-abre-filtros { display: none; align-items: center; gap: 8px; }
.ev-n-filtros { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--accent); color: var(--sobre-acc); font-size: 12px; font-weight: 800; }
.ev-n-filtros[hidden] { display: none; }
.ev-busca { position: relative; flex: 1 1 200px; max-width: 300px; }
.ev-busca svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; translate: 0 -50%; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.ev-busca input { width: 100%; box-sizing: border-box; padding: 10px 14px 10px 40px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--cartao); color: var(--text); font: 15px var(--sans); }
.ev-busca input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.ev-conta { margin: 0 0 0 auto; font-size: 14px; color: var(--muted); white-space: nowrap; }
.ev-conta b { font-family: var(--display); font-size: 22px; color: var(--text); }
.ev-fonte { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.ev-fonte a { color: var(--accent-texto); font-weight: 600; }
.ev-passados { margin: 18px 0 0; }
.ev-vazio { padding: 48px 0; font-size: 18px; color: var(--muted); }

/* Meses e cartões. */
.ev-mes { margin-top: clamp(40px, 5vw, 64px); scroll-margin-top: calc(var(--ev-topo, 84px) + 90px); }
.ev-mes-tit { display: flex; align-items: baseline; gap: 14px; margin: 0 0 6px; font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: clamp(44px, 6vw, 84px); line-height: .9; letter-spacing: -.045em; }
.ev-mes-tit span { font-size: .38em; letter-spacing: -.01em; color: var(--muted); }
.ev-lista { margin: 0; padding: 0; list-style: none; }
.ev { scroll-margin-top: calc(var(--ev-topo, 84px) + 90px); }
.ev-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 28px; padding: 28px 0; border-top: 1px solid var(--line-2); }
.ev:target .ev-card { margin-inline: -20px; padding-inline: 20px; border-radius: 22px; background: var(--cartao); }
.ev-quando { display: flex; flex-direction: column; align-items: flex-start; padding-top: 2px; }
.ev-quando b { font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: 64px; line-height: .82; letter-spacing: -.05em; }
.ev-quando span { margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ev[data-data="prevista"] .ev-quando b { font-size: 46px; color: var(--muted); }
.ev-onde { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.ev-bandeira { font-size: 18px; line-height: 1; }
.ev-publico::before { content: '·'; margin-right: 10px; }
.ev-selo { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ev-selo.prev { box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--muted); }
.ev-selo.br { background: var(--accent); color: var(--sobre-acc); }
.ev-corpo h3 { margin: 8px 0 10px; font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: clamp(28px, 3vw, 40px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.ev-resumo { max-width: 64ch; margin: 0; font-size: 17px; line-height: 1.55; color: var(--body); }
.ev-porque { max-width: 64ch; margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--body); }
.ev-porque b { color: var(--accent-texto); }
.ev-nota { max-width: 64ch; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.ev-pe { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; }
.ev-temas { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ev-temas li { padding: 5px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.ev-temas li:first-child { box-shadow: none; background: var(--text); color: var(--bg); }
.ev-temas li.t-ia:first-child { background: var(--violeta, #5b2ee6); color: #fff; }
.ev-acoes { display: flex; flex-wrap: wrap; gap: 18px; }
.ev-acoes a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.ev-acoes a:hover { color: var(--accent-texto); }
.ev-acoes .ic { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.ev-acoes .ev-agenda { border-bottom-color: var(--line-2); }
.ev.passou { opacity: .5; }
.ev[hidden], .ev-mes[hidden] { display: none; }

/* O bloco escuro com três passos (o padrão tem duas colunas). */
.pg-escuro.ev-tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-escuro.ev-tres > section + section { padding-left: 40px; border-left: 1px solid rgb(243 238 229 / 18%); }

@media (max-width: 1000px) {
  .pg-escuro.ev-tres { grid-template-columns: minmax(0, 1fr); }
  .pg-escuro.ev-tres > section + section { padding: 32px 0 0; border-left: 0; border-top: 1px solid rgb(243 238 229 / 18%); }
}
@media (max-width: 700px) {
  .ev-filtros { padding: 10px 0; }
  .ev-barra { gap: 8px; }
  .ev-vistas { order: -1; width: 100%; box-sizing: border-box; overflow-x: auto; scrollbar-width: none; }
  .ev-vistas button { flex: 1 0 auto; justify-content: center; padding: 9px 11px; font-size: 13px; }
  .ev-vistas svg { display: none; }
  .ev-abre-filtros { display: inline-flex; }
  .ev-busca { flex: 1 1 140px; max-width: none; }
  .ev-conta { display: none; }
  .ev-painel { display: none; gap: 12px; max-height: 60vh; overflow-y: auto; }
  .ev-painel.aberto { display: grid; }
  .ev-chips button { padding: 8px 12px; font-size: 13px; }
  .ev-card { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
  .ev-quando b { font-size: 42px; }
  .ev[data-data="prevista"] .ev-quando b { font-size: 30px; }
  .ev-quando span { font-size: 11px; }
  .ev-resumo { font-size: 16px; }
  .ev-pe { flex-direction: column; align-items: flex-start; }
  .ev-pilha > .ev-bilhete { padding: 16px 18px 18px; }
  .ev-bilhete span { padding-top: 18px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .ev-pontos i, .ev-ficha[open] { transition: none; animation: none; } }

/* Selos de formato e de ingresso. */
.ev-selo.a-gratuito, .ev-selo.a-misto { background: var(--violeta, #5b2ee6); color: #fff; }
.ev-selo.a-pago, .ev-selo.a-convite, .ev-selo.f-presencial, .ev-selo.f-online, .ev-selo.f-hibrido { box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--muted); }

/* O nome do evento abre a ficha. */
.ev-abre { all: unset; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 6px; transition: text-decoration-color .25s; }
.ev-abre:hover { text-decoration-color: var(--accent); }
.ev-abre:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.ev-mais { padding: 0 0 2px; border: 0; border-bottom: 2px solid var(--line-2); background: none; color: var(--text); font: 700 15px var(--sans); cursor: pointer; }
.ev-mais:hover { color: var(--accent-texto); border-color: var(--accent); }

/* Calendário: grade do mês com fitas que atravessam os dias do evento. */
.ev-cal-cab { display: flex; min-width: 0; justify-content: space-between; align-items: end; gap: 20px; margin: clamp(28px, 4vw, 48px) 0 18px; }
.ev-cal-cab .ev-mes-tit { margin: 0; min-width: 0; flex-wrap: wrap; }
.ev-cal-nav { display: flex; gap: 8px; }
.ev-cal-nav button { display: grid; place-items: center; width: 50px; height: 50px; border: 1.5px solid var(--line-2); border-radius: 50%; background: var(--cartao); color: var(--text); cursor: pointer; transition: background .2s, color .2s; }
.ev-cal-nav button:hover:not(:disabled) { background: var(--text); color: var(--bg); }
.ev-cal-nav button:disabled { opacity: .35; cursor: default; }
.ev-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 2px solid var(--text); border-left: 1px solid var(--line); }
.ev-sem { padding: 10px 10px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ev-dia { display: flex; flex-direction: column; gap: 3px; min-height: 112px; padding: 8px 0 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ev-dia.fora { background: repeating-linear-gradient(135deg, transparent 0 8px, var(--line) 8px 9px); }
.ev-sem.fds, .ev-dia.fds:not(.fora) { background: color-mix(in srgb, var(--surface) 45%, transparent); }
.ev-dia-n { padding: 0 10px; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--muted); }
.ev-dia.tem .ev-dia-n { color: var(--text); }
.ev-dia.hoje .ev-dia-n { align-self: flex-start; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--sobre-acc); }
.ev-fita { display: block; height: 24px; margin: 0 -1px; padding: 0 8px; border: 0; background: var(--text); color: var(--bg); font: 700 12px/24px var(--sans); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; transition: filter .2s, transform .2s var(--sai); }
.ev-fita.br { background: var(--accent); color: var(--sobre-acc); }
.ev-fita.ini { margin-left: 6px; border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.ev-fita.fim { margin-right: 6px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.ev-fita:hover { filter: brightness(1.15); transform: translateY(-1px); }
.ev-fita span { pointer-events: none; }
.ev-cal-nota { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* Linhas compactas (calendário e grupos). */
.ev-linhas { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.ev-linha-it button, .ev-linha-it > a { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto 24px; align-items: center; gap: 18px; width: 100%; padding: 16px 6px; border: 0; border-bottom: 1px solid var(--line-2); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background .2s, padding .3s var(--sai); }
.ev-linha-it button:hover, .ev-linha-it > a:hover { padding-inline: 14px; background: var(--cartao); }
.ev-linha-it.passou { opacity: .5; }
.ev-l-data { font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: 34px; line-height: .9; letter-spacing: -.04em; }
.ev-l-data small { display: block; margin-top: 4px; font: 700 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ev-l-txt { display: grid; gap: 4px; min-width: 0; }
.ev-l-txt b { font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: 22px; line-height: 1.05; letter-spacing: -.02em; }
.ev-l-txt span { font-size: 14px; color: var(--muted); }
.ev-l-selos { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.ev-l-seta .ic { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; transition: stroke .2s, transform .3s var(--sai); }
.ev-linha-it :is(button, a):hover .ev-l-seta .ic { stroke: var(--accent-texto); transform: translate(2px, -2px); }

/* Grupos: por país e grátis ou pago. */
.ev-grupo { margin-top: clamp(36px, 4.5vw, 56px); }
.ev-grupo-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; }
.ev-grupo-cab h2 { display: flex; align-items: center; gap: 14px; margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: clamp(36px, 4.6vw, 64px); line-height: .92; letter-spacing: -.045em; }
.ev-g-bandeira { font-size: .8em; letter-spacing: 0; }
.ev-grupo-cab p { margin: 0; font-size: 15px; color: var(--muted); }
.ev-grupo-cab p b { color: var(--text); }

/* Ficha do evento. */
.ev-ficha { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 30px; background: var(--cartao); color: var(--text); box-shadow: 0 40px 100px -30px rgb(22 19 15 / .6); overflow: auto; }
.ev-ficha::backdrop { background: rgb(22 19 15 / .55); backdrop-filter: blur(5px); }
.ev-ficha[open] { animation: ev-ficha-entra .45s var(--sai); }
@keyframes ev-ficha-entra { from { opacity: 0; transform: translateY(22px) scale(.97); } }
.ev-ficha-in { position: relative; }
.ev-ficha-x { position: absolute; top: 16px; right: 16px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgb(243 238 229 / 16%); color: inherit; font: 400 26px/1 var(--sans); cursor: pointer; transition: transform .3s var(--sai), background .2s; }
.ev-ficha-x:hover { transform: rotate(90deg); background: rgb(243 238 229 / 30%); }
.ev-ficha-cab { position: relative; padding: 34px 34px 30px; overflow: hidden; background: var(--bloco); color: var(--sobre-bloco); }
.ev-ficha-cab.br { background: var(--accent); color: var(--sobre-acc); }
.ev-ficha-cab.br .ev-ficha-x { color: var(--sobre-acc); }
.ev-ficha-cab::after { content: ''; position: absolute; right: -26px; bottom: -40px; width: 150px; height: 230px; background: currentColor; opacity: .08; clip-path: var(--raio); transform: rotate(12deg); }
.ev-ficha-rot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 50px 14px 0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.ev-ficha-rot span { padding: 3px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; }
.ev-ficha-cab h2 { margin: 0 40px 0 0; font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: clamp(36px, 6vw, 54px); line-height: .92; letter-spacing: -.045em; text-wrap: balance; }
.ev-ficha-lugar { margin: 14px 0 0; font-size: 16px; font-weight: 600; opacity: .85; }
.ev-ficha-corpo { display: grid; gap: 16px; padding: 28px 34px 30px; }
.ev-ficha-resumo { margin: 0; font-size: 19px; line-height: 1.5; color: var(--body); }
.ev-ficha-porque { margin: 0; padding: 16px 18px; border-radius: 16px; background: var(--surface); font-size: 16px; line-height: 1.55; color: var(--body); }
.ev-ficha-porque b { color: var(--accent-texto); }
.ev-ficha-nota { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.ev-ficha-fatos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line-2); }
.ev-ficha-fatos div { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.ev-ficha-fatos dt { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ev-ficha-fatos dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.ev-ficha-acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.ev-ficha-pe { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.ev-ficha-pe button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font: 700 15px/1 var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.ev-ficha-pe .ev-ficha-enviar { background: var(--violeta, #5b2ee6); color: #fff; }
.ev-ficha-pe .ev-ficha-enviar:hover { background: var(--text); }
.ev-ficha-pe .ev-ficha-copiar:hover { background: var(--surface); }

@media (max-width: 700px) {
  .ev-cal-nav button { width: 42px; height: 42px; }
  .ev-sem { padding: 8px 2px 6px; font-size: 10px; text-align: center; letter-spacing: 0; }
  .ev-dia { min-height: 54px; padding: 5px 0 6px; gap: 2px; }
  .ev-dia-n { padding: 0 5px; font-size: 13px; }
  .ev-dia.hoje .ev-dia-n { margin-left: 2px; padding: 1px 5px; }
  .ev-fita { height: 6px; padding: 0; }
  .ev-fita.ini { margin-left: 3px; } .ev-fita.fim { margin-right: 3px; }
  .ev-fita span { display: none; }
  .ev-linha-it button, .ev-linha-it > a { grid-template-columns: 56px minmax(0, 1fr) 18px; gap: 12px; }
  .ev-l-selos { grid-column: 2; grid-row: 2; justify-content: flex-start; }
  .ev-l-seta { grid-column: 3; grid-row: 1; }
  .ev-l-data { font-size: 26px; }
  .ev-l-txt b { font-size: 19px; }
  .ev-ficha { border-radius: 24px; }
  .ev-ficha-cab { padding: 26px 22px 24px; }
  .ev-ficha-corpo { padding: 22px 22px 24px; }
  .ev-ficha-resumo { font-size: 17px; }
  .ev-ficha-acoes .button { flex: 1 1 auto; justify-content: center; }
}

/* Ingressos de trás: título menor e em duas linhas, para não cortar no meio. */
.ev-bilhete:not(.frente) b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: clamp(20px, 2vw, 28px); }
.ev-bilhete small, .ev-bilhete span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-leg.prev { margin-right: 0; }
/* Nome comprido sem espaço ("Symposium/Xpo") quebra em vez de empurrar a página no celular. */
.ev-corpo h3, .ev-l-txt b, .ev-ficha-cab h2, .ev-bilhete b, .ev-grupo-cab h2 { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .ev-cal-cab .ev-mes-tit { font-size: 40px; }
  .ev-cal-cab { gap: 10px; }
  .ev-cal-nav button { width: 38px; height: 38px; }
}

/* Cores da paleta no lugar do preto (Gui, 30/10/2026: "esses botões pretos
   são muito agressivos, suavize com cores da minha paleta"). Selecionado =
   lilás com letra violeta; evento fora do Brasil = violeta; Brasil segue laranja. */
#agenda, .ev-ano, .ev-ficha, .ev-pilha { --ev-lilas: color-mix(in srgb, var(--violeta) 13%, var(--cartao)); --ev-lilas-2: color-mix(in srgb, var(--violeta) 30%, var(--cartao)); }
.ev-vistas { background: var(--ev-lilas); }
.ev-vistas button { color: color-mix(in srgb, var(--violeta-texto) 70%, var(--muted)); }
.ev-vistas button:hover { color: var(--violeta-texto); }
.ev-vistas button[aria-selected="true"] { background: var(--cartao); color: var(--violeta-texto); box-shadow: 0 6px 16px -10px rgb(91 46 230 / 55%); }
.ev-chips button[aria-pressed="true"] { border-color: var(--ev-lilas-2); background: var(--ev-lilas); color: var(--violeta-texto); }
.ev-chips button:hover, .ev-abre-filtros:hover { border-color: var(--violeta-texto); }
.ev-temas li:first-child { background: var(--ev-lilas); color: var(--violeta-texto); }
.ev-temas li.t-ia:first-child { background: var(--violeta); color: #fff; }
.ev-cal-nav button:hover:not(:disabled) { border-color: var(--violeta); background: var(--violeta); color: #fff; }
.ev-fita { background: var(--violeta); color: #fff; }
.ev-pontos i, .ev-leg::before { background: var(--violeta); }
.ev-ficha-cab { background: var(--violeta); color: #fff; }
.ev-ficha-x { background: rgb(255 255 255 / 18%); }
.ev-ficha-pe .ev-ficha-enviar:hover { background: color-mix(in srgb, var(--violeta) 80%, #000); }
.ev-bilhete.frente { background: var(--violeta); color: #fff; }
.ev-bilhete.frente small, .ev-falta { color: #ffd2bb; }
.ev-bilhete.frente span { color: rgb(255 255 255 / 78%); }
.ev-bilhete.frente::after { border-color: rgb(255 255 255 / 30%); }
.ev-linha { border-bottom-color: var(--line-2); }
.ev-cal { border-top-color: var(--violeta); }
.ev-dia.hoje .ev-dia-n { background: var(--violeta); color: #fff; }

/* A lista principal usa a mesma linha compacta das outras vistas. */
.ev-mes .ev-linhas { margin-top: 10px; }
.ev-linha-it > a { text-decoration: none; }
.ev-linha-it[hidden] { display: none; }
.ev-linha-it.passou { opacity: .5; }

/* Pilha da abertura em /conteudos/eventos/: os ingressos de trás ficam mais baixos, para não se cobrirem. */
.ev-pilha > .ev-bilhete:not(.frente) { min-height: 34%; }
.ev-pilha > .ev-bilhete.frente { min-height: 42%; }
