/* ─── Fonte ──────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/Nunito-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

/* ─── Design tokens ──────────────────────────────────────────────────────── */
:root {
  /* backgrounds */
  --bg:           #0b0d12;
  --surface:      rgba(255,255,255,0.042);
  --surface-2:    rgba(255,255,255,0.030);
  --surface-3:    rgba(255,255,255,0.018);

  /* lines */
  --line:         rgba(255,255,255,0.09);
  --line-med:     rgba(255,255,255,0.13);
  --line-strong:  rgba(255,255,255,0.20);

  /* text scale */
  --text:         rgba(255,255,255,0.97);
  --text-2:       rgba(255,255,255,0.88);
  --text-3:       rgba(255,255,255,0.70);
  --muted:        rgba(255,255,255,0.52);
  --muted-2:      rgba(255,255,255,0.32);
  --muted-3:      rgba(255,255,255,0.20);

  /* orange family */
  --orange:       #ff8a1f;
  --orange-dim:   rgba(255,138,31,0.72);
  --orange-soft:  rgba(255,138,31,0.13);
  --orange-soft2: rgba(255,138,31,0.07);
  --orange-line:  rgba(255,138,31,0.34);
  --amber:        #ffbc7a;
  --amber-warm:   #ffd4a8;
  --amber-bright: #ffe4c4;

  /* teal — libras */
  --teal:         #2dd4bf;
  --teal-soft:    rgba(45,212,191,0.10);
  --teal-line:    rgba(45,212,191,0.28);
  --teal-text:    #5eead4;

  /* shadows */
  --shadow:       0 2px 14px rgba(0,0,0,0.22);
  --shadow-m:     0 6px 30px rgba(0,0,0,0.30);

  /* radii */
  --r-s:   8px;
  --r-m:   12px;
  --r-l:   16px;
  --r-xl:  20px;
  --r-2xl: 24px;

  /* layout */
  --header-h: 56px;
  --page-w:   1024px;
  --px: 14px;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  min-height: 100dvh;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(860px 460px at 50% -60px, rgba(255,138,31,0.12), transparent 62%),
    radial-gradient(500px 300px at 96% 82%, rgba(255,138,31,0.05), transparent 68%),
    linear-gradient(180deg, #090b10 0%, #0b0d12 52%, #0c0e14 100%);
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ─── Background glow ────────────────────────────────────────────────────── */
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(255,138,31,0.08), transparent 64%),
    radial-gradient(380px 250px at 100% 78%, rgba(255,138,31,0.04), transparent 70%);
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  min-height: var(--header-h); padding: 10px var(--px);
  background: rgba(9,11,16,0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
}

.header-brand { flex: 0 0 auto; }
.header-logo  { height: 26px; width: auto; }

.header-title { min-width: 0; flex: 1; }
.header-title h1 {
  margin: 0;
  font-size: 1.05rem; line-height: 1.05;
  font-weight: 900; letter-spacing: -0.025em; color: #fff;
}
.header-dates {
  margin: 2px 0 0;
  color: var(--amber); font-size: 0.70rem; line-height: 1.1;
  font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase;
}

/* ─── Main layout ────────────────────────────────────────────────────────── */
.page-main {
  position: relative; z-index: 1;
  width: min(100%, var(--page-w));
  margin: 0 auto;
  padding: 14px var(--px) 96px;
}

/* ─── Day nav ────────────────────────────────────────────────────────────── */
.day-nav {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-bottom: 12px;
}

.day-tab {
  min-height: 64px; border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: var(--surface-3); color: var(--muted-2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.day-tab.is-active {
  color: #fff;
  background: linear-gradient(150deg, rgba(255,138,31,0.22) 0%, rgba(255,138,31,0.09) 100%);
  border-color: var(--orange-dim);
  box-shadow: 0 0 22px rgba(255,138,31,0.10);
}

.day-tab-num {
  font-size: 1.80rem; line-height: 1;
  font-weight: 900; letter-spacing: -0.04em;
}
.day-tab-label {
  font-size: 0.63rem; line-height: 1;
  font-weight: 900; text-transform: uppercase; letter-spacing: 0.09em;
  color: inherit; opacity: 0.6;
}
.day-tab.is-active .day-tab-label { color: var(--amber); opacity: 0.88; }

/* ─── Filters ────────────────────────────────────────────────────────────── */
.filters {
  display: flex; flex-direction: column; gap: 11px;
  padding: 13px; border-radius: var(--r-xl);
  border: 1px solid var(--line-med);
  background: linear-gradient(155deg, rgba(255,255,255,0.032), rgba(255,255,255,0.013));
  box-shadow: var(--shadow); margin-bottom: 2px;
}

/* ─── Search ─────────────────────────────────────────────────────────────── */
.search-wrap { position: relative; }

.search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted-3); pointer-events: none;
}

.search-input {
  width: 100%; min-height: 44px; padding: 0 40px 0 40px;
  border-radius: var(--r-l); border: 1px solid var(--line-med);
  background: rgba(255,255,255,0.038); color: var(--text);
  font-size: 0.90rem; font-weight: 800;
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color 0.13s, box-shadow 0.13s, background 0.13s;
}
.search-input::placeholder { color: var(--muted-3); font-weight: 700; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-input:focus {
  border-color: var(--orange-dim);
  background: var(--orange-soft2);
  box-shadow: 0 0 0 3px rgba(255,138,31,0.09);
}

.search-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: var(--muted);
  display: grid; place-items: center; touch-action: manipulation;
  transition: background 0.12s;
}
.search-clear:hover { background: rgba(255,255,255,0.12); }

/* ─── Palco select ───────────────────────────────────────────────────────── */
.filter-field { min-width: 0; }

.filter-label {
  display: block; margin: 0 0 6px;
  font-size: 0.66rem; font-weight: 900; color: var(--muted-2);
  text-transform: uppercase; letter-spacing: 0.09em; line-height: 1;
}

.select-wrap { position: relative; }

.filter-select {
  width: 100%; min-height: 42px; padding: 0 34px 0 12px;
  border-radius: var(--r-l); border: 1px solid var(--line-med);
  background: rgba(255,255,255,0.038); color: var(--text);
  font-size: 0.87rem; font-weight: 800;
  outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color 0.13s, background 0.13s; cursor: pointer;
}
.filter-select option { color: #111; background: #fff; }
.filter-select:focus { border-color: var(--orange-dim); background: var(--orange-soft2); }

.select-arrow {
  position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  color: var(--muted-2); pointer-events: none;
}

/* ─── Filter groups ──────────────────────────────────────────────────────── */
.filter-group { display: flex; flex-direction: column; gap: 7px; }
.filter-group-head {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
}
.filter-actions { display: flex; align-items: center; gap: 6px; }

.text-btn {
  border: 0; background: transparent; color: var(--muted);
  font-size: 0.74rem; font-weight: 900;
  text-decoration: underline; text-underline-offset: 0.18em;
  padding: 2px 0; touch-action: manipulation; transition: color 0.12s;
}
.text-btn:hover { color: var(--amber); }

.dot-sep { color: var(--muted-3); font-size: 0.84rem; }

/* ─── Chips scroll ───────────────────────────────────────────────────────── */
.chips-scroll {
  display: flex; gap: 5px; overflow-x: auto; padding-bottom: 3px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to right, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
}
.chips-scroll::-webkit-scrollbar { display: none; }

/* ─── Filter chip ────────────────────────────────────────────────────────── */
.filter-chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 30px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--line-med);
  background: var(--surface-3); color: var(--muted);
  white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  user-select: none;
}
.filter-chip.chip-eixo:has(input:checked) {
  background: var(--orange-soft); border-color: var(--orange-dim); color: var(--amber-warm);
}
.filter-chip.chip-acess:has(input:checked) {
  background: var(--teal-soft); border-color: var(--teal-line); color: var(--teal-text);
}
.filter-chip input {
  margin: 0; width: 12px; height: 12px;
  accent-color: var(--orange); cursor: pointer; flex-shrink: 0;
}
.filter-chip.chip-acess input { accent-color: var(--teal); }
.filter-chip span { font-size: 0.76rem; line-height: 1; font-weight: 800; }

/* ─── Results bar ────────────────────────────────────────────────────────── */
.results-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 1px 8px; min-height: 38px;
}
.results-count { font-size: 0.83rem; font-weight: 900; color: var(--muted); line-height: 1.2; }
.results-bar-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.active-filters-tag {
  font-size: 0.70rem; font-weight: 900; color: var(--amber);
  background: var(--orange-soft); border: 1px solid var(--orange-line);
  border-radius: 999px; padding: 3px 8px;
  white-space: nowrap; max-width: 120px; overflow: hidden; text-overflow: ellipsis;
}

.now-btn {
  flex: 0 0 auto; min-height: 30px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--orange-line);
  background: var(--orange-soft); color: var(--amber);
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.76rem; font-weight: 900; touch-action: manipulation;
  transition: background 0.12s, border-color 0.12s;
}
.now-btn:hover { background: rgba(255,138,31,0.18); border-color: var(--orange-dim); }

/* ─── Event list ─────────────────────────────────────────────────────────── */
.event-list { display: flex; flex-direction: column; gap: 7px; }

/* ─── Event card ─────────────────────────────────────────────────────────── */
.event-card {
  border-radius: var(--r-xl);
  border: 1px solid var(--line-med);
  background: linear-gradient(148deg, rgba(255,255,255,0.038), rgba(255,255,255,0.015));
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.event-card:hover { border-color: rgba(255,138,31,0.22); }

.event-card.is-now {
  border-color: rgba(255,138,31,0.46);
  background: linear-gradient(148deg, rgba(255,138,31,0.082), rgba(255,255,255,0.016));
  box-shadow: 0 0 24px rgba(255,138,31,0.08), var(--shadow);
}
.event-card[open] {
  border-color: var(--orange-line);
  box-shadow: 0 0 0 1px rgba(255,138,31,0.08), var(--shadow);
}

/* ─── Card summary ───────────────────────────────────────────────────────── */
.event-summary,
.event-card summary {
  list-style: none;
  display: grid;
  grid-template-columns: 56px 1fr 26px;
  gap: 10px; align-items: center;
  padding: 11px 11px 11px 10px;
  cursor: pointer; user-select: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.event-card summary::-webkit-details-marker { display: none; }

/* ─── Time block ─────────────────────────────────────────────────────────── */
.ev-time {
  min-height: 58px; padding: 6px 4px;
  border-radius: var(--r-m);
  border: 1px solid var(--line-med);
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.ev-time-start {
  font-size: 1.12rem; line-height: 1; font-weight: 900;
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
  color: var(--amber-warm);
  text-shadow: 0 0 16px rgba(255,188,122,0.30);
}
.ev-time-sep {
  display: block; width: 10px; height: 1px;
  background: var(--line-med); margin: 4px auto;
}
.ev-time-end {
  font-size: 0.68rem; line-height: 1; font-weight: 800;
  color: var(--muted-2); font-variant-numeric: tabular-nums;
}

.event-card.is-now .ev-time {
  border-color: rgba(255,138,31,0.32);
  background: rgba(255,138,31,0.07);
}
.event-card.is-now .ev-time-start { color: var(--amber-bright); }

/* ─── Main content (title + badges) ─────────────────────────────────────── */
.ev-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }

.ev-title {
  font-size: 0.95rem; line-height: 1.28;
  font-weight: 900; letter-spacing: -0.022em;
  word-break: break-word;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.28);
}

/* ─── Badges ─────────────────────────────────────────────────────────────── */
.ev-meta { display: flex; flex-wrap: wrap; gap: 4px; }

.badge {
  display: inline-flex; align-items: center;
  min-height: 20px; padding: 0 7px;
  border-radius: 999px;
  font-size: 0.62rem; line-height: 1; font-weight: 900;
}

/* tipo: crisp, uppercase compacto */
.badge-tipo {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.80);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 0.60rem;
}

/* eixo: calor laranja real */
.badge-eixo {
  border: 1px solid rgba(255,138,31,0.38);
  background: rgba(255,138,31,0.15);
  color: #ffbc7a;
  letter-spacing: 0.01em;
  text-shadow: 0 0 12px rgba(255,138,31,0.28);
}

/* stage: elegante, legível */
.badge-stage {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.68);
}

/* agora: quente, destacado */
.badge-now {
  border: 1px solid rgba(255,138,31,0.50);
  background: rgba(255,138,31,0.16);
  color: var(--amber-bright); font-weight: 900;
  letter-spacing: 0.02em;
}

/* ─── Badge Libras — visível no card colapsado ───────────────────────────── */
/* Mantém o teal da seção de acessibilidade, mas compacto para o summary */
.badge-libras {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 20px; padding: 0 8px;
  border-radius: 999px; font-size: 0.62rem; font-weight: 900;
  border: 1px solid var(--teal-line);
  background: var(--teal-soft);
  color: var(--teal-text);
  letter-spacing: 0.01em;
}
.badge-libras .acess-item-icon { width: 11px; height: 11px; }

/* ─── Mediador no summary ────────────────────────────────────────────────── */
/* Linha discreta abaixo do título, antes dos badges */
.ev-mediador {
  font-size: 0.76rem; line-height: 1.2; font-weight: 700;
  color: rgba(255,255,255,0.44);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: baseline; gap: 5px;
}
.ev-mediador-label {
  font-size: 0.60rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.10em;
  color: rgba(255,255,255,0.26);
  flex-shrink: 0;
}

/* ─── Chevron ────────────────────────────────────────────────────────────── */
.ev-chev {
  align-self: center; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 999px;
  border: 1px solid var(--line-med);
  background: var(--surface-3); color: var(--muted-2);
  display: grid; place-items: center;
  transition: transform 0.18s ease, border-color 0.18s, color 0.18s, background 0.18s;
}
.ev-chev.is-empty { opacity: 0; pointer-events: none; }
.event-card[open] .ev-chev:not(.is-empty) {
  transform: rotate(180deg);
  color: var(--amber); border-color: var(--orange-line);
  background: var(--orange-soft2);
}

/* ─── Card body ──────────────────────────────────────────────────────────── */
.ev-body {
  border-top: 1px solid var(--line);
  padding: 0 12px 14px 12px;
}

/* ─── Panels container ───────────────────────────────────────────────────── */
.ev-panels { display: flex; flex-direction: column; gap: 0; padding-top: 13px; }

/* ─── Individual panel ───────────────────────────────────────────────────── */
.ev-panel { padding-top: 13px; }
.ev-panel + .ev-panel { border-top: 1px solid var(--line); margin-top: 13px; }

/* ─── Panel title ────────────────────────────────────────────────────────── */
.ev-panel-title {
  margin: 0 0 10px;
  font-size: 0.59rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: rgba(255,255,255,0.36);
  display: flex; align-items: center; gap: 7px;
}
.ev-panel-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, var(--line), transparent);
}
.ev-panel--participantes .ev-panel-title {
  color: rgba(255,188,122,0.48);
}
.ev-panel--participantes .ev-panel-title::after {
  background: linear-gradient(to right, rgba(255,188,122,0.16), transparent);
}

/* ─── Sinopse / Sobre ────────────────────────────────────────────────────── */
.ev-sinopse {
  margin: 0;
  font-size: 0.89rem; line-height: 1.82; font-weight: 700;
  color: var(--text-2);
  white-space: pre-line; word-break: break-word;
  padding: 12px 14px 12px 16px;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(255,138,31,0.28);
  background: linear-gradient(135deg, rgba(255,138,31,0.04), rgba(255,255,255,0.014));
}

/* ─── People list ────────────────────────────────────────────────────────── */
.people-list {
  display: flex; flex-direction: column;
  gap: 6px; margin: 0; padding: 0; list-style: none;
}

/* ─── Person card — participantes ────────────────────────────────────────── */
.person {
  display: flex; flex-direction: column;
  padding: 10px 12px 10px 14px;
  border-radius: var(--r-m);
  border: 1px solid var(--line-med);
  border-left: 2px solid rgba(255,188,122,0.36);
  background: linear-gradient(135deg, rgba(255,255,255,0.042), rgba(255,255,255,0.016));
}

.person-name {
  font-size: 0.93rem; line-height: 1.24; font-weight: 900;
  color: var(--amber-warm);
  text-shadow: 0 0 20px rgba(255,188,122,0.22);
  word-break: break-word; letter-spacing: -0.01em;
}
.person-cargo {
  margin-top: 4px;
  font-size: 0.76rem; line-height: 1.52; font-weight: 700;
  color: rgba(255,255,255,0.66);
  word-break: break-word;
}

/* ─── Mediação ───────────────────────────────────────────────────────────── */
/* Visualmente mais discreta e quieta que participantes */
.ev-panel--mediacao .ev-panel-title {
  color: var(--muted-3);
}
.ev-panel--mediacao .person {
  border-color: var(--line);
  border-left-color: rgba(255,255,255,0.14);
  background: var(--surface-3);
}
.ev-panel--mediacao .person-name {
  font-size: 0.88rem; font-weight: 900;
  color: var(--text-2);                      /* branco suave, sem o âmbar */
}
.ev-panel--mediacao .person-cargo {
  font-size: 0.72rem; color: var(--muted);
}

/* ─── Acessibilidade ─────────────────────────────────────────────────────── */
.acess-list {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin: 0; padding: 0; list-style: none;
}

.acess-item {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 0 14px;
  border-radius: 999px; font-size: 0.76rem; font-weight: 900;
  letter-spacing: 0.01em;
}
.acess-item--libras {
  border: 1px solid var(--teal-line);
  background: var(--teal-soft);
  color: var(--teal-text);
}
.acess-item-icon { display: inline-flex; align-items: center; flex-shrink: 0; }

/* ─── Empty state ────────────────────────────────────────────────────────── */
.empty-state {
  padding: 32px 18px;
  border-radius: var(--r-xl); border: 1px dashed var(--line-med);
  background: var(--surface-3); text-align: center;
}
.empty-state-icon { font-size: 1.5rem; margin-bottom: 8px; }
.empty-state-msg  {
  margin: 0; color: var(--muted);
  font-size: 0.88rem; line-height: 1.55; font-weight: 800;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative; z-index: 1;
  padding: 20px 16px 34px; text-align: center;
  color: var(--muted-3); font-size: 0.80rem; font-weight: 800;
  border-top: 1px solid var(--line);
}

/* ─── Focus ──────────────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid rgba(255,188,122,0.68); outline-offset: 2px; }

/* ═══════════════════════════════════════════════════════════════════════════
   BREAKPOINTS
   ══════════════════════════════════════════════════════════════════════════ */

@media (min-width: 360px) {
  .event-summary, .event-card summary { grid-template-columns: 58px 1fr 26px; }
  .ev-time { min-height: 60px; }
  .ev-time-start { font-size: 1.16rem; }
  .ev-title { font-size: 0.97rem; }
}

@media (min-width: 400px) {
  :root { --px: 14px; }
  .header-logo { height: 28px; }
  .header-title h1 { font-size: 1.10rem; }
  .day-tab { min-height: 66px; }
  .day-tab-num { font-size: 1.86rem; }
  .event-summary, .event-card summary {
    grid-template-columns: 62px 1fr 26px;
    gap: 11px; padding: 12px 12px 12px 11px;
  }
  .ev-time { min-height: 62px; }
  .ev-time-start { font-size: 1.20rem; }
  .ev-title { font-size: 0.99rem; }
}

@media (min-width: 480px) {
  :root { --px: 16px; }
  .header-logo { height: 30px; }
  .header-title h1 { font-size: 1.18rem; }
  .filters { padding: 15px; gap: 12px; }
  .day-tab-num { font-size: 1.96rem; }
  .event-summary, .event-card summary {
    grid-template-columns: 68px 1fr 26px;
    gap: 12px; padding: 13px 13px 13px 12px;
  }
  .ev-time { min-height: 66px; }
  .ev-time-start { font-size: 1.28rem; }
  .ev-title { font-size: 1.03rem; }
}

@media (min-width: 640px) {
  :root { --header-h: 62px; --px: 20px; }
  .header-logo { height: 36px; }
  .header-title h1 { font-size: 1.36rem; }
  .header-dates { font-size: 0.78rem; }

  .day-nav { grid-template-columns: repeat(2, 112px); gap: 11px; margin-bottom: 16px; }
  .day-tab { min-height: 74px; }
  .day-tab-num { font-size: 2.0rem; }

  .filters { padding: 16px; gap: 13px; }

  /* chips wrap on wider screens */
  #eixosWrap.chips-scroll, #acessWrap.chips-scroll {
    flex-wrap: wrap; overflow: visible;
    mask-image: none; -webkit-mask-image: none;
  }

  .event-summary, .event-card summary {
    grid-template-columns: 74px 1fr 28px;
    gap: 13px; padding: 14px 15px 14px 13px;
  }
  .ev-time { min-height: 70px; }
  .ev-time-start { font-size: 1.40rem; }
  .ev-title { font-size: 1.10rem; }
  .ev-body { padding: 0 14px 16px 14px; }
  .ev-sinopse { padding: 13px 16px; }
}

@media (min-width: 900px) {
  :root { --header-h: 68px; }
  .header-logo { height: 40px; }
  .header-title h1 { font-size: 1.48rem; }
  .event-list { gap: 9px; }

  .event-summary, .event-card summary {
    grid-template-columns: 82px 1fr 30px;
    gap: 14px; padding: 15px 16px 15px 14px;
  }
  .ev-time { min-height: 76px; }
  .ev-time-start { font-size: 1.52rem; }
  .ev-title { font-size: 1.18rem; }
  .ev-body { padding: 0 16px 18px 16px; }
  .ev-sinopse { padding: 14px 18px; font-size: 0.91rem; }

  /* Large participant lists go 2 columns on desktop */
  .people-list--large {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
