/* Hoje Ali (brand chosen 04/10/2026): bright violet and sun yellow, rounded shapes, posters first. Light by default;
   dark follows the system setting, and the header button picks one and remembers it (js/theme.js sets data-theme).
   Fonts are self-hosted (OFL, fonts/OFL-*.txt): Unbounded for short headings, Figtree for reading. */

@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/figtree-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/fonts/unbounded-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-card: 22px; --r-input: 16px; --r-chip: 99px; --r-badge: 10px;
  --bg: #FBF9FF; --surface: #FFFFFF; --surface-2: #F1ECFF; --text: #1D1535; --muted: #5C5676;
  --border: #E8E2F6; --border-strong: #8D86AA;
  --accent: #6A3BF0; --on-accent: #FFFFFF; --accent-text: #5A2CDB; --accent-soft: #EFE9FF; --focus: #5A2CDB;
  --highlight: #FFD23F; --on-highlight: #1D1535;
  --chip-on-bg: #6A3BF0; --chip-on-fg: #FFFFFF;
  --head-bg: #FFFFFF; --foot-bg: #F3EEFF; --notice-bg: #FFF6D6;
  --stage-bg: #5A2CDB; --stage-ink: #FFFFFF; --stage-muted: #E6DEFF; --stage-chip-bg: #6B41E3; --stage-chip-border: #8A68EA;
  --logo-tile: #6A3BF0; --logo-word: #1D1535; --logo-ali: #6A3BF0;
  --shadow: 0 1px 2px rgba(29,21,53,.05), 0 8px 20px rgba(106,59,240,.08);
  --shadow-hover: 0 2px 4px rgba(29,21,53,.06), 0 16px 34px rgba(106,59,240,.16);
  --cat-standup-soft: #FEEDD8; --cat-standup-dot: #FFBD59; --cat-standup-ink: #926203;
  --cat-teatro-soft: #FDEAF1; --cat-teatro-dot: #ED5C9E; --cat-teatro-ink: #B54076;
  --cat-musica-soft: #E0F4FF; --cat-musica-dot: #05A6DE; --cat-musica-ink: #0C749C;
  --cat-festas-soft: #F9EAFE; --cat-festas-dot: #C76CE3; --cat-festas-ink: #954CAB;
  --cat-exposicoes-soft: #D5FBE4; --cat-exposicoes-dot: #07B571; --cat-exposicoes-ink: #067D4D;
  --cat-cinema-soft: #FFEBE8; --cat-cinema-dot: #F75E51; --cat-cinema-ink: #BB4037;
  --cat-outros-soft: #F1ECFF; --cat-outros-dot: #8D86AA; --cat-outros-ink: #5C5676;
  --free-soft: #D9FADF; --free-ink: #0A7E3A; --warn-soft: #FEEDDB; --warn-ink: #975F00;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #191230; --surface: #231B40; --surface-2: #2D2452; --text: #F7F4FF; --muted: #BDB5D8;
  --border: #372D5C; --border-strong: #776BA8;
  --accent: #FFD23F; --on-accent: #1D1535; --accent-text: #CDBBFF; --accent-soft: #33294F; --focus: #FFD23F;
  --chip-on-bg: #FFD23F; --chip-on-fg: #1D1535;
  --head-bg: #1E1638; --foot-bg: #1E1638; --notice-bg: #2E2650;
  --stage-bg: #2D2452; --stage-ink: #F7F4FF; --stage-muted: #CDC4EA; --stage-chip-bg: #3A3063; --stage-chip-border: #54498A;
  --logo-word: #F7F4FF; --logo-ali: #FFD23F;
  --shadow: none; --shadow-hover: 0 12px 30px rgba(0,0,0,.35);
  --cat-standup-soft: #3E3156; --cat-standup-dot: #FFCA80; --cat-standup-ink: #D09945;
  --cat-teatro-soft: #482232; --cat-teatro-dot: #FF81B6; --cat-teatro-ink: #DF84A8;
  --cat-musica-soft: #043549; --cat-musica-dot: #2AC0FD; --cat-musica-ink: #46B1E3;
  --cat-festas-soft: #3D2644; --cat-festas-dot: #DD8BF6; --cat-festas-ink: #C48CD5;
  --cat-exposicoes-soft: #0F3924; --cat-exposicoes-dot: #25D086; --cat-exposicoes-ink: #5ABB88;
  --cat-cinema-soft: #3E2C55; --cat-cinema-dot: #FE8B7D; --cat-cinema-ink: #E6867A;
  --cat-outros-soft: #2D2452; --cat-outros-dot: #776BA8; --cat-outros-ink: #BDB5D8;
  --free-soft: #17391F; --free-ink: #69BA7C; --warn-soft: #3E3157; --warn-ink: #D49648;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #191230; --surface: #231B40; --surface-2: #2D2452; --text: #F7F4FF; --muted: #BDB5D8;
    --border: #372D5C; --border-strong: #776BA8;
    --accent: #FFD23F; --on-accent: #1D1535; --accent-text: #CDBBFF; --accent-soft: #33294F; --focus: #FFD23F;
    --chip-on-bg: #FFD23F; --chip-on-fg: #1D1535;
    --head-bg: #1E1638; --foot-bg: #1E1638; --notice-bg: #2E2650;
    --stage-bg: #2D2452; --stage-ink: #F7F4FF; --stage-muted: #CDC4EA; --stage-chip-bg: #3A3063; --stage-chip-border: #54498A;
    --logo-word: #F7F4FF; --logo-ali: #FFD23F;
    --shadow: none; --shadow-hover: 0 12px 30px rgba(0,0,0,.35);
    --cat-standup-soft: #3E3156; --cat-standup-dot: #FFCA80; --cat-standup-ink: #D09945;
    --cat-teatro-soft: #482232; --cat-teatro-dot: #FF81B6; --cat-teatro-ink: #DF84A8;
    --cat-musica-soft: #043549; --cat-musica-dot: #2AC0FD; --cat-musica-ink: #46B1E3;
    --cat-festas-soft: #3D2644; --cat-festas-dot: #DD8BF6; --cat-festas-ink: #C48CD5;
    --cat-exposicoes-soft: #0F3924; --cat-exposicoes-dot: #25D086; --cat-exposicoes-ink: #5ABB88;
    --cat-cinema-soft: #3E2C55; --cat-cinema-dot: #FE8B7D; --cat-cinema-ink: #E6867A;
    --cat-outros-soft: #2D2452; --cat-outros-dot: #776BA8; --cat-outros-ink: #BDB5D8;
    --free-soft: #17391F; --free-ink: #69BA7C; --warn-soft: #3E3157; --warn-ink: #D49648;
  }
}
.c-standup { --c-dot: var(--cat-standup-dot); --c-ink: var(--cat-standup-ink); --c-soft: var(--cat-standup-soft); }
.c-teatro { --c-dot: var(--cat-teatro-dot); --c-ink: var(--cat-teatro-ink); --c-soft: var(--cat-teatro-soft); }
.c-musica { --c-dot: var(--cat-musica-dot); --c-ink: var(--cat-musica-ink); --c-soft: var(--cat-musica-soft); }
.c-festas { --c-dot: var(--cat-festas-dot); --c-ink: var(--cat-festas-ink); --c-soft: var(--cat-festas-soft); }
.c-exposicoes { --c-dot: var(--cat-exposicoes-dot); --c-ink: var(--cat-exposicoes-ink); --c-soft: var(--cat-exposicoes-soft); }
.c-cinema { --c-dot: var(--cat-cinema-dot); --c-ink: var(--cat-cinema-ink); --c-soft: var(--cat-cinema-soft); }
.c-outros { --c-dot: var(--cat-outros-dot); --c-ink: var(--cat-outros-ink); --c-soft: var(--cat-outros-soft); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.5 var(--sans); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; }
button, a, input, summary { touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
.note { font-size: 15px; color: var(--muted); }
.strong { font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); border: 2px solid var(--accent); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* ---- header and footer ---------------------------------------------------------------------------------------- */
.site-head { background: var(--head-bg); border-bottom: 1px solid var(--border); }
.head-row { display: flex; align-items: center; gap: 10px; min-height: 62px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; border-radius: 10px; }
.logo-svg { display: block; height: 34px; width: auto; }
@media (min-width: 900px) { .logo-svg { height: 38px; } .head-row { min-height: 70px; } }
.logo-tile { fill: var(--logo-tile); }
.logo-arc { stroke: #FFFFFF; }
.logo-dot { fill: var(--highlight); }
.logo-hoje { fill: var(--logo-word); }
.logo-ali { fill: var(--logo-ali); }
.beta { display: inline-block; font: 750 11px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; padding: 5px 8px; border-radius: 99px; background: var(--highlight); color: var(--on-highlight); text-decoration: none; white-space: nowrap; }
.head-nav { margin-left: auto; display: flex; align-items: center; gap: 2px 16px; font-weight: 650; font-size: 15.5px; }
.head-nav a { text-decoration: none; padding: 10px 0; }
.head-nav a:hover, .head-nav a[aria-current="page"] { color: var(--accent-text); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.theme-toggle { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); }
.theme-toggle:hover { border-color: var(--border-strong); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .to-light { display: none; }
:root[data-theme="dark"] .theme-toggle .to-light { display: block; }
:root[data-theme="dark"] .theme-toggle .to-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .to-light { display: block; } :root:not([data-theme="light"]) .theme-toggle .to-dark { display: none; } }
@media (max-width: 420px) { .head-nav { gap: 2px 12px; font-size: 15px; } .logo-svg { height: 30px; } .head-row { gap: 8px; } }

.site-foot { margin-top: 60px; padding: 30px 0 42px; background: var(--foot-bg); color: var(--muted); font-size: 15px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.site-foot .logo-svg { height: 28px; }
.site-foot p { max-width: 560px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-foot a { font-weight: 650; padding: 6px 0; }

/* ---- cookie bar (js/analytics.js): the last element of the page, sticky to the bottom of the screen; at the end of the page it
   rests in the flow, so it never hides the footer. Compact on phones. ------------------------------------------------- */
.consent-wrap { position: sticky; bottom: 0; z-index: 40; padding: 0 12px 12px; pointer-events: none; }
.consent-wrap[hidden] { display: none; }
.consent { pointer-events: auto; max-width: 880px; margin: 0 auto; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; background: var(--surface); color: var(--text); border: 2px solid var(--border-strong); border-radius: var(--r-card); box-shadow: 0 10px 30px rgba(29,21,53,.18); font-size: 15px; line-height: 1.4; }
.consent p { flex: 1 1 320px; margin: 0; }
.consent p a { color: var(--accent-text); font-weight: 700; white-space: nowrap; }
.consent-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.consent .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 560px) { .consent-wrap { padding: 0 8px 8px; } .consent { padding: 12px; gap: 10px; } .consent-actions { flex: 1 1 100%; } .consent .btn { flex: 1 1 0; } }

/* ---- buttons, search, chips ----------------------------------------------------------------------------------- */
.btn, .solid { min-height: 50px; padding: 0 20px; border-radius: var(--r-input); border: 0; background: var(--accent); color: var(--on-accent); font-weight: 750; font-size: 16px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.btn:hover, .solid:hover { filter: brightness(1.07); }
.btn.ghost, .outline { background: transparent; color: var(--text); border: 1.5px solid var(--border-strong); font-weight: 700; min-height: 48px; padding: 0 20px; border-radius: var(--r-input); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn.ghost:hover, .outline:hover { background: var(--surface-2); filter: none; }
.search-row { display: flex; gap: 8px; }
.field { flex: 1; position: relative; min-width: 0; }
.field svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 21px; height: 21px; color: var(--muted); pointer-events: none; }
input[type=search] { width: 100%; height: 52px; border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--text); border-radius: var(--r-input); padding: 0 14px 0 46px; font-size: 16px; }
input[type=search]::placeholder { color: var(--muted); opacity: 1; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 12px -16px 0; padding: 2px 16px 4px; scroll-padding-left: 16px; }
.chip-row::-webkit-scrollbar { display: none; }
@media (max-width: 719px) { .chip-row { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); } .chip-row::after { content: ""; flex: none; width: 12px; } }
@media (min-width: 720px) { .chip-row { flex-wrap: wrap; overflow: visible; margin: 12px 0 0; padding: 0; } }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-chip); border: 2px solid var(--border); background: var(--surface); color: var(--text); font-weight: 650; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.chip:hover { border-color: var(--border-strong); }
.chip[aria-pressed="true"] { background: var(--chip-on-bg); border-color: var(--chip-on-bg); color: var(--chip-on-fg); }
.chip .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c-dot); flex: none; }
.chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px var(--chip-on-fg); }
.chip .count { font-weight: 500; opacity: .8; font-size: 13px; }
.chip.toggle { border-style: dashed; }
.chip.toggle::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 2px solid currentColor; flex: none; }
.chip.toggle[aria-pressed="true"] { border-style: solid; }
.chip.toggle[aria-pressed="true"]::before { background: currentColor; box-shadow: inset 0 0 0 2px var(--chip-on-bg); }
.clear { background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; padding: 8px 0; min-height: 44px; }
.clear:hover { color: var(--accent-text); }

/* ---- city page: the violet band with the search and the filters ------------------------------------------------ */
.stage { background: var(--stage-bg); color: var(--stage-ink); border-radius: 0 0 30px 30px; padding: 22px 0 22px; }
@media (min-width: 900px) { .stage { padding: 36px 0 34px; } }
.eyebrow { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; font-size: 15px; font-weight: 650; color: var(--muted); }
.stage .eyebrow { color: var(--stage-muted); }
.eyebrow a { color: var(--accent-text); padding: 4px 0; }
.stage .eyebrow a { color: var(--highlight); }
h1 { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
.stage h1 { font-size: clamp(27px, 7.4vw, 46px); margin: 6px 0 16px; }
.stage input[type=search] { border-color: transparent; }
.stage .btn { background: var(--highlight); color: var(--on-highlight); }
.stage .chip { background: var(--stage-chip-bg); border-color: var(--stage-chip-border); color: var(--stage-ink); }
.stage .chip:hover { border-color: var(--stage-ink); }
.stage .chip[aria-pressed="true"] { background: var(--highlight); border-color: var(--highlight); color: var(--on-highlight); }
.stage .chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px var(--on-highlight); }
.stage .chip.toggle[aria-pressed="true"]::before { box-shadow: inset 0 0 0 2px var(--highlight); }
@media (min-width: 900px) { .stage .search-row { max-width: 640px; } }

/* refine (styles, audiences, genres): only when a category is chosen */
.refine { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-card); background: var(--surface); border: 2px solid var(--border); }
.refine-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.refine-head h2 { font-family: var(--display); font-weight: 650; font-size: 19px; letter-spacing: -.01em; }
.filter-line { display: flex; gap: 14px; align-items: flex-start; margin-top: 12px; }
.filter-label { font-size: 14.5px; font-weight: 700; flex: none; width: 150px; padding-top: 12px; color: var(--muted); }
.filter-line .chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.style-disclosure { margin-top: 10px; }
.style-disclosure summary, .more-filters summary { cursor: pointer; font-weight: 700; min-height: 40px; display: flex; align-items: center; gap: 8px; }
.style-disclosure .filter-label { display: none; }
.filter-hint { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 719px) { .filter-line { display: block; } .filter-label { display: block; width: auto; padding: 0 0 8px; } }

/* ---- results: one section per day ------------------------------------------------------------------------------- */
.results-line { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin: 22px 0 0; }
.result-meta { font-size: 15px; color: var(--muted); }
.result-meta strong { color: var(--text); }
.results-tools { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.more-filters summary { color: var(--accent-text); list-style: none; padding: 0 4px; border-radius: 10px; }
.more-filters summary::-webkit-details-marker { display: none; }
.more-filters summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.more-filters[open] { flex-basis: 100%; order: 2; }
.more-panel { margin-top: 8px; padding: 14px 16px; border-radius: var(--r-card); background: var(--surface); border: 2px solid var(--border); display: grid; gap: 14px; }
.more-panel .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.more-panel label { display: block; font-size: 14.5px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.more-panel input[type=date] { height: 46px; padding: 0 12px; border: 1.5px solid var(--border-strong); border-radius: 12px; background: var(--surface); color: var(--text); font-size: 16px; }
.day { margin-top: 28px; }
.day-head { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin: 0 0 14px; }
.day-head h2 { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; font-size: 22px; line-height: 1.15; display: inline-block; padding: 3px 14px 5px; border-radius: 12px; background: var(--highlight); color: var(--on-highlight); }
.day-head .day-sub { font-size: 15px; color: var(--muted); font-weight: 650; }
@media (min-width: 900px) { .day { margin-top: 42px; } .day-head h2 { font-size: 27px; } }
.cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; } }
@media (min-width: 1500px) { .wrap { max-width: 1440px; } .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- card -------------------------------------------------------------------------------------------------------- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 2px solid var(--border); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }
.card:has(h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); display: inline-flex; align-items: center; padding: 6px 11px; border-radius: var(--r-badge); background: var(--highlight); color: var(--on-highlight); font: 650 15px/1.15 var(--display); letter-spacing: -.01em; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.badge.started { background: var(--surface); color: var(--text); font-family: var(--sans); font-weight: 750; }
.badge.period { font-size: 14px; }
.image-fallback { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--c-soft); color: var(--c-ink); }
.image-fallback svg { width: 72px; height: 72px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fallback-category { font-weight: 750; font-size: 15px; }
.fallback-label { position: absolute; right: 12px; bottom: 12px; font-size: 12.5px; font-weight: 650; padding: 5px 10px; border-radius: 99px; background: var(--surface); color: var(--muted); border: 1px solid var(--border); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; gap: 6px; min-width: 0; }
.category { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 8px; border-radius: 99px; background: var(--c-soft); color: var(--c-ink); font-weight: 750; font-size: 13px; line-height: 1.2; }
.category .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c-dot); flex: none; }
.card h3 { font-size: 19px; font-weight: 750; line-height: 1.24; letter-spacing: -.005em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card h3 a:focus-visible { outline: none; }
.venue { color: var(--muted); font-size: 15px; line-height: 1.4; }
.when-note { font-size: 14.5px; font-weight: 650; }
.card .note { font-size: 13.5px; }
.event-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.event-tag { font-size: 13px; font-weight: 650; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--border); color: var(--muted); background: var(--surface); }
.card-foot { margin-top: auto; padding-top: 10px; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 6px 10px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 10px; }
.price { font-weight: 750; font-size: 15px; }
.price.free { background: var(--free-soft); color: var(--free-ink); padding: 4px 11px; border-radius: 99px; }
.price.unknown { font-weight: 550; color: var(--muted); }
.source { font-size: 13px; color: var(--muted); }
.price-note { margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.missing-tag { font-size: 13px; border-top: 1px dashed var(--border-strong); padding-top: 8px; color: var(--muted); }

.unknown-results { margin-top: 34px; padding-top: 22px; border-top: 2px dashed var(--border); }
.unknown-results > h3 { font-family: var(--display); font-weight: 650; font-size: 20px; letter-spacing: -.01em; margin: 0 0 6px; }
.unknown-results > .note { margin: 0 0 16px; }
.more { display: flex; margin: 32px auto 0; min-width: min(100%, 320px); }
.state { padding: 40px 22px; border: 2px dashed var(--border); border-radius: var(--r-card); text-align: center; color: var(--muted); background: var(--surface); margin-top: 24px; }
.state h3 { font-family: var(--display); font-weight: 650; font-size: 21px; color: var(--text); margin: 0 0 8px; }
.state p { max-width: 480px; margin: 0 auto 16px; }
.spinner { width: 26px; height: 26px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- detail ------------------------------------------------------------------------------------------------------- */
.detail { padding-top: 22px; max-width: 900px; }
.detail:focus { outline: none; }
.back { display: inline-block; color: var(--accent-text); font-weight: 700; text-decoration: none; padding: 10px 0; }
.back:hover { text-decoration: underline; text-underline-offset: 4px; }
.detail .eyebrow { margin-top: 6px; }
.detail .eyebrow .category { font-size: 14px; }
.detail h1 { font-size: clamp(26px, 5.4vw, 42px); margin: 10px 0 8px; overflow-wrap: anywhere; }
.source-title { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; overflow-wrap: anywhere; }
.detail-media { aspect-ratio: 16 / 9; border-radius: var(--r-card); border: 2px solid var(--border); margin: 12px 0 22px; }
.detail-media img { object-fit: contain; background: var(--surface-2); }
.detail-box { background: var(--surface); border: 2px solid var(--border); border-radius: var(--r-card); padding: 20px 22px; margin-bottom: 18px; }
.detail-box h2 { font-family: var(--display); font-weight: 650; font-size: 19px; letter-spacing: -.01em; margin-bottom: 10px; }
.detail-box p { margin: 4px 0; }
.detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 720px) { .detail-columns { grid-template-columns: 1fr; } .detail-box { padding: 16px 18px; } }
.summary-text { font-weight: 700; margin-bottom: 8px !important; }
.sessions { list-style: none; padding: 0; margin: 0; }
.sessions li { padding: 11px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: baseline; gap: 4px 18px; flex-wrap: wrap; }
.sessions li:last-child { border: 0; }
.sessions .session-when { font-weight: 650; }
.sessions .session-extra { display: flex; gap: 4px 14px; flex-wrap: wrap; align-items: baseline; font-size: 15px; color: var(--muted); }
.sessions .session-extra a { color: var(--accent-text); font-weight: 700; }
.sessions .session-note { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.detail-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 10px; }
.warnings { padding-left: 20px; color: var(--muted); font-size: 15px; }
.also-on { margin-top: 8px; }

/* ---- home ----------------------------------------------------------------------------------------------------------- */
.home-hero { position: relative; overflow: hidden; margin-top: 16px; padding: 28px 22px 26px; border-radius: 28px; background: var(--stage-bg); color: var(--stage-ink); }
.home-hero h1 { position: relative; z-index: 1; font-size: clamp(32px, 8.4vw, 60px); max-width: 13ch; }
.lede { position: relative; z-index: 1; font-size: 18px; color: var(--stage-muted); margin-top: 12px; max-width: 34em; }
.cats-inline { position: relative; z-index: 1; display: none; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.cats-inline li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; border-radius: 99px; background: var(--stage-chip-bg); font-size: 14px; font-weight: 700; }
.cats-inline .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-dot); }
.hero-art { display: none; position: absolute; pointer-events: none; }
@media (min-width: 720px) { .cats-inline { display: flex; } .hero-art { display: block; right: -30px; bottom: -40px; width: 300px; } }
@media (min-width: 900px) { .home-hero { padding: 56px 52px 50px; } .lede { font-size: 20px; } .hero-art { right: 20px; bottom: -36px; width: 420px; } }
.picker { margin-top: 18px; padding: 18px; border-radius: var(--r-card); background: var(--surface); border: 2px solid var(--border); box-shadow: var(--shadow); }
.picker h2, .peek h2 { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; font-size: 22px; margin-bottom: 12px; }
@media (min-width: 900px) { .picker { padding: 26px 28px; } .picker h2, .peek h2 { font-size: 26px; } }
.continue { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 4px; padding: 12px 16px; border-radius: var(--r-input); background: var(--accent-soft); text-decoration: none; font-weight: 750; }
.continue span:last-child { color: var(--accent-text); }
.picker .result-meta { margin: 14px 0 10px; }
.city-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .city-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.city-list a { display: block; padding: 12px 14px; border-radius: var(--r-input); border: 2px solid var(--border); text-decoration: none; background: var(--bg); min-height: 64px; height: 100%; }
.city-list a:hover { border-color: var(--accent); }
.city-name { display: block; font-weight: 750; font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.city-uf { font-size: 12px; font-weight: 750; letter-spacing: .05em; color: var(--muted); margin-left: 4px; }
.city-count { display: block; font-size: 14px; color: var(--muted); }
.picker .btn.ghost { margin-top: 14px; width: 100%; }
@media (min-width: 900px) { .picker .btn.ghost { width: auto; } }
.peek { margin-top: 26px; }
.peek + .picker { margin-top: 26px; }
.peek-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.peek-head a { color: var(--accent-text); font-weight: 750; }
.posters { display: grid; grid-auto-flow: column; grid-auto-columns: 64%; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; list-style: none; }
.posters::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .posters { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; } }
.poster { position: relative; display: block; height: 100%; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 2px solid var(--border); text-decoration: none; }
.poster .card-media { aspect-ratio: 4 / 3; }
.poster p { padding: 10px 12px 12px; font-weight: 750; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.poster p span { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.beta-line { margin-top: 28px; font-size: 15px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.beta-line a { color: var(--accent-text); font-weight: 700; }
.noscript { margin: 20px 0; padding: 14px 18px; border-radius: var(--r-card); background: var(--notice-bg); }

/* ---- text pages (Sobre, Fontes, 404) ---------------------------------------------------------------------------- */
.page { max-width: 780px; padding-top: 34px; }
.page h1 { font-size: clamp(30px, 6vw, 46px); margin: 8px 0 14px; }
.page h2 { font-family: var(--display); font-weight: 650; letter-spacing: -.015em; font-size: 22px; line-height: 1.25; margin: 34px 0 10px; }
.page p, .page li { font-size: 18px; line-height: 1.65; }
.page p { margin: 0 0 14px; }
.page ul { padding-left: 22px; margin: 0 0 14px; }
.page li { margin-bottom: 8px; }
.page .lead { font-size: 20px; color: var(--muted); }
.page a { color: var(--accent-text); font-weight: 650; }
.page .solid { color: var(--on-accent); }
.page .placeholder { background: var(--notice-bg); border-radius: 14px; padding: 12px 16px; }
.source-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
@media (min-width: 760px) { .sources-page { max-width: 1100px; } .source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.source-card { background: var(--surface); border: 2px solid var(--border); border-radius: var(--r-card); padding: 18px 20px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.sc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 14px; flex-wrap: wrap; }
.page .source-card h2 { font-size: 21px; margin: 0; }
.page .source-card h2 a { color: var(--text); text-decoration: none; }
.page .source-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.page .sc-count { margin: 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.sc-kinds { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0 !important; margin: 0 !important; }
.page .sc-kinds li { margin: 0; font-size: 13px; }
.page .source-card p { margin: 0; font-size: 16px; }
.page .sc-cities { font-size: 15.5px !important; }
.sc-how summary { cursor: pointer; font-weight: 700; color: var(--accent-text); min-height: 36px; display: flex; align-items: center; }
.page .sc-how li { font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.upcoming ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.page .upcoming li { padding: 6px 12px; border-radius: 99px; background: var(--surface-2); font-size: 15px; font-weight: 650; margin: 0; }
.suggest-cta { margin: 30px 0 10px; padding: 22px 24px; border-radius: var(--r-card); background: var(--stage-bg); color: var(--stage-ink); display: grid; gap: 10px; justify-items: start; }
.page .suggest-cta h2 { margin: 0; color: var(--stage-ink); }
.page .suggest-cta p { margin: 0; color: var(--stage-muted); }
.page .suggest-cta .btn { background: var(--highlight); color: var(--on-highlight); }

@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; }
  .card { transition: none; }
  .card:hover { transform: none; }
}
.detail > .note { margin-bottom: 18px; }

/* ---- "Sugerir uma fonte" ------------------------------------------------------------------------------------------ */
.suggest-form { margin: 22px 0 10px; padding: 20px; border-radius: var(--r-card); background: var(--surface); border: 2px solid var(--border); display: grid; gap: 18px; position: relative; }
.field-block label { display: flex; align-items: baseline; gap: 8px; font-weight: 750; font-size: 16px; margin-bottom: 6px; }
.field-block .req, .field-block .opt { font-weight: 600; font-size: 13px; color: var(--muted); }
.field-block input, .field-block select, .field-block textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: var(--r-input); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
.field-block textarea { min-height: 110px; resize: vertical; }
.field-block [aria-invalid="true"] { border-color: var(--cat-cinema-ink); }
.field-error { color: var(--cat-cinema-ink); font-weight: 650; font-size: 15px; margin: 6px 0 0 !important; }
.hint { font-size: 14px !important; color: var(--muted); margin: 6px 0 0 !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.suggest-form .btn { justify-self: start; }
.form-status { font-weight: 650; margin: 0 !important; min-height: 1.5em; }
fieldset.field-block { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field-block legend { display: flex; align-items: baseline; gap: 8px; font-weight: 750; font-size: 16px; margin-bottom: 8px; padding: 0; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.check-grid label, .radio-list label, .consent label { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--bg); cursor: pointer; margin: 0; }
.radio-list { display: grid; gap: 8px; }
.check-grid input, .radio-list input, .consent input { width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.consent label { font-weight: 650; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.page .suggest-cta .btn.ghost { background: transparent; color: var(--stage-ink); border-color: var(--stage-muted); }
.doc .table-wrap { overflow-x: auto; margin: 0 0 16px; }
.doc table { border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--border); padding: 6px 10px; text-align: left; vertical-align: top; }
.doc pre { background: var(--surface-2); padding: 12px 14px; border-radius: 12px; overflow-x: auto; font-size: 14px; }
.doc code { font-size: .92em; }
.also-on { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.also-on a { color: var(--accent-text); font-weight: 700; }
.conflict-note { color: var(--warn-ink); font-weight: 650; }
.card .conflict-note { font-size: 13.5px; }
