/* P1 — Descoberta turística. Complementa os tokens e primitives de styles.css. */
.brand--ink { color: var(--ink); }
.discovery-topbar { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 5.25rem; padding: 1rem; background: var(--paper); border-bottom: 1px solid var(--line-dark); }
.topbar-back, .place-back { display: inline-flex; gap: .35rem; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 .75rem; color: var(--ink); border: 1px solid var(--line-dark); border-radius: 99px; font-size: .82rem; font-weight: 800; text-decoration: none; }
.topbar-back svg, .place-back svg { width: 1.1rem; }
.discovery-topbar--dark { color: var(--white); background: var(--deep); border-color: var(--line-light); }
.topbar-back--dark { color: var(--white); border-color: var(--line-light); }

.results-hero { position: relative; padding: 3.25rem var(--gutter) 3rem; overflow: hidden; color: var(--paper); background: var(--deep); }
.results-hero::after { content: ""; position: absolute; top: -11rem; right: -8rem; width: 23rem; height: 23rem; border: 1px solid rgb(229 16 25 / 48%); border-radius: 50%; box-shadow: 0 0 0 3rem rgb(229 16 25 / 8%), 0 0 0 6rem rgb(229 16 25 / 5%); }
.results-hero .eyebrow { position: relative; z-index: 1; color: #ff666d; }
.results-hero h1 { position: relative; z-index: 1; max-width: 43rem; margin: 0; font-family: var(--display); font-size: clamp(3rem, 14vw, 6.3rem); font-weight: 400; letter-spacing: -.06em; line-height: .86; text-transform: uppercase; }
.results-hero h1 em { color: var(--red); font-style: normal; }
.results-search { position: relative; z-index: 1; max-width: 40rem; margin-top: 2rem; }
.results-search label { display: block; margin-bottom: .5rem; color: #deded8; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.results-search > div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: .4rem; color: var(--ink); background: var(--white); border-radius: .9rem; box-shadow: var(--shadow); }
.results-search svg { margin-left: .5rem; color: #555; }
.results-search input { min-width: 0; min-height: 3rem; padding: 0 .65rem; color: var(--ink); background: transparent; border: 0; outline: 0; }
.results-search button { min-height: 3rem; padding: 0 .95rem; color: var(--white); background: var(--red); border: 0; border-radius: .65rem; font-size: .82rem; font-weight: 800; }

.results-page-content { width: min(100%, 90rem); margin: 0 auto; padding: 3.5rem var(--gutter) 7.5rem; }
.results-page-heading { display: grid; gap: 1.25rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-dark); }
.results-page-heading h2 { max-width: 44rem; margin: 0; font-family: var(--display); font-size: clamp(2.15rem, 9vw, 4rem); font-weight: 400; letter-spacing: -.052em; line-height: .92; text-transform: uppercase; }
.results-note { max-width: 26rem; margin: 0; color: #595953; font-size: .88rem; }
.filter-section { display: grid; gap: 1rem; margin: 2rem 0 1.5rem; }
.filter-group { display: grid; gap: .55rem; }
.filter-group > span { color: #595953; font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.filter-row--page { margin: 0; padding: 0 0 .25rem; }
.filter-row--page .filter-chip.is-active { color: var(--white); background: var(--red); border-color: var(--red); }
.results-summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin: 1.5rem 0; }
.results-summary > p { margin: 0; color: #595953; font-size: .86rem; }
.results-loading { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.results-loading span { height: 13rem; border-radius: var(--radius); background: linear-gradient(90deg, #deded7, #f4f4ef, #deded7); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.results-loading p { grid-column: 1 / -1; margin: 0; color: #595953; font-size: .85rem; text-align: center; }
.results-grid { display: grid; gap: 1rem; }
.results-grid .place-card { display: grid; grid-template-columns: minmax(7.75rem, .72fr) 1.28fr; min-height: 15.5rem; }
.results-grid .place-visual { min-height: 100%; }
.results-grid .place-monogram { font-size: clamp(3rem, 12vw, 5rem); }
.results-grid .place-body { display: flex; flex-direction: column; min-width: 0; }
.results-grid .place-body > p:not(.place-reason) { min-height: 0; }
.results-grid .place-actions { margin-top: auto; }
.place-details-link { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1rem; color: var(--white); background: var(--ink); border: 1px solid var(--ink); border-radius: .7rem; font-weight: 700; text-decoration: none; }
.place-card--sponsored { border-width: 2px; border-color: var(--ink); }
.results-end { display: grid; justify-items: center; gap: .75rem; margin: 2.25rem 0 3rem; color: #595953; text-align: center; }
.results-end-line { width: min(100%, 15rem); height: 1px; background: var(--line-dark); }
.results-end p { margin: 0; font-size: .82rem; }
.results-end button, .results-footer a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 .85rem; color: var(--ink); background: transparent; border: 1px solid var(--line-dark); border-radius: 99px; font-size: .78rem; font-weight: 800; text-decoration: none; }
.explore-section { margin: 0 calc(var(--gutter) * -1); padding: 3.75rem var(--gutter) 2rem; color: var(--paper); background: var(--ink); }
.explore-heading { display: grid; gap: 1rem; max-width: 90rem; margin: 0 auto 1.75rem; }
.explore-heading .eyebrow { color: #ff666d; }
.explore-heading h2 { max-width: 36rem; margin: 0; font-family: var(--display); font-size: clamp(2.35rem, 10vw, 4.5rem); font-weight: 400; letter-spacing: -.055em; line-height: .88; text-transform: uppercase; }
.explore-heading h2 em { color: var(--red); font-style: normal; }
.explore-heading > p { max-width: 25rem; margin: 0; color: #c7c7c0; font-size: .9rem; }
.suggestions-grid { display: grid; gap: .75rem; max-width: 90rem; margin: 0 auto; }
.suggestion-card { display: grid; grid-template-columns: 4.7rem minmax(0, 1fr); gap: .85rem; min-width: 0; padding: 1rem; color: var(--paper); background: var(--surface); border: 1px solid var(--line-light); border-radius: 1rem; }
.suggestion-card--event { display: block; background: #27231e; }
.suggestion-monogram { display: grid; place-items: center; min-height: 4.7rem; color: var(--ink); background: #deded5; border-radius: .75rem; font-family: var(--display); font-size: 1.5rem; }
.suggestion-reason { display: inline-flex; margin: 0 0 .5rem; padding: .23rem .45rem; color: var(--ink); background: var(--paper); border-radius: .25rem; font-size: .65rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.suggestion-type { margin: 0; color: #b9b9b2; font-size: .72rem; font-weight: 700; }
.suggestion-card h3 { margin: .32rem 0 .45rem; font-family: var(--display); font-size: clamp(1.25rem, 5.5vw, 1.7rem); font-weight: 400; letter-spacing: -.04em; line-height: .96; text-transform: uppercase; }
.suggestion-card > div > p:not(.suggestion-reason):not(.suggestion-type), .suggestion-card--event > p:not(.suggestion-reason):not(.suggestion-type) { margin: 0; color: #d2d2cb; font-size: .84rem; }
.suggestion-card a { display: inline-flex; align-items: center; min-height: 2.5rem; margin-top: .7rem; color: var(--white); font-size: .82rem; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--red); }
.suggestions-loading { display: flex; gap: .7rem; align-items: center; max-width: 90rem; margin: 1rem auto; color: #d2d2cb; font-size: .84rem; }
.suggestions-loading span { width: 1.2rem; height: 1.2rem; border: 2px solid rgb(255 255 255 / 22%); border-top-color: var(--red); border-radius: 50%; animation: suggestions-spin .8s linear infinite; }
.suggestions-loading p { margin: 0; }
.suggestions-sentinel { height: 1px; max-width: 90rem; margin: 1rem auto; }
.more-suggestions { display: flex; justify-content: center; align-items: center; min-height: 3rem; margin: 1rem auto 0; padding: 0 1rem; color: var(--white); background: transparent; border: 1px solid var(--line-light); border-radius: .75rem; font-weight: 800; }
.results-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; padding: 2rem var(--gutter) 7rem; color: #5d5d56; background: #e7e7df; font-size: .78rem; }
.results-footer p { display: grid; gap: .15rem; margin: 0; }
.results-footer strong { color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes suggestions-spin { to { transform: rotate(1turn); } }
.result-empty { max-width: 42rem; margin: 2rem auto; padding: 3.5rem 1.25rem; border: 1px dashed #85857e; border-radius: var(--radius); text-align: center; }
.result-empty > span { display: block; color: var(--red); font-family: var(--display); font-size: 5rem; line-height: .85; }
.result-empty h3 { margin: .75rem 0 .5rem; font-family: var(--display); font-size: 1.85rem; font-weight: 400; line-height: .95; text-transform: uppercase; }
.result-empty p { max-width: 24rem; margin: 0 auto 1.25rem; color: #595953; }
.result-empty button { min-height: 2.75rem; padding: 0 1rem; color: var(--white); background: var(--ink); border: 0; border-radius: .7rem; font-weight: 800; }
.results-map { position: relative; height: min(36rem, 68dvh); min-height: 25rem; overflow: hidden; background: #d9d9d1; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.results-map-caption { position: absolute; z-index: 2; top: 1rem; left: 1rem; display: grid; gap: .1rem; max-width: 14rem; padding: .75rem; background: rgb(245 245 242 / 94%); border-radius: .7rem; box-shadow: 0 8px 24px rgb(0 0 0 / 10%); }
.results-map-caption span { color: #555; font-size: .72rem; }
.results-map .map-pin-button { text-decoration: none; }

.place-nav { position: absolute; z-index: 5; top: 0; left: 0; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 1rem; color: var(--white); }
.place-nav .brand { color: var(--white); }
.place-back { color: var(--white); border-color: var(--line-light); background: rgb(13 13 13 / 26%); backdrop-filter: blur(9px); }
.place-hero { position: relative; display: grid; align-items: end; min-height: 31rem; padding: 8rem var(--gutter) 2rem; overflow: hidden; color: var(--white); background: var(--ink); }
.place-hero--red { background: var(--red); }
.place-hero--cream { color: var(--ink); background: #d8d8cf; }
.place-hero::before, .place-hero::after { content: ""; position: absolute; border: 1px solid currentColor; border-radius: 50%; opacity: .25; }
.place-hero::before { top: -8rem; right: -4rem; width: 26rem; height: 26rem; }
.place-hero::after { bottom: -8rem; left: -5rem; width: 20rem; height: 20rem; }
.place-hero-copy { position: relative; z-index: 1; }
.place-hero .place-badges { position: static; flex-wrap: wrap; margin-bottom: .75rem; }
.place-hero .place-monogram { position: absolute; z-index: 0; top: 5.5rem; right: .85rem; font-size: clamp(9rem, 40vw, 16rem); opacity: .18; }
.place-hero h1 { max-width: 39rem; margin: 0; font-family: var(--display); font-size: clamp(3.1rem, 14vw, 6.5rem); font-weight: 400; letter-spacing: -.06em; line-height: .85; text-transform: uppercase; }
.place-hero .place-meta { max-width: 32rem; margin-top: 1rem; color: inherit; font-weight: 700; }
.place-hero .place-status { color: inherit; }
.place-content { width: min(100%, 62rem); margin: 0 auto; padding: 2rem var(--gutter) 8.5rem; }
.place-intro { max-width: 40rem; margin: 0 0 2.25rem; font-size: clamp(1.13rem, 1.05rem + .25vw, 1.32rem); line-height: 1.45; }
.place-info-grid { display: grid; gap: .75rem; }
.place-info-card { padding: 1.15rem; background: var(--white); border: 1px solid var(--line-dark); border-radius: 1rem; }
.place-info-card h2 { margin: 0 0 .75rem; font-family: var(--display); font-size: 1.4rem; font-weight: 400; letter-spacing: -.035em; line-height: 1; text-transform: uppercase; }
.place-info-card p { margin: 0; color: #4f4f49; }
.place-info-card p + p { margin-top: .55rem; }
.place-provenance { margin-top: .75rem !important; padding: .75rem; color: #4f4f49; background: #e9e9e2; border-left: 3px solid var(--red); border-radius: .35rem; font-size: .78rem; }
.place-sticky-actions { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding: .65rem max(.75rem, env(safe-area-inset-right)) max(.65rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left)); background: rgb(245 245 242 / 94%); border-top: 1px solid var(--line-dark); backdrop-filter: blur(16px); }
.place-sticky-actions a, .place-sticky-actions button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.2rem; padding: 0 1rem; border-radius: .75rem; font-weight: 800; text-decoration: none; }
.place-sticky-actions a { color: var(--white); background: var(--red); border: 1px solid var(--red); }
.place-sticky-actions button { color: var(--ink); background: var(--white); border: 1px solid var(--line-dark); }
.place-missing { display: grid; min-height: 100dvh; place-items: center; padding: 7rem var(--gutter); text-align: center; }
.place-missing h1 { margin: 0; font-family: var(--display); font-size: clamp(2.75rem, 12vw, 5rem); line-height: .9; text-transform: uppercase; }
.place-missing p { max-width: 30rem; color: #555; }
.place-missing a { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: 0 1rem; color: var(--white); background: var(--ink); border-radius: .7rem; font-weight: 800; text-decoration: none; }

.events-hero { position: relative; min-height: 20rem; padding: 3.5rem var(--gutter); overflow: hidden; color: var(--paper); background: var(--deep); }
.events-hero::after { content: "23"; position: absolute; right: -.05em; bottom: -.27em; color: var(--red); font-family: var(--display); font-size: clamp(12rem, 50vw, 28rem); line-height: 1; opacity: .72; }
.events-hero > * { position: relative; z-index: 1; }
.events-hero h1, .events-toolbar h2 { max-width: 42rem; margin: 0; font-family: var(--display); font-size: clamp(2.9rem, 13vw, 6rem); font-weight: 400; letter-spacing: -.06em; line-height: .86; text-transform: uppercase; }
.events-hero h1 em, .events-toolbar h2 em { color: var(--red); font-style: normal; }
.events-hero > p:last-child { max-width: 23rem; margin: 1.3rem 0 0; color: #d4d4ce; }
.events-content { width: min(100%, 70rem); margin: 0 auto; padding: 3.5rem var(--gutter) 7.5rem; }
.events-toolbar { display: grid; gap: 1.5rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line-dark); }
.events-toolbar h2 { font-size: clamp(2.25rem, 9vw, 4rem); }
.event-filter-row { display: flex; gap: .5rem; align-items: flex-start; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
.event-filter-row button { flex: 0 0 auto; min-height: 2.75rem; padding: 0 1rem; color: var(--ink); background: transparent; border: 1px solid var(--line-dark); border-radius: 99px; font-weight: 700; }
.event-filter-row button[aria-pressed="true"] { color: var(--white); background: var(--red); border-color: var(--red); }
.event-summary { margin: 1.5rem 0; color: #595953; font-size: .86rem; }
.events-list { display: grid; gap: .75rem; }
.events-loading { display: grid; grid-template-columns: 4.5rem 1fr; gap: .75rem; }
.events-loading span { display: block; min-height: 9.5rem; border-radius: 1rem; background: linear-gradient(90deg, #deded7, #f4f4ef, #deded7); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.events-loading p { grid-column: 1 / -1; margin: 0; color: #595953; font-size: .85rem; text-align: center; }
.event-card { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; color: inherit; border-bottom: 1px solid var(--line-dark); text-decoration: none; }
.event-card-date { display: grid; align-content: start; gap: .05rem; padding-top: .2rem; color: var(--red); font-family: var(--display); font-size: 2.55rem; line-height: .75; text-align: center; }
.event-card-date small { color: var(--ink); font-family: var(--body); font-size: .65rem; font-weight: 800; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.event-card-body { min-width: 0; }
.event-card-meta { display: flex; flex-wrap: wrap; gap: .4rem .7rem; color: #5c5c55; font-size: .72rem; font-weight: 700; }
.event-card h3 { margin: .35rem 0 .45rem; font-family: var(--display); font-size: clamp(1.35rem, 5.5vw, 2rem); font-weight: 400; letter-spacing: -.04em; line-height: .95; text-transform: uppercase; }
.event-card p { margin: 0; color: #555; font-size: .88rem; }
.event-provenance { display: inline-flex; margin-top: .7rem; padding: .24rem .45rem; color: #444; background: #e4e4dd; border-radius: .25rem; font-size: .65rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.result-empty--events { margin-top: 0; }
.event-detail-hero { position: relative; display: grid; align-items: end; min-height: 32rem; padding: 8rem var(--gutter) 2rem; overflow: hidden; color: var(--paper); background: var(--red); }
.event-detail-hero::before { content: ""; position: absolute; top: -13rem; right: -9rem; width: 28rem; height: 28rem; border: 1px solid rgb(255 255 255 / 36%); border-radius: 50%; box-shadow: 0 0 0 3rem rgb(255 255 255 / 9%); }
.event-detail-hero > div { position: relative; z-index: 1; }
.event-detail-hero .eyebrow { color: var(--white); }
.event-detail-hero h1 { max-width: 43rem; margin: 0; font-family: var(--display); font-size: clamp(3rem, 13vw, 6rem); font-weight: 400; letter-spacing: -.06em; line-height: .86; text-transform: uppercase; }
.event-detail-datetime { display: inline-flex; gap: .5rem; align-items: center; margin-top: 1.25rem; padding: .55rem .75rem; color: var(--ink); background: var(--paper); border-radius: 99px; font-size: .82rem; font-weight: 800; }
.event-detail-content { width: min(100%, 62rem); margin: 0 auto; padding: 2rem var(--gutter) 8.5rem; }
.event-lede { max-width: 41rem; margin: 0 0 2rem; font-size: clamp(1.1rem, 1.05rem + .22vw, 1.3rem); }
.event-info-grid { display: grid; gap: .75rem; }
.event-info-grid article { padding: 1.1rem; background: var(--white); border: 1px solid var(--line-dark); border-radius: 1rem; }
.event-info-grid h2 { margin: 0 0 .65rem; font-family: var(--display); font-size: 1.35rem; font-weight: 400; line-height: 1; text-transform: uppercase; }
.event-info-grid p { margin: 0; color: #4f4f49; }
.event-info-grid p + p { margin-top: .5rem; }
.event-sticky-actions { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .65rem max(.75rem, env(safe-area-inset-right)) max(.65rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left)); background: rgb(245 245 242 / 94%); border-top: 1px solid var(--line-dark); backdrop-filter: blur(16px); }
.event-sticky-actions button { min-height: 3.2rem; padding: 0 .75rem; color: var(--ink); background: var(--white); border: 1px solid var(--line-dark); border-radius: .75rem; font-weight: 800; }
.event-sticky-actions button:first-child { color: var(--white); background: var(--ink); border-color: var(--ink); }

@media (min-width: 48rem) {
  .discovery-topbar { padding: 1rem 3rem; }
  .results-hero { padding: 5rem 3rem; }
  .results-search { margin-left: auto; }
  .results-page-content { padding: 5rem 3rem; }
  .results-page-heading { grid-template-columns: 1fr auto; align-items: end; }
  .filter-section { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-grid .place-card { grid-template-columns: 1fr; }
  .results-grid .place-visual { min-height: 14rem; }
  .explore-section { margin-right: -3rem; margin-left: -3rem; padding: 5rem 3rem 3rem; }
  .explore-heading { grid-template-columns: 1fr auto; align-items: end; }
  .suggestions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .suggestion-card { grid-template-columns: 5.3rem minmax(0, 1fr); }
  .suggestion-monogram { min-height: 5.3rem; }
  .results-footer { padding: 2.5rem 3rem; }
  .place-nav { padding: 1.25rem 3rem; }
  .place-hero { min-height: 37rem; padding: 10rem 3rem 3rem; }
  .place-content { padding: 3rem 3rem 7rem; }
  .place-info-grid { grid-template-columns: 1fr 1fr; }
  .place-info-card--full { grid-column: 1 / -1; }
  .place-sticky-actions { right: 2rem; bottom: 2rem; left: auto; width: min(31rem, calc(100% - 4rem)); border: 1px solid var(--line-dark); border-radius: 1rem; box-shadow: var(--shadow); }
  .events-hero { min-height: 25rem; padding: 5rem 3rem; }
  .events-content { padding: 5rem 3rem; }
  .events-toolbar { grid-template-columns: 1fr auto; align-items: end; }
  .event-detail-hero { min-height: 38rem; padding: 10rem 3rem 3rem; }
  .event-detail-content { padding: 3rem 3rem 7rem; }
  .event-info-grid { grid-template-columns: 1fr 1fr; }
  .event-info-grid .event-info-card--full { grid-column: 1 / -1; }
  .event-sticky-actions { right: 2rem; bottom: 2rem; left: auto; width: min(31rem, calc(100% - 4rem)); border: 1px solid var(--line-dark); border-radius: 1rem; box-shadow: var(--shadow); }
}

@media (min-width: 75rem) {
  .results-hero { padding-right: var(--gutter); padding-left: var(--gutter); }
  .results-page-content { padding-right: var(--gutter); padding-left: var(--gutter); }
  .results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .explore-section { margin-right: calc(var(--gutter) * -1); margin-left: calc(var(--gutter) * -1); padding-right: var(--gutter); padding-left: var(--gutter); }
  .suggestions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .suggestion-card { grid-template-columns: 1fr; }
  .suggestion-monogram { min-height: 8rem; font-size: 2rem; }
  .results-footer { padding-right: var(--gutter); padding-left: var(--gutter); }
  .place-hero { padding-right: var(--gutter); padding-left: var(--gutter); }
}

@media (max-width: 23rem) {
  .discovery-topbar .brand span { display: none; }
  .results-search > div { grid-template-columns: auto minmax(0, 1fr); }
  .results-search button { grid-column: 1 / -1; }
  .results-grid .place-card { grid-template-columns: 6.8rem 1fr; }
}
