@font-face { font-family: "DM Sans"; src: url('/assets/dm-sans.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url('/assets/fraunces.woff2') format('woff2'); font-weight: 500 750; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url('/assets/fraunces-italic.woff2') format('woff2'); font-style: italic; font-weight: 500 750; font-display: swap; }
:root {
  color-scheme: light;
  --ink: #192338;
  --navy: #121d31;
  --coral: #ff9a83;
  --coral-soft: #fff1eb;
  --paper: #faf9f6;
  --line: #e4e1db;
  --muted: #5d6573;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.5 var(--sans); }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
a, button, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b6432a; outline-offset: 4px; }
svg { display: block; width: 1.25rem; height: 1.25rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icons { position: absolute; width: 0; height: 0; }
.wrap { width: min(1216px, calc(100% - 104px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 4; top: .5rem; left: .5rem; padding: .65rem 1rem; background: white; }
.site-header { color: #fff; background: var(--navy); border-bottom: 1px solid #ffffff20; }
.nav { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.32rem; font-weight: 780; letter-spacing: -.075em; white-space: nowrap; }
.brand-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--navy); background: var(--coral); }
.brand-icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.brand-city { margin-left: .18em; font-weight: 550; }
.brand-dot { color: var(--coral); }
.nav nav { display: flex; gap: clamp(1rem, 3vw, 2.35rem); align-items: center; }
.nav nav a { font-size: .92rem; font-weight: 600; text-decoration: none; color: #d1d8e4; }
.nav nav a:hover, .nav nav .nav-active { color: #fff; }
.nav-active { box-shadow: 0 2px 0 var(--coral); padding-bottom: .25rem; margin-top: .25rem; }

.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy) url('/assets/goiania.webp') center 52% / cover no-repeat; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#121d31 3%,#121d31f2 25%,#121d31a1 56%,#121d3132 100%),linear-gradient(0deg,#121d315e,transparent 55%); }
.hero-inner { padding-block: clamp(3.25rem, 5vw, 4.3rem) clamp(3.5rem, 6vw, 5rem); }
.location { display: inline-flex; gap: .45rem; align-items: center; color: #ffd0c2; font-size: .9rem; font-weight: 650; background: #19253bd9; border: 1px solid #fcb49d5e; border-radius: 99px; padding: .32rem .72rem; }
.location svg { width: 1rem; height: 1rem; }
h1, h2, h3, p { margin: 0; }
.hero h1 { font-family: var(--display); font-weight: 670; font-size: clamp(3rem, 6.1vw, 6.1rem); letter-spacing: -.065em; line-height: .98; margin: .9rem 0 1.12rem; }
.hero h1 em { color: var(--coral); font-weight: 560; }
.hero p { color: #e2e7ee; font-size: clamp(1rem, 1.7vw, 1.19rem); line-height: 1.45; }
.search { display: flex; align-items: center; gap: .65rem; max-width: 596px; background: #fff; padding: .34rem; border-radius: 12px; color: var(--ink); margin-top: 1.55rem; box-shadow: 0 10px 30px #0b12263d; }
.search > svg { margin-left: .65rem; color: #596475; }
.search input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); padding: .55rem .05rem; }
.search input::placeholder { color: #596171; opacity: 1; }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid var(--coral); outline-offset: 3px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 42px; border: 1px solid transparent; border-radius: 8px; padding: .55rem 1rem; font-weight: 760; text-decoration: none; white-space: nowrap; }
.button.primary { background: var(--coral); color: #1f2433; }
.button.primary:hover { background: #ffb39f; }
.button.outline { color: var(--ink); background: #fff; border-color: #d4d3cf; }
.button.outline:hover { background: #f2eee8; }
.search .button { padding-inline: 1.35rem; }

.agenda { padding-block: clamp(2rem, 4.2vw, 3.25rem) 3.75rem; scroll-margin-top: 1rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.section-heading h2 { font: 680 clamp(2.15rem, 4vw, 3.35rem)/1.1 var(--display); letter-spacing: -.055em; }
.muted { color: var(--muted); }
.section-heading p { margin-top: .34rem; }
.select-wrap { position: relative; display: flex; align-items: center; }
.select-wrap > svg { position: absolute; pointer-events: none; left: .78rem; color: #536172; width: 1.12rem; height: 1.12rem; }
.select-wrap svg.chevron { left: auto; right: .72rem; }
.select-wrap select { appearance: none; min-height: 44px; padding: .52rem 2.25rem .52rem 2.35rem; color: var(--ink); background: #fff; border: 1px solid #d9d8d3; border-radius: 9px; font-size: .93rem; font-weight: 650; }
.custom-dates { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.15rem; }
.custom-dates label { display: grid; gap: .26rem; color: var(--muted); font-size: .9rem; }
.custom-dates input { border: 1px solid #d9d8d3; border-radius: 8px; padding: .45rem .55rem; color: var(--ink); background: #fff; min-height: 42px; }
.warning { color: #a33523; font-size: .9rem; }
.filterbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.45rem; }
.categories { display: flex; flex-wrap: wrap; gap: .48rem; }
.chip { display: flex; align-items: center; gap: .35rem; padding: .49rem .75rem; background: #fff; border: 1px solid var(--line); border-radius: 99px; color: #334055; font-size: .89rem; font-weight: 650; white-space: nowrap; min-height: 39px; }
.chip svg { width: 1.04rem; height: 1.04rem; }
.chip:hover { background: var(--coral-soft); border-color: #e8bfb2; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.free-switch { display: flex; align-items: center; flex: 0 0 auto; gap: .45rem; font-size: .9rem; font-weight: 650; cursor: pointer; white-space: nowrap; }
.free-switch input { accent-color: var(--navy); width: 1.03rem; height: 1.03rem; margin: 0; }
.active-filters { display: flex; align-items: baseline; gap: 1rem; margin: -.53rem 0 1rem; color: var(--muted); font-size: .9rem; }
.text-button { appearance: none; border: 0; padding: .28rem 0; color: #8e3427; background: none; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; flex: 0 0 auto; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
.event-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 2px 4px #1f243308; }
.event-card:focus-within, .event-card:hover { border-color: #cbb4a8; box-shadow: 0 8px 20px #1f243315; }
.card-media { position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; aspect-ratio: 2.04; background: var(--media, #34495d); color: #ffffff94; }
.card-media img { z-index: 1; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card-media img:not([hidden]) + .media-icon { visibility: hidden; }
.media-icon { width: 3.8rem; height: 3.8rem; stroke-width: 1.05; }
.date-badge { position: absolute; z-index: 2; top: .74rem; left: .74rem; display: grid; place-items: center; min-width: 50px; padding: .37rem .35rem .4rem; background: #fffdfa; color: var(--ink); border-radius: 9px; box-shadow: 0 2px 10px #15213738; line-height: 1.05; }
.date-badge strong { font-size: 1.37rem; font-weight: 800; letter-spacing: -.045em; }
.date-badge span { margin-top: .21rem; font-size: .73rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.card-content { display: flex; flex-direction: column; flex: 1; padding: .95rem 1rem 1.03rem; gap: .39rem; }
.card-tags { display: flex; align-items: center; gap: .45rem; }
.category-tag, .free-tag { display: inline-flex; align-items: center; border-radius: 6px; width: fit-content; padding: .2rem .48rem; color: var(--tag-ink, #39445c); background: var(--tag, #ebeef4); font-size: .81rem; font-weight: 740; line-height: 1.3; }
.free-tag { color: #275739; background: #e2f3e5; }
[data-category="shows"] { --tag: #ffede5; --tag-ink: #8b3924; --media: #663638; }
[data-category="teatro"] { --tag: #f0e9fa; --tag-ink: #653e87; --media: #4a3b63; }
[data-category="cultura"] { --tag: #e4edf9; --tag-ink: #315580; --media: #315678; }
[data-category="familia"] { --tag: #fff0cd; --tag-ink: #77531a; --media: #755627; }
[data-category="gastronomia"] { --tag: #fbe8d7; --tag-ink: #843a24; --media: #77462c; }
[data-category="esportes"] { --tag: #e2f1e9; --tag-ink: #225c48; --media: #2d5e50; }
.card-content h3 { font-size: clamp(1.12rem, 2vw, 1.27rem); line-height: 1.22; font-weight: 770; letter-spacing: -.035em; margin: .12rem 0 .17rem; overflow-wrap: anywhere; }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-meta { display: flex; align-items: center; gap: .37rem; color: var(--muted); font-size: .91rem; line-height: 1.35; }
.card-meta svg { width: 1.03rem; height: 1.03rem; }
.pagination { text-align: center; margin-top: 1.6rem; }
.pagination:empty { display: none; }
.empty { display: grid; justify-items: center; text-align: center; gap: .68rem; border: 1px dashed #d5d2ca; border-radius: 13px; padding: 2.5rem 1rem; }
.empty > svg { width: 2rem; height: 2rem; color: #7b5049; }
.empty p { color: var(--muted); }
.empty button { margin-top: .4rem; }

.site-footer { color: white; background: var(--navy); }
.footer-inner { padding-block: 2rem 1.1rem; }
.footer-top { display: grid; justify-content: space-between; grid-template-columns: minmax(0,460px) auto; gap: 1.5rem; }
.footer-top p { color: #c4cad6; margin-top: .8rem; max-width: 32rem; }
.footer-top h2 { font-size: .97rem; margin-bottom: .45rem; }
.footer-top ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: .55rem 1rem; }
.footer-top a:not(.brand), .footer-bottom a { color: #e0e6f2; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: .65rem; padding-top: .95rem; margin-top: 1.4rem; border-top: 1px solid #ffffff24; font-size: .85rem; color: #bdc5d5; }

dialog { color: var(--ink); width: min(590px, calc(100% - 28px)); max-height: calc(100dvh - 3rem); border: 0; border-radius: 16px; padding: 0; box-shadow: 0 22px 75px #10172a80; }
dialog::backdrop { background: #111b2db5; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-inner { position: relative; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); }
.icon-button:hover { background: #fff1eb; }
.close-dialog { position: absolute; z-index: 3; top: .7rem; right: .7rem; }
.dialog-contents { padding: 1.25rem 1.35rem 1.4rem; display: grid; gap: .76rem; }
.dialog-contents h2 { font: 680 clamp(1.7rem, 4vw, 2.45rem)/1.1 var(--display); letter-spacing: -.045em; padding-right: 1rem; }
.dialog-contents dl { display: grid; gap: .54rem; padding: 0; margin: .16rem 0; }
.dialog-contents dl div { display: grid; grid-template-columns: 6rem 1fr; gap: .5rem; }
.dialog-contents dt { font-weight: 750; }
.dialog-contents dd { margin: 0; color: #4e596b; }
.dialog-description { color: var(--muted); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .2rem; }
.dialog-actions .button { white-space: normal; text-align: center; }
.noscript { margin: 1rem; }
@media (max-width: 1040px) {
  .wrap { width: calc(100% - 64px); }
  .filterbar { align-items: flex-end; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 38px); }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .85rem; }
  .hero::before { background: linear-gradient(90deg,#121d31f5 0%,#121d31cc 39%,#121d3160 100%); }
  .filterbar { display: grid; gap: .72rem; }
  .free-switch { justify-self: start; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .nav { min-height: 60px; }
  .nav nav { gap: 0; }
  .nav nav .nav-active { display: none; }
  .nav nav a { font-size: .84rem; }
  .hero { background-position: 59% center; }
  .hero-inner { padding-block: 2.55rem 2.75rem; }
  .hero h1 { font-size: clamp(2.55rem, 11vw, 3.75rem); }
  .desktop-break { display: none; }
  .search { gap: .4rem; }
  .search > svg { margin-left: .35rem; width: 1.05rem; }
  .search .button { padding-inline: .69rem; font-size: .93rem; }
  .search input { font-size: 1rem; }
  .section-heading { flex-wrap: wrap; align-items: start; gap: .65rem; margin-bottom: .98rem; }
  .select-wrap select { min-height: 42px; }
  .categories { gap: .36rem; }
  .chip { padding-inline: .61rem; }
  .card-grid { grid-template-columns: minmax(0,1fr); }
  .card-content { padding: .87rem .9rem .97rem; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.image-credit { color: var(--muted); font-size: .83rem; }
