/* Vamos Tomar — generated pages (/pt/…, /en/…).
   Same tokens, fonts and card styles as index.html, without the app. */

@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('/fonts/cinzel-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: 'Public Sans'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/public-sans-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 {
  --white: #FFFFFF;
  --offwhite: #FAF9F7;
  --black: #161513;
  --charcoal: #2A2825;
  --grey: #5c5851;
  --red: #A6192E;
  --red-deep: #7E1123;
  --red-pale: #F4E2E4;
  --line: #E4E1DC;
  --gold: #B08A45;
  --shadow: 0 1px 2px rgba(22,21,19,0.04), 0 4px 14px rgba(22,21,19,0.06);
  --display: 'Cinzel', 'Trajan Pro', 'Times New Roman', Georgia, serif;
  --page-wash: rgba(250, 249, 247, 0.55);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Public Sans', system-ui, sans-serif;
  background: var(--offwhite);
  color: var(--charcoal);
  line-height: 1.5;
  position: relative;
  isolation: isolate;
}
/* the river Nabão behind everything, faded, as in the app */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--page-wash), var(--page-wash)), url('/images/page-bg.webp') center / cover no-repeat, var(--offwhite);
}
h1, h2, h3, h4 { font-family: var(--display); color: var(--black); letter-spacing: 0.015em; }
a { color: inherit; }
svg { display: block; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--black); color: var(--white); padding: 8px 12px; border-radius: 4px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---- header */
.top { background: rgba(255,255,255,0.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(1.2) blur(6px); }
.top-in { max-width: 1100px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: block; flex: 0 1 220px; min-width: 120px; }
.brand img { width: 100%; height: auto; }
.top-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.langs { display: inline-flex; align-items: center; gap: 2px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 3px; }
.lang-opt { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; font-size: 12px; font-weight: 600; color: var(--black); border-radius: 14px; padding: 4px 7px; }
a.lang-opt:hover { background: var(--red-pale); color: var(--red-deep); }
.lang-opt.on { background: var(--offwhite); box-shadow: inset 0 0 0 1px var(--line); }
.lang-opt:not(.on) .lang-flag { filter: saturate(0.35) opacity(0.75); }
a.lang-opt:hover .lang-flag { filter: none; }
.lang-flag { width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
.open-guide { display: inline-flex; align-items: center; text-decoration: none; font-size: 13px; font-weight: 600; color: var(--white); background: var(--red); border: 1px solid var(--red); border-radius: 18px; padding: 6px 13px; white-space: nowrap; }
.open-guide:hover { background: var(--red-deep); border-color: var(--red-deep); }

/* ---- page */
main.content { max-width: 1100px; margin: 0 auto; padding: 18px 16px 56px; }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12.5px; color: var(--grey); }
.crumbs li + li::before { content: "›"; margin: 0 7px; color: var(--grey); }
.crumbs a { text-decoration: none; color: var(--charcoal); }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs [aria-current] { color: var(--black); font-weight: 600; }

.section-head { margin-bottom: 22px; }
.section-head h1, .section-head h2 { font-weight: 600; font-size: 25px; letter-spacing: 0.02em; margin: 0 0 4px; line-height: 1.25; }
.section-head p { font-size: 14px; color: var(--grey); margin: 0; }
/* text that sits straight on the photo gets a soft halo of page colour */
.crumbs, .section-head, .subhead, .site-footer { text-shadow: 0 0 10px rgba(250,249,247,0.9), 0 0 2px rgba(250,249,247,0.9); }
.subhead { font-weight: 600; font-size: 20px; letter-spacing: 0.03em; margin: 32px 0 14px; }

/* ---- chips */
.card-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.link-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; text-decoration: none; color: var(--charcoal); border: 1px solid var(--line); background: var(--white); border-radius: 16px; padding: 6px 12px; transition: all 0.15s ease; }
.link-chip:hover { border-color: var(--red); color: var(--red); background: var(--red-pale); }
.link-chip svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ---- cards (river beaches) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card-art { background: linear-gradient(160deg, var(--red-pale), var(--offwhite)); height: 96px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.card-art svg { width: 60px; height: 60px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card-body h2 { font-weight: 600; font-size: 16px; letter-spacing: 0.01em; line-height: 1.3; margin: 0; }
.card-link { text-decoration: none; }
.card-link:hover { color: var(--red); text-decoration: underline; }
.card-body p.blurb { margin: 0; font-size: 13.8px; line-height: 1.5; color: var(--charcoal); }
.card-body p.detail { margin: 0; font-size: 12.5px; color: var(--grey); }

/* ---- section pages: places grouped by type */
.jumps { display: flex; flex-wrap: wrap; gap: 7px; margin: -6px 0 6px; }
.jump { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; text-decoration: none; color: var(--charcoal); background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 6px 12px; }
.jump span { font-size: 11px; color: var(--grey); }
.jump:hover { border-color: var(--red); color: var(--red); }
.group { scroll-margin-top: 76px; }
.place { scroll-margin-top: 80px; }
.place:target { outline: 2px solid var(--red); outline-offset: 2px; }
.card-body h3 { font-weight: 600; font-size: 16px; letter-spacing: 0.01em; line-height: 1.3; margin: 0; }
.card-body p.subs { margin: -2px 0 0; font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--red-deep); }
.card-art { position: relative; overflow: hidden; }
.card-art.photo, .card-art.logo { height: 120px; padding: 0; }
.card-art.photo img { width: 100%; height: 100%; object-fit: cover; }
.card-art.logo { padding: 12px; }
.card-art.logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.photo-credit { position: absolute; bottom: 4px; right: 6px; font-size: 9px; color: rgba(255,255,255,0.85); background: rgba(22,21,19,0.45); padding: 1px 6px; border-radius: 3px; }
.price-line { margin: 0; font-size: 13px; font-weight: 600; color: var(--black); }
.price-line span { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8A6A2F; margin-right: 4px; }
.lic-line { margin: 0; font-size: 12px; color: var(--grey); }
.hours-line { font-size: 13px; }
.hours-line summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.hours-line summary::-webkit-details-marker { display: none; }
.hours-line summary svg { width: 15px; height: 15px; flex: none; color: var(--grey); }
.hours-line .hl-more { color: var(--red); text-decoration: underline; font-size: 12.5px; }
.hours-week { margin: 8px 0 0 21px; border-collapse: collapse; font-size: 12.8px; }
.hours-week td { padding: 2px 14px 2px 0; vertical-align: top; }
.hours-week td:first-child { color: var(--grey); }
.hours-note { font-size: 12px; color: var(--grey); margin: 6px 0 0 21px; line-height: 1.45; }
.card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.act { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 'Public Sans', system-ui, sans-serif; padding: 10px 11px; border-radius: 999px; border: 1.5px solid var(--black); background: var(--white); color: var(--black); text-decoration: none; white-space: nowrap; }
.act svg { width: 14px; height: 14px; flex-shrink: 0; }
.act:hover { background: var(--black); color: var(--white); }
.act-call { background: var(--red); border-color: var(--red); color: var(--white); }
.act-call:hover { background: var(--red-deep); border-color: var(--red-deep); }
.act-go { background: var(--black); color: var(--white); }
.act-go:hover { background: var(--charcoal); }
.act-tickets { border-color: var(--gold); color: #7a5c23; }
.act-tickets:hover { background: #FBF3E3; color: #7a5c23; }

/* ---- a place's own page */
.place-page { padding-top: 0; overflow: hidden; }
.place-photo { margin: 0 -18px 16px; position: relative; }
.place-photo img { width: 100%; aspect-ratio: 3 / 1.4; object-fit: cover; }
.place-photo figcaption { position: absolute; bottom: 6px; right: 8px; font-size: 10px; color: rgba(255,255,255,0.9); background: rgba(22,21,19,0.45); padding: 1px 6px; border-radius: 3px; }
.place-logo { margin: 0 -18px 16px; height: 150px; display: flex; align-items: center; justify-content: center; padding: 16px; }
.place-logo img { max-height: 100%; width: auto; }
.place-page .single-art { margin-top: 20px; }
.place-page .subs { margin: 2px 0 0; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--red-deep); }
.place-page .place { margin: -6px 0 12px; }
.place-page .price-line { margin: 0 0 12px; }
.place-page .card-actions { margin: 4px 0 6px; }
h2.minor { font-size: 15px; font-weight: 600; margin: 18px 0 6px; }
.hours-week.open { margin: 0; font-size: 13.5px; }
.place-page .hours-note { margin-left: 0; }
.place-page .lic-line { margin-top: 12px; }
.tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 11.5px; background: var(--offwhite); border: 1px solid var(--line); border-radius: 12px; padding: 3px 9px; }
.more-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 16px; }
.more-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.place-page .card-links { margin-top: 16px; }
.see-all { margin: 10px 0 0; font-size: 13.5px; }
.see-all a { color: var(--red); font-weight: 600; text-decoration: none; }
.see-all a:hover { text-decoration: underline; }
@media (min-width: 720px) {
  .place-photo, .place-logo { margin: 0 -30px 18px; }
}

/* ---- parking */
.park-lead { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 4px; padding: 16px 18px; margin-bottom: 22px; }
.park-lead h4 { margin: 0 0 6px; font-size: 15.5px; font-weight: 600; }
.park-lead p { margin: 0; font-size: 13.8px; line-height: 1.6; }
.park-lead p + p { margin-top: 8px; }
.park-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.park-card { background: var(--white); border: 1px solid var(--line); border-radius: 5px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 80px; }
.park-card:target { outline: 2px solid var(--red); outline-offset: 2px; }
.park-art { background: var(--red-pale); display: flex; align-items: center; justify-content: center; padding: 16px 0 12px; }
.park-art svg { width: 62px; height: 62px; }
.park-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.park-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.park-body h2 { font-size: 16px; margin: 0; font-weight: 600; line-height: 1.3; letter-spacing: 0.01em; }
.park-body .blurb { font-size: 13.4px; line-height: 1.55; margin: 0; }
.park-body .detail { font-size: 12.4px; color: var(--grey); margin: 0; }
.park-pill { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 11px; padding: 4px 9px; white-space: nowrap; flex-shrink: 0; }
.park-pill.free { background: #E4F1E9; color: #2C6E49; }
.park-pill.paid { background: var(--red-pale); color: var(--red-deep); }
.park-pill.under { background: #E7E9F2; color: #3B4270; }
.park-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.park-fact { font-size: 11.5px; background: var(--offwhite); border: 1px solid var(--line); border-radius: 12px; padding: 3px 9px; }

/* ---- notes (Tabuleiros, parking notes, tips) */
.tab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.tab-note { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 4px; padding: 16px 18px; }
.tab-note h2, .tab-note h3, .tab-note h4 { margin: 0 0 6px; font-size: 15.5px; font-weight: 600; }
.tab-note p { margin: 0; font-size: 13.8px; line-height: 1.6; }
.tab-note .card-links { padding-top: 0; }
.kicker { font-family: 'Public Sans', system-ui, sans-serif; font-size: 11px !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red) !important; margin: 0 0 4px !important; }

.tab-hero { background: linear-gradient(135deg, var(--red), var(--red-deep)); border-radius: 10px; padding: 28px 22px; color: var(--white); margin-bottom: 28px; text-align: center; }
.tab-hero h1 { color: var(--white); font-weight: 700; font-size: clamp(24px, 6vw, 34px); letter-spacing: 0.035em; margin: 0 0 6px; }
.tab-hero .dates { font-size: 15px; opacity: 0.92; margin: 0; }

.programme { list-style: none; margin: 0; padding: 0; background: rgba(255,255,255,0.88); border-radius: 6px; padding: 0 16px; border: 1px solid var(--line); }
.prog-row { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prog-row:last-child { border-bottom: 0; }
.prog-row.key .prog-body h3 { color: var(--red-deep); }
.prog-date { font-size: 13px; font-weight: 700; color: var(--red); }
.prog-body h3 { margin: 0 0 3px; font-size: 15.5px; font-weight: 600; }
.prog-body p { margin: 0; font-size: 13.5px; color: var(--grey); line-height: 1.5; }

/* ---- a single place (one beach) */
.single { background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 20px 18px 22px; max-width: 760px; }
.single-art { width: 64px; height: 64px; margin-bottom: 10px; }
.single-art svg { width: 64px; height: 64px; }
.single .section-head { margin-bottom: 12px; text-shadow: none; }
.single .section-head h1 { font-size: 24px; }
.single .place { font-size: 14px; color: var(--grey); }
.lede { font-size: 15.5px; line-height: 1.6; margin: 0 0 14px; }
.single .card-links { margin-bottom: 4px; }
.single .tip { margin-top: 18px; }
.others { max-width: 760px; }
.link-list { list-style: none; margin: 0; padding: 0; background: rgba(255,255,255,0.88); border: 1px solid var(--line); border-radius: 6px; }
.link-list li { padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.link-list li:last-child { border-bottom: 0; }
.link-list a { font-weight: 600; color: var(--black); text-decoration: none; }
.link-list a:hover { color: var(--red); text-decoration: underline; }
.link-list span { color: var(--grey); font-size: 12.5px; margin-left: 4px; }

/* ---- footer */
.site-footer { max-width: 1100px; margin: 0 auto; padding: 26px 16px 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--grey); text-align: center; }
.site-footer .more h2 { font-size: 15px; margin: 0 0 10px; }
.site-footer .more ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.site-footer .more a { display: inline-block; text-decoration: none; color: var(--charcoal); background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 6px 13px; text-shadow: none; }
.site-footer .more a:hover, .site-footer .more a[aria-current] { border-color: var(--red); color: var(--red); }
.site-footer p { margin: 0 0 10px; }
.site-footer .tagline { color: var(--charcoal); }
.site-footer .ig { color: var(--red); font-weight: 600; }
.site-footer .legal { font-size: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }
.site-footer .powered a { color: var(--charcoal); font-weight: 600; }

@media (min-width: 720px) {
  .top-in { padding: 12px 26px; }
  .brand { flex-basis: 260px; }
  main.content { padding: 26px 26px 70px; }
  .section-head h1, .section-head h2 { font-size: 27px; }
  .park-grid { grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); }
  .prog-row { flex-direction: row; gap: 20px; align-items: baseline; }
  .prog-date { flex-shrink: 0; width: 128px; }
  .single { padding: 26px 30px 28px; }
  .single .section-head h1 { font-size: 28px; }
}
@media (max-width: 520px) {
  .lang-opt > span { display: none; }
  .lang-opt { padding: 4px 5px; }
  .top-in { gap: 8px; }
  .top-actions { gap: 6px; }
  .open-guide { padding: 6px 11px; font-size: 12.5px; }
}
@media (max-width: 370px) {
  .brand { min-width: 96px; }
  .open-guide { padding: 6px 9px; font-size: 12px; }
}
@media print {
  body::before, .top, .site-footer .more { display: none; }
}

/* v7.19 (8 Oct 2026): walking route + cinema */
.walk-list { list-style: none; margin: 0; padding: 0 16px; background: rgba(255,255,255,0.88); border: 1px solid var(--line); border-radius: 6px; }
.walk-stop { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.walk-stop:last-child { border-bottom: 0; }
.walk-num { flex-shrink: 0; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; background: var(--red); color: var(--white); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.walk-hill .walk-num { background: var(--gold); color: var(--black); }
.walk-body h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.walk-body p { margin: 0; font-size: 14px; line-height: 1.6; }
.walk-body .card-links { padding-top: 10px; }
.tab-note + .subhead { margin-top: 28px; }

/* ---------- Weekly edition pages (/pt/semana/…), 11 Oct 2026 ---------- */
.wk { margin-bottom: 8px; }
.wk .section-head p a { color: var(--red); font-weight: 600; text-decoration: none; }
.wk-kicker { margin: 0 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red-deep); }
.wk-title { font-size: 21px; font-weight: 600; line-height: 1.3; margin: 0 0 8px; }
.wk-story p { font-size: 15px; line-height: 1.65; margin: 0 0 12px; }
.wk-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 14px 0; padding: 12px 14px; background: var(--offwhite); border: 1px solid var(--line); border-radius: 6px; font-size: 13.5px; }
.wk-facts dt { font-weight: 700; color: var(--grey); }
.wk-facts dd { margin: 0; }
.wk-src { font-size: 12.5px; color: var(--grey); margin: 10px 0 0; }
.wk-src a { color: var(--charcoal); }
.wk-feature, .wk-fact { margin: 22px 0 0; max-width: 760px; }
.wk-feature .card-links { margin-top: 10px; }
.wk-place { font-size: 12.5px; color: var(--grey); margin: 0; }
.prog-body p a { color: var(--red); font-weight: 600; text-decoration: none; }
.wk-news { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.wk-news li { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; }
.wk-news h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.wk-news p { margin: 0; font-size: 14px; line-height: 1.55; }
.wk-coming { margin: 0; padding: 0 0 0 18px; max-width: 760px; font-size: 14px; line-height: 1.6; }
.wk-coming strong { color: var(--red-deep); margin-right: 4px; }
.wk-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; margin: 28px 0 0; max-width: 760px; font-size: 14px; }
.wk-nav a { color: var(--red); font-weight: 600; text-decoration: none; }
@media (max-width: 480px) { .wk-facts { grid-template-columns: 1fr; } }
.wk .place-photo { margin: 6px 0 18px; }
.wk .place-photo img { aspect-ratio: auto; max-height: 520px; border-radius: 6px; }
