:root {
  --paper: #f7f5f1;
  --white: #fff;
  --ink: #17242d;
  --muted: #53636e;
  --line: #dce5e9;
  --blue: #dcecf7;
  --blue-strong: #78add0;
  --pink: #f5dfe4;
  --max: 1240px;
  --gutter: clamp(20px, 4.5vw, 68px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
.container { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; z-index: 1000; top: -80px; left: 18px; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: white; }
.skip:focus { top: 15px; }
:focus-visible { outline: 3px solid var(--blue-strong); outline-offset: 4px; }
[hidden] { display: none !important; }

.site-header { position: fixed; z-index: 100; left: 50%; top: 16px; width: min(calc(100% - 32px), 1090px); height: 66px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.85); border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 12px 40px rgba(23,36,45,.11); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.site-header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 26px 0 11px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.18rem; font-weight: 800; letter-spacing: -.045em; }
.brand img { width: 41px; height: 41px; border-radius: 12px; }
.site-header nav { display: flex; gap: 31px; align-items: center; font-size: .86rem; font-weight: 650; }
.site-header nav a:hover, .site-footer nav a:hover { color: #316f95; }
.city-switcher { position: relative; }
.city-switcher summary { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; }
.city-switcher summary::-webkit-details-marker { display: none; }
.city-switcher summary strong { font-weight: 750; }
.city-switcher summary .city-switcher-action { padding-left: 10px; border-left: 1px solid var(--line); color: #4d7590; font-size: .68rem; font-weight: 800; letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.city-switcher summary .city-switcher-caret { color: #568aad; font-size: 1.2rem; line-height: .7; }
.city-switcher-menu { position: absolute; right: -10px; top: calc(100% + 22px); z-index: 120; width: 220px; padding: 12px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 20px 48px rgba(23,36,45,.16); }
.city-switcher-menu p { padding: 6px 10px 9px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.city-switcher-menu a, .city-option-pending { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border-radius: 9px; font-size: .84rem; }
.city-switcher-menu a:hover, .city-switcher-menu a[aria-current="page"] { background: var(--blue); }
.city-option-pending { color: var(--muted); }
.city-option-pending small { font-size: .64rem; white-space: nowrap; }

.eyebrow { color: #4d7590; font-size: .72rem; font-weight: 800; line-height: 1.35; letter-spacing: .16em; text-transform: uppercase; }
.display-title, .city-title, .guide-title { font-size: clamp(4.2rem, 9.3vw, 8.3rem); line-height: .91; letter-spacing: -.08em; font-weight: 760; text-wrap: balance; }
.body-copy { color: var(--muted); font-size: clamp(1.06rem, 1.7vw, 1.25rem); line-height: 1.55; }
.text-arrow { display: inline-flex; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: .87rem; font-weight: 750; }
.text-arrow:hover { color: #397696; }

.loading, .status-message { min-height: 70vh; padding-top: clamp(160px, 19vw, 230px); }
.loading h1 { font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.06em; }
.loading p { margin-top: 20px; color: var(--muted); font-size: 1.2rem; }
.status-message .display-title { max-width: 11ch; margin-top: 15px; font-size: clamp(3rem, 6vw, 5.8rem); }
.status-message .body-copy { max-width: 48ch; margin-top: 23px; }
.retry-button { margin-top: 28px; border: 0; border-radius: 999px; padding: 12px 21px; background: var(--ink); color: white; cursor: pointer; }

.city-intro { padding-top: clamp(155px, 15vw, 205px); padding-bottom: clamp(48px, 6vw, 85px); }
.city-intro .eyebrow { margin-bottom: 20px; }
.city-title { max-width: 11ch; }
.city-subtitle { margin-top: 25px; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.55rem); }
.content-language-note { margin-top: 12px; color: #557184; font-size: .79rem; font-weight: 650; }
.city-jump { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; color: #397696; font-size: .88rem; font-weight: 750; }
.city-jump a, .guide-map-jump { border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.city-jump a:hover, .guide-map-jump:hover { color: var(--ink); }

.featured-guide { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: stretch; background: var(--blue); border-radius: 30px; overflow: hidden; }
.featured-image.photo-figure { height: 100%; display: flex; flex-direction: column; }
.featured-image .photo-destination { flex: 1; height: 520px; min-height: 460px; }
.photo-destination { display: block; overflow: hidden; }
.photo-figure img:not(.author-avatar) { width: 100%; height: 100%; object-fit: cover; }
.featured-image .photo-destination img { transition: transform .55s ease; }
.featured-guide:hover .featured-image .photo-destination img { transform: scale(1.025); }
.featured-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(32px, 5.5vw, 82px); }
.featured-copy h2 { max-width: 10ch; margin-top: 20px; font-size: clamp(2.6rem, 4.8vw, 5rem); line-height: 1; letter-spacing: -.07em; font-weight: 740; text-wrap: balance; }
.featured-copy .body-copy { max-width: 36ch; margin-top: 20px; color: #435e6f; }
.featured-copy .text-arrow { margin-top: 32px; }

.photo-credit { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 13px; min-height: 39px; padding: 9px 12px; background: #fff; color: #5e5e5e; font-size: .72rem; line-height: 1.3; }
.photo-figure { position: relative; }
.photo-review-badge { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 7px 10px; border-radius: 5px; background: rgba(255, 253, 250, .95); color: #483d3b; font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.photo-pending { display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; min-height: 240px; padding: clamp(24px, 3vw, 42px); background: #dde9ee; color: #365c72; }
.photo-pending-label { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.photo-pending strong { max-width: 14ch; font-size: clamp(1.8rem, 4vw, 3.9rem); line-height: 1.03; letter-spacing: -.06em; }
.featured-image .photo-pending { min-height: 460px; }
.guide-image .photo-pending { aspect-ratio: 1.44; min-height: 0; }
.cover-image .photo-pending { aspect-ratio: 1.95; min-height: 0; border-radius: 24px; }
.place-image .photo-pending { aspect-ratio: 1.36; min-height: 0; border-radius: 18px; }
.preview-notice { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 112px; padding: 14px 20px; border: 1px solid #b8d0dd; border-radius: 13px; background: #e7f1f6; color: #365c72; font-size: .83rem; }
.preview-notice strong { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.preview-notice + .city-intro, .preview-notice + .guide-intro { padding-top: 45px; }
.google-maps { font-family: Roboto, Arial, sans-serif; font-size: 12px; font-style: normal; font-weight: 400; letter-spacing: normal; white-space: nowrap; color: #5e5e5e; }
.google-maps::after { content: "·"; padding-left: 12px; color: #99a6ae; }
.photo-author { display: inline-flex; align-items: center; gap: 5px; }
.photo-author::before { content: "Foto:"; }
.photo-credit:lang(en) .photo-author::before { content: "Photo:"; }
.author-avatar { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.photo-author a, .photo-source { text-decoration: underline; text-underline-offset: 2px; }
.photo-source { margin-left: auto; }

.browse-section, .map-section, .place-card { scroll-margin-top: 105px; }
.browse-section { padding-top: clamp(85px, 10vw, 140px); }
.browse-section > .section-title { margin-top: 12px; }
.browse-rail { margin-top: clamp(52px, 7vw, 90px); }
.browse-rail-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.browse-rail-header .eyebrow { margin-bottom: 9px; }
.browse-rail-header h3 { font-size: clamp(2rem, 3.2vw, 3.35rem); letter-spacing: -.065em; line-height: 1.02; }
.browse-rail-description { max-width: 42ch; color: var(--muted); font-size: .97rem; }
.browse-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 30px; }
.browse-guide-grid.two-up { grid-template-columns: repeat(2, minmax(0,1fr)); }
.browse-guide-grid.two-up .guide-image .photo-destination { aspect-ratio: 1.7; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-title { font-size: clamp(2.5rem, 4vw, 4.5rem); letter-spacing: -.065em; font-weight: 735; line-height: 1; text-wrap: balance; }
.guide-card { min-width: 0; }
.guide-image .photo-destination { aspect-ratio: 1.44; border-radius: 18px; }
.guide-image .photo-destination img { transition: transform .5s ease; }
.guide-card:hover .guide-image .photo-destination img { transform: scale(1.04); }
.guide-image .photo-credit { min-height: 53px; align-items: flex-start; padding-inline: 0; background: transparent; }
.guide-image .photo-source { margin-left: 0; }
.guide-copy { padding-top: 11px; }
.guide-copy h3 { margin-top: 10px; font-size: clamp(1.55rem, 2vw, 2.1rem); letter-spacing: -.05em; line-height: 1.12; font-weight: 730; text-wrap: balance; }
.guide-copy h3 a:hover { color: #397696; }
.guide-description { max-width: 42ch; margin-top: 12px; color: var(--muted); font-size: .93rem; }

.guide-intro { max-width: 970px; padding-top: clamp(148px, 15vw, 200px); padding-bottom: 48px; }
.breadcrumb { display: inline-block; margin-bottom: 48px; color: #4f748c; font-size: .84rem; font-weight: 750; }
.breadcrumb:hover { text-decoration: underline; text-underline-offset: 3px; }
.guide-title { max-width: 15ch; margin-top: 20px; font-size: clamp(3.4rem, 7vw, 7.3rem); }
.guide-lead { max-width: 50ch; margin-top: 26px; color: var(--muted); font-size: clamp(1.1rem, 1.8vw, 1.38rem); line-height: 1.5; }
.guide-meta { margin-top: 25px; font-size: .78rem; font-weight: 750; color: #557184; letter-spacing: .06em; text-transform: uppercase; }
.guide-map-jump { display: inline-flex; margin-top: 28px; color: #397696; font-size: .9rem; font-weight: 750; }
.cover-image img:not(.author-avatar) { max-height: 680px; aspect-ratio: 1.95; object-fit: cover; border-radius: 24px; }
.cover-image .photo-credit { background: transparent; padding-inline: 0; }
.map-section { padding-top: clamp(85px, 10vw, 145px); }
#mapa-cidade { padding-bottom: clamp(90px, 11vw, 150px); }
.map-section > .section-title { margin-top: 10px; }
.map-intro { max-width: 61ch; margin-top: 17px; color: var(--muted); font-size: 1rem; }
.map-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(190px, .55fr) auto auto; align-items: center; gap: 10px; margin-top: 29px; }
.map-search, .map-area-filter { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #fff; color: var(--ink); font: inherit; font-size: .87rem; }
.map-search::placeholder { color: #70808b; }
.map-count { min-width: 110px; color: var(--muted); font-size: .8rem; font-weight: 720; text-align: right; }
.map-reset { border: 1px solid var(--line); border-radius: 12px; min-height: 46px; padding: 10px 13px; background: var(--blue); color: var(--ink); font-size: .78rem; font-weight: 750; cursor: pointer; }
.map-reset:hover { background: #cce2f1; }
.map-layout { display: grid; grid-template-columns: minmax(270px, .65fr) minmax(0, 1.35fr); gap: 20px; margin-top: 35px; }
.map-places { display: grid; align-content: start; max-height: 740px; overflow-y: auto; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.map-place { display: flex; align-items: center; gap: 15px; width: 100%; min-height: 76px; border: 0; border-bottom: 1px solid var(--line); padding: 12px 18px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.map-place:last-child { border-bottom: 0; }
.map-place:hover, .map-place[aria-pressed="true"] { background: var(--blue); }
.map-place-number { align-self: flex-start; padding-top: 3px; color: #7199b0; font-size: .75rem; font-weight: 850; }
.map-place-copy { display: grid; min-width: 0; line-height: 1.25; }
.map-place-copy strong { font-size: .96rem; }
.map-place-copy small { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.map-place-arrow { margin-left: auto; color: #397696; }
.map-panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.map-stage { background: var(--blue); }
.map-frame { display: block; width: 100%; height: 495px; border: 0; background: var(--blue); }
.map-detail { display: flex; align-items: flex-start; gap: 19px; min-height: 205px; padding: 18px; }
.map-preview { flex: 0 0 205px; width: 205px; min-width: 0; }
.map-preview > img:not(.author-avatar) { width: 100%; height: 135px; aspect-ratio: 1.5; object-fit: cover; border-radius: 10px; }
.map-preview .photo-credit { min-height: 0; padding: 6px 0 0; font-size: .64rem; }
.map-preview .google-maps { font-size: 11px; }
.map-detail-info { min-width: 0; padding-top: 2px; }
.map-detail-info h3 { margin-top: 6px; font-size: 1.25rem; letter-spacing: -.04em; line-height: 1.15; }
.map-detail-description { margin-top: 7px; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.map-detail-actions { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 15px; color: #397696; font-size: .78rem; font-weight: 750; }
.map-detail-actions a:hover { text-decoration: underline; }
.map-empty { margin-top: 15px; color: var(--muted); font-size: .9rem; }
.places-section { padding-top: clamp(80px, 10vw, 138px); }
.place-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 68px 28px; }
.place-card { min-width: 0; }
.place-image img:not(.author-avatar) { aspect-ratio: 1.36; object-fit: cover; border-radius: 18px; }
.place-image .photo-credit { background: transparent; padding-inline: 0; }
.place-copy { border-top: 1px solid var(--line); margin-top: 13px; padding-top: 19px; }
.place-number { color: #6f9cb7; font-size: .8rem; font-weight: 850; letter-spacing: .08em; }
.place-name { margin-top: 10px; font-size: clamp(1.8rem, 2.6vw, 2.7rem); letter-spacing: -.055em; line-height: 1.07; font-weight: 735; }
.place-neighborhood { margin-top: 8px; color: #487793; font-size: .85rem; font-weight: 750; }
.place-description { max-width: 47ch; margin-top: 15px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.place-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 22px; font-size: .83rem; font-weight: 750; }
.map-link { border-bottom: 1px solid currentColor; }
.map-button { border: 0; padding: 0; background: none; color: #397696; font-size: inherit; font-weight: inherit; cursor: pointer; }
.website-link { color: #587c92; }
.map-link:hover, .map-button:hover, .website-link:hover { color: #347ba4; }
.more-guides { margin-top: clamp(100px, 12vw, 170px); margin-bottom: clamp(100px, 12vw, 160px); padding: clamp(40px, 7vw, 80px); border-radius: 28px; background: var(--pink); }
.more-guides .section-title { max-width: 10ch; margin-top: 9px; }
.more-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.more-link { display: flex; align-items: center; min-height: 130px; padding: 22px; border-radius: 16px; background: rgba(255,255,255,.8); font-size: 1.12rem; line-height: 1.2; letter-spacing: -.03em; font-weight: 700; }
.more-link:hover { background: #fff; }

.site-footer { background: #fff; padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: .85rem; color: var(--muted); }
.footer-inner > span { color: var(--muted); font-size: .8rem; }

@media (max-width: 1050px) {
  .browse-guide-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .featured-copy { padding: 35px; }
  .featured-copy h2 { font-size: clamp(2.5rem, 4.5vw, 3.7rem); }
  .map-toolbar { grid-template-columns: minmax(170px, 1fr) minmax(160px, 1fr); }
  .map-count { text-align: left; }
}
@media (max-width: 700px) {
  .preview-notice { margin-top: 89px; }
  .featured-image .photo-pending { min-height: 0; aspect-ratio: 1.1; }
  .guide-image .photo-pending { aspect-ratio: 1.35; }
  .cover-image .photo-pending { aspect-ratio: 1.1; }
  .place-image .photo-pending { aspect-ratio: 1.25; }
  .site-header { top: 10px; width: calc(100% - 20px); height: 58px; }
  .site-header-inner { padding: 0 16px 0 8px; }
  .brand img { width: 36px; height: 36px; }
  .site-header nav { gap: 13px; font-size: .78rem; }
  .site-header nav > a:last-child { display: none; }
  .city-intro { padding-top: 143px; padding-bottom: 42px; }
  .city-title { font-size: clamp(4rem, 15vw, 5.7rem); }
  .featured-guide { display: block; border-radius: 22px; }
  .featured-image .photo-destination { height: auto; min-height: 0; aspect-ratio: 1.1; }
  .featured-copy { padding: 28px 23px 36px; }
  .featured-copy h2 { font-size: clamp(2.7rem, 10vw, 4rem); }
  .featured-copy .text-arrow { margin-top: 25px; }
  .photo-credit { font-size: .69rem; }
  .photo-source { margin-left: 0; }
  .browse-section { padding-top: 78px; }
  .browse-rail { margin-top: 55px; }
  .browse-rail-header { display: block; }
  .browse-rail-header h3 { font-size: 2.4rem; }
  .browse-rail-description { margin-top: 10px; }
  .browse-guide-grid, .browse-guide-grid.two-up { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; margin: 24px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 12px; scrollbar-width: none; }
  .browse-guide-grid::-webkit-scrollbar { display: none; }
  .browse-guide-grid .guide-card { flex: 0 0 min(78vw, 350px); scroll-snap-align: start; }
  .guide-image .photo-destination { aspect-ratio: 1.35; }
  .browse-guide-grid.two-up .guide-image .photo-destination { aspect-ratio: 1.35; }
  .guide-image .photo-credit { min-height: 0; }
  .guide-copy h3 { font-size: 1.9rem; }
  .guide-intro { padding-top: 130px; padding-bottom: 35px; }
  .breadcrumb { margin-bottom: 40px; }
  .guide-title { font-size: clamp(3.4rem, 12vw, 5rem); }
  .cover-image img:not(.author-avatar) { aspect-ratio: 1.1; border-radius: 19px; }
  .map-section { padding-top: 80px; }
  .map-toolbar { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
  .map-search { grid-column: 1 / -1; }
  .map-count { min-width: 0; }
  .map-reset { min-height: 42px; }
  .map-layout { display: block; margin-top: 25px; }
  .map-places { display: flex; max-height: none; overflow-x: auto; overflow-y: hidden; gap: 8px; padding: 8px; border: 0; background: transparent; scrollbar-width: none; }
  .map-places::-webkit-scrollbar { display: none; }
  .map-place { flex: 0 0 190px; min-height: 70px; border: 1px solid var(--line); border-radius: 13px; padding: 10px; background: #fff; }
  .map-place-number { display: none; }
  .map-place-arrow { display: none; }
  .map-panel { margin-top: 13px; }
  .map-frame { height: 380px; }
  .map-detail { display: block; padding: 17px; }
  .map-preview { width: 100%; }
  .map-preview > img:not(.author-avatar) { height: 155px; aspect-ratio: auto; }
  .map-detail-info { padding-top: 15px; }
  .places-section { padding-top: 78px; }
  .place-grid { grid-template-columns: 1fr; gap: 57px; }
  .place-image img:not(.author-avatar) { aspect-ratio: 1.25; }
  .place-name { font-size: 2rem; }
  .more-guides { padding: 32px 20px; border-radius: 20px; }
  .more-links { grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
  .more-link { min-height: 82px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .site-footer nav { justify-content: center; }
}
@media (max-width: 390px) {
  .site-header nav { font-size: .72rem; }
  .city-switcher summary .city-switcher-action { display: none; }
  .brand { font-size: 1.07rem; }
  .city-title { font-size: 3.75rem; }
  .guide-title { font-size: 3.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .featured-image .photo-destination img, .guide-image .photo-destination img { transition: none; }
}
